1 2014-05-29 Eric Wong <normalperson@yhbt.net>
4 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5 Call fstat64 or stat64 internally, depending on arguments passed.
6 Replace stat buffer argument with file descriptor argument.
7 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9 Pass fd to __internal_statvfs instead of calling fstat64.
10 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11 Pass fd to __internal_statvfs64 instead of calling fstat64.
12 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13 Pass -1 to __internal_statvfs instead of calling stat64.
14 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15 Pass -1 to __internal_statvfs64 instead of calling stat64.
17 2014-05-28 Roland McGrath <roland@hack.frob.com>
19 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20 that was previously under [RESET_PID].
21 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
23 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
24 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26 2014-05-27 Roland McGrath <roland@hack.frob.com>
28 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
30 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
35 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
37 2014-05-27 Andreas Schwab <schwab@suse.de>
39 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
41 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
42 * elf/rtld.c (init_tls, dl_main): Likewise.
43 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
46 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
47 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
48 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
49 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
50 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
52 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
53 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
54 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
55 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
56 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
57 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
58 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
59 * sysdeps/generic/tls.h: Update description.
61 2014-05-27 Will Newton <will.newton@linaro.org>
64 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
65 and restore r2 rather than just restoring.
67 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
70 * libio/tst-ftell-append.c: New test case.
71 * libio/Makefile (tests): Add test case.
72 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
74 * libio/wfileops.c (do_ftell_wide): Likewise.
76 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
82 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
83 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
84 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
85 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
86 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
87 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
88 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
89 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
90 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
92 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
93 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
96 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
97 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
98 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
99 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
100 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
102 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
103 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
105 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
107 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
109 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
110 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
111 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
113 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
114 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
115 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
116 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
118 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
121 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
127 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
131 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
139 conditional [RESET_PID].
140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
148 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
149 (__libc_vfork): New strong alias.
150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
157 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
158 (__libc_vfork): New strong alias.
159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
161 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
164 2014-05-26 Carlos O'Donell <carlos@redhat.com>
166 * malloc/malloc.c (mi_arena): New function.
167 (malloc_info): Remove nested function mi_arena. Call non-nosted
170 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
172 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
174 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
175 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
176 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
177 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
178 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
179 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
180 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
182 2014-05-26 Andreas Schwab <schwab@suse.de>
185 * locale/programs/repertoire.c (repertoire_read): Add slash
186 between I18NPATH element and file name.
187 * locale/programs/locfile.c (locfile_read): Likewise.
189 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
191 * nptl/pthread_mutexattr_settype.c
192 (__pthread_mutexattr_settype):
193 Disable lock elision for PTHREAD_MUTEX_NORMAL.
195 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
197 * nptl/tst-mutex5 (do_test):
198 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
200 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
202 * benchtests/README: Document 'init' directive.
203 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
205 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
206 (parse_file): Recognize 'init' directive.
208 2014-05-26 Kyle McMartin <kyle@redhat.com>
211 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
212 alignment of struct pthread.
214 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
217 * nscd/netgroupcache.c (addgetnetgrentX): Look for
218 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
219 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
220 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
222 2014-05-25 Richard Henderson <rth@twiddle.net>
224 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
225 (SINGLE_THREAD_P_PIC): Remove.
226 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
227 (SINGLE_THREAD_P_PIC): Remove.
229 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
230 branch to syscall error ...
232 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
233 from __local_syscall_error to .Lsyscall_error.
234 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
235 (SYSCALL_ERROR): Update label name.
237 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
238 Do not use DOARGS/UNDOARGS.
239 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
240 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
241 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
242 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
243 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
245 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
248 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
249 define if !NOT_IN_libc.
250 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
251 define with non-default symbol versions.
253 2014-05-23 Richard Henderson <rth@twiddle.net>
255 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
256 (vfork, __vfork): Define via compat_symbol.
258 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
259 [!HAVE_IFUNC] (vfork_compat): Remove.
260 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
262 2014-05-23 Joseph Myers <joseph@codesourcery.com>
265 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
266 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
269 2014-05-23 Richard Henderson <rth@twiddle.net>
271 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
272 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
273 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
274 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
276 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
277 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
278 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
279 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
280 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
281 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
282 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
283 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
284 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
285 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
286 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
287 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
288 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
289 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
290 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
291 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
292 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
293 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
294 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
295 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
296 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
297 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
298 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
299 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
300 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
301 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
302 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
303 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
304 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
305 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
306 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
307 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
308 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
309 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
310 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
311 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
312 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
313 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
314 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
315 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
316 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
317 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
318 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
319 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
320 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
321 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
322 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
323 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
324 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
325 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
326 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
327 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
328 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
329 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
330 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
331 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
333 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
334 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
335 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
336 before exiting on error.
337 (__libc_vfork): New strong alias.
338 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
339 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
341 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
342 that was previously under [RESET_PID].
343 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
345 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
347 2014-05-23 Joseph Myers <joseph@codesourcery.com>
350 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
351 value when x - 1 is zero.
352 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
353 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
354 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
355 0.0L for an argument of 1.0L.
356 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
358 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
359 value when x - 1 is zero.
360 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
361 * sysdeps/i386/fpu/libm-test-ulps: Update.
362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
364 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
366 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
367 alphasort and versionsort.
369 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
371 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
373 [copysignf]: Likewise.
375 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
377 * crypt/md5-crypt.c: Fix formatting.
379 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
381 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
382 (b64_from_24bit): New function.
384 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
386 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
387 libc_hidden_builtin_def to ifunc.
388 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
389 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
391 2014-05-21 Roland McGrath <roland@hack.frob.com>
393 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
394 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
396 2014-05-21 Joseph Myers <joseph@codesourcery.com>
398 * nscd/Depend (linuxthreads): Remove.
400 * resolv/Depend (linuxthreads): Remove.
401 * rt/Depend (linuxthreads): Remove.
403 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
404 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
405 $(common-objpfx)elf/.
406 (link-libc-before-gnulib): Likewise.
407 (elfobjdir): Remove variable.
408 * Makefile (install): Use $(elf-objpfx) instead of
409 $(common-objpfx)elf/.
410 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
412 (link-libc-deps): Likewise.
413 ($(common-objpfx)libc.so): Likewise.
414 ($(common-objpfx)linkobj/libc.so): Likewise.
415 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
416 instead of $(common-objpfx)elf/.
417 (symbolic-link-list): Likewise.
418 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
419 [$(cross-compiling) = no]: Likewise.
420 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
422 (static-gnulib-arch): Likewise.
423 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
424 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
425 $(common-objpfx)elf/.
427 2014-05-21 Richard Henderson <rth@redhat.com>
429 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
430 (SINGLE_THREAD_P): Use the correct width load. Fold
433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
434 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
436 2014-05-20 Joseph Myers <joseph@codesourcery.com>
438 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
439 (libgcc_s_resume): Use __attribute_used__.
440 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
443 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
445 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
446 optimization when used with float constants.
448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
450 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
453 * locale/nl_langinfo_l.c: Make direct reference to every
454 _nl_current_CATEGORY symbol.
455 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
456 (tests-static): Add tst-langinfo-static.
457 (tests-special): Add tst-langinfo-static.out.
458 ($(objpfx)tst-langinfo.out): Redirect output.
459 ($(objpfx)tst-langinfo-static.out): New.
460 * localedata/tst-langinfo.sh: Send output to stdout.
461 * localedata/tst-langinfo-static.c: New file.
464 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
465 when the shift amount is modulo the limb size.
467 2014-05-20 Richard Henderson <rth@redhat.com>
470 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
471 Change type of sa_flags from unsigned int to int.
474 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
476 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
478 2014-05-20 Will Newton <will.newton@linaro.org>
480 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
481 Test the return value of the system call in the nocancel case.
483 2014-05-20 Will Newton <will.newton@linaro.org>
484 Yvan Roux <yvan.roux@linaro.org>
486 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
487 #include of asm/ptrace.h.
488 (PTRACE_GET_THREAD_AREA): Remove #undef.
489 (PTRACE_GETHBPREGS): Likewise.
490 (PTRACE_SETHBPREGS): Likewise.
491 (struct user_regs_struct): New structure.
492 (struct user_fpsimd_struct): New structure.
493 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
494 #include of asm/ptrace.h and second #include of sys/user.h.
495 (PTRACE_GET_THREAD_AREA): Remove #undef.
496 (PTRACE_GETHBPREGS): Likewise.
497 (PTRACE_SETHBPREGS): Likewise.
498 (ELF_NGREG): Use new struct user_regs_struct.
499 (elf_fpregset_t): Use new struct user_fpsimd_struct.
501 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
503 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
504 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
506 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
509 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
510 membar to avoid block loads/stores to overlap previous stores.
512 2014-05-17 Richard Henderson <rth@redhat.com>
514 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
515 Create the __##syscall_name##_nocancel entry point.
516 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
517 Remove; let the sysdep-cancel.h code create it.
519 2014-05-17 David S. Miller <davem@davemloft.net>
521 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
522 Protect with __USE_GNU.
523 (TIOCSET_TEMPT): Likewise.
524 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
525 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
526 these are already provided in bits/ioctl-types.h
528 2014-05-16 Roland McGrath <roland@hack.frob.com>
530 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
531 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
533 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
534 Use wait4 regardless of [__NR_waitpid].
536 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
539 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
540 (_FP_NANSIGN_Q): Set the quiet bit.
542 2014-05-16 Joseph Myers <joseph@codesourcery.com>
544 * benchtests/Makefile
545 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
546 not $(common-objpfx)math/libm.so.
547 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
548 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
549 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
550 $(common-objpfx)dlfcn/libdl.so.
551 ($(objpfx)tst-audit8): Depend on $(libm), not
552 $(common-objpfx)math/libm.so.
553 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
554 not $(common-objpfx)dlfcn/libdl.so.
556 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
557 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
558 [$(build-shared) = yes].
559 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
560 $(common-objpfx)nptl/libpthread.so.
561 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
562 $(common-objpfx)math/libm.so$(libm.so-version) or
563 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
564 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
565 $(common-objpfx)dlfcn/libdl.so.
566 * setjmp/Makefile (link-libm): Remove variable.
567 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
568 * stdio-common/Makefile (link-libm): Remove variable.
569 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
570 * stdlib/Makefile (link-libm): Remove variable.
571 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
572 ($(objpfx)tst-strtod-round): Likewise.
573 ($(objpfx)tst-tininess): Likewise.
574 ($(objpfx)tst-strtod-underflow): Likewise.
575 ($(objpfx)tst-strtod6): Likewise.
576 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
577 $(libdl), not $(common-objpfx)nptl/libpthread.so and
578 $(common-objpfx)dlfcn/libdl.so.
580 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
582 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
583 BSD terminal modes definitions.
585 2014-05-16 Roland McGrath <roland@hack.frob.com>
587 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
588 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
590 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
591 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
592 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
593 Don't do #include_next.
594 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
595 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
596 Don't do #include_next.
597 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
598 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
599 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
600 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
602 2014-05-16 Allan McRae <allan@archlinux.org>
604 * po/sv.po: Update Swedish translation from translation project.
606 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
609 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
612 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
613 errno if the TIOCGPTN ioctl fails with an error different than
615 * login/tst-ptsname.c: New file.
616 * login/Makefile (tests): Add tst-ptsname.
619 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
622 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
626 herrno to return EAI_AGAIN.
628 2014-05-14 Roland McGrath <roland@hack.frob.com>
630 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
631 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
632 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
633 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
634 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
635 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
636 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
637 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
639 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
640 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
641 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
642 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
643 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
644 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
645 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
646 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
647 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
648 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
649 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
650 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
651 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
652 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
653 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
654 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
655 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
656 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
657 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
658 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
659 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
661 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
663 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
666 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
668 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
670 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
672 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
674 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
676 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
678 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
680 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
682 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
684 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
686 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
688 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
690 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
692 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
695 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
697 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
699 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
701 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
703 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
705 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
707 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
709 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
711 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
713 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
716 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
718 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
720 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
721 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
722 (libpthread-sysdep_routines): Add elision-related stuff here instead.
723 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
724 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
725 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
726 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
727 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
728 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
729 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
730 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
731 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
732 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
733 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
734 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
735 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
736 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
737 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
738 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
739 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
740 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
741 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
742 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
743 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
744 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
745 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
746 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
747 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
748 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
749 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
750 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
752 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
753 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
755 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
756 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
757 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
758 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
759 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
760 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
762 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
763 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
765 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
766 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
768 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
769 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
771 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
772 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
773 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
776 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
777 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
778 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
779 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
780 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
781 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
782 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
783 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
785 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
786 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
788 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
790 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
791 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
792 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
793 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
794 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
796 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
798 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
800 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
801 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
802 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
803 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
804 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
805 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
807 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
808 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
810 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
811 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
813 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
814 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
816 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
817 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
818 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
821 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
822 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
823 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
824 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
825 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
826 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
827 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
828 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
830 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
831 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
833 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
835 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
836 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
837 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
838 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
839 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
841 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
843 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
845 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
846 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
847 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
848 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
849 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
850 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
851 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
852 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
853 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
854 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
857 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
859 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
860 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
862 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
863 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
865 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
866 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
867 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
868 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
869 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
870 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
872 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
873 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
874 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
875 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
876 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
877 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
878 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
879 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
881 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
882 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
884 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
886 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
887 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
888 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
889 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
890 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
892 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
894 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
896 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
897 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
898 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
899 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
900 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
901 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
902 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
903 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
904 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
905 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
906 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
908 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
909 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
911 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
912 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
914 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
915 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
916 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
917 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
918 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
919 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
920 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
921 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
922 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
923 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
924 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
925 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
926 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
927 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
928 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
929 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
930 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
931 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
933 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
934 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
935 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
938 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
939 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
940 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
941 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
942 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
943 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
944 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
945 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
947 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
950 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
951 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
952 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
954 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
955 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
956 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
957 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
958 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
959 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
960 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
961 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
962 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
963 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
964 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
965 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
966 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
968 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
969 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
970 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
971 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
972 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
974 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
975 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
976 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
977 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
978 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
979 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
980 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
981 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
982 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
983 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
985 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
986 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
988 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
989 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
990 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
991 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
992 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
993 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
994 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
995 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
996 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
997 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
998 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
999 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1000 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1001 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1002 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1004 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1006 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1008 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1010 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1023 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1025 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1027 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1028 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1029 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1030 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1031 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1032 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1033 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1034 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1035 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1036 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1038 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1039 that was previously under [RESET_PID].
1040 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1041 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1042 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1044 * sysdeps/i386/nptl/Implies: New file.
1045 * sysdeps/x86_64/nptl/Implies: New file.
1046 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1047 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1048 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1049 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1051 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1052 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1053 (__libc_vfork): New strong alias.
1054 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1055 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1057 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1058 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1059 (__libc_vfork): New strong alias.
1060 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1061 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1063 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1064 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1065 (__libc_vfork): New strong alias.
1066 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1067 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1068 * nptl/pt-vfork.c: New file.
1069 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1070 (libpthread: GLIBC_2.20): New version set (empty).
1072 2014-05-14 Will Newton <will.newton@linaro.org>
1074 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1077 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1080 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1081 arguments with exponent 65 or above.
1082 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1083 arguments 0x1p113L or above.
1084 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1085 to arguments 0x1p107L or above.
1086 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1087 positive arguments with exponent 65 or above.
1088 * math/auto-libm-test-in: Add more tests of log1p.
1089 * math/auto-libm-test-out: Regenerated.
1092 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1093 non-finite arguments is +0.
1094 * math/s_cacosf.c (__cacosf): Likewise.
1095 * math/s_cacosl.c (__cacosl): Likewise.
1096 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1097 * sysdeps/i386/fpu/libm-test-ulps: Update.
1098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1101 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1103 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1104 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1105 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1106 for explicit high bit of mantissa when testing for argument equal
1108 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1109 * sysdeps/i386/fpu/libm-test-ulps: Update.
1110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1113 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1114 (__erf): Scale by 16 instead of 8 in potentially underflowing
1115 case. Ensure exception if result actually underflows.
1116 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1117 (__erff): Scale by 16 instead of 8 in potentially underflowing
1118 case. Ensure exception if result actually underflows.
1119 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1120 (efx8): Remove variable.
1121 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1122 case. Ensure exception if result actually underflows.
1123 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1124 (efx8): Remove variable.
1125 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1126 case. Ensure exception if result actually underflows.
1127 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1128 (efx8): Remove variable.
1129 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1130 case. Ensure exception if result actually underflows.
1131 * math/auto-libm-test-in: Add more tests of erf.
1132 * math/auto-libm-test-out: Regenerated.
1134 2014-05-14 Andreas Schwab <schwab@suse.de>
1136 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1137 Remove code conditionalized on USE___THREAD.
1139 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1140 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1143 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1145 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1146 Define unconditionally.
1147 (__ASSUME_O_CLOEXEC): Likewise.
1148 (__ASSUME_SOCK_CLOEXEC): Likewise.
1149 (__ASSUME_IN_NONBLOCK): Likewise.
1150 (__ASSUME_PIPE2): Likewise.
1151 (__ASSUME_EVENTFD2): Likewise.
1152 (__ASSUME_SIGNALFD4): Likewise.
1153 (__ASSUME_DUP3): Likewise.
1154 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1155 (__ASSUME_DUP3): Do not define.
1156 (__ASSUME_EVENTFD2): Likewise.
1157 (__ASSUME_IN_NONBLOCK): Likewise.
1158 (__ASSUME_O_CLOEXEC): Likewise.
1159 (__ASSUME_PIPE2): Likewise.
1160 (__ASSUME_SIGNALFD4): Likewise.
1161 (__ASSUME_SOCK_CLOEXEC): Likewise.
1162 (__ASSUME_UTIMES): Undefine.
1163 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1164 (__ASSUME_UTIMES): Do not define.
1165 (__ASSUME_O_CLOEXEC): Likewise.
1166 (__ASSUME_SOCK_CLOEXEC): Likewise.
1167 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1168 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1170 (__ASSUME_PIPE2): Likewise.
1171 (__ASSUME_EVENTFD2): Likewise.
1172 (__ASSUME_SIGNALFD4): Likewise.
1173 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1174 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1176 (__ASSUME_EVENTFD2): Likewise.
1177 (__ASSUME_SIGNALFD4): Likewise.
1178 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1179 (__ASSUME_32BITUIDS): Likewise.
1180 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1181 (__ASSUME_IPC64): Likewise.
1182 (__ASSUME_ST_INO_64_BIT): Likewise.
1183 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1184 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1185 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1186 (__ASSUME_UTIMES): Do not define.
1187 (__ASSUME_PSELECT): Likewise.
1188 (__ASSUME_PPOLL): Likewise.
1189 (__ASSUME_O_CLOEXEC): Likewise.
1190 (__ASSUME_SOCK_CLOEXEC): Likewise.
1191 (__ASSUME_IN_NONBLOCK): Likewise.
1192 (__ASSUME_PIPE2): Likewise.
1193 (__ASSUME_EVENTFD2): Likewise.
1194 (__ASSUME_SIGNALFD4): Likewise.
1195 (__ASSUME_DUP3): Likewise.
1196 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1197 (__ASSUME_UTIMES): Likewise.
1198 (__ASSUME_O_CLOEXEC): Likewise.
1199 (__ASSUME_SOCK_CLOEXEC): Likewise.
1200 (__ASSUME_IN_NONBLOCK): Likewise.
1201 (__ASSUME_PIPE2): Likewise.
1202 (__ASSUME_EVENTFD2): Likewise.
1203 (__ASSUME_SIGNALFD4): Likewise.
1204 (__ASSUME_DUP3): Likewise.
1205 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1206 (__ASSUME_UTIMES): Likewise.
1207 (__ASSUME_O_CLOEXEC): Likewise.
1208 (__ASSUME_SOCK_CLOEXEC): Likewise.
1209 (__ASSUME_IN_NONBLOCK): Likewise.
1210 (__ASSUME_PIPE2): Likewise.
1211 (__ASSUME_EVENTFD2): Likewise.
1212 (__ASSUME_SIGNALFD4): Likewise.
1213 (__ASSUME_DUP3): Likewise.
1214 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1216 (__ASSUME_UTIMES): Likewise.
1217 (__ASSUME_EVENTFD2): Likewise.
1218 (__ASSUME_SIGNALFD4): Likewise.
1219 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1220 (__ASSUME_O_CLOEXEC): Likewise.
1221 (__ASSUME_SOCK_CLOEXEC): Likewise.
1222 (__ASSUME_IN_NONBLOCK): Likewise.
1223 (__ASSUME_PIPE2): Likewise.
1224 (__ASSUME_EVENTFD2): Likewise.
1225 (__ASSUME_SIGNALFD4): Likewise.
1226 (__ASSUME_DUP3): Likewise.
1227 (__ASSUME_UTIMES): Undefine.
1229 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1230 feclearexcept. Remove symbol versioning code.
1231 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1232 symbol versioning code.
1233 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1234 symbol versioning code.
1235 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1236 feupdateenv. Remove symbol versioning code.
1237 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1238 fegetexceptflag. Remove symbol versioning code.
1239 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1240 fesetexceptflag. Remove symbol versioning code.
1241 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1242 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1243 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1244 (__posix_fadvise64_l32): Remove prototype.
1245 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1248 2014-05-13 Roland McGrath <roland@hack.frob.com>
1250 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1251 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1252 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1253 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1255 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1257 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1258 current working directory
1260 2014-05-13 Roland McGrath <roland@hack.frob.com>
1262 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1263 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1264 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1265 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1266 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1267 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1268 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1269 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1270 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1271 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1272 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1273 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1274 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1275 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1276 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1277 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1278 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1279 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1280 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1281 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1282 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1283 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1284 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1285 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1286 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1287 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1288 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1289 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1290 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1291 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1292 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1293 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1294 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1295 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1296 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1297 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1298 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1299 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1300 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1301 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1302 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1303 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1305 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1306 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1308 * sysdeps/unix/sysv/linux/arm/Makefile
1309 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1310 Add rt-aeabi_unwind_cpp_pr1.
1311 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1312 Add nptl-aeabi_unwind_cpp_pr1.
1313 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1314 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1315 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1316 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1317 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1318 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1320 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1321 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1322 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1323 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1325 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1326 Deconditionalize the code that was previously under [RESET_PID].
1327 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1329 * sysdeps/generic/exit-thread.h: New file.
1330 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1331 * include/unistd.h (__exit_thread): Remove declaration.
1332 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1333 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1334 * csu/libc-start.c: Include <exit-thread.h>.
1335 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1336 * nptl/pthread_create.c: Include <exit-thread.h>.
1337 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1338 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1339 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1340 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1341 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1342 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1343 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1344 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1345 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1346 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1347 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1348 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1349 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1350 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1351 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1352 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1353 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1355 2014-05-13 Andreas Schwab <schwab@suse.de>
1357 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1359 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1361 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1362 (__ASSUME_UTIMES): Do not condition on kernel version.
1363 (__ASSUME_PSELECT): Define unconditionally.
1364 (__ASSUME_PPOLL): Likewise.
1365 (__ASSUME_ATFCTS): Likewise.
1366 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1367 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1368 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1369 (__ASSUME_UTIMENSAT): Define unconditionally.
1370 (__ASSUME_PRIVATE_FUTEX): Likewise.
1371 (__ASSUME_FALLOCATE): Likewise.
1372 (__ASSUME_O_CLOEXEC): Likewise.
1373 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1374 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1375 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1376 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1377 (__ASSUME_IN_NONBLOCK): Likewise.
1378 (__ASSUME_PIPE2): Likewise.
1379 (__ASSUME_EVENTFD2): Likewise.
1380 (__ASSUME_SIGNALFD4): Likewise.
1381 (__ASSUME_DUP3): Likewise.
1382 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1383 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1384 (__ASSUME_AT_RANDOM): Likewise.
1385 (__ASSUME_PREADV): Likewise.
1386 (__ASSUME_PWRITEV): Likewise.
1387 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1388 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1389 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1390 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1391 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1392 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1393 (__ASSUME_O_CLOEXEC): Define unconditionally.
1394 (__ASSUME_PSELECT): Do not undefine conditionally.
1395 (__ASSUME_PPOLL): Likewise.
1396 (__ASSUME_ATFCTS): Likewise.
1397 (__ASSUME_SET_ROBUST_LIST): Likewise.
1398 (__ASSUME_UTIMENSAT): Likewise.
1399 (__ASSUME_FDATASYNC): Define unconditionally.
1400 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1401 (__ASSUME_SIGFRAME_V2): Likewise.
1402 )__ASSUME_EVENTFD2): Likewise.
1403 (__ASSUME_SIGNALFD4): Likewise.
1404 (__ASSUME_PSELECT): Do not undefine conditionally.
1405 (__ASSUME_PPOLL): Likewise.
1406 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1407 (__ASSUME_PSELECT): Define unconditionally.
1408 (__ASSUME_PPOLL): Likewise.
1409 (__ASSUME_O_CLOEXEC): Likewise.
1410 (__ASSUME_SOCK_CLOEXEC): Likewise.
1411 (__ASSUME_IN_NONBLOCK): Likewise.
1412 (__ASSUME_PIPE2): Likewise.
1413 (__ASSUME_EVENTFD2): Likewise.
1414 (__ASSUME_SIGNALFD4): Likewise.
1415 (__ASSUME_DUP3): Likewise.
1416 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1417 (__ASSUME_O_CLOEXEC): Likewise.
1418 (__ASSUME_SOCK_CLOEXEC): Likewise.
1419 (__ASSUME_IN_NONBLOCK): Likewise.
1420 (__ASSUME_PIPE2): Likewise.
1421 (__ASSUME_EVENTFD2): Likewise.
1422 (__ASSUME_SIGNALFD4): Likewise.
1423 (__ASSUME_DUP3): Likewise.
1424 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1425 (__ASSUME_EVENTFD2): Likewise.
1426 (__ASSUME_SIGNALFD4): Likewise.
1427 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1429 2014-05-12 Andreas Schwab <schwab@suse.de>
1432 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1433 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1434 than maximum RPC packet size.
1435 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1436 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1437 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1438 (_nss_nis_getservbyport_r): Likewise.
1440 2014-05-12 Will Newton <will.newton@linaro.org>
1442 * malloc/Makefile (tests): Add tst-mallopt.
1443 * malloc/tst-mallopt.c: New file.
1445 2014-05-09 Roland McGrath <roland@hack.frob.com>
1447 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1448 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1450 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1452 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1453 (tst-tlsmod6.so): Likewise.
1455 2014-05-09 Roland McGrath <roland@hack.frob.com>
1457 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1459 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1462 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1463 and <dl-procinfo.h>.
1464 (__fegetenv): Save SSE state in envp->__eip if supported.
1465 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1466 envp->__eip if supported.
1467 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1468 and <dl-procinfo.h>.
1469 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1470 __data_offset and __data_selector in environment to 0. Set SSE
1472 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1474 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1476 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1478 2014-05-09 Will Newton <will.newton@linaro.org>
1480 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1481 and libc_relro_required for ARM.
1482 * sysdeps/arm/preconfigure: Regenerate.
1484 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1485 Stefan Liebler <stli@linux.vnet.ibm.com>
1487 * config.make.in (enable-lock-elision): New Makefile variable.
1488 * configure.ac: Likewise.
1489 * configure: Regenerate.
1490 * sysdeps/s390/configure.ac:
1491 Add check for gcc transactions support.
1492 * sysdeps/s390/configure: Regenerate.
1493 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1494 Build elision files if enabled.
1495 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1496 Add lock elision support for s390.
1497 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1498 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1499 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1500 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1501 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1502 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1503 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1505 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1507 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1509 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1511 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1512 (__lll_timedlock_elision, __lll_lock_elision)
1513 (__lll_unlock_elision, __lll_trylock_elision)
1514 (lll_timedlock_elision, lll_lock_elision)
1515 (lll_unlock_elision, lll_trylock_elision): Add.
1516 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1517 (pthread_mutex_t): Add lock elision support for s390.
1519 2014-05-14 Wilco <wdijkstr@arm.com>
1521 * sysdeps/arm/fclrexcpt.c: Cleanup.
1522 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1523 * sysdeps/arm/feenablxcpt.c: Cleanup.
1524 * sysdeps/arm/fegetenv.c: Cleanup.
1525 * sysdeps/arm/fegetexcept.c: Cleanup.
1526 * sysdeps/arm/fegetround.c: Cleanup.
1527 * sysdeps/arm/feholdexcpt.c: Cleanup.
1528 * sysdeps/arm/fesetenv.c: Cleanup.
1529 * sysdeps/arm/fesetround.c: Cleanup.
1530 * sysdeps/arm/feupdateenv.c: Cleanup.
1531 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1532 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1533 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1534 * sysdeps/arm/ftestexcept.c: Cleanup.
1535 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1536 * sysdeps/arm/setfpucw.c: Cleanup.
1538 2014-05-09 Will Newton <will.newton@linaro.org>
1540 * sysdeps/arm/armv7/strcmp.S: New file.
1541 * NEWS: Mention addition of ARMv7 optimized strcmp.
1543 2014-05-08 Roland McGrath <roland@hack.frob.com>
1545 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1546 look for %.ac rather than %.in.
1548 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1549 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1550 * sysdeps/mach/hurd/configure: Regenerated.
1551 * sysdeps/unix/sysv/linux/configure: Regenerated.
1553 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1555 2014-05-07 Steve Ellcey <sellcey@mips.com>
1558 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1562 2014-05-07 Andreas Schwab <schwab@suse.de>
1564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1565 when skipping over non-matching result from nscd.
1567 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1570 * nptl/sockperf.c (client): Check socket return value.
1573 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1574 nscd security class.
1576 2014-05-06 Roland McGrath <roland@hack.frob.com>
1578 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1579 * sysdeps/arm/unwind.h: ... here.
1581 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1584 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1587 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1589 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1590 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1591 multiarch strncpy for PPC64.
1592 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1593 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1595 multiarch optimizations.
1596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1597 (__libc_ifunc_impl_list): Likewise.
1598 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1599 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1600 multiarch stpncpy for PPC64.
1601 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1602 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1604 2014-05-06 Andreas Schwab <schwab@suse.de>
1607 * gmon/mcount.c (_MCOUNT_DECL): Use
1608 atomic_compare_and_exchange_bool_acq instead of
1609 catomic_compare_and_exchange_bool_acq.
1611 2014-05-05 Roland McGrath <roland@hack.frob.com>
1613 * elf/Makefile (others, install-bin): Remove pldd.
1614 (pldd-modules): Variable removed.
1615 ($(objpfx)pldd): Target removed.
1616 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1617 (others, install-bin): Append pldd here.
1618 ($(objpfx)pldd): New target.
1620 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1621 to 0, so the first #if test emitted later doesn't see it undefined.
1622 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1623 * sysdeps/gnu/errlist.c: Regenerated.
1625 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1627 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1628 [libc_hidden_builtin_def]: Define to empty value.
1629 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1630 [libc_hidden_builtin_def]: Likewise.
1631 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1632 [libc_hidden_builtin_def]: Likewise.
1633 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1634 [libc_hidden_builtin_def]: Likewise.
1635 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1636 __redirect_memcpy and define ifunc as default hidden symbol.
1637 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1638 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1640 2014-05-04 Adam Conrad <adconrad@0c3.net>
1642 * locale/iso-4217.def: Reintroduce XDR currency.
1644 2014-05-04 Allan McRae <allan@archlinux.org>
1646 * po/eo.po: Update Esperanto translation from translation project.
1648 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1650 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1651 and FEATURE_INDEX_MAX to 1.
1652 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1654 2014-05-01 Steve Ellcey <sellcey@mips.com>
1656 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1657 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1658 * iconvdata/big5.c (ONE_DIRECTION): Define.
1659 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1660 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1661 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1662 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1663 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1664 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1665 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1666 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1667 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1668 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1669 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1670 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1671 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1672 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1673 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1674 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1675 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1676 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1677 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1678 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1679 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1680 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1681 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1682 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1683 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1684 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1685 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1686 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1687 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1688 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1689 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1690 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1691 * iconvdata/johab.c (ONE_DIRECTION): Define.
1692 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1693 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1694 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1695 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1696 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1697 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1698 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1699 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1700 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1701 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1703 2014-05-01 Roland McGrath <roland@hack.frob.com>
1705 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1706 (_IO_JUMPS_OFFSET): Define to 0.
1708 * nptl/sysdeps/pthread/bits/libc-lock.h
1709 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1710 (__libc_lock_define_initialized_recursive): Always define using
1711 initializer. Modern compilers treat uninitialized (implicit zero) and
1712 explicit zero initializers the same (i.e. put the datum in bss).
1714 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1716 * nscd/nscd-client.h: Include <string.h>.
1718 2014-05-01 David S. Miller <davem@davemloft.net>
1721 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1722 multiple zero bytes exist at the end of a string.
1723 Reported by Aurelien Jarno <aurelien@aurel32.net>
1725 * string/test-strcmp.c (check): Add explicit test for situations where
1726 there are multiple zero bytes after the first.
1728 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1731 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1732 when compiling wprintf.
1733 * stdio-common/tstdiomisc.c (t3): New function.
1736 2014-05-01 Steve Ellcey <sellcey@mips.com>
1738 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1739 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1740 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1741 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1743 2014-05-01 Steve Ellcey <sellcey@mips.com>
1745 * stdlib/longlong.h: Updated from GCC.
1747 2014-05-01 Will Newton <will.newton@linaro.org>
1748 Bernard Ogden <bernie.ogden@linaro.org>
1750 * NEWS: Update fixed bug list.
1753 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1755 2014-04-30 David S. Miller <davem@davemloft.net>
1757 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1758 (libc_feholdexcept_setround_sparc_ctx): New function.
1759 (libc_fesetenv_sparc_ctx): Likewise.
1760 (libc_feupdateenv_sparc_ctx): Likewise.
1761 (libc_feholdsetround_sparc_ctx): Likewise.
1762 (libc_feholdexcept_setround_ctx): Define.
1763 (libc_feholdexcept_setroundf_ctx): Likewise.
1764 (libc_feholdexcept_setroundl_ctx): Likewise.
1765 (libc_fesetenv_ctx): Likewise.
1766 (libc_fesetenvf_ctx): Likewise.
1767 (libc_fesetenvl_ctx): Likewise.
1768 (libc_feupdateenv_ctx): Likewise.
1769 (libc_feupdateenvf_ctx): Likewise.
1770 (libc_feupdateenvl_ctx): Likewise.
1771 (libc_feresetround_ctx): Likewise.
1772 (libc_feresetroundf_ctx): Likewise.
1773 (libc_feresetroundl_ctx): Likewise.
1774 (libc_feholdsetround_ctx): Likewise.
1775 (libc_feholdsetroundf_ctx): Likewise.
1776 (libc_feholdsetroundl_ctx): Likewise.
1778 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1779 with __USE_GNU instead of XOPEN cpp guards.
1781 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1784 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1785 with XOPEN cpp guards.
1787 2014-04-30 Julian Brown <julian@codesourcery.com>
1790 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1793 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1796 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1798 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1799 * sysdeps/unix/sysv/linux/configure: Regenerated.
1800 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1801 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1802 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1803 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1804 * README: Update reference to required Linux kernel version.
1805 * manual/install.texi (Linux): Update reference to required Linux
1806 kernel headers version.
1807 * INSTALL: Regenerated.
1809 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1811 [POSIX] (limits.h): Likewise.
1812 [POSIX] (math.h): Likewise.
1813 [POSIX] (sys/wait.h): Likewise.
1814 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1816 [POSIX] (stddef.h): Do not allow header inclusion.
1818 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1820 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1822 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1824 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1825 Return immediately after lll_futex_wake.
1827 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1830 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1832 (datahead_init_pos): Call datahead_init_common early.
1833 (datahead_init_neg): Likewise.
1835 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1836 datahead_init_neg): New functions.
1837 * nscd/aicache.c (addhstaiX): Use them.
1838 * nscd/grpcache.c (cache_addgr): Likewise.
1839 * nscd/hstcache.c (cache_addhst): Likewise.
1840 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1841 * nscd/netgroupcache.c (do_notfound): Likewise.
1842 (addgetnetgrentX): Likewise.
1843 (addinnetgrX): Likewise.
1844 * nscd/pwdcache.c (cache_addpw): Likewise.
1845 * nscd/servicescache.c (cache_addserv): Likewise.
1847 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1848 Atsushi Onoe <atsushi@onoe.org>
1853 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1854 one response is valid.
1855 * resolv/res_send.c (send_dg): Check for validity of other
1856 response if the current response is a referral.
1858 2014-04-29 Steve Ellcey <sellcey@mips.com>
1860 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1862 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1865 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1866 Always divide by positive zero when computing -Inf result.
1867 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1868 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1870 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1872 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1873 FPSCR if value do not change.
1874 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1875 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1876 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1877 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1878 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1879 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1882 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1884 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1885 * sysdeps/unix/sysv/linux/hppa: Move directory from
1886 ports/systeps/unix/sysv/linux/hppa.
1887 * README: Update listing for hppa-*-linux-gnu.
1889 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1892 * manual/stdio.texi (Hook functions): Fix types of stream hook
1895 * socket/sys/socket.h: Fix typo in comment.
1897 2014-04-28 Wilco <wdijkstr@arm.com>
1899 * sysdeps/arm/fenv_private.h: New file.
1900 * sysdeps/arm/math_private.h: New file.
1901 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1903 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1905 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1907 (La_x86_64_retval): Likewise.
1909 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1911 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1912 fpsr if value didn't change.
1913 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1914 to fpcr if value didn't change.
1915 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1916 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1917 fpsr or fpcr if value didn't change.
1918 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1919 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1920 fpcr if value didn't change.
1921 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1922 to fpsr if value didn't change.
1924 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1926 * nptl/tst-sem3.c: Use test-skeleton.c
1927 (main): Rename to do_test. Use return instead of
1929 * nptl/tst-sem4.c: Use test-skeleton.c
1930 (main): Rename to do_test.
1932 2014-04-22 David S. Miller <davem@davemloft.net>
1934 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1935 (struct sigaction): New struct member __glibc_reserved0, change
1936 type of sa_flags to int.
1938 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1940 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1941 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1943 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1945 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1946 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1948 2014-04-22 Will Newton <will.newton@linaro.org>
1949 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1951 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1952 (__longjmp): Add longjmp and longjmp_target SystemTap
1954 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1955 (__sigsetjmp): Add setjmp SystemTap probe.
1957 2014-04-17 Carlos O'Donell <carlos@redhat.com>
1959 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1962 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1964 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1966 * sysdeps/powerpc/fpu/fenv_private.h
1967 (libc_feholdexcept_setroundl_ctx): Define to
1968 libc_feholdexcept_setround_ppc_ctx.
1969 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1970 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1971 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1972 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1974 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1976 * sysdeps/aarch64/math-tests.h: New file.
1978 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1980 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1983 Check and set bit_AVX2_Usable.
1984 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1986 (bit_AVX2): Likewise.
1987 (index_AVX2_Usable): Likewise.
1988 (CPUID_AVX2): Likewise.
1989 (HAS_AVX2): Likewise.
1991 2014-04-17 Will Newton <will.newton@linaro.org>
1993 * manual/setjmp.texi (System V contexts): Add note that
1994 calling setcontext on a context created by a call to a
1995 signal handler is undefined. Update text to note that
1996 setcontext from a signal handler is possible but not
2000 * stdlib/tst-setcontext.c: Include signal.h.
2001 (main): Check that the signal stack before and
2002 after swapcontext is the same.
2004 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2005 Re-implement to restore registers in user code and avoid
2006 rt_sigreturn system call.
2008 2014-04-17 Wilco <wdijkstr@arm.com>
2010 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2011 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2012 * math/test-fenv.c: Skip exception trap tests on targets which only
2013 support non-stop mode.
2015 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2016 Wilco Dijkstra <wilco.dijkstra@arm.com>
2018 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2019 (libc_feholdsetround_aarch64_ctx)
2020 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2021 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2022 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2023 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2024 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2025 (libc_feresetround_noexl_ctx): Define.
2027 2014-04-16 Richard Henderson <rth@redhat.com>
2029 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2031 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2034 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2035 const from the non-libc, non-ldso copy.
2037 * sysdeps/alpha/libm-test-ulps: Regenerate.
2039 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2040 Wilco Dijkstra <wilco.dijkstra@arm.com>
2042 * sysdeps/aarch64/fpu/math_private.h: New file.
2044 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2046 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2048 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2050 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2051 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2052 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2053 Intel MPX bound registers before _dl_profile_fixup.
2054 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2055 registers after _dl_profile_fixup. Save and restore bound
2056 registers bnd0/bnd1 when calling _dl_call_pltexit.
2057 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2058 (LR_BND_OFFSET): Likewise.
2059 (LRV_BND0_OFFSET): Likewise.
2060 (LRV_BND1_OFFSET): Likewise.
2062 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2064 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2066 * sysdeps/mach/hurd/i386/tls.h: ... here.
2067 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2068 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2071 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2073 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2075 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2077 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2079 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2082 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2083 * sysdeps/s390/configure: Regenerate.
2086 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2087 Set round-to-nearest internally to reduce error accumulation.
2089 2014-04-16 Alan Modra <amodra@gmail.com>
2093 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2094 * math/libm-test.inc (frexp_test_data): Add tests.
2095 * NEWS: Update fixed bug list.
2097 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2099 * benchtests/Makefile: Depend on libraries in build directory.
2100 (bench-math): Separate out math tests.
2101 (bench-pthread): Separate out pthread tests.
2102 (bench): Include math and pthread tests.
2104 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2107 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2108 _dl_debug_initialize.
2110 * configure.ac: Remove SELinux header check.
2111 * configure: Regenerate.
2112 * nscd/selinux.c (perms): Array of const char* to permission names.
2113 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2114 default policy. Call string_to_security_class and string_to_av_perm to
2115 translate strings. Enforce default policy and call avs_has_perm with
2116 results of translated strings.
2118 2014-04-13 David S. Miller <davem@davemloft.net>
2120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2122 2014-04-12 Allan McRae <allan@archlinux.org>
2125 * manual/string.texi (Collation Functions): Fix qsort argument
2127 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2129 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2131 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2132 Make the test a no-op if there are no exceptions defined.
2134 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2136 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2137 enable-hardcoded-path-in-tests
2139 2014-04-11 Will Newton <will.newton@linaro.org>
2141 * benchtests/Makefile (extra-objs): Add json-lib.o.
2142 (bench-func): Tidy up JSON output.
2143 * benchtests/bench-skeleton.c: Include json-lib.h.
2144 (main): Use JSON library functions to do output of
2146 * benchtests/bench-timing-type.c (main): Output the
2147 timing type simply, leaving formatting to the user.
2148 * benchtests/json-lib.c: New file.
2149 * benchtests/json-lib.h: Likewise.
2151 2014-04-11 Torvald Riegel <triegel@redhat.com>
2154 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2155 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2156 memory barriers. Add comments.
2157 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2158 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2159 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2160 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2161 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2162 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2164 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2166 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2167 * sysdeps/s390/s390-64/configure.ac: ... this ...
2168 * sysdeps/s390/configure.ac: ... to here.
2169 * sysdeps/s390/s390-32/configure: Delete file.
2170 * sysdeps/s390/s390-64/configure: Delete file.
2171 * sysdeps/s390/configure: Regenerate.
2173 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2175 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2177 2014-04-11 Will Newton <will.newton@linaro.org>
2179 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2180 to zero if it is not defined elsewhere. (mtrim): Test
2181 the value of MALLOC_DEBUG with #if rather than #ifdef.
2183 2014-04-10 Torvald Riegel <triegel@redhat.com>
2185 * benchtests/pthread_once-inputs: New file.
2186 * benchtests/pthread_once-source.c: New file.
2187 * benchtests/README: Update documentation.
2189 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2190 H.J. Lu <hongjiu.lu@intel.com>
2192 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2193 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2194 * sysdeps/x86_64/configure: Regenerated.
2195 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2197 (REGISTER_SAVE_RAX): Likewise.
2198 (REGISTER_SAVE_RCX): Likewise.
2199 (REGISTER_SAVE_RDX): Likewise.
2200 (REGISTER_SAVE_RSI): Likewise.
2201 (REGISTER_SAVE_RDI): Likewise.
2202 (REGISTER_SAVE_R8): Likewise.
2203 (REGISTER_SAVE_R9): Likewise.
2204 (REGISTER_SAVE_BND0): Likewise.
2205 (REGISTER_SAVE_BND1): Likewise.
2206 (REGISTER_SAVE_BND2): Likewise.
2207 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2208 bound registers when calling _dl_fixup.
2210 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2212 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2213 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2215 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2216 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2217 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2218 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2219 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2220 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2221 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2223 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2226 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2227 pathconf(_PC_NAME_MAX).
2229 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2231 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2233 (__PTHREAD_SPINS): Move definition to ...
2234 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2235 (__PTHREAD_SPINS): ... here.
2236 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2237 (__PTHREAD_SPIN): Likewise.
2238 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2239 (__PTHREAD_SPIN): Likewise.
2240 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2241 (__PTHREAD_SPIN): Likewise.
2242 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2243 (__PTHREAD_SPIN): Likewise.
2244 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2245 (__PTHREAD_SPIN): Likewise.
2246 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2247 (__PTHREAD_SPIN): Likewise.
2248 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2249 (__PTHREAD_SPIN): Likewise.
2250 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2251 (__PTHREAD_SPIN): Likewise.
2252 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2253 (__PTHREAD_SPIN): Likewise.
2254 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2255 (__PTHREAD_SPIN): Likewise.
2256 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2257 (__PTHREAD_SPIN): Likewise.
2258 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2259 (__PTHREAD_SPIN): Likewise.
2261 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2262 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2263 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2264 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2266 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2267 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2268 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2269 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2271 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2272 strlen symbol for non multi-arch builds.
2273 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2274 missing hidden_def and weak_alias.
2276 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2278 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2280 2014-04-07 Will Newton <will.newton@linaro.org>
2282 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2283 and contents. [!_LIBC] Remove #ifndef and contents.
2284 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2285 * string/memccpy.c (__memccpy): Use ANSI prototype.
2286 * string/memfrob.c (memfrob): Likewise.
2287 * string/strcoll.c (STRCOLL): Likewise.
2288 * string/strlen.c (strlen): Likewise.
2289 * string/strtok.c (STRTOK): Likewise.
2290 * string/strcat.c: Remove unused #include of memcopy.h.
2291 (strcat): Use ANSI prototype.
2292 * string/strchr.c: Remove unused #include of memcopy.h.
2293 (strchr): Use ANSI prototype.
2294 * string/strcmp.c: Remove unused #include of memcopy.h.
2295 (strcmp): Use ANSI prototype.
2296 * string/strcpy.c: Remove unused #include of memcopy.h.
2297 (strcpy): Use ANSI prototype.
2299 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2301 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2302 * config.make.in (config-extra-cppflags): Set it from
2303 libc_extra_cppflags.
2304 * configure.ac (libc_extra_cflags): Make it accumulate over
2305 configure fragments.
2306 (libc_extra_cppflags): New flag.
2307 * configure. Regenerate.
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2309 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2310 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2314 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2315 result for FE_DOWNWARD rounding mode.
2316 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2320 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2322 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2323 in function argument name.
2325 2014-04-03 David Svoboda <svoboda@cert.org>
2328 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2331 2014-04-03 Roland McGrath <roland@hack.frob.com>
2333 * elf/dl-unmap-segments.h: New file.
2334 * sysdeps/generic/ldsodefs.h
2335 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2336 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2337 * elf/dl-fptr.c: Likewise.
2338 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2339 * sysdeps/aarch64/tlsdesc.c: Likewise.
2340 * sysdeps/arm/tlsdesc.c: Likewise.
2341 * sysdeps/i386/tlsdesc.c: Likewise.
2342 * sysdeps/tile/dl-runtime.c: Likewise.
2343 * sysdeps/x86_64/tlsdesc.c: Likewise.
2344 * elf/dl-load.h: New file.
2345 * elf/dl-load.c: Include it.
2346 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2347 Macros moved to dl-load.h.
2348 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2349 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2350 Use _dl_unmap_segments in place of __munmap.
2351 Break out segment-mapping loop into ...
2352 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2354 2014-04-03 Will Newton <will.newton@linaro.org>
2356 * elf/dl-lookup.c (do_lookup_x): Remove comment
2357 referring to nested function and move variable
2358 declarations down to before first use.
2360 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2364 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2366 * math/s_catanf.c (__catanf): Likewise.
2367 * math/s_catanh.c (__catanh): Likewise.
2368 * math/s_catanhf.c (__catanhf): Likewise.
2369 * math/s_catanhl.c (__catanhl): Likewise.
2370 * math/s_catanl.c (__catanl): Likewise.
2371 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2372 by positive zero when computing -Inf result.
2373 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2374 (catanh_test): Likewise.
2375 * sysdeps/i386/fpu/libm-test-ulps: Update.
2376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2379 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2380 instead of using underflowing value in computing result.
2381 * math/s_clog10.c (__clog10): Likewise.
2382 * math/s_clog10f.c (__clog10f): Likewise.
2383 * math/s_clog10l.c (__clog10l): Likewise.
2384 * math/s_clogf.c (__clogf): Likewise.
2385 * math/s_clogl.c (__clogl): Likewise.
2386 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2387 (clog10_test): Likewise.
2388 * sysdeps/i386/fpu/libm-test-ulps: Update.
2389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2391 2014-04-02 Alan Modra <amodra@gmail.com>
2394 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2395 output when value is near a power of two. Use int64_t for lx and
2396 remove casts. Use decimal rather than hex exponent constants.
2397 Don't use long double multiplication when double will suffice.
2398 * math/libm-test.inc (nextafter_test_data): Add tests.
2399 * NEWS: Add 16739 and 16786 to bug list.
2401 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2403 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2405 2014-04-01 Will Newton <will.newton@linaro.org>
2407 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2408 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2410 2014-04-01 Florian Weimer <fweimer@redhat.com>
2413 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2414 * nptl/tst-setuid2.c: New file.
2415 * nptl/Makefile (xtests): Add tst-setuid2.
2417 2014-04-01 Alan Modra <amodra@gmail.com>
2420 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2422 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2426 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2427 set errno as appropriate.
2428 * math/w_scalbf.c (__scalbf): Likewise.
2429 * math/w_scalbl.c (__scalbl): Likewise.
2430 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2431 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2432 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2436 * math/w_atan2.c: Include <errno.h>.
2437 (__atan2): Set errno for result underflowing to zero.
2438 * math/w_atan2f.c: Include <errno.h>.
2439 (__atan2f): Set errno for result underflowing to zero.
2440 * math/w_atan2l.c: Include <errno.h>.
2441 (__atan2l): Set errno for result underflowing to zero.
2442 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2444 * math/auto-libm-test-out: Regenerated.
2446 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2448 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2449 Encode instruction correctly in little endian.
2450 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2452 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2454 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2456 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2459 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2462 * sysdeps/unix/sysv/linux/kernel-features.h
2463 [__sparc__ && !__arch64__ && !__sparc_v9__]
2464 (__ASSUME_SET_ROBUST_LIST): Do not define.
2465 [__sparc__ && !__arch64__ && !__sparc_v9__]
2466 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2467 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2469 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2470 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2471 (__ASSUME_REQUEUE_PI): Likewise.
2472 (__ASSUME_SET_ROBUST_LIST): Likewise.
2473 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2474 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2477 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2479 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2481 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2483 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2484 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2486 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2487 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2491 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2492 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2493 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2495 2014-03-31 Will Newton <will.newton@linaro.org>
2497 * benchtests/Makefile (bench): Add ffs and ffsll to list
2499 * benchtests/ffs-inputs: New file.
2500 * benchtests/ffsll-inputs: Likewise.
2502 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2505 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2506 too large before casting to int.
2507 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2508 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2509 * math/libm-test.inc (scalb_test_data): Add more tests.
2511 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2513 * benchtests/Makefile (DETAILED_OPT): New make option.
2514 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2516 * benchtests/bench-skeleton.c: Include stdbool.h.
2517 (main): Store and print timings per input.
2518 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2519 member to each argument value.
2520 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2521 (_print_arg_data): Initialize per-input timing to 0.
2523 * benchtests/Makefile (timing-type): New binary.
2524 (bench-clean): Also remove bench-timing-type.
2525 (bench): New target for timing-type.
2526 (bench-func): Print output in JSON format.
2527 * benchtests/bench-skeleton.c (main): Print output in JSON
2529 * benchtests/bench-timing-type.c: New file.
2530 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2531 (TIMING_PRINT_STATS): Remove.
2532 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2535 * benchtests/bench-modf.c: Remove.
2536 * benchtests/modf-inputs: New inputs file.
2538 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2541 * math/s_clog10.c (M_PI_LOG10E): New macro.
2542 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2543 imaginary parts are 0.
2544 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2545 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2546 imaginary parts are 0.
2547 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2548 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2549 imaginary parts are 0.
2550 * math/libm-test.inc (clog10_test_data): Update expected results
2551 for when real and imaginary parts are 0.
2553 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2555 * elf/dl-load.c: Finish conversion of __builtin_expect into
2558 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2561 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2562 1+x for argument with exponent below -67.
2563 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2565 * math/auto-libm-test-in: Add more tests of exp.
2566 * math/auto-libm-test-out: Regenerated.
2568 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2571 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2572 (nscd_getnetgrent): Use it.
2575 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2578 2014-03-27 Andi Kleen <ak@linux.intel.com>
2580 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2581 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2582 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2583 (lll_robust_unlock): Remove out of line section. Use cfi
2585 (LLL_STUB_UNWIND_INFO*): Remove.
2586 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2587 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2588 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2589 (lll_robust_unlock): Remove out of line section. Use cfi
2591 (LLL_STUB_UNWIND_INFO*): Remove.
2593 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2596 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2599 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2601 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2603 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2606 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2608 * math/test-fenv-preserve.c: New file.
2609 * math/Makefile (tests): Add test-fenv-preserve.
2611 2014-03-26 Will Newton <will.newton@linaro.org>
2613 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2615 2014-03-25 Roland McGrath <roland@hack.frob.com>
2617 * scripts/versionlist.awk: Partition the version sets and emit all
2618 GLIBC_* (sorted) before all others (sorted).
2620 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2622 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2623 GLIBC_2.2.5 version.
2625 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2627 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2630 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2635 2014-03-25 Andreas Schwab <schwab@suse.de>
2637 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2638 label to be used after in6ailist is initialized.
2640 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2642 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2643 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2645 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2649 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2651 (fp_formats): Update initializers.
2652 (init_fp_formats): Initialize new field.
2653 (output_for_one_input_case): Allow underflow for results up to
2655 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2656 * math/auto-libm-test-in: Don't mark some underflows from asin and
2658 * math/auto-libm-test-out: Regenerated.
2659 * sysdeps/i386/fpu/libm-test-ulps: Update.
2660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2662 2014-03-25 Andreas Schwab <schwab@suse.de>
2664 * libio/Makefile (tst-ftell-partial-wide-ENV)
2665 (tst-ftell-active-handler-ENV): Define.
2667 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2669 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2671 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2673 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2675 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2677 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2678 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2679 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2681 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2684 * elf/dl-load.c (open_verify): Add mode parameter.
2685 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2686 (open_path): Change from boolean 'secure' to complete flag 'mode'
2687 (_dl_map_object): Adjust.
2688 * elf/Makefile (tests): Add tst-dlopen-aout.
2689 * elf/tst-dlopen-aout.c: New test.
2691 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2694 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2695 (struct stat): Rename member pad0 to __glibc_reserved0.
2698 * sysdeps/s390/s390-32/bits/wordsize.h
2699 (__WORDSIZE32_SIZE_ULONG): New define.
2700 * sysdeps/s390/s390-64/bits/wordsize.h
2701 (__WORDSIZE32_SIZE_ULONG): Likewise.
2702 * sysdeps/generic/stdint.h (SIZE_MAX):
2703 Define as UL if __WORDSIZE32_SIZE_ULONG.
2706 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2707 (__glibc_reserved0): New variable.
2708 (sa_flags): Change type to int.
2710 * posix/Makefile (before-compile): Use += before-compile instead
2713 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2714 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2716 2014-03-20 Andreas Schwab <schwab@suse.de>
2719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2720 non-matching result from nscd.
2722 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2724 * scripts/bench.py: Moved to ...
2725 * benchtests/scripts/bench.py: ... here.
2726 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2728 2014-03-24 Andreas Schwab <schwab@suse.de>
2731 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2732 alloca_account and account alloca use for struct in6ailist.
2734 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2737 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2738 rounding mode to recompute results that overflow to infinity or
2740 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2742 * math/auto-libm-test-out: Regenerated.
2743 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2744 (ccosh_test): Likewise.
2745 (csin_test_data): Use plus_oflow.
2746 (csin_test): Use ALL_RM_TEST.
2747 (csinh_test_data): Use plus_oflow.
2748 (csinh_test): Use ALL_RM_TEST.
2749 * sysdeps/i386/fpu/libm-test-ulps: Update.
2750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2752 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2754 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2755 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2756 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2759 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2761 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2762 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2763 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2766 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2767 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2769 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2770 * sysdeps/i386/fpu/libm-test-ulps: Update.
2771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2773 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2775 * scripts/bench.pl: Remove file.
2776 * scripts/bench.py: New benchmark script.
2777 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2778 * benchtests/README: Mention python dependency.
2779 * scripts/pylintrc: New file.
2780 * scripts/pylint: New file.
2782 * bits/mathdef.h: Use #ifdef instead of #if.
2783 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2784 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2785 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2786 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2787 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2788 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2790 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2791 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2793 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2795 and strpbrk-ppc64 objects.
2796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2797 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2798 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2799 multiarch strpbrk for POWER7.
2800 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2801 multiarch strpbrk for PPC64.
2802 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2804 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2807 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2809 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2810 (atan_test): Likewise.
2811 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2812 (atanh_test): Use ALL_RM_TEST.
2813 (atan2_test_data): Likewise.
2814 (cabs_test): Likewise.
2815 (cacosh_test): Likewise.
2816 (carg_test): Likewise.
2817 (casin_test): Likewise.
2818 (casinh_test): Likewise.
2819 (cbrt_test): Likewise.
2820 (csqrt_test): Likewise.
2821 (erf_test): Likewise.
2822 (erfc_test): Likewise.
2823 (pow10_test): Likewise.
2824 (exp2_test): Likewise.
2825 (hypot_test): Likewise.
2826 (j0_test): Likewise.
2827 (j1_test): Likewise.
2828 (lgamma_test): Likewise.
2829 (gamma_test): Likewise.
2830 (sincos_test): Likewise.
2831 (tanh_test): Likewise.
2832 (y0_test): Likewise.
2833 (y1_test): Likewise.
2834 * sysdeps/i386/fpu/libm-test-ulps: Update.
2835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2837 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2839 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2841 and strcspn-ppc64 objects.
2842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2843 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2844 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2845 multiarch strcspn for POWER7.
2846 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2847 multiarch strcspn for PPC64.
2848 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2850 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2853 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2855 * math/gen-libm-test.pl (generate_testfile): Expect only function
2856 name as argument to AUTO_TESTS_* and pass results for all rounding
2857 modes to parse_args.
2858 (parse_auto_input): Separate inputs of automatic tests from
2859 outputs before storing in %auto_tests.
2860 * math/libm-test.inc (acos_test_data): Update call to
2862 (acos_test): Use ALL_RM_TEST.
2863 (acos_tonearest_test_data): Remove.
2864 (acos_test_tonearest): Likewise.
2865 (acos_towardzero_test_data): Likewise.
2866 (acos_test_towardzero): Likewise.
2867 (acos_downward_test_data): Likewise.
2868 (acos_test_downward): Likewise.
2869 (acos_upward_test_data): Likewise.
2870 (acos_test_upward): Likewise.
2871 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2872 (asin_test_data): Likewise.
2873 (asin_test): Use ALL_RM_TEST.
2874 (asin_tonearest_test_data): Remove.
2875 (asin_test_tonearest): Likewise.
2876 (asin_towardzero_test_data): Likewise.
2877 (asin_test_towardzero): Likewise.
2878 (asin_downward_test_data): Likewise.
2879 (asin_test_downward): Likewise.
2880 (asin_upward_test_data): Likewise.
2881 (asin_test_upward): Likewise.
2882 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2883 (atan_test_data): Likewise.
2884 (atanh_test_data): Likewise.
2885 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2886 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2887 (carg_test_data): Likewise.
2888 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2889 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2890 (ccosh_test_data): Likewise.
2891 (cexp_test_data): Likewise.
2892 (clog_test_data): Likewise.
2893 (clog10_test_data): Likewise.
2894 (cos_test_data): Update call to AUTO_TESTS_f_f.
2895 (cos_test): Use ALL_RM_TEST.
2896 (cos_tonearest_test_data): Remove.
2897 (cos_test_tonearest): Likewise.
2898 (cos_towardzero_test_data): Likewise.
2899 (cos_test_towardzero): Likewise.
2900 (cos_downward_test_data): Likewise.
2901 (cos_test_downward): Likewise.
2902 (cos_upward_test_data): Likewise.
2903 (cos_test_upward): Likewise.
2904 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2905 (cosh_test): Use ALL_RM_TEST.
2906 (cosh_tonearest_test_data): Remove.
2907 (cosh_test_tonearest): Likewise.
2908 (cosh_towardzero_test_data): Likewise.
2909 (cosh_test_towardzero): Likewise.
2910 (cosh_downward_test_data): Likewise.
2911 (cosh_test_downward): Likewise.
2912 (cosh_upward_test_data): Likewise.
2913 (cosh_test_upward): Likewise.
2914 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2915 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2916 (ctan_test_data): Likewise.
2917 (ctan_test): Use ALL_RM_TEST.
2918 (ctan_tonearest_test_data): Remove.
2919 (ctan_test_tonearest): Likewise.
2920 (ctan_towardzero_test_data): Likewise.
2921 (ctan_test_towardzero): Likewise.
2922 (ctan_downward_test_data): Likewise.
2923 (ctan_test_downward): Likewise.
2924 (ctan_upward_test_data): Likewise.
2925 (ctan_test_upward): Likewise.
2926 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2927 (ctanh_test): Use ALL_RM_TEST.
2928 (ctanh_tonearest_test_data): Remove.
2929 (ctanh_test_tonearest): Likewise.
2930 (ctanh_towardzero_test_data): Likewise.
2931 (ctanh_test_towardzero): Likewise.
2932 (ctanh_downward_test_data): Likewise.
2933 (ctanh_test_downward): Likewise.
2934 (ctanh_upward_test_data): Likewise.
2935 (ctanh_test_upward): Likewise.
2936 (erf_test_data): Update call to AUTO_TESTS_f_f.
2937 (erfc_test_data): Likewise.
2938 (exp_test_data): Likewise.
2939 (exp_test): Use ALL_RM_TEST.
2940 (exp_tonearest_test_data): Remove.
2941 (exp_test_tonearest): Likewise.
2942 (exp_towardzero_test_data): Likewise.
2943 (exp_test_towardzero): Likewise.
2944 (exp_downward_test_data): Likewise.
2945 (exp_test_downward): Likewise.
2946 (exp_upward_test_data): Likewise.
2947 (exp_test_upward): Likewise.
2948 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2949 (exp10_test): Use ALL_RM_TEST.
2950 (exp10_tonearest_test_data): Remove.
2951 (exp10_test_tonearest): Likewise.
2952 (exp10_towardzero_test_data): Likewise.
2953 (exp10_test_towardzero): Likewise.
2954 (exp10_downward_test_data): Likewise.
2955 (exp10_test_downward): Likewise.
2956 (exp10_upward_test_data): Likewise.
2957 (exp10_test_upward): Likewise.
2958 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2959 (expm1_test_data): Likewise.
2960 (expm1_test): Use ALL_RM_TEST.
2961 (expm1_tonearest_test_data): Remove.
2962 (expm1_test_tonearest): Likewise.
2963 (expm1_towardzero_test_data): Likewise.
2964 (expm1_test_towardzero): Likewise.
2965 (expm1_downward_test_data): Likewise.
2966 (expm1_test_downward): Likewise.
2967 (expm1_upward_test_data): Likewise.
2968 (expm1_test_upward): Likewise.
2969 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2970 (fma_test): Use ALL_RM_TEST.
2971 (fma_towardzero_test_data): Remove.
2972 (fma_test_towardzero): Likewise.
2973 (fma_downward_test_data): Likewise.
2974 (fma_test_downward): Likewise.
2975 (fma_upward_test_data): Likewise.
2976 (fma_test_upward): Likewise.
2977 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2978 (j0_test_data): Update call to AUTO_TESTS_f_f.
2979 (j1_test_data): Likewise.
2980 (jn_test_data): Update call to AUTO_TESTS_if_f.
2981 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2982 (log_test_data): Update call to AUTO_TESTS_f_f.
2983 (log10_test_data): Likewise.
2984 (log1p_test_data): Likewise.
2985 (log2_test_data): Likewise.
2986 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2987 (pow_tonearest_test_data): Likewise.
2988 (sin_test_data): Update call to AUTO_TESTS_f_f.
2989 (sin_test): Use ALL_RM_TEST.
2990 (sin_tonearest_test_data): Remove.
2991 (sin_test_tonearest): Likewise.
2992 (sin_towardzero_test_data): Likewise.
2993 (sin_test_towardzero): Likewise.
2994 (sin_downward_test_data): Likewise.
2995 (sin_test_downward): Likewise.
2996 (sin_upward_test_data): Likewise.
2997 (sin_test_upward): Likewise.
2998 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2999 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3000 (sinh_test): Use ALL_RM_TEST.
3001 (sinh_tonearest_test_data): Remove.
3002 (sinh_test_tonearest): Likewise.
3003 (sinh_towardzero_test_data): Likewise.
3004 (sinh_test_towardzero): Likewise.
3005 (sinh_downward_test_data): Likewise.
3006 (sinh_test_downward): Likewise.
3007 (sinh_upward_test_data): Likewise.
3008 (sinh_test_upward): Likewise.
3009 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3010 (sqrt_test): Use ALL_RM_TEST.
3011 (sqrt_tonearest_test_data): Remove.
3012 (sqrt_test_tonearest): Likewise.
3013 (sqrt_towardzero_test_data): Likewise.
3014 (sqrt_test_towardzero): Likewise.
3015 (sqrt_downward_test_data): Likewise.
3016 (sqrt_test_downward): Likewise.
3017 (sqrt_upward_test_data): Likewise.
3018 (sqrt_test_upward): Likewise.
3019 (tan_test_data): Update call to AUTO_TESTS_f_f.
3020 (tan_test): Use ALL_RM_TEST.
3021 (tan_tonearest_test_data): Remove.
3022 (tan_test_tonearest): Likewise.
3023 (tan_towardzero_test_data): Likewise.
3024 (tan_test_towardzero): Likewise.
3025 (tan_downward_test_data): Likewise.
3026 (tan_test_downward): Likewise.
3027 (tan_upward_test_data): Likewise.
3028 (tan_test_upward): Likewise.
3029 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3030 (tgamma_test_data): Likewise.
3031 (y0_test_data): Likewise.
3032 (y1_test_data): Likewise.
3033 (yn_test_data): Update call to AUTO_TESTS_if_f.
3034 (main): Do not call removed functions.
3036 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3038 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3039 (ldexp_test_data): Remove.
3040 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3042 (scalb_test): Use ALL_RM_TEST.
3044 2014-03-19 Andreas Schwab <schwab@suse.de>
3046 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3048 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3051 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3052 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3053 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3054 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3055 (__ASSUME_PREADV): Undefine.
3056 (__ASSUME_PWRITEV): Likewise.
3058 2014-03-18 Roland McGrath <roland@hack.frob.com>
3060 * bits/mman-linux.h: Add comment about non-Linux use.
3061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3062 bits/mman-linux.h resting place.
3064 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3065 * bits/mman-linux.h: ... here.
3067 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3069 * conform/conformtest.pl: Add standard definition when calling C
3070 preprocessor on data files.
3071 (checknamespace): Remove unused variable.
3073 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3075 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3076 minus_oflow, plus_uflow and minus_uflow in expected results.
3077 * math/libm-test.inc (scalbn_test_data): Add more tests of
3078 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3080 (scalbn_test): Use ALL_RM_TEST.
3081 (scalbln_test_data): Add more tests of negative arguments. Use
3082 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3083 (scalbln_test): Use ALL_RM_TEST.
3085 2014-03-18 Roland McGrath <roland@hack.frob.com>
3087 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3089 2014-03-18 Will Newton <will.newton@linaro.org>
3091 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3094 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3096 * Makerules [!subdir] (check-abi): Exit with error status if a
3099 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3101 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3102 for rint. Include results for all rounding modes.
3103 (nearbyint_test): Use ALL_RM_TEST.
3104 (rint_test_data): Include all tests used for nearbyint.
3106 2014-03-17 Will Newton <will.newton@linaro.org>
3108 * nptl/sysdeps/pthread/pthread.h: Revert previous
3111 * sysdeps/generic/ldsodefs.h: Revert previous
3114 * libio/genops.c: Revert previous change.
3115 * libio/libioP.h: Likewise.
3116 * stdio-common/vfprintf.c: Likewise.
3118 * sysdeps/generic/math_private.h: Revert previous
3121 * sysdeps/generic/math_private.h: Check whether
3122 HAVE_RM_CTX is defined with #ifdef rather
3125 * argp/argp-fmtstream.h: Check whether
3126 __STRICT_ANSI__ is defined with #ifdef rather
3128 * argp/argp.h: Likewise.
3130 * libio/genops.c: Check whether
3131 _IO_JUMPS_OFFSET is defined with #ifdef rather
3133 * libio/libioP.h: Likewise.
3134 * stdio-common/vfprintf.c: Likewise.
3136 * sysdeps/generic/ldsodefs.h: Check whether
3137 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3140 * nptl/sysdeps/pthread/pthread.h: Check
3141 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3144 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3146 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3148 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3152 * libio/fileops.c (_IO_file_open): Seek to end of file but
3153 don't cache the offset.
3154 (get_file_offset): Remove function.
3155 (do_ftell): Use cached offset when available.
3156 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3157 don't cache the offset.
3158 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3160 (do_one_test): Call it.
3161 (do_ftell_test): Fix up expected old offset for a+ mode.
3162 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3165 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3166 up test status with function return status.
3167 (do_write_test): Likewise.
3168 (do_append_test): Likewise.
3170 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3171 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3174 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3176 * math/gen-libm-test.pl (parse_args): Handle results specified for
3177 each rounding mode separately.
3178 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3179 tests and results from lrint_tonearest_test_data,
3180 lrint_towardzero_test_data, lrint_downward_test_data and
3181 lrint_upward_test_data.
3182 (lrint_test): Use ALL_RM_TEST.
3183 (lrint_tonearest_test_data): Remove.
3184 (lrint_test_tonearest): Likewise.
3185 (lrint_towardzero_test_data): Likewise.
3186 (lrint_test_towardzero): Likewise.
3187 (lrint_downward_test_data): Likewise.
3188 (lrint_test_downward): Likewise.
3189 (lrint_upward_test_data): Likewise.
3190 (lrint_test_upward): Likewise.
3191 (llrint_test_data): Merge in per-rounding-mode tests and results
3192 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3193 llrint_downward_test_data and llrint_upward_test_data.
3194 (llrint_test): Use ALL_RM_TEST.
3195 (llrint_tonearest_test_data): Remove.
3196 (llrint_test_tonearest): Likewise.
3197 (llrint_towardzero_test_data): Likewise.
3198 (llrint_test_towardzero): Likewise.
3199 (llrint_downward_test_data): Likewise.
3200 (llrint_test_downward): Likewise.
3201 (llrint_upward_test_data): Likewise.
3202 (llrint_test_upward): Likewise.
3203 (rint_test_data): Merge in per-rounding-mode tests and results
3204 from rint_tonearest_test_data, rint_towardzero_test_data,
3205 rint_downward_test_data and rint_upward_test_data. Add
3206 per-rounding-mode results for tests not in those arrays.
3207 (rint_test): Use ALL_RM_TEST.
3208 (rint_tonearest_test_data): Remove.
3209 (rint_test_tonearest): Likewise.
3210 (rint_towardzero_test_data): Likewise.
3211 (rint_test_towardzero): Likewise.
3212 (rint_downward_test_data): Likewise.
3213 (rint_test_downward): Likewise.
3214 (rint_upward_test_data): Likewise.
3215 (rint_test_upward): Likewise.
3216 (main): Don't call removed functions.
3218 2014-03-14 Roland McGrath <roland@hack.frob.com>
3220 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3221 "Compiled on ..." crapola. It is anti-useful.
3223 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3225 * scripts/evaluate-test.sh: Handle fourth argument to determine
3226 whether test run should stop on failure.
3227 * Makeconfig (stop-on-test-failure): New variable.
3228 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3229 $(stop-on-test-failure).
3230 * Makefile (tests): Give a summary of results from testing and
3231 exit with failure status if they include an ERROR or FAIL.
3233 * manual/install.texi (Configuring and compiling): Mention
3234 stop-on-test-failure=y.
3235 * INSTALL: Regenerated.
3237 2014-03-14 Roland McGrath <roland@hack.frob.com>
3239 * scripts/versionlist.awk: New file.
3240 * Makerules [$(build-shared) = yes]
3241 (postclean-generated): Add Versions.def, not Versions.def.v and
3243 ($(common-objpfx)Versions.def.v.i): Target removed.
3244 ($(common-objpfx)Versions.def): New target.
3245 ($(common-objpfx)Versions.all): Depend on that rather that
3246 $(common-objpfx)Versions.def.v.
3247 * Versions.def: File removed.
3249 * Makeconfig (+gccwarn): Add -Wundef.
3250 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3251 a dl-sysdep.h breaking its contract.
3252 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3253 * include/stackinfo.h: New file.
3254 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3255 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3256 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3257 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3258 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3259 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3260 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3261 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3262 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3263 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3264 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3265 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3266 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3267 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3268 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3270 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3273 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3275 * math/libm-test.inc (round_test_data): Add more tests.
3278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3280 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3283 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3285 * math/libm-test.inc (ceil_test_data): Add more tests.
3287 * math/libm-test.inc (trunc_test_data): Add more tests related to
3290 2014-03-14 Roland McGrath <roland@hack.frob.com>
3292 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3293 with #if rather than #ifdef.
3294 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3296 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3298 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3299 first. Disable AVX-512 GCC support if assembler doesn't support
3301 * sysdeps/x86_64/configure: Regenerated.
3303 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3305 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3306 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3307 (__old_pthread_attr_setstack): Likewise.
3308 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3309 [!_STACK_GROWS_DOWN]: Likewise.
3311 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3313 * config.make.in (have-bash2): Delete.
3314 * configure.ac (libc_cv_have_bash2): Delete.
3315 * configure: Regenerate.
3316 * elf/Makefile (common-ldd-rewrite): Rename to ...
3317 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3318 (sh-ldd-rewrite): Delete.
3319 (bash-ldd-rewrite): Delete.
3320 (have-bash2): Delete checks.
3321 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3324 * config.make.in (have-ksh): Delete.
3326 * configure.ac (libc_cv_have_ksh): Delete.
3327 * configure: Regenerate.
3329 * elf/Makefile: Delete $(have-ksh) check.
3330 ($(objpfx)sotruss): Change KSH to BASH.
3331 * elf/sotruss.ksh: Rename to ...
3332 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3333 function style to match POSIX. Drop ksh vim mode setting.
3335 * manual/time.texi (Specifying the Time Zone with TZ): Change
3336 Tuesday to Thursday.
3338 * debug/tst-longjmp_chk2.c: Update header comment.
3339 (stackoverflow_handler): Add comment. Call assert on pass value.
3341 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3343 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3344 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3345 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3346 (La_x86_64_vector): Add zmm.
3347 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3348 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3349 ($(objpfx)tst-audit10): New target.
3350 ($(objpfx)tst-audit10.out): Likewise.
3351 (tst-audit10-ENV): New.
3352 (AVX512-CFLAGS): Likewise.
3353 (CFLAGS-tst-audit10.c): Likewise.
3354 (CFLAGS-tst-auditmod10a.c): Likewise.
3355 (CFLAGS-tst-auditmod10b.c): Likewise.
3356 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3357 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3358 * sysdeps/x86_64/configure: Regenerated.
3359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3360 AVX-512 zmm register support.
3361 (_dl_x86_64_save_sse): Likewise.
3362 (_dl_x86_64_restore_sse): Likewise.
3363 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3364 size vector registers.
3365 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3366 (ZMM_SIZE): Likewise.
3367 * sysdeps/x86_64/tst-audit10.c: New file.
3368 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3369 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3371 2014-03-13 Roland McGrath <roland@hack.frob.com>
3373 * configure.ac (HAVE_EHDR_START): New check.
3374 * configure: Regenerated.
3375 * config.h.in (HAVE_EHDR_START): New #undef.
3376 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3377 assuming the lowest-addressed segment maps the start of the file.
3379 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3381 * INSTALL: Regenerated.
3383 2014-03-13 Will Newton <will.newton@linaro.org>
3385 * manual/setjmp.texi (System V contexts): Improve
3386 clarity and grammar of documentation.
3388 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3391 * elf/Makefile (tests): Add tst-pie2.
3392 (tests-pie): Add tst-pie2.
3393 * elf/tst-pie2.c: New file.
3394 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3396 * elf/rtld.c (map_doit): Load executable as lt_executable.
3397 (dl_main): Likewise.
3399 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3402 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3403 (__ASSUME_PSELECT): Undefine.
3405 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3408 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3409 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3411 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3412 selector for static builds.
3414 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3417 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3420 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3422 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3423 IFUNC selector for static builds.
3425 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3427 * sysdeps/mips/math_private.h [__mips_hard_float]
3428 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3429 libc_feresetround_mips_ctx.
3430 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3431 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3432 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3435 * math/s_nextafter.c (__nextafter): Do not return value from
3436 overflowing computation.
3437 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3438 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3439 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3441 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3443 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3444 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3446 2014-03-11 Roland McGrath <roland@hack.frob.com>
3448 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3449 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3450 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3451 the new mov targetting sp.
3453 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3456 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3457 Define it for static builds as well.
3458 (NO_BZERO_IMPL): Likewise.
3460 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3462 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3463 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3464 multiarch strspn for PPC64.
3465 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3466 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3468 (__libc_ifunc_impl_list): Likewise.
3469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3470 multiarch optimizations
3471 * string/strspn.c (strspn): Using macro to redefine symbol name.
3473 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3474 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3476 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3477 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3478 multiarch strncat for PPC64.
3479 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3480 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3482 (__libc_ifunc_impl_list): Likewise.
3483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3484 multiarch optimizations
3486 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3489 * nscd/nscd.service: Make service type forking.
3491 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3493 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3494 sign in non default rounding modes.
3495 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3497 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3499 * math/libm-test.inc (ALL_RM_TEST): New macro.
3500 (ceil_test): Use ALL_RM_TEST.
3501 (cimag_test): Likewise.
3502 (conj_test): Likewise.
3503 (copysign_test): Likewise.
3504 (cproj_test): Likewise.
3505 (creal_test): Likewise.
3506 (fabs_test): Likewise.
3507 (floor_test): Likewise.
3508 (fmax_test): Likewise.
3509 (fmin_test): Likewise.
3510 (fmod_test): Likewise.
3511 (fpclassify_test): Likewise.
3512 (frexp_test): Likewise.
3513 (ilogb_test): Likewise.
3514 (isfinite_test): Likewise.
3515 (finite_test): Likewise.
3516 (isgreater_test): Likewise.
3517 (isgreaterequal_test): Likewise.
3518 (isinf_test): Likewise.
3519 (isless_test): Likewise.
3520 (islessequal_test): Likewise.
3521 (islessgreater_test): Likewise.
3522 (isnan_test): Likewise.
3523 (isnormal_test): Likewise.
3524 (issignaling_test): Likewise.
3525 (isunordered_test): Likewise.
3526 (logb_test): Likewise.
3527 (logb_downward_test_data): Remove.
3528 (logb_test_downward): Likewise.
3529 (lround_test): Use ALL_RM_TEST.
3530 (llround_test): Likewise.
3531 (modf_test): Likewise.
3532 (nexttoward_test): Likewise.
3533 (remainder_test): Likewise.
3534 (drem_test): Likewise.
3535 (remainder_tonearest_test_data): Likewise.
3536 (remainder_test_tonearest): Likewise.
3537 (drem_test_tonearest): Likewise.
3538 (remainder_towardzero_test_data): Likewise.
3539 (remainder_test_towardzero): Likewise.
3540 (drem_test_towardzero): Likewise.
3541 (remainder_downward_test_data): Likewise.
3542 (remainder_test_downward): Likewise.
3543 (drem_test_downward): Likewise.
3544 (remainder_upward_test_data): Likewise.
3545 (remainder_test_upward): Likewise.
3546 (drem_test_upward): Likewise.
3547 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3548 (round_test): Use ALL_RM_TEST.
3549 (signbit_test): Likewise.
3550 (trunc_test): Likewise.
3551 (significand_test): Likewise.
3552 (main): Don't call removed functions.
3554 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3557 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3559 (ILL_ILLOPN): Likewise.
3560 (ILL_ILLADR): Likewise.
3561 (ILL_ILLTRP): Likewise.
3562 (ILL_PRVOPC): Likewise.
3563 (ILL_PRVREG): Likewise.
3564 (ILL_COPROC): Likewise.
3565 (ILL_BADSTK): Likewise.
3566 (FPE_INTDIV): Likewise.
3567 (FPE_INTOVF): Likewise.
3568 (FPE_FLTDIV): Likewise.
3569 (FPE_FLTOVF): Likewise.
3570 (FPE_FLTUND): Likewise.
3571 (FPE_FLTRES): Likewise.
3572 (FPE_FLTINV): Likewise.
3573 (FPE_FLTSUB): Likewise.
3574 (SEGV_MAPERR): Likewise.
3575 (SEGV_ACCERR): Likewise.
3576 (BUS_ADRALN): Likewise.
3577 (BUS_ADRERR): Likewise.
3578 (BUS_OBJERR): Likewise.
3579 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3580 (TRAP_TRACE): Likewise.
3581 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3583 (CLD_KILLED): Likewise.
3584 (CLD_DUMPED): Likewise.
3585 (CLD_TRAPPED): Likewise.
3586 (CLD_STOPPED): Likewise.
3587 (CLD_CONTINUED): Likewise.
3588 (POLL_IN): Likewise.
3589 (POLL_OUT): Likewise.
3590 (POLL_MSG): Likewise.
3591 (POLL_ERR): Likewise.
3592 (POLL_PRI): Likewise.
3593 (POLL_HUP): Likewise.
3594 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3596 (ILL_ILLOPN): Likewise.
3597 (ILL_ILLADR): Likewise.
3598 (ILL_ILLTRP): Likewise.
3599 (ILL_PRVOPC): Likewise.
3600 (ILL_PRVREG): Likewise.
3601 (ILL_COPROC): Likewise.
3602 (ILL_BADSTK): Likewise.
3603 (FPE_INTDIV): Likewise.
3604 (FPE_INTOVF): Likewise.
3605 (FPE_FLTDIV): Likewise.
3606 (FPE_FLTOVF): Likewise.
3607 (FPE_FLTUND): Likewise.
3608 (FPE_FLTRES): Likewise.
3609 (FPE_FLTINV): Likewise.
3610 (FPE_FLTSUB): Likewise.
3611 (SEGV_MAPERR): Likewise.
3612 (SEGV_ACCERR): Likewise.
3613 (BUS_ADRALN): Likewise.
3614 (BUS_ADRERR): Likewise.
3615 (BUS_OBJERR): Likewise.
3616 (BUS_MCEERR_AR): Likewise.
3617 (BUS_MCEERR_AO): Likewise.
3618 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3619 (TRAP_TRACE): Likewise.
3620 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3622 (CLD_KILLED): Likewise.
3623 (CLD_DUMPED): Likewise.
3624 (CLD_TRAPPED): Likewise.
3625 (CLD_STOPPED): Likewise.
3626 (CLD_CONTINUED): Likewise.
3627 (POLL_IN): Likewise.
3628 (POLL_OUT): Likewise.
3629 (POLL_MSG): Likewise.
3630 (POLL_ERR): Likewise.
3631 (POLL_PRI): Likewise.
3632 (POLL_HUP): Likewise.
3633 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3634 (ILL_ILLOPN): Likewise.
3635 (ILL_ILLADR): Likewise.
3636 (ILL_ILLTRP): Likewise.
3637 (ILL_PRVOPC): Likewise.
3638 (ILL_PRVREG): Likewise.
3639 (ILL_COPROC): Likewise.
3640 (ILL_BADSTK): Likewise.
3641 (FPE_INTDIV): Likewise.
3642 (FPE_INTOVF): Likewise.
3643 (FPE_FLTDIV): Likewise.
3644 (FPE_FLTOVF): Likewise.
3645 (FPE_FLTUND): Likewise.
3646 (FPE_FLTRES): Likewise.
3647 (FPE_FLTINV): Likewise.
3648 (FPE_FLTSUB): Likewise.
3649 (SEGV_MAPERR): Likewise.
3650 (SEGV_ACCERR): Likewise.
3651 (BUS_ADRALN): Likewise.
3652 (BUS_ADRERR): Likewise.
3653 (BUS_OBJERR): Likewise.
3654 (BUS_MCEERR_AR): Likewise.
3655 (BUS_MCEERR_AO): Likewise.
3656 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3657 (TRAP_TRACE): Likewise.
3658 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3660 (CLD_KILLED): Likewise.
3661 (CLD_DUMPED): Likewise.
3662 (CLD_TRAPPED): Likewise.
3663 (CLD_STOPPED): Likewise.
3664 (CLD_CONTINUED): Likewise.
3665 (POLL_IN): Likewise.
3666 (POLL_OUT): Likewise.
3667 (POLL_MSG): Likewise.
3668 (POLL_ERR): Likewise.
3669 (POLL_PRI): Likewise.
3670 (POLL_HUP): Likewise.
3671 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3673 (ILL_ILLOPN): Likewise.
3674 (ILL_ILLADR): Likewise.
3675 (ILL_ILLTRP): Likewise.
3676 (ILL_PRVOPC): Likewise.
3677 (ILL_PRVREG): Likewise.
3678 (ILL_COPROC): Likewise.
3679 (ILL_BADSTK): Likewise.
3680 (ILL_BADIADDR): Likewise.
3681 (ILL_BREAK): Likewise.
3682 (FPE_INTDIV): Likewise.
3683 (FPE_INTOVF): Likewise.
3684 (FPE_FLTDIV): Likewise.
3685 (FPE_FLTOVF): Likewise.
3686 (FPE_FLTUND): Likewise.
3687 (FPE_FLTRES): Likewise.
3688 (FPE_FLTINV): Likewise.
3689 (FPE_FLTSUB): Likewise.
3690 (FPE_DECOVF): Likewise.
3691 (FPE_DECDIV): Likewise.
3692 (FPE_DECERR): Likewise.
3693 (FPE_INVASC): Likewise.
3694 (FPE_INVDEC): Likewise.
3695 (SEGV_MAPERR): Likewise.
3696 (SEGV_ACCERR): Likewise.
3697 (SEGV_PSTKOVF): Likewise.
3698 (BUS_ADRALN): Likewise.
3699 (BUS_ADRERR): Likewise.
3700 (BUS_OBJERR): Likewise.
3701 (BUS_MCEERR_AR): Likewise.
3702 (BUS_MCEERR_AO): Likewise.
3703 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3704 (TRAP_TRACE): Likewise.
3705 (TRAP_BRANCH): Likewise.
3706 (TRAP_HWBKPT): Likewise.
3707 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3709 (CLD_KILLED): Likewise.
3710 (CLD_DUMPED): Likewise.
3711 (CLD_TRAPPED): Likewise.
3712 (CLD_STOPPED): Likewise.
3713 (CLD_CONTINUED): Likewise.
3714 (POLL_IN): Likewise.
3715 (POLL_OUT): Likewise.
3716 (POLL_MSG): Likewise.
3717 (POLL_ERR): Likewise.
3718 (POLL_PRI): Likewise.
3719 (POLL_HUP): Likewise.
3720 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3721 (ILL_ILLOPN): Likewise.
3722 (ILL_ILLADR): Likewise.
3723 (ILL_ILLTRP): Likewise.
3724 (ILL_PRVOPC): Likewise.
3725 (ILL_PRVREG): Likewise.
3726 (ILL_COPROC): Likewise.
3727 (ILL_BADSTK): Likewise.
3728 (FPE_INTDIV): Likewise.
3729 (FPE_INTOVF): Likewise.
3730 (FPE_FLTDIV): Likewise.
3731 (FPE_FLTOVF): Likewise.
3732 (FPE_FLTUND): Likewise.
3733 (FPE_FLTRES): Likewise.
3734 (FPE_FLTINV): Likewise.
3735 (FPE_FLTSUB): Likewise.
3736 (SEGV_MAPERR): Likewise.
3737 (SEGV_ACCERR): Likewise.
3738 (BUS_ADRALN): Likewise.
3739 (BUS_ADRERR): Likewise.
3740 (BUS_OBJERR): Likewise.
3741 (BUS_MCEERR_AR): Likewise.
3742 (BUS_MCEERR_AO): Likewise.
3743 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3744 (TRAP_TRACE): Likewise.
3745 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3747 (CLD_KILLED): Likewise.
3748 (CLD_DUMPED): Likewise.
3749 (CLD_TRAPPED): Likewise.
3750 (CLD_STOPPED): Likewise.
3751 (CLD_CONTINUED): Likewise.
3752 (POLL_IN): Likewise.
3753 (POLL_OUT): Likewise.
3754 (POLL_MSG): Likewise.
3755 (POLL_ERR): Likewise.
3756 (POLL_PRI): Likewise.
3757 (POLL_HUP): Likewise.
3758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3759 (ILL_ILLOPN): Likewise.
3760 (ILL_ILLADR): Likewise.
3761 (ILL_ILLTRP): Likewise.
3762 (ILL_PRVOPC): Likewise.
3763 (ILL_PRVREG): Likewise.
3764 (ILL_COPROC): Likewise.
3765 (ILL_BADSTK): Likewise.
3766 (FPE_INTDIV): Likewise.
3767 (FPE_INTOVF): Likewise.
3768 (FPE_FLTDIV): Likewise.
3769 (FPE_FLTOVF): Likewise.
3770 (FPE_FLTUND): Likewise.
3771 (FPE_FLTRES): Likewise.
3772 (FPE_FLTINV): Likewise.
3773 (FPE_FLTSUB): Likewise.
3774 (SEGV_MAPERR): Likewise.
3775 (SEGV_ACCERR): Likewise.
3776 (BUS_ADRALN): Likewise.
3777 (BUS_ADRERR): Likewise.
3778 (BUS_OBJERR): Likewise.
3779 (BUS_MCEERR_AR): Likewise.
3780 (BUS_MCEERR_AO): Likewise.
3781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3782 (TRAP_TRACE): Likewise.
3783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3785 (CLD_KILLED): Likewise.
3786 (CLD_DUMPED): Likewise.
3787 (CLD_TRAPPED): Likewise.
3788 (CLD_STOPPED): Likewise.
3789 (CLD_CONTINUED): Likewise.
3790 (POLL_IN): Likewise.
3791 (POLL_OUT): Likewise.
3792 (POLL_MSG): Likewise.
3793 (POLL_ERR): Likewise.
3794 (POLL_PRI): Likewise.
3795 (POLL_HUP): Likewise.
3796 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3797 (ILL_ILLOPN): Likewise.
3798 (ILL_ILLADR): Likewise.
3799 (ILL_ILLTRP): Likewise.
3800 (ILL_PRVOPC): Likewise.
3801 (ILL_PRVREG): Likewise.
3802 (ILL_COPROC): Likewise.
3803 (ILL_BADSTK): Likewise.
3804 (FPE_INTDIV): Likewise.
3805 (FPE_INTOVF): Likewise.
3806 (FPE_FLTDIV): Likewise.
3807 (FPE_FLTOVF): Likewise.
3808 (FPE_FLTUND): Likewise.
3809 (FPE_FLTRES): Likewise.
3810 (FPE_FLTINV): Likewise.
3811 (FPE_FLTSUB): Likewise.
3812 (SEGV_MAPERR): Likewise.
3813 (SEGV_ACCERR): Likewise.
3814 (BUS_ADRALN): Likewise.
3815 (BUS_ADRERR): Likewise.
3816 (BUS_OBJERR): Likewise.
3817 (BUS_MCEERR_AR): Likewise.
3818 (BUS_MCEERR_AO): Likewise.
3819 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3820 (TRAP_TRACE): Likewise.
3821 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3823 (CLD_KILLED): Likewise.
3824 (CLD_DUMPED): Likewise.
3825 (CLD_TRAPPED): Likewise.
3826 (CLD_STOPPED): Likewise.
3827 (CLD_CONTINUED): Likewise.
3828 (POLL_IN): Likewise.
3829 (POLL_OUT): Likewise.
3830 (POLL_MSG): Likewise.
3831 (POLL_ERR): Likewise.
3832 (POLL_PRI): Likewise.
3833 (POLL_HUP): Likewise.
3834 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3835 (ILL_ILLOPN): Likewise.
3836 (ILL_ILLADR): Likewise.
3837 (ILL_ILLTRP): Likewise.
3838 (ILL_PRVOPC): Likewise.
3839 (ILL_PRVREG): Likewise.
3840 (ILL_COPROC): Likewise.
3841 (ILL_BADSTK): Likewise.
3842 (ILL_DBLFLT): Likewise.
3843 (ILL_HARDWALL): Likewise.
3844 (FPE_INTDIV): Likewise.
3845 (FPE_INTOVF): Likewise.
3846 (FPE_FLTDIV): Likewise.
3847 (FPE_FLTOVF): Likewise.
3848 (FPE_FLTUND): Likewise.
3849 (FPE_FLTRES): Likewise.
3850 (FPE_FLTINV): Likewise.
3851 (FPE_FLTSUB): Likewise.
3852 (SEGV_MAPERR): Likewise.
3853 (SEGV_ACCERR): Likewise.
3854 (BUS_ADRALN): Likewise.
3855 (BUS_ADRERR): Likewise.
3856 (BUS_OBJERR): Likewise.
3857 (BUS_MCEERR_AR): Likewise.
3858 (BUS_MCEERR_AO): Likewise.
3859 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3860 (TRAP_TRACE): Likewise.
3861 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3863 (CLD_KILLED): Likewise.
3864 (CLD_DUMPED): Likewise.
3865 (CLD_TRAPPED): Likewise.
3866 (CLD_STOPPED): Likewise.
3867 (CLD_CONTINUED): Likewise.
3868 (POLL_IN): Likewise.
3869 (POLL_OUT): Likewise.
3870 (POLL_MSG): Likewise.
3871 (POLL_ERR): Likewise.
3872 (POLL_PRI): Likewise.
3873 (POLL_HUP): Likewise.
3874 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3875 (ILL_ILLOPN): Likewise.
3876 (ILL_ILLADR): Likewise.
3877 (ILL_ILLTRP): Likewise.
3878 (ILL_PRVOPC): Likewise.
3879 (ILL_PRVREG): Likewise.
3880 (ILL_COPROC): Likewise.
3881 (ILL_BADSTK): Likewise.
3882 (FPE_INTDIV): Likewise.
3883 (FPE_INTOVF): Likewise.
3884 (FPE_FLTDIV): Likewise.
3885 (FPE_FLTOVF): Likewise.
3886 (FPE_FLTUND): Likewise.
3887 (FPE_FLTRES): Likewise.
3888 (FPE_FLTINV): Likewise.
3889 (FPE_FLTSUB): Likewise.
3890 (SEGV_MAPERR): Likewise.
3891 (SEGV_ACCERR): Likewise.
3892 (BUS_ADRALN): Likewise.
3893 (BUS_ADRERR): Likewise.
3894 (BUS_OBJERR): Likewise.
3895 (BUS_MCEERR_AR): Likewise.
3896 (BUS_MCEERR_AO): Likewise.
3897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3898 (TRAP_TRACE): Likewise.
3899 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3901 (CLD_KILLED): Likewise.
3902 (CLD_DUMPED): Likewise.
3903 (CLD_TRAPPED): Likewise.
3904 (CLD_STOPPED): Likewise.
3905 (CLD_CONTINUED): Likewise.
3906 (POLL_IN): Likewise.
3907 (POLL_OUT): Likewise.
3908 (POLL_MSG): Likewise.
3909 (POLL_ERR): Likewise.
3910 (POLL_PRI): Likewise.
3911 (POLL_HUP): Likewise.
3912 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3913 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3916 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3917 before #include of <time.h>.
3918 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3919 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3920 (test-xfail-UNIX98/sched.h/conform): Likewise.
3922 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3924 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3925 error absence of trapping exception support.
3926 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3928 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3930 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3931 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3932 * timezone/Makefile (testdata): Move definition above include of
3934 (test-zones): New variable.
3935 (tests-special): Add zone files.
3936 (build-testdata): Use $(evaluate-test).
3938 * elf/Makefile (tests-special): Rename tests to end with .out.
3939 ($(objpfx)noload-mem): Likewise.
3940 ($(objpfx)tst-leaks1-mem): Likewise.
3941 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3942 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3943 $(objpfx)test-iconvconfig.out.
3944 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3945 set -e inside subshell and redirect output to file.
3946 * iconvdata/Makefile (generated): Rename tests to end with .out.
3948 (tests-special): Rename tests to end with .out.
3949 ($(objpfx)mtrace-tst-loading): Likewise.
3950 * intl/Makefile (generated): Likewise.
3951 (tests-special): Likewise.
3952 ($(objpfx)mtrace-tst-gettext): Likewise.
3953 * misc/Makefile (generated): Likewise.
3954 (tests-special): Likewise.
3955 ($(objpfx)tst-error1-mem): Likewise.
3956 * nptl/Makefile (tests-special): Likewise.
3957 ($(objpfx)tst-stack3-mem): Likewise.
3958 (generated): Likewise.
3959 * posix/Makefile (generated): Likewise.
3960 (tests-special): Likewise.
3961 (xtests-special): Likewise.
3962 ($(objpfx)tst-fnmatch-mem): Likewise.
3963 ($(objpfx)bug-regex2-mem): Likewise.
3964 ($(objpfx)bug-regex14-mem): Likewise.
3965 ($(objpfx)bug-regex21-mem): Likewise.
3966 ($(objpfx)bug-regex31-mem): Likewise.
3967 ($(objpfx)tst-vfork3-mem): Likewise.
3968 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3969 ($(objpfx)tst-pcre-mem): Likewise.
3970 ($(objpfx)tst-boost-mem): Likewise.
3971 ($(objpfx)bug-ga2-mem): Likewise.
3972 ($(objpfx)bug-glob2-mem): Likewise.
3973 * resolv/Makefile (generate): Likewise.
3974 (tests-special): Likewise.
3975 (xtests-special): Likewise.
3976 (generated): Likewise.
3977 ($(objpfx)mtrace-tst-leaks): Likewise.
3978 ($(objpfx)mtrace-tst-leaks2): Likewise.
3980 * scripts/merge-test-results.sh: New file.
3981 * Makefile (tests-special-notdir): New variable.
3982 (tests): Run merge-test-results.sh.
3984 * Rules (tests-special-notdir): New variable.
3985 (xtests-special-notdir): Likewise.
3986 (tests): Run merge-test-results.sh
3989 * Makeconfig (test-xfail-name): New variable.
3990 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3991 compute variable name for expected failures.
3992 * conform/Makefile (conformtest-headers-data): New variable.
3993 (conformtest-standards): Likewise.
3994 (conformtest-headers-ISO): Likewise.
3995 (conformtest-headers-ISO99): Likewise.
3996 (conformtest-headers-ISO11): Likewise.
3997 (conformtest-headers-POSIX): Likewise.
3998 (conformtest-headers-XPG3): Likewise.
3999 (conformtest-headers-XPG4): Likewise.
4000 (conformtest-headers-UNIX98): Likewise.
4001 (conformtest-headers-XOPEN2K): Likewise.
4002 (conformtest-headers-POSIX2008): Likewise.
4003 (conformtest-headers-XOPEN2K8): Likewise.
4004 (conformtest-header-list-base): Likewise.
4005 (conformtest-header-list-tests): Likewise.
4006 (conformtest-header-base): Likewise.
4007 (conformtest-header-tests): Likewise.
4008 (tests-special): Add $(conformtest-header-list-tests). If
4009 [$(fast-check) && !$(cross-compiling)], add
4010 $(conformtest-header-tests) instead of
4011 $(objpfx)run-conformtest.out.
4012 (generated): Add $(conformtest-header-list-base). If
4013 [$(fast-check) && !$(cross-compiling)], add
4014 $(conformtest-header-base). Remove previous setting.
4015 ($(conformtest-header-list-tests)): New target.
4016 (test-xfail-run-conformtest): Remove variable.
4017 ($(objpfx)run-conformtest.out): Remove target.
4018 (test-xfail-ISO11/complex.h/conform): New variable.
4019 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4020 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4021 (test-xfail-XPG3/varargs.h/conform): Likewise.
4022 (test-xfail-XPG4/varargs.h/conform): Likewise.
4023 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4024 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4025 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4026 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4027 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4028 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4029 (test-xfail-XPG3/ftw.h/conform): Likewise.
4030 (test-xfail-XPG3/grp.h/conform): Likewise.
4031 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4032 (test-xfail-XPG3/limits.h/conform): Likewise.
4033 (test-xfail-XPG3/pwd.h/conform): Likewise.
4034 (test-xfail-XPG3/search.h/conform): Likewise.
4035 (test-xfail-XPG3/signal.h/conform): Likewise.
4036 (test-xfail-XPG3/stdio.h/conform): Likewise.
4037 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4038 (test-xfail-XPG3/string.h/conform): Likewise.
4039 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4040 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4041 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4042 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4043 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4044 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4045 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4046 (test-xfail-XPG3/termios.h/conform): Likewise.
4047 (test-xfail-XPG3/time.h/conform): Likewise.
4048 (test-xfail-XPG3/unistd.h/conform): Likewise.
4049 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4050 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4051 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4052 (test-xfail-XPG4/netdb.h/conform): Likewise.
4053 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4054 (test-xfail-XPG4/signal.h/conform): Likewise.
4055 (test-xfail-XPG4/stdio.h/conform): Likewise.
4056 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4057 (test-xfail-XPG4/stropts.h/conform): Likewise.
4058 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4059 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4060 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4061 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4062 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4063 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4064 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4065 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4066 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4067 (test-xfail-XPG4/termios.h/conform): Likewise.
4068 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4069 (test-xfail-XPG4/unistd.h/conform): Likewise.
4070 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4071 (test-xfail-POSIX/sched.h/conform): Likewise.
4072 (test-xfail-POSIX/signal.h/conform): Likewise.
4073 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4074 (test-xfail-POSIX/tar.h/conform): Likewise.
4075 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4076 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4077 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4078 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4079 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4080 (test-xfail-UNIX98/sched.h/conform): Likewise.
4081 (test-xfail-UNIX98/signal.h/conform): Likewise.
4082 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4083 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4084 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4085 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4086 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4087 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4088 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4089 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4090 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4091 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4092 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4093 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4094 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4095 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4096 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4097 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4098 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4099 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4100 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4101 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4102 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4103 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4104 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4105 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4106 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4107 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4108 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4109 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4110 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4111 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4112 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4113 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4114 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4115 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4116 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4117 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4118 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4119 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4120 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4121 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4122 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4123 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4124 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4125 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4126 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4127 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4128 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4129 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4130 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4131 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4132 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4133 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4134 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4135 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4136 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4137 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4138 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4139 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4140 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4141 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4142 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4143 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4144 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4145 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4146 (conformtest-cc-flags): Likewise.
4147 ($(conformtest-header-tests): New target.
4148 * conform/check-header-lists.sh: New file.
4149 * conform/run-conformtest.sh: Remove.
4151 * conform/conformtest.pl: Allow ' and \ in values given for
4153 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4155 [POSIX] (sys/types.h): Likewise.
4156 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4158 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4160 * conform/data/signal.h-data (SIGIO): Remove expectation.
4161 [XPG3] (SIGBUS): Do not expect.
4162 [POSIX || XPG3] (SIGPOLL): Likewise.
4163 [POSIX || XPG3] (SIGPROF): Likewise.
4164 [POSIX || XPG3] (SIGSYS): Likewise.
4165 [XPG3] (SIGTRAP): Likewise.
4166 [POSIX || XPG3] (SIGURG): Likewise.
4167 [POSIX || XPG3] (SIGVTALRM): Likewise.
4168 [POSIX || XPG3] (SIGXCPU): Likewise.
4169 [POSIX || XPG3] (SIGXFSZ): Likewise.
4170 [POSIX] (SA_SIGINFO): Expect.
4171 [XPG3] (siginfo_t): Do not expect type or contents.
4172 [POSIX] (si_pid): Do not expect element.
4173 [POSIX] (si_uid): Likewise.
4174 [POSIX] (si_addr): Likewise.
4175 [POSIX] (si_status): Likewise.
4176 [POSIX] (si_band): Likewise.
4177 [XPG4] (si_value): Likewise.
4178 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4179 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4180 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4181 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4182 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4183 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4184 [POSIX || XPG3] (ILL_COPROC): Likewise.
4185 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4186 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4187 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4188 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4189 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4190 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4191 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4192 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4193 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4194 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4195 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4196 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4197 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4198 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4199 [POSIX || XPG3] (CLD_EXITED): Likewise.
4200 [POSIX || XPG3] (CLD_KILLED): Likewise.
4201 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4202 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4203 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4204 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4205 [POSIX || XPG3] (POLL_IN): Likewise.
4206 [POSIX || XPG3] (POLL_OUT): Likewise.
4207 [POSIX || XPG3] (POLL_MSG): Likewise.
4208 [POSIX || XPG3] (POLL_ERR): Likewise.
4209 [POSIX || XPG3] (POLL_PRI): Likewise.
4210 [POSIX || XPG3] (POLL_HUP): Likewise.
4211 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4212 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4213 (SIG*): Do not allow.
4214 [XPG3] (si_*): Likewise.
4215 [XPG3] (SI_*): Likewise.
4216 [XPG3 || XPG4] (sigev_*): Likewise.
4217 [XPG3 || XPG4] (SIGEV_*): Likewise.
4218 [XPG3 || XPG4] (sival_*): Likewise.
4219 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4220 [POSIX || XPG3] (BUS_*): Likewise.
4221 [POSIX || XPG3] (CLD_*): Likewise.
4222 [POSIX || XPG3] (FPE_*): Likewise.
4223 [POSIX || XPG3] (ILL_*): Likewise.
4224 [POSIX || XPG3] (POLL_*): Likewise.
4225 [POSIX || XPG3] (SEGV_*): Likewise.
4226 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4227 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4228 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4229 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4230 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4231 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4232 Specify type and value.
4233 (TVERSLEN): Likewise.
4234 (REGTYPE): Likewise.
4235 (AREGTYPE): Likewise.
4236 (LNKTYPE): Likewise.
4237 (SYMTYPE): Likewise.
4238 (CHRTYPE): Likewise.
4239 (BLKTYPE): Likewise.
4240 (DIRTYPE): Likewise.
4241 (FIFOTYPE): Likewise.
4242 (CONTTYPE): Likewise.
4247 (TUWRITE): Likewise.
4250 (TGWRITE): Likewise.
4253 (TOWRITE): Likewise.
4255 [POSIX] (TSVTX): Expect constant.
4257 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4259 * Makefile (tests): Change dependencies to ....
4260 (tests-special): ... additions to this variable.
4261 (tests): Depend on $(tests-special).
4262 * Makerules (check-abi-list): New variable.
4263 (check-abi): Depend on $(check-abi-list).
4264 [$(subdir) = elf] (tests-special): Add
4265 $(objpfx)check-abi-libc.out.
4266 [$(build-shared) = yes && subdir] (tests-special): Add
4268 [$(build-shared) = yes && subdir] (tests): Do not depend on
4270 * Rules (tests): Depend on $(tests-special).
4271 (xtests): Depend on $(xtests-special).
4272 * catgets/Makefile (tests): Change dependencies to ....
4273 (tests-special): ... additions to this variable.
4274 * conform/Makefile (tests): Change dependencies to ....
4275 (tests-special): ... additions to this variable.
4276 * elf/Makefile (tests): Change dependencies to ....
4277 (tests-special): ... additions to this variable.
4278 * grp/Makefile (tests): Change dependencies to ....
4279 (tests-special): ... additions to this variable.
4280 * iconv/Makefile (xtests): Change dependencies to ....
4281 (xtests-special): ... additions to this variable.
4282 * iconvdata/Makefile (tests): Change dependencies to ....
4283 (tests-special): ... additions to this variable.
4284 * intl/Makefile (tests): Change dependencies to ....
4285 (tests-special): ... additions to this variable. Also add
4286 $(objpfx)tst-gettext.out.
4287 * io/Makefile (tests): Change dependencies to ....
4288 (tests-special): ... additions to this variable.
4289 * libio/Makefile (tests): Change dependencies to ....
4290 (tests-special): ... additions to this variable.
4291 * malloc/Makefile (tests): Change dependencies to ....
4292 (tests-special): ... additions to this variable.
4293 * misc/Makefile (tests): Change dependencies to ....
4294 (tests-special): ... additions to this variable.
4295 * nptl/Makefile (tests): Change dependencies to ....
4296 (tests-special): ... additions to this variable.
4297 * nptl_db/Makefile (tests): Change dependencies to ....
4298 (tests-special): ... additions to this variable.
4299 * posix/Makefile (tests): Change dependencies to ....
4300 (tests-special): ... additions to this variable.
4301 (xtests): Change dependencies to ....
4302 (xtests-special): ... additions to this variable.
4303 * resolv/Makefile (tests): Change dependencies to ....
4304 (tests-special): ... additions to this variable.
4305 (xtests): Change dependencies to ....
4306 (xtests-special): ... additions to this variable.
4307 * stdio-common/Makefile (tests): Change dependencies to ....
4308 (tests-special): ... additions to this variable.
4309 (do-tst-unbputc): Remove target.
4310 (do-tst-printf): Likewise.
4311 * stdlib/Makefile (tests): Change dependencies to ....
4312 (tests-special): ... additions to this variable.
4313 * string/Makefile (tests): Change dependencies to ....
4314 (tests-special): ... additions to this variable.
4315 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4316 (tests-special): ... additions to this variable.
4318 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4320 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4322 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4323 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4325 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4326 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4327 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4328 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4329 * conform/data/libgen.h-data [XPG3]: Likewise.
4330 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4331 * conform/data/ndbm.h-data [XPG3]: Likewise.
4332 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4333 * conform/data/netdb.h-data [XPG3]: Likewise.
4334 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4335 * conform/data/poll.h-data [XPG3]: Likewise.
4336 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4337 * conform/data/strings.h-data [XPG3]: Likewise.
4338 * conform/data/stropts.h-data [XPG3]: Likewise.
4339 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4340 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4341 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4343 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4344 * conform/data/sys/time.h-data [XPG3]: Likewise.
4345 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4346 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4347 * conform/data/sys/un.h-data [XPG3]: Likewise.
4348 * conform/data/syslog.h-data [XPG3]: Likewise.
4349 * conform/data/ucontext.h-data [XPG3]: Likewise.
4350 * conform/data/utmpx.h-data [XPG3]: Likewise.
4351 * conform/data/varargs.h-data [UNIX98]: Enable file.
4353 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4355 * math/libm-test.inc (struct test_f_f_data): Move expected results
4356 into structure for each rounding mode.
4357 (struct test_ff_f_data): Likewise.
4358 (struct test_ff_f_data_nexttoward): Likewise.
4359 (struct test_fi_f_data): Likewise.
4360 (struct test_fl_f_data): Likewise.
4361 (struct test_if_f_data): Likewise.
4362 (struct test_fff_f_data): Likewise.
4363 (struct test_c_f_data): Likewise.
4364 (struct test_f_f1_data): Likewise.
4365 (struct test_fF_f1_data): Likewise.
4366 (struct test_ffI_f1_data): Likewise.
4367 (struct test_c_c_data): Likewise.
4368 (struct test_cc_c_data): Likewise.
4369 (struct test_f_i_data): Likewise.
4370 (struct test_ff_i_data): Likewise.
4371 (struct test_f_l_data): Likewise.
4372 (struct test_f_L_data): Likewise.
4373 (struct test_fFF_11_data): Likewise.
4375 (RM_FE_DOWNWARD): Likewise.
4376 (RM_FE_TONEAREST): Likewise.
4377 (RM_FE_TOWARDZERO): Likewise.
4378 (RM_FE_UPWARD): Likewise.
4379 (RUN_TEST_LOOP_f_f): Update references to expected results.
4380 (RUN_TEST_LOOP_2_f): Likewise.
4381 (RUN_TEST_LOOP_fff_f): Likewise.
4382 (RUN_TEST_LOOP_c_f): Likewise.
4383 (RUN_TEST_LOOP_f_f1): Likewise.
4384 (RUN_TEST_LOOP_fF_f1): Likewise.
4385 (RUN_TEST_LOOP_fI_f1): Likewise.
4386 (RUN_TEST_LOOP_ffI_f1): Likewise.
4387 (RUN_TEST_LOOP_c_c): Likewise.
4388 (RUN_TEST_LOOP_cc_c): Likewise.
4389 (RUN_TEST_LOOP_f_i): Likewise.
4390 (RUN_TEST_LOOP_f_i_tg): Likewise.
4391 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4392 (RUN_TEST_LOOP_f_b): Likewise.
4393 (RUN_TEST_LOOP_f_b_tg): Likewise.
4394 (RUN_TEST_LOOP_f_l): Likewise.
4395 (RUN_TEST_LOOP_f_L): Likewise.
4396 (RUN_TEST_LOOP_fFF_11): Likewise.
4397 * math/gen-libm-test.pl (parse_args): Output four copies of
4398 expected results for each test.
4400 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4401 (__ASSUME_UTIMES): Remove.
4402 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4403 (__ASSUME_UTIMES): Likewise.
4405 * math/gen-auto-libm-tests.c: Update comment on output format.
4406 (output_for_one_input_case): Generate before-rounding and
4407 after-rounding information as conditions on output flags not
4408 floating-point format.
4409 * math/auto-libm-test-out: Regenerated.
4410 * math/gen-libm-test.pl (cond_value): New function.
4411 (or_cond_value): Use cond_value.
4412 (generate_testfile): Handle conditional exceptions.
4414 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4416 * math/libm-test.inc (max_valid_error): New variable.
4417 (init_max_error): Take new argument specifying whether function
4418 results are exactly determined. Set max_valid_error and bound
4419 other variables for errors based on this argument.
4420 (set_max_error): Do not record results above max_valid_error.
4421 (check_float_internal): Only accept errors of up to 0.5ulps if
4422 also at most max_valid_error.
4423 (START): Take new argument EXACT and pass it to init_max_error.
4424 (acos_test): Update call to START.
4425 (acos_test_tonearest): Likewise.
4426 (acos_test_towardzero): Likewise.
4427 (acos_test_downward): Likewise.
4428 (acos_test_upward): Likewise.
4429 (acosh_test): Likewise.
4430 (asin_test): Likewise.
4431 (asin_test_tonearest): Likewise.
4432 (asin_test_towardzero): Likewise.
4433 (asin_test_downward): Likewise.
4434 (asin_test_upward): Likewise.
4435 (asinh_test): Likewise.
4436 (atan_test): Likewise.
4437 (atanh_test): Likewise.
4438 (atan2_test): Likewise.
4439 (cabs_test): Likewise.
4440 (cacos_test): Likewise.
4441 (cacosh_test): Likewise.
4442 (carg_test): Likewise.
4443 (casin_test): Likewise.
4444 (casinh_test): Likewise.
4445 (catan_test): Likewise.
4446 (catanh_test): Likewise.
4447 (cbrt_test): Likewise.
4448 (ccos_test): Likewise.
4449 (ccosh_test): Likewise.
4450 (ceil_test): Likewise.
4451 (cexp_test): Likewise.
4452 (cimag_test): Likewise.
4453 (clog_test): Likewise.
4454 (clog10_test): Likewise.
4455 (conj_test): Likewise.
4456 (copysign_test): Likewise.
4457 (cos_test): Likewise.
4458 (cos_test_tonearest): Likewise.
4459 (cos_test_towardzero): Likewise.
4460 (cos_test_downward): Likewise.
4461 (cos_test_upward): Likewise.
4462 (cosh_test): Likewise.
4463 (cosh_test_tonearest): Likewise.
4464 (cosh_test_towardzero): Likewise.
4465 (cosh_test_downward): Likewise.
4466 (cosh_test_upward): Likewise.
4467 (cpow_test): Likewise.
4468 (cproj_test): Likewise.
4469 (creal_test): Likewise.
4470 (csin_test): Likewise.
4471 (csinh_test): Likewise.
4472 (csqrt_test): Likewise.
4473 (ctan_test): Likewise.
4474 (ctan_test_tonearest): Likewise.
4475 (ctan_test_towardzero): Likewise.
4476 (ctan_test_downward): Likewise.
4477 (ctan_test_upward): Likewise.
4478 (ctanh_test): Likewise.
4479 (ctanh_test_tonearest): Likewise.
4480 (ctanh_test_towardzero): Likewise.
4481 (ctanh_test_downward): Likewise.
4482 (ctanh_test_upward): Likewise.
4483 (erf_test): Likewise.
4484 (erfc_test): Likewise.
4485 (exp_test): Likewise.
4486 (exp_test_tonearest): Likewise.
4487 (exp_test_towardzero): Likewise.
4488 (exp_test_downward): Likewise.
4489 (exp_test_upward): Likewise.
4490 (exp10_test): Likewise.
4491 (exp10_test_tonearest): Likewise.
4492 (exp10_test_towardzero): Likewise.
4493 (exp10_test_downward): Likewise.
4494 (exp10_test_upward): Likewise.
4495 (pow10_test): Likewise.
4496 (exp2_test): Likewise.
4497 (expm1_test): Likewise.
4498 (expm1_test_tonearest): Likewise.
4499 (expm1_test_towardzero): Likewise.
4500 (expm1_test_downward): Likewise.
4501 (expm1_test_upward): Likewise.
4502 (fabs_test): Likewise.
4503 (fdim_test): Likewise.
4504 (floor_test): Likewise.
4505 (fma_test): Likewise.
4506 (fma_test_towardzero): Likewise.
4507 (fma_test_downward): Likewise.
4508 (fma_test_upward): Likewise.
4509 (fmax_test): Likewise.
4510 (fmin_test): Likewise.
4511 (fmod_test): Likewise.
4512 (fpclassify_test): Likewise.
4513 (frexp_test): Likewise.
4514 (hypot_test): Likewise.
4515 (ilogb_test): Likewise.
4516 (isfinite_test): Likewise.
4517 (finite_test): Likewise.
4518 (isgreater_test): Likewise.
4519 (isgreaterequal_test): Likewise.
4520 (isinf_test): Likewise.
4521 (isless_test): Likewise.
4522 (islessequal_test): Likewise.
4523 (islessgreater_test): Likewise.
4524 (isnan_test): Likewise.
4525 (isnormal_test): Likewise.
4526 (issignaling_test): Likewise.
4527 (isunordered_test): Likewise.
4528 (j0_test): Likewise.
4529 (j1_test): Likewise.
4530 (jn_test): Likewise.
4531 (ldexp_test): Likewise.
4532 (lgamma_test): Likewise.
4533 (gamma_test): Likewise.
4534 (lrint_test): Likewise.
4535 (lrint_test_tonearest): Likewise.
4536 (lrint_test_towardzero): Likewise.
4537 (lrint_test_downward): Likewise.
4538 (lrint_test_upward): Likewise.
4539 (llrint_test): Likewise.
4540 (llrint_test_tonearest): Likewise.
4541 (llrint_test_towardzero): Likewise.
4542 (llrint_test_downward): Likewise.
4543 (llrint_test_upward): Likewise.
4544 (log_test): Likewise.
4545 (log10_test): Likewise.
4546 (log1p_test): Likewise.
4547 (log2_test): Likewise.
4548 (logb_test): Likewise.
4549 (logb_test_downward): Likewise.
4550 (lround_test): Likewise.
4551 (llround_test): Likewise.
4552 (modf_test): Likewise.
4553 (nearbyint_test): Likewise.
4554 (nextafter_test): Likewise.
4555 (nexttoward_test): Likewise.
4556 (pow_test): Likewise.
4557 (pow_test_tonearest): Likewise.
4558 (pow_test_towardzero): Likewise.
4559 (pow_test_downward): Likewise.
4560 (pow_test_upward): Likewise.
4561 (remainder_test): Likewise.
4562 (drem_test): Likewise.
4563 (remainder_test_tonearest): Likewise.
4564 (drem_test_tonearest): Likewise.
4565 (remainder_test_towardzero): Likewise.
4566 (drem_test_towardzero): Likewise.
4567 (remainder_test_downward): Likewise.
4568 (drem_test_downward): Likewise.
4569 (remainder_test_upward): Likewise.
4570 (drem_test_upward): Likewise.
4571 (remquo_test): Likewise.
4572 (rint_test): Likewise.
4573 (rint_test_tonearest): Likewise.
4574 (rint_test_towardzero): Likewise.
4575 (rint_test_downward): Likewise.
4576 (rint_test_upward): Likewise.
4577 (round_test): Likewise.
4578 (scalb_test): Likewise.
4579 (scalbn_test): Likewise.
4580 (scalbln_test): Likewise.
4581 (signbit_test): Likewise.
4582 (sin_test): Likewise.
4583 (sin_test_tonearest): Likewise.
4584 (sin_test_towardzero): Likewise.
4585 (sin_test_downward): Likewise.
4586 (sin_test_upward): Likewise.
4587 (sincos_test): Likewise.
4588 (sinh_test): Likewise.
4589 (sinh_test_tonearest): Likewise.
4590 (sinh_test_towardzero): Likewise.
4591 (sinh_test_downward): Likewise.
4592 (sinh_test_upward): Likewise.
4593 (sqrt_test): Likewise.
4594 (sqrt_test_tonearest): Likewise.
4595 (sqrt_test_towardzero): Likewise.
4596 (sqrt_test_downward): Likewise.
4597 (sqrt_test_upward): Likewise.
4598 (tan_test): Likewise.
4599 (tan_test_tonearest): Likewise.
4600 (tan_test_towardzero): Likewise.
4601 (tan_test_downward): Likewise.
4602 (tan_test_upward): Likewise.
4603 (tanh_test): Likewise.
4604 (tgamma_test): Likewise.
4605 (trunc_test): Likewise.
4606 (y0_test): Likewise.
4607 (y1_test): Likewise.
4608 (yn_test): Likewise.
4609 (significand_test): Likewise.
4611 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4612 individual tests in comment.
4613 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4614 (prev_max_error): New variable.
4615 (prev_real_max_error): Likewise.
4616 (prev_imag_max_error): Likewise.
4617 (compare_ulp_data): Don't refer to test names in comment.
4618 (find_test_ulps): Remove function.
4619 (find_function_ulps): Likewise.
4620 (find_complex_function_ulps): Likewise.
4621 (init_max_error): Take function name as argument. Look up ulps
4623 (print_ulps): Remove function.
4624 (print_max_error): Use prev_max_error instead of calling
4626 (print_complex_max_error): Use prev_real_max_error and
4627 prev_imag_max_error instead of calling find_complex_function_ulps.
4628 (check_float_internal): Take max_ulp parameter instead of calling
4629 find_test_ulps. Don't call print_ulps.
4630 (check_float): Update call to check_float_internal.
4631 (check_complex): Update calls to check_float_internal.
4632 (START): Pass argument to init_max_error.
4633 * math/gen-libm-test.pl (%results): Don't include "kind"
4635 (parse_ulps): Don't handle ulps of individual tests.
4636 (print_ulps_file): Likewise.
4637 (output_ulps): Likewise.
4638 * math/README.libm-test: Update.
4639 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4641 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4642 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4643 * sysdeps/arm/libm-test-ulps: Likewise.
4644 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4645 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4646 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4647 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4648 * sysdeps/microblaze/libm-test-ulps: Likewise.
4649 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4650 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4651 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4652 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4653 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4654 * sysdeps/sh/libm-test-ulps: Likewise.
4655 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4656 * sysdeps/tile/libm-test-ulps: Likewise.
4657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4659 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4661 * math/libm-test.inc (print_complex_max_error): Check separately
4662 whether real and imaginary errors are within allowed range and
4663 pass 0 to print_complex_function_ulps instead of value within
4666 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4668 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4670 (get_handles_fopen): Likewise.
4671 (do_write_test): Likewise.
4673 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4675 * libio/fileops.c (do_ftell): Use cached offset when
4677 * libio/iofwide.c (do_ftell_wide): Likewise.
4678 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4680 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4683 * libio/libioP.h (get_file_offset): New function.
4684 * libio/fileops.c (get_file_offset): Likewise.
4685 (do_ftell): Likewise.
4686 (_IO_new_file_seekoff): Split out ftell logic.
4687 * libio/wfileops.c (do_ftell_wide): Likewise.
4688 (_IO_wfile_seekoff): Split out ftell logic.
4689 * libio/tst-ftell-active-handler.c: New test case.
4690 * libio/Makefile (tests): Add it.
4692 2014-03-03 Roland McGrath <roland@hack.frob.com>
4694 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4695 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4697 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4700 * nscd/connections.c (nscd_init): Call do_exit.
4701 (start_threads): Call do_exit and notify_parent.
4702 (begin_drop_privileges): Call do_exit.
4703 (finish_drop_privileges): Likewise.
4704 * nscd/selinux.c (preserve_capabilities): Likewise.
4705 (install_real_capabilities): Likewise.
4706 (nscd_selinux_enabled): Likewise.
4707 (avc_create_thread): Likewise.
4708 (avc_alloc_lock): Likewise.
4709 (nscd_avc_init): Likewise.
4710 * nscd/nscd.c (parent_fd): New static variable.
4711 (main): Create a pipe between parent and child processes.
4712 Skip closing parent_fd.
4713 (monitor_child): New function.
4714 (do_exit): Likewise.
4715 (notify_parent): Likewise.
4716 * nscd/nscd.h (notify_parent): Likewise.
4717 (do_exit): Likewise.
4719 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4721 * malloc/malloc.c (__libc_calloc): Revert last change.
4723 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4727 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4729 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4733 (__libc_ifunc_impl_list): Likewise.
4734 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4735 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4736 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4737 * string/strrchr.c: Define STRRCHR.
4739 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4741 * benchtest/bench-strtok.c (simple_strtok): Delete.
4742 (strtok_string): Use as benchmark.
4743 * string/strtok (STRTOK): New macro.
4745 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4747 * manual/threads.texi: Add header and standard comments to all
4750 * elf/dl-lookup.c (check_match): New function.
4751 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4752 (do_lookup_x): Remove nested function check_match. Use non-nested
4753 function check_match.
4755 2014-02-28 Roland McGrath <roland@hack.frob.com>
4757 * csu/Makefile (generated, before-compile): Use += rather than =.
4758 * catgets/Makefile (generated, generated-dirs): Likewise.
4759 * debug/Makefile (generated): Likewise.
4760 * dlfcn/Makefile (generated): Likewise.
4761 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4762 * iconvdata/Makefile (before-compile, generated): Likewise.
4763 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4764 * libio/Makefile (generated): Likewise.
4765 * malloc/Makefile (generated): Likewise.
4766 * manual/Makefile (generated, generated-dirs): Likewise.
4767 * misc/Makefile (generated): Likewise.
4768 * posix/Makefile (generated): Likewise.
4769 * resolv/Makefile (generated): Likewise.
4770 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4771 * timezone/Makefile (generated, generated-dirs): Likewise.
4773 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4775 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4778 power8 implementation.
4779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4780 file: POWER8 llround ifunc implementation.
4781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4782 (__lllround): Add POWER8 implementation.
4783 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4784 POWER8 llround implementation.
4786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4787 power8 implementation.
4788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4789 file: POWER8 llrint ifunc implementation.
4790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4791 Add POWER8 implementation.
4792 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4793 POWER8 llrint implementation.
4795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4796 power8 implementation.
4797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4798 file: POWER8 finite ifunc implementation.
4799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4800 Add POWER8 implementation.
4801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4803 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4804 POWER8 finite implementation.
4805 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4808 power8 implementation.
4809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4810 file: POWER8 isinf ifunc implementation.
4811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4812 POWER8 implementation.
4813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4815 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4816 isinf implementation.
4817 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4819 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4820 (INIT_ARCH): Add hwcap2 initialization.
4821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4822 power8 implementation.
4823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4824 file: POWER8 isnan ifunc implementation.
4825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4826 POWER8 implementation.
4827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4829 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4830 isnan implementation.
4831 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4833 2014-02-27 Joey Ye <joey.ye@arm.com>
4835 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4836 (_FP_NANFRAC_Q): Set to zero.
4838 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4841 * math/auto-libm-test-in: New test inputs.
4842 * math/auto-libm-test-out: Regenerate.
4843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4846 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4848 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4850 * scripts/evaluate-test.sh: Take new argument indicating whether
4851 failure is expected.
4852 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4853 indicating whether failure is expected.
4854 * conform/Makefile (test-xfail-run-conformtest): New variable.
4855 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4857 * posix/Makefile (test-xfail-annexc): New variable.
4858 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4860 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4862 * argp/Makefile: Include Makeconfig immediately after defining
4864 * assert/Makefile: Likewise.
4865 * benchtests/Makefile: Likewise.
4866 * catgets/Makefile: Likewise.
4867 * conform/Makefile: Likewise.
4868 * crypt/Makefile: Likewise.
4869 * csu/Makefile: Likewise.
4870 (all): Remove target.
4871 * ctype/Makefile: Include Makeconfig immediately after defining
4873 * debug/Makefile: Likewise.
4874 * dirent/Makefile: Likewise.
4875 * dlfcn/Makefile: Likewise.
4876 * gmon/Makefile: Likewise.
4877 * gnulib/Makefile: Likewise.
4878 * grp/Makefile: Likewise.
4879 * gshadow/Makefile: Likewise.
4880 * hesiod/Makefile: Likewise.
4881 * hurd/Makefile: Likewise.
4882 (all): Remove target.
4883 * iconvdata/Makefile: Include Makeconfig immediately after
4885 * inet/Makefile: Likewise.
4886 * intl/Makefile: Likewise.
4887 * io/Makefile: Likewise.
4888 * libio/Makefile: Likewise.
4889 (all): Remove target.
4890 * locale/Makefile: Include Makeconfig immediately after defining
4892 * login/Makefile: Likewise.
4893 * mach/Makefile: Likewise.
4894 (all): Remove target.
4895 * malloc/Makefile: Include Makeconfig immediately after defining
4897 (all): Remove target.
4898 * manual/Makefile: Include Makeconfig immediately after defining
4900 * math/Makefile: Likewise.
4901 * misc/Makefile: Likewise.
4902 * nis/Makefile: Likewise.
4903 * nss/Makefile: Likewise.
4904 * po/Makefile: Likewise.
4905 (all): Remove target.
4906 * posix/Makefile: Include Makeconfig immediately after defining
4908 * pwd/Makefile: Likewise.
4909 * resolv/Makefile: Likewise.
4910 * resource/Makefile: Likewise.
4911 * rt/Makefile: Likewise.
4912 * setjmp/Makefile: Likewise.
4913 * shadow/Makefile: Likewise.
4914 * signal/Makefile: Likewise.
4915 * socket/Makefile: Likewise.
4916 * soft-fp/Makefile: Likewise.
4917 * stdio-common/Makefile: Likewise.
4918 * stdlib/Makefile: Likewise.
4919 * streams/Makefile: Likewise.
4920 * string/Makefile: Likewise.
4921 * sunrpc/Makefile: Likewise.
4922 (all): Remove target.
4923 * sysvipc/Makefile: Include Makeconfig immediately after defining
4925 * termios/Makefile: Likewise.
4926 * time/Makefile: Likewise.
4927 * timezone/Makefile: Likewise.
4928 (all): Remove target.
4929 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4931 * wctype/Makefile: Likewise.
4933 2014-02-26 Steve Ellcey <sellcey@mips.com>
4935 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4936 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4937 (libc_feholdexcept_setround_mips): Ditto.
4938 (libc_feholdsetround): New.
4939 (libc_feholdsetroundf): New.
4940 (libc_feholdsetroundl): New.
4941 (libc_feupdateenv_test_mips): New.
4942 (libc_feupdateenv_test): New.
4943 (libc_feupdateenv_testf): New.
4944 (libc_feupdateenv_testl): New.
4945 (libc_feresetround): New.
4946 (libc_feresetroundf): New.
4947 (libc_feresetroundl): New.
4948 (libc_fetestexcept_mips): New.
4949 (libc_fetestexcept): New.
4950 (libc_fetestexceptf): New.
4951 (libc_fetestexceptl): New.
4953 (libc_feholdexcept_setround_mips_ctx): New.
4954 (libc_feholdexcept_setround_ctx): New.
4955 (libc_feholdexcept_setroundf_ctx): New.
4956 (libc_feholdexcept_setroundl_ctx): New.
4957 (libc_fesetenv_mips_ctx): New.
4958 (libc_fesetenv_ctx): New.
4959 (libc_fesetenv_ctxf): New.
4960 (libc_fesetenv_ctxl): New.
4961 (libc_feupdateenv_mips_ctx): New.
4962 (libc_feupdateenv_ctx): New.
4963 (libc_feupdateenvf_ctx): New.
4964 (libc_feupdateenvl_ctx): New.
4965 (libc_feholdsetround_mips_ctx): New.
4966 (libc_feholdsetround_ctx): New.
4967 (libc_feholdsetroundf_ctx): New.
4968 (libc_feholdsetroundl_ctx): New.
4969 (libc_feresetround_mips_ctx): New.
4970 (libc_feresetround_ctx): New.
4971 (libc_feresetroundf_ctx): New.
4972 (libc_feresetroundl_ctx): New.
4974 2014-02-26 Carlos O'Donell <carlos@redhat.com>
4976 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4978 * manual/ipc.texi: New file.
4979 * manual/Makefile (chapters): Add ipc.
4980 * manual/job.texi: Add "Inter-Process Communication" to next.
4981 * manual/process.texi: Add "Inter-Process Communication" to prev.
4983 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4987 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
4989 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4991 * manual/arith.texi: Fix spaces after sentences.
4992 * manual/charset.texi: Likewise.
4993 * manual/errno.texi: Likewise.
4994 * manual/install.texi: Likewise.
4995 * manual/llio.texi: Likewise.
4996 * manual/locale.texi: Likewise.
4997 * manual/maint.texi: Likewise.
4998 * manual/math.texi: Likewise.
4999 * manual/memory.texi: Likewise.
5000 * manual/message.texi: Likewise.
5001 * manual/probes.texi: Likewise.
5002 * manual/resource.texi: Likewise.
5003 * manual/signal.texi: Likewise.
5004 * manual/socket.texi: Likewise.
5005 * manual/stdio.texi: Likewise.
5006 * manual/string.texi: Likewise.
5007 * manual/time.texi: Likewise.
5008 * manual/users.texi: Likewise.
5010 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5013 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5014 _DEFAULT_SOURCE is defined.
5016 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5017 Carlos O'Donell <carlos@redhat.com>
5020 * elf/dl-tls.c (_dl_count_modids): New function.
5021 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5022 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5023 audit library and increment generation counter.
5024 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5025 * elf/tst-audit9.c: New file.
5026 * elf/tst-auditmod9a.c: New file.
5027 * elf/tst-auditmod9b.c: New file.
5028 * elf/Makefile: Add rules to build and run tst-audit9.
5030 2014-02-25 Florian Weimer <fweimer@redhat.com>
5033 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5035 2014-02-25 Will Newton <will.newton@linaro.org>
5037 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5038 (__longjmp): Restore sp and lr before restoring callee
5039 saved registers. Add longjmp and longjmp_target
5040 SystemTap probe point.
5041 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5042 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5043 Define to zero to match jmpbuf layout.
5044 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5045 (__sigsetjmp): Save sp and lr before saving callee
5046 saved registers. Add setjmp SystemTap probe point.
5048 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5050 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5052 2014-02-24 Andreas Schwab <schwab@suse.de>
5055 * elf/pldd.c (wait_for_ptrace_stop): New function.
5056 (main): Call it after attaching.
5058 2014-02-22 Roland McGrath <roland@hack.frob.com>
5060 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5061 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5062 Versions files is now verboten.
5063 * hurd/Versions (libc: GLIBC_2.0):
5064 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5065 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5066 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5067 * mach/Versions: Likewise.
5069 * csu/Versions: Remove unused %include.
5070 * resolv/Versions: Likewise.
5072 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5074 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5075 ($(objpfx)check-local-headers.out): Likewise.
5076 ($(objpfx)begin-end-check.out): Likewise.
5077 * Makerules (check-abi-%.out): Likewise.
5078 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5079 ($(objpfx)test2.cat): Likewise.
5080 ($(objpfx)de/libc.cat): Likewise.
5081 ($(objpfx)test-gencat.out): Likewise.
5082 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5083 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5084 ($(objpfx)noload-mem): Likewise.
5085 ($(objpfx)tst-pathopt.out): Likewise.
5086 ($(objpfx)tst-rtld-load-self.out): Likewise.
5087 ($(objpfx)tst-array1-cmp.out): Likewise.
5088 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5089 ($(objpfx)tst-array2-cmp.out): Likewise.
5090 ($(objpfx)tst-array3-cmp.out): Likewise.
5091 ($(objpfx)tst-array4-cmp.out): Likewise.
5092 ($(objpfx)tst-array5-cmp.out): Likewise.
5093 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5094 ($(objpfx)check-textrel.out): Likewise.
5095 ($(objpfx)check-execstack.out): Likewise.
5096 ($(objpfx)check-localplt.out): Likewise.
5097 ($(objpfx)order2-cmp.out): Likewise.
5098 ($(objpfx)tst-leaks1-mem): Likewise.
5099 ($(objpfx)tst-leaks1-static-mem): Likewise.
5100 ($(objpfx)tst-initorder-cmp.out): Likewise.
5101 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5102 ($(objpfx)tst-unused-dep.out): Likewise.
5103 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5104 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5105 * iconv/Makefile (test-iconvconfig): Likewise.
5106 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5107 ($(objpfx)iconv-test.out): Likewise.
5108 ($(objpfx)tst-tables.out): Likewise.
5109 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5110 ($(objpfx)tst-gettext.out): Likewise.
5111 ($(objpfx)tst-translit.out): Likewise.
5112 ($(objpfx)tst-gettext2.out): Likewise.
5113 ($(objpfx)tst-gettext4.out): Likewise.
5114 ($(objpfx)tst-gettext6.out): Likewise.
5115 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5116 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5117 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5118 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5119 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5120 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5121 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5122 ($(objpfx)wordexp-tst.out): Likewise.
5123 ($(objpfx)annexc.out): Likewise.
5124 ($(objpfx)tst-fnmatch-mem): Likewise.
5125 ($(objpfx)bug-regex2-mem): Likewise.
5126 ($(objpfx)bug-regex14-mem): Likewise.
5127 ($(objpfx)bug-regex21-mem): Likewise.
5128 ($(objpfx)bug-regex31-mem): Likewise.
5129 ($(objpfx)tst-vfork3-mem): Likewise.
5130 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5131 ($(objpfx)tst-pcre-mem): Likewise.
5132 ($(objpfx)tst-boost-mem): Likewise.
5133 ($(objpfx)tst-getconf.out): Likewise.
5134 ($(objpfx)bug-ga2-mem): Likewise.
5135 ($(objpfx)bug-glob2-mem): Likewise.
5136 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5137 ($(objpfx)mtrace-tst-leaks2): Likewise.
5138 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5139 ($(objpfx)tst-printf.out): Likewise.
5140 ($(objpfx)tst-setvbuf1.out): Likewise.
5141 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5142 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5143 ($(objpfx)tst-fmtmsg.out): Likewise.
5144 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5145 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5147 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5148 * bits/sigaction.h [__USE_MISC]: Likewise.
5149 * bits/waitstatus.h: Update #endif comments.
5150 * ctype/ctype.h: Likewise.
5151 * dirent/dirent.h: Likewise.
5152 [__USE_MISC]: Remove redundant conditionals.
5153 * grp/grp.h: Update #endif comments.
5154 [__USE_GNU]: Remove redundant conditionals.
5155 [__USE_MISC]: Likewise.
5156 * inet/netinet/in.h [__USE_GNU]: Likewise.
5157 * io/sys/stat.h [__USE_MISC]: Likewise.
5158 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5159 * libio/bits/stdio.h: Update #endif comments.
5160 [__USE_MISC]: Remove redundant conditionals.
5161 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5162 * libio/stdio.h: Update #endif comments.
5163 [__USE_MISC]: Remove redundant conditionals.
5164 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5165 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5166 * math/math.h: Update #else and #endif comments.
5167 [__USE_MISC]: Remove redundant conditionals.
5168 * misc/sys/uio.h: Update #endif comments.
5169 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5170 * posix/glob.h [__USE_MISC]: Likewise.
5171 * posix/sys/types.h: Update #endif comments.
5172 [__USE_MISC]: Remove redundant conditionals.
5173 * posix/sys/wait.h: Update #endif comments.
5174 [__USE_MISC]: Remove redundant conditionals.
5175 * posix/unistd.h: Update #endif comments.
5176 [__USE_MISC]: Remove redundant conditionals.
5177 * pwd/pwd.h [__USE_GNU]: Likewise.
5178 [__USE_MISC]: Likewise.
5179 * resolv/netdb.h [__USE_GNU]: Likewise.
5180 * signal/signal.h: Update #endif comments.
5181 [__USE_MISC]: Remove redundant conditionals.
5182 * stdlib/stdlib.h: Update #else and #endif comments.
5183 [__USE_MISC]: Remove redundant conditionals.
5184 [__USE_GNU]: Likewise.
5185 * string/bits/string2.h [__USE_MISC]: Likewise.
5186 * string/string.h: Update #endif comments.
5187 [__USE_MISC]: Remove redundant conditionals.
5188 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5190 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5191 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5192 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5194 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5198 [__USE_MISC]: Remove redundant conditionals.
5199 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5200 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5201 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5202 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5203 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5205 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5206 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5208 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5209 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5211 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5213 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5214 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5216 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5218 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5219 * sysdeps/x86/bits/string.h: Update #endif comments.
5220 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5222 * time/sys/time.h: Update #endif comments.
5223 * time/time.h: Likewise.
5224 [__USE_MISC]: Remove redundant conditionals.
5226 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5229 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5231 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5233 * Versions.def (librt): Add GLIBC_2.17.
5235 2014-02-21 Adam Conrad <adconrad@0c3.net>
5237 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5238 synonym for _SYS_AUXV_H to allow direct inclusion.
5239 * sysdeps/sparc/bits/hwcap.h: Likewise.
5240 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5241 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5242 * sysdeps/sparc/sysdep.h: Likewise.
5244 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5246 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5248 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5250 * benchtests/bench-strrchr.c: Print length instead of position.
5252 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5255 * sysdeps/unix/sysv/linux/kernel-features.h
5256 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5257 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5258 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5259 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5261 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5262 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5263 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5264 (__ASSUME_SENDMMSG): Define instead of using previous
5265 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5266 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5267 (__ASSUME_SENDMMSG_SYSCALL): Define.
5268 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5269 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5271 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5272 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5274 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5275 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5277 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5278 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5279 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5280 [__ASSUME_SENDMMSG]: Change conditionals to
5281 [__ASSUME_SENDMMSG_SOCKETCALL].
5282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5283 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5285 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5286 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5288 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5289 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5290 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5291 [!__ASSUME_SENDMMSG]: Change conditional to
5292 [!__ASSUME_SENDMMSG_SOCKETCALL].
5293 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5294 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5298 * sysdeps/unix/sysv/linux/kernel-features.h
5299 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5300 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5301 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5302 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5303 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5304 [__i386__ || __sparc__]
5305 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5306 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5307 (__ASSUME_RECVMMSG): Define instead of using previous
5308 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5309 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5310 (__ASSUME_RECVMMSG_SYSCALL): Define.
5311 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5312 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5314 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5317 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5318 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5320 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5321 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5322 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5323 [__ASSUME_RECVMMSG]: Change condition to
5324 [__ASSUME_RECVMMSG_SOCKETCALL].
5325 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5326 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5328 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5329 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5330 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5332 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5333 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5334 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5335 [!__ASSUME_RECVMMSG]: Change condition to
5336 [!__ASSUME_RECVMMSG_SOCKETCALL].
5337 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5338 (__ASSUME_RECVMMSG_SYSCALL): Define.
5341 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5342 __powerpc__ || __s390__ || __sh__ || __sparc__]
5343 (__ASSUME_SOCKETCALL): Define.
5344 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5345 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5346 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5347 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5348 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5349 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5350 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5351 (__ASSUME_ACCEPT4): Define instead of using previous
5352 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5353 __powerpc__ || __sparc__ || __s390__)] condition.
5354 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5355 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5356 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5357 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5358 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5359 [!__ASSUME_ACCEPT4]: Change condition to
5360 [!__ASSUME_ACCEPT4_SOCKETCALL].
5361 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5362 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5363 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5364 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5365 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5366 __ASSUME_ACCEPT4_SYSCALL.
5367 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5368 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5369 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5370 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5371 __ASSUME_ACCEPT4_SYSCALL.
5372 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5373 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5374 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5375 [__ASSUME_ACCEPT4]: Change condition to
5376 [__ASSUME_ACCEPT4_SOCKETCALL].
5377 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5378 (__ASSUME_SOCKETCALL): Define.
5379 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5380 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5381 (__ASSUME_SOCKETCALL): Define.
5382 (__ASSUME_ACCEPT4): Remove.
5383 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5385 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5386 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5388 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5389 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5391 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5393 (HWCAP_ARM_LPAE): Likewise.
5394 (HWCAP_ARM_EVTSTRM): Likewise.
5395 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5396 Add vpfd32, lpae and evtstrm.
5397 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5400 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5402 * math/auto-libm-test-in: Add tests of clog10.
5403 * math/auto-libm-test-out: Regenerated.
5404 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5405 * sysdeps/i386/fpu/libm-test-ulps: Update.
5406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5408 2014-02-18 Andreas Schwab <schwab@suse.de>
5411 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5412 Store non-zero if the second buffer was newly allocated.
5413 (send_dg): Likewise.
5414 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5415 to send_vc and send_dg.
5416 (res_nsend): Pass NULL for ansp2_malloced.
5417 * resolv/res_query.c (__libc_res_nquery): Add parameter
5418 answerp2_malloced and pass it down to __libc_res_nsend.
5419 (res_nquery): Pass additional NULL to __libc_res_nquery.
5420 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5421 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5422 second answer buffer if answerp2_malloced was set.
5423 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5424 (__libc_res_nquerydomain): Add parameter
5425 answerp2_malloced and pass it down to __libc_res_nquery.
5426 (res_nquerydomain): Pass additional NULL to
5427 __libc_res_nquerydomain.
5428 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5429 additional NULL to __libc_res_nsend and __libc_res_nquery.
5430 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5431 additional NULL to __libc_res_nsearch.
5432 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5433 parameter of __libc_res_nsearch to check for separately allocated
5435 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5437 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5438 additional NULL to __libc_res_nquery.
5439 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5441 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5442 * include/resolv.h: Update prototypes of __libc_res_nquery,
5443 __libc_res_nsearch, __libc_res_nsend.
5445 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5447 * math/auto-libm-test-in: Add tests of fma.
5448 * math/auto-libm-test-out: Regenerated.
5449 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5450 (fma_towardzero_test_data): Likewise.
5451 (fma_downward_test_data): Likewise.
5452 (fma_upward_test_data): Likewise.
5453 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5455 (rounding_modes): Add values for new field.
5456 (func_calc_method): Add value mpfr_fff_f.
5457 (func_calc_desc): Add mpfr_fff_f union field.
5458 (test_function): Add field exact_args.
5459 (FUNC): Add macro argument EXACT_ARGS.
5460 (FUNC_mpfr_f_f): Update call to FUNC.
5461 (FUNC_mpfr_f_f): Likewise.
5462 (FUNC_mpfr_ff_f): Likewise.
5463 (FUNC_mpfr_if_f): Likewise.
5464 (FUNC_mpc_c_f): Likewise.
5465 (FUNC_mpc_c_c): Likewise.
5466 (test_functions): Add fma. Update calls to FUNC.
5467 (handle_input_arg): Add argument exact_args.
5468 (add_test): Update call to handle_input_arg.
5469 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5470 (output_for_one_input_case): Update call to calc_generic_results.
5471 Recalculate exact zero results in each rounding mode.
5473 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5474 non-negative before setting low bit.
5475 * math/auto-libm-test-in: Mark one asin test possibly having
5477 * math/auto-libm-test-out: Regenerated.
5478 * sysdeps/i386/fpu/libm-test-ulps: Update.
5479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5481 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5483 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5484 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5485 ports/sysdeps/unix/sysv/linux/microblaze.
5486 * README: Add missing listing for microblaze*-*-linux-gnu.
5488 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5490 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5491 * sysdeps/unix/sysv/linux/ia64: Move directory from
5492 ports/sysdeps/unix/sysv/linux/ia64.
5493 * README: Update listing for ia64-*-linux-gnu.
5495 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5496 Joseph Myers <joseph@codesourcery.com>
5498 * Makeconfig (test-name): New variable.
5499 (evaluate-test): Likewise.
5500 * Makerules (do-test-clean): Remove .test-result files.
5501 (common-mostlyclean): Likewise.
5502 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5503 * scripts/evaluate-test.sh: New file.
5505 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5507 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5508 separate $(objpfx)tst-fopenloc-cmp.out and
5509 $(objpfx)tst-fopenloc-mem.out targets.
5510 (tests): Update dependencies.
5511 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5512 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5513 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5514 (tst-rxspencer-no-utf8-ARGS): New variable.
5515 (tst-rxspencer-no-utf8-ENV): Likewise.
5516 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5517 instead of $(objpfx)tst-rxspencer-mem.
5518 ($(objpfx)tst-rxspencer-mem): Change target to
5519 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5520 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5521 * posix/tst-rxspencer-no-utf8.c: New file.
5523 * elf/Makefile ($(objpfx)order.out): Remove rule.
5524 [$(run-built-tests) = yes] (tests): Depend on
5525 $(objpfx)order-cmp.out.
5526 ($(objpfx)order-cmp.out): New rule.
5527 [$(run-built-tests) = yes] (tests): Depend on
5528 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5529 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5530 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5531 $(objpfx)tst-array5-static-cmp.out.
5532 ($(objpfx)tst-array1.out): Remove rule.
5533 ($(objpfx)tst-array1-cmp.out): New rule.
5534 ($(objpfx)tst-array1-static.out): Remove rule.
5535 ($(objpfx)tst-array1-static-cmp.out): New rule.
5536 ($(objpfx)tst-array2.out): Remove rule.
5537 ($(objpfx)tst-array2-cmp.out): New rule.
5538 ($(objpfx)tst-array3.out): Remove rule.
5539 ($(objpfx)tst-array3-cmp.out): New rule.
5540 ($(objpfx)tst-array4.out): Remove rule.
5541 ($(objpfx)tst-array4-cmp.out): New rule.
5542 ($(objpfx)tst-array5.out): Remove rule.
5543 ($(objpfx)tst-array5-cmp.out): New rule.
5544 ($(objpfx)tst-array5-static.out): Remove rule.
5545 ($(objpfx)tst-array5-static-cmp.out): New rule.
5546 [$(run-built-tests) = yes] (tests): Depend on
5547 $(objpfx)order2-cmp.out.
5548 ($(objpfx)order2.out): Remove rule.
5549 ($(objpfx)order2-cmp.out): New rule.
5550 ($(objpfx)tst-initorder.out): Remove rule.
5551 [$(run-built-tests) = yes] (tests): Depend on
5552 $(objpfx)tst-initorder-cmp.out.
5553 ($(objpfx)tst-initorder-cmp.out): New rule.
5554 ($(objpfx)tst-initorder2.out): Remove rule.
5555 [$(run-built-tests) = yes] (tests): Depend on
5556 $(objpfx)tst-initorder2-cmp.out.
5557 ($(objpfx)tst-initorder2-cmp.out): New rule.
5558 [$(run-built-tests) = yes] (tests): Depend on
5559 $(objpfx)tst-unused-dep-cmp.out.
5560 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5561 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5562 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5563 on $(objpfx)tst-setvbuf1-cmp.out.
5564 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5565 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5566 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5567 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5568 ($(objpfx)tst-svc.out): Remove rule.
5569 ($(objpfx)tst-svc-cmp.out): New rule.
5571 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5573 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5574 * ctype/ctype.h [__USE_MISC]: Likewise.
5575 * dirent/dirent.h [__USE_MISC]: Likewise.
5576 * grp/grp.h [__USE_MISC]: Likewise.
5577 * io/fcntl.h [__USE_MISC]: Likewise.
5578 * io/sys/stat.h [__USE_MISC]: Likewise.
5579 * libio/stdio.h [__USE_MISC]: Likewise.
5580 * posix/unistd.h [__USE_MISC]: Likewise.
5581 * pwd/pwd.h [__USE_MISC]: Likewise.
5582 * stdlib.h [__USE_MISC]: Likewise.
5583 * string/bits/string2.h [__USE_MISC]: Likewise.
5584 * string/string.h [__USE_MISC]: Likewise.
5585 * time/time.h [__USE_MISC]: Likewise.
5587 2014-02-13 Andreas Schwab <schwab@suse.de>
5590 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5591 second answer buffer if it was separately allocated.
5593 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5595 * sysdeps/mips/math-tests.h: Include <features.h>.
5596 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5597 (ROUNDING_TESTS_long_double): Do not define.
5598 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5599 (EXCEPTION_TESTS_long_double): Likewise.
5600 * sysdeps/mips/mips64/libm-test-ulps: Update.
5602 * include/features.h (__USE_BSD): Remove macro definitions.
5603 (__USE_SVID): Likewise.
5604 (_BSD_SOURCE): Likewise.
5605 (_SVID_SOURCE): Likewise.
5606 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5607 from definition of _DEFAULT_SOURCE.
5608 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5610 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5611 * bits/mman.h [__USE_BSD]: Likewise.
5612 * bits/termios.h [__USE_BSD]: Likewise.
5613 * bits/waitstatus.h [__USE_BSD]: Likewise.
5614 * ctype/ctype.h [__USE_SVID]: Likewise.
5615 * dirent/dirent.h [__USE_BSD]: Likewise.
5616 * grp/grp.h [__USE_SVID]: Likewise.
5617 [__USE_BSD]: Likewise.
5618 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5619 * io/fcntl.h [__USE_BSD]: Likewise.
5620 * io/ftw.h [__USE_BSD]: Likewise.
5621 * io/sys/stat.h [__USE_BSD]: Likewise.
5622 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5623 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5624 * libio/stdio.h [__USE_SVID]: Likewise.
5625 [__USE_BSD]: Likewise.
5626 * math/math.h [__USE_SVID]: Likewise.
5627 [__USE_BSD]: Likewise.
5628 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5629 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5630 * misc/search.h [__USE_SVID]: Likewise.
5631 * misc/sys/mman.h [__USE_BSD]: Likewise.
5632 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5633 * misc/sys/uio.h [__USE_BSD]: Likewise.
5634 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5635 * posix/glob.h [__USE_BSD]: Likewise.
5636 * posix/regex.h [__USE_BSD]: Likewise.
5637 * posix/sys/types.h [__USE_BSD]: Likewise.
5638 [__USE_SVID]: Likewise.
5639 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5640 * posix/sys/wait.h [__USE_BSD]: Likewise.
5641 [__USE_SVID]: Likewise.
5642 * posix/unistd.h [__USE_BSD]: Likewise.
5643 [__USE_SVID]: Likewise.
5644 * pwd/pwd.h [__USE_SVID]: Likewise.
5645 * resolv/netdb.h [__USE_BSD]: Likewise.
5646 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5647 * signal/signal.h [__USE_BSD]: Likewise.
5648 [__USE_SVID]: Likewise.
5649 * socket/sys/socket.h [__USE_BSD]: Likewise.
5650 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5651 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5652 [__USE_SVID]: Likewise.
5653 * string/bits/string2.h [__USE_BSD]: Likewise.
5654 [__USE_SVID]: Likewise.
5655 * string/bits/string3.h [__USE_BSD]: Likewise.
5656 * string/endian.h [__USE_BSD]: Likewise.
5657 * string/string.h [__USE_SVID]: Likewise.
5658 [__USE_BSD]: Likewise.
5659 * string/strings.h [__USE_BSD]: Likewise.
5660 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5661 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5662 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5663 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5664 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5665 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5667 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5669 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5670 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5672 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5673 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5675 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5677 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5678 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5679 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5681 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5683 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5684 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5685 * termios/termios.h [__USE_BSD]: Likewise.
5686 * time/sys/time.h [__USE_BSD]: Likewise.
5687 * time/time.h [__USE_BSD]: Likewise.
5688 [__USE_SVID]: Likewise.
5690 * Makefile (subdir_targets): Remove subdir_lint.out.
5692 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5693 (do-tst-printf): Likewise.
5694 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5695 $(objpfx)tst-printf.out.
5697 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5699 * Makerules (check-abi-%): Change target to
5700 $(objpfx)check-abi-%.out.
5701 (check-abi target): Update dependencies.
5702 (check-abi-pattern variable): Redirect output of diff to $@.
5703 (check-abi variable): Likewise.
5704 * elf/Makefile (check-abi): Update dependencies.
5706 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5708 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5709 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5711 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5712 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5713 value has largest subnormal exponent.
5714 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5715 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5716 * sysdeps/aarch64/soft-fp/sfp-machine.h
5717 (_FP_TININESS_AFTER_ROUNDING): New macro.
5718 * sysdeps/alpha/soft-fp/sfp-machine.h
5719 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5720 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5722 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5723 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5724 * sysdeps/mips/soft-fp/sfp-machine.h
5725 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5726 * sysdeps/powerpc/soft-fp/sfp-machine.h
5727 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5728 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5730 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5731 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5732 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5733 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5734 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5737 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5740 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5743 2014-02-12 Richard Henderson <rth@redhat.com>
5745 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5746 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5747 * sysdeps/unix/sysv/linux/alpha: Move directory from
5748 ports/sysdeps/unix/sysv/linux/alpha.
5749 * README: Update listing for alpha-*-linux-gnu.
5751 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5753 * include/features.h: Update comment documenting feature test
5755 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5757 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5758 (_SVID_SOURCE): Likewise.
5759 (_DEFAULT_SOURCE): Update description of default features.
5760 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5762 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5763 (S_ISVTX): Likewise.
5764 * manual/math.texi (Mathematical Constants): Likewise.
5765 * manual/signal.texi (Interrupted Primitives): Likewise.
5766 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5767 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5768 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5769 Don't refer to _SVID_SOURCE in warning text.
5771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5773 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5775 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5776 * sysdeps/mips/dl-lookup.c: Remove.
5777 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5779 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5782 * math/auto-libm-test-in: Add testcase for expl.
5783 * math/auto-libm-test-out: Regenerate.
5784 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5785 calculation of unsafe.
5786 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5788 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5790 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5791 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5792 ports/sysdeps/unix/sysv/linux/aarch64.
5793 * README: Update listing for aarch64*-*-linux-gnu.
5795 2014-02-11 Will Newton <will.newton@linaro.org>
5797 * manual/probes.texi (Mathematical Function Probes): Use
5798 "triggered" instead of "hit".
5800 * manual/probes.texi (Internal Probes): Add documentation
5801 of setjmp, longjmp and longjmp_target probes.
5803 * include/stap-probe.h: Add comment about probe argument
5806 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5807 definition. (tr_where, tr_freehook, tr_mallochook,
5808 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5810 2014-02-11 David S. Miller <davem@davemloft.net>
5812 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5813 processing int_tests.
5815 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5817 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5818 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5819 * sysdeps/unix/sysv/linux/mips: Move directory from
5820 ports/sysdeps/unix/sysv/linux/mips.
5821 * README: Update listing for mips-*-linux-gnu and
5824 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5826 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5827 * sysdeps/unix/sysv/linux/m68k: Move directory from
5828 ports/sysdeps/unix/sysv/linux/m68k.
5829 * README: Update listing for m68k-*-linux-gnu.
5831 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5833 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5834 * sysdeps/unix/sysv/linux/generic: Move directory from
5835 ports/sysdeps/unix/sysv/linux/generic.
5836 * sysdeps/unix/sysv/linux/tile: Move directory from
5837 ports/sysdeps/unix/sysv/linux/tile.
5838 * README: Update listing for tile*-*-linux-gnu.
5840 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5842 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5844 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5845 * catgets/open_catalog.c (__open_catalog): Likewise.
5846 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5847 * debug/confstr_chk.c: Likewise.
5848 * debug/fread_chk.c (__fread_chk): Likewise.
5849 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5850 * debug/getgroups_chk.c: Likewise.
5851 * debug/mbsnrtowcs_chk.c: Likewise.
5852 * debug/mbsrtowcs_chk.c: Likewise.
5853 * debug/mbstowcs_chk.c: Likewise.
5854 * debug/memcpy_chk.c: Likewise.
5855 * debug/memmove_chk.c: Likewise.
5856 * debug/mempcpy_chk.c: Likewise.
5857 * debug/memset_chk.c: Likewise.
5858 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5859 * debug/strcat_chk.c (__strcat_chk): Likewise.
5860 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5861 * debug/strncat_chk.c (__strncat_chk): Likewise.
5862 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5863 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5864 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5865 * debug/wcpncpy_chk.c: Likewise.
5866 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5867 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5868 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5869 * debug/wcsncpy_chk.c: Likewise.
5870 * debug/wcsnrtombs_chk.c: Likewise.
5871 * debug/wcsrtombs_chk.c: Likewise.
5872 * debug/wcstombs_chk.c: Likewise.
5873 * debug/wmemcpy_chk.c: Likewise.
5874 * debug/wmemmove_chk.c: Likewise.
5875 * debug/wmempcpy_chk.c: Likewise.
5876 * debug/wmemset_chk.c: Likewise.
5877 * dirent/scandirat.c (SCANDIRAT): Likewise.
5878 * dlfcn/dladdr1.c (dladdr1): Likewise.
5879 * dlfcn/dladdr.c (dladdr): Likewise.
5880 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5881 * dlfcn/dlerror.c (__dlerror): Likewise.
5882 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5883 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5884 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5885 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5886 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5887 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5888 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5889 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5891 * elf/dl-conflict.c: Likewise.
5892 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5893 * elf/dl-dst.h: Likewise.
5894 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5895 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5896 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5897 * elf/dl-init.c (call_init, _dl_init): Likewise.
5898 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5899 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5900 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5902 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5904 * elf/dl-minimal.c (__libc_memalign): Likewise.
5905 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5906 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5907 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5908 * elf/dl-sym.c (do_sym): Likewise.
5909 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5910 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5911 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5912 * elf/dl-writev.h (_dl_writev): Likewise.
5913 * elf/ldconfig.c (search_dir): Likewise.
5914 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5915 (dl_main): Likewise.
5916 * elf/setup-vdso.h (setup_vdso): Likewise.
5917 * grp/compat-initgroups.c (compat_call): Likewise.
5918 * grp/fgetgrent.c (fgetgrent): Likewise.
5919 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5920 * grp/putgrent.c (putgrent): Likewise.
5921 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5923 * hurd/hurdinit.c: Likewise.
5924 * iconvdata/8bit-gap.c (struct): Likewise.
5925 * iconvdata/ansi_x3.110.c : Likewise.
5926 * iconvdata/big5.c : Likewise.
5927 * iconvdata/big5hkscs.c : Likewise.
5928 * iconvdata/cp1255.c: Likewise.
5929 * iconvdata/cp1258.c : Likewise.
5930 * iconvdata/cp932.c : Likewise.
5931 * iconvdata/euc-cn.c: Likewise.
5932 * iconvdata/euc-jisx0213.c : Likewise.
5933 * iconvdata/euc-jp.c: Likewise.
5934 * iconvdata/euc-jp-ms.c : Likewise.
5935 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5936 * iconvdata/gb18030.c : Likewise.
5937 * iconvdata/gbbig5.c (const): Likewise.
5938 * iconvdata/gbgbk.c: Likewise.
5939 * iconvdata/gbk.c : Likewise.
5940 * iconvdata/ibm1364.c : Likewise.
5941 * iconvdata/ibm930.c : Likewise.
5942 * iconvdata/ibm932.c: Likewise.
5943 * iconvdata/ibm933.c : Likewise.
5944 * iconvdata/ibm935.c : Likewise.
5945 * iconvdata/ibm937.c : Likewise.
5946 * iconvdata/ibm939.c : Likewise.
5947 * iconvdata/ibm943.c: Likewise.
5948 * iconvdata/iso_11548-1.c: Likewise.
5949 * iconvdata/iso-2022-cn.c : Likewise.
5950 * iconvdata/iso-2022-cn-ext.c : Likewise.
5951 * iconvdata/iso-2022-jp-3.c: Likewise.
5952 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5953 * iconvdata/iso-2022-kr.c : Likewise.
5954 * iconvdata/iso646.c (gconv_end): Likewise.
5955 * iconvdata/iso_6937-2.c : Likewise.
5956 * iconvdata/iso_6937.c : Likewise.
5957 * iconvdata/iso8859-1.c: Likewise.
5958 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5959 * iconvdata/shift_jisx0213.c : Likewise.
5960 * iconvdata/sjis.c : Likewise.
5961 * iconvdata/t.61.c : Likewise.
5962 * iconvdata/tcvn5712-1.c : Likewise.
5963 * iconvdata/tscii.c: Likewise.
5964 * iconvdata/uhc.c : Likewise.
5965 * iconvdata/unicode.c (gconv_end): Likewise.
5966 * iconvdata/utf-16.c (gconv_end): Likewise.
5967 * iconvdata/utf-32.c (gconv_end): Likewise.
5968 * iconvdata/utf-7.c (base64): Likewise.
5969 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5970 * iconv/gconv_close.c (__gconv_close): Likewise.
5971 * iconv/gconv_open.c (__gconv_open): Likewise.
5972 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5973 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5974 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5975 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5976 (ucs4le_internal_loop_single): Likewise.
5977 * iconv/iconv.c (iconv): Likewise.
5978 * iconv/iconv_close.c: Likewise.
5979 * iconv/loop.c (SINGLE): Likewise.
5980 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5981 * include/atomic.h: Likewise.
5982 * inet/inet6_option.c (option_alloc): Likewise.
5983 * intl/bindtextdom.c (set_binding_values): Likewise.
5984 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5985 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5986 * intl/localealias.c (read_alias_file): Likewise.
5987 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5988 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5989 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5990 * libio/fmemopen.c (fmemopen): Likewise.
5991 * libio/iofgets.c (_IO_fgets): Likewise.
5992 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5993 * libio/iofgetws.c (fgetws): Likewise.
5994 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5995 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5996 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5997 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5998 * locale/findlocale.c (_nl_find_locale): Likewise.
5999 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6000 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6002 * locale/setlocale.c (setlocale): Likewise.
6003 * login/programs/pt_chown.c (main): Likewise.
6004 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6005 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6006 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6007 (mmap, mmap64, mremap, munmap): Likewise.
6008 * math/e_exp2l.c: Likewise.
6009 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6010 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6011 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6012 * math/s_catan.c (__catan): Likewise.
6013 * math/s_catanf.c (__catanf): Likewise.
6014 * math/s_catanh.c (__catanh): Likewise.
6015 * math/s_catanhf.c (__catanhf): Likewise.
6016 * math/s_catanhl.c (__catanhl): Likewise.
6017 * math/s_catanl.c (__catanl): Likewise.
6018 * math/s_ccosh.c (__ccosh): Likewise.
6019 * math/s_ccoshf.c (__ccoshf): Likewise.
6020 * math/s_ccoshl.c (__ccoshl): Likewise.
6021 * math/s_cexp.c (__cexp): Likewise.
6022 * math/s_cexpf.c (__cexpf): Likewise.
6023 * math/s_cexpl.c (__cexpl): Likewise.
6024 * math/s_clog10.c (__clog10): Likewise.
6025 * math/s_clog10f.c (__clog10f): Likewise.
6026 * math/s_clog10l.c (__clog10l): Likewise.
6027 * math/s_clog.c (__clog): Likewise.
6028 * math/s_clogf.c (__clogf): Likewise.
6029 * math/s_clogl.c (__clogl): Likewise.
6030 * math/s_csin.c (__csin): Likewise.
6031 * math/s_csinf.c (__csinf): Likewise.
6032 * math/s_csinh.c (__csinh): Likewise.
6033 * math/s_csinhf.c (__csinhf): Likewise.
6034 * math/s_csinhl.c (__csinhl): Likewise.
6035 * math/s_csinl.c (__csinl): Likewise.
6036 * math/s_csqrt.c (__csqrt): Likewise.
6037 * math/s_csqrtf.c (__csqrtf): Likewise.
6038 * math/s_csqrtl.c (__csqrtl): Likewise.
6039 * math/s_ctan.c (__ctan): Likewise.
6040 * math/s_ctanf.c (__ctanf): Likewise.
6041 * math/s_ctanh.c (__ctanh): Likewise.
6042 * math/s_ctanhf.c (__ctanhf): Likewise.
6043 * math/s_ctanhl.c (__ctanhl): Likewise.
6044 * math/s_ctanl.c (__ctanl): Likewise.
6045 * math/w_pow.c: Likewise.
6046 * math/w_powf.c: Likewise.
6047 * math/w_powl.c: Likewise.
6048 * math/w_scalb.c (sysv_scalb): Likewise.
6049 * math/w_scalbf.c (sysv_scalbf): Likewise.
6050 * math/w_scalbl.c (sysv_scalbl): Likewise.
6051 * misc/error.c (error_tail): Likewise.
6052 * misc/pselect.c (__pselect): Likewise.
6053 * nis/nis_callback.c (__nis_create_callback): Likewise.
6054 * nis/nis_call.c (__nisfind_server): Likewise.
6055 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6056 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6057 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6058 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6059 * nis/nis_lookup.c (nis_lookup): Likewise.
6060 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6061 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6062 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6063 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6064 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6065 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6066 * nis/nss_compat/compat-initgroups.c (add_group)
6067 (internal_getgrent_r): Likewise.
6068 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6069 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6070 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6071 (internal_getspnam_r): Likewise.
6072 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6073 (_nss_nis_getaliasbyname_r): Likewise.
6074 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6075 (_nss_nis_getntohost_r): Likewise.
6076 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6077 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6078 (_nss_nis_getgrgid_r): Likewise.
6079 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6080 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6081 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6082 (_nss_nis_gethostbyname4_r): Likewise.
6083 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6084 (initgroups_netid): Likewise.
6085 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6086 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6087 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6088 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6089 (_nss_nis_getprotobynumber_r): Likewise.
6090 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6091 (_nss_nis_getsecretkey): Likewise.
6092 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6093 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6094 (_nss_nis_getpwuid_r): Likewise.
6095 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6096 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6097 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6098 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6099 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6100 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6101 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6103 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6104 (_nss_nisplus_getntohost_r): Likewise.
6105 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6106 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6107 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6108 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6110 * nis/nss_nisplus/nisplus-initgroups.c
6111 (_nss_nisplus_initgroups_dyn): Likewise.
6112 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6113 (_nss_nisplus_getnetbyaddr_r): Likewise.
6114 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6115 (_nss_nisplus_getprotobynumber_r): Likewise.
6116 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6117 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6118 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6120 * nis/nss_nisplus/nisplus-service.c
6121 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6122 (_nss_nisplus_getservbyport_r): Likewise.
6123 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6124 (_nss_nisplus_getspnam_r): Likewise.
6125 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6127 * nscd/aicache.c (addhstaiX): Likewise.
6128 * nscd/cache.c (cache_search, prune_cache): Likewise.
6129 * nscd/connections.c (register_traced_file, send_ro_fd)
6130 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6131 (main_loop_epoll): Likewise.
6132 * nscd/grpcache.c (addgrbyX): Likewise.
6133 * nscd/hstcache.c (addhstbyX): Likewise.
6134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6135 * nscd/mem.c (gc, mempool_alloc): Likewise.
6136 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6137 (addinnetgrX): Likewise.
6138 * nscd/nscd-client.h (__nscd_acquire_maplock)
6139 (__nscd_drop_map_ref): Likewise.
6140 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6141 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6142 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6144 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6145 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6146 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6147 (__nscd_get_map_ref): Likewise.
6148 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6149 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6151 * nscd/pwdcache.c (addpwbyX): Likewise.
6152 * nscd/selinux.c (preserve_capabilities): Likewise.
6153 * nscd/servicescache.c (addservbyX): Likewise.
6154 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6155 * posix/fnmatch.c (fnmatch): Likewise.
6156 * posix/getopt.c (_getopt_internal_r): Likewise.
6157 * posix/glob.c (glob, glob_in_dir): Likewise.
6158 * posix/wordexp.c (exec_comm_child): Likewise.
6159 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6160 (getanswer_r, gaih_getanswer_slice): Likewise.
6161 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6162 * resolv/res_init.c: Likewise.
6163 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6164 * resolv/res_query.c (__libc_res_nquery): Likewise.
6165 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6167 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6168 * stdio-common/perror.c (perror): Likewise.
6169 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6170 * stdio-common/tmpnam.c (tmpnam): Likewise.
6171 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6172 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6173 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6175 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6176 * stdlib/putenv.c (putenv): Likewise.
6177 * stdlib/setenv.c (__add_to_environ): Likewise.
6178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6179 * stdlib/strtol_l.c (INTERNAL): Likewise.
6180 * string/memmem.c (memmem): Likewise.
6181 * string/strerror.c (strerror): Likewise.
6182 * string/strnlen.c (__strnlen): Likewise.
6183 * string/test-memmem.c (simple_memmem): Likewise.
6184 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6185 * sunrpc/pm_getport.c (__get_socket): Likewise.
6186 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6187 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6188 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6189 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6191 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6192 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6193 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6194 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6195 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6196 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6198 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6200 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6201 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6202 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6203 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6204 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6206 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6207 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6208 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6209 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6210 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6211 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6213 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6215 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6217 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6218 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6219 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6220 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6221 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6222 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6223 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6225 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6226 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6227 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6229 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6230 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6232 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6234 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6236 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6238 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6240 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6242 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6244 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6245 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6246 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6247 * sysdeps/posix/sleep.c: Likewise.
6248 * sysdeps/posix/tempname.c: Likewise.
6249 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6250 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6252 * sysdeps/powerpc/powerpc32/dl-machine.h
6253 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6254 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6255 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6256 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6257 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6259 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6260 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6261 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6262 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6263 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6264 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6265 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6266 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6267 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6268 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6269 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6270 (elf_machine_lazy_rel): Likewise.
6271 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6273 (elf_machine_lazy_rel): Likewise.
6274 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6275 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6276 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6277 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6278 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6279 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6280 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6283 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6284 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6285 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6286 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6287 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6288 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6289 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6290 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6291 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6292 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6293 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6295 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6296 (__posix_fallocate64_l64): Likewise.
6297 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6298 (posix_fallocate): Likewise.
6299 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6302 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6303 (getifaddrs_internal): Likewise.
6304 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6305 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6306 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6307 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6308 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6309 (__posix_fallocate64_l64): Likewise.
6310 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6312 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6313 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6314 (__get_clockfreq): Likewise.
6315 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6316 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6317 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6319 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6320 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6321 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6322 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6324 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6325 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6326 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6327 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6328 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6329 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6330 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6332 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6333 (posix_fallocate): Likewise.
6334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6335 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6336 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6337 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6338 (elf_machine_rela, elf_machine_rela_relative)
6339 (elf_machine_lazy_rel): Likewise.
6340 * time/asctime.c (asctime_internal): Likewise.
6341 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6342 * time/tzset.c (__tzset_parse_tz): Likewise.
6343 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6344 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6345 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6346 * wcsmbs/wcsmbsload.h: Likewise.
6349 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6351 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6352 (arena_get2): Remove THREAD_STATS conditionals.
6353 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6354 (__malloc_stats, int): Likewise.
6356 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6358 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6359 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6361 * manual/setjmp.texi: Fix typos/grammar errors.
6363 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6364 Only return early when n is <= 0. Delete unused return statement.
6366 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6367 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6368 * debug/tst-longjmp_chk3.c: New file.
6370 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6371 (test_main): Replace code with set_fortify_handler call.
6372 * debug/test-strcpy_chk.c: Likewise.
6373 * debug/tst-chk1.c: Likewise.
6374 * debug/tst-longjmp_chk.c: Likewise.
6375 * test-skeleton.c: Include fcntl.h & paths.h
6376 (set_fortify_handler): Define.
6378 * debug/tst-longjmp_chk.c: Add header comment and include
6380 (do_test): Mark static.
6381 (TEST_FUNCTION): Define.
6383 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6384 (IP_PMTUDISC_INTERFACE): Likewise.
6385 (IP_MULTICAST_IF): Likewise.
6386 (IP_MULTICAST_TTL): Likewise.
6387 (IP_MULTICAST_LOOP): Likewise.
6388 (IP_ADD_MEMBERSHIP): Likewise.
6389 (IP_DROP_MEMBERSHIP): Likewise.
6390 (IP_UNBLOCK_SOURCE): Likewise.
6391 (IP_BLOCK_SOURCE): Likewise.
6392 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6393 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6394 (IP_MSFILTER): Likewise.
6395 (MCAST_JOIN_GROUP): Likewise.
6396 (MCAST_BLOCK_SOURCE): Likewise.
6397 (MCAST_UNBLOCK_SOURCE): Likewise.
6398 (MCAST_LEAVE_GROUP): Likewise.
6399 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6400 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6401 (MCAST_MSFILTER): Likewise.
6402 (IP_MULTICAST_ALL): Likewise.
6403 (IP_UNICAST_IF): Likewise.
6405 * timezone/Makefile: Delete $(have-ksh) check.
6406 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6407 * timezone/tzselect.ksh: Add +x mode bits.
6409 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6410 (ANON_INODE_FS_MAGIC): Likewise.
6411 (BDEVFS_MAGIC): Likewise.
6412 (BINFMTFS_MAGIC): Likewise.
6413 (BTRFS_TEST_MAGIC): Likewise.
6414 (CRAMFS_MAGIC_WEND): Likewise.
6415 (DEBUGFS_MAGIC): Likewise.
6416 (ECRYPTFS_SUPER_MAGIC): Likewise.
6417 (EXT3_SUPER_MAGIC): Likewise.
6418 (EXT4_SUPER_MAGIC): Likewise.
6419 (FUTEXFS_SUPER_MAGIC): Likewise.
6420 (HOSTFS_SUPER_MAGIC): Likewise.
6421 (HUGETLBFS_MAGIC): Likewise.
6422 (MINIX3_SUPER_MAGIC): Likewise.
6423 (MTD_INODE_FS_MAGIC): Likewise.
6424 (NILFS_SUPER_MAGIC): Likewise.
6425 (OPENPROM_SUPER_MAGIC): Likewise.
6426 (PIPEFS_MAGIC): Likewise.
6427 (PSTOREFS_MAGIC): Likewise.
6428 (QNX6_SUPER_MAGIC): Likewise.
6429 (RAMFS_MAGIC): Likewise.
6430 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6431 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6432 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6433 (SECURITYFS_MAGIC): Likewise.
6434 (SELINUX_MAGIC): Likewise.
6435 (SMACK_MAGIC): Likewise.
6436 (SOCKFS_MAGIC): Likewise.
6437 (SQUASHFS_MAGIC): Likewise.
6438 (STACK_END_MAGIC): Likewise.
6439 (TMPFS_MAGIC): Likewise.
6440 (USBDEVICE_SUPER_MAGIC): Likewise.
6441 (V9FS_MAGIC): Likewise.
6442 (XENFS_SUPER_MAGIC): Likewise.
6443 (CRAMFS_MAGIC): Fix typo in comment.
6444 (EXT2_SUPER_MAGIC): Update comment.
6445 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6447 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6449 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6450 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6451 * sysdeps/unix/sysv/linux/arm: Move directory from
6452 ports/sysdeps/unix/sysv/linux/arm.
6453 * README: Update listing for arm-*-linux-gnueabi.
6455 * README: Remove mention of am33.
6457 2014-02-07 Roland McGrath <roland@hack.frob.com>
6459 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6460 than the comma operator, to avoid "rhs of comma has no effect"
6462 (__sigfillset, __sigandset, __sigorset): Likewise.
6463 * include/signal.h (__sigemptyset): Likewise.
6464 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6466 2014-02-07 Allan McRae <allan@archlinux.org>
6468 * version.h (RELEASE): Set to "development".
6469 (VERSION): Set to "2.19.90"
6470 * NEWS: Add 2.20 section.
6472 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6475 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6477 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6479 * manual/contrib.texi: Update entry for Carlos O'Donell,
6480 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6482 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6484 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6486 * sysdeps/unix/sysv/linux/kernel-features.h
6487 [__LINUX_KERNEL_VERSION >= 0x020621]
6488 (__ASSUME_PROC_PID_TASK_COMM): Define.
6490 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6493 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6494 conversion when destination buffer does not have enough space.
6495 * libio/tst-ftell-partial-wide.c: New test case.
6496 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6498 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6499 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6500 Leonard and Allan McRae.
6502 2014-02-04 David S. Miller <davem@davemloft.net>
6504 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6507 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6536 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6538 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6539 * shlib-versions: Likewise.
6541 2014-02-04 Roland McGrath <roland@hack.frob.com>
6542 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6544 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6545 (abilist-pattern): New variable, set to %-le.abilist.
6547 * Makerules (abilist-pattern): New variable.
6548 (vpath): Use $(abilist-pattern) in place of %.abilist.
6549 (check-abi-% pattern rule): Likewise.
6550 (check-abi, update-abi): Likewise.
6552 2014-02-04 Eric Wong <normalperson@yhbt.net>
6554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6556 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6558 * manual/startup.texi: Add next, previous, and top entries for
6559 the `Program Arguments' and `Environment Variables' nodes.
6561 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6563 * manual/macros.texi: Add comments before MTASC-safety macros.
6565 * manual/users.texi: Document MTASC-safety properties.
6567 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6568 (pthread_getspecific, pthread_setspecific): Format with
6569 @deftypefun, and add @safety note.
6570 * manual/signal.texi: Move comments that analyze the above
6571 functions to their home place.
6573 2014-02-03 Allan McRae <allan@archlinux.org>
6575 * po/sl.po: Update Slovenian translation from translation project.
6577 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6579 * manual/time.texi (timegm): Add missing blank after @c.
6580 Reported by Joseph Myers <joseph@codesourcery.com>.
6582 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6584 * manual/check-safety.sh: New.
6585 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6587 * manual/terminal.texi: Document MTASC-safety properties.
6589 * manual/filesys.texi: Document MTASC-safety properties.
6591 * manual/errno.texi: Document MTASC-safety properties.
6593 * manual/intro.texi: Document safety identifiers and
6596 * manual/string.texi (wcstok): Fix prototype.
6597 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6599 * manual/time.texi: Document MTASC-safety properties.
6601 * manual/string.texi: Document MTASC-safety properties.
6603 * manual/threads.texi: Document MTASC-safety properties.
6605 * manual/stdio.texi: Document MTASC-safety properties.
6607 * manual/syslog.texi: Document MTASC-safety properties.
6609 * manual/sysinfo.texi: Document MTASC-safety properties.
6611 * manual/startup.texi: Document MTASC-safety properties.
6613 * manual/socket.texi: Document MTASC-safety properties.
6615 * manual/signal.texi: Document MTASC-safety properties.
6617 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6619 * manual/setjmp.texi: Document MTASC-safety properties.
6621 * manual/search.texi: Document MTASC-safety properties.
6623 * manual/resource.texi: Document MTASC-safety properties.
6625 * manual/process.texi: Document MTASC-safety properties.
6627 * manual/platform.texi: Document MTASC-safety properties.
6629 * manual/pipe.texi: Document MTASC-safety properties.
6631 * manual/pattern.texi: Document MTASC-safety properties.
6633 * manual/message.texi: Document MTASC-safety properties.
6636 * manual/memory.texi: Document MTASC-safety properties.
6638 * manual/math.texi: Document MTASC-safety properties.
6640 * manual/locale.texi: Document MTASC-safety properties.
6642 * manual/llio.texi: Document MTASC-safety properties.
6644 * manual/libdl.texi: New.
6646 * manual/lang.texi: Document MTASC-safety properties.
6648 * manual/job.texi: Document MTASC-safety properties.
6650 * manual/getopt.texi: Document MTASC-safety properties.
6652 * manual/ctype.texi: Document MTASC-safety properties.
6654 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6657 * csu/libc-tls.c (static_map): Remove variable.
6658 (__libc_setup_tls): Use main executable's link map for TLS data.
6659 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6660 casing for LM_ID_BASE and GL(dl_nns).
6661 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6662 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6663 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6664 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6665 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6667 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6670 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6672 * manual/debug.texi: Document MTASC-safety properties.
6674 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6677 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6678 of __x86_64__ when disabling x87 inline functions.
6680 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6682 * manual/charset.texi: Document MTASC-safety properties.
6684 * manual/crypt.texi: Document MTASC-safety properties.
6686 * manual/conf.texi: Document MTASC-safety properties.
6688 * manual/arith.texi: Document MTASC-safety properties.
6690 * manual/argp.texi: Document MTASC-safety properties.
6692 * manual/macros.texi: Introduce macros to document multi
6693 thread, asynchronous signal and asynchronous cancellation
6695 * manual/intro.texi: Introduce the properties themselves.
6697 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6699 * sysdeps/sh/sh4/Makefile: New file.
6701 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6703 * math/gen-libm-test.pl ($srcdir): New variable.
6704 ($auto_input): Use it.
6706 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6709 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6710 access beyond array bounds when parsing netgroups file.
6712 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6713 the old buffer before realloc.
6715 2014-01-27 Allan McRae <allan@archlinux.org>
6717 * po/fr.po: Update French translation from translation project.
6719 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6721 * sysdeps/sh/libm-test-ulps: Regenerate.
6723 2014-01-24 David S. Miller <davem@davemloft.net>
6725 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6727 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6729 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6730 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6732 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6735 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6736 string pointers after reallocation.
6738 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6740 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6741 __SH4A__ instead of __SH_FPU_ANY__.
6743 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6745 * sysdeps/sh/fpu_control.h: New file.
6746 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6747 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6748 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6749 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6750 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6751 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6752 * sysdeps/sh/sys/ucontext.h: Remove.
6753 * sysdeps/sh/sys: Remove directory.
6755 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6757 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6758 s390/sys/ucontext.h.
6759 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6760 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6762 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6765 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6767 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6770 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6771 Adjust the vDSO correctly for internal calls.
6772 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6774 2014-01-20 Allan McRae <allan@archlinux.org>
6776 * po/ca.po: Update Catalan translation from translation project.
6778 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6780 * sysdeps/s390/sotruss-lib.c: New file.
6782 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6785 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6786 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6787 local calls issues by not having a PLT stub required for IFUNC calls.
6788 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6790 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6792 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6793 * math/test-fpucw-static.c: Likewise.
6795 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6798 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6800 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6802 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6803 implementation for powerpc.
6805 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6808 * sysdeps/posix/system.c (__libc_system): Do not enable
6809 asynchronous cancellation.
6811 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6814 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6815 handling only for numbers special also in the IEEE case.
6817 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6819 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6821 2014-01-11 Allan McRae <allan@archlinux.org>
6823 * po/bg.po: Update Bulgarian translation from translation project.
6825 * po/de.po: Update German translation from translation project.
6827 2014-01-10 Roland McGrath <roland@hack.frob.com>
6829 * sysdeps/generic/gcc-compat.h: New file.
6831 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6833 * benchtests/asin-inputs: Correct slow inputs.
6834 * benchtests/acos-inputs: Likewise.
6836 2014-01-10 Allan McRae <allan@archlinux.org>
6838 * po:sv.po: Update Swedish translation from translation project.
6840 * po/vi.po: Update Vietnamese translation from translation project.
6842 * po/eo.po: Update Esperanto translation from translation project.
6844 * po/cs.po: Update Czech translation from translation project.
6846 * po/nl.po: Update Dutch translation from translation project.
6848 * po/pl.po: Update Polish translation from translation project.
6850 * po/ru.po: Update Russian translation from translation project.
6852 * po/uk.po: Update Ukrainian translation from translation project.
6854 2014-01-08 Brooks Moses <bmoses@google.com>
6856 * elf/dl-load.c: Fix comment typo.
6858 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6860 * po/header.pot: Rename to...
6861 * po/pot.header: ... this.
6862 * po/Makefile: Use pot.header.
6864 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6865 Maxim Kuvyrkov <maxim@kugelworks.com>
6868 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6869 SRC and DEST against LEN.
6871 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6874 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6876 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6878 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6882 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6885 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6886 for large positive arguments.
6888 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6890 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6892 * math/auto-libm-test-in: Mark various tests with
6893 xfail-rounding:ldbl-128ibm.
6894 * math/auto-libm-test-out: Regenerated.
6897 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6898 Increase overflow threshold.
6900 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6903 * stdio-common/vfprintf.c: Check for integer overflow.
6905 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6907 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6908 the first argument and return value of __tls_get_addr_internal.
6910 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6912 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6913 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6915 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6917 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6918 * sysdeps/s390/rtld-global-offsets.sym: New file.
6919 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6921 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6922 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6923 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6925 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6926 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6932 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6933 halfs of GPRs for high_gprs contexts.
6934 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6935 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6937 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6939 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6941 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6942 for high GPRs (uc_high_gprs) and for future extensions
6944 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6945 for future extensions (__reserved).
6946 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6948 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6949 SC_HIGHGPRS offset definition.
6950 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6951 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6953 * Versions.def: Add GLIBC_2.19 for libpthread.
6954 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6955 siglongjmp for libpthread with GLIBC_2.19 symver.
6956 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6957 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6958 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6959 * sysdeps/s390/__longjmp.c: New file.
6960 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6961 * sysdeps/s390/longjmp.c: New file.
6962 * sysdeps/s390/setjmp.S: New file.
6963 * sysdeps/s390/sigjmp.S: New file.
6964 * sysdeps/s390/v1-longjmp.c: New file.
6965 * sysdeps/s390/v1-setjmp.h: New file.
6966 * sysdeps/s390/v1-sigjmp.c: New file.
6967 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6968 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6970 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6971 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6972 versioned symbols for ____longjmp_chk.
6973 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6983 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6984 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6985 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6986 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6987 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6988 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6989 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6990 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6991 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6992 * sysdeps/s390/rtld-__longjmp.c: New file.
6993 * sysdeps/s390/rtld-setjmp.S: New file.
6995 2014-01-06 Joseph Myers <joseph@codesourcery.com>
6998 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6999 Return -__logl (x) for small positive arguments without evaluating
7002 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7004 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7006 (__ptrace_peeksiginfo_args): ... this.
7007 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7008 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7009 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7011 2014-01-06 Allan McRae <allan@archlinux.org>
7013 * inet/netinet/in.h: Fix typo in comment.
7015 2014-01-05 Andreas Jaeger <aj@suse.de>
7017 * sysdeps/i386/fpu/libm-test-ulps: Update.
7019 2014-01-05 Allan McRae <allan@archlinux.org>
7021 * po/libc.pot: Regenerated.
7023 * malloc/memusagestat.c: Fix gettext call formatting.
7025 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7027 * nscd/nscd.c: Improve usage() output.
7029 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7031 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7032 * sysdeps/unix/sysv/linux/configure: Regenerated.
7033 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7034 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7036 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7039 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7040 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7042 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7044 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7045 extra tokens at end of #undef directive.
7046 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7047 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7048 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7050 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7052 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7054 * math/auto-libm-test-in: Mark various tests with
7055 xfail-rounding:ldbl-128ibm.
7056 * math/auto-libm-test-out: Regenerated.
7058 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7061 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7062 numbers with subnormal high part when calculating exponent.
7065 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7071 (__ieee754_acoshl): Use __log1pl not __log1p.
7073 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7075 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7076 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7077 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7078 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7079 (reused_arena, arena_get2): Convert to GNU style.
7080 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7081 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7082 (memalign_check, __malloc_set_state): Likewise.
7083 * malloc/mallocbug.c (main): Likewise.
7084 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7085 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7086 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7087 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7088 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7089 (__posix_memalign, malloc_info): Likewise.
7090 * malloc/malloc.h: Likewise.
7091 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7092 (mallochook, memalignhook, reallochook, mabort): Likewise.
7093 * malloc/mcheck.h: Likewise.
7094 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7095 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7096 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7097 * malloc/morecore.c (__default_morecore): Likewise.
7098 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7099 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7100 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7101 (print_and_abort): Likewise.
7102 * malloc/obstack.h: Likewise.
7103 * malloc/set-freeres.c (__libc_freeres): Likewise.
7104 * malloc/tst-mallocstate.c (main): Likewise.
7105 * malloc/tst-mtrace.c (main): Likewise.
7106 * malloc/tst-realloc.c (do_test): Likewise.
7108 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7111 * nscd/netgroupcache.c (do_notfound): New function.
7112 (addgetnetgrentX): Use it.
7115 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7116 NSS_STATUS_NOTFOUND.
7118 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7120 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7123 2014-01-01 Allan McRae <allan@archlinux.org>
7125 * scripts/update-copyrights: Update configure input file suffix.
7127 * NEWS: Update copyright year.
7128 * catgets/gencat.c: Likewise.
7129 * csu/version.c: Likewise.
7130 * debug/catchsegv.sh: Likewise.
7131 * debug/pcprofiledump.c: Likewise.
7132 * debug/xtrace.sh: Likewise.
7133 * elf/ldconfig.c: Likewise.
7134 * elf/ldd.bash.in: Likewise.
7135 * elf/pldd.c: Likewise.
7136 * elf/sotruss.ksh: Likewise.
7137 * elf/sprof.c: Likewise.
7138 * iconv/iconv_prog.c: Likewise.
7139 * iconv/iconvconfig.c: Likewise.
7140 * locale/programs/locale.c: Likewise.
7141 * locale/programs/localedef.c: Likewise.
7142 * login/programs/pt_chown.c: Likewise.
7143 * malloc/memusage.sh: Likewise.
7144 * malloc/memusagestat.c: Likewise.
7145 * malloc/mtrace.pl: Likewise.
7146 * manual/libc.texinfo: Likewise.
7147 * nscd/nscd.c: Likewise.
7148 * nss/getent.c: Likewise.
7149 * nss/makedb.c: Likewise.
7150 * posix/getconf.c: Likewise.
7151 * scripts/test-installation.pl: Likewise.
7153 * All files with FSF copyright notices: Update copyright dates
7154 using scripts/update-copyrights.
7155 * intl/plural.c: Regenerated.
7156 * locale/programs/charmap-kw.h: Likewise.
7157 * locale/programs/locfile-kw.h: Likewise.
7159 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7161 * sysdeps/unix/sysv/linux/configure: Regenerated.
7162 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7163 the linux/fanotify.h header.
7164 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7165 HAVE_LINUX_FANOTIFY_H is defined.
7167 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7169 * benchtests/cos-inputs: New inputs.
7170 * benchtests/sin-inputs: Likewise.
7172 * benchtests/atan-inputs: New inputs. Fix name of multiple
7173 precision fallback inputs.
7175 * benchtests/atanh-inputs: New inputs.
7176 * benchtests/tanh-inputs: Likewise.
7178 * benchtests/acosh-inputs: New inputs.
7179 * benchtests/asinh-inputs: Likewise.
7181 * benchtests/cosh-inputs: New inputs.
7182 * benchtests/sinh-inputs: Likewise.
7184 * benchtests/acos-inputs: Add more inputs.
7185 * benchtests/asin-inputs: Likewise.
7187 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7190 * manual/arith.texi: Fix spelling.
7191 * manual/charset.texi: Likewise.
7192 * manual/errno.texi: Likewise.
7193 * manual/filesys.texi: Likewise.
7194 * manual/lang.texi: Likewise.
7195 * manual/llio.texi: Likewise.
7196 * manual/locale.texi: Likewise.
7197 * manual/message.texi: Likewise.
7198 * manual/resource.texi: Likewise.
7199 * manual/search.texi: Likewise.
7200 * manual/setjmp.texi: Likewise.
7201 * manual/stdio.texi: Likewise.
7202 * manual/string.texi: Likewise.
7203 * manual/sysinfo.texi: Likewise.
7204 * manual/time.texi: Likewise.
7206 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7208 * po/sl.po: New file.
7210 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7212 * .gitignore: Add core/.gdbinit/.gdb_history.
7214 2013-12-27 Allan McRae <allan@archlinux.org>
7217 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7218 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7220 2013-12-24 Brooks Moses <bmoses@google.com>
7222 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7223 all compilers that claim C++98 compliance, not just GCC.
7224 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7227 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7229 * NEWS: Restore accidentally deleted bug-fix entries.
7231 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7232 Ondřej Bílka <neleai@seznam.cz>
7235 * malloc/malloc.c (_int_free): Perform sanity check only if we
7238 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7241 * manual/stdio.texi (String Input Conversions): Clarify that character
7242 classes are not supported.
7244 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7248 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7251 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7252 Calculate results for small negative arguments directly rather
7253 than using reflection formula with special underflow handling.
7255 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7256 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7257 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7258 (fchflags): Likewise.
7260 (setlogin): Likewise.
7261 (sigaltstack): Likewise.
7264 (sigsetmask): Likewise.
7266 (waitpid): Likewise.
7267 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7268 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7270 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7271 * sysdeps/unix/bsd/Makefile: ... here.
7272 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7273 * sysdeps/unix/bsd/Versions: ... here.
7274 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7275 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7276 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7277 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7278 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7279 * sysdeps/unix/bsd/sigblock.c: ... here.
7280 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7281 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7282 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7283 * sysdeps/unix/bsd/sigvec.c: ... here.
7284 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7285 * sysdeps/unix/bsd/tcdrain.c: ... here.
7286 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7287 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7288 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7289 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7290 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7291 * sysdeps/unix/bsd/wait.c: ... here.
7292 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7293 * sysdeps/unix/bsd/wait3.c: ... here.
7294 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7295 * sysdeps/unix/bsd/waitpid.c: ... here.
7297 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7300 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7301 round-to-nearest for [!USE_AS_EXPM1L].
7302 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7303 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7304 more tests of exp and exp10. Expect some exp10 tests to miss
7305 exceptions or fail in directed rounding modes.
7306 * math/auto-libm-test-out: Regenerated.
7307 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7308 (exp10_test_tonearest): New function.
7309 (exp10_towardzero_test_data): New array.
7310 (exp10_test_towardzero): New function.
7311 (exp10_downward_test_data): New array.
7312 (exp10_test_downward): New function.
7313 (exp10_upward_test_data): New array.
7314 (exp10_test_upward): New function.
7315 (main): Call the new functions.
7316 * sysdeps/i386/fpu/libm-test-ulps: Update.
7317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7319 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7321 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7322 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7323 * math/auto-libm-test-out: Regenerated.
7324 * math/libm-test.inc (acosh_test_data): Add more tests.
7325 (atanh_test_data): Likewise.
7326 (ceil_test_data): Likewise.
7327 (copysign_test_data): Likewise.
7328 * sysdeps/i386/fpu/libm-test-ulps: Update.
7329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7331 * timezone/checktab.awk: Update from tzcode 2013i.
7332 * timezone/private.h: Likewise.
7333 * timezone/scheck.c: Likewise.
7334 * timezone/tzfile.h: Likewise.
7335 * timezone/tzselect.ksh: Likewise.
7336 * timezone/zdump.c: Likewise.
7337 * timezone/zic.c: Likewise.
7339 * math/auto-libm-test-in: Add tests of cpow.
7340 * math/auto-libm-test-out: Regenerated.
7341 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7342 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7344 (func_calc_desc): Add mpc_cc_c union field.
7345 (test_functions): Add cpow.
7346 (special_fill_2pi): New function.
7347 (special_real_inputs): Add 2pi.
7348 (calc_generic_results): Handle mpc_cc_c.
7349 * sysdeps/i386/fpu/libm-test-ulps: Update.
7350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7352 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7353 csqrt, ctan and ctanh.
7354 * math/auto-libm-test-out: Regenerated.
7355 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7356 (TEST_COND_x86): Likewise.
7357 (ccos_test_data): Use AUTO_TESTS_c_c.
7358 (ccosh_test_data): Likewise.
7359 (cexp_test_data): Likewise.
7360 (clog_test_data): Likewise.
7361 (csqrt_test_data): Likewise.
7362 (ctan_test_data): Likewise.
7363 (ctan_tonearest_test_data): Likewise.
7364 (ctan_towardzero_test_data): Likewise.
7365 (ctan_downward_test_data): Likewise.
7366 (ctan_upward_test_data): Likewise.
7367 (ctanh_test_data): Likewise.
7368 (ctanh_tonearest_test_data): Likewise.
7369 (ctanh_towardzero_test_data): Likewise.
7370 (ctanh_downward_test_data): Likewise.
7371 (ctanh_upward_test_data): Likewise.
7372 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7374 (func_calc_desc): Add mpc_c_c union field.
7375 (FUNC_mpc_c_c): New macro.
7376 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7377 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7379 (special_fill_min_subnorm_p120): New function.
7380 (special_real_inputs): Add min_subnorm_p120.
7381 (calc_generic_results): Handle mpc_c_c.
7382 * sysdeps/i386/fpu/libm-test-ulps: Update.
7383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7385 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7387 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7388 (do_sin_slow): New functions.
7389 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7390 (cslow2, csloww1, csloww2): Use the new functions.
7392 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7393 Use M to change sign of result instead of X. Assume X is
7395 (csloww1): Likewise.
7399 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7404 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7406 (sloww1): Don't adjust sign of DX.
7407 (csloww1): Likewise.
7408 (sloww2): Use X directly and don't adjust sign of DX.
7409 (csloww2): Likewise.
7411 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7413 * math/auto-libm-test-in: Add tests of cabs and carg.
7414 * math/auto-libm-test-out: Regenerated.
7415 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7416 (carg_test_data): Likewise.
7417 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7419 (func_calc_desc): Add mpc_c_f union field.
7420 (test_functions): Add cabs and carg.
7421 (calc_generic_results): Handle mpc_c_f.
7423 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7424 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7425 as a macro and a compat symbol.
7426 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7427 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7428 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7429 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7430 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7431 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7433 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7435 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7437 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7439 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7441 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7443 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7444 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7447 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7451 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7453 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7454 trailing whitespace removed.
7455 * scripts/config.guess: Update to version 2013-11-29.
7456 * scripts/config.sub: Update to version 2013-10-01.
7458 * math/auto-libm-test-in: Add tests of sincos.
7459 * math/auto-libm-test-out: Regenerated.
7460 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7461 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7463 (func_calc_desc): Add mpfr_f_11 union field.
7464 (test_functions): Add sincos.
7465 (calc_generic_results): Handle mpfr_f_11.
7466 * sysdeps/i386/fpu/libm-test-ulps: Update.
7467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7469 2013-12-19 Andreas Schwab <schwab@suse.de>
7471 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7473 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7474 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7475 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7477 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7479 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7480 * sysdeps/i386/fpu/libm-test-ulps: Update.
7481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7485 round-to-nearest mode when using frndint.
7486 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7487 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7488 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7490 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7492 * math/auto-libm-test-out: Regenerated.
7493 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7494 (TEST_COND_x86): Likewise.
7495 (expm1_tonearest_test_data): New array.
7496 (expm1_test_tonearest): New function.
7497 (expm1_towardzero_test_data): New array.
7498 (expm1_test_towardzero): New function.
7499 (expm1_downward_test_data): New array.
7500 (expm1_test_downward): New function.
7501 (expm1_upward_test_data): New array.
7502 (expm1_test_upward): New function.
7503 (main): Run the new test functions.
7504 * sysdeps/i386/fpu/libm-test-ulps: Update.
7505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7507 * include/features.h: Update comment documenting feature test
7508 macros. Mention _DEFAULT_SOURCE in comment.
7509 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7510 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7511 _BSD_SOURCE and _SVID_SOURCE.
7512 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7513 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7514 !_SVID_SOURCE]: Likewise.
7515 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7516 (__USE_POSIX_IMPLICITLY): Define.
7517 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7518 (_POSIX_SOURCE): Undefine and redefine.
7519 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7520 (_POSIX_C_SOURCE): Likewise.
7521 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7522 (Feature Test Macros): Update documentation of default features.
7524 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7526 * benchtests/Makefile: Add bench-strtok.
7527 * benchtests/bench-strtok.c: New file: strtok benchtest.
7529 2013-12-19 Allan McRae <allan@archlinux.org>
7531 * manual/install.texi: Suppress menu for plain text output.
7532 * INSTALL: Regenerated.
7534 2013-12-18 Brooks Moses <bmoses@google.com>
7537 * misc/getauxval.c: Include errno.h.
7538 (__getauxval): Set errno to ENOENT if the requested type is not
7540 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7541 don't declare with __attribute_const__.
7542 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7543 * manual/startup.texi: Document that getauxval sets errno.
7545 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7547 * math/auto-libm-test-in: Add tests of jn and yn.
7548 * math/auto-libm-test-out: Regenerated.
7549 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7550 (yn_test_data): Likewise.
7551 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7553 (func_calc_desc): Add mpfr_if_f union field.
7554 (FUNC_mpfr_if_f): New macro.
7555 (test_functions): Add jn and yn.
7556 (calc_generic_results): Assert type of second input for
7557 mpfr_ff_f. Handle mpfr_if_f.
7558 (output_for_one_input_case): Disable all checking for arguments
7559 fitting floating-point types in case of an integer argument.
7560 * sysdeps/i386/fpu/libm-test-ulps: Update.
7561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7564 Don't expect fegetround reference in libm.so.
7566 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7568 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7569 $(config-cflags-nofma).
7571 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7573 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7574 * math/auto-libm-test-out: Regenerated.
7577 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7578 to determine exponent and adjust argument to have exponent of -1.
7579 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7581 * math/auto-libm-test-out: Regenerated.
7582 * sysdeps/i386/fpu/libm-test-ulps: Update.
7583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7585 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7587 * manual/probes.texi: Remove cases when per-thread arenas are
7590 2013-12-18 Andreas Schwab <schwab@suse.de>
7592 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7593 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7594 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7595 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7596 * sysdeps/i386/i686/multiarch/Makefile: Update.
7597 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7599 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7601 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7602 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7604 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7607 Support TZ transition times < 00:00:00.
7608 This is needed for version-3 tz-format files; it supports time
7609 stamps past 2037 for America/Godthab (the only entry in the tz
7610 database for which this change is relevant).
7611 * manual/time.texi (TZ Variable): Document transition times
7612 from -167:59:59 through -00:00:01.
7613 * time/tzset.c (tz_rule): Time of day is now signed.
7614 (__tzset_parse_tz): Parse negative time of day.
7616 Document TZ transition times >= 25:00:00.
7617 * manual/time.texi (TZ Variable): Document transition times from
7618 25:00:00 through 167:59:59. These are already supported, and this
7619 support will help with version-3 tz-format files.
7621 * manual/time.texi (TZ Variable): Modernize North America example
7622 to reflect current (i.e., 2007-and-later) daylight saving rules.
7624 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7626 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7628 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7629 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7632 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7633 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7634 * sysdeps/unix/bsd/clock.c: Likewise.
7635 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7636 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7637 * sysdeps/unix/bsd/init-posix.c: Likewise.
7638 * sysdeps/unix/bsd/poll.c: Likewise.
7639 * sysdeps/unix/bsd/ptsname.c: Likewise.
7640 * sysdeps/unix/bsd/seekdir.c: Likewise.
7641 * sysdeps/unix/bsd/setegid.c: Likewise.
7642 * sysdeps/unix/bsd/seteuid.c: Likewise.
7643 * sysdeps/unix/bsd/setgid.c: Likewise.
7644 * sysdeps/unix/bsd/setrgid.c: Likewise.
7645 * sysdeps/unix/bsd/setruid.c: Likewise.
7646 * sysdeps/unix/bsd/setsid.c: Likewise.
7647 * sysdeps/unix/bsd/setuid.c: Likewise.
7648 * sysdeps/unix/bsd/sigaction.c: Likewise.
7649 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7650 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7651 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7652 * sysdeps/unix/bsd/telldir.c: Likewise.
7653 * sysdeps/unix/bsd/times.c: Likewise.
7654 * sysdeps/unix/bsd/usleep.c: Likewise.
7656 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7657 ($(objpfx)libbsd-compat.a): Remove rule.
7659 * include/features.h (__FAVOR_BSD): Do not define.
7660 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7661 features conflicting with POSIX.
7662 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7663 (_BSD_SOURCE): Remove description of not being a subset of other
7664 feature test macros.
7665 * manual/job.texi (getpgrp): Do not document BSD version.
7666 (getpgid): Do not document by reference to BSD getpgrp.
7667 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7668 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7669 * signal/signal.h [__FAVOR_BSD]: Likewise.
7670 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7671 instead of making contents conditional on [__FAVOR_BSD].
7672 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7674 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7678 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7681 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7682 values below 2**-450, not 2**-500.
7683 * math/auto-libm-test-in: Don't allow spurious underflow from
7685 * math/auto-libm-test-out: Regenerated.
7689 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7690 values of ha and hb and sort them after adjusting subnormal
7692 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7694 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7695 values of ea and eb and sort them after adjusting subnormal
7697 * math/auto-libm-test-in: Do not expect some hypot tests of
7698 subnormals to fail. Add more hypot tests.
7699 * math/auto-libm-test-out: Regenerated.
7701 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7704 * sysdeps/sh/s_fma.c: New file.
7705 * sysdeps/sh/s_fmaf.c: New file.
7706 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7708 * sysdeps/sh/Implies: Add sh/soft-fp.
7710 2013-12-16 Roland McGrath <roland@hack.frob.com>
7712 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7713 level of indirection to members `objname', `errstring', `malloced'.
7714 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7715 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7716 it as the __longjmp argument (just pass 1 instead).
7717 (_dl_catch_error): Initialize C with argument pointers and address of
7718 volatile local ERRCODE rather than copying values out of C at return.
7720 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7722 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7723 * math/auto-libm-test-out: Regenerated.
7724 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7725 (hypot_test_data): Likewise.
7726 (pow_test_data): Likewise.
7727 (pow_tonearest_test_data): Likewise.
7728 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7730 (func_calc_desc): Add mpfr_ff_f union field.
7731 (FUNC_mpfr_ff_f): New macro.
7732 (test_functions): Add atan2, hypot and pow.
7733 (special_fill_min): New function.
7734 (special_fill_minus_min): Likewise.
7735 (special_fill_min_subnorm): Likewise.
7736 (special_fill_minus_min_subnorm): Likewise.
7737 (special_real_inputs): Add min, -min, min_subnorm and
7739 (calc_generic_results): Handle mpfr_ff_f.
7740 * sysdeps/i386/fpu/libm-test-ulps: Update.
7741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7743 2013-12-16 Will Newton <will.newton@linaro.org>
7745 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7746 (Aligned Memory Blocks): Add documentation for aligned_alloc
7747 and suggest it as an alternative to posix_memalign.
7748 (Hooks for Malloc): Document __memalign_hook is also called
7749 for aligned_alloc. (Summary of Malloc): Add summary for
7750 aligned alloc. Document __memalign_hook is also called
7753 2013-12-16 Will Newton <will.newton@linaro.org>
7755 * manual/memory.texi (Malloc Examples): Clarify default
7756 alignment documentation. Suggest posix_memalign rather
7757 than memalign or valloc.
7758 (Aligned Memory Blocks): Remove suggestion to use memalign
7759 or valloc. Remove obsolete comment about BSD.
7760 Document memalign errno values and mark the function obsolete.
7761 Document posix_memalign returned error codes. Mark valloc
7762 as obsolete. (Hooks for Malloc): __memalign_hook is also
7763 called for posix_memalign and valloc.
7764 (Summary of Malloc): Add posix_memalign to function summary.
7765 __memalign_hook is also called for posix_memalign and valloc.
7767 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7769 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7773 (sloww): Use mynumber union. Expand ternary operator into
7775 (cslow): use mynumber union.
7777 2013-12-16 Allan McRae <allan@archlinux.org>
7779 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7780 * configure: Regenerated.
7782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7785 * configure.ac: Added --enable-maintainer-mode. Check for
7786 autoconf when enabled.
7787 * configure: Regenerated.
7789 * nscd/nscd.service: New file.
7790 * nscd/nscd.tmpfiles: New file.
7792 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7795 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7796 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7797 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7798 (strstr): Add __strstr_sse2_unaligned ifunc.
7799 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7800 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7801 (strcasestr): Remove __strcasestr_sse42 ifunc.
7802 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7806 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7808 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7809 * sysdeps/sh/bits/fenv.h: ... here.
7810 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7812 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7814 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7817 hypotf multiarch implementations.
7818 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7819 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7820 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7821 multiarch hypot for PPC64.
7822 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7823 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7824 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7825 multiarch hypotf for PPC64.
7827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7828 modff multiarch implementations.
7829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7832 multiarch modf for PPC64.
7833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7836 multiarch modff for PPC64.
7838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7839 and logl multiarch implementations.
7840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7843 multiarch logb for PPC64.
7844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7847 multiarch logb for PPC64.
7848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7851 multiarch logb for PPC64.
7853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7854 isinff multiarch implementation.
7855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7859 multiarch isinf for PPC64.
7860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7863 multiarch isinff for PPC64.
7865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7866 finitef multiarch implementation.
7867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7871 multiarch finite for PPC64.
7872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7875 multiarch finitef for PPC64.
7877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7878 lrint multiarch implementation.
7879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7883 multiarch llrint for PPC64.
7884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7885 multiarch lrint for PPC64.
7887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7888 copysignf multiarch implementation.
7889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7894 multiarch copysign for PPC64.
7895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7896 multiarch copysignf for PPC64.
7898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7899 multiarch implementation.
7900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7908 multiarch llround for PPC64.
7909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7910 multiarch trunc for PPC64.
7911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7912 multiarch truncf for PPC64.
7914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7915 multiarch implementation.
7916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7924 multiarch llround for PPC64.
7925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7926 multiarch round for PPC64.
7927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7928 multiarch roundf for PPC64.
7930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7931 multiarch implementation.
7932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7940 multiarch llround for PPC64.
7941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7942 multiarch floor for PPC64.
7943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7944 multiarch floorf for PPC64.
7946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7947 multiarch implementation.
7948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7956 multiarch llround for PPC64.
7957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7958 multiarch ceil for PPC64.
7959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7960 multiarch ceilf for PPC64.
7962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7963 multiarch implementation.
7964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7971 multiarch llround for PPC64.
7972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7973 multiarch lround for PPC64.
7975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7976 multiarch implementation.
7977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7984 multiarch isnan for PPC64.
7985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7986 multiarch isnanf for PPC64.
7988 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7989 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7990 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7991 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7992 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7995 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7996 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7997 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8001 multiarch implementations.
8002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8003 (__libc_ifunc_impl_list): Likewise.
8004 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8005 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8006 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8007 multiarch stpcpy for PPC64.
8009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8010 multiarch implementations.
8011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8012 (__libc_ifunc_impl_list): Likewise.
8013 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8014 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8015 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8016 multiarch strcpy for PPC64.
8018 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8019 redefine function name.
8020 (_wordcopy_fwd_dest_aligned): Likewise.
8021 (_wordcopy_bwd_aligned): Likewise.
8022 (_wordcopy_bwd_dest_aligned): Likewise.
8023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8024 multiarch implementations.
8025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8026 (__libc_ifunc_impl_list): Likewise.
8027 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8028 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8029 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8030 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8031 multiarch wcscpy for PPC64.
8033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8034 multiarch implementations.
8035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8036 (__libc_ifunc_impl_list): Likewise.
8037 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8038 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8039 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8040 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8041 multiarch wcscpy for PPC64.
8043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8044 multiarch implementations.
8045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8046 (__libc_ifunc_impl_list): Likewise.
8047 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8048 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8049 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8050 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8051 multiarch wcsrchr for PPC64.
8053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8054 multiarch implementations.
8055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8056 (__libc_ifunc_impl_list): Likewise.
8057 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8058 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8059 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8060 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8061 multiarch wcschr for PPC64.
8063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8064 multiarch implementations.
8065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8066 (__libc_ifunc_impl_list): Likewise.
8067 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8068 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8069 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8070 multiarch strchrnul for PPC64.
8072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8075 (__libc_ifunc_impl_list): Likewise.
8076 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8077 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8078 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8079 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8085 (__libc_ifunc_impl_list): Likewise.
8086 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8087 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8088 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8089 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8093 multiarch implementations.
8094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8095 (__libc_ifunc_impl_list): Likewise.
8096 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8097 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8098 strncasecmp for PPC64.
8099 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8100 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8101 multiarch strncasecmp_l for PPC64.
8103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8104 multiarch implementations.
8105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8106 (__libc_ifunc_impl_list): Likewise.
8107 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8108 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8109 multiarch strcasecmp for PPC64.
8110 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8112 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8113 multiarch strcasecmp_l for PPC64.
8115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8118 (__libc_ifunc_impl_list): Likewise.
8119 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8120 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8121 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8127 (__libc_ifunc_impl_list): Likewise.
8128 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8129 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8130 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8136 (__libc_ifunc_impl_list): Likewise.
8137 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8138 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8139 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8140 rawmemrchr for PPC64.
8142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8145 (__libc_ifunc_impl_list): Likewise.
8146 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8147 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8148 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8154 (__libc_ifunc_impl_list): Likewise.
8155 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8156 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8157 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8163 (__libc_ifunc_impl_list): Likewise.
8164 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8165 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8166 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8169 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8170 avoid cretion of __bzero symbol.
8171 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8173 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8175 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8178 multiarch implementations.
8179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8180 (__libc_ifunc_impl_list): Likewise.
8181 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8182 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8183 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8184 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8186 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8187 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8188 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8189 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8190 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8192 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8194 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8198 (__libc_ifunc_impl_list): Likewise.
8199 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8200 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8201 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8202 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8206 multiarch for POWER/PPC64.
8207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8208 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8209 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8210 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8212 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8213 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8214 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8215 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8218 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8219 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8220 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8221 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8222 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8223 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8224 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8225 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8226 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8227 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8228 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8229 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8230 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8231 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8232 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8241 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8243 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8245 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8247 * benchtests/Makefile (bench): Add exp2 and log2.
8248 (LDLIBS-bench-exp2): Add -lm.
8249 (LDLIBS-bench-log2): Likewise.
8250 * benchtests/exp2-inputs: New inputs file.
8251 * benchtests/log2-inputs: New inputs file.
8252 * benchtests/log-inputs: Add new inputs.
8253 * benchtests/tan-inputs: Likewise.
8255 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8257 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8259 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8260 (csloww2): ... from here.
8262 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8263 instead of structures.
8264 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8265 (POLYNOMIAL): Likewise.
8266 (TAYLOR_SLOW): Likewise.
8274 (bsloww1): Likewise.
8275 (bsloww2): Likewise.
8278 (csloww1): Likewise.
8279 (csloww2): Likewise.
8281 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8283 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8284 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8285 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8286 * malloc/hooks.c (realloc_check): Likewise.
8288 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8289 * malloc/arena.c: Remove PER_THREAD conditional.
8290 [!PER_THREAD]: Remove code.
8291 (ptmalloc_unlock_all2): Likewise.
8292 (ptmalloc_init): Likewise.
8293 (_int_new_arena): Likewise.
8294 (arena_get2): Likewise.
8295 * malloc/hooks.c (__malloc_get_state): Likewise.
8296 (__malloc_set_state): Likewise.
8297 * malloc/malloc.c: Likewise.
8298 (struct malloc_state): Likewise.
8299 (struct malloc_par): Likewise.
8300 (__libc_realloc): Likewise.
8301 (__libc_mallopt): Likewise.
8303 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8305 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8307 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8309 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8310 macro to a function. Check for zero perturb_byte.
8311 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8313 * malloc/malloc.c: (force_reg): Remove.
8314 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8315 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8316 force_reg by atomic_forced_read.
8317 * malloc/arena.c (ptmalloc_init): Likewise.
8318 * malloc/hooks.c (top_check): Likewise.
8320 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8324 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8328 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8330 * math/auto-libm-test-in: Add tests of lgamma.
8331 * math/auto-libm-test-out: Regenerated.
8332 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8333 (M_LOG_2_SQRT_PIl): Likewise.
8334 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8335 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8337 (func_calc_desc): Add mpfr_f_f1 union field.
8346 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8347 (test_functions): Add lgamma.
8348 (calc_generic_results): Handle mpfr_f_f1.
8349 * sysdeps/i386/fpu/libm-test-ulps: Update.
8350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8352 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8354 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8355 __mpn_add_n for PowerPC64/POWER7.
8356 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8357 __mpn_sub_n for PowerPC64/POWER7.
8359 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8360 __mpn_addmul_1 for PowerPC64.
8361 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8362 __mpn_submul_1 for PowerPC64.
8363 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8365 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8368 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8371 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8373 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8375 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8377 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8378 add multiarch folders.
8379 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8380 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8381 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8382 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8383 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8384 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8385 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8386 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8387 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8388 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8389 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8398 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8404 multiarch __ieee754_hypot for PowerPC32.
8405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8410 multiarch __ieee754_hypotf for PowerPC32.
8412 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8413 long_double_symbol only if __logbl is defined.
8414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8415 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8417 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8418 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8419 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8421 path for implementation.
8422 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8423 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8425 logb, and logbl multiarch implementations for PowerPC32.
8426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8431 multiarch logb for PowerPC32.
8432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8437 multiarch logbf for PowerPC32.
8438 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8442 multiarch logbl implementation for PowerPC32.
8444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8445 and modff multiarch implementations.
8446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8451 multiarch modf for PowerPC32.
8452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8457 multiarch modff for PowerPC32.
8459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8460 and lrintf multiarch implementations.
8461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8466 multiarch lrint for PowerPC32.
8467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8468 file: multiarch lrintf for PowerPC32.
8470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8471 and lroundf multiarch implementations.
8472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8479 multiarch lround for PowerPC32.
8480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8481 file: multiarch lroundf for PowerPC32.
8483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8484 copysign and copysignf multiarch implementations.
8485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8490 file: multiarch copysign for PowerPC32.
8491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8492 file: multiarch copysignf for PowerPC32.
8494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8495 and truncf multiarch implementations.
8496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8501 multiarch trunc for PowerPC32.
8502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8507 multiarch truncf for PowerPC32.
8509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8510 and roundf multiarch implementations.
8511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8516 multiarch round for PowerPC32.
8517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8522 multiarch roundf for PowerPC32.
8524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8525 and floorf multiarch implementations.
8526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8531 multiarch floor for PowerPC32.
8532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8537 multiarch floorf for PowerPC32.
8539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8540 and ceilf multiarch implementations.
8541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8546 multiarch ceil for PowerPC32.
8547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8552 multiarch ceilf for PowerPC32.
8554 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8556 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8559 and finitef multiarch implementations.
8560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8565 multiarch finite for PowerPC32.
8566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8569 file: multiarch finitef for PowerPC32.
8571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8572 and isinff multiarch implementations.
8573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8578 multiarch isinf for PowerPC32.
8579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8582 multiarch isinff for PowerPC32.
8584 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8585 alias when __isnan is defined.
8586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8587 and isnanf multiarch implementations.
8588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8597 multiarch isnan for PowerPC32.
8598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8603 multiarch isnanf for PowerPC32.
8605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8606 and sqrtf multiarch implementations.
8607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8612 multiarch sqrt for PowerPC32.
8613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8618 multiarch sqrtf for PowerPC32.
8620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8621 and llroundf multiarch implementations.
8622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8629 file: multiarch llround for PowerPC32.
8630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8631 file: multiarch llroundf for PowerPC32.
8633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8634 multiarch PowerPC32 fpu implementations.
8635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8640 multiarch llrint for PowerPC32.
8641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8650 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8652 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8654 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8656 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8657 multiarch wordcopy for PPC32.
8658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8661 (__libc_ifunc_impl_list): Likewise.
8662 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8663 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8664 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8665 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8666 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8667 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8669 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8674 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8676 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8677 multiarch wcscpy for PPC32.
8678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8681 (__libc_ifunc_impl_list): Likewise.
8682 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8683 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8684 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8685 sysdeps/powerpc/power6/wcscpy.c.
8687 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8695 multiarch wcsrchr for PPC32.
8696 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8698 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8699 (__libc_ifunc_impl_list): Likewise.
8700 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8701 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8702 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8703 sysdeps/powerpc/power6/wcsrchr.c.
8705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8711 multiarch wcschr for PPc32.
8712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8715 (__libc_ifunc_impl_list): Likewise.
8716 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8717 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8718 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8719 sysdeps/powerpc/power6/wcschr.c.
8721 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8722 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8724 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8725 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8726 file: multiarch strchr for PPC32.
8727 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8729 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8730 (__libc_ifunc_impl_list): Likewise.
8732 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8734 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8736 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8738 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8739 multiarch strchrnul for PPC32.
8740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8743 (__libc_ifunc_impl_list): Likewise.
8745 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8747 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8748 multiarch strncasecmp for PPC32.
8749 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8751 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8752 multiarch strncasecmp_l for PPC32.
8753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8754 strncasecmp multiarch objects.
8755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8756 (__libc_ifunc_impl_list): Likewise.
8758 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8760 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8761 multiarch strncasecmp for PPC32.
8762 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8764 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8765 multiarch strcasecmp_l for PPC32.
8766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8769 (__libc_ifunc_impl_list): Likewise.
8771 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8773 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8775 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8776 multiarch strncmp for PPC32.
8777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8780 (__libc_ifunc_impl_list): Likewise.
8782 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8783 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8785 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8786 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8789 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8790 (__libc_ifunc_impl_list): Likewise.
8792 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8794 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8796 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8800 (__libc_ifunc_impl_list): Likewise.
8802 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8804 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8806 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8807 multiarch rawmemchr for PPC32.
8808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8811 (__libc_ifunc_impl_list): Likewise.
8813 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8815 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8817 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8818 file: memrchr multiarch for PPC32.
8819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8822 (__libc_ifunc_impl_list): Likewise.
8824 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8825 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8827 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8828 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8829 multiarch memchr for PPC32.
8830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8833 (__libc_ifunc_impl_list): Likewise.
8835 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8836 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8838 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8841 file: multiarch mempcpy for PPC32.
8842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8845 (__libc_ifunc_impl_list): Likewise.
8847 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8848 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8849 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8850 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8851 multiarch bzero for PPC32.
8852 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8854 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8856 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8857 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8858 file: multiarch memset for PPC32.
8859 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8861 memset multiarch objects.
8862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8863 (__libc_ifunc_impl_list): Likewise.
8865 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8867 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8868 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8870 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8874 (__libc_ifunc_impl_list): Likewise.
8876 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8877 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8878 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8880 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8882 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8884 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8885 multiarch memcpy for PPC32.
8886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8889 (__libc_ifunc_impl_list): Likewise.
8891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8892 support multiarch for POWER/PPC32.
8893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8895 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8897 Implies file to make multiarch folder appers before the fpu and
8898 default folder for power4 configuration.
8900 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8902 * scripts/bench.pl: Append volatile keyword to type.
8904 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8906 * sysdeps/sh/sotruss-lib.c: New file.
8907 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8909 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8913 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8916 * math/w_tgamma.c: Include <errno.h>.
8917 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8918 * math/w_tgammaf.c: Include <errno.h>.
8919 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8920 * math/w_tgammal.c: Include <errno.h>.
8921 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8922 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8923 underflow. Add more tgamma tests.
8924 * math/auto-libm-test-out: Regenerated.
8925 * sysdeps/i386/fpu/libm-test-ulps: Update.
8926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8928 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8929 sin, sinh, tan, tanh, tgamma, y0 and y1.
8930 * math/auto-libm-test-out: Regenerated.
8931 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8932 (TEST_COND_x86): Likewise.
8933 (M_E2l): Remove macro.
8935 (M_2_SQRT_PIl): Likewise.
8936 (M_SQRT_PIl): Likewise.
8937 (M_1_DIV_El): Likewise.
8938 (log_test_data): Use AUTO_TESTS_f_f.
8939 (log10_test_data): Likewise.
8940 (log1p_test_data): Likewise.
8941 (log2_test_data): Likewise.
8942 (sin_test_data): Likewise.
8943 (sin_tonearest_test_data): Likewise.
8944 (sin_towardzero_test_data): Likewise.
8945 (sin_downward_test_data): Likewise.
8946 (sin_upward_test_data): Likewise.
8947 (sinh_test_data): Likewise.
8948 (sinh_tonearest_test_data): Likewise.
8949 (sinh_towardzero_test_data): Likewise.
8950 (sinh_downward_test_data): Likewise.
8951 (sinh_upward_test_data): Likewise.
8952 (tan_test_data): Likewise.
8953 (tan_tonearest_test_data): Likewise.
8954 (tan_towardzero_test_data): Likewise.
8955 (tan_downward_test_data): Likewise.
8956 (tan_upward_test_data): Likewise.
8957 (tanh_test_data): Likewise.
8958 (tgamma_test_data): Likewise.
8959 (y0_test_data): Likewise.
8960 (y1_test_data): Likewise.
8961 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8962 (special_real_inputs): Add pi/4.
8963 * sysdeps/i386/fpu/libm-test-ulps: Update.
8964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8966 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8968 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8969 "longjmp_target" static probes.
8970 (__longjmp): Rename to __longjmp_symbol.
8971 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8972 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8973 on which longjmp to generate.
8974 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8975 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8977 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8978 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8979 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8980 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8981 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8982 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8984 __longjmp_symbol based on which __longjmp to generate.
8985 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8987 (setjmp): Rename to setjmp_symbol.
8988 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8989 (_setjmp): Rename to _setjmp_symbol.
8990 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8991 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8992 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8993 which setjmp to generate.
8994 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8995 "longjmp_target" static probes.
8997 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8999 * benchtests/README: Add note about output arguments.
9000 * benchtests/bench-sincos.c: Remove file.
9001 * benchtests/sincos-inputs: New file.
9002 * scripts/bench.pl: Identify output arguments and define
9003 static variables for them.
9005 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9008 * Makefile (INSTALL): Add install-plain.texi as the primary
9010 * manual/install-plain.texi: New file.
9011 * manual/install.texi: Include node directive only for
9012 non-plaintext output.
9014 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9016 * stdlib/longlong.h: Update from GCC.
9020 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9021 * math/w_j0f.c (y0f): Likewise.
9022 * math/w_j0l.c (__y0l): Likewise.
9023 * math/w_j1.c (y1): Likewise.
9024 * math/w_j1f.c (y1f): Likewise.
9025 * math/w_j1l.c (__y1l): Likewise
9026 * math/w_jn.c (yn): Likewise.
9027 * math/w_jnf.c (ynf): Likewise.
9028 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9029 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9030 value for Bessel function domain errors outside _SVID_ mode.
9031 Adjust sign of return value for yn (negative integer, 0).
9032 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9033 by zero in return for negative x and set sign appropriately for
9035 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9036 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9037 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9038 expectations in error cases.
9039 (y1_test_data): Likewise.
9040 (yn_test_data): Likewise.
9041 * sysdeps/i386/fpu/libm-test-ulps: Update.
9042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9044 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9046 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9047 "64" to "64-v1". Add "64-v2".
9048 (abi-64-options): Rename to ...
9049 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9050 (abi-64-condition): Rename to ...
9051 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9052 (abi-64-ld-soname): Rename to ...
9053 (abi-64-v1-ld-soname): ... this.
9054 (abi-64-v2-options): Define.
9055 (abi-64-v2-condition): Likewise.
9056 (abi-64-v2-ld-soname): Likewise.
9057 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9058 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9063 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9064 Alan Modra <amodra@gmail.com>
9066 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9067 New versions for use with the ELFv2 ABI.
9068 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9069 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9071 (struct La_ppc64v2_retval): Likewise.
9072 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9073 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9074 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9075 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9076 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9077 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9078 Do not save or restore CR.
9079 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9080 (_dl_profile_resolve): Do no save or restore CR. Support extended
9081 return values for ELFv2 ABI. Fix location of FPR return registers.
9082 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9083 updated values for _CALL_ELF == 2.
9084 (La_regs, La_retval, int_retval): Likewise.
9086 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9088 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9089 (FRAME_MIN_SIZE_PARM): Likewise.
9090 (FRAME_BACKCHAIN): Likewise.
9091 (FRAME_CR_SAVE): Likewise.
9092 (FRAME_LR_SAVE): Likewise.
9093 (FRAME_TOC_SAVE): Likewise.
9094 (FRAME_PARM_SAVE): Likewise.
9095 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9096 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9097 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9098 (call_mcount_parm_offset): New macro.
9099 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9100 (PROF): Use symbolic stack frame offsets.
9101 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9102 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9103 Redefine in terms of FRAME_MIN_SIZE.
9104 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9105 (_dl_profile_resolve): Likewise. Update comment.
9106 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9107 symbols stack frame offsets.
9108 (__sigsetjmp): Likewise.
9109 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9110 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9111 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9112 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9115 (FRAME_BACKCHAIN): Remove.
9116 (FRAME_CR_SAVE): Likewise.
9117 (FRAME_LR_SAVE): Likewise.
9118 (FRAME_COMPILER_DW): Likewise.
9119 (FRAME_LINKER_DW): Likewise.
9120 (FRAME_TOC_SAVE): Likewise.
9121 (FRAME_PARM_SAVE): Likewise.
9122 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9123 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9124 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9126 (CHECK_SP): Use symbolic stack frame offsets.
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9128 zone" instead of caller's parameter save area for temp storage.
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9130 Likewise. Also, use symbolic stack frame offsets.
9131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9132 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9133 our own stack frame instead of the caller's.
9134 (__socket): Use symbolic stack frame offsets.
9136 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9137 Alan Modra <amodra@gmail.com>
9139 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9141 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9142 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9143 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9145 (elf_machine_fixup_plt): Call it.
9146 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9148 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9149 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9150 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9151 r2 before calling target.
9153 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9154 Alan Modra <amodra@gmail.com>
9156 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9157 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9158 versions of macros to support ELFv2 ABI.
9159 (LOCALENTRY): New macro.
9160 (ENTRY, EALIGN): Use it.
9161 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9162 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9163 fall through into ENTRY entry point.
9164 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9165 Only define if _CALL_ELF != 2.
9167 (elf_machine_matches_host): Verify ABI version matches.
9168 (RTLD_START): Use LOCALENTRY.
9169 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9170 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9171 (PLT_ENTRY_WORDS): New macro.
9172 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9173 (elf_machine_runtime_setup): Support ELFv2 ABI.
9174 (elf_machine_fixup_plt): Likewise.
9175 (elf_machine_plt_conflict): Likewise.
9176 (resolve_ifunc): Likewise.
9177 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9178 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9181 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9183 (makecontext): Support ELFv2 ABI.
9184 * elf/elf.h (EF_PPC64_ABI): Define.
9186 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9188 * sysdeps/powerpc/powerpc64/sysdep.h
9189 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9190 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9191 (ENTRY) [ASSEMBLER]: ... but instead here ...
9192 (EALIGN) [ASSEMBLER]: ... and here.
9193 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9194 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9195 (ENTRY_2) [!ASSEMBLER]: Use it.
9196 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9197 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9198 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9199 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9200 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9202 Use PPC64_LOAD_FUNCPTR.
9204 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9206 2013-12-04 Alan Modra <amodra@gmail.com>
9208 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9209 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9210 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9211 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9213 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9214 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9215 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9216 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9217 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9218 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9220 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9223 (__makecontext): Fix incorrect CFI when backtracing out of
9224 context created via makecontext.
9225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9226 (__setcontext): Fix incorrect CFI during switch to new context.
9227 (__novec_setcontext): Likewise.
9229 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9232 * time/strptime_l.c (__strptime_internal): Allow modifiers
9234 * time/tst-strptime.c (day_tests): Add testcase.
9236 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9238 * scripts/bench.pl: Skip over blank lines.
9240 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9243 * manual/time.texi (Calendar Time): Clarify what timezone functions
9246 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9250 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9252 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9254 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9255 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9256 * debug/memset_chk.c (__memset_chk): Likewise.
9257 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9258 * debug/strncpy_chk.c: Likewise.
9260 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9264 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9265 (__ieee754_exp): For possibly underflowing results, check size of
9266 result and force underflow exception if required.
9267 * math/auto-libm-test-in: Add more tests of exp.
9268 * math/auto-libm-test-out: Regenerated.
9269 * sysdeps/i386/fpu/libm-test-ulps: Update.
9270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9273 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9274 * math/w_exp2f.c (__exp2f): Likewise.
9275 * math/w_exp2l.c (__exp2l): Likewise.
9276 * math/auto-libm-test-in: Do not allow missing errno on exp2
9278 * math/auto-libm-test-out: Regenerated.
9280 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9283 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9284 handle filename validation.
9285 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9288 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9291 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9292 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9293 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9295 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9296 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9297 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9298 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9299 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9301 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9302 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9303 Add more erfc tests.
9304 * math/auto-libm-test-out: Regenerated.
9305 * sysdeps/i386/fpu/libm-test-ulps: Update.
9306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9308 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9309 exp2, expm1, j0 and j1.
9310 * math/auto-libm-test-out: Regenerated.
9311 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9312 (erfc_test_data): Likewise.
9313 (exp_test_data): Likewise.
9314 (exp_tonearest_test_data): Likewise.
9315 (exp_towardzero_test_data): Likewise.
9316 (exp_downward_test_data): Likewise.
9317 (exp_upward_test_data): Likewise.
9318 (exp10_test_data): Likewise.
9319 (exp2_test_data): Likewise.
9320 (expm1_test_data): Likewise.
9321 (j0_test_data): Likewise.
9322 (j1_test_data): Likewise.
9323 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9324 (input_flag_type): Add flag_xfail_rounding.
9325 (input_flags): Add xfail-rounding.
9326 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9327 (output_for_one_input_case): Handle flag_xfail_rounding.
9328 * sysdeps/i386/fpu/libm-test-ulps: Update.
9329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9331 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9334 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9337 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9340 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9341 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9342 (STAP_PROBE0): New macro.
9343 (STAP_PROBE1): Likewise.
9344 (STAP_PROBE2): Likewise.
9345 (STAP_PROBE3): Likewise.
9346 (STAP_PROBE4): Likewise.
9348 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9350 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9352 2013-12-02 Steve Ellcey <sellcey@mips.com>
9354 * benchtests/Makefile (bench): Add sqrt.
9355 (LDLIBS-bench-sqrt): New.
9356 * benchtests/sqrt-input: New.
9358 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9360 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9361 (GAIH_EAI): Likewise.
9362 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9363 (gaih_inet): Likewise.
9364 (getaddrinfo): Don't use GAIH_EAI.
9366 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9367 (struct gaih): Remove definition.
9369 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9371 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9372 Use HERRNOP directly.
9374 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9378 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9380 * math/gen-auto-libm-tests.c (test_functions): Add more
9381 single-argument functions.
9382 (special_fill_pi_2): New function.
9383 (special_fill_minus_pi_2): Likewise.
9384 (special_fill_pi_6): Likewise.
9385 (special_fill_minus_pi_6): Likewise.
9386 (special_fill_pi_3): Likewise.
9387 (special_fill_2pi_3): Likewise.
9388 (special_fill_e): Likewise.
9389 (special_fill_1_e): Likewise.
9390 (special_fill_e_minus_1): Likewise.
9391 (special_real_inputs): Add more special inputs.
9392 (output_for_one_input_case): Do not require ERANGE on underflow to
9393 zero if round-to-nearest result does not underflow to zero, unless
9394 exact results required.
9395 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9396 atan, atanh, cbrt, cos and cosh.
9397 * math/auto-libm-test-out: Regenerated.
9398 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9399 (acos_tonearest_test_data): Likewise.
9400 (acos_towardzero_test_data): Likewise.
9401 (acos_downward_test_data): Likewise.
9402 (acos_upward_test_data): Likewise.
9403 (acosh_test_data): Likewise.
9404 (asin_test_data): Likewise.
9405 (asin_tonearest_test_data): Likewise.
9406 (asin_towardzero_test_data): Likewise.
9407 (asin_upward_test_data): Likewise.
9408 (asinh_test_data): Likewise.
9409 (atan_test_data): Likewise.
9410 (atanh_test_data): Likewise.
9411 (cbrt_test_data): Likewise.
9412 (cos_test_data): Likewise.
9413 (cos_tonearest_test_data): Likewise.
9414 (cos_towardzero_test_data): Likewise.
9415 (cos_downward_test_data): Likewise.
9416 (cos_upward_test_data): Likewise.
9417 (cosh_test_data): Likewise.
9418 (cosh_tonearest_test_data): Likewise.
9419 (cosh_towardzero_test_data): Likewise.
9420 (cosh_downward_test_data): Likewise.
9421 (cosh_upward_test_data): Likewise.
9422 * sysdeps/i386/fpu/libm-test-ulps: Update.
9423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9425 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9428 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9429 * math/w_exp10f.c (__exp10f): Likewise.
9430 * math/w_exp10l.c (__exp10l): Likewise.
9431 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9432 errno settings in existing tests.
9435 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9436 precision control set to double precision.
9437 * sysdeps/i386/fpu/w_sqrt.c: New file.
9438 * math/auto-libm-test-in: Add more tests.
9439 * math/auto-libm-test-out: Update.
9441 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9442 (sqrt_test_tonearest): New function.
9443 (sqrt_towardzero_test_data): New variable.
9444 (sqrt_test_towardzero): New function.
9445 (sqrt_downward_test_data): New variable.
9446 (sqrt_test_downward): New function.
9447 (sqrt_upward_test_data): New variable.
9448 (sqrt_test_upward): New function.
9449 (main): Call the new functions.
9451 * math/gen-auto-libm-tests.c: New file.
9452 * math/auto-libm-test-in: Likewise.
9453 * math/auto-libm-test-out: New generated file.
9454 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9456 (%beautify): Add generated representations of zero.
9457 (top level): Set $auto_input and call parse_auto_input.
9458 (beautify): Remove trailing "f" from hex float constants.
9459 (parse_args): Handle XFAIL_TEST.
9460 (convert_condition): New function.
9461 (or_value): Likewise.
9462 (or_cond_value): Likewise.
9463 (generate_testfile): Handle AUTO_TESTS_* lines.
9464 (parse_auto_input): New function.
9465 * math/libm-test.inc (XFAIL_TEST): New macro.
9466 (ERRNO_UNCHANGED): Update value.
9467 (ERRNO_EDOM): Likewise.
9468 (ERRNO_ERANGE): Likewise.
9469 (IGNORE_RESULT): Likewise.
9470 (TEST_COND_flt_32): New macro.
9471 (TEST_COND_dbl_64): Likewise.
9472 (TEST_COND_ldbl_96_intel): Likewise.
9473 (TEST_COND_ldbl_96_m68k): Likewise.
9474 (TEST_COND_ldbl_128): Likewise.
9475 (TEST_COND_ldbl_128ibm): Likewise.
9476 (TEST_COND_long32): Likewise.
9477 (TEST_COND_long64): Likewise.
9478 (TEST_COND_before_rounding): Likewise.
9479 (TEST_COND_after_rounding): Likewise.
9480 (enable_test): Handle XFAIL_TEST flag.
9481 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9482 with finite results.
9483 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9486 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9487 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9490 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9491 __tls_get_addr_internal instead of __tls_get_offset in order to
9492 avoid GOT pointer dependency. Make rtld export
9493 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9494 __tls_get_addr since we are a __tls_get_offset platform.
9495 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9496 GOT pointer being set up before.
9497 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9499 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9501 * manual/math.texi (Errors in Math Functions): Document accuracy
9505 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9506 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9508 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9509 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9511 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9522 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9523 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9524 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9525 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9526 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9528 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9530 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9532 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9533 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9534 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9535 atomic-feupdateenv and flt-rounds.
9536 * sysdeps/powerpc/nofpu/Versions (libc): Add
9537 __atomic_feholdexcept, __atomic_feclearexcept,
9538 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9539 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9540 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9541 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9542 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9547 * manual/arith.texi (FP Exceptions): Document that exceptions may
9548 not be raised when matherr is used.
9549 (Math Error Reporting): Document overflow in directed rounding
9550 modes. Document that errno may not be set when finite values are
9551 returned on overflow. Document intent to set errno on underflow
9552 only for underflow to zero.
9555 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9556 round-to-nearest then adjust result for other rounding modes.
9557 * include/fenv.h (fegetround): Use libm_hidden_proto.
9558 * math/fegetround.c (fegetround): Use libm_hidden_def.
9559 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9560 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9561 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9562 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9564 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9565 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9566 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9567 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9569 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9572 * nss/Versions (libnss_files): Add
9573 _nss_files_gethostbyname3_r.
9574 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9576 (HOST_DB_LOOKUP): Remove macro.
9577 (_nss_files_gethostbyname_r): Implement function without the
9578 HOST_DB_LOOKUP macro.
9579 (_nss_files_gethostbyname2_r): Likewise.
9581 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9583 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9585 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9587 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9588 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9591 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9593 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9594 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9595 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9596 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9597 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9598 __fe_nomask_env_priv and attribute_hidden.
9599 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9600 (libc_feupdateenv_test_ppc): Likewise.
9601 (libc_feresetround_ppc): Likewise.
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9603 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9604 compat_symbol macro.
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9606 (__fe_nomask_env): Likewise.
9607 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9609 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9611 * string/Makefile: Remove ifunc tests.
9612 * string/test-string.h: Define TEST_IFUNC.
9613 * string/test-bcopy-ifunc.c: Remove.
9614 * string/test-bzero-ifunc.c: Likewise.
9615 * string/test-memccpy-ifunc.c: Likewise.
9616 * string/test-memchr-ifunc.c: Likewise.
9617 * string/test-memcmp-ifunc.c: Likewise.
9618 * string/test-memcpy-ifunc.c: Likewise.
9619 * string/test-memmem-ifunc.c: Likewise.
9620 * string/test-memmove-ifunc.c: Likewise.
9621 * string/test-mempcpy-ifunc.c: Likewise.
9622 * string/test-memrchr-ifunc.c: Likewise.
9623 * string/test-memset-ifunc.c: Likewise.
9624 * string/test-rawmemchr-ifunc.c: Likewise.
9625 * string/test-stpcpy-ifunc.c: Likewise.
9626 * string/test-stpncpy-ifunc.c: Likewise.
9627 * string/test-strcasecmp-ifunc.c: Likewise.
9628 * string/test-strcasestr-ifunc.c: Likewise.
9629 * string/test-strcat-ifunc.c: Likewise.
9630 * string/test-strchr-ifunc.c: Likewise.
9631 * string/test-strchrnul-ifunc.c: Likewise.
9632 * string/test-strcmp-ifunc.c: Likewise.
9633 * string/test-strcpy-ifunc.c: Likewise.
9634 * string/test-strcspn-ifunc.c: Likewise.
9635 * string/test-strlen-ifunc.c: Likewise.
9636 * string/test-strncasecmp-ifunc.c: Likewise.
9637 * string/test-strncat-ifunc.c: Likewise.
9638 * string/test-strncmp-ifunc.c: Likewise.
9639 * string/test-strncpy-ifunc.c: Likewise.
9640 * string/test-strnlen-ifunc.c: Likewise.
9641 * string/test-strpbrk-ifunc.c: Likewise.
9642 * string/test-strrchr-ifunc.c: Likewise.
9643 * string/test-strspn-ifunc.c: Likewise.
9644 * string/test-strstr-ifunc.c: Likewise.
9646 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9648 * benchtests/Makefile: Remove ifunc tests.
9649 * benchtests/bench-string.h: Define TEST_IFUNC.
9650 * benchtests/bench-bcopy-ifunc.c: Remove.
9651 * benchtests/bench-bzero-ifunc.c: Likewise.
9652 * benchtests/bench-memccpy-ifunc.c: Likewise.
9653 * benchtests/bench-memchr-ifunc.c: Likewise.
9654 * benchtests/bench-memcmp-ifunc.c: Likewise.
9655 * benchtests/bench-memcpy-ifunc.c: Likewise.
9656 * benchtests/bench-memmem-ifunc.c: Likewise.
9657 * benchtests/bench-memmove-ifunc.c: Likewise.
9658 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9659 * benchtests/bench-memrchr-ifunc.c: Likewise.
9660 * benchtests/bench-memset-ifunc.c: Likewise.
9661 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9662 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9663 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9664 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9665 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9666 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9667 * benchtests/bench-strcat-ifunc.c: Likewise.
9668 * benchtests/bench-strchr-ifunc.c: Likewise.
9669 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9670 * benchtests/bench-strcmp-ifunc.c: Likewise.
9671 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9672 * benchtests/bench-strcpy-ifunc.c: Likewise.
9673 * benchtests/bench-strcspn-ifunc.c: Likewise.
9674 * benchtests/bench-strlen-ifunc.c: Likewise.
9675 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9676 * benchtests/bench-strncat-ifunc.c: Likewise.
9677 * benchtests/bench-strncmp-ifunc.c: Likewise.
9678 * benchtests/bench-strncpy-ifunc.c: Likewise.
9679 * benchtests/bench-strnlen-ifunc.c: Likewise.
9680 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9681 * benchtests/bench-strrchr-ifunc.c: Likewise.
9682 * benchtests/bench-strsep-ifunc.c: Likewise.
9683 * benchtests/bench-strspn-ifunc.c: Likewise.
9684 * benchtests/bench-strstr-ifunc.c: Likewise.
9686 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9688 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9690 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9692 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9693 * rt/aio.h: Likewise.
9694 * sysdeps/gnu/bits/utmp.h: Likewise.
9695 * sysdeps/gnu/bits/utmpx.h: Likewise.
9696 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9697 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9698 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9699 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9700 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9701 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9702 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9703 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9704 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9705 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9706 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9707 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9708 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9710 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9711 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9712 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9713 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9714 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9715 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9716 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9717 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9718 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9719 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9720 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9722 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9723 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9724 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9725 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9726 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9727 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9728 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9729 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9730 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9731 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9732 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9733 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9734 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9735 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9736 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9737 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9739 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9742 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9743 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9745 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9747 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9748 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9751 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9753 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9754 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9755 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9756 (__fesetround): Remove define.
9757 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9758 rounding and exceptions handling.
9759 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9760 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9761 (__fe_nomask_env): Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9763 __fegetround instead of fegetround.
9764 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9765 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9767 2013-11-21 Roland McGrath <roland@hack.frob.com>
9769 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9772 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9774 2013-11-21 Meador Inge <meadori@codesourcery.com>
9777 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9778 (encrypt_r): Likewise.
9779 * malloc/obstack.h (obstack_free): Likewise.
9780 * posix/unistd.h (encrypt): Likewise.
9782 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9784 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9785 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9786 DL_CALL_DT_FINI() that call the functions directly.
9787 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9788 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9789 * elf/dl-fini.c: Likewise.
9791 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9793 * malloc/hooks.c (memalign_check): Add alignment rounding.
9794 * malloc/malloc.c (_mid_memalign): New function.
9795 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9796 Implement by calling _mid_memalign.
9797 * manual/probes.texi (Memory Allocation Probes): Remove
9798 memory_valloc_retry and memory_pvalloc_retry.
9800 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9802 * locale/programs/locarchive.c (open_archive): Add const
9803 qualifier to ARCHIVEFNAME and copy default fname to
9807 * libio/tst-widetext.input: Rename Oriya to Odia.
9808 * locale/iso-639.def: Likewise.
9810 * manual/probes.texi (Mathematical Function Probes): Add
9811 documentation for sin, cos, asin and acos probes.
9812 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9813 (__sin32): Add slowasin probe.
9814 (__cos32): Add slowacos probe.
9815 (__mpsin): Add slowsin probe.
9816 (__mpcos): Add slowcos probe.
9818 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9821 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9822 thread-local __sim_exceptions_thread and global
9823 __sim_exceptions_global.
9824 (__sim_disabled_exceptions): Change to thread-local
9825 __sim_disabled_exceptions_thread and global
9826 __sim_disabled_exceptions_global.
9827 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9828 and global __sim_round_mode_global.
9829 (__simulate_exceptions): Use thread-local floating-point state and
9830 set global state from it as needed.
9831 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9832 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9833 __sim_round_mode_thread.
9834 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9835 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9836 and global __sim_exceptions_global.
9837 (__sim_disabled_exceptions): Change to thread-local
9838 __sim_disabled_exceptions_thread and global
9839 __sim_disabled_exceptions_global.
9840 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9841 and global __sim_round_mode_global.
9842 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9843 (SIM_SET_GLOBAL): Likewise.
9844 * sysdeps/powerpc/soft-fp/sfp-machine.h
9845 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9846 __sim_round_mode_thread.
9847 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9848 __sim_disabled_exceptions_thread.
9849 (__sim_exceptions): Change to __sim_exceptions_thread.
9850 (__sim_disabled_exceptions): Change to
9851 __sim_disabled_exceptions_thread.
9852 (__sim_round_mode): Change to __sim_round_mode_thread.
9853 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9854 thread-local floating-point state and set global state from it as
9856 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9857 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9858 (__sim_disabled_exceptions): Remove extern declaration.
9859 (feenableexcept): Use thread-local floating-point state and set
9860 global state from it as needed.
9861 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9863 (__sim_disabled_exceptions): Likewise.
9864 (__sim_round_mode): Likewise.
9865 (__fegetenv): Use thread-local floating-point state.
9866 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9867 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9868 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9869 floating-point state and set global state from it as needed.
9870 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9871 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9872 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9874 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9875 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9877 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9878 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9879 Use __sim_round_mode_thread.
9880 * math/test-fenv-tls.c: New file.
9881 * math/Makefile (tests): Add test-fenv-tls.
9882 ($(objpfx)test-fenv-tls): Depend on
9883 $(common-objpfx)nptl/libpthread.so.
9885 2013-11-19 Andreas Schwab <schwab@suse.de>
9887 * locale/programs/locale.c (show_info): Decode wordarray elements.
9888 * locale/categories.def (LC_MONETARY): Add element for
9889 _NL_MONETARY_CRNCYSTR.
9890 * locale/C-monetary.c (conversion_rate): New variable.
9891 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9894 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9896 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9897 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9899 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9901 * elf/Makefile (tst-auxv): New test.
9902 * elf/tst-auxv.c: New
9903 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9905 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9907 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9908 (hidden_proto): Caller changed.
9909 (hidden_tls_proto): New macro.
9910 (libc_hidden_tls_proto): Likewise.
9911 (rtld_hidden_tls_proto): Likewise.
9912 (libm_hidden_tls_proto): Likewise.
9913 (libresolv_hidden_tls_proto): Likewise.
9914 (librt_hidden_tls_proto): Likewise.
9915 (libdl_hidden_tls_proto): Likewise.
9916 (libnss_files_hidden_tls_proto): Likewise.
9917 (libnsl_hidden_tls_proto): Likewise.
9918 (libnss_nisplus_hidden_tls_proto): Likewise.
9919 (libutil_hidden_tls_proto): Likewise.
9921 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9924 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9925 (decompose_rpath): Defer expansion to fillin_rpath.
9926 (_dl_init_paths): Pass linkmap to fillin_rpath.
9928 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9930 * benchtests/Makefile: Add strsep.
9931 * benchtests/bench-strsep.c: New file: strsep benchtest.
9932 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9934 2013-11-18 Andreas Schwab <schwab@suse.de>
9936 * locale/programs/locale.c (show_info) [case byte]: Check for
9937 '\377' instead of '\177'.
9938 * locale/C-monetary.c (not_available): Always use "\377".
9939 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9940 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9941 detect unavailable sign_posn locale elements.
9942 * locale/localeconv.c (__localeconv): For grouping and
9943 mon_grouping handle "\177" and "\377" like no grouping.
9944 (INT_ELEM): New macro. Use it to set all numeric members.
9945 * locale/programs/ld-monetary.c (monetary_read)
9946 <tok_mon_grouping>: Normalize single -1 to the empty string.
9947 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9950 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9953 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9954 when we match (nil).
9955 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9957 2013-11-16 Joseph Myers <joseph@codesourcery.com>
9959 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9960 (NO_TEST_INLINE): Update value.
9961 (ERRNO_UNCHANGED): Likewise.
9962 (ERRNO_EDOM): Likewise.
9963 (ERRNO_ERANGE): Likewise.
9964 (IGNORE_RESULT): Likewise.
9965 (check_float_internal): Check signs of NaN results if
9967 (check_complex): Pass TEST_NAN_SIGN flag through to second
9968 check_float_internal call.
9969 (copysign_test_data): Add tests with quiet NaNs as second
9970 argument. Use TEST_NAN_SIGN.
9971 (fabs_test_data): Add test of negative quiet NaN argument. Use
9973 (signbit_test_data): Add tests of quiet NaN argument.
9974 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9976 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9978 (parse_args): Handle function results specified as IGNORE.
9979 * math/libm-test.inc (IGNORE_RESULT): New macro.
9980 (check_float_internal): Do not check numerical result if flag
9982 (check_complex): Pass through IGNORE_RESULT to second
9983 check_float_internal call.
9984 (check_int): Do not check numerical result if flag IGNORE_RESULT
9986 (check_long): Likewise.
9987 (check_bool): Likewise.
9988 (check_longlong): Likewise.
9989 (lrint_test_data): Add tests of infinite and NaN arguments.
9990 (lrint_tonearest_test_data): Likewise.
9991 (lrint_towardzero_test_data): Likewise.
9992 (lrint_downward_test_data): Likewise.
9993 (lrint_upward_test_data): Likewise.
9994 (llrint_test_data): Likewise.
9995 (llrint_tonearest_test_data): Likewise.
9996 (llrint_towardzero_test_data): Likewise.
9997 (llrint_downward_test_data): Likewise.
9998 (llrint_upward_test_data): Likewise.
9999 (lround_test_data): Likewise.
10000 (llround_test_data): Likewise.
10002 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10003 (ERRNO_UNCHANGED): Update value.
10004 (ERRNO_EDOM): Likewise.
10005 (ERRNO_ERANGE): Likewise.
10006 (NO_TEST_INLINE_FLOAT): New macro.
10007 (NO_TEST_INLINE_DOUBLE): Likewise.
10008 (enable_test): New function.
10009 (RUN_TEST_f_f): Check enable_test before running test.
10010 (RUN_TEST_2_f): Likewise.
10011 (RUN_TEST_fff_f): Likewise.
10012 (RUN_TEST_c_f): Likewise.
10013 (RUN_TEST_f_f1): Likewise.
10014 (RUN_TEST_fF_f1): Likewise.
10015 (RUN_TEST_fI_f1): Likewise.
10016 (RUN_TEST_ffI_f1): Likewise.
10017 (RUN_TEST_c_c): Likewise.
10018 (RUN_TEST_cc_c): Likewise.
10019 (RUN_TEST_f_i): Likewise.
10020 (RUN_TEST_f_i_tg): Likewise.
10021 (RUN_TEST_ff_i_tg): Likewise.
10022 (RUN_TEST_f_b): Likewise.
10023 (RUN_TEST_f_b_tg): Likewise.
10024 (RUN_TEST_f_l): Likewise.
10025 (RUN_TEST_f_L): Likewise.
10026 (RUN_TEST_fFF_11): Likewise.
10027 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10029 (cosh_test_data): Likewise.
10030 (exp_test_data): Likewise.
10031 (expm1_test_data): Likewise.
10032 (hypot_test_data): Likewise.
10033 (pow_test_data): Likewise.
10034 (sinh_test_data): Likewise.
10035 (tanh_test_data): Likewise.
10036 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10039 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10040 tests with quiet NaN input and output.
10041 (acosh_test_data): Likewise.
10042 (asin_test_data): Likewise.
10043 (asinh_test_data): Likewise.
10044 (atan_test_data): Likewise.
10045 (atanh_test_data): Likewise.
10046 (atan2_test_data): Likewise.
10047 (cbrt_test_data): Likewise.
10048 (cos_test_data): Likewise.
10049 (cosh_test_data): Likewise.
10050 (erf_test_data): Likewise.
10051 (erfc_test_data): Likewise.
10052 (exp_test_data): Likewise.
10053 (exp10_test_data): Likewise.
10054 (exp2_test_data): Likewise.
10055 (expm1_test_data): Likewise.
10056 (hypot_test_data): Likewise.
10057 (j0_test_data): Likewise.
10058 (j1_test_data): Likewise.
10059 (jn_test_data): Likewise.
10060 (lgamma_test_data): Likewise.
10061 (log_test_data): Likewise.
10062 (log10_test_data): Likewise.
10063 (log1p_test_data): Likewise.
10064 (log2_test_data): Likewise.
10065 (pow_test_data): Likewise.
10066 (scalb_test_data): Likewise.
10067 (sin_test_data): Likewise.
10068 (sincos_test_data): Likewise.
10069 (sinh_test_data): Likewise.
10070 (tan_test_data): Likewise.
10071 (tanh_test_data): Likewise.
10072 (tgamma_test_data): Likewise.
10073 (y0_test_data): Likewise.
10074 (y1_test_data): Likewise.
10075 (yn_test_data): Likewise.
10078 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10079 argument being NaN and avoid computations with second argument in
10081 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10082 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10083 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10085 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10087 * locale/iso-639.def: Add Chitwani Tharu (the).
10089 2013-11-14 Andreas Schwab <schwab@suse.de>
10091 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10092 word instead of empty string.
10094 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10097 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10099 (__fe_nomask_env): Likewise.
10101 2013-11-13 Steve Ellcey <sellcey@mips.com>
10103 * benchtests/bench-timing.h: Include time.h.
10105 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10108 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10110 * sysdeps/unix/sysv/linux/configure: Regenerated.
10112 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10115 * stdlib/strtod_l.c (round_and_return): Do not consider
10116 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10117 exponent one less than half the least subnormal exponent.
10118 * stdlib/test-strtod-round-data: Add more tests.
10119 * stdlib/tst-strtod-round.c (tests): Regenerated.
10121 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10124 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10125 (__fe_mask_env): Likewise.
10126 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10127 libm_hidden_proto and add function prototype.
10128 (__fe_mask_env): Add function prototype.
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10130 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10132 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10134 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10136 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10138 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10139 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10141 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10143 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10144 of htab_find_slot().
10146 2013-11-11 David S. Miller <davem@davemloft.net>
10149 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10150 symbol in the non-vis3 case in static builds.
10151 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10152 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10153 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10154 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10156 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10159 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10162 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10164 * benchtests/Makefile: Add bench-strtod.
10165 * benchtests/bench-strtod.c: New file: strtod benchtest
10167 2013-11-11 Andreas Schwab <schwab@suse.de>
10170 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10171 terminating NUL in key length.
10173 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10175 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10176 Add artificial ODP entry for vDSO symbol for PPC64.
10177 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10178 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10180 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10183 * nss/getent.c (services_keys): Recognize services starting with digit.
10185 2013-11-06 David S. Miller <davem@davemloft.net>
10188 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10189 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10191 2013-11-06 Will Newton <will.newton@linaro.org>
10193 * manual/memory.texi (Malloc Examples): Remove register
10194 keyword from examples.
10196 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10198 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10200 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10203 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10204 depending on [__GCC_IEC_559 > 0].
10205 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10206 depending on [__GCC_IEC_559_COMPLEX > 0].
10208 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10210 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10213 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10215 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10217 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10220 * malloc/malloc (malloc_info): Do not handle first bin as
10223 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10225 * locale/iso-639.def: Add Central Nahuatl (nhn).
10227 2013-11-01 Bruno Haible <bruno@clisp.org>
10230 * manual/math.texi (BSD Random): Specify range upper bound as
10233 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10235 * locale/iso-639.def: Add Meadow Mari (mhr).
10237 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10239 [BZ #14752], [BZ #15763]
10240 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10242 * rt/tst_shm.c: Add test for escaping directory.
10244 2013-10-31 Andreas Schwab <schwab@suse.de>
10247 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10248 followed by 'x' as part of digit sequence.
10249 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10251 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10254 * configure.ac: allow GNU Make 4.0 and greater.
10255 * configure: Regenerated.
10257 2013-10-30 Will Newton <will.newton@linaro.org>
10260 * malloc/hooks.c (memalign_check): Limit alignment to the
10261 maximum representable power of two.
10262 * malloc/malloc.c (__libc_memalign): Likewise.
10263 * malloc/tst-memalign.c (do_test): Add test for very
10264 large alignment values.
10265 * malloc/tst-posix_memalign.c (do_test): Likewise.
10267 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10270 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10271 (munmap_chunk): Likewise.
10272 (mremap_chunk): Likewise.
10274 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10277 * stdlib/div.c (div): Remove obsolete code.
10278 * stdlib/ldiv.c (ldiv): Likewise.
10279 * stdlib/lldiv.c (lldiv): Likewise.
10281 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10284 * nss/nss_files/files-XXX.c (get_contents_ret): New
10286 (get_contents): New function.
10287 (internal_getent): Use it. Expand size of LINEBUFLEN.
10289 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10291 * configure.in: Moved to ...
10292 * configure.ac: ... here. Change reference to configure.in
10294 * sysdeps/arm/preconfigure.ac: ... here.
10295 configure.in to configure.ac.
10296 * sysdeps/gnu/configure.in: Moved to ...
10297 * sysdeps/gnu/configure.ac: ... here.
10298 * sysdeps/i386/configure.in: Moved to ...
10299 * sysdeps/i386/configure.ac: ... here.
10300 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10301 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10302 * sysdeps/mach/configure.in: Moved to ...
10303 * sysdeps/mach/configure.ac: ... here.
10304 * sysdeps/mach/hurd/configure.in: Moved to ...
10305 * sysdeps/mach/hurd/configure.ac: ... here.
10306 * sysdeps/powerpc/configure.in: Moved to ...
10307 * sysdeps/powerpc/configure.ac: ... here.
10308 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10309 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10310 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10311 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10312 * sysdeps/s390/s390-32/configure.in: Moved to ...
10313 * sysdeps/s390/s390-32/configure.ac: ... here.
10314 * sysdeps/s390/s390-64/configure.in: Moved to ...
10315 * sysdeps/s390/s390-64/configure.ac: ... here.
10316 * sysdeps/sh/configure.in: Moved to ...
10317 * sysdeps/sh/configure.ac: ... here.
10318 * sysdeps/sparc/configure.in: Moved to ...
10319 * sysdeps/sparc/configure.ac: ... here.
10320 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10321 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10322 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10323 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10324 * sysdeps/x86_64/configure.in: Moved to ...
10325 * sysdeps/x86_64/configure.ac: ... here.
10326 * sysdeps/x86_64/preconfigure.in: Moved to ...
10327 * sysdeps/x86_64/preconfigure.ac: ... here.
10328 * aclocal.m4: Change reference to configure.in to configure.ac.
10329 * config.h.in: Likewise.
10330 * manual/install.texi: Likewise.
10331 * manual/maint.texi: Likewise.
10332 * Makefile: Likewise.
10333 * malloc/Makefile: Likewise.
10334 * nscd/Makefile: Likewise.
10335 * Makeconfig: Change reference to configure.in and
10336 preconfigure.in to configure.ac and preconfigure.ac
10338 * INSTALL: Regenerated.
10339 * configure: Likewise.
10340 * sysdeps/gnu/configure: Likewise.
10341 * sysdeps/i386/configure: Likewise.
10342 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10343 * sysdeps/mach/configure: Likewise.
10344 * sysdeps/mach/hurd/configure: Likewise.
10345 * sysdeps/powerpc/configure: Likewise.
10346 * sysdeps/powerpc/powerpc32/configure: Likewise.
10347 * sysdeps/powerpc/powerpc64/configure: Likewise.
10348 * sysdeps/s390/s390-32/configure: Likewise.
10349 * sysdeps/s390/s390-64/configure: Likewise.
10350 * sysdeps/sh/configure: Likewise.
10351 * sysdeps/sparc/configure: Likewise.
10352 * sysdeps/unix/sysv/linux/configure: Likewise.
10353 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10354 * sysdeps/x86_64/configure: Likewise.
10355 * sysdeps/x86_64/preconfigure: Likewise.
10357 2013-10-29 Andreas Schwab <schwab@suse.de>
10359 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10361 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10363 * benchtests/pow-inputs: Add new inputs.
10365 * benchtests/exp-inputs: Add new inputs.
10367 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10368 conditional check for return value.
10369 (__cos32): Likewise.
10371 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10373 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10374 to provide a boost for large inputs with word alignment.
10375 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10376 implementation based on optimized PPC64 strcpy.
10377 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10378 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10379 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10380 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10382 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10385 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10387 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10390 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10391 * time/tst-strptime.c (day_tests): Add testcase.
10393 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10396 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10398 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10401 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10402 MAP_FAILED on error.
10404 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10407 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10408 heap for large requests.
10410 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10413 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10414 result if the result has no associated interface.
10415 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10416 interface for all 127.X.Y.Z addresses.
10418 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10420 * locale/iso-639.def: Add Ligurian (lij)
10422 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10425 * sunrpc/rpc_main.c: Document rpcgen -5.
10427 2013-10-19 Michael Stahl <mstahl@redhat.com>
10429 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10431 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10434 * posix/glob.c: Match only directories when trailing slash is present.
10435 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10436 (main): Add testcase.
10438 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10441 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10443 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10445 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10446 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10447 AUTH_DES and cindex for FIPS 140-2.
10448 (DES Encryption): Add cindex FIPS 46-3.
10450 * locale/locarchive.h (struct locarhandle): Add fname.
10451 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10452 if an optional argument was specified to --list-archive,
10454 * locale/programs/locarchive.c (show_archive_content): Take new
10455 argument fname and pass it via ah.fname to open_archive.
10456 * locale/programs/localedef.h: Update decl.
10457 (open_archive): If AH->fname is non-null, open that file
10458 rather than the default file name, and don't ignore ENOENT.
10459 (create_archive): Set AH.fname to NULL.
10460 (delete_locales_from_archive): Likewise.
10461 (add_locales_to_archive): Likewise.
10462 * locale/programs/locfile.c (write_all_categories): Likewise.
10464 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10465 Aldy Hernandez <aldyh@redhat.com>
10467 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10468 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10469 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10470 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10471 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10472 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10473 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10474 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10475 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10476 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10477 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10478 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10479 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10480 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10481 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10483 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10485 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10487 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10489 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10490 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10492 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10493 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10494 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10495 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10497 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10498 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10499 * sysdeps/powerpc/preconfigure: Likewise.
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10502 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10503 Replace contents of file by #include of <fenv_libc.h>.
10504 * sysdeps/powerpc/soft-fp/sfp-machine.h
10505 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10507 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10508 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10509 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10510 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10511 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10512 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10514 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10515 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10516 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10517 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10518 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10520 Allow copysignl PLT reference to be missing.
10522 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10523 Joseph Myers <joseph@codesourcery.com
10526 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10528 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10530 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10532 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10533 * elf/tst-tls1.c: Likewise.
10534 * elf/tst-tls10.h: Likewise.
10535 * elf/tst-tls14.c: Likewise.
10536 * elf/tst-tls2.c: Likewise.
10537 * elf/tst-tls3.c: Likewise.
10538 * elf/tst-tls4.c: Likewise.
10539 * elf/tst-tls5.c: Likewise.
10540 * elf/tst-tls6.c: Likewise.
10541 * elf/tst-tls7.c: Likewise.
10542 * elf/tst-tls8.c: Likewise.
10543 * elf/tst-tls9.c: Likewise.
10544 * elf/tst-tlsmod1.c: Likewise.
10545 * elf/tst-tlsmod13.c: Likewise.
10546 * elf/tst-tlsmod13a.c: Likewise.
10547 * elf/tst-tlsmod14a.c: Likewise.
10548 * elf/tst-tlsmod16a.c: Likewise.
10549 * elf/tst-tlsmod16b.c: Likewise.
10550 * elf/tst-tlsmod2.c: Likewise.
10551 * elf/tst-tlsmod3.c: Likewise.
10552 * elf/tst-tlsmod4.c: Likewise.
10553 * elf/tst-tlsmod5.c: Likewise.
10554 * elf/tst-tlsmod6.c: Likewise.
10556 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10559 * malloc/malloc.c: remove checks for statistics.
10561 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10564 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10565 * inet/tst-network.c: Add testcase.
10567 2013-10-17 Andreas Schwab <schwab@suse.de>
10570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10571 to determine canonical name.
10573 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10575 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10576 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10578 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10579 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10580 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10581 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10582 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10583 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10584 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10585 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10587 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10588 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10589 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10590 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10591 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10592 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10594 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10595 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10598 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10599 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10600 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10601 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10602 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10604 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10605 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10607 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10608 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10611 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10613 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10615 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10617 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10618 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10619 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10620 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10621 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10623 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10624 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10625 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10626 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10627 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10629 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10630 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10632 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10634 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10637 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10638 make result into a quiet NaN.
10640 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10642 * soft-fp/adddf3.c: Fix horizontal whitespace.
10643 * soft-fp/addsf3.c: Likewise.
10644 * soft-fp/addtf3.c: Likewise.
10645 * soft-fp/divdf3.c: Likewise.
10646 * soft-fp/divsf3.c: Likewise.
10647 * soft-fp/divtf3.c: Likewise.
10648 * soft-fp/double.h: Likewise.
10649 * soft-fp/eqdf2.c: Likewise.
10650 * soft-fp/eqsf2.c: Likewise.
10651 * soft-fp/eqtf2.c: Likewise.
10652 * soft-fp/extenddftf2.c: Likewise.
10653 * soft-fp/extended.h: Likewise.
10654 * soft-fp/extendsfdf2.c: Likewise.
10655 * soft-fp/extendsftf2.c: Likewise.
10656 * soft-fp/extendxftf2.c: Likewise.
10657 * soft-fp/fixdfdi.c: Likewise.
10658 * soft-fp/fixdfsi.c: Likewise.
10659 * soft-fp/fixdfti.c: Likewise.
10660 * soft-fp/fixsfdi.c: Likewise.
10661 * soft-fp/fixsfsi.c: Likewise.
10662 * soft-fp/fixsfti.c: Likewise.
10663 * soft-fp/fixtfdi.c: Likewise.
10664 * soft-fp/fixtfsi.c: Likewise.
10665 * soft-fp/fixtfti.c: Likewise.
10666 * soft-fp/fixunsdfdi.c: Likewise.
10667 * soft-fp/fixunsdfsi.c: Likewise.
10668 * soft-fp/fixunsdfti.c: Likewise.
10669 * soft-fp/fixunssfdi.c: Likewise.
10670 * soft-fp/fixunssfsi.c: Likewise.
10671 * soft-fp/fixunssfti.c: Likewise.
10672 * soft-fp/fixunstfdi.c: Likewise.
10673 * soft-fp/fixunstfsi.c: Likewise.
10674 * soft-fp/fixunstfti.c: Likewise.
10675 * soft-fp/floatdidf.c: Likewise.
10676 * soft-fp/floatdisf.c: Likewise.
10677 * soft-fp/floatditf.c: Likewise.
10678 * soft-fp/floatsidf.c: Likewise.
10679 * soft-fp/floatsisf.c: Likewise.
10680 * soft-fp/floatsitf.c: Likewise.
10681 * soft-fp/floattidf.c: Likewise.
10682 * soft-fp/floattisf.c: Likewise.
10683 * soft-fp/floattitf.c: Likewise.
10684 * soft-fp/floatundidf.c: Likewise.
10685 * soft-fp/floatundisf.c: Likewise.
10686 * soft-fp/floatunditf.c: Likewise.
10687 * soft-fp/floatunsidf.c: Likewise.
10688 * soft-fp/floatunsisf.c: Likewise.
10689 * soft-fp/floatunsitf.c: Likewise.
10690 * soft-fp/floatuntidf.c: Likewise.
10691 * soft-fp/floatuntisf.c: Likewise.
10692 * soft-fp/floatuntitf.c: Likewise.
10693 * soft-fp/fmadf4.c: Likewise.
10694 * soft-fp/fmasf4.c: Likewise.
10695 * soft-fp/fmatf4.c: Likewise.
10696 * soft-fp/gedf2.c: Likewise.
10697 * soft-fp/gesf2.c: Likewise.
10698 * soft-fp/getf2.c: Likewise.
10699 * soft-fp/ledf2.c: Likewise.
10700 * soft-fp/lesf2.c: Likewise.
10701 * soft-fp/letf2.c: Likewise.
10702 * soft-fp/muldf3.c: Likewise.
10703 * soft-fp/mulsf3.c: Likewise.
10704 * soft-fp/multf3.c: Likewise.
10705 * soft-fp/negdf2.c: Likewise.
10706 * soft-fp/negsf2.c: Likewise.
10707 * soft-fp/negtf2.c: Likewise.
10708 * soft-fp/op-1.h: Likewise.
10709 * soft-fp/op-2.h: Likewise.
10710 * soft-fp/op-4.h: Likewise.
10711 * soft-fp/op-8.h: Likewise.
10712 * soft-fp/op-common.h: Likewise.
10713 * soft-fp/quad.h: Likewise.
10714 * soft-fp/single.h: Likewise.
10715 * soft-fp/soft-fp.h: Likewise.
10716 * soft-fp/sqrtdf2.c: Likewise.
10717 * soft-fp/sqrtsf2.c: Likewise.
10718 * soft-fp/sqrttf2.c: Likewise.
10719 * soft-fp/subdf3.c: Likewise.
10720 * soft-fp/subsf3.c: Likewise.
10721 * soft-fp/subtf3.c: Likewise.
10722 * soft-fp/truncdfsf2.c: Likewise.
10723 * soft-fp/trunctfdf2.c: Likewise.
10724 * soft-fp/trunctfsf2.c: Likewise.
10725 * soft-fp/trunctfxf2.c: Likewise.
10726 * soft-fp/unorddf2.c: Likewise.
10727 * soft-fp/unordsf2.c: Likewise.
10728 * soft-fp/unordtf2.c: Likewise.
10730 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10732 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10733 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10735 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10737 * elf/dl-libc.c: Clear initfini list after freeing.
10739 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10741 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10742 * soft-fp/addsf3.c: Likewise.
10743 * soft-fp/addtf3.c: Likewise.
10744 * soft-fp/divdf3.c: Likewise.
10745 * soft-fp/divsf3.c: Likewise.
10746 * soft-fp/divtf3.c: Likewise.
10747 * soft-fp/double.h: Likewise.
10748 * soft-fp/eqdf2.c: Likewise.
10749 * soft-fp/eqsf2.c: Likewise.
10750 * soft-fp/eqtf2.c: Likewise.
10751 * soft-fp/extenddftf2.c: Likewise.
10752 * soft-fp/extended.h: Likewise.
10753 * soft-fp/extendsfdf2.c: Likewise.
10754 * soft-fp/extendsftf2.c: Likewise.
10755 * soft-fp/extendxftf2.c: Likewise.
10756 * soft-fp/fixdfdi.c: Likewise.
10757 * soft-fp/fixdfsi.c: Likewise.
10758 * soft-fp/fixdfti.c: Likewise.
10759 * soft-fp/fixsfdi.c: Likewise.
10760 * soft-fp/fixsfsi.c: Likewise.
10761 * soft-fp/fixsfti.c: Likewise.
10762 * soft-fp/fixtfdi.c: Likewise.
10763 * soft-fp/fixtfsi.c: Likewise.
10764 * soft-fp/fixtfti.c: Likewise.
10765 * soft-fp/fixunsdfdi.c: Likewise.
10766 * soft-fp/fixunsdfsi.c: Likewise.
10767 * soft-fp/fixunsdfti.c: Likewise.
10768 * soft-fp/fixunssfdi.c: Likewise.
10769 * soft-fp/fixunssfsi.c: Likewise.
10770 * soft-fp/fixunssfti.c: Likewise.
10771 * soft-fp/fixunstfdi.c: Likewise.
10772 * soft-fp/fixunstfsi.c: Likewise.
10773 * soft-fp/fixunstfti.c: Likewise.
10774 * soft-fp/floatdidf.c: Likewise.
10775 * soft-fp/floatdisf.c: Likewise.
10776 * soft-fp/floatditf.c: Likewise.
10777 * soft-fp/floatsidf.c: Likewise.
10778 * soft-fp/floatsisf.c: Likewise.
10779 * soft-fp/floatsitf.c: Likewise.
10780 * soft-fp/floattidf.c: Likewise.
10781 * soft-fp/floattisf.c: Likewise.
10782 * soft-fp/floattitf.c: Likewise.
10783 * soft-fp/floatundidf.c: Likewise.
10784 * soft-fp/floatundisf.c: Likewise.
10785 * soft-fp/floatunsidf.c: Likewise.
10786 * soft-fp/floatunsisf.c: Likewise.
10787 * soft-fp/floatuntidf.c: Likewise.
10788 * soft-fp/floatuntisf.c: Likewise.
10789 * soft-fp/floatuntitf.c: Likewise.
10790 * soft-fp/fmadf4.c: Likewise.
10791 * soft-fp/fmasf4.c: Likewise.
10792 * soft-fp/fmatf4.c: Likewise.
10793 * soft-fp/gedf2.c: Likewise.
10794 * soft-fp/gesf2.c: Likewise.
10795 * soft-fp/getf2.c: Likewise.
10796 * soft-fp/ledf2.c: Likewise.
10797 * soft-fp/lesf2.c: Likewise.
10798 * soft-fp/letf2.c: Likewise.
10799 * soft-fp/muldf3.c: Likewise.
10800 * soft-fp/mulsf3.c: Likewise.
10801 * soft-fp/multf3.c: Likewise.
10802 * soft-fp/negdf2.c: Likewise.
10803 * soft-fp/negsf2.c: Likewise.
10804 * soft-fp/negtf2.c: Likewise.
10805 * soft-fp/op-1.h: Likewise.
10806 * soft-fp/op-2.h: Likewise.
10807 * soft-fp/op-4.h: Likewise.
10808 * soft-fp/op-8.h: Likewise.
10809 * soft-fp/op-common.h: Likewise.
10810 * soft-fp/quad.h: Likewise.
10811 * soft-fp/single.h: Likewise.
10812 * soft-fp/soft-fp.h: Likewise.
10813 * soft-fp/sqrtdf2.c: Likewise.
10814 * soft-fp/sqrtsf2.c: Likewise.
10815 * soft-fp/sqrttf2.c: Likewise.
10816 * soft-fp/subdf3.c: Likewise.
10817 * soft-fp/subsf3.c: Likewise.
10818 * soft-fp/subtf3.c: Likewise.
10819 * soft-fp/truncdfsf2.c: Likewise.
10820 * soft-fp/trunctfdf2.c: Likewise.
10821 * soft-fp/trunctfsf2.c: Likewise.
10822 * soft-fp/trunctfxf2.c: Likewise.
10823 * soft-fp/unorddf2.c: Likewise.
10824 * soft-fp/unordsf2.c: Likewise.
10825 * soft-fp/unordtf2.c: Likewise.
10827 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10830 * misc/error.c (error_tail): Fix possible buffer overflow.
10832 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10835 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10838 2013-10-14 P. J. McDermott <pj@pehjota.net>
10841 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10842 testing pipefail option.
10844 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10846 * soft-fp/double.h: Indent preprocessor directives inside #if.
10847 * soft-fp/extended.h: Likewise.
10848 * soft-fp/op-2.h: Likewise.
10849 * soft-fp/op-4.h: Likewise.
10850 * soft-fp/op-common.h: Likewise.
10851 * soft-fp/quad.h: Likewise.
10852 * soft-fp/single.h: Likewise.
10853 * soft-fp/soft-fp.h: Likewise.
10855 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10857 * iconv/iconv_prog.c: Fix typos.
10858 * stdio-common/psiginfo-data.h: Likewise.
10860 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10863 * locale/setlocale.c: Fix typo.
10865 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10868 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10869 signaling NaN arguments.
10870 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10871 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10874 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10875 unordered operands.
10876 * soft-fp/gesf2.c (__gesf2): Likewise.
10877 * soft-fp/getf2.c (__getf2): Likewise.
10878 * soft-fp/ledf2.c (__ledf2): Likewise.
10879 * soft-fp/lesf2.c (__lesf2): Likewise.
10880 * soft-fp/letf2.c (__letf2): Likewise.
10882 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10883 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10884 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10885 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10886 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10887 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10888 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10889 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10890 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10891 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10892 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10893 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10894 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10895 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10896 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10897 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10898 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10899 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10900 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10901 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10902 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10903 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10904 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10905 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10906 * soft-fp/floattidf.c (__floattidf): Likewise.
10907 * soft-fp/floattisf.c (__floattisf): Likewise.
10908 * soft-fp/floattitf.c (__floattitf): Likewise.
10909 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10910 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10911 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10912 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10913 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10914 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10915 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10916 * soft-fp/gesf2.c (__gesf2): Likewise.
10917 * soft-fp/getf2.c (__getf2): Likewise.
10918 * soft-fp/ledf2.c (__ledf2): Likewise.
10919 * soft-fp/lesf2.c (__lesf2): Likewise.
10920 * soft-fp/letf2.c (__letf2): Likewise.
10922 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10923 Undefine and redefine.
10924 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10925 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10926 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10927 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10928 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10929 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10930 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10931 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10932 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10933 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10934 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10935 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10936 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10937 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10938 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10941 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10942 without decrementing exponent if mantissa >= that for the
10943 denominator, not >.
10944 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10945 denominator, not >. Decrement exponent in < case instead of
10946 incrementing in >= case.
10947 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10948 without decrementing exponent if mantissa >= that for the
10949 denominator, not >.
10951 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10952 computing saturated result for unsigned overflow.
10954 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10955 Jeff Law <law@redhat.com>
10957 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10958 (atan2Mp): Add systemtap probe marker.
10959 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10960 (__ieee754_log): Add systemtap probe marker.
10961 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10962 (atanMp): Add systemtap probe marker.
10963 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10964 (tanMp): Add systemtap probe marker.
10965 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10966 (__slowexp): Add systemtap probe marker.
10967 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10968 (__slowpow): Add systemtap probe marker.
10969 * manual/probes.texi: Document probes.
10971 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
10974 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10976 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10978 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10979 written to buffer but not flushed.
10980 * libio/iofwrite_u.c: Likewise.
10981 * libio/iopadn.c: Return bytes returned even if EOF was
10983 * libio/iowpadn.c: Likewise.
10984 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10985 if _IO_padn does not write the whole buffer.
10986 [!COMPILE_WPRINTF] (PAD): Likewise.
10988 2013-10-10 David S. Miller <davem@davemloft.net>
10990 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10993 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10995 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10996 instead of FSF address.
10997 * soft-fp/fixdfti.c: Likewise.
10998 * soft-fp/fixsfti.c: Likewise.
10999 * soft-fp/fixtfti.c: Likewise.
11000 * soft-fp/fixunsdfti.c: Likewise.
11001 * soft-fp/fixunssfti.c: Likewise.
11002 * soft-fp/fixunstfti.c: Likewise.
11003 * soft-fp/floattidf.c: Likewise.
11004 * soft-fp/floattisf.c: Likewise.
11005 * soft-fp/floattitf.c: Likewise.
11006 * soft-fp/floatuntidf.c: Likewise.
11007 * soft-fp/floatuntisf.c: Likewise.
11008 * soft-fp/floatuntitf.c: Likewise.
11009 * soft-fp/trunctfxf2.c: Likewise.
11011 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11012 * soft-fp/fixdfti.c: Likewise.
11013 * soft-fp/fixsfti.c: Likewise.
11014 * soft-fp/fixtfti.c: Likewise.
11015 * soft-fp/fixunsdfti.c: Likewise.
11016 * soft-fp/fixunssfti.c: Likewise.
11017 * soft-fp/fixunstfti.c: Likewise.
11018 * soft-fp/floattidf.c: Likewise.
11019 * soft-fp/floattisf.c: Likewise.
11020 * soft-fp/floattitf.c: Likewise.
11021 * soft-fp/floatuntidf.c: Likewise.
11022 * soft-fp/floatuntisf.c: Likewise.
11023 * soft-fp/floatuntitf.c: Likewise.
11024 * soft-fp/trunctfxf2.c: Likewise.
11026 2013-10-10 David S. Miller <davem@davemloft.net>
11028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11030 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11032 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11033 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11034 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11035 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11036 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11037 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11038 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11040 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11041 for NaNs before doing comparisons on argument.
11042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11045 2013-10-10 Will Newton <will.newton@linaro.org>
11047 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11048 passed to _int_memalign does not overflow.
11050 2013-10-10 Torvald Riegel <triegel@redhat.com>
11052 * scripts/bench.pl: Add include-sources directive.
11053 * benchtests/README: Update documentation.
11055 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11057 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11058 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11059 instead of FP_INIT_ROUNDMODE.
11060 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11061 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11064 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11065 copy class of input value.
11066 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11067 not handle exceptions.
11068 * soft-fp/negsf2.c (__negsf2): Likewise.
11069 * soft-fp/negtf2.c (__negtf2): Likewise.
11070 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11072 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11074 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11075 semicolon. From Linux kernel.
11077 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11079 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11081 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11084 * manual/socket.texi: Added statement about buffer
11085 for gethostbyname2_r.
11087 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11089 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11090 Use .p2align directive instead, throughout.
11091 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11092 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11093 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11094 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11095 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11096 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11097 * sysdeps/x86_64/strchr.S: Likewise.
11098 * sysdeps/x86_64/strrchr.S: Likewise.
11100 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11102 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11104 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11106 * sysdeps/generic/math_private.h (__mpsin1): Remove
11108 (__mpcos1): Likewise.
11109 (__mpsin): New argument __range_reduce.
11110 (__mpcos): Likewise.
11111 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11112 (slow): Use __mpsin and __mpcos.
11116 (sloww1): Likewise.
11117 (sloww2): Likewise.
11118 (bsloww): Likewise.
11119 (bsloww1): Likewise.
11120 (bsloww2): Likewise.
11121 (cslow2): Likewise.
11122 (csloww): Likewise.
11123 (csloww1): Likewise.
11124 (csloww2): Likewise.
11125 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11126 range_reduce. Merge in __mpsin1.
11127 (__mpcos): Likewise.
11128 (__mpsin1): Remove.
11129 (__mpcos1): Likewise.
11131 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11133 * locale/loadlocale.c (_nl_intern_locale_data): Use
11135 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11136 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11137 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11138 obstack data is appropriately aligned.
11139 (obstack_int32_grow_fast): Likewise.
11140 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11141 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11142 (add_locale_uint32_array): Likewise.
11144 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11146 * benchtests/Makefile: Remove ARGLIST and RET variables.
11147 ($(objpfx)bench-%.c): Pass only function name to the script.
11148 * benchtests/README: Update documentation.
11149 * benchtests/acos-inputs: Add new directives.
11150 * benchtests/acosh-inputs: Likewise.
11151 * benchtests/asin-inputs: Likewise.
11152 * benchtests/asinh-inputs: Likewise.
11153 * benchtests/atan-inputs: Likewise.
11154 * benchtests/atanh-inputs: Likewise.
11155 * benchtests/cos-inputs: Likewise.
11156 * benchtests/cosh-inputs: Likewise.
11157 * benchtests/exp-inputs: Likewise.
11158 * benchtests/log-inputs: Likewise.
11159 * benchtests/pow-inputs: Likewise.
11160 * benchtests/rint-inputs: Likewise.
11161 * benchtests/sin-inputs: Likewise.
11162 * benchtests/sinh-inputs: Likewise.
11163 * benchtests/tan-inputs: Likewise.
11164 * benchtests/tanh-inputs: Likewise.
11165 * scripts/bench.pl: Add support for new directives.
11167 2013-10-07 Alan Modra <amodra@gmail.com>
11169 * README: Fix careless merge.
11171 2013-10-05 Alan Modra <amodra@gmail.com>
11173 * NEWS: Mention powerpc64le support and bugs fixed.
11174 * README: Both big-endian and little-endian powerpc64 supported.
11176 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11178 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11179 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11180 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11181 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11183 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11185 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11188 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11190 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11191 Move -mhard-float appending from
11192 ports/sysdeps/powerpc/powerpc32/Makefile.
11193 [$(with-fp) = yes] (ASFLAGS): Likewise.
11194 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11195 * sysdeps/powerpc/nofpu: Move directory from
11196 ports/sysdeps/powerpc/nofpu.
11197 * sysdeps/powerpc/soft-fp: Move directory from
11198 ports/sysdeps/powerpc/soft-fp.
11199 * sysdeps/powerpc/powerpc32/405: Move directory from
11200 ports/sysdeps/powerpc/powerpc32/405.
11201 * sysdeps/powerpc/powerpc32/440: Move directory from
11202 ports/sysdeps/powerpc/powerpc32/440.
11203 * sysdeps/powerpc/powerpc32/464: Move directory from
11204 ports/sysdeps/powerpc/powerpc32/464.
11205 * sysdeps/powerpc/powerpc32/476: Move directory from
11206 ports/sysdeps/powerpc/powerpc32/476.
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11208 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11210 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11212 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11214 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11216 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11217 * README: Update for powerpc-*-linux-gnu software floating point
11220 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11221 case to powerpc/powerpc32*.
11222 * sysdeps/unix/sysv/linux/configure: Regenerated.
11224 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11225 (_FPU_MASK_OM): Define as 0x04.
11226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11234 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11237 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11240 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11241 and setcontext_e500.
11243 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11245 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11247 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11249 * manual/threads.texi (Default Thread Attributes): Fix typo.
11251 2013-10-04 Will Newton <will.newton@linaro.org>
11253 * malloc/Makefile: Add tst-memalign.
11254 * malloc/tst-memalign.c: New file.
11256 * malloc/tst-posix_memalign.c: Add comments.
11257 (do_test): Add comments and call free on all potentially
11258 allocated pointers. Add space after cast.
11260 * malloc/tst-pvalloc.c: Add comments.
11261 (do_test): Add comments and call free on all potentially
11262 allocated pointers. Remove duplicate check for NULL pointer.
11263 Add space after cast.
11265 * malloc/tst-valloc.c: Add comments.
11266 (do_test): Add comments and call free on all potentially
11267 allocated pointers. Remove duplicate check for NULL pointer.
11268 Add space after cast.
11270 2013-10-04 Alan Modra <amodra@gmail.com>
11272 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11273 Use stdint types in rather than __attribute__((mode())).
11274 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11276 2013-10-04 Alan Modra <amodra@gmail.com>
11278 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11279 Correct handling of unaligned relocs for little-endian.
11280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11282 2013-10-04 Alan Modra <amodra@gmail.com>
11284 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11285 * configure: Regenerate.
11286 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11287 * shlib-versions: Likewise.
11289 2013-10-04 Alan Modra <amodra@gmail.com>
11291 * string/tester.c (test_memrchr): Increment reported test cycle.
11293 2013-10-04 Alan Modra <amodra@gmail.com>
11295 * string/test-memcpy.c (do_one_test): When reporting errors, print
11296 string address and don't overrun end of string.
11298 2013-10-04 Alan Modra <amodra@gmail.com>
11300 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11301 insrdi. Make better use of reg selection to speed exit slightly.
11302 Schedule entry path a little better. Remove useless "are we done"
11303 checks on entry to main loop. Handle wrapping around zero address.
11304 Correct main loop count. Handle single left-over word from main
11305 loop inline rather than by using loop_small. Remove extra word
11306 case in loop_small caused by wrong loop count. Add little-endian
11308 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11309 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11311 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11312 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11313 support. Avoid rlwimi.
11314 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11316 2013-10-04 Alan Modra <amodra@gmail.com>
11318 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11319 insrdi. Formatting.
11320 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11321 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11322 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11323 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11324 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11325 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11327 2013-10-04 Alan Modra <amodra@gmail.com>
11329 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11330 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11331 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11332 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11333 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11334 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11335 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11336 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11337 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11338 use of regs. Use power7 mtocrf. Tidy function tails.
11340 2013-10-04 Alan Modra <amodra@gmail.com>
11342 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11343 Formatting. Consistently use rXXX register defines or rN defines.
11344 Use early exit labels that avoid restoring unused non-volatile regs.
11345 Make cr field use more consistent with rWORDn compares. Rename
11346 regs used as shift registers for unaligned loop, using rN defines
11347 for short lifetime/multiple use regs.
11348 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11349 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11350 addi 1,1,64 to pop stack frame. Simplify return value code.
11351 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11353 2013-10-04 Alan Modra <amodra@gmail.com>
11355 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11356 support. Correct typos, formatting. Optimize tail. Use insrdi
11357 rather than rlwimi.
11358 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11359 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11360 little-endian support. Correct typos.
11361 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11362 rather than rlwimi.
11363 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11364 in loop and entry code to keep "and." results.
11365 (strchr): Add little-endian support. Comment. Move cntlzd
11367 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11369 2013-10-04 Alan Modra <amodra@gmail.com>
11371 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11372 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11373 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11374 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11376 2013-10-04 Alan Modra <amodra@gmail.com>
11378 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11379 (rTMP): Define as r11.
11380 (strcmp): Add little-endian support. Optimise tail.
11381 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11382 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11383 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11384 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11385 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11386 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11387 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11389 2013-10-04 Alan Modra <amodra@gmail.com>
11391 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11392 little-endian support. Remove unnecessary "are we done" tests.
11393 Handle "s" wrapping around zero and extremely large "size".
11394 Correct main loop count. Handle single left-over word from main
11395 loop inline rather than by using small_loop. Correct comments.
11396 Delete "zero" tail, use "end_max" instead.
11397 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11399 2013-10-04 Alan Modra <amodra@gmail.com>
11401 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11402 support. Don't branch over align.
11403 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11404 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11405 support. Rearrange tmp reg use to suit. Comment.
11406 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11408 2013-10-04 Alan Modra <amodra@gmail.com>
11410 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11412 2013-10-04 Alan Modra <amodra@gmail.com>
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11415 conditional form of branch and link when obtaining pc.
11416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11418 2013-10-04 Alan Modra <amodra@gmail.com>
11420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11425 2013-10-04 Alan Modra <amodra@gmail.com>
11427 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11428 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11429 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11430 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11431 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11432 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11433 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11434 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11435 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11436 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11438 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11439 Alistair Popple <alistair@ozlabs.au.ibm.com>
11440 Alan Modra <amodra@gmail.com>
11443 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11444 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11445 _dl_hwcap access for little-endian.
11446 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11447 destroy vmx regs when saving unaligned.
11448 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11449 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11450 destroy vmx regs when saving unaligned.
11452 2013-10-04 Alan Modra <amodra@gmail.com>
11454 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11455 Don't use a union to pack hi/low value.
11457 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11459 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11461 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11463 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11464 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11465 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11467 2013-10-04 Alan Modra <amodra@gmail.com>
11469 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11470 constants to usual value for .cst8 section, and remove redundant
11472 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11473 constant for 0x1p52. Load little-endian words of double from
11474 correct stack offsets.
11476 2013-10-04 Alan Modra <amodra@gmail.com>
11478 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11479 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11480 words of double from correct stack offsets.
11481 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11482 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11483 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11484 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11485 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11486 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11487 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11488 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11489 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11490 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11491 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11492 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11493 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11494 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11495 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11496 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11497 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11499 2013-10-04 Alan Modra <amodra@gmail.com>
11501 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11502 64-bit int/double union.
11503 (_FPU_SETCW): Likewise.
11504 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11505 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11507 2013-10-04 Alan Modra <amodra@gmail.com>
11509 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11510 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11512 2013-10-04 Alan Modra <amodra@gmail.com>
11514 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11515 use vector int constants.
11516 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11518 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11520 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11521 array with long long.
11522 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11523 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11524 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11525 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11526 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11527 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11528 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11529 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11530 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11531 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11532 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11533 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11534 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11536 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11538 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11539 (__signbit): Likewise. Correct for little-endian.
11540 (__signbitl): Call __signbit.
11541 (lrint): Correct for little-endian.
11542 (lrintf): Call lrint.
11544 2013-10-04 Alan Modra <amodra@gmail.com>
11546 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11547 union 32-bit int array member with 64-bit int array.
11548 (t515, tm256): Double rather than long double.
11549 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11551 2013-10-04 Alan Modra <amodra@gmail.com>
11553 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11555 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11556 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11557 version of math_ldbl.h.
11559 2013-10-04 Alan Modra <amodra@gmail.com>
11561 [BZ #15734], [BZ #15735]
11562 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11563 all uses of ieee875 long double macros and unions. Simplify test
11564 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11565 ldbl_extract_mantissa value for ix,iy exponents. Properly
11566 normalize after ldbl_extract_mantissa, and don't add hidden bit
11567 already handled. Don't treat low word of ieee854 mantissa like
11568 low word of IBM long double and mask off bit when testing for
11570 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11571 all uses of ieee875 long double macros and unions. Simplify tests
11572 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11573 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11574 two1022, instead use their values. Recognise that tests for large
11575 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11576 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11577 Rewrite all uses of ieee875 long double macros and unions. Simplify
11578 test for 0.0L and nan. Correct negation.
11579 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11580 ieee875 long double macros and unions. Correct output for large
11581 magnitude x. Correct absolute value calculation.
11582 (__erfcl): Likewise.
11583 * math/libm-test.inc: Add tests for errors discovered in IBM long
11584 double versions of fmodl, remainderl, erfl and erfcl.
11586 2013-10-04 Alan Modra <amodra@gmail.com>
11588 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11589 all uses of ieee854 long double macros and unions. Simplify tests
11590 for long doubles that are fully specified by the high double.
11591 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11593 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11594 Remove dead code too.
11595 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11596 (__ieee754_ynl): Likewise.
11597 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11598 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11599 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11600 Remove dead code too.
11601 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11603 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11604 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11606 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11608 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11609 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11610 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11611 Comment on variable precision.
11612 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11613 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11615 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11616 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11617 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11618 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11619 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11621 2013-10-04 Alan Modra <amodra@gmail.com>
11623 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11624 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11625 all uses of ieee854 long double macros and unions.
11626 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11627 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11628 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11629 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11631 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11634 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11635 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11636 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11637 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11639 Simplify sign and nan test too.
11640 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11645 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11646 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11649 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11655 2013-10-04 Alan Modra <amodra@gmail.com>
11657 * stdio-common/printf_size.c (__printf_size): Don't use
11658 union ieee854_long_double in fpnum union.
11659 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11660 signbit macro to retrieve sign from long double.
11661 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11662 retrieve sign from long double.
11663 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11664 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11665 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11666 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11667 * math/test-misc.c (main): Don't use union ieee854_long_double.
11669 2013-10-04 Alan Modra <amodra@gmail.com>
11672 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11673 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11674 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11675 calculation. Remove unnecessary test for denormal exponent.
11676 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11677 Correct handling of denormals. Avoid undefined shift behaviour.
11678 Correct normalisation of low mantissa when low double is denormal.
11679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11680 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11681 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11682 Correct normalisation of low mantissa. Test for overflow of high
11683 mantissa and normalise.
11684 (ldbl_nearbyint): Use more readable constant for two52.
11685 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11686 (__mpn_construct_long_double): Fix test for overflow of high
11687 mantissa and correct normalisation. Avoid undefined shift.
11689 2013-10-04 Alan Modra <amodra@gmail.com>
11691 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11692 (union ibm_extended_long_double): Define as an array of ieee754_double.
11693 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11694 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11695 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11696 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11697 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11698 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11700 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11701 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11702 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11703 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11705 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11707 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11708 page size instead of calling getpagesize.
11710 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11711 (LOCFILE_ALIGN_MASK): Likewise.
11712 (LOCFILE_ALIGN_UP): Likewise.
11713 (LOCFILE_ALIGNED_P): Likewise.
11714 * locale/programs/ld-collate.c (collate_output): Use the new
11715 macros instead of __alignof__ (int32_t).
11716 * locale/weight.h (findidx): Likewise.
11718 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11721 * manual/string.texi: Fix strncat and wcsncat.
11723 2013-10-03 Brooks Moses <bmoses@google.com>
11726 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11727 * Makerules: ...here, and adjust associated comments.
11729 2013-10-02 Will Newton <will.newton@linaro.org>
11731 * malloc/Makefile: Add tst-pvalloc.
11732 * malloc/tst-pvalloc.c: New file.
11734 2013-10-02 Will Newton <will.newton@linaro.org>
11736 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11737 improve test coverage.
11739 2013-10-02 Will Newton <will.newton@linaro.org>
11741 * malloc/Makefile: Add tst-posix_memalign.
11742 * malloc/tst-posix_memalign.c: New file.
11744 2013-10-01 Eric Blake <eblake@redhat.com>
11746 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11747 Use __THROWNL rather than __THROW on static functions.
11749 2013-09-30 Petr Machata <pmachata@redhat.com>
11751 * elf/elf.h (R_AARCH64_ABS16): New macro.
11752 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11753 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11754 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11755 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11756 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11757 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11758 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11759 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11760 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11761 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11762 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11763 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11764 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11765 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11766 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11767 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11768 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11769 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11770 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11771 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11772 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11773 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11774 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11775 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11776 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11777 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11778 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11779 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11780 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11781 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11782 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11783 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11784 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11785 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11786 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11787 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11788 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11789 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11790 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11791 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11792 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11793 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11794 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11795 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11796 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11797 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11798 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11799 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11800 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11801 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11802 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11803 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11804 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11805 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11806 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11807 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11808 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11809 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11810 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11811 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11812 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11813 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11814 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11815 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11816 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11817 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11818 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11819 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11820 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11821 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11822 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11823 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11824 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11825 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11826 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11827 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11828 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11829 (R_AARCH64_TLSDESC_LDR): Likewise.
11830 (R_AARCH64_TLSDESC_ADD): Likewise.
11831 (R_AARCH64_TLSDESC_CALL): Likewise.
11833 2013-09-30 Andreas Schwab <schwab@suse.de>
11836 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11837 the nss database lookup.
11838 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11841 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11843 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11845 2013-09-28 P. J. McDermott <pj@pehjota.net>
11847 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11848 ${Bash-specific parameter/pattern/string} parameter expansion.
11849 * sysdeps/unix/make-syscalls.sh: Likewise.
11851 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11853 * sysdeps/sh/stackguard-macros.h: New file.
11855 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11859 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11860 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11861 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11862 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11864 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11866 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11867 Fix thread ID register.
11869 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11871 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11872 [POSIX || UNIX98]: Require rather than permitting all symbols from
11874 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11875 element of struct sched_param.
11876 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11877 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11878 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11879 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11882 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11884 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11885 argument calculation.
11887 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11889 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11891 [POSIX] (pthread_attr_t): Do not require type.
11892 [POSIX] (pthread_cond_t): Likewise.
11893 [POSIX] (pthread_condattr_t): Likewise.
11894 [POSIX] (pthread_key_t): Likewise.
11895 [POSIX] (pthread_mutex_t): Likewise.
11896 [POSIX] (pthread_mutexattr_t): Likewise.
11897 [POSIX] (pthread_once_t): Likewise.
11898 [POSIX] (pthread_t): Likewise.
11899 [POSIX-based standards] (pthread_atfork): Expect function.
11901 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11902 Richard Sandiford <richard@codesourcery.com>
11904 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11905 (swap_endianness_p): New extern variable.
11906 (set_big_endian): New inline function.
11907 (maybe_swap_uint32): Likewise.
11908 (maybe_swap_uint32_array): Likewise.
11909 (maybe_swap_uint32_obstack): Likewise.
11910 * locale/programs/locfile.c: Include <stdbool.h>.
11911 (swap_endianness_p): New variable.
11912 (add_locale_uint32): Call maybe_swap_uint32.
11913 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11914 (write_locale_data): Call maybe_swap_uint32_array.
11915 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11917 (obstack_int32_grow_fast): Likewise.
11918 (output_weightwc): Call maybe_swap_uint32_obstack.
11919 (collate_output): Likewise.
11920 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11921 (OPT_LITTLE_ENDIAN): Likewise.
11922 (options): Add --little-endian and --big-endian options.
11923 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11924 * locale/programs/locarchive.c: Include "locfile.h".
11928 (create_archive): Use the new macros to access fields of
11929 structures directly mapped from or written to locale archives.
11930 (oldlocrecentcmp): Likewise.
11931 (enlarge_archive): Likewise.
11932 (insert_name): Likewise.
11933 (add_alias): Likewise.
11934 (add_locale): Likewise.
11935 (delete_locales_from_archive): Likewise.
11936 (show_archive_content): Likewise.
11937 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11940 2013-09-24 Roland McGrath <roland@hack.frob.com>
11942 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11943 http://www.gnu.org/doc/freemanuals.texi.
11944 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11946 2013-09-24 Will Newton <will.newton@linaro.org>
11948 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11951 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11953 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11956 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11958 * manual/threads.texi (POSIX Threads): Fix a typo.
11960 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11963 * string/tst-strcoll-overflow.c: New test case.
11964 * string/Makefile (xtests): Add tst-strcoll-overflow.
11965 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11966 cache if string sizes may cause integer overflow.
11969 * string/strcoll_l.c (coll_seq): New members rule, idx,
11970 save_idx and back_us.
11971 (get_next_seq_nocache): New function.
11972 (do_compare_nocache): New function.
11973 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11976 2013-09-23 Carlos O'Donell <carlos@redhat.com>
11979 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11980 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11981 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11984 * elf/Makefile (tests): Add tst-ptrguard1.
11985 (tests-static): Add tst-ptrguard1-static.
11986 (tst-ptrguard1-ARGS): Define.
11987 (tst-ptrguard1-static-ARGS): Define.
11988 * elf/tst-ptrguard1.c: New file.
11989 * elf/tst-ptrguard1-static.c: New file.
11990 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11991 * sysdeps/i386/stackguard-macros.h: Likewise.
11992 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11993 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11994 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11995 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11996 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11997 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11999 2013-09-23 Hector Marco <hecmargi@upv.es>
12000 Ismael Ripoll <iripoll@disca.upv.es>
12001 Carlos O'Donell <carlos@redhat.com>
12004 * sysdeps/generic/stackguard-macros.h: Define
12005 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12006 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12007 Define __pointer_chk_guard_local.
12008 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12009 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12011 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12014 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12016 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12018 * include/string.h (__ffs): Declare as hidden.
12019 * string/ffs.c (__ffs): Define as hidden.
12020 * sysdeps/i386/ffs.c (__ffs): Likewise.
12021 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12022 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12023 * sysdeps/s390/ffs.c (__ffs): Likewise.
12024 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12026 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12028 * NEWS: Mention malloc probes.
12030 * malloc/arena.c (new_heap): New memory_heap_new probe.
12031 (grow_heap): New memory_heap_more probe.
12032 (shrink_heap): New memory_heap_less probe.
12033 (heap_trim): New memory_heap_free probe.
12034 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12035 (systrim): New memory_sbrk_less probe.
12036 * manual/probes.texi: Document them.
12038 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12039 * manual/probes.texi: Document it.
12041 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12042 (__libc_realloc): Add memory_realloc_retry probe.
12043 (__libc_memalign): Add memory_memalign_retry probe.
12044 (__libc_valloc): Add memory_valloc_retry probe.
12045 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12046 (__libc_calloc): Add memory_calloc_retry probe.
12047 * manual/probes.texi: Document them.
12049 * malloc/arena.c (get_free_list): Add probe
12050 memory_arena_reuse_free_list.
12051 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12052 and memory_arena_reuse.
12053 (arena_get2) [!PER_THREAD]: Likewise.
12054 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12055 memory_arena_reuse_realloc.
12056 * manual/probes.texi: Document them.
12058 * malloc/malloc.c (__libc_free): Add
12059 memory_mallopt_free_dyn_thresholds probe.
12060 (__libc_mallopt): Add multiple memory_mallopt probes.
12061 * manual/probes.texi: Document them.
12063 * malloc/malloc.c: Include stap-probe.h.
12064 (__libc_mallopt): Add memory_mallopt probe.
12065 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12066 * manual/probes.texi: New.
12067 * manual/Makefile (chapters): Add probes.
12068 * manual/threads.texi: Set next node.
12070 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12072 [BZ #15963, #13985]
12073 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12074 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12075 Add `Chinese' to `nan' entry name.
12077 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12079 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12080 (POLYNOMIAL): Likewise.
12081 (TAYLOR_SINCOS): Likewise.
12082 (TAYLOR_SLOW): Likewise.
12083 (__sin): Use TAYLOR_SINCOS.
12085 (slow): Use TAYLOR_SLOW.
12087 (bsloww): Likewise.
12088 (csloww): Likewise.
12090 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12092 * stdlib/strtod_l.c: Fix buffer overrun.
12094 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12096 * benchtests/Makefile (bench): Add sincos.
12097 * benchtests/bench-sincos.c: New file.
12099 * math/libm-test.inc (cos_test_data): New test inputs.
12100 (sin_test_data): Likewise.
12102 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12108 (sloww1): Likewise.
12109 (sloww2): Likewise.
12110 (bsloww1): Likewise.
12111 (bsloww2): Likewise.
12112 (cslow2): Likewise.
12113 (csloww1): Likewise.
12114 (csloww2): Likewise.
12116 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12125 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12127 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12128 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12129 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12130 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12131 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12132 * elf/cache.c (print_entry): Handle the new cache flags.
12134 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12135 Aldy Hernandez <aldyh@redhat.com>
12137 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12138 Change condition to [_SOFT_FLOAT].
12139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12142 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12151 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12154 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12157 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12159 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12160 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12161 (__longjmp): Use LOAD_GP to load saved GPRs.
12162 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12163 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12164 (__sigsetjmp): Use SAVE_GP to save GPRs.
12166 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12167 Do not append -msoft-float.
12168 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12170 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12172 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12174 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12177 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12178 (_FPU_GETCW): Use initial "__" on variable and field names but not
12179 on macro parameter name.
12180 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12181 parentheses around reference to macro parameter.
12183 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12185 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12187 (ctype_startup): Use uint32_t in cast and sizeof for
12190 2013-09-11 Jia Liu <proljc@gmail.com>
12192 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12194 [__FreeBSD__]: Likewise.
12196 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12199 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12200 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12201 (strchr): Remove __strchr_sse42 ifunc selection.
12202 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12203 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12205 2013-09-11 Will Newton <will.newton@linaro.org>
12207 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12208 parameter to RES. Remove hardcoded 1000 value.
12209 * benchtests/bench-skeleton.c (main): Pass RES parameter
12210 to TIMING_INIT and multiply result by 1000.
12212 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12216 2013-09-11 Andreas Schwab <schwab@suse.de>
12218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12220 (O_TMPFILE) [__USE_GNU]: Define.
12221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12224 2013-09-11 Will Newton <will.newton@linaro.org>
12227 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12230 2013-09-11 Will Newton <will.newton@linaro.org>
12233 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12236 2013-09-11 Will Newton <will.newton@linaro.org>
12239 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12242 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12244 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12245 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12250 2013-09-10 Allan McRae <allan@archlinux.org>
12253 * manual/arith.texi (Parsing of Floats): Clarify
12257 * manual/install.texi (Running make install): Mention
12259 * INSTALL: Regenerated.
12261 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12263 * csu/init-first.c (_init): Remove the !SHARED condition around
12264 FPU control word initialization.
12265 * elf/dl-support.c (_dl_fpu_control): New variable.
12266 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12267 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12268 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12269 * math/test-fpucw-static.c: New file.
12270 * math/test-fpucw-ieee.c: New file.
12271 * math/test-fpucw-ieee-static.c: New file.
12272 * math/Makefile (tests): Add `test-fpucw-ieee' and
12274 (tests-static): New variable.
12275 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12277 [($(build-shared),yes)]
12278 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12280 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12283 2013-09-09 Allan McRae <allan@archlinux.org>
12286 * manual/string.texi (Collation Functions): Fix typo in
12288 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12291 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12294 * libio/memstream.c (open_memstream): Fix memory leak.
12295 * libio/wmemstream.c (open_wmemstream): Likewise.
12298 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12300 2013-09-09 Will Newton <will.newton@linaro.org>
12302 * malloc/Makefile: Add tst-realloc to tests.
12303 * malloc/tst-realloc.c: New file.
12305 2013-09-09 Allan McRae <allan@archlinux.org>
12308 * COPYING: Update from GNU website to fix FSF address.
12309 * COPYING.LIB: Likewise.
12311 2013-09-06 David S. Miller <davem@davemloft.net>
12313 * po/zh_TW.po: Update Chinese (traditional) translation from
12314 translation project.
12316 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12317 Joseph Myers <joseph@codesourcery.com>
12319 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12321 (obstack_chunk_alloc): New macro.
12322 (obstack_chunk_free): Likewise.
12323 (record_offset): New function.
12324 (init_locale_data): Likewise.
12325 (align_locale_data): Likewise.
12326 (add_locale_empty): Likewise.
12327 (add_locale_raw_data): Likewise.
12328 (add_locale_raw_obstack): Likewise.
12329 (add_locale_string): Likewise.
12330 (add_locale_wstring): Likewise.
12331 (add_locale_uint32): Likewise.
12332 (add_locale_uint32_array): Likewise.
12333 (add_locale_char): Likewise.
12334 (start_locale_structure): Likewise.
12335 (end_locale_structure): Likewise.
12336 (start_locale_prelude): Likewise.
12337 (end_locale_prelude): Likewise.
12338 (write_locale_data): Take locale_file structure rather than an
12340 * locale/programs/locfile.h: Include "obstack.h".
12341 (struct locale_file): Change to store locale file contents instead
12343 (init_locale_data): New prototype.
12344 (align_locale_data): Likewise.
12345 (add_locale_empty): Likewise.
12346 (add_locale_raw_data): Likewise.
12347 (add_locale_raw_obstack): Likewise.
12348 (add_locale_string): Likewise.
12349 (add_locale_wstring): Likewise.
12350 (add_locale_uint32): Likewise.
12351 (add_locale_uint32_array): Likewise.
12352 (add_locale_char): Likewise.
12353 (start_locale_structure): Likewise.
12354 (end_locale_structure): Likewise.
12355 (start_locale_prelude): Likewise.
12356 (end_locale_prelude): Likewise.
12357 (write_locale_data): Update prototype.
12358 * locale/programs/3level.h (struct TABLE): Remove result field.
12359 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12360 Use new locale_file interface.
12361 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12362 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12363 * locale/programs/ld-address.c (address_output): Use new
12364 locale_file interface.
12365 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12367 (collate_finish): Don't call collseq_table_finalize.
12368 (collate_output): Use new locale_file interface.
12369 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12371 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12372 (TABLE): Move defines earlier in file.
12373 (ELEMENT): Likewise.
12374 (DEFAULT): Likewise.
12375 (wctrans_table_add): Move macro and inline function earlier in
12377 (struct wctype_table): Move type earlier in file.
12378 (add_locale_wctype_table): New static prototype.
12379 (struct locale_ctype_t): Use logical types instead of struct iovec
12380 pointers for members.
12381 (ctype_output): Use new locale_file interface.
12382 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12383 new locale_file interface.
12384 (allocate_arrays): Update for use of new locale_file interface.
12385 * locale/programs/ld-identification.c (identification_output): Use
12386 new locale_file interface.
12387 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12388 * locale/programs/ld-messages.c (messages_output): Likewise.
12389 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12390 * locale/programs/ld-name.c (name_output): Likewise.
12391 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12392 * locale/programs/ld-paper.c (paper_output): Likewise.
12393 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12394 * locale/programs/ld-time.c (time_output): Likewise.
12396 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12398 * benchtests/Makefile: Add memrchr benchmark.
12399 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12400 benchmark as memrchr.
12401 * benchtests/bench-memrchr-ifunc.c: New file.
12402 * benchtests/bench-memrchr.c: New file.
12404 2013-09-06 Will Newton <will.newton@linaro.org>
12406 * benchtests/Makefile (string-bench): Add memcpy.
12408 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12409 Cong Wang <amwang@redhat.com>
12412 * sysdeps/unix/sysv/linux/bits/in.h
12413 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12414 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12415 before __USE_KERNEL_IPV6_DEFS uses.
12416 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12418 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12419 sockaddr_in6, or ipv6_mreq.
12421 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12423 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12424 memory access for final bytes in some large inputs.
12425 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12427 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12429 * string/test-memrchr.c: New file.
12430 * string/test-memrchr-ifunc.c: New file.
12431 * string/Makefile: Add new memrchr testcase.
12433 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12435 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12436 fanotify_init returns EPERM.
12438 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12440 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12442 (top level): Treat second token from macro or constant entries for
12443 allowed headers as allowed.
12444 * include/complex.h: Condition internal declarations on
12446 * include/fenv.h: Condition include of <stdbool.h> and internal
12447 declarations on [!_ISOMAC].
12449 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12452 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12454 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12456 * configure.in (--enable-versioning): Remove configure option.
12457 (libc_cv_asm_symver_directive): Remove configure test.
12458 (libc_cv_ld_version_script_option): Likewise.
12459 (VERSIONING): Remove variable and AC_SUBST.
12460 (DO_VERSIONING): Remove AC_DEFINE.
12461 * configure: Regenerated.
12462 * config.h.in (DO_VERSIONING): Remove macro.
12463 * Makerules [$(versioning) = yes]: Change conditionals to
12464 [$(build-shared) = yes].
12465 * config.make.in (versioning): Remove variable.
12466 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12467 [$(build-shared) = yes].
12468 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12469 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12470 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12471 [$(build-shared) = yes].
12472 * extra-lib.mk [$(versioning) = yes]: Likewise.
12473 * hurd/Makefile [$(versioning) = yes]: Likewise.
12474 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12476 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12478 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12479 [SHARED && !NO_HIDDEN].
12480 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12482 [SHARED && DO_VERSIONING]: Likewise..
12483 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12484 [$(build-shared) = yes].
12485 * manual/install.texi (--disable-versioning): Remove
12487 * INSTALL: Regenerated.
12488 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12490 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12491 [$(build-shared) = yes].
12492 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12493 * sysdeps/i386/i686/multiarch/strstr-c.c
12494 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12495 [SHARED && !NO_HIDDEN].
12496 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12497 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12498 * sysdeps/powerpc/powerpc32/dl-machine.c
12499 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12500 * sysdeps/powerpc/powerpc32/sysdep.h
12501 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12502 to [SHARED && PIC && !NO_HIDDEN].
12503 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12504 conditional to [SHARED].
12506 2013-09-04 Will Newton <will.newton@linaro.org>
12508 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12509 * benchtests/bench-string.h: Include bench-timing.h instead
12510 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12511 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12512 call to HP_TIMING_DIFF_INIT.
12513 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12514 instead of hp-timing.h macros.
12515 * benchtests/bench-memchr.c: Likewise.
12516 * benchtests/bench-memcmp.c: Likewise.
12517 * benchtests/bench-memcpy.c: Likewise.
12518 * benchtests/bench-memmem.c: Likewise.
12519 * benchtests/bench-memmove.c: Likewise.
12520 * benchtests/bench-memset.c: Likewise.
12521 * benchtests/bench-rawmemchr.c: Likewise.
12522 * benchtests/bench-strcasecmp.c: Likewise.
12523 * benchtests/bench-strcasestr.c: Likewise.
12524 * benchtests/bench-strcat.c: Likewise.
12525 * benchtests/bench-strchr.c: Likewise.
12526 * benchtests/bench-strcmp.c: Likewise.
12527 * benchtests/bench-strcpy.c: Likewise.
12528 * benchtests/bench-strcpy_chk.c: Likewise.
12529 * benchtests/bench-strlen.c: Likewise.
12530 * benchtests/bench-strncasecmp.c: Likewise.
12531 * benchtests/bench-strncat.c: Likewise.
12532 * benchtests/bench-strncmp.c: Likewise.
12533 * benchtests/bench-strncpy.c: Likewise.
12534 * benchtests/bench-strnlen.c: Likewise.
12535 * benchtests/bench-strpbrk.c: Likewise.
12536 * benchtests/bench-strrchr.c: Likewise.
12537 * benchtests/bench-strspn.c: Likewise.
12538 * benchtests/bench-strstr.c: Likewise.
12540 2013-09-04 Will Newton <will.newton@linaro.org>
12542 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12544 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12547 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12548 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12549 * math/libm-test.inc (lgamma_test_data): Add more tests.
12550 * sysdeps/i386/fpu/libm-test-ulps: Update.
12551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12553 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12555 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12559 Add strcmp-sse2-unaligned
12560 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12562 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12564 * Versions.def (libc): Add GLIBC_2.19.
12566 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12568 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12569 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12571 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12574 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12575 intermediate calculations in recurrence.
12576 (__ieee754_ynf): Likewise.
12577 * math/libm-test.inc (jn_test_data): Do not allow spurious
12578 underflow exception. Add more tests.
12579 (yn_test_data): Add more tests.
12580 * sysdeps/i386/fpu/libm-test-ulps: Update.
12581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12583 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12585 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12587 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12589 * csu/init-first.c: Fix then/than typos.
12590 * locale/programs/ld-collate.c: Likewise.
12591 * locale/programs/linereader.h: Likewise.
12592 * manual/charset.texi: Likewise.
12593 * manual/filesys.texi: Likewise.
12594 * manual/stdio.texi: Likewise.
12595 * manual/string.texi: Likewise.
12596 * stdlib/fmtmsg.c: Likewise.
12597 * sysdeps/i386/stpncpy.S: Likewise.
12598 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12599 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12600 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12601 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12603 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12605 * elf/dl-open.c: Fix typos.
12606 * iconvdata/gbbig5.c: Likewise.
12607 * iconvdata/iso-2022-jp.c: Likewise.
12608 * iconv/gconv_int.h: Likewise.
12609 * iconv/loop.c: Likewise.
12610 * nis/rpcsvc/nis.h: Likewise.
12611 * resolv/ns_name.c: Likewise.
12612 * stdio-common/vfscanf.c: Likewise.
12613 * streams/stropts.h: Likewise.
12614 * sunrpc/rpc_thread.c: Likewise.
12615 * sysdeps/i386/strpbrk.S: Likewise.
12616 * sysdeps/ieee754/k_standard.c: Likewise.
12617 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12619 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12620 * sysdeps/mach/hurd/profil.c: Likewise.
12621 * sysdeps/s390/dl-procinfo.h: Likewise.
12622 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12623 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12624 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12625 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12626 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12628 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12630 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12633 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12635 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12636 aix specific files.
12637 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12638 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12639 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12640 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12641 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12642 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12643 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12644 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12646 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12647 Roland McGrath <roland@hack.frob.com>
12649 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12650 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12652 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12654 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12655 __executable_start symbol instead of _start.
12657 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12659 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12660 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12662 * sysdeps/gnu/ldsodefs.h: ... this new file.
12664 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12665 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12666 instead of ELFOSABI_LINUX.
12668 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12669 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12670 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12671 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12673 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12674 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12675 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12677 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12678 (ibm_extended_long_double): Add ieee_nan member.
12679 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12680 (do_test): New function.
12682 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12684 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12685 functions, renamed from truncdfsf_test, trunctfsf_test,
12687 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12689 (do_test): Run all these.
12691 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12693 * argp/argp-help.c: Fix typos.
12694 * argp/argp-parse.c: Likewise.
12695 * debug/backtracesyms.c: Likewise.
12696 * elf/elf.h: Likewise.
12697 * malloc/malloc.c: Likewise.
12698 * nis/nis_print.c: Likewise.
12699 * resolv/res_comp.c: Likewise.
12700 * stdlib/stdlib.h: Likewise.
12701 * sunrpc/clnt_tcp.c: Likewise.
12702 * sunrpc/clnt_udp.c: Likewise.
12703 * sunrpc/clnt_unix.c: Likewise.
12704 * sysdeps/unix/bsd/ptsname.c: Likewise.
12705 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12706 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12713 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12715 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12717 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12720 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12723 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12724 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12725 ($(objpfx)bug-dl-leaf): New rule.
12726 ($(objpfx)bug-dl-leaf.so): Likewise.
12727 ($(objpfx)bug-dl-leaf.out): Likewise.
12728 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12729 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12730 * dlfcn/bug-dl-leaf.c: New test.
12731 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12732 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12733 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12734 (dlclose): Likewise.
12735 (dlmopen): Likewise.
12737 2013-08-27 Roland McGrath <roland@hack.frob.com>
12739 * include/netdb.h [!_ISOMAC]:
12740 Don't include <tls.h>.
12741 (h_errno, __libc_h_errno): Move declaration and macros out of
12744 * include/resolv.h [_RESOLV_H_]:
12745 Don't include <tls.h>.
12746 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12747 * resolv/res_libc.c: Don't include <tls.h>.
12748 (_res): Use __attribute__ ((nocommon)) in place of
12749 __attribute__ ((section (".bss"))).
12751 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12752 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12754 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12756 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12757 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12759 * resolv/res_mkquery.c: Include <sys/time.h>.
12761 * inet/ifreq.c: Moved to ...
12762 * sysdeps/unix/ifreq.c: ... here.
12763 * inet/ifreq.c: New file, true stub version.
12765 * socket/sa_len.c: New file.
12766 * socket/Makefile (aux): Add it.
12767 * sysdeps/unix/sysv/linux/Makefile
12768 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12769 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12770 and #include <socket/sa_len.c>.
12771 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12772 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12774 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12775 * bits/socket.h: ... here.
12777 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12778 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12779 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12781 2013-08-27 Andreas Schwab <schwab@suse.de>
12784 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12785 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12786 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12787 * string/test-strcasecmp.c (test_main): Run tests in several
12789 * string/test-strncasecmp.c (test_main): Likewise.
12791 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12792 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12793 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12795 (__strncasecmp_ssse3) [PIC]: Likewise.
12797 2013-08-26 Roland McGrath <roland@hack.frob.com>
12799 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12801 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12802 instead of explicitly declaring xdecrypt.
12803 * nis/nss_nis/nis-publickey.c: Likewise.
12805 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12808 * nscd/aicache.c: Include res_hconf.h.
12809 (addhstaiX): Initialize res_hconf.
12811 2013-08-26 Andreas Schwab <schwab@suse.de>
12813 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12814 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12816 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12818 * nscd/aicache.c (addhstaiX): Fix indentation.
12820 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12822 * configure.ac: Quote $build_pt_chown test.
12823 * configure: Regenerated.
12825 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12828 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12829 * math/s_cexpf.c (__cexpf): Likewise.
12830 * math/s_cexpl.c (__cexpl): Likewise.
12831 * math/libm-test.inc (cexp_test_data): Correct expected return
12832 value for NaN + i0. Add another test.
12834 2013-08-22 David S. Miller <davem@davemloft.net>
12836 * po/ca.po: Update Catalan translation from translation project.
12837 * po/uk.po: Add Ukrainian translations from translation project.
12839 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12842 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12843 is infinite, not alongside NaN test.
12844 * math/s_fdimf.c (__fdimf): Likewise.
12845 * math/s_fdiml.c (__fdiml): Likewise.
12846 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12847 errno is unchanged.
12849 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12851 * argp/argp-help.c: Fix typos.
12852 * crypt/speeds.c: Likewise.
12853 * csu/check_fds.c: Likewise.
12854 * elf/dl-load.c: Likewise.
12855 * elf/dl-open.c: Likewise.
12856 * elf/reldep3.c: Likewise.
12857 * elf/reldep.c: Likewise.
12858 * elf/sprof.c: Likewise.
12859 * iconv/iconv_charmap.c: Likewise.
12860 * iconv/skeleton.c: Likewise.
12861 * iconv/strtab.c: Likewise.
12862 * io/lockf64.c: Likewise.
12863 * libio/libioP.h: Likewise.
12864 * resolv/gai_notify.c: Likewise.
12865 * resolv/ns_name.c: Likewise.
12866 * resolv/ns_samedomain.c: Likewise.
12867 * resolv/res_send.c: Likewise.
12868 * stdlib/random.c: Likewise.
12869 * sunrpc/rpc/xdr.h: Likewise.
12870 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12871 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12872 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12873 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12874 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12875 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12877 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12878 * sysdeps/mach/hurd/check_fds.c: Likewise.
12879 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12880 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12881 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12882 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12883 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12884 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12885 * sysdeps/pthread/aio_notify.c: Likewise.
12886 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12887 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12888 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12889 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12890 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12892 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12894 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12895 version if bit_Slow_SSE4_2 is set.
12896 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12897 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12899 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12902 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12903 trampoline stack frame information.
12904 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12905 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12906 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12907 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12908 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12909 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12910 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12911 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12913 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12914 interrupting a syscall and set with option SA_SIGINFO.
12916 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12919 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12920 argument is infinite.
12921 * math/s_cprojf.c (__cprojf): Likewise.
12922 * math/s_cprojl.c (__cprojl): Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12924 * math/libm-test.inc (cproj_test_data): Add more tests.
12926 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12928 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12929 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12930 size. Use __ffs to determine corresponding shift.
12932 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12933 Roland McGrath <roland@hack.frob.com>
12935 * Makefile (INSTALL): Remove trailing blank lines from output of
12938 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12940 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12941 Align 32 bit compat elf_greg to 8 bytes.
12943 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12945 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12947 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12949 * string/strcoll_l.c (coll_seq): New structure.
12950 (get_next_seq_cached): New function.
12951 (get_next_seq): New function.
12952 (do_compare): New function.
12953 (STRCOLL): Use GNU style definition. Simplify implementation
12954 by using get_next_seq, get_next_seq_cached and do_compare.
12956 2013-08-16 Florian Weimer <fweimer@redhat.com>
12960 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12962 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12964 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12965 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12966 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12968 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12969 GETDENTS_64BIT_ALIGNED.
12970 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12971 * manual/filesys.texi (Reading/Closing Directory): Document
12972 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12974 * manual/conf.texi (Limits for Files): Add portability note to
12975 NAME_MAX, PATH_MAX.
12976 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12978 2013-08-13 Andreas Schwab <schwab@suse.de>
12981 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12983 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12984 LDBL_MAX_EXP >= 16384]: Add tests for it.
12986 2013-08-12 David S. Miller <davem@davemloft.net>
12988 * version.h (RELEASE): Set to "development".
12989 (VERSION): Set to "2.18.90".
12990 * NEWS: Add 2.19 section.
12992 2013-08-03 David S. Miller <davem@davemloft.net>
12994 * po/ko.po: Update Korean translation from translation project.
12996 2013-08-01 David S. Miller <davem@davemloft.net>
12998 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12999 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13002 2013-07-30 David S. Miller <davem@davemloft.net>
13004 * po/fr.po: Update French translation from translation project.
13006 2013-07-28 David S. Miller <davem@davemloft.net>
13008 * po/cs.po: Update Czech translation from translation project.
13010 * po/sv.po: Update Swedish translation from translation project.
13012 2013-07-27 David S. Miller <davem@davemloft.net>
13014 * po/eo.po: Update Esperanto translation from translation project.
13016 * po/vi.po: Update Vietnamese translation from translation project.
13018 * po/de.po: Update German translation from translation project.
13020 2013-07-26 David S. Miller <davem@davemloft.net>
13022 * po/bg.po: Update Bulgarian translation from translation project.
13024 * po/nl.po: Update Dutch translation from translation project.
13025 * po/pl.po: Update Polish translation from translation project.
13026 * po/ru.po: Update Russian translation from translation project.
13028 2013-07-24 David S. Miller <davem@davemloft.net>
13030 * po/libc.pot: Update.
13032 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13034 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13035 variable page size.
13036 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13037 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13038 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13040 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13042 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13044 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13045 Andreas Schwab <schwab@suse.de>
13046 Roland McGrath <roland@hack.frob.com>
13047 Joseph Myers <joseph@codesourcery.com>
13048 Carlos O'Donell <carlos@redhat.com>
13051 * config.h.in: Define HAVE_PT_CHOWN.
13052 * config.make.in (build-pt-chown): New variable.
13053 * configure.in (--enable-pt_chown): New configure option.
13054 * configure: Regenerate.
13055 * login/Makefile: Include Makeconfig. Build pt_chown only if
13056 build-pt-chown is enabled.
13057 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13058 pt_chown to fix pty ownership.
13059 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13061 * manual/install.texi (Configuring and compiling): Mention
13062 --enable-pt_chown. Add @findex for grantpt.
13063 * INSTALL: Regenerate.
13065 2013-07-20 David S. Miller <davem@davemloft.net>
13067 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13068 difference between 32-bit and 64-bit.
13070 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13073 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13074 Avoid system header dependency with -ffreestanding.
13075 ($(objpfx)bits/syscall%d): Likewise.
13077 2013-07-13 David S. Miller <davem@davemloft.net>
13079 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13080 underflows from atanl/atan2l due to bug 15319.
13081 (casinh_test_data): Likewise.
13083 2013-07-07 David S. Miller <davem@davemloft.net>
13085 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13087 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13089 * sysdeps/i386/fpu/libm-test-ulps: Update.
13090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13092 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13094 * configure.in (--enable-lock-elision): Fix message text.
13095 * INSTALL: Regenerate.
13096 * configure: Regenerate.
13098 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13102 2013-07-03 Andreas Jaeger <aj@suse.de>
13104 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13106 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13107 (ptrace_peeksiginfo_args): Add.
13108 (__ptrace_peeksiginfo_flags): Add.
13109 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13111 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13113 2013-07-03 Allan McRae <allan@archlinux.org>
13115 * sysdeps/i386/fpu/libm-test-ulps: Update.
13117 2013-07-02 David S. Miller <davem@davemloft.net>
13119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13121 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13125 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13127 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13130 2013-07-02 Andi Kleen <ak@linux.intel.com>
13132 * config.h.in (ENABLE_LOCK_ELISION): Add.
13133 * configure.in (--enable-lock-elision): Add option.
13134 * manual/install.texi: Document --enable lock elision.
13135 * configure: Regenerate
13136 * INSTALL: Regenerate.
13138 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13140 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13141 SSE4.2 strcasecmp for libc.a.
13142 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13144 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13147 * soft-fp/op-common.h (_FP_FMA): New macro.
13148 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13149 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13150 (_FP_MUL_MEAT_1_imm): ... here.
13151 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13152 (_FP_MUL_MEAT_1_wide): ... here.
13153 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13154 (_FP_MUL_MEAT_1_hard): ... here.
13155 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13156 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13157 (_FP_MUL_MEAT_2_wide): ... here.
13158 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13159 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13160 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13161 (_FP_MUL_MEAT_2_gmp): ... here.
13162 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13163 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13164 (_FP_MUL_MEAT_4_wide): ... here.
13165 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13166 (_FP_MUL_MEAT_4_gmp): ... here.
13167 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13168 (_FP_WFRACBITS_DW_S): Likewise.
13169 (_FP_WFRACXBITS_DW_S): Likewise.
13170 (_FP_HIGHBIT_DW_S): Likewise.
13171 (FP_FMA_S): Likewise.
13172 (_FP_FRAC_HIGH_DW_S): Likewise.
13173 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13174 (_FP_WFRACBITS_DW_D): Likewise.
13175 (_FP_WFRACXBITS_DW_D): Likewise.
13176 (_FP_HIGHBIT_DW_D): Likewise.
13177 (FP_FMA_D): Likewise.
13178 (_FP_FRAC_HIGH_DW_D): Likewise.
13179 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13180 (_FP_WFRACBITS_DW_E): Likewise.
13181 (_FP_WFRACXBITS_DW_E): Likewise.
13182 (_FP_HIGHBIT_DW_E): Likewise.
13183 (FP_FMA_E): Likewise.
13184 (_FP_FRAC_HIGH_DW_E): Likewise.
13185 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13186 (_FP_WFRACBITS_DW_Q): Likewise.
13187 (_FP_WFRACXBITS_DW_Q): Likewise.
13188 (_FP_HIGHBIT_DW_Q): Likewise.
13189 (FP_FMA_Q): Likewise.
13190 (_FP_FRAC_HIGH_DW_Q): Likewise.
13191 * soft-fp/fmasf4.c: New file.
13192 * soft-fp/fmadf4.c: Likewise.
13193 * soft-fp/fmatf4.c: Likewise.
13195 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13198 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13200 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13202 (index_Slow_SSE4_2): Likewise.
13203 (index_Prefer_PMINUB_for_stringop): Likewise.
13204 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13205 bit_Slow_SSE4_2 is set.
13206 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13207 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13209 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13211 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13212 rtld_global._dl_hwcap2.
13213 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13215 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13216 POWER8 feature descriptions defined in _dl_hwcap2.
13217 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13218 string handling for POWER8 feature bits.
13219 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13220 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13221 _dl_powerpc_cap_flags.
13222 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13223 * sysdeps/powerpc/rtld-global-offsets.sym
13224 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13225 _dl_hwcap2 in the rtld_global_ro structure.
13227 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13229 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13230 hardware capabilities in support of AT_HWCAP2.
13231 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13232 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13234 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13235 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13236 explicitly the unknown a_type display mechanism is used.
13237 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13238 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13240 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13241 to macro prototype for AT_HWCAP2 support.
13242 * sysdeps/i386/dl-procinfo.h: Likewise.
13243 * sysdeps/s390/dl-procinfo.h: Likewise.
13244 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13245 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13246 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13247 return -1 for unknown a_type display fallback.
13248 * sysdeps/sparc/dl-procinfo.h: Likewise.
13249 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13250 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13252 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13254 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13255 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13257 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13260 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13261 mprotect making __stack_prot writable.
13263 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13264 Joseph Myers <joseph@codesourcery.com>
13266 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13267 as being properly aligned.
13269 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13271 * dlfcn/modstatic5.c: New file.
13272 * dlfcn/tststatic5.c: New file.
13273 * dlfcn/Makefile (tests): Add tststatic5.
13274 (tests-static): Likewise.
13275 (modules-names): Add modstatic5.
13276 (tststatic5-ENV): New variable.
13277 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13280 * elf/dl-support.c (_dl_main_map): New variable.
13281 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13282 (_dl_nns, _dl_load_adds): Set to 1.
13283 (_dl_initial_searchlist): Refer to _dl_main_map.
13284 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13285 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13286 call to _dl_get_origin.
13287 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13289 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13290 * dlfcn/modstatic3.c: New file.
13291 * dlfcn/tststatic3.c: New file.
13292 * dlfcn/tststatic4.c: New file.
13293 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13294 (tests-static): Likewise.
13295 (modules-names): Add modstatic3.
13296 (tststatic3-ENV, tststatic4-ENV): New variables.
13297 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13298 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13300 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13302 * configure.in (CC): Require GCC version 4.4 or later.
13303 * configure: Regenerated.
13304 * manual/install.texi (Tools for Compilation): Update GCC version
13306 * INSTALL: Regenerated.
13308 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13311 * string/test-memcmp.c (check2): New.
13312 (main): Call check2.
13314 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13316 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13319 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13321 (dl_open_worker) [!SHARED]: ... here.
13323 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13325 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13327 2013-06-25 Richard Henderson <rth@redhat.com>
13329 * locale/programs/locarchive.c: Include <libc-internal.h>
13331 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13333 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13334 trailing whitespace removed.
13336 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13339 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13340 * locale/programs/locarchive.c: Include libc-mmap.h.
13341 (prepare_address_space): Take two new outputs (the mmap base and len).
13342 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13344 (create_archive): Declare new mmap base and len values for
13345 prepare_address_space, and store the result in ah.
13346 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13347 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13348 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13349 Declare new mmap base and len values for
13350 prepare_address_space, and store the result in new_ah.
13351 (open_archive): Declare new mmap base and len values for
13352 prepare_address_space, and store the result in ah.
13353 (close_archive): If ah->mmap_base is not NULL, use that and
13354 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13355 * sysdeps/generic/libc-mmap.h: New file.
13357 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13359 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13360 (ALIGN_UP): Likewise.
13361 (PTR_ALIGN_DOWN): Likewise.
13362 (PTR_ALIGN_UP): Likewise.
13364 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13366 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13367 entry mapped to PPC_PLATFORM_POWER8.
13368 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13370 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13371 (_dl_string_platform): Add case for exporting platform position for
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13374 search path to sysdeps/powerpc/powerpc32/power8 directory.
13375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13376 search path to sysdeps/powerpc/powerpc64/power8 directory.
13377 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13378 power7 directories.
13379 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13380 power7 directories.
13382 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13384 * INSTALL: Regenerate.
13386 * nscd/connections.c (nscd_init): Fix comment.
13388 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13390 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13393 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13394 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13396 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13398 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13400 (DL_DST_REQ_STATIC): Remove macro.
13402 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13405 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13406 with a shift of 0 bits.
13408 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13410 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13413 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13416 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13418 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13420 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13421 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13422 accepts -fno-tree-loop-distribute-patterns.
13423 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13424 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13426 * string/memset.c (memset): Likewise.
13427 * string/test-memmove.c (simple_memmove): Disable loop transformation
13429 * string/test-memset.c (simple_memset): Likewise.
13430 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13431 * benchtests/bench-memset.c (simple_memset): Likewise.
13432 * configure: Regenerated.
13434 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13436 * math/test-misc.c (main): Ignore fesetround failure when failures
13437 of subsequent rounding tests would be ignored.
13440 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13441 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13442 * math/fegetenv.c (__fegetenv): Return 0.
13443 * math/fegetexcept.c (fegetexcept): Return 0.
13444 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13446 * math/feholdexcpt.c (feholdexcept): Return 0.
13447 * math/fesetenv.c (__fesetenv): Return 0.
13448 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13449 argument FE_TONEAREST.
13450 * math/feupdateenv.c (__feupdateenv): Return 0.
13451 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13453 2013-06-18 Roland McGrath <roland@hack.frob.com>
13455 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13456 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13457 ($(objpfx)rtld-%.os rules): Use them.
13459 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13461 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13464 2013-06-17 Roland McGrath <roland@hack.frob.com>
13466 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13467 length of target pattern, then descending length of dependency pattern.
13468 * configure.in (AWK): Require gawk 3.1.2 or newer.
13469 * manual/install.texi (Tools for Compilation): Say that we do.
13470 * configure: Regenerated.
13472 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13473 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13474 * scripts/sysd-rules.awk: ... this new script.
13475 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13476 than a glob-style pattern.
13478 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13480 * math/test-misc.c (main): Do not treat incorrectly rounded
13481 conversions as failure unless ROUNDING_TESTS passes.
13483 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13486 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13487 restore exception state around main square root computation, then
13488 check for inexactness explicitly.
13490 * math/libm-test.inc (fma_test_data): Add another test.
13492 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13494 * manual/threads.texi (Non-POSIX Extensions): New document
13495 node. Document pthread_getattr_default_np and
13496 pthread_setattr_default_np.
13498 * Versions.def (libpthread): Add GLIBC_2.18.
13499 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13508 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13519 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13522 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13524 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13525 H.J. Lu <hjl.tools@gmail.com>
13528 * sysdeps/x86_64/rtld-memset.c: Remove file.
13529 * sysdeps/x86_64/rtld-memset.S: New file.
13531 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13533 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13534 (test_in_one_mode): Take arguments for whether the rounding mode
13535 is supported for each floating-point type.
13536 (do_test): Pass new arguments to test_in_one_mode using
13539 2013-06-13 Roland McGrath <roland@hack.frob.com>
13541 * posix/tst-waitid.c (do_test): Distinguish different instances of
13542 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13543 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13544 before entering the kernel for waitpid.
13546 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13548 * NEWS: Fix note on clock function precision. Text by Roland
13551 2013-06-13 Roland McGrath <roland@hack.frob.com>
13553 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13554 it into place only when and if the sanity check passes.
13556 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13558 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13559 output for whether conversion result is exact. Take argument
13560 indicating whether type is IBM long double.
13561 (round_for_all): Change need_exact field to ibm_ld.
13562 * stdlib/tst-strtod-round.c (struct exactness): New type.
13563 (struct test): Change bool ld_ok field to struct exactness exact.
13564 (TEST): Update all definitions for change to field.
13565 (tests): Regenerate array contents.
13566 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13567 field value. Check for IBM long double here.
13568 (do_test): Update calls to test_in_one_mode.
13570 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13573 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13574 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13576 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13579 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13580 generated by the compiler on loop optimizations.
13581 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13582 general definitions.
13584 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13586 * math/bug-nextafter.c: Include <math-tests.h>.
13587 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13589 * math/bug-nexttoward.c: Include <math-tests.h>.
13590 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13592 * math/test-misc.c: Include <math-tests.h>.
13593 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13596 2013-06-12 Andreas Jaeger <aj@suse.de>
13598 * po/ia.po: Update Interlingua translation from translation
13601 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13603 * include/fenv.h: Include stdbool.h.
13604 (struct rm_ctx): New structure.
13605 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13607 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13608 (SET_RESTORE_ROUNDF): Likewise.
13609 (SET_RESTORE_ROUNDL): Likewise.
13610 (SET_RESTORE_ROUND_NOEX): Likewise.
13611 (SET_RESTORE_ROUND_NOEXF): Likewise.
13612 (SET_RESTORE_ROUND_NOEXL): Likewise.
13613 (SET_RESTORE_ROUND_53BIT): Likewise.
13614 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13615 (libc_feresetround_noexf_ctx): Likewise.
13616 (libc_feresetround_noexl_ctx): Likewise.
13617 (libc_feholdsetround_53bit_ctx): Likewise.
13618 (libc_feresetround_53bit_ctx): Likewise.
13619 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13620 (libc_feholdexcept_setround_sse_ctx): New function.
13621 (libc_fesetenv_sse_ctx): Likewise.
13622 (libc_feupdateenv_sse_ctx): Likewise.
13623 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13624 (libc_feholdexcept_setround_387_ctx): Likewise.
13625 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13626 (libc_feholdsetround_387_prec_ctx): Likewise.
13627 (libc_feholdsetround_387_ctx): Likewise.
13628 (libc_feholdsetround_387_53bit_ctx): Likewise.
13629 (libc_feholdsetround_sse_ctx): Likewise.
13630 (libc_feresetround_sse_ctx): Likewise.
13631 (libc_feresetround_387_ctx): Likewise.
13632 (libc_feupdateenv_387_ctx): Likewise.
13633 (libc_feholdexcept_setroundf_ctx): Define macro.
13634 (libc_fesetenvf_ctx): Likewise.
13635 (libc_feupdateenvf_ctx): Likewise.
13636 (libc_feholdsetroundf_ctx): Likewise.
13637 (libc_feresetroundf_ctx): Likewise.
13638 (libc_feholdexcept_setround_ctx): Likewise.
13639 (libc_fesetenv_ctx): Likewise.
13640 (libc_feupdateenv_ctx): Likewise.
13641 (libc_feholdsetround_ctx): Likewise.
13642 (libc_feresetround_ctx): Likewise.
13643 (libc_feholdexcept_setroundl_ctx): Likewise.
13644 (libc_feupdateenvl_ctx): Likewise.
13645 (libc_feholdsetroundl_ctx): Likewise.
13646 (libc_feresetroundl_ctx): Likewise.
13647 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13648 (libc_feresetround_53bit_ctx): Likewise.
13650 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13652 * locale/iso-639.def: Convert to UTF-8.
13654 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13656 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13657 (EXCEPTION_TESTS_double): Likewise.
13658 (EXCEPTION_TESTS_long_double): Likewise.
13659 (EXCEPTION_TESTS): Likewise.
13660 * math/libm-test.inc (test_exceptions): Only test exceptions if
13661 EXCEPTION_TESTS (FLOAT).
13663 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13665 * benchtests/Makefile (string-bench): Add strcpy_chk and
13667 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13668 * benchtests/bench-stpcpy_chk.c: New file.
13669 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13670 * benchtests/bench-strcpy_chk.c: New file.
13671 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13673 (do_test): Likewise.
13675 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13677 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13678 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13679 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13680 with tabs where appropriate.
13681 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13683 [PPC_PLATFORM_PPC440]: Likewise.
13684 [PPC_PLATFORM_PPC464]: Likewise.
13685 [PPC_PLATFORM_PPC476]: Likewise.
13686 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13687 ppc464, and ppc476 platform strings merging from ports/
13690 2013-06-11 Andreas Schwab <schwab@suse.de>
13693 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13694 (from_ucs4_idx): Regenerate.
13695 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13696 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13697 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13698 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13699 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13700 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13701 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13702 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13703 from FROM_LOOP and TO_LOOP specific macros.
13704 (BODY): Handle combining characters.
13705 * iconvdata/BIG5HKSCS.irreversible: Update.
13706 * iconvdata/BIG5HKSCS.precomposed: New file.
13707 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13709 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13711 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13713 * include/sys/time.h: Fix indentation and add copyright header.
13715 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13716 (do_test): Likewise.
13717 * string/test-memchr.c (do_one_test): Likewise.
13718 (do_test): Likewise.
13719 * string/test-memcmp.c (do_one_test): Likewise.
13720 (do_test): Likewise.
13721 * string/test-memcpy.c (do_one_test): Likewise.
13722 (do_test): Likewise.
13723 * string/test-memmem.c (do_one_test): Likewise.
13724 (do_test): Likewise.
13725 (do_random_tests): Likewise.
13726 * string/test-memmove.c (do_one_test): Likewise.
13727 (do_test): Likewise.
13728 * string/test-memset.c (do_one_test): Likewise.
13729 (do_test): Likewise.
13730 * string/test-rawmemchr.c (do_one_test): Likewise.
13731 (do_test): Likewise.
13732 * string/test-strcasecmp.c (do_one_test): Likewise.
13733 (do_test): Likewise.
13734 * string/test-strcasestr.c (do_one_test): Likewise.
13735 (do_test): Likewise.
13736 * string/test-strcat.c (do_one_test): Likewise.
13737 (do_test): Likewise.
13738 * string/test-strchr.c (do_one_test): Likewise.
13739 (do_test): Likewise.
13740 * string/test-strcmp.c (do_one_test): Likewise.
13741 (do_test): Likewise.
13742 * string/test-strcpy.c (do_one_test): Likewise.
13743 (do_test): Likewise.
13744 * string/test-string.h: Likewise.
13745 (test_init): Likewise.
13746 * string/test-strlen.c (do_one_test): Likewise.
13747 (do_test): Likewise.
13748 * string/test-strncasecmp.c (do_one_test): Likewise.
13749 (do_test): Likewise.
13750 * string/test-strncat.c (do_one_test): Likewise.
13751 (do_test): Likewise.
13752 * string/test-strncmp.c (do_one_test): Likewise.
13753 (do_test_limit): Likewise.
13754 (do_test): Likewise.
13755 * string/test-strncpy.c (do_one_test): Likewise.
13756 (do_test): Likewise.
13757 * string/test-strnlen.c (do_one_test): Likewise.
13758 (do_test): Likewise.
13759 * string/test-strpbrk.c (do_one_test): Likewise.
13760 (do_test): Likewise.
13761 * string/test-strrchr.c (do_one_test): Likewise.
13762 (do_test): Likewise.
13763 * string/test-strspn.c (do_one_test): Likewise.
13764 (do_test): Likewise.
13765 * string/test-strstr.c (do_one_test): Likewise.
13766 (do_test): Likewise.
13768 * benchtests/Makefile (string-bench): Add string benchmarks.
13769 * benchtests/bench-bcopy-ifunc.c: New file.
13770 * benchtests/bench-bcopy.c: New file.
13771 * benchtests/bench-bzero-ifunc.c: New file.
13772 * benchtests/bench-bzero.c: New file.
13773 * benchtests/bench-memccpy-ifunc.c: New file.
13774 * benchtests/bench-memccpy.c: New file.
13775 * benchtests/bench-memchr-ifunc.c: New file.
13776 * benchtests/bench-memchr.c: New file.
13777 * benchtests/bench-memcmp-ifunc.c: New file.
13778 * benchtests/bench-memcmp.c: New file.
13779 * benchtests/bench-memmem-ifunc.c: New file.
13780 * benchtests/bench-memmem.c: New file.
13781 * benchtests/bench-memmove-ifunc.c: New file.
13782 * benchtests/bench-memmove.c: New file.
13783 * benchtests/bench-mempcpy-ifunc.c: New file.
13784 * benchtests/bench-mempcpy.c: New file.
13785 * benchtests/bench-memset-ifunc.c: New file.
13786 * benchtests/bench-memset.c: New file.
13787 * benchtests/bench-rawmemchr-ifunc.c: New file.
13788 * benchtests/bench-rawmemchr.c: New file.
13789 * benchtests/bench-stpcpy-ifunc.c: New file.
13790 * benchtests/bench-stpcpy.c: New file.
13791 * benchtests/bench-stpncpy-ifunc.c: New file.
13792 * benchtests/bench-stpncpy.c: New file.
13793 * benchtests/bench-strcasecmp-ifunc.c: New file.
13794 * benchtests/bench-strcasecmp.c: New file.
13795 * benchtests/bench-strcasestr-ifunc.c: New file.
13796 * benchtests/bench-strcasestr.c: New file.
13797 * benchtests/bench-strcat-ifunc.c: New file.
13798 * benchtests/bench-strcat.c: New file.
13799 * benchtests/bench-strchr-ifunc.c: New file.
13800 * benchtests/bench-strchr.c: New file.
13801 * benchtests/bench-strchrnul-ifunc.c: New file.
13802 * benchtests/bench-strchrnul.c: New file.
13803 * benchtests/bench-strcmp-ifunc.c: New file.
13804 * benchtests/bench-strcmp.c: New file.
13805 * benchtests/bench-strcpy-ifunc.c: New file.
13806 * benchtests/bench-strcpy.c: New file.
13807 * benchtests/bench-strcspn-ifunc.c: New file.
13808 * benchtests/bench-strcspn.c: New file.
13809 * benchtests/bench-strlen-ifunc.c: New file.
13810 * benchtests/bench-strlen.c: New file.
13811 * benchtests/bench-strncasecmp-ifunc.c: New file.
13812 * benchtests/bench-strncasecmp.c: New file.
13813 * benchtests/bench-strncat-ifunc.c: New file.
13814 * benchtests/bench-strncat.c: New file.
13815 * benchtests/bench-strncmp-ifunc.c: New file.
13816 * benchtests/bench-strncmp.c: New file.
13817 * benchtests/bench-strncpy-ifunc.c: New file.
13818 * benchtests/bench-strncpy.c: New file.
13819 * benchtests/bench-strnlen-ifunc.c: New file.
13820 * benchtests/bench-strnlen.c: New file.
13821 * benchtests/bench-strpbrk-ifunc.c: New file.
13822 * benchtests/bench-strpbrk.c: New file.
13823 * benchtests/bench-strrchr-ifunc.c: New file.
13824 * benchtests/bench-strrchr.c: New file.
13825 * benchtests/bench-strspn-ifunc.c: New file.
13826 * benchtests/bench-strspn.c: New file.
13827 * benchtests/bench-strstr-ifunc.c: New file.
13828 * benchtests/bench-strstr.c: New file.
13830 * benchtests/Makefile: Disable parallel execution of targets.
13831 (string-bench): Add memcpy.
13832 (benchset): New variable to store a list of benchmark sets.
13833 (bench-func): Renamed from bench.
13834 (bench-set): New target.
13835 (bench): Depend on bench-func and bench-set.
13836 * benchtests/README: Add section on benchmark sets.
13837 * benchtests/bench-memcpy-ifunc.c: New file.
13838 * benchtests/bench-memcpy.c: New file.
13839 * benchtests/bench-string.h: New file.
13841 2013-06-11 Andreas Schwab <schwab@suse.de>
13844 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13845 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13846 values in the triple.
13847 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13848 terminator in the group key.
13850 2013-06-11 Andreas Jaeger <aj@suse.de>
13852 * po/zh_TW.po: Update Chinese (traditional) translation from
13853 translation project.
13855 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13857 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13858 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13859 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13860 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13861 (clock_getcpuclockid): Likewise.
13862 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13863 Add weak_alias and libc_hidden_def.
13864 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13865 * rt/clock_gettime.c (clock_gettime): Rename to
13866 __clock_gettime. Add weak_alias and libc_hidden_def.
13867 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13868 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13869 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13870 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13871 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13873 * rt/clock_settime.c (clock_settime): Rename to
13874 __clock_settime. Add weak_alias and libc_hidden_def.
13875 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13877 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13879 * mach/err_boot.sub: Remove trailing whitespace.
13880 * mach/err_ipc.sub: Likewise.
13881 * mach/err_mach.sub: Likewise.
13883 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13884 (ROUNDING_TESTS_double): Likewise.
13885 (ROUNDING_TESTS_long_double): Likewise.
13886 (ROUNDING_TESTS): Likewise.
13887 * math/libm-test.inc: Include <math-tests.h>.
13888 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13889 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13890 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13891 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13893 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13895 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13898 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13900 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13901 otherwise empty TRANS lines.
13902 * sysdeps/gnu/errlist.c: Regenerated.
13904 * catgets/gencat.c (error_print): Use (void) in function
13906 * crypt/crypt_util.c (__init_des): Likewise.
13907 * crypt/speeds.c (Stop): Likewise.
13909 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13910 * inet/ruserpass.c (token): Likewise.
13911 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13912 * intl/localealias.c (extend_alias_table): Likewise.
13913 * intl/plural-exp.c (init_germanic_plural): Likewise.
13914 * libio/fcloseall.c (__fcloseall): Likewise.
13915 * libio/genops.c (_IO_flush_all): Likewise.
13916 (_IO_flush_all_linebuffered): Likewise.
13917 (_IO_cleanup): Likewise.
13918 (_IO_iter_begin): Likewise.
13919 (_IO_iter_end): Likewise.
13920 (_IO_list_lock): Likewise.
13921 (_IO_list_unlock): Likewise.
13922 (_IO_list_resetlock): Likewise.
13923 * libio/getchar.c (getchar): Likewise.
13924 * libio/getchar_u.c (getchar_unlocked): Likewise.
13925 * libio/getwchar.c (getwchar): Likewise.
13926 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13927 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13928 * login/getpt.c (__getpt): Likewise.
13929 * login/tst-utmp.c (main): Likewise.
13930 * malloc/hooks.c (__malloc_check_init): Likewise.
13931 * malloc/malloc.c (__malloc_stats): Likewise.
13932 * malloc/mtrace.c (tr_break): Likewise.
13933 (mtrace): Likewise.
13934 (muntrace): Likewise.
13935 * misc/fstab.c (endfsent): Likewise.
13936 * misc/getclktck.c (__getclktck): Likewise.
13937 * misc/getdtsz.c (__getdtablesize): Likewise.
13938 * misc/gethostid.c (gethostid): Likewise.
13939 * misc/getpagesize.c (__getpagesize): Likewise.
13940 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13941 (__get_nprocs): Likewise.
13942 (__get_phys_pages): Likewise.
13943 (__get_avphys_pages): Likewise.
13944 * misc/getttyent.c (getttyent): Likewise.
13945 (setttyent): Likewise.
13946 (endttyent): Likewise.
13947 * misc/getusershell.c (getusershell): Likewise.
13948 (endusershell): Likewise.
13949 (setusershell): Likewise.
13950 (initshells): Likewise.
13951 * misc/hsearch.c (__hdestroy): Likewise.
13952 * misc/sync.c (sync): Likewise.
13953 * misc/syslog.c (closelog_internal): Likewise.
13954 (closelog): Likewise.
13955 * misc/ttyslot.c (ttyslot): Likewise.
13956 * misc/vhangup.c (vhangup): Likewise.
13957 * posix/fork.c (__fork): Likewise.
13958 * posix/getegid.c (__getegid): Likewise.
13959 * posix/geteuid.c (__geteuid): Likewise.
13960 * posix/getgid.c (__getgid): Likewise.
13961 * posix/getpid.c (__getpid): Likewise.
13962 * posix/getppid.c (__getppid): Likewise.
13963 * posix/getuid.c (__getuid): Likewise.
13964 * posix/pause.c (pause): Likewise.
13965 * posix/setpgrp.c (setpgrp): Likewise.
13966 * posix/setsid.c (__setsid): Likewise.
13967 * posix/test-vfork.c (noop): Likewise.
13968 * resolv/gethnamaddr.c (_endhtent): Likewise.
13969 (_gethtent): Likewise.
13970 (ht_endhostent): Likewise.
13971 (gethostent): Likewise.
13972 (dns_service): Likewise.
13973 * stdlib/drand48.c (drand48): Likewise.
13974 * stdlib/lrand48.c (lrand48): Likewise.
13975 * stdlib/mrand48.c (mrand48): Likewise.
13976 * stdlib/rand.c (rand): Likewise.
13977 * stdlib/random.c (__random): Likewise.
13978 * stdlib/setenv.c (clearenv): Likewise.
13979 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13980 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13981 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13982 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13983 (__get_nprocs): Likewise.
13984 (__get_phys_pages): Likewise.
13985 (__get_avphys_pages): Likewise.
13986 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13987 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13988 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13989 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13990 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13991 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13992 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13993 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13994 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13995 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13996 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13997 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13998 * sysdeps/posix/clock.c (clock): Likewise.
13999 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14000 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14001 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14002 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14003 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14004 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14005 (__get_nprocs_conf): Likewise.
14006 (__get_phys_pages): Likewise.
14007 (__get_avphys_pages): Likewise.
14008 * time/clock.c (clock): Likewise.
14009 * time/tzset.c (__tzname_max): Likewise.
14011 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14013 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14014 (__bswap_32): Do not use "register".
14015 * crypt/crypt.c (_ufc_doit_r): Likewise.
14016 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14017 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14018 * gmon/gmon.c (__monstartup): Likewise.
14019 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14020 * hurd/hurdmalloc.c (more_memory): Likewise.
14021 (malloc): Likewise.
14023 (realloc): Likewise.
14024 (malloc_fork_prepare): Likewise.
14025 (malloc_fork_parent): Likewise.
14026 (malloc_fork_child): Likewise.
14027 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14028 (_svcauth_des): Likewise.
14029 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14030 * inet/inet_net.c (inet_network): Likewise.
14031 * inet/inet_netof.c (inet_netof): Likewise.
14032 * inet/rcmd.c (__validuser2_sa): Likewise.
14033 * io/fts.c (fts_open): Likewise.
14034 (fts_load): Likewise.
14035 (fts_close): Likewise.
14036 (fts_read): Likewise.
14037 (fts_children): Likewise.
14038 (fts_build): Likewise.
14039 (fts_stat): Likewise.
14040 (fts_sort): Likewise.
14041 (fts_alloc): Likewise.
14042 (fts_lfree): Likewise.
14043 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14044 (_IO_file_xsgetn): Likewise.
14045 (_IO_file_xsgetn_mmap): Likewise.
14046 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14047 (_IO_cookie_write): Likewise.
14048 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14049 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14050 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14051 * malloc/obstack.c (_obstack_begin): Likewise.
14052 (_obstack_begin_1): Likewise.
14053 (_obstack_newchunk): Likewise.
14054 (_obstack_allocated_p): Likewise.
14055 (obstack_free): Likewise.
14056 (_obstack_memory_used): Likewise.
14057 * misc/getttyent.c (getttynam): Likewise.
14058 (getttyent): Likewise.
14061 * misc/getusershell.c (initshells): Likewise.
14062 * misc/syslog.c (__vsyslog_chk): Likewise.
14063 * misc/ttyslot.c (ttyslot): Likewise.
14064 * nis/nis_hash.c (__nis_hash): Likewise.
14065 * posix/fnmatch_loop.c (FCT): Likewise.
14066 * posix/getconf.c (print_all): Likewise.
14068 * posix/getopt.c (exchange): Likewise.
14069 * posix/glob.c (globfree): Likewise.
14070 (prefix_array): Likewise.
14071 (__glob_pattern_type): Likewise.
14072 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14073 (NS_GET32): Likewise.
14074 (NS_PUT16): Likewise.
14075 (NS_PUT32): Likewise.
14076 * resolv/gethnamaddr.c (getanswer): Likewise.
14077 (gethostbyname2): Likewise.
14078 (gethostbyaddr): Likewise.
14079 (_gethtent): Likewise.
14080 (_gethtbyname2): Likewise.
14081 (_gethtbyaddr): Likewise.
14082 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14083 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14084 * resolv/res_init.c (__res_vinit): Likewise.
14085 (net_mask): Likewise.
14086 * resolv/res_mkquery.c (outchar): Likewise.
14088 * stdio-common/printf_fp.c (outchar): Likewise.
14090 * stdio-common/printf_fphex.c (outchar): Likewise.
14092 * stdio-common/printf_size.c (outchar): Likewise.
14094 * stdio-common/test_rdwr.c (main): Likewise.
14095 * stdio-common/tfformat.c (matches): Likewise.
14096 * stdio-common/vfprintf.c (outchar): Likewise.
14097 (printf_unknown): Likewise.
14098 (buffered_vfprintf): Likewise.
14099 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14100 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14101 (ReadFile): Likewise.
14102 * stdlib/qsort.c (SWAP): Likewise.
14103 (_quicksort): Likewise.
14104 * stdlib/setenv.c (__add_to_environ): Likewise.
14105 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14106 * stdlib/strtol_l.c (__strtol_l): Likewise.
14107 * stdlib/tst-strtod.c (main): Likewise.
14108 * stdlib/tst-strtol.c (main): Likewise.
14109 * stdlib/tst-strtoll.c (main): Likewise.
14110 * string/bits/string2.h (__strcmp_cc): Likewise.
14111 (__strcmp_cg): Likewise.
14112 (__strcspn_c1): Likewise.
14113 (__strcspn_c2): Likewise.
14114 (__strcspn_c3): Likewise.
14115 (__strspn_c1): Likewise.
14116 (__strspn_c2): Likewise.
14117 (__strspn_c3): Likewise.
14118 (__strsep_1c): Likewise.
14119 (__strsep_2c): Likewise.
14120 (__strsep_3c): Likewise.
14121 * string/memccpy.c (__memccpy): Likewise.
14122 * string/stpcpy.c (__stpcpy): Likewise.
14123 * string/strcmp.c (strcmp): Likewise.
14124 * string/strrchr.c (strrchr): Likewise.
14125 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14127 * sysdeps/mach/hurd/getcwd.c
14128 (_hurd_canonicalize_directory_name_internal): Likewise.
14129 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14130 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14131 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14132 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14133 Likewise, in both definitions.
14134 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14136 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14137 64] (__bswap_64): Likewise.
14138 * time/test_time.c (main): Likewise.
14139 * time/tzfile.c (__tzfile_read): Likewise.
14140 (__tzfile_compute): Likewise.
14141 * time/tzset.c (__tzset_parse_tz): Likewise.
14142 (tzset_internal): Likewise.
14143 (compute_change): Likewise.
14144 * wcsmbs/wcscat.c (__wcscat): Likewise.
14145 * wcsmbs/wcschr.c (wcschr): Likewise.
14146 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14147 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14148 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14149 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14150 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14151 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14152 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14153 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14154 * wcsmbs/wmemset.c (wmemset): Likewise.
14156 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14158 * scripts/config.guess: Update to version 2013-05-16.
14159 * scripts/config.sub: Update to version 2013-04-24.
14160 * scripts/install-sh: Update to version 2011-11-20.07.
14161 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14162 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14164 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14166 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14167 * elf/sln.c: Likewise.
14168 * hurd/hurd/ioctl.h: Likewise.
14169 * hurd/hurdmalloc.c: Likewise.
14170 * hurd/xattr.c: Likewise.
14171 * include/shlib-compat.h: Likewise.
14172 * inet/ruserpass.c: Likewise.
14173 * libio/iofgets_u.c: Likewise.
14174 * libio/iofgetws_u.c: Likewise.
14175 * locale/programs/ld-identification.c: Likewise.
14176 * locale/programs/ld-time.c: Likewise.
14177 * mach/msg-destroy.c: Likewise.
14178 * nss/nss_files/files-netgrp.c: Likewise.
14179 * resolv/res_data.c: Likewise.
14180 * soft-fp/op-1.h: Likewise.
14181 * soft-fp/op-2.h: Likewise.
14182 * soft-fp/op-4.h: Likewise.
14183 * soft-fp/op-common.h: Likewise.
14184 * stdio-common/printf_fphex.c: Likewise.
14185 * stdlib/strtod_l.c: Likewise.
14186 * sunrpc/rpc/clnt.h: Likewise.
14187 * sysdeps/generic/framestate.c: Likewise.
14188 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14189 * sysdeps/i386/bsd-setjmp.S: Likewise.
14190 * sysdeps/i386/__longjmp.S: Likewise.
14191 * sysdeps/i386/setjmp.S: Likewise.
14192 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14193 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14194 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14195 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14197 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14198 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14201 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14202 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14203 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14204 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14205 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14206 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14207 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14208 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14210 * sysdeps/ieee754/support.c: Likewise.
14211 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14212 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14213 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14214 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14215 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14216 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14217 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14218 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14219 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14220 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14221 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14222 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14223 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14224 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14225 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14226 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14227 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14230 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14232 * posix/transbug.c: Remove executable mode.
14234 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14236 * crypt/speeds.c: Remove trailing whitespace.
14237 * dlfcn/default.c: Likewise.
14238 * elf/ifuncdep2.c: Likewise.
14239 * elf/ifuncmain1.c: Likewise.
14240 * elf/ifuncmain1vis.c: Likewise.
14241 * elf/testobj.h: Likewise.
14242 * elf/tst-stackguard1.c: Likewise.
14243 * gmon/sys/gmon.h: Likewise.
14244 * hurd/hurdmsg.c: Likewise.
14245 * hurd/new-fd.c: Likewise.
14246 * hurd/ports-get.c: Likewise.
14247 * iconvdata/ibm1008_420.c: Likewise.
14248 * inet/tst-getni1.c: Likewise.
14249 * inet/tst-getni2.c: Likewise.
14250 * libio/ioungetc.c: Likewise.
14251 * libio/wfiledoalloc.c: Likewise.
14252 * manual/libm-err-tab.pl: Likewise.
14253 * math/w_dremf.c: Likewise.
14254 * misc/ftruncate.c: Likewise.
14255 * posix/bug-glob2.c: Likewise.
14256 * posix/tst-pcre.c: Likewise.
14257 * posix/wait4.c: Likewise.
14258 * resolv/README: Likewise.
14259 * resolv/res_debug.h: Likewise.
14260 * resolv/tst-inet_ntop.c: Likewise.
14261 * setjmp/bug269-setjmp.c: Likewise.
14262 * soft-fp/extended.h: Likewise.
14263 * soft-fp/op-1.h: Likewise.
14264 * soft-fp/op-2.h: Likewise.
14265 * soft-fp/op-4.h: Likewise.
14266 * soft-fp/op-8.h: Likewise.
14267 * soft-fp/testit.c: Likewise.
14268 * stdio-common/bug16.c: Likewise.
14269 * stdlib/random.c: Likewise.
14270 * sunrpc/rpcsvc/rquota.x: Likewise.
14271 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14272 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14273 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14274 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14275 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14276 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14277 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14278 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14279 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14280 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14281 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14282 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14283 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14287 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14289 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14290 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14291 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14292 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14295 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14297 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14298 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14299 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14300 * sysdeps/ieee754/s_lib_version.c: Likewise.
14301 * sysdeps/mach/hurd/check_fds.c: Likewise.
14302 * sysdeps/mach/hurd/getsockname.c: Likewise.
14303 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14304 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14305 * sysdeps/powerpc/bits/link.h: Likewise.
14306 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14307 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14308 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14309 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14310 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14311 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14312 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14313 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14314 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14315 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14316 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14317 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14318 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14319 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14320 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14321 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14322 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14323 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14324 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14325 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14326 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14327 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14328 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14329 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14330 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14331 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14332 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14333 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14334 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14335 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14336 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14337 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14338 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14339 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14340 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14341 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14342 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14343 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14344 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14345 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14346 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14347 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14348 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14349 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14350 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14351 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14352 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14353 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14354 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14355 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14356 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14357 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14358 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14359 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14360 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14361 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14362 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14363 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14364 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14365 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14366 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14367 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14368 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14369 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14370 * sysdeps/powerpc/sysdep.h: Likewise.
14371 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14372 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14373 * sysdeps/sh/dl-trampoline.S: Likewise.
14374 * sysdeps/sh/memset.S: Likewise.
14375 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14376 * sysdeps/sh/strlen.S: Likewise.
14377 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14378 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14379 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14380 * sysdeps/sparc/sparc32/rem.S: Likewise.
14381 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14382 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14383 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14384 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14385 * sysdeps/sparc/sparc32/urem.S: Likewise.
14386 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14387 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14388 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14389 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14390 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14391 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14392 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14393 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14394 * sysdeps/unix/bsd/times.c: Likewise.
14395 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14396 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14400 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14401 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14402 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14403 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14404 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14405 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14406 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14407 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14408 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14409 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14410 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14411 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14412 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14413 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14414 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14415 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14416 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14417 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14418 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14419 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14420 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14421 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14422 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14423 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14424 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14425 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14426 * sysdeps/x86_64/strcspn.S: Likewise.
14428 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14430 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14431 generated file. Regenerate properly from gen-translit.pl.
14432 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14433 locale/C-translit.h.
14435 2013-06-05 Andreas Schwab <schwab@suse.de>
14438 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14439 week as 6 instead of -1.
14440 * time/tst-strptime.c (day_tests): Add test case.
14442 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14444 * sysdeps/generic/math_private.h
14445 (libc_feholdexcept_setround_53bit): Replace with
14446 libc_feholdsetround_53bit.
14447 (libc_feupdateenv_53bit): Replace with
14448 libc_feresetround_53bit.
14449 (SET_RESTORE_ROUND_53BIT): Adjust.
14451 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14453 * string/test-strchrnul.c: Add copyright header.
14455 * posix/tst-getaddrinfo4.c: Increase test timeout.
14457 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14460 * math/libm-test.inc (MAX_EXP): Remove
14462 (ulp): Use MIN_EXP - MANT_DIG.
14463 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14465 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14467 * po/be.po: Revert last change.
14468 * po/zh_CN.po: Likewise.
14469 * po/header.pot: Likewise.
14471 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14473 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14474 link-libc-deps to empty as target-specific variable.
14475 * Makerules (link-libc-args): New variable.
14476 (libc-for-link): Likewise.
14477 (link-libc-deps): Likewise.
14478 (lib%.so): Depend on $(link-libc-deps). Link with
14480 (build-module): Link with $(link-libc-args).
14481 (build-module-asneeded): Likewise.
14482 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14484 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14485 target-specific variable.
14486 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14487 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14488 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14490 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14492 ($(objpfx)libpcprofile.so): Likewise.
14493 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14495 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14496 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14497 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14499 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14500 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14501 * login/Makefile ($(objpfx)libutil.so): Likewise.
14502 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14503 * math/Makefile ($(objpfx)libm.so): Likewise.
14504 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14505 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14506 variable instead of depending directly on libc.
14507 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14508 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14510 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14512 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14513 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14514 ($(objpfx)libanl.so): Likewise.
14515 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14517 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14519 * sysdeps/i386/fpu/Makefile: Remove file.
14520 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14521 ($(objpfx)libm.so): Remove dependency on ld.so.
14523 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14526 * nis/yp_xdr.c (XDRMAXNAME): Define.
14527 (XDRMAXRECORD): Define.
14528 (xdr_domainname): Use XDRMAXNAME.
14529 (xdr_mapname): Likewise.
14530 (xdr_peername): Likewise.
14531 (xdr_keydat): Use XDRMAXRECORD.
14532 (xdr_valdat): Likewise.
14534 2013-05-30 Jeff Law <law@redhat.com>
14537 * manual/errno.texi (ESTALE): Update to account for more than
14538 just NFS file systems.
14539 * sysdeps/gnu/errlist.c: Regenerated.
14541 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14544 * elf/Makefile (tests): Add tst-null-argv.
14545 (modules-names): Add tst-null-argv-lib.
14546 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14547 (tst-null-argv-ENV): Set environment for tst-null-argv.
14548 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14549 (RTLD_PROGNAME): New macro.
14550 * elf/tst-null-argv.c: New test case.
14551 * elf/tst-null-argv-lib.c: Library for test case.
14552 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14553 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14554 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14555 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14556 * elf/dl-init.c (call_init): Likewise.
14557 (_dl_init): Likewise.
14558 * elf/dl-load.c (print_search_path): Likewise.
14559 (_dl_map_object): Likewise.
14560 * elf/dl-lookup.c (do_lookup_x): Likewise.
14561 (add_dependency): Likewise.
14562 (_dl_lookup_symbol_x): Likewise.
14563 (_dl_debug_bindings): Likewise.
14564 * elf/dl-open.c (_dl_show_scope): Likewise.
14565 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14566 * elf/dl-version.c (match_symbol): Likewise.
14567 (_dl_check_map_versions): Likewise.
14568 * elf/rtld.c (dl_main): Likewise.
14569 (print_unresolved): Use RTLD_PROGNAME.
14570 (print_missing_version): Likewise.
14571 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14572 (elf_machine_rela): Likewise.
14573 * sysdeps/powerpc/powerpc32/dl-machine.c
14574 (__process_machine_rela): Likewise.
14575 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14577 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14579 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14581 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14582 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14584 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14588 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14590 * po/be.po: Add descriptive title.
14591 * po/zh_CN.po: Likewise.
14592 * po/header.pot: Likewise.
14594 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14596 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14598 (enlarge_archive): Likewise.
14600 2013-05-28 Ben North <ben@redfrontdoor.org>
14602 * manual/arith.texi (frexp): It is the magnitude of the return
14603 value which lies in [0.5, 1), not the return value itself.
14605 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14609 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14611 * stdio-common/bug26.c (main): Correct fscanf template.
14613 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14614 declare _dl_skip_args.
14616 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14619 * manual/platform.texi: Add missing @end deftypefun.
14621 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14624 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14625 bit of mantissa of 2^16382.
14626 * math/libm-test.inc (hypot_test_data): Add more tests.
14628 * math/libm-test.inc: Add drem and pow10 to list of tested
14630 (pow10_test): New function.
14631 (drem_test): Likewise.
14632 (drem_test_tonearest): Likewise.
14633 (drem_test_towardzero): Likewise.
14634 (drem_test_downward): Likewise.
14635 (drem_test_upward): Likewise.
14636 (main): Call the new functions.
14638 * math/libm-test.inc (finite_test_data): Remove.
14639 (finite_test): Run tests from isfinite_test_data.
14640 (gamma_test_data): Remove.
14641 (gamma_test): Run tests from lgamma_test_data.
14642 * sysdeps/i386/fpu/libm-test-ulps: Update.
14643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14645 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14647 * manual/platform.texi: Add PowerPC PPR function set documentation.
14648 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14651 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14653 * math/libm-test.inc (MAX_EXP): Define.
14655 (ulp): New function.
14656 (check_float_internal): Use ULPDIFF.
14657 (cpow_test): Disable failing test.
14658 (check_ulp): Test ulp() implemetnation.
14659 (main): Call check_ulp before starting tests.
14661 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14663 * math/gen-libm-test.pl (generate_testfile): Do not handle
14664 START_DATA and END_DATA.
14665 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14667 (acos_tonearest_test_data): Likewise.
14668 (acos_towardzero_test_data): Likewise.
14669 (acos_downward_test_data): Likewise.
14670 (acos_upward_test_data): Likewise.
14671 (acosh_test_data): Likewise.
14672 (asin_test_data): Likewise.
14673 (asin_tonearest_test_data): Likewise.
14674 (asin_towardzero_test_data): Likewise.
14675 (asin_downward_test_data): Likewise.
14676 (asin_upward_test_data): Likewise.
14677 (asinh_test_data): Likewise.
14678 (atan_test_data): Likewise.
14679 (atanh_test_data): Likewise.
14680 (atan2_test_data): Likewise.
14681 (cabs_test_data): Likewise.
14682 (cacos_test_data): Likewise.
14683 (cacosh_test_data): Likewise.
14684 (carg_test_data): Likewise.
14685 (casin_test_data): Likewise.
14686 (casinh_test_data): Likewise.
14687 (catan_test_data): Likewise.
14688 (catanh_test_data): Likewise.
14689 (cbrt_test_data): Likewise.
14690 (ccos_test_data): Likewise.
14691 (ccosh_test_data): Likewise.
14692 (ceil_test_data): Likewise.
14693 (cexp_test_data): Likewise.
14694 (cimag_test_data): Likewise.
14695 (clog_test_data): Likewise.
14696 (clog10_test_data): Likewise.
14697 (conj_test_data): Likewise.
14698 (copysign_test_data): Likewise.
14699 (cos_test_data): Likewise.
14700 (cos_tonearest_test_data): Likewise.
14701 (cos_towardzero_test_data): Likewise.
14702 (cos_downward_test_data): Likewise.
14703 (cos_upward_test_data): Likewise.
14704 (cosh_test_data): Likewise.
14705 (cosh_tonearest_test_data): Likewise.
14706 (cosh_towardzero_test_data): Likewise.
14707 (cosh_downward_test_data): Likewise.
14708 (cosh_upward_test_data): Likewise.
14709 (cpow_test_data): Likewise.
14710 (cproj_test_data): Likewise.
14711 (creal_test_data): Likewise.
14712 (csin_test_data): Likewise.
14713 (csinh_test_data): Likewise.
14714 (csqrt_test_data): Likewise.
14715 (ctan_test_data): Likewise.
14716 (ctan_tonearest_test_data): Likewise.
14717 (ctan_towardzero_test_data): Likewise.
14718 (ctan_downward_test_data): Likewise.
14719 (ctan_upward_test_data): Likewise.
14720 (ctanh_test_data): Likewise.
14721 (ctanh_tonearest_test_data): Likewise.
14722 (ctanh_towardzero_test_data): Likewise.
14723 (ctanh_downward_test_data): Likewise.
14724 (ctanh_upward_test_data): Likewise.
14725 (erf_test_data): Likewise.
14726 (erfc_test_data): Likewise.
14727 (exp_test_data): Likewise.
14728 (exp_tonearest_test_data): Likewise.
14729 (exp_towardzero_test_data): Likewise.
14730 (exp_downward_test_data): Likewise.
14731 (exp_upward_test_data): Likewise.
14732 (exp10_test_data): Likewise.
14733 (exp2_test_data): Likewise.
14734 (expm1_test_data): Likewise.
14735 (fabs_test_data): Likewise.
14736 (fdim_test_data): Likewise.
14737 (finite_test_data): Likewise.
14738 (floor_test_data): Likewise.
14739 (fma_test_data): Likewise.
14740 (fma_towardzero_test_data): Likewise.
14741 (fma_downward_test_data): Likewise.
14742 (fma_upward_test_data): Likewise.
14743 (fmax_test_data): Likewise.
14744 (fmin_test_data): Likewise.
14745 (fmod_test_data): Likewise.
14746 (fpclassify_test_data): Likewise.
14747 (frexp_test_data): Likewise.
14748 (gamma_test_data): Likewise.
14749 (hypot_test_data): Likewise.
14750 (ilogb_test_data): Likewise.
14751 (isfinite_test_data): Likewise.
14752 (isgreater_test_data): Likewise.
14753 (isgreaterequal_test_data): Likewise.
14754 (isinf_test_data): Likewise.
14755 (isless_test_data): Likewise.
14756 (islessequal_test_data): Likewise.
14757 (islessgreater_test_data): Likewise.
14758 (isnan_test_data): Likewise.
14759 (isnormal_test_data): Likewise.
14760 (issignaling_test_data): Likewise.
14761 (isunordered_test_data): Likewise.
14762 (j0_test_data): Likewise.
14763 (j1_test_data): Likewise.
14764 (jn_test_data): Likewise.
14765 (ldexp_test_data): Likewise.
14766 (lgamma_test_data): Likewise.
14767 (lrint_test_data): Likewise.
14768 (lrint_tonearest_test_data): Likewise.
14769 (lrint_towardzero_test_data): Likewise.
14770 (lrint_downward_test_data): Likewise.
14771 (lrint_upward_test_data): Likewise.
14772 (llrint_test_data): Likewise.
14773 (llrint_tonearest_test_data): Likewise.
14774 (llrint_towardzero_test_data): Likewise.
14775 (llrint_downward_test_data): Likewise.
14776 (llrint_upward_test_data): Likewise.
14777 (log_test_data): Likewise.
14778 (log10_test_data): Likewise.
14779 (log1p_test_data): Likewise.
14780 (log2_test_data): Likewise.
14781 (logb_test_data): Likewise.
14782 (logb_downward_test_data): Likewise.
14783 (lround_test_data): Likewise.
14784 (llround_test_data): Likewise.
14785 (modf_test_data): Likewise.
14786 (nearbyint_test_data): Likewise.
14787 (nextafter_test_data): Likewise.
14788 (nexttoward_test_data): Likewise.
14789 (pow_test_data): Likewise.
14790 (pow_tonearest_test_data): Likewise.
14791 (pow_towardzero_test_data): Likewise.
14792 (pow_downward_test_data): Likewise.
14793 (pow_upward_test_data): Likewise.
14794 (remainder_test_data): Likewise.
14795 (remainder_tonearest_test_data): Likewise.
14796 (remainder_towardzero_test_data): Likewise.
14797 (remainder_downward_test_data): Likewise.
14798 (remainder_upward_test_data): Likewise.
14799 (remquo_test_data): Likewise.
14800 (rint_test_data): Likewise.
14801 (rint_tonearest_test_data): Likewise.
14802 (rint_towardzero_test_data): Likewise.
14803 (rint_downward_test_data): Likewise.
14804 (rint_upward_test_data): Likewise.
14805 (round_test_data): Likewise.
14806 (scalb_test_data): Likewise.
14807 (scalbn_test_data): Likewise.
14808 (scalbln_test_data): Likewise.
14809 (signbit_test_data): Likewise.
14810 (sin_test_data): Likewise.
14811 (sin_tonearest_test_data): Likewise.
14812 (sin_towardzero_test_data): Likewise.
14813 (sin_downward_test_data): Likewise.
14814 (sin_upward_test_data): Likewise.
14815 (sincos_test_data): Likewise.
14816 (sinh_test_data): Likewise.
14817 (sinh_tonearest_test_data): Likewise.
14818 (sinh_towardzero_test_data): Likewise.
14819 (sinh_downward_test_data): Likewise.
14820 (sinh_upward_test_data): Likewise.
14821 (sqrt_test_data): Likewise.
14822 (tan_test_data): Likewise.
14823 (tan_tonearest_test_data): Likewise.
14824 (tan_towardzero_test_data): Likewise.
14825 (tan_downward_test_data): Likewise.
14826 (tan_upward_test_data): Likewise.
14827 (tanh_test_data): Likewise.
14828 (tgamma_test_data): Likewise.
14829 (trunc_test_data): Likewise.
14830 (y0_test_data): Likewise.
14831 (y1_test_data): Likewise.
14832 (yn_test_data): Likewise.
14833 (significand_test_data): Likewise.
14835 * math/gen-libm-test.pl (@functions): Remove variable.
14836 (generate_testfile): Don't handle START and END lines.
14837 * math/libm-test.inc (START): New macro.
14839 (END_COMPLEX): Likewise.
14840 (acos_test): Use END macro without arguments.
14841 (acos_test_tonearest): Likewise.
14842 (acos_test_towardzero): Likewise.
14843 (acos_test_downward): Likewise.
14844 (acos_test_upward): Likewise.
14845 (acosh_test): Likewise.
14846 (asin_test): Likewise.
14847 (asin_test_tonearest): Likewise.
14848 (asin_test_towardzero): Likewise.
14849 (asin_test_downward): Likewise.
14850 (asin_test_upward): Likewise.
14851 (asinh_test): Likewise.
14852 (atan_test): Likewise.
14853 (atanh_test): Likewise.
14854 (atan2_test): Likewise.
14855 (cabs_test): Likewise.
14856 (cacos_test): Use END_COMPLEX macro without arguments.
14857 (cacosh_test): Likewise.
14858 (carg_test): Use END macro without arguments.
14859 (casin_test): Use END_COMPLEX macro without arguments.
14860 (casinh_test): Likewise.
14861 (catan_test): Likewise.
14862 (catanh_test): Likewise.
14863 (cbrt_test): Use END macro without arguments.
14864 (ccos_test): Use END_COMPLEX macro without arguments.
14865 (ccosh_test): Likewise.
14866 (ceil_test): Use END macro without arguments.
14867 (cexp_test): Use END_COMPLEX macro without arguments.
14868 (cimag_test): Use END macro without arguments.
14869 (clog_test): Use END_COMPLEX macro without arguments.
14870 (clog10_test): Likewise.
14871 (conj_test): Likewise.
14872 (copysign_test): Use END macro without arguments.
14873 (cos_test): Likewise.
14874 (cos_test_tonearest): Likewise.
14875 (cos_test_towardzero): Likewise.
14876 (cos_test_downward): Likewise.
14877 (cos_test_upward): Likewise.
14878 (cosh_test): Likewise.
14879 (cosh_test_tonearest): Likewise.
14880 (cosh_test_towardzero): Likewise.
14881 (cosh_test_downward): Likewise.
14882 (cosh_test_upward): Likewise.
14883 (cpow_test): Use END_COMPLEX macro without arguments.
14884 (cproj_test): Likewise.
14885 (creal_test): Use END macro without arguments.
14886 (csin_test): Use END_COMPLEX macro without arguments.
14887 (csinh_test): Likewise.
14888 (csqrt_test): Likewise.
14889 (ctan_test): Likewise.
14890 (ctan_test_tonearest): Likewise.
14891 (ctan_test_towardzero): Likewise.
14892 (ctan_test_downward): Likewise.
14893 (ctan_test_upward): Likewise.
14894 (ctanh_test): Likewise.
14895 (ctanh_test_tonearest): Likewise.
14896 (ctanh_test_towardzero): Likewise.
14897 (ctanh_test_downward): Likewise.
14898 (ctanh_test_upward): Likewise.
14899 (erf_test): Use END macro without arguments.
14900 (erfc_test): Likewise.
14901 (exp_test): Likewise.
14902 (exp_test_tonearest): Likewise.
14903 (exp_test_towardzero): Likewise.
14904 (exp_test_downward): Likewise.
14905 (exp_test_upward): Likewise.
14906 (exp10_test): Likewise.
14907 (exp2_test): Likewise.
14908 (expm1_test): Likewise.
14909 (fabs_test): Likewise.
14910 (fdim_test): Likewise.
14911 (finite_test): Likewise.
14912 (floor_test): Likewise.
14913 (fma_test): Likewise.
14914 (fma_test_towardzero): Likewise.
14915 (fma_test_downward): Likewise.
14916 (fma_test_upward): Likewise.
14917 (fmax_test): Likewise.
14918 (fmin_test): Likewise.
14919 (fmod_test): Likewise.
14920 (fpclassify_test): Likewise.
14921 (frexp_test): Likewise.
14922 (gamma_test): Likewise.
14923 (hypot_test): Likewise.
14924 (ilogb_test): Likewise.
14925 (isfinite_test): Likewise.
14926 (isgreater_test): Likewise.
14927 (isgreaterequal_test): Likewise.
14928 (isinf_test): Likewise.
14929 (isless_test): Likewise.
14930 (islessequal_test): Likewise.
14931 (islessgreater_test): Likewise.
14932 (isnan_test): Likewise.
14933 (isnormal_test): Likewise.
14934 (issignaling_test): Likewise.
14935 (isunordered_test): Likewise.
14936 (j0_test): Likewise.
14937 (j1_test): Likewise.
14938 (jn_test): Likewise.
14939 (ldexp_test): Likewise.
14940 (lgamma_test): Likewise.
14941 (lrint_test): Likewise.
14942 (lrint_test_tonearest): Likewise.
14943 (lrint_test_towardzero): Likewise.
14944 (lrint_test_downward): Likewise.
14945 (lrint_test_upward): Likewise.
14946 (llrint_test): Likewise.
14947 (llrint_test_tonearest): Likewise.
14948 (llrint_test_towardzero): Likewise.
14949 (llrint_test_downward): Likewise.
14950 (llrint_test_upward): Likewise.
14951 (log_test): Likewise.
14952 (log10_test): Likewise.
14953 (log1p_test): Likewise.
14954 (log2_test): Likewise.
14955 (logb_test): Likewise.
14956 (logb_test_downward): Likewise.
14957 (lround_test): Likewise.
14958 (llround_test): Likewise.
14959 (modf_test): Likewise.
14960 (nearbyint_test): Likewise.
14961 (nextafter_test): Likewise.
14962 (nexttoward_test): Likewise.
14963 (pow_test): Likewise.
14964 (pow_test_tonearest): Likewise.
14965 (pow_test_towardzero): Likewise.
14966 (pow_test_downward): Likewise.
14967 (pow_test_upward): Likewise.
14968 (remainder_test): Likewise.
14969 (remainder_test_tonearest): Likewise.
14970 (remainder_test_towardzero): Likewise.
14971 (remainder_test_downward): Likewise.
14972 (remainder_test_upward): Likewise.
14973 (remquo_test): Likewise.
14974 (rint_test): Likewise.
14975 (rint_test_tonearest): Likewise.
14976 (rint_test_towardzero): Likewise.
14977 (rint_test_downward): Likewise.
14978 (rint_test_upward): Likewise.
14979 (round_test): Likewise.
14980 (scalb_test): Likewise.
14981 (scalbn_test): Likewise.
14982 (scalbln_test): Likewise.
14983 (signbit_test): Likewise.
14984 (sin_test): Likewise.
14985 (sin_test_tonearest): Likewise.
14986 (sin_test_towardzero): Likewise.
14987 (sin_test_downward): Likewise.
14988 (sin_test_upward): Likewise.
14989 (sincos_test): Likewise.
14990 (sinh_test): Likewise.
14991 (sinh_test_tonearest): Likewise.
14992 (sinh_test_towardzero): Likewise.
14993 (sinh_test_downward): Likewise.
14994 (sinh_test_upward): Likewise.
14995 (sqrt_test): Likewise.
14996 (tan_test): Likewise.
14997 (tan_test_tonearest): Likewise.
14998 (tan_test_towardzero): Likewise.
14999 (tan_test_downward): Likewise.
15000 (tan_test_upward): Likewise.
15001 (tanh_test): Likewise.
15002 (tgamma_test): Likewise.
15003 (trunc_test): Likewise.
15004 (y0_test): Likewise.
15005 (y1_test): Likewise.
15006 (yn_test): Likewise.
15007 (significand_test): Likewise.
15009 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15012 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15014 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15017 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15018 __ppc_mdoio and __ppc_mdoom.
15019 * manual/platform.texi: Document new functions __ppc_yield,
15020 __ppc_mdoio and __ppc_mdoom.
15022 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15024 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15025 (main): Mention "tls" pseudo-hwcap is legacy.
15026 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15028 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15030 * math/gen-libm-test.pl (parse_args): Output only string of
15031 arguments as text for test name, not full call or descriptions of
15032 tests for extra outputs.
15033 (generate_testfile): Do not pass function name to parse_args.
15034 Generate this_func variable from START.
15035 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15037 (struct test_ff_f_data): Likewise.
15038 (test_ff_f_data_nexttoward): Likewise.
15039 (struct test_fi_f_data): Likewise.
15040 (struct test_fl_f_data): Likewise.
15041 (struct test_if_f_data): Likewise.
15042 (struct test_fff_f_data): Likewise.
15043 (struct test_c_f_data): Likewise.
15044 (struct test_f_f1_data): Likewise. Remove field extra_name.
15045 (struct test_fF_f1_data): Likewise.
15046 (struct test_ffI_f1_data): Likewise.
15047 (struct test_c_c_data): Rename test_name field to arg_str.
15048 (struct test_cc_c_data): Likewise.
15049 (struct test_f_i_data): Likewise.
15050 (struct test_ff_i_data): Likewise.
15051 (struct test_f_l_data): Likewise.
15052 (struct test_f_L_data): Likewise.
15053 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15055 (COMMON_TEST_SETUP): New macro.
15056 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15057 (COMMON_TEST_CLEANUP): Likewise.
15058 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15059 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15061 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15062 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15064 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15065 (RUN_TEST_fff_f): Take argument string. Call new setup and
15067 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15068 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15070 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15071 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15073 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15074 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15076 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15077 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15079 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15080 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15082 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15083 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15085 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15086 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15088 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15089 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15091 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15092 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15094 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15095 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15097 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15098 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15100 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15101 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15103 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15104 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15106 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15107 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15109 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15110 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15112 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15114 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15116 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15117 to _sifields.sigfault.
15118 (si_addr_lsb): Define new macro.
15119 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15121 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15123 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15126 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15128 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15130 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15131 loading the domain.
15133 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15135 * math/gen-libm-test.pl (parse_args): Do not include expected
15136 result in test name.
15137 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15138 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15139 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15140 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15141 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15144 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15146 * benchtests/Makefile: Sort function entries.
15148 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15149 tanh, asinh, acosh, atanh.
15150 * benchtests/acos-inputs: New file.
15151 * benchtests/acosh-inputs: New file.
15152 * benchtests/asin-inputs: New file.
15153 * benchtests/asinh-inputs: New file.
15154 * benchtests/atanh-inputs: New file.
15155 * benchtests/cosh-inputs: New file.
15156 * benchtests/log-inputs: New file.
15157 * benchtests/sinh-inputs: New file.
15158 * benchtests/tanh-inputs: New file.
15160 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15163 * posix/tst-getaddrinfo4.c: New test.
15164 * posix/Makefile (tests): Add it.
15166 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15169 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15170 when no services were used.
15171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15172 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15174 2013-05-21 Andreas Schwab <schwab@suse.de>
15177 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15178 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15180 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15181 redundant variable declarations and reallocation of buffer when
15182 parsing as IPv6 address. Always set NSS status when called from
15183 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15184 buffer too small. Correct computation of needed size.
15185 * nss/Makefile (tests): Add test-digits-dots.
15186 * nss/test-digits-dots.c: New test.
15188 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15190 * benchtests/Makefile: Remove instructions for adding
15192 * benchtests/README: New file to explain how to execute and
15193 enhance the benchmark tests.
15195 2013-05-21 Andreas Schwab <schwab@suse.de>
15198 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15199 * setjmp/tst-sigsetjmp.c: New test.
15201 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15203 * sysdeps/x86_64/memset.S (memset): New implementation.
15204 (__bzero): Likewise.
15205 (__memset_tail): New function.
15207 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15209 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15210 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15211 __memcpy_sse2_unaligned ifunc selection.
15212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15213 Add memcpy-sse2-unaligned.S.
15214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15215 Add: __memcpy_sse2_unaligned.
15217 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15220 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15221 math_force_eval before restoring floating-point envrionment.
15222 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15223 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15225 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15227 (__nearbyintl): Use math_force_eval before restoring
15228 floating-point environment.
15229 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15231 * math/gen-libm-test.pl (special_functions): Remove.
15232 (parse_args): Don't handle TEST_extra. Handle functions with no
15234 * math/libm-test.inc (struct test_sincos_data): Replace with
15235 struct test_fFF_11_data.
15236 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15237 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15238 (sincos_test_data): Change element type to struct
15239 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15240 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15241 RUN_TEST_LOOP_sincos.
15242 * math/README.libm-test: Don't mention special handling of
15243 individual functions.
15244 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15245 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15246 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15247 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15248 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15251 * math/gen-libm-test.pl (get_variable): Remove function.
15252 (parse_args): Don't show pointer parameters to call in test
15253 names. Use "extra output N" in test names for extra outputs
15254 rather than naming variables.
15256 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15259 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15260 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15261 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15263 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15265 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15268 * math/gen-libm-test.pl (@tests): Remove variable.
15269 ($count): Likewise.
15270 (new_test): Remove function.
15271 (show_exceptions): New function.
15272 (special_functions): Use show_exceptions instead of new_test.
15273 (parse_args): Likewise.
15274 (generate_testfile): Pass only function name in generated call to
15275 print_max_error or print_complex_max_error.
15276 (get_ulps): Do not handle complex tests specially.
15277 (output_test): Rename to ...
15278 (get_all_ulps_for_test): ... this. Return a string rather than
15279 printing to a file. Require ulps to be present.
15280 (output_ulps): Generate arrays rather than #defines.
15281 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15282 (struct ulp_data): New type.
15283 (BUILD_COMPLEX_ULP): Remove macro.
15284 (compare_ulp_data): New function.
15285 (find_ulps): Likewise.
15286 (find_test_ulps): Likewise.
15287 (find_function_ulps): Likewise.
15288 (find_complex_function_ulps): Likewise.
15289 (print_max_error): Determine allowed ulps using
15290 find_function_ulps.
15291 (print_complex_max_error): Determine allowed ulps using
15292 find_complex_function_ulps.
15293 (check_float_internal): Determine max ulps using find_test_ulps.
15294 (check_float): Do not take max_ulp parameter. Update call to
15295 check_float_internal.
15296 (check_complex): Likewise.
15297 (check_int): Do not take max_ulp parameter.
15298 (check_long): Likewise.
15299 (check_bool): Likewise.
15300 (check_longlong): Likewise.
15301 (struct test_f_f_data): Remove max_ulp field.
15302 (struct test_ff_f_data): Likewise.
15303 (struct test_ff_f_data_nexttoward): Likewise.
15304 (struct test_fi_f_data): Likewise.
15305 (struct test_fl_f_data): Likewise.
15306 (struct test_if_f_data): Likewise.
15307 (struct test_fff_f_data): Likewise.
15308 (struct test_c_f_data): Likewise.
15309 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15310 (struct test_fF_f1_data): Likewise.
15311 (struct test_ffI_f1_data): Likewise.
15312 (struct test_c_c_data): Remove max_ulp field.
15313 (struct test_cc_c_data): Likewise.
15314 (struct test_f_i_data): Likewise.
15315 (struct test_ff_i_data): Likewise.
15316 (struct test_f_l_data): Likewise.
15317 (struct test_f_L_data): Likewise.
15318 (struct test_sincos_data): Likewise.
15319 (RUN_TEST_f_f): Do not handle ulps.
15320 (RUN_TEST_LOOP_f_f): Likewise.
15321 (RUN_TEST_2_f): Likewise.
15322 (RUN_TEST_LOOP_2_f): Likewise.
15323 (RUN_TEST_fff_f): Likewise.
15324 (RUN_TEST_LOOP_fff_f): Likewise.
15325 (RUN_TEST_c_f): Likewise.
15326 (RUN_TEST_LOOP_c_f): Likewise.
15327 (RUN_TEST_f_f1): Likewise.
15328 (RUN_TEST_LOOP_f_f1): Likewise.
15329 (RUN_TEST_fF_f1): Likewise.
15330 (RUN_TEST_LOOP_fF_f1): Likewise.
15331 (RUN_TEST_fI_f1): Likewise.
15332 (RUN_TEST_LOOP_fI_f1): Likewise.
15333 (RUN_TEST_ffI_f1): Likewise.
15334 (RUN_TEST_LOOP_ffI_f1): Likewise.
15335 (RUN_TEST_c_c): Likewise.
15336 (RUN_TEST_LOOP_c_c): Likewise.
15337 (RUN_TEST_cc_c): Likewise.
15338 (RUN_TEST_LOOP_cc_c): Likewise.
15339 (RUN_TEST_f_i): Likewise.
15340 (RUN_TEST_LOOP_f_i): Likewise.
15341 (RUN_TEST_f_i_tg): Likewise.
15342 (RUN_TEST_LOOP_f_i_tg): Likewise.
15343 (RUN_TEST_ff_i_tg): Likewise.
15344 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15345 (RUN_TEST_f_b): Likewise.
15346 (RUN_TEST_LOOP_f_b): Likewise.
15347 (RUN_TEST_f_b_tg): Likewise.
15348 (RUN_TEST_LOOP_f_b_tg): Likewise.
15349 (RUN_TEST_f_l): Likewise.
15350 (RUN_TEST_LOOP_f_l): Likewise.
15351 (RUN_TEST_f_L): Likewise.
15352 (RUN_TEST_LOOP_f_L): Likewise.
15353 (RUN_TEST_sincos): Likewise.
15354 (RUN_TEST_LOOP_sincos): Likewise.
15356 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15360 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15361 main case of finite arguments, set rounding mode to FE_TONEAREST
15362 and discard exceptions.
15363 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15365 (remainder_tonearest_test_data): New variable.
15366 (remainder_test_tonearest): New function.
15367 (remainder_towardzero_test_data): New variable.
15368 (remainder_test_towardzero): New function.
15369 (remainder_downward_test_data): New variable.
15370 (remainder_test_downward): New function.
15371 (remainder_upward_test_data): New variable.
15372 (remainder_test_upward): New function.
15373 (main): Call the new test functions.
15375 * math/libm-test.inc (struct test_f_f1_data): Remove field
15377 (struct test_fF_f1_data): Likewise.
15378 (struct test_ffI_f1_data): Likewise.
15379 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15380 based on value of EXTRA_EXPECTED.
15381 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15382 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15383 EXTRA_VAR based on value of EXTRA_EXPECTED.
15384 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15385 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15386 EXTRA_VAR based on value of EXTRA_EXPECTED.
15387 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15388 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15389 EXTRA_VAR based on value of EXTRA_EXPECTED.
15390 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15391 * math/gen-libm-test.pl (parse_args): Don't output initializers
15392 for extra output values.
15394 * math/libm-test.inc (check_int): Expect result to be exactly
15395 equal to expected value and do not handle ulps.
15396 (check_long): Likewise.
15397 (check_longlong): Likewise.
15399 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15401 (cimag_test_data): Likewise.
15402 (conj_test_data): Likewise.
15403 (copysign_test_data): Likewise.
15404 (cproj_test_data): Likewise.
15405 (creal_test_data): Likewise.
15406 (fabs_test_data): Likewise.
15407 (fdim_test_data): Likewise.
15408 (finite_test_data): Likewise.
15409 (floor_test_data): Likewise.
15410 (fmax_test_data): Likewise.
15411 (fmin_test_data): Likewise.
15412 (fmod_test_data): Likewise.
15413 (fpclassify_test_data): Likewise.
15414 (frexp_test_data): Likewise.
15415 (ilogb_test_data): Likewise.
15416 (isfinite_test_data): Likewise.
15417 (isgreater_test_data): Likewise.
15418 (isgreaterequal_test_data): Likewise.
15419 (isinf_test_data): Likewise.
15420 (isless_test_data): Likewise.
15421 (islessequal_test_data): Likewise.
15422 (islessgreater_test_data): Likewise.
15423 (isnan_test_data): Likewise.
15424 (isnormal_test_data): Likewise.
15425 (issignaling_test_data): Likewise.
15426 (isunordered_test_data): Likewise.
15427 (ldexp_test_data): Likewise.
15428 (lrint_test_data): Likewise.
15429 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15430 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15431 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15432 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15433 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15434 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15436 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15437 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15438 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15439 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15441 (lrint_downward_test_data): Test for "inexact" exceptions.
15442 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15443 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15444 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15446 (lrint_upward_test_data): Test for "inexact" exceptions.
15447 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15449 (llrint_test_data): Test for "inexact" exceptions.
15450 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15451 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15452 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15453 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15454 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15455 (llrint_downward_test_data): Test for "inexact" exceptions.
15456 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15457 (llrint_upward_test_data): Test for "inexact" exceptions.
15458 (logb_test_data): Likewise.
15459 (logb_downward_test_data): Likewise.
15460 (nextafter_test_data): Likewise.
15461 (nexttoward_test_data): Likewise.
15462 (remainder_test_data): Likewise.
15463 (remquo_test_data): Likewise.
15464 (scalbn_test_data): Likewise.
15465 (scalbln_test_data): Likewise.
15466 (signbit_test_data): Likewise.
15467 (sqrt_test_data): Likewise.
15468 (significand_test_data): Likewise.
15470 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15473 * benchtests/bench-modf.c (struct args): Mark arg0 as
15475 * scripts/bench.pl: Mark members of struct args as volatile.
15477 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15480 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15481 negative infinity on POWER6 or lower.
15482 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15484 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15487 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15488 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15489 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15490 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15491 (_FP_SETQNAN): New macro.
15492 (_FP_SETQNAN_SEMIRAW): Likewise.
15493 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15494 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15495 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15496 (FP_EXTEND): Use _FP_FRAC_SNANP.
15497 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15498 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15500 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15502 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15505 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15507 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15508 with DIVIDE_BY_ZERO_EXCEPTION.
15509 (gamma_test_data): Likewise.
15510 (lgamma_test_data): Likewise.
15511 (log_test_data): Likewise.
15512 (log10_test_data): Likewise.
15513 (log2_test_data): Likewise.
15514 (tgamma_test_data): Likewise.
15516 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15517 (acos_test_tonearest): Likewise.
15518 (acos_test_towardzero): Likewise.
15519 (acos_test_downward): Likewise.
15520 (acos_test_upward): Likewise.
15521 (acosh_test): Likewise.
15522 (asin_test): Likewise.
15523 (asin_test_tonearest): Likewise.
15524 (asin_test_towardzero): Likewise.
15525 (asin_test_downward): Likewise.
15526 (asin_test_upward): Likewise.
15527 (asinh_test): Likewise.
15528 (atan_test): Likewise.
15529 (atanh_test): Likewise.
15530 (atan2_test): Likewise.
15531 (cabs_test): Likewise.
15532 (cacos_test): Likewise.
15533 (cacosh_test): Likewise.
15534 (casin_test): Likewise.
15535 (casinh_test): Likewise.
15536 (catan_test): Likewise.
15537 (catanh_test): Likewise.
15538 (cbrt_test): Likewise.
15539 (ccos_test): Likewise.
15540 (ccosh_test): Likewise.
15541 (cexp_test): Likewise.
15542 (clog_test): Likewise.
15543 (clog10_test): Likewise.
15544 (cos_test): Likewise.
15545 (cos_test_tonearest): Likewise.
15546 (cos_test_towardzero): Likewise.
15547 (cos_test_downward): Likewise.
15548 (cos_test_upward): Likewise.
15549 (cosh_test): Likewise.
15550 (cosh_test_tonearest): Likewise.
15551 (cosh_test_towardzero): Likewise.
15552 (cosh_test_downward): Likewise.
15553 (cosh_test_upward): Likewise.
15554 (cpow_test): Likewise.
15555 (csin_test): Likewise.
15556 (csinh_test): Likewise.
15557 (csqrt_test): Likewise.
15558 (ctan_test): Likewise.
15559 (ctan_test_tonearest): Likewise.
15560 (ctan_test_towardzero): Likewise.
15561 (ctan_test_downward): Likewise.
15562 (ctan_test_upward): Likewise.
15563 (ctanh_test): Likewise.
15564 (ctanh_test_tonearest): Likewise.
15565 (ctanh_test_towardzero): Likewise.
15566 (ctanh_test_downward): Likewise.
15567 (ctanh_test_upward): Likewise.
15568 (erf_test): Likewise.
15569 (erfc_test): Likewise.
15570 (exp_test): Likewise.
15571 (exp_test_tonearest): Likewise.
15572 (exp_test_towardzero): Likewise.
15573 (exp_test_downward): Likewise.
15574 (exp_test_upward): Likewise.
15575 (exp10_test): Likewise.
15576 (exp2_test): Likewise.
15577 (expm1_test): Likewise.
15578 (fmod_test): Likewise.
15579 (gamma_test): Likewise.
15580 (hypot_test): Likewise.
15581 (j0_test): Likewise.
15582 (j1_test): Likewise.
15583 (jn_test): Likewise.
15584 (lgamma_test): Likewise.
15585 (log_test): Likewise.
15586 (log10_test): Likewise.
15587 (log1p_test): Likewise.
15588 (log2_test): Likewise.
15589 (logb_test_downward): Likewise.
15590 (pow_test): Likewise.
15591 (pow_test_tonearest): Likewise.
15592 (pow_test_towardzero): Likewise.
15593 (pow_test_downward): Likewise.
15594 (pow_test_upward): Likewise.
15595 (remainder_test): Likewise.
15596 (remquo_test): Likewise.
15597 (sin_test): Likewise.
15598 (sin_test_tonearest): Likewise.
15599 (sin_test_towardzero): Likewise.
15600 (sin_test_downward): Likewise.
15601 (sin_test_upward): Likewise.
15602 (sincos_test): Likewise.
15603 (sinh_test): Likewise.
15604 (sinh_test_tonearest): Likewise.
15605 (sinh_test_towardzero): Likewise.
15606 (sinh_test_downward): Likewise.
15607 (sinh_test_upward): Likewise.
15608 (sqrt_test): Likewise.
15609 (tan_test): Likewise.
15610 (tan_test_tonearest): Likewise.
15611 (tan_test_towardzero): Likewise.
15612 (tan_test_downward): Likewise.
15613 (tan_test_upward): Likewise.
15614 (tanh_test): Likewise.
15615 (tgamma_test): Likewise.
15616 (y0_test): Likewise.
15617 (y1_test): Likewise.
15618 (yn_test): Likewise.
15620 * math/gen-libm-test.pl (adjust_arg): Remove function.
15621 (special_function): Remove argument $in_func. Only handle
15622 generating output for tables of tests, not inside functions.
15623 (parse_args): Likewise.
15624 (generate_testfile): Remove variable $in_func. Update call to
15626 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15627 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15628 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15629 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15630 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15631 (MAX_VALUE_INIT): Rename macro to max_value.
15632 (MIN_VALUE_INIT): Rename macro to min_value.
15633 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15634 (plus_zero): Remove variable.
15635 (minus_zero): Likewise.
15636 (plus_infty): Likewise.
15637 (minus_infty): Likewise.
15638 (qnan_value): Likewise.
15639 (max_value): Likewise.
15640 (min_value): Likewise.
15641 (min_subnorm_value): Likewise.
15643 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15645 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15646 uint64_t or uint32_t usage.
15647 * crypt/sha256-block.c: Likewise.
15648 * crypt/sha256-crypt.c: Likewise.
15649 * crypt/sha256.c: Likewise.
15650 * crypt/sha512-block.c: Likewise.
15651 * crypt/sha512-crypt.c: Likewise.
15652 * crypt/sha512.c: Likewise.
15653 * debug/backtrace-tst.c: Likewise.
15654 * debug/pcprofiledump.c: Likewise.
15655 * elf/cache.c: Likewise.
15656 * elf/dl-cache.c: Likewise.
15657 * elf/dl-misc.c: Likewise.
15658 * elf/dl-profile.c: Likewise.
15659 * elf/dl-support.c: Likewise.
15660 * elf/ldconfig.c: Likewise.
15661 * elf/sprof.c: Likewise.
15662 * iconv/dummy-repertoire.c: Likewise.
15663 * iconv/iconv_charmap.c: Likewise.
15664 * iconv/skeleton.c: Likewise.
15665 * iconvdata/8bit-generic.c: Likewise.
15666 * iconvdata/cp737.h: Likewise.
15667 * iconvdata/cp775.h: Likewise.
15668 * iconvdata/ibm1008.h: Likewise.
15669 * iconvdata/ibm1025.h: Likewise.
15670 * iconvdata/ibm1046.h: Likewise.
15671 * iconvdata/ibm1097.h: Likewise.
15672 * iconvdata/ibm1112.h: Likewise.
15673 * iconvdata/ibm1122.h: Likewise.
15674 * iconvdata/ibm1123.h: Likewise.
15675 * iconvdata/ibm1124.h: Likewise.
15676 * iconvdata/ibm1129.h: Likewise.
15677 * iconvdata/ibm1130.h: Likewise.
15678 * iconvdata/ibm1132.h: Likewise.
15679 * iconvdata/ibm1133.h: Likewise.
15680 * iconvdata/ibm1137.h: Likewise.
15681 * iconvdata/ibm1140.h: Likewise.
15682 * iconvdata/ibm1141.h: Likewise.
15683 * iconvdata/ibm1142.h: Likewise.
15684 * iconvdata/ibm1143.h: Likewise.
15685 * iconvdata/ibm1144.h: Likewise.
15686 * iconvdata/ibm1145.h: Likewise.
15687 * iconvdata/ibm1146.h: Likewise.
15688 * iconvdata/ibm1147.h: Likewise.
15689 * iconvdata/ibm1148.h: Likewise.
15690 * iconvdata/ibm1149.h: Likewise.
15691 * iconvdata/ibm1153.h: Likewise.
15692 * iconvdata/ibm1154.h: Likewise.
15693 * iconvdata/ibm1155.h: Likewise.
15694 * iconvdata/ibm1156.h: Likewise.
15695 * iconvdata/ibm1157.h: Likewise.
15696 * iconvdata/ibm1158.h: Likewise.
15697 * iconvdata/ibm1160.h: Likewise.
15698 * iconvdata/ibm1161.h: Likewise.
15699 * iconvdata/ibm1162.h: Likewise.
15700 * iconvdata/ibm1163.h: Likewise.
15701 * iconvdata/ibm1164.h: Likewise.
15702 * iconvdata/ibm1166.h: Likewise.
15703 * iconvdata/ibm1167.h: Likewise.
15704 * iconvdata/ibm12712.h: Likewise.
15705 * iconvdata/ibm1390.h: Likewise.
15706 * iconvdata/ibm1399.h: Likewise.
15707 * iconvdata/ibm16804.h: Likewise.
15708 * iconvdata/ibm4517.h: Likewise.
15709 * iconvdata/ibm4899.h: Likewise.
15710 * iconvdata/ibm4909.h: Likewise.
15711 * iconvdata/ibm4971.h: Likewise.
15712 * iconvdata/ibm5347.h: Likewise.
15713 * iconvdata/ibm803.h: Likewise.
15714 * iconvdata/ibm856.h: Likewise.
15715 * iconvdata/ibm901.h: Likewise.
15716 * iconvdata/ibm902.h: Likewise.
15717 * iconvdata/ibm9030.h: Likewise.
15718 * iconvdata/ibm9066.h: Likewise.
15719 * iconvdata/ibm921.h: Likewise.
15720 * iconvdata/ibm922.h: Likewise.
15721 * iconvdata/ibm9448.h: Likewise.
15722 * iconvdata/isiri-3342.h: Likewise.
15723 * iconvdata/jis0201.h: Likewise.
15724 * include/link.h: Likewise.
15725 * include/netdb.h: Likewise.
15726 * inet/check_native.c: Likewise.
15727 * inet/check_pf.c: Likewise.
15728 * inet/getipv4sourcefilter.c: Likewise.
15729 * inet/getnameinfo.c: Likewise.
15730 * inet/getsourcefilter.c: Likewise.
15731 * inet/htonl.c: Likewise.
15732 * inet/setipv4sourcefilter.c: Likewise.
15733 * inet/setsourcefilter.c: Likewise.
15734 * inet/test-inet6_opt.c: Likewise.
15735 * inet/tst-network.c: Likewise.
15736 * locale/C-collate.c: Likewise.
15737 * locale/C-ctype.c: Likewise.
15738 * locale/C-time.c: Likewise.
15739 * locale/C-translit.h: Likewise.
15740 * locale/loadarchive.c: Likewise.
15741 * locale/programs/3level.h: Likewise.
15742 * locale/programs/charmap.c: Likewise.
15743 * locale/programs/charmap.h: Likewise.
15744 * locale/programs/ld-address.c: Likewise.
15745 * locale/programs/ld-collate.c: Likewise.
15746 * locale/programs/ld-ctype.c: Likewise.
15747 * locale/programs/ld-identification.c: Likewise.
15748 * locale/programs/ld-measurement.c: Likewise.
15749 * locale/programs/ld-messages.c: Likewise.
15750 * locale/programs/ld-monetary.c: Likewise.
15751 * locale/programs/ld-name.c: Likewise.
15752 * locale/programs/ld-numeric.c: Likewise.
15753 * locale/programs/ld-paper.c: Likewise.
15754 * locale/programs/ld-telephone.c: Likewise.
15755 * locale/programs/ld-time.c: Likewise.
15756 * locale/programs/linereader.c: Likewise.
15757 * locale/programs/locale.c: Likewise.
15758 * locale/programs/locarchive.c: Likewise.
15759 * locale/programs/locfile.h: Likewise.
15760 * locale/programs/repertoire.c: Likewise.
15761 * locale/programs/simple-hash.c: Likewise.
15762 * locale/programs/simple-hash.h: Likewise.
15763 * malloc/memusage.c: Likewise.
15764 * malloc/memusagestat.c: Likewise.
15765 * nis/nis_defaults.c: Likewise.
15766 * nis/nis_hash.c: Likewise.
15767 * nis/nis_print.c: Likewise.
15768 * nis/nis_xdr.c: Likewise.
15769 * nscd/connections.c: Likewise.
15770 * nscd/hstcache.c: Likewise.
15771 * nscd/nscd_gethst_r.c: Likewise.
15772 * nscd/nscd_getserv_r.c: Likewise.
15773 * nscd/nscd_helper.c: Likewise.
15774 * nscd/servicescache.c: Likewise.
15775 * nss/makedb.c: Likewise.
15776 * nss/nss_db/db-XXX.c: Likewise.
15777 * nss/nss_db/db-initgroups.c: Likewise.
15778 * nss/nss_db/db-netgrp.c: Likewise.
15779 * nss/nss_files/files-network.c: Likewise.
15780 * nss/nss_files/files-parse.c: Likewise.
15781 * posix/bug-regex5.c: Likewise.
15782 * posix/fnmatch_loop.c: Likewise.
15783 * posix/regcomp.c: Likewise.
15784 * posix/regexec.c: Likewise.
15785 * posix/tst-rfc3484-2.c: Likewise.
15786 * posix/tst-rfc3484-3.c: Likewise.
15787 * posix/tst-rfc3484.c: Likewise.
15788 * resolv/nss_dns/dns-canon.c: Likewise.
15789 * resolv/nss_dns/dns-network.c: Likewise.
15790 * resolv/res_init.c: Likewise.
15791 * resolv/res_mkquery.c: Likewise.
15792 * resolv/tst-aton.c: Likewise.
15793 * stdlib/cxa_atexit.c: Likewise.
15794 * stdlib/cxa_finalize.c: Likewise.
15795 * stdlib/gen-fpioconst.c: Likewise.
15796 * stdlib/strtol_l.c: Likewise.
15797 * string/tst-endian.c: Likewise.
15798 * sunrpc/auth_des.c: Likewise.
15799 * sunrpc/clnt_udp.c: Likewise.
15800 * sunrpc/rtime.c: Likewise.
15801 * sunrpc/svcauth_des.c: Likewise.
15802 * sunrpc/xdr.c: Likewise.
15803 * sunrpc/xdr_intXX_t.c: Likewise.
15804 * sunrpc/xdr_rec.c: Likewise.
15805 * sysdeps/generic/ldconfig.h: Likewise.
15806 * sysdeps/generic/ldsodefs.h: Likewise.
15807 * sysdeps/generic/memusage.h: Likewise.
15808 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15809 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15810 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15811 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15812 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15814 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15815 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15816 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15817 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15818 * sysdeps/posix/getaddrinfo.c: Likewise.
15819 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15820 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15821 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15822 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15823 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15824 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15825 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15826 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15827 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15828 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15829 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15830 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15831 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15832 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15833 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15834 * sysdeps/x86_64/dl-tls.h: Likewise.
15835 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15836 * time/alt_digit.c: Likewise.
15837 * time/era.c: Likewise.
15838 * wcsmbs/tst-c16c32-1.c: Likewise.
15840 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15842 * math/libm-test.inc (struct test_sincos_data): New type.
15843 (RUN_TEST_LOOP_sincos): New macro.
15844 (sincos_test_data): New variable.
15845 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15847 2013-05-16 Richard Henderson <rth@redhat.com>
15849 * math/atest-exp2.c (LIMB64): New macro.
15850 (CONSTSZ): New macro.
15851 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15853 (print_mpn_fp): ... to function scope.
15854 (read_mpn_hex): Remove.
15855 (get_log2): Remove.
15856 (exp2_mpn): Use mp_log2.
15857 (main): Use mp_exp1.
15859 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15861 * math/libm-test.inc: Remove comment about not testing "inexact"
15863 (INEXACT_EXCEPTION): New macro.
15864 (NO_INEXACT_EXCEPTION): Likewise.
15865 (INVALID_EXCEPTION_OK): Update value.
15866 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15867 (OVERFLOW_EXCEPTION_OK): Likewise.
15868 (UNDERFLOW_EXCEPTION_OK): Likewise.
15869 (IGNORE_ZERO_INF_SIGN): Likewise.
15870 (ERRNO_UNCHANGED): Likewise.
15871 (ERRNO_EDOM): Likewise.
15872 (ERRNO_ERANGE): Likewise.
15873 (test_exceptions): Handle testing "inexact" exceptions.
15874 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15875 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15876 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15877 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15879 (rint_towardzero_test_data): Likewise.
15880 (rint_downward_test_data): Likewise.
15881 (rint_upward_test_data): Likewise.
15883 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15884 with OVERFLOW_EXCEPTION.
15885 (exp10_test_data): Likewise.
15886 (exp2_test_data): Likewise.
15887 (expm1_test_data): Likewise.
15888 (lgamma_test_data): Likewise.
15889 (pow_test_data): Likewise.
15890 (tgamma_test_data): Likewise.
15891 (yn_test_data): Remove duplicate test of overflow.
15893 * math/libm-test.inc (struct test_cc_c_data): New type.
15894 (RUN_TEST_LOOP_cc_c): New macro.
15895 (cpow_test_data): New variable.
15896 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15898 * math/libm-test.inc (struct test_f_L_data): New type.
15899 (RUN_TEST_LOOP_f_L): New macro.
15900 (llrint_test_data): New variable.
15901 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15902 (llrint_tonearest_test_data): New variable.
15903 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15904 (llrint_towardzero_test_data): New variable.
15905 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15906 (llrint_downward_test_data): New variable.
15907 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15908 (llrint_upward_test_data): New variable.
15909 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15910 (llround_test_data): New variable.
15911 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15913 2013-05-13 Peter Collingbourne <pcc@google.com>
15915 * math/atest-exp2.c (get_log2): Remove const attribute.
15917 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15919 * math/libm-test.inc (struct test_f_l_data): New type.
15920 (RUN_TEST_LOOP_f_l): New macro.
15921 (lrint_test_data): New variable.
15922 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15923 (lrint_tonearest_test_data): New variable.
15924 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15925 (lrint_towardzero_test_data): New variable.
15926 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15927 (lrint_downward_test_data): New variable.
15928 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15929 (lrint_upward_test_data): New variable.
15930 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15931 (lround_test_data): New variable.
15932 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15934 2013-05-15 Peter Collingbourne <pcc@google.com>
15936 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15937 (EXTRACT_WORDS64) Use where appropriate.
15938 (INSERT_WORDS64) Likewise.
15940 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15941 constraints with x constraints.
15942 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15944 * malloc/obstack.c (_obstack_compat): Add initializer.
15946 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15948 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15949 si_trapno and add si_addr_lsb to _sifields.sigfault.
15950 (si_trapno): Remove macro.
15951 (si_addr_lsb): Define new macro.
15952 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15954 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15956 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15957 instead of TEST_f_l.
15958 (llrint_test_tonearest): Likewise.
15959 (llrint_test_towardzero): Likewise.
15960 (llrint_test_downward): Likewise.
15961 (llrint_test_upward): Likewise.
15962 (llround_test): Likewise.
15964 * math/libm-test.inc (struct test_f_i_data): Add comment.
15965 (RUN_TEST_LOOP_f_b): New macro.
15966 (RUN_TEST_LOOP_f_b_tg): Likewise.
15967 (finite_test_data): New variable.
15968 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15969 (isfinite_test_data): New variable.
15970 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15971 (isinf_test_data): New variable.
15972 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15973 (isnan_test_data): New variable.
15974 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15975 (isnormal_test_data): New variable.
15976 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15977 (issignaling_test_data): New variable.
15978 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15979 (signbit_test_data): New variable.
15980 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15982 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15983 with INVALID_EXCEPTION.
15984 (acosh_test_data): Likewise.
15985 (asin_test_data): Likewise.
15986 (atanh_test_data): Likewise.
15987 (fmod_test_data): Likewise.
15988 (log_test_data): Likewise.
15989 (log10_test_data): Likewise.
15990 (log2_test_data): Likewise.
15991 (pow_test_data): Likewise.
15992 (sqrt_test_data): Likewise.
15993 (y0_test_data): Likewise.
15994 (y1_test_data): Likewise.
15995 (yn_test_data): Likewise.
15997 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16000 * math/libm-test.inc (struct test_ff_i_data): New type.
16001 (RUN_TEST_LOOP_ff_i_tg): New macro.
16002 (isgreater_test_data): New variable.
16003 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16004 (isgreaterequal_test_data): New variable.
16005 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16006 (isless_test_data): New variable.
16007 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16008 (islessequal_test_data): New variable.
16009 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16010 (islessgreater_test_data): New variable.
16011 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16012 (isunordered_test_data): New variable.
16013 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16015 2013-05-14 David S. Miller <davem@davemloft.net>
16017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16019 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16021 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16023 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16025 (struct test_f_i_data): Change type of max_ulp to int.
16027 * math/libm-test.inc (test_ffI_f1_data): New type.
16028 (RUN_TEST_LOOP_ffI_f1): New macro.
16029 (remquo_test_data): New variable.
16030 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16032 * setjmp/tst-setjmp-fp.c: New file.
16033 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16034 (link-libm): New variable.
16035 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16037 * math/libm-test.inc (struct test_f_i_data): New type.
16038 (RUN_TEST_LOOP_f_i): New macro.
16039 (RUN_TEST_LOOP_f_i_tg): Likewise.
16040 (fpclassify_test_data): New variable.
16041 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16042 (ilogb_test_data): New variable.
16043 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16045 * math/libm-test.inc (scalbln_test): Correct function name in END
16048 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16049 (RUN_TEST_LOOP_fI_f1): New macro.
16050 (frexp_test_data): New variable.
16051 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16053 * math/libm-test.inc (struct test_fF_f1_data): New type.
16054 (RUN_TEST_LOOP_fF_f1): New macro.
16055 (modf_test_data): New variable.
16056 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16058 * math/libm-test.inc (struct test_f_f1_data): New type.
16059 (RUN_TEST_LOOP_f_f1): New macro.
16060 (gamma_test_data): New variable.
16061 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16062 (lgamma_test_data): New variable.
16063 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16065 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16067 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16068 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16069 (main): Comment "tls" pseudo-hwcap.
16071 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16073 * math/libm-test.inc (struct test_fl_f_data): New type.
16074 (RUN_TEST_LOOP_fl_f): New variable.
16075 (scalbln_test_data): New variable.
16076 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16078 * math/libm-test.inc (struct test_fi_f_data): New type.
16079 (RUN_TEST_LOOP_fi_f): New macro.
16080 (ldexp_test_data): New variable.
16081 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16082 (scalbn_test_data): New variable.
16083 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16085 * math/libm-test.inc (struct test_c_f_data): New type.
16086 (RUN_TEST_LOOP_c_f): New macro.
16087 (cabs_test_data): New variable.
16088 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16089 (carg_test_data): New variable.
16090 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16091 (cimag_test_data): New variable.
16092 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16093 (creal_test_data): New variable.
16094 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16096 * math/libm-test.inc (struct test_if_f_data): New type.
16097 (RUN_TEST_LOOP_if_f): New macro.
16098 (jn_test_data): New variable.
16099 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16100 (yn_test_data): New variable.
16101 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16103 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16105 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16107 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16108 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16110 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16112 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16113 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16114 (bench-deps): Add bench-timing.h.
16115 * benchtests-bench-skeleton.c: Include bench-timing.h.
16116 (main): Use TIMING_* macros instead of clock_gettime.
16117 * benchtests/bench-timing.h: New file.
16120 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16121 Renamed from _LIB_VERSION.
16122 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16124 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16126 * math/libm-test.inc (struct test_fff_f_data): New type.
16127 (RUN_TEST_LOOP_fff_f): New macro.
16128 (fma_test_data): New variable.
16129 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16130 (fma_towardzero_test_data): New variable.
16131 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16132 (fma_downward_test_data): New variable.
16133 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16134 (fma_upward_test_data): New variable.
16135 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16137 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16138 (struct test_c_c_data): New type.
16139 (RUN_TEST_LOOP_c_c): New macro.
16140 (cacos_test_data): New variable.
16141 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16142 (cacosh_test_data): New variable.
16143 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16144 (casin_test_data): New variable.
16145 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16146 (casinh_test_data): New variable.
16147 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16148 (catan_test_data): New variable.
16149 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16150 (catanh_test_data): New variable.
16151 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16152 (ccos_test_data): New variable.
16153 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16154 (ccosh_test_data): New variable.
16155 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16156 (cexp_test_data): New variable.
16157 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16158 (clog_test_data): New variable.
16159 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16160 (clog10_test_data): New variable.
16161 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16162 (conj_test_data): New variable.
16163 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16164 (cproj_test_data): New variable.
16165 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16166 (csin_test_data): New variable.
16167 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16168 (csinh_test_data): New variable.
16169 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16170 (csqrt_test_data): New variable.
16171 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16172 (ctan_test_data): New variable.
16173 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16174 (ctan_tonearest_test_data): New variable.
16175 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16176 (ctan_towardzero_test_data): New variable.
16177 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16178 (ctan_downward_test_data): New variable.
16179 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16180 (ctan_upward_test_data): New variable.
16181 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16182 (ctanh_test_data): New variable.
16183 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16184 (ctanh_tonearest_test_data): New variable.
16185 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16186 (ctanh_towardzero_test_data): New variable.
16187 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16188 (ctanh_downward_test_data): New variable.
16189 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16190 (ctanh_upward_test_data): New variable.
16191 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16192 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16195 * math/libm-test.inc (struct test_ff_f_data): New type.
16196 (struct test_ff_f_data_nexttoward): Likewise.
16197 (RUN_TEST_LOOP_2_f): New macro.
16198 (RUN_TEST_LOOP_ff_f): Likewise.
16199 (atan2_test_data): New variable.
16200 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16201 (copysign_test_data): New variable.
16202 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16203 (fdim_test_data): New variable.
16204 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16205 (fmax_test_data): New variable.
16206 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16207 (fmin_test_data): New variable.
16208 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16209 (fmod_test_data): New variable.
16210 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16211 (hypot_test_data): New variable.
16212 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16213 (nextafter_test_data): New variable.
16214 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16215 (nexttoward_test_data): New variable.
16216 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16217 (pow_test_data): New variable.
16218 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16219 (pow_tonearest_test_data): New variable.
16220 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16221 (pow_towardzero_test_data): New variable.
16222 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16223 (pow_downward_test_data): New variable.
16224 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16225 (pow_upward_test_data): New variable.
16226 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16227 (remainder_test_data): New variable.
16228 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16229 (scalb_test_data): New variable.
16230 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16231 * sysdeps/i386/fpu/libm-test-ulps: Update.
16233 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16235 * math/libm-test.inc (fma_test): Use max_value instead of local
16237 (nextafter_test): Likewise.
16239 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16240 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16241 (acos_downward_test_data): New variable.
16242 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16243 (acos_upward_test_data): New variable.
16244 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16245 (acosh_test_data): New variable.
16246 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16247 (asin_test_data): New variable.
16248 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16249 (asin_tonearest_test_data): New variable.
16250 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16251 (asin_towardzero_test_data): New variable.
16252 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16253 (asin_downward_test_data): New variable.
16254 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16255 (asin_upward_test_data): New variable.
16256 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16257 (asinh_test_data): New variable.
16258 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16259 (atan_test_data): New variable.
16260 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16261 (atanh_test_data): New variable.
16262 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16263 (cbrt_test_data): New variable.
16264 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16265 (ceil_test_data): New variable.
16266 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16267 (cos_test_data): New variable.
16268 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16269 (cos_tonearest_test_data): New variable.
16270 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16271 (cos_towardzero_test_data): New variable.
16272 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16273 (cos_downward_test_data): New variable.
16274 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16275 (cos_upward_test_data): New variable.
16276 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16277 (cosh_test_data): New variable.
16278 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16279 (cosh_tonearest_test_data): New variable.
16280 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16281 (cosh_towardzero_test_data): New variable.
16282 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16283 (cosh_downward_test_data): New variable.
16284 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16285 (cosh_upward_test_data): New variable.
16286 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16287 (erf_test_data): New variable.
16288 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16289 (erfc_test_data): New variable.
16290 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16291 (exp_test_data): New variable.
16292 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16293 (exp_tonearest_test_data): New variable.
16294 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16295 (exp_towardzero_test_data): New variable.
16296 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16297 (exp_downward_test_data): New variable.
16298 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16299 (exp_upward_test_data): New variable.
16300 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16301 (exp10_test_data): New variable.
16302 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16303 (exp2_test_data): New variable.
16304 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16305 (expm1_test_data): New variable.
16306 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16307 (fabs_test_data): New variable.
16308 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16309 (floor_test_data): New variable.
16310 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16311 (j0_test_data): New variable.
16312 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16313 (j1_test_data): New variable.
16314 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16315 (log_test_data): New variable.
16316 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16317 (log10_test_data): New variable.
16318 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16319 (log1p_test_data): New variable.
16320 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16321 (log2_test_data): New variable.
16322 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16323 (logb_test_data): New variable.
16324 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16325 (logb_downward_test_data): New variable.
16326 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16327 (nearbyint_test_data): New variable.
16328 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16329 (rint_test_data): New variable.
16330 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16331 (rint_tonearest_test_data): New variable.
16332 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16333 (rint_towardzero_test_data): New variable.
16334 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16335 (rint_downward_test_data): New variable.
16336 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16337 (rint_upward_test_data): New variable.
16338 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16339 (round_test_data): New variable.
16340 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16341 (sin_test_data): New variable.
16342 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16343 (sin_tonearest_test_data): New variable.
16344 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16345 (sin_towardzero_test_data): New variable.
16346 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16347 (sin_downward_test_data): New variable.
16348 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16349 (sin_upward_test_data): New variable.
16350 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16351 (sinh_test_data): New variable.
16352 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16353 (sinh_tonearest_test_data): New variable.
16354 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16355 (sinh_towardzero_test_data): New variable.
16356 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16357 (sinh_downward_test_data): New variable.
16358 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16359 (sinh_upward_test_data): New variable.
16360 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16361 (sqrt_test_data): New variable.
16362 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16363 (tan_test_data): New variable.
16364 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16365 (tan_tonearest_test_data): New variable.
16366 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16367 (tan_towardzero_test_data): New variable.
16368 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16369 (tan_downward_test_data): New variable.
16370 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16371 (tan_upward_test_data): New variable.
16372 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16373 (tanh_test_data): New variable.
16374 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16375 (tgamma_test_data): New variable.
16376 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16377 (trunc_test_data): New variable.
16378 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16379 (y0_test_data): New variable.
16380 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16381 (y1_test_data): New variable.
16382 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16383 (significand_test_data): New variable.
16384 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16386 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16389 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16391 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16393 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16395 2013-05-10 Andreas Jaeger <aj@suse.de>
16398 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16399 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16401 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16403 * math/gen-libm-test.pl (adjust_arg): New function.
16404 (special_functions): Handle generating output in both functions
16406 (parse_args): Likewise.
16407 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16408 $in_func argument to parse_args.
16409 * math/libm-test.inc (struct test_f_f_data): New type.
16410 (IF_ROUND_INIT_): New macro.
16411 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16412 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16413 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16414 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16415 (ROUND_RESTORE_): Likewise.
16416 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16417 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16418 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16419 (ROUND_RESTORE_FE_UPWARD): Likewise.
16420 (RUN_TEST_LOOP_f_f): New macro.
16421 (acos_test_data): New variable.
16422 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16423 (acos_tonearest_test_data): New variable.
16424 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16426 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16428 * benchtests/bench-skeleton.c (startup): Fix coding style.
16430 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16433 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16434 negative infinity argument.
16435 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16436 negative infinity argument.
16437 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16438 negative infinity argument.
16439 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16442 2013-05-10 Florian Weimer <fweimer@redhat.com>
16444 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16445 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16446 * iconv/iconv_prog.c (main): Likewise.
16447 * locale/programs/charmap-dir.c (charmap_readdir)
16448 (fopen_uncompressed): Likewise.
16449 * locale/programs/locfile.c (siblings_uncached)
16450 (write_locale_data): Use lstat64 instead of lstat.
16451 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16454 2013-05-10 Andreas Jaeger <aj@suse.de>
16457 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16459 Include <locale.h>.
16461 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16463 * elf/dl-close.c (_dl_close_worker): Add comments.
16465 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16470 (__ieee754_rem_pio2l): Update comments.
16473 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16475 (__ieee754_rem_pio2l): Update comments.
16477 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16478 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16480 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16483 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16484 (M_PI_34_LOG10El): Likewise.
16485 (M_PI2_LOG10El): Likewise.
16486 (M_PI4_LOG10El): Likewise.
16487 (M_PI_LOG10El): Likewise.
16489 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16493 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16495 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16496 (MINUS_ZERO_INIT): Likewise.
16497 (PLUS_INFTY_INIT): Likewise.
16498 (MINUS_INFTY_INIT): Likewise.
16499 (QNAN_VALUE_INIT): Likewise.
16500 (MAX_VALUE_INIT): Likewise.
16501 (MIN_VALUE_INIT): Likewise.
16502 (MIN_SUBNORM_VALUE_INIT): Likewise.
16503 (plus_zero): Initialize with PLUS_ZERO_INIT.
16504 (minus_zero): Initialize with MINUS_ZERO_INIT.
16505 (plus_infty): Initialize with PLUS_INFTY_INIT.
16506 (minus_infty): Initialize with MINUS_INFTY_INIT.
16507 (qnan_value): Initialize with QNAN_VALUE_INIT.
16508 (max_value): Initialize with MAX_VALUE_INIT.
16509 (min_value): Initialize with MIN_VALUE_INIT.
16510 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16512 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16513 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16514 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16515 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16517 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16518 (RUN_TEST_2_f): Likewise.
16519 (RUN_TEST_ff_f): Likewise.
16520 (RUN_TEST_fi_f): Likewise.
16521 (RUN_TEST_fl_f): Likewise.
16522 (RUN_TEST_fff_f): Likewise.
16523 (RUN_TEST_c_f): Likewise.
16524 (RUN_TEST_f_f1): Likewise.
16525 (RUN_TEST_fF_f1): Likewise.
16526 (RUN_TEST_fI_f1): Likewise.
16527 (RUN_TEST_ffI_f1): Likewise.
16528 (RUN_TEST_c_c): Likewise.
16529 (RUN_TEST_cc_c): Likewise.
16530 (RUN_TEST_f_i): Likewise.
16531 (RUN_TEST_f_i_tg): Likewise.
16532 (RUN_TEST_ff_i_tg): Likewise.
16533 (RUN_TEST_f_b): Likewise.
16534 (RUN_TEST_f_b_tg): Likewise.
16535 (RUN_TEST_f_l): Likewise.
16536 (RUN_TEST_f_L): Likewise.
16537 (RUN_TEST_sincos): Likewise.
16538 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16539 whether to show exceptions. Do not include ");\n" in return
16541 (special_functions): Output call to RUN_TEST_sincos instead of
16542 check_float calls. Update calls to new_test.
16543 (parse_args): Output call to single RUN_TEST_* macro instead of
16544 check_* calls and other assignments. Update calls to new_test.
16550 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16551 input to result for tgamma overflow.
16552 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16553 (gamma_coeff): New variable.
16554 (NCOEFF): New macro.
16555 (gamma_positive): New function.
16556 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16557 underflow here. Use gamma_positive instead of exp (lgamma) for
16559 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16560 (gamma_coeff): New variable.
16561 (NCOEFF): New macro.
16562 (gammaf_positive): New function.
16563 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16564 underflow here. Use gamma_positive instead of exp (lgamma) for
16566 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16567 (gamma_coeff): New variable.
16568 (NCOEFF): New macro.
16569 (gammal_positive): New function.
16570 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16571 underflow here. Use gamma_positive instead of exp (lgamma) for
16573 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16574 (gamma_coeff): New variable.
16575 (NCOEFF): New macro.
16576 (gammal_positive): New function.
16577 (__ieee754_gammal_r): Handle positive infinity, overflow and
16578 underflow here. Handle NaN the same as positive infinity. Remove
16579 check x < 0xffffffff for negative integers. Use gamma_positive
16580 instead of exp (lgamma) for other arguments.
16581 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16582 (gamma_coeff): New variable.
16583 (NCOEFF): New macro.
16584 (gammal_positive): New function.
16585 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16586 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16587 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16588 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16589 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16590 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16591 * sysdeps/generic/math_private.h (__gamma_productf): New
16593 (__gamma_product): Likewise.
16594 (__gamma_productl): Likewise.
16595 * math/Makefile (libm-calls): Add gamma_product.
16596 * math/libm-test.inc (tgamma_test): Add more tests.
16597 * sysdeps/i386/fpu/libm-test-ulps: Update.
16598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16600 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16602 * benchtests/bench-skeleton.c (main): Preheat CPU.
16604 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16606 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16608 2013-05-07 Roland McGrath <roland@hack.frob.com>
16610 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16611 and _dl_skip_args_internal.
16613 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16615 * manual/message.texi (Message Translation): Talk about users.
16616 Message to key mapping impacts design.
16618 2013-05-06 Roland McGrath <roland@hack.frob.com>
16620 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16622 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16624 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16625 * sysdeps/wordsize-64/glob64.c: ... here.
16627 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16628 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16631 * debug/getlogin_r_chk.c: Moved to ...
16632 * login/getlogin_r_chk.c: ... here.
16633 * debug/Makefile (routines): Move getlogin_r_chk to ...
16634 * login/Makefile (routines): ... here.
16635 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16636 * login/Versions (libc: GLIBC_2.4): ... here.
16638 * io/poll.c (__poll): Renamed from poll.
16639 Add libc_hidden_def.
16640 (poll): Define as weak alias.
16642 * debug/ptsname_r_chk.c: Moved to ...
16643 * login/ptsname_r_chk.c: ... here.
16644 * debug/Makefile (routines): Move ptsname_r_chk to ...
16645 * login/Makefile (routines): ... here.
16646 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16647 * login/Versions (libc: GLIBC_2.4): ... here.
16649 * posix/getlogin.c: Moved to ...
16650 * login/getlogin.c: ... here.
16651 * posix/getlogin_r.c: Moved to ...
16652 * login/getlogin_r.c: ... here.
16653 * posix/getlogin_r.c: Moved to ...
16654 * login/getlogin_r.c: ... here.
16655 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16656 * login/Makefile (routines): ... here.
16657 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16658 * login/Versions (libc: GLIBC_2.0): ... here.
16660 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16661 (setrlimit): Define as weak alias.
16663 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16664 Call __ names for open, ftruncate, and close.
16665 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16666 (truncate): Define as weak alias.
16668 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16670 * math/gen-libm-test.pl (parse_args): Initialize x before each
16671 test of frexp, modf and remquo.
16673 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16674 test signgam value.
16676 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16680 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16682 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16684 2013-05-06 Roland McGrath <roland@hack.frob.com>
16686 * elf/dl-writev.h: New file.
16687 * elf/dl-misc.c: Include it.
16688 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16689 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16691 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16693 * math/libm-test.inc (noXFails): Remove variable.
16694 (noXPasses): Likewise.
16695 (BUILD_COMPLEX_INT): Remove macro.
16696 (print_screen): Remove xfail argument.
16697 (print_screen_max_error): Likewise.
16698 (update_stats): Likewise.
16699 (print_max_error): Likewise. Update calls to other affected
16701 (print_complex_max_error): Likewise.
16702 (test_single_exception): Update calls to print_screen.
16703 (test_single_errno): Likewise.
16704 (check_float_internal): Remove xfail argument. Update calls to
16705 other affected functions.
16706 (check_float): Likewise.
16707 (check_complex): Likewise.
16708 (check_int): Likewise.
16709 (check_long): Likewise.
16710 (check_bool): Likewise.
16711 (check_longlong): Likewise.
16712 (main): Don't print noXFails and noXPasses.
16713 * math/gen-libm-test.pl (top level): Don't mention expected
16714 failure handling in comment.
16715 (new_test): Don't handle expected failures.
16716 (parse_args): Don't mention expected failure handling in comment.
16717 (generate_testfile): Don't handle expected failures.
16718 (parse_ulps): Likewise.
16719 (print_ulps_file): Likewise.
16720 (get_failure): Remove function.
16721 (output_test): Don't handle expected failures.
16722 * make/README.libm-test: Don't mention expected failure handling.
16724 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16725 (minus_zero): Likewise.
16726 (plus_infty): Likewise.
16727 (minus_infty): Likewise.
16728 (qnan_value): Likewise.
16729 (max_value): Likewise.
16730 (min_value): Likewise.
16731 (min_subnorm_value): Likewise.
16732 (initialize): Do not initialize those variables dynamically.
16734 2013-05-03 Roland McGrath <roland@hack.frob.com>
16736 * io/open.c (__open_2): Moved to ...
16737 * io/open_2.c: ... this new file.
16738 * io/open64.c (__open64_2): Moved to ...
16739 * io/open64_2.c: ... this new file.
16740 * io/openat.c (__openat_2): Moved to ...
16741 * io/openat_2.c: ... this new file.
16742 * io/openat64.c (__openat64_2): Moved to ...
16743 * io/openat64_2.c: ... this new file.
16744 * io/Makefile (routines): Add them.
16745 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16746 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16747 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16748 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16749 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16750 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16751 (__openat64): Add hidden_ver.
16752 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16753 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16755 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16756 Separately conditionalize setting of GLRO(dl_sysinfo) so
16757 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16758 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16760 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16762 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16763 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16765 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16766 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16767 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16768 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16769 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16771 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16773 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16774 test signgam value.
16776 * math/libm-test.inc (hypot_test): Do not use
16777 IGNORE_ZERO_INF_SIGN.
16779 2013-05-03 Andreas Jaeger <aj@suse.de>
16781 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16783 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16784 (PF_MAX): Adjust for VSOCK change.
16786 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16790 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16793 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16794 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16795 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16797 2013-05-02 David S. Miller <davem@davemloft.net>
16799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16801 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16803 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16805 2013-05-01 Roland McGrath <roland@hack.frob.com>
16807 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16809 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16812 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16813 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16814 Use __attribute__ ((__gnu_inline__)).
16815 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16816 Don't use __attribute__ ((__gnu_inline__)).
16818 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16821 * math/s_catan.c (__catan): Handle small real or imaginary part of
16822 input specially to avoid spurious underflow.
16823 * math/s_catanf.c (__catanf): Likewise.
16824 * math/s_catanh.c (__catanh): Likewise.
16825 * math/s_catanhf.c (__catanhf): Likewise.
16826 * math/s_catanhl.c (__catanhl): Likewise.
16827 * math/s_catanl.c (__catanl): Likewise.
16828 * math/libm-test.inc (catan_test): Add more tests.
16829 (catanh_test): Likewise.
16830 * sysdeps/i386/fpu/libm-test-ulps: Update.
16831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16833 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16837 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16840 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16841 accurately for denominator in atan2.
16842 * math/s_catanf.c (__catanf): Likewise.
16843 * math/s_catanh.c (__catanh): Likewise.
16844 * math/s_catanhf.c (__catanhf): Likewise.
16845 * math/s_catanhl.c (__catanhl): Likewise.
16846 * math/s_catanl.c (__catanl): Likewise.
16847 * math/libm-test.inc (catan_test): Add more tests.
16848 (catanh_test): Likewise.
16849 * sysdeps/i386/fpu/libm-test-ulps: Update.
16850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16852 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16854 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16856 * benchtests/Makefile (bench): Remove slow benchmarks.
16857 * benchtests/atan-inputs: Add slow benchmark inputs.
16858 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16859 (BENCH_FUNC): Accept variant offset.
16861 * benchtests/bench-skeleton.c (main): Run benchmark for each
16863 * benchtests/cos-inputs: Add slow benchmark inputs.
16864 * benchtests/exp-inputs: Likewise.
16865 * benchtests/pow-inputs: Likewise.
16866 * benchtests/sin-inputs: Likewise.
16867 * benchtests/slowatan-inputs: Remove.
16868 * benchtests/slowatan.c: Remove.
16869 * benchtests/slowcos-inputs: Remove.
16870 * benchtests/slowcos.c: Remove.
16871 * benchtests/slowexp-inputs: Remove.
16872 * benchtests/slowexp.c: Remove.
16873 * benchtests/slowpow-inputs: Remove.
16874 * benchtests/slowpow.c: Remove.
16875 * benchtests/slowsin-inputs: Remove.
16876 * benchtests/slowsin.c: Remove.
16877 * benchtests/slowtan-inputs: Remove.
16878 * benchtests/slowtan.c: Remove.
16879 * benchtests/tan-inputs: Add slow benchmark inputs.
16880 * scripts/bench.pl: Parse comments and directives.
16882 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16884 ($(objpfx)bench-%.c): Remove *-ITER.
16885 * benchtests/bench-modf.c: Remove definition of ITER.
16886 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16887 (main): Loop for DURATION seconds instead of fixed number of
16889 * scripts/bench.pl: Don't expect iterations in parameters.
16891 2013-04-29 Roland McGrath <roland@hack.frob.com>
16893 * io/fchdir.c (__fchdir): Renamed from fchdir.
16894 (fchdir): Define as weak alias.
16896 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16898 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16899 (ERRNO_EDOM): Likewise.
16900 (ERRNO_ERANGE): Likewise.
16901 (noErrnoTests): New variable.
16902 (init_max_error): Set errno to 0.
16903 (test_single_errno): New function.
16904 (test_errno): Likewise.
16905 (check_float_internal): Call test_errno. Set errno to 0.
16906 (check_complex): Refer to errno tests in comment.
16907 (check_int): Call test_errno. Set errno to 0.
16908 (check_long): Likewise.
16909 (check_bool): Likewise.
16910 (check_longlong): Likewise.
16911 (cos_test): Use ERRNO_* flags for errno tests instead of
16913 (expm1_test): Likewise.
16914 (fmod_test): Likewise.
16915 (ilogb_test): Likewise.
16916 (lgamma_test): Likewise.
16917 (pow_test): Likewise.
16918 (remainder_test): Likewise.
16919 (sin_test): Likewise.
16920 (tan_test): Likewise.
16921 (yn_test): Likewise.
16922 (initialize): Set errno to 0.
16923 (main): Print number of errno tests.
16924 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16926 2013-04-29 Andreas Jaeger <aj@suse.de>
16929 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16933 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16934 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16938 * stdlib/random.c (__initstate): Return NULL if
16942 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16943 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16946 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16950 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16952 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16953 of individual tests.
16954 (casin_test): Likewise.
16955 (casinh_test): Likewise.
16957 2013-04-27 Joseph Myers <joseph@codesourcery.com>
16960 * math/s_catan.c (__catan): Handle arguments with large real or
16961 imaginary part separately without squaring.
16962 * math/s_catanf.c (__catanf): Likewise.
16963 * math/s_catanh.c (__catanh): Likewise.
16964 * math/s_catanhf.c (__catanhf): Likewise.
16965 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16967 (__catanhl): Handle arguments with large real or imaginary part
16968 separately without squaring.
16969 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16971 (__catanl): Handle arguments with large real or imaginary part
16972 separately without squaring.
16973 * math/libm-test.inc (catan_test): Add more tests.
16974 (catanh_test): Likewise.
16975 * sysdeps/i386/fpu/libm-test-ulps: Update.
16976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16978 2013-04-27 Andreas Jaeger <aj@suse.de>
16981 * stdlib/stdlib.h: Update guards for qecvt.
16982 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16985 2013-04-27 Allan McRae <allan@archlinux.org>
16987 * sysdeps/i386/fpu/libm-test-ulps: Update.
16989 2013-04-26 Joseph Myers <joseph@codesourcery.com>
16992 * math/s_catan.c: Include <float.h>.
16993 (__catan): Ensure underflow exception occurs for underflowed
16995 * math/s_catanf.c: Include <float.h>.
16996 (__catanf): Ensure underflow exception occurs for underflowed
16998 * math/s_catanh.c: Include <float.h>.
16999 (__catanh): Ensure underflow exception occurs for underflowed
17001 * math/s_catanhf.c: Include <float.h>.
17002 (__catanhf): Ensure underflow exception occurs for underflowed
17004 * math/s_catanhl.c: Include <float.h>.
17005 (__catanhl): Ensure underflow exception occurs for underflowed
17007 * math/s_catanl.c: Include <float.h>.
17008 (__catanl): Ensure underflow exception occurs for underflowed
17010 * math/libm-test.inc (catan_test): Add more tests.
17011 (catanh_test): Likewise.
17014 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17015 underflowed result.
17016 * math/s_ccoshf.c (__ccoshf): Likewise.
17017 * math/s_ccoshl.c (__ccoshl): Likewise.
17018 * math/s_csin.c (__csin): Likewise.
17019 * math/s_csinf.c (__csinf): Likewise.
17020 * math/s_csinh.c (__csinh): Likewise.
17021 * math/s_csinhf.c (__csinhf): Likewise.
17022 * math/s_csinhl.c (__csinhl): Likewise.
17023 * math/s_csinl.c (__csinl): Likewise.
17024 * math/libm-test.inc (ccos_test): Add more tests.
17025 (ccosh_test): Likewise.
17026 (csin_test): Likewise.
17027 (csinh_test): Likewise.
17029 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17031 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17032 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17033 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17034 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17035 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17036 powerpc/power5+/fpu folders.
17037 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17040 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17044 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17046 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17047 additions to variable.
17048 [$(config-machine) = x86_64] (modules-names): Likewise.
17049 ($(objpfx)tst-audit3): Remove dependency.
17050 ($(objpfx)tst-audit3.out): Likewise.
17051 ($(objpfx)tst-audit4): Likewise.
17052 ($(objpfx)tst-audit4.out): Likewise.
17053 ($(objpfx)tst-audit5): Likewise.
17054 ($(objpfx)tst-audit5.out): Likewise.
17055 ($(objpfx)tst-audit6): Likewise.
17056 ($(objpfx)tst-audit6.out): Likewise.
17057 ($(objpfx)tst-audit7): Likewise.
17058 ($(objpfx)tst-audit7.out): Likewise.
17059 (tst-audit3-ENV): Remove variable.
17060 (tst-audit4-ENV): Likewise.
17061 (tst-audit5-ENV): Likewise.
17062 (tst-audit6-ENV): Likewise.
17063 (tst-audit7-ENV): Likewise.
17064 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17065 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17066 addition to variable.
17067 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17068 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17069 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17070 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17071 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17072 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17073 tst-audit3, tst-audit4 and tst-audit5.
17074 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17075 tst-audit6 and tst-audit7.
17076 [$(subdir) = elf] (modules-names): Add audit modules for those
17078 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17079 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17080 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17081 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17082 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17083 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17084 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17085 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17086 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17087 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17088 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17089 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17090 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17091 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17092 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17093 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17095 [$(subdir) = elf && $(config-cflags-avx) = yes]
17096 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17097 [$(subdir) = elf && $(config-cflags-avx) = yes]
17098 (CFLAGS-tst-auditmod4a.c): Likewise.
17099 [$(subdir) = elf && $(config-cflags-avx) = yes]
17100 (CFLAGS-tst-auditmod4b.c): Likewise.
17101 [$(subdir) = elf && $(config-cflags-avx) = yes]
17102 (CFLAGS-tst-auditmod6b.c): Likewise.
17103 [$(subdir) = elf && $(config-cflags-avx) = yes]
17104 (CFLAGS-tst-auditmod6c.c): Likewise.
17105 [$(subdir) = elf && $(config-cflags-avx) = yes]
17106 (CFLAGS-tst-auditmod7b.c): Likewise.
17107 * elf/tst-audit3.c: Move to ...
17108 * sysdeps/x86_64/tst-audit3.c: ... here.
17109 * elf/tst-audit4.c: Move to ...
17110 * sysdeps/x86_64/tst-audit4.c: ... here.
17111 * elf/tst-audit5.c: Move to ...
17112 * sysdeps/x86_64/tst-audit5.c: ... here.
17113 * elf/tst-audit6.c: Move to ...
17114 * sysdeps/x86_64/tst-audit6.c: ... here.
17115 * elf/tst-audit7.c: Move to ...
17116 * sysdeps/x86_64/tst-audit7.c: ... here.
17117 * elf/tst-auditmod3a.c: Move to ...
17118 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17119 * elf/tst-auditmod3b.c: Move to ...
17120 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17121 * elf/tst-auditmod4a.c: Move to ...
17122 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17123 * elf/tst-auditmod4b.c: Move to ...
17124 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17125 * elf/tst-auditmod5a.c: Move to ...
17126 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17127 * elf/tst-auditmod5b.c: Move to ...
17128 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17129 * elf/tst-auditmod6a.c: Move to ...
17130 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17131 * elf/tst-auditmod6b.c: Move to ...
17132 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17133 * elf/tst-auditmod6c.c: Move to ...
17134 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17135 * elf/tst-auditmod7a.c: Move to ...
17136 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17137 * elf/tst-auditmod7b.c: Move to ...
17138 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17140 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17143 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17144 define unconditionally.
17145 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17146 define unconditionally.
17147 (INT8_C, INT16_C, etc.): Likewise.
17149 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17151 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17152 __ehdr_start with hidden visibility.
17154 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17156 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17158 * math/libm-test.inc (cos_test): Use accurate hex constants.
17159 (sincost_test): Likewise.
17161 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17163 * math/libm-test.inc (catan_test): Add more tests.
17164 (catanh_test): Likewise.
17166 * math/s_catanf.c (__catanf): Use suffixed floating-point
17168 * math/s_catanhf.c (__catanhf): Likewise.
17169 * math/s_catanhl.c (__catanhl): Likewise.
17170 * math/s_catanl.c (__catanl): Likewise.
17173 * math/s_catan.c (__catan): Calculate imaginary part of result
17174 with log1p not log unless computing log of number close to 0.
17175 * math/s_catanf.c (__catanf): Likewise.
17176 * math/s_catanl.c (__catanl): Likewise.
17177 * math/s_catanh.c (__catanh): Calculate real part of result with
17178 log1p not log unless computing log of number close to 0.
17179 * math/s_catanhf.c (__catanhf): Likewise.
17180 * math/s_catanhl.c (__catanhl): Likewise.
17181 * math/libm-test.inc (catan_test): Add more tests.
17182 (catanh_test): Likewise.
17183 * sysdeps/i386/fpu/libm-test-ulps: Update.
17184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17186 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17188 * benchtests/Makefile: Mention files in which fast and slow
17189 paths of math functions are implemented.
17191 2013-04-23 Roland McGrath <roland@hack.frob.com>
17193 * sysdeps/posix/timespec_get.c: New file.
17195 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17197 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17199 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17201 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17202 powerpc/power5/fpu folders.
17203 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17204 * benchtests/Makefile: Add modf testcase.
17205 * benchtests/bench-modf.c: New file: Benchmark test for mo
17207 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17210 * time/Makefile (tests): Add tst-strptime-whitespace.
17211 * time/strptime_l.c (get_number): Use ISSPACE.
17212 (__strptime_internal): Likewise.
17213 * time/tst-strptime-whitespace.c: New test case.
17215 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17217 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17219 (_nss_files_init): Set it here.
17221 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17223 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17224 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17227 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17229 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17231 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17236 2013-04-21 David S. Miller <davem@davemloft.net>
17238 * po/ru.po: Update Russion translation from translation project.
17240 2013-04-17 Adam Conrad <adconrad@0c3.net>
17242 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17245 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17247 * configure.in: Remove i386 configure warning. Remove i386 case.
17248 * configure: Regenerate.
17249 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17250 Add example to error message.
17251 * sysdeps/i386/configure: Regenerate.
17253 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17255 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17257 * benchtests/cos-inputs: New file.
17258 * benchtests/slowcos-inputs: New file.
17259 * benchtests/slowcos.c: New file.
17260 * benchtests/slowtan-inputs: New file.
17261 * benchtests/slowtan.c: New file.
17262 * benchtests/tan-inputs: New file.
17264 2013-04-16 Roland McGrath <roland@hack.frob.com>
17266 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17269 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17271 * benchtests/Makefile: Include cppflags-iterator.mk to add
17272 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17274 * Makefile.in (bench-clean): New target.
17275 * benchtests/Makefile (bench-clean): Likewise.
17277 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17279 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17281 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17283 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17285 2013-04-15 Andreas Schwab <schwab@suse.de>
17287 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17288 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17289 * nscd/pwdcache.c (cache_addpw): Likewise.
17290 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17293 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17295 * benchtests/Makefile (bench): Write all output to
17296 bench-out.tmp together.
17298 2013-04-15 Andreas Schwab <schwab@suse.de>
17300 * nscd/nscd.c (main): Don't fork again after closing files.
17302 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17304 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17306 * benchtests/Rules (bench-deps): Collect dependencies into a
17307 single variable. Add Makefile to dependencies.
17308 ($(objpfx)bench-%.c): Depend on bench-deps.
17310 2013-04-12 Roland McGrath <roland@hack.frob.com>
17311 Xavier Roche <roche+kml2@exalead.com>
17314 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17315 just that it's a file descriptor.
17316 * manual/llio.texi (Synchronizing AIO Operations): Update description
17317 for EBADF error from aio_fsync.
17319 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17321 * Rules (bench): Move target definition...
17322 * benchtests/Makefile: ... here.
17324 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17326 * math/libm-test.inc (cos_test): Fix PI/2 test.
17327 (sincos_test): Likewise.
17328 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17329 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17331 2013-04-11 Andreas Schwab <schwab@suse.de>
17334 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17335 accept exponent character only when digits were seen.
17336 * stdio-common/Makefile (tests): Add bug26.
17337 * stdio-common/bug26.c: New file.
17340 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17343 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17345 * Makeconfig (rtld-prefix): Define built linker prefix.
17346 * Rules (run-bench): Use it.
17347 * math/Makefile (run-regen-ulps): Likewise.
17349 * Rules (bench): Remove eval.
17351 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17352 Roland McGrath <roland@hack.frob.com>
17353 Ondrej Bilka <neleai@seznam.cz>
17356 * time/getdate.c: Include ctype.h and alloca.h.
17357 (__getdate_r): Trim leading and trailing spaces of input.
17358 * time/tst-getdate.c (tests): Add tests with leading and
17361 2013-04-08 Roland McGrath <roland@hack.frob.com>
17364 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17365 when computing value.
17367 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17369 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17370 Use testrun.sh to run libm tests.
17373 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17375 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17378 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17380 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17382 * Makefile.in (regen-ulps): New target.
17383 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17384 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17385 [ifneq (no,$(PERL)] (regen-ulps): New target.
17386 [ifeq (no,$(PERL)] (regen-ulps): New target.
17387 * math/libm-test.inc (ulps_file_name): Define.
17388 (output_dir): New variable.
17389 (options): Add "output-dir" option.
17390 (parse_opt): Handle 'o' case.
17391 (main): If output_dir is non-NULL use it as a prefix
17393 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17395 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17397 [BZ #10060, #10062]
17398 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17399 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17400 fail configure if __sync_val_compare_and_swap is not inlined.
17401 * sysdeps/i386/configure: Regenerate.
17402 * configure.in: Build for i686 when configured for i386.
17403 * configure: Regenerate.
17404 * README: Remove i386 reference.
17406 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17408 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17409 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17411 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17413 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17414 (lmsnanval): New variables.
17415 (F): Add conversion tests.
17416 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17417 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17419 * stdio-common/tstdiomisc.c (F): Properly collect individual
17422 [BZ #14686, #15336]
17423 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17424 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17425 Instead, use input NaN values or generate a qNaN by arithmetic
17426 operation. Also fix bugs to comply with the standard.
17427 * math/libm-test.inc (remainder_test): Add more tests.
17429 [BZ #15335, #15342]
17430 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17432 input NaN values or generate a qNaN by arithmetic operation.
17434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17437 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17440 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17443 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17444 underflowed result.
17445 * math/s_cexpf.c (__cexpf): Likewise.
17446 * math/s_cexpl.c (__cexpl): Likewise.
17447 * math/libm-test.inc (cexp_test): Add more tests.
17449 2013-04-03 Andreas Schwab <schwab@suse.de>
17452 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17453 order arrays from heap if bigger than alloca cutoff.
17455 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17457 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17458 (SNAN_TESTS_double): Refer to GCC PR56831.
17459 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17462 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17464 * Rules (bench): Move bench.out after the run is complete.
17466 * Rules (bench): Echo currently running benchmark.
17468 * benchtests/Makefile (bench): Add atan and slowatan.
17469 * benchtests/atan-inputs: New file.
17470 * benchtests/slowatan-inputs: New file.
17471 * benchtests/slowatan.c: New file.
17473 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17474 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17478 * sysdeps/unix/sysv/linux/kernel-features.h
17479 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17480 __ASSUME_XFS_RESTRICTED_CHOWN.
17481 * sysdeps/unix/sysv/linux/pathconf.c
17482 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17483 Save and restore errno.
17485 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17488 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17489 arguments using __kernel_casinh.
17490 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17491 arguments using __kernel_casinhf.
17492 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17493 arguments using __kernel_casinhl.
17494 * math/libm-test.inc (cacosh_test): Add more tests.
17495 * sysdeps/i386/fpu/libm-test-ulps: Update.
17496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17498 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17500 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17503 * bench/Makefile (bench): Add sin and slowsin.
17504 * benchtests/sin-inputs: New file.
17505 * benchtests/slowsin-inputs: New file.
17506 * benchtests/slowsin.c: New file.
17508 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17509 (bench): Add slowexp and slowpow.
17510 (exp-ITER): Increase iterations.
17511 (pow-ITER): Likewise.
17512 * benchtests/exp-inputs: Change input.
17513 * benchtests/pow-inputs: Likewise.
17514 * benchtests/slowexp-inputs: New file.
17515 * benchtests/slowexp.c: New file.
17516 * benchtests/slowpow-inputs: New file.
17517 * benchtests/slowpow.c: New file.
17519 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17521 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17523 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17524 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17525 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17526 * benchtests/Makefile: Add rint benchtest.
17527 * benchtests/rint-inputs: Input for rint benchtest.
17529 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17531 * Versions.def (libm): Add GLIBC_2.18.
17532 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17533 hidden libm prototypes.
17534 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17535 * math/Makefile (libm-calls): Add s_issignaling.
17536 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17537 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17538 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17540 * math/math.h [__USE_GNU] (issignaling): New macro.
17541 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17542 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17543 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17544 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17546 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17547 * manual/arith.texi (issignaling): New section.
17548 * manual/libm-err-tab.pl (@all_functions): Update comment.
17549 * math/gen-libm-test.pl (parse_args): Apply special handling for
17551 * math/libm-test.inc (print_float, issignaling_test): New
17553 (check_float_internal): Add issignaling checks.
17554 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17555 default definition.
17556 * sysdeps/powerpc/math-tests.h: New file.
17557 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17559 * math/test-snan.c (TEST_FUNC): Likewise.
17561 2013-03-30 David S. Miller <davem@davemloft.net>
17563 * po/de.po: Update from translation team.
17565 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17568 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17569 imaginary part less than 1.0 and real part less than 0.5
17571 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17572 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17573 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17574 (cacos_test): Add more tests.
17575 (casin_test): Likewise.
17576 (casinh_test): Likewise.
17577 * sysdeps/i386/fpu/libm-test-ulps: Update.
17578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17580 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17582 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17583 ONE with its value.
17585 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17586 (__pow_mp): Replace ONE and MONE with their values.
17587 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17588 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17589 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17590 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17591 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17592 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17594 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17596 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17597 (__pow_mp): Replace ZERO and MZERO with their values.
17598 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17600 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17601 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17602 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17603 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17606 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17608 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17610 2013-03-28 Roland McGrath <roland@hack.frob.com>
17612 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17613 Declare with __attribute__ ((weak)).
17614 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17615 Call __call_tls_dtors only if it's not NULL.
17617 2013-03-28 Roland McGrath <roland@hack.frob.com>
17619 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17620 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17621 magic __ehdr_start linker symbol if it's defined.
17622 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17623 them up here if it was already done.
17625 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17626 (_dl_aux_init): Use const in cast when setting it.
17627 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17628 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17629 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17631 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17633 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17634 * csu/libc-tls.c: Nor here.
17635 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17637 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17638 (__libc_message): Never call vsyslog.
17640 2013-03-28 Alan Modra <amodra@gmail.com>
17642 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17644 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17647 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17650 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17654 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17657 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17658 Don't add gid passed as argument.
17660 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17662 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17665 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17666 imaginary part between 1.0 and 1.5 and real part less than 0.5
17668 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17669 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17670 * math/libm-test.inc (cacos_test): Add more tests.
17671 (casin_test): Likewise.
17672 (casinh_test): Likewise.
17673 * sysdeps/i386/fpu/libm-test-ulps: Update.
17674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17676 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17678 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17681 (denorm): Likewise.
17682 (__dbl_mp): Likewise.
17683 (add_magnitudes): Likewise.
17684 (sub_magnitudes): Likewise.
17692 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17694 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17695 (__dubcos): Likewise.
17696 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17697 (__ieee754_acos): Likewise.
17698 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17699 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17700 (__exp1): Likewise.
17701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17704 (my_log2): Likewise.
17705 (checkint): Likewise.
17706 * sysdeps/ieee754/dbl-64/e_remainder.c
17707 (__ieee754_remainder): Likewise.
17708 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17710 (bsloww): Likewise.
17711 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17713 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17714 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17715 MANTISSA_STORE_T to store computations on mantissa. Use
17716 macros for rounding and division.
17717 (denorm): Likewise.
17718 (__dbl_mp): Likewise.
17719 (add_magnitudes): Likewise.
17720 (sub_magnitudes): Likewise.
17723 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17724 powers of two in terms of TWOPOW macro.
17725 (mp_no): Make type of mantissa as MANTISSA_T.
17726 [!RADIXI]: Define RADIXI.
17727 [!TWO52]: Define TWO52.
17728 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17730 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17732 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17733 llroundl symbol when building for PPC32.
17735 2013-03-24 Mark H Weaver <mhw@netris.org>
17737 * manual/arith.texi (Normalization Functions): Fix prototypes for
17738 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17740 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17743 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17744 high value to check if expl overflow.
17745 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17746 to check for underflow and overflow.
17747 * math/libm-test.inc: Add exp test.
17749 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17752 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17755 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17757 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17760 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17762 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17763 wrap blocks consisting of several statements.
17765 * sysdeps/generic/math-tests.h: New file.
17766 * sysdeps/i386/fpu/math-tests.h: Likewise.
17767 * math/test-snan.c: Include it.
17768 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17770 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17773 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17774 (__ieee754_j0l): Do not improve calculations using cos of twice
17775 input for inputs above LDBL_MAX / 2.0L.
17776 (__ieee754_y0l): Likewise.
17777 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17778 (__ieee754_j1l): Do not improve calculations using cos of twice
17779 input for inputs above LDBL_MAX / 2.0L.
17780 (__ieee754_y1l): Likewise.
17781 * math/libm-test.inc (j0_test): Add another test.
17782 (j1_test): Likewise.
17783 (y0_test): Likewise.
17784 (y1_test): Likewise.
17785 * sysdeps/i386/fpu/libm-test-ulps: Update.
17787 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17789 * Rules ($(objpfx)bench-%.c): Include code from a C source
17792 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17795 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17796 imaginary part 1.0 and real part less than 0.5 specially.
17797 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17798 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17799 * math/libm-test.inc (cacos_test): Add more tests.
17800 (casin_test): Likewise.
17801 (casinh_test): Likewise.
17802 * sysdeps/i386/fpu/libm-test-ulps: Update.
17803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17805 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17807 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17808 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17810 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17812 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17813 * config.make.in (config-cflags-sse4): Remove variable.
17814 (config-cflags-avx): Likewise.
17815 (config-cflags-sse2avx): Likewise.
17816 (config-cflags-novzeroupper): Likewise.
17817 (config-asflags-i686): Likewise.
17818 (have-mfma4): Likewise.
17819 (have-as-vis3): Likewise.
17821 * configure.in (MIG): Do not AC_SUBST.
17822 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17823 (libc_cv_cc_sse4): Do not AC_SUBST.
17824 (libc_cv_cc_avx): Likewise.
17825 (libc_cv_cc_sse2avx): Likewise.
17826 (libc_cv_cc_novzeroupper): Likewise.
17827 (libc_cv_cc_fma4): Likewise.
17828 (libc_cv_as_i686): Likewise.
17829 (libc_cv_sparc_as_vis3): Likewise.
17830 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17832 (config-asflags-i686): Likewise.
17833 (config-cflags-avx): Likewise.
17834 (config-cflags-sse2avx): Likewise.
17835 (have-mfma4): Likewise.
17836 (config-cflags-novzeroupper): Likewise.
17837 * sysdeps/mach/configure.in (MIG): Likewise.
17838 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17839 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17841 (config-cflags-avx): Likewise.
17842 (config-cflags-sse2avx): Likewise.
17843 (have-mfma4): Likewise.
17844 (config-cflags-novzeroupper): Likewise.
17845 * configure: Regenerated.
17846 * sysdeps/i386/configure: Likewise.
17847 * sysdeps/mach/configure: Likewise.
17848 * sysdeps/sparc/configure: Likewise.
17849 * sysdeps/x86_64/configure: Likewise.
17851 2013-03-20 Roland McGrath <roland@hack.frob.com>
17854 * locale/programs/localedef.c (options): Put N_ translation marker
17855 on argument names, not just descriptions.
17857 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17859 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17861 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17864 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17866 2013-03-19 Roland McGrath <roland@hack.frob.com>
17868 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17869 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17870 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17871 [!BEFORE_ABORT] (before_abort): New function.
17872 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17873 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17874 (writev_for_fatal): New function.
17875 (WRITEV_FOR_FATAL): New macro; call that.
17876 (backtrace_and_maps): New function.
17877 (BEFORE_ABORT): New macro; call that.
17878 (struct str_list): Type removed.
17879 (__libc_message, __libc_fatal): Functions removed.
17880 Include <sysdeps/posix/libc_fatal.c> instead.
17882 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17884 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17886 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17889 2013-03-19 Andreas Schwab <schwab@suse.de>
17891 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17892 * sysdeps/gnu/configure: Regenerate.
17894 * configure.in: Substitute libc_cv_rtlddir.
17895 * configure: Regenerate.
17896 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17897 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17898 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17899 * elf/Makefile (install-others, CFLAGS-interp.c)
17900 (ldso_install, common-ldd-rewrite): Likewise.
17901 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17902 $(inst_slibdir)/$(rtld-installed-name).
17903 * scripts/rellns-sh: Add -p option.
17904 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17907 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17909 * manual/nptl.texi: Renamed to ...
17910 * manual/threads.texi: ... this.
17911 * manual/Makefile (chapters): Update.
17913 2013-03-18 Roland McGrath <roland@hack.frob.com>
17916 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17917 on argument names, not just descriptions.
17918 * malloc/memusagestat.c (options): Likewise.
17919 * nss/getent.c (options): Likewise.
17921 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17924 * iconv/iconv_prog.c (options): Put N_ translation marker
17925 on argument names, not just descriptions.
17926 * iconv/iconvconfig.c (options): Likewise.
17928 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17930 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17931 implementation which is faster on all x86_64 architectures.
17932 Tested on AMD, Intel Nehalem, SNB, IVB.
17933 * sysdeps/x86_64/strnlen.S: Likewise.
17935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17936 Remove all multiarch strlen and strnlen versions.
17937 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17938 Remove strlen and strnlen related parts.
17940 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17941 Inline strlen part.
17942 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17944 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17945 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17946 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17947 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17948 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17949 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17951 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17953 * manual/memory.texi (Malloc Tunable Parameters):
17954 Sort parameters alphabetically. Add comments for missing entries.
17956 2013-03-17 David S. Miller <davem@davemloft.net>
17958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17960 2013-03-16 Joseph Myers <joseph@codesourcery.com>
17963 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17964 for arguments at most half maximum finite value.
17965 * math/libm-test.inc (j0_test): Add more tests.
17966 (j1_test): Likewise.
17967 (y0_test): Likewise.
17968 (y1_test): Likewise.
17969 * sysdeps/i386/fpu/libm-test-ulps: Update.
17970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17973 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17974 1 / x and functions P and Q for arguments above 0x1p256L.
17975 (__ieee754_y0l): Likewise.
17976 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17977 (__ieee754_y1l): Likewise.
17978 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17979 (j1_test): Likewise.
17980 (y0_test): Likewise.
17981 (y1_test): Likewise.
17983 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17985 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17988 2013-03-15 Roland McGrath <roland@hack.frob.com>
17990 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17991 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17992 zero since it's initialized to EXEC_PAGESIZE.
17994 * sysdeps/unix/sysv/linux/ldsodefs.h
17995 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17996 * sysdeps/generic/ldsodefs.h: ... here.
17998 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18000 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18002 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18004 * math/test-snan.c: Renamed from
18005 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18006 * math/Makefile (tests): Add test-snan.
18007 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18010 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18011 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18013 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18014 __builtin_nan family of functions.
18015 * math/libm-test.inc (initialize): Initialize qnan_value with
18016 __builtin_nan family of functions.
18017 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18019 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18021 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18022 storage class. Initialize qNaN_var and sNaN_var with
18023 __builtin_nan and __builtin_nans families of functions,
18026 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18027 (sqrt_test): Remove duplicate test with qNaN input.
18028 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18029 (round_test, signbit_test, significand_test): Note missing +/-Inf
18030 as well as qNaN tests.
18032 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18033 qNaN_var. Fix a few strings, too.
18034 * math/libm-test.inc (nan_value): Rename to qnan_value.
18035 * math/gen-libm-test.pl (%beautify): Adjust to that.
18036 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18037 * math/test-misc.c (main): Likewise.
18038 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18039 to __qnan_bytes, and __qnan_union, respectively.
18040 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18042 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18043 and lqnanval, respectively.
18044 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18045 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18046 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18047 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18049 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18050 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18053 * math/test-misc.c (main): Fix copy'n'pastos.
18054 * misc/tst-efgcvt.c (special): Likewise.
18056 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18057 Remove declarations.
18059 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18061 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18062 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18063 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18064 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18066 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18068 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18069 macro to return vdso values correctly in IFUNC implementations.
18070 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18071 Optimization by using IFUNC.
18073 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18074 Richard Henderson <rth@redhat.com>
18075 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18077 * Makefile.in (bench): New target.
18078 * NEWS: Mention the benchmark framework.
18079 * Rules (bench): Likewise.
18080 (binaries-bench): Generate binaries for functions to
18082 * benchtests/Makefile: New makefile for benchmark tests.
18083 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18085 * benchtests/exp-inputs: New input file for EXP function.
18086 * benchtests/pow-inputs: New input file for POW function.
18087 * scripts/bench.pl: New script to generate source files for
18088 benchmark programs.
18090 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18092 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18093 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18094 computations on mantissa. Use macros for rounding and
18096 (denorm): Likewise.
18097 (__dbl_mp): Likewise.
18098 (add_magnitudes): Likewise.
18099 (sub_magnitudes): Likewise.
18102 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18103 powers of two in terms of TWOPOW macro.
18104 (mp_no): Make type of mantissa as MANTISSA_T.
18105 [!RADIXI]: Define RADIXI.
18106 [!TWO52]: Define TWO52.
18107 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18109 * manual/nptl.texi (cindex): Modify threads to pthreads.
18111 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18113 * sysdeps/x86_64/preconfigure: Regenerated.
18115 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18118 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18120 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18121 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18123 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18124 * math/libm-test.inc (j0_test): Do not allow one spurious
18125 underflow exception.
18126 (y1_test): Likewise.
18128 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18130 * manual/Makefile (chapters): Add nptl.
18131 * manual/debug.texi (Debugging Support): Add link to Threads
18133 * manual/nptl.texi: New file.
18135 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18137 2013-03-14 Petr Baudis <pasky@ucw.cz>
18139 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18140 for non-NULL pointer before the memory validity test. Pointed
18141 out by Holger Brunck <holger.brunck@keymile.com>.
18143 2013-03-13 Andreas Schwab <schwab@suse.de>
18145 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18148 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18150 * timezone/zic.c: Update from tzcode 2013b.
18152 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18154 * manual/install.texi (Configuring and compiling):
18155 Mention i686 and i586.
18156 * INSTALL: Regenerate.
18158 2013-03-12 Roland McGrath <roland@hack.frob.com>
18160 * sysdeps/init_array/elf-init.c: New file.
18162 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18163 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18165 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18166 __gmon_start__ as global, but as static with a .preinit_array pointer.
18167 * sysdeps/init_array/gmon-start.c: New file. Use that.
18168 * sysdeps/init_array/crti.S: New file, empty except for comments.
18169 * sysdeps/init_array/crtn.S: Likewise.
18171 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18173 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18176 Remove Prefer_SSE_for_memop.
18177 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18178 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18179 HAS_PREFER_SSE_FOR_MEMOP.
18180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18182 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18183 Remove bzero, memset ifunc support.
18184 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18185 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18186 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18187 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18189 2013-03-11 Andreas Schwab <schwab@suse.de>
18192 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18195 (GLIBC_2.16): Remove pthread_atfork.
18197 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18199 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18200 (ptestcases.h): Likewise.
18202 2013-03-08 Roland McGrath <roland@hack.frob.com>
18204 * Makeconfig ($(common-objpfx)config.status): Depend on
18205 sysdeps/*/preconfigure{,.in} too.
18207 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18209 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18210 (__free_hook): Use void * instead of __malloc_ptr_t.
18211 (__malloc_hook): Likewise.
18212 (__realloc_hook): Likewise.
18213 (__memalign_hook): Likewise.
18214 (__after_morecore_hook): Likewise.
18215 * malloc/arena.c (save_malloc_hook): Likewise.
18216 (save_free_hook): Likewise.
18217 * malloc/hooks.c (malloc_hook_ini): Likewise.
18218 (realloc_hook_ini): Likewise.
18219 (memalign_hook_ini): Likewise.
18220 * malloc/malloc.c (malloc_hook_ini): Likewise.
18221 (realloc_hook_ini): Likewise.
18222 (memalign_hook_ini): Likewise.
18223 (__free_hook): Likewise.
18224 (__malloc_hook): Likewise.
18225 (__realloc_hook): Likewise.
18226 (__memalign_hook): Likewise.
18227 (__libc_malloc): Likewise.
18228 (__libc_free): Likewise.
18229 (__libc_realloc): Likewise.
18230 (__libc_memalign): Likewise.
18231 (__libc_valloc): Likewise.
18232 (__libc_pvalloc): Likewise.
18233 (__libc_calloc): Likewise.
18234 (__posix_memalign): Likewise.
18235 * malloc/morecore.c (__sbrk): Likewise.
18236 (__default_morecore): Likewise.
18238 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18240 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18241 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18242 __malloc_ptrdiff_t.
18244 * malloc/malloc.h (__malloc_size_t): Remove macro.
18245 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18247 (old_memalign_hook): Likewise.
18248 (old_realloc_hook): Likewise.
18249 (struct hdr): Likewise.
18251 (mallochook): Likewise.
18252 (memalignhook): Likewise.
18253 (reallochook): Likewise.
18254 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18255 (tr_old_realloc_hook): Likewise.
18256 (tr_old_memalign_hook): Likewise.
18257 (tr_mallochook): Likewise.
18258 (tr_reallochook): Likewise.
18259 (tr_memalignhook): Likewise.
18261 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18263 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18264 default_ldbl_pack and using as default implementation.
18265 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18267 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18268 redundant definition.
18269 (ldbl_insert_mantissa): Likewise.
18270 (ldbl_canonicalize): Likewise.
18271 (ldbl_nearbyint): Likewise.
18272 (ldbl_pack): Rename to ldbl_pack_ppc.
18273 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18274 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18275 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18277 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18280 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18281 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18282 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18284 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18285 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18286 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18288 2013-03-07 Andreas Jaeger <aj@suse.de>
18290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18293 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18295 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18296 Include mpa.h and declare __MPEXP.
18297 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18298 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18299 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18300 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18301 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18302 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18303 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18305 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18306 (__slowpow): Use long double EXPL and LOGL functions to
18308 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18309 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18310 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18311 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18312 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18313 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18316 intermediate variable to calculate exponent.
18318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18322 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18323 [!NO__SQR]: Define __sqr.
18324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18325 and NO__SQR. Remove all code except __mul and __sqr. Include
18326 sysdeps/ieee754/dbl-64/mpa.c.
18327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18330 * posix/Makefile (tests): Add tst-pathconf.
18331 * posix/tst-pathconf.c: New test case.
18332 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18334 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18336 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18338 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18340 2013-03-06 Andreas Jaeger <aj@suse.de>
18342 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18343 definition via __MAP_ANONYMOUS.
18345 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18346 it's not part of Linux headers.
18348 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18349 (MAP_HUGE_MASK): Define.
18351 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18353 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18356 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18357 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18359 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18360 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18362 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18364 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18365 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18366 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18367 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18368 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18369 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18371 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18374 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18375 Handle f2fs and efivarfs.
18377 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18380 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18381 (EFIVARFS_MAGIC): Add.
18382 (F2FS_LINK_MAX): Add.
18384 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18386 * stdio-common/vfprintf.c: Replace __builtin_expect with
18389 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18392 * sysdeps/generic/bp-sym.h: Remove file.
18393 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18394 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18395 <bp-sym.h> and <bp-asm.h>.
18396 (__longjmp): Don't use BP_SYM.
18397 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18399 (memcpy): Don't use BP_SYM.
18400 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18401 <bp-sym.h> and <bp-asm.h>.
18402 (memcpy): Don't use BP_SYM.
18403 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18405 (memcpy): Don't use BP_SYM.
18406 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18408 (memset): Don't use BP_SYM.
18409 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18410 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18411 (__bzero): Don't use BP_SYM.
18412 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18413 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18414 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18415 <bp-sym.h> and <bp-asm.h>.
18416 (memcmp): Don't use BP_SYM. Remove comment about bounded
18418 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18419 <bp-sym.h> and <bp-asm.h>.
18420 (memcpy): Don't use BP_SYM.
18421 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18422 <bp-sym.h> and <bp-asm.h>.
18423 (memset): Don't use BP_SYM.
18424 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18425 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18426 (__bzero): Don't use BP_SYM.
18427 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18428 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18429 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18430 <bp-sym.h> and <bp-asm.h>.
18431 (strncmp): Don't use BP_SYM. Remove comment about bounded
18433 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18434 <bp-sym.h> and <bp-asm.h>.
18435 (memcpy): Don't use BP_SYM.
18436 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18437 <bp-sym.h> and <bp-asm.h>.
18438 (memset): Don't use BP_SYM.
18439 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18440 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18441 (__bzero): Don't use BP_SYM.
18442 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18443 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18444 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18445 <bp-sym.h> and <bp-asm.h>.
18446 (__memchr): Don't use BP_SYM.
18447 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18448 <bp-sym.h> and <bp-asm.h>.
18449 (memcmp): Don't use BP_SYM. Remove comment about bounded
18451 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18452 <bp-sym.h> and <bp-asm.h>.
18453 (memcpy): Don't use BP_SYM.
18454 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18455 <bp-sym.h> and <bp-asm.h>.
18456 (__mempcpy): Don't use BP_SYM.
18457 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18458 <bp-sym.h> and <bp-asm.h>.
18459 (__memrchr): Don't use BP_SYM.
18460 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18461 <bp-sym.h> and <bp-asm.h>.
18462 (memset): Don't use BP_SYM.
18463 (__bzero): Likewise.
18464 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18465 <bp-sym.h> and <bp-asm.h>.
18466 (__rawmemchr): Don't use BP_SYM.
18467 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18468 <bp-sym.h> and <bp-asm.h>.
18469 (__STRCMP): Don't use BP_SYM.
18470 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18471 <bp-sym.h> and <bp-asm.h>.
18472 (strchr): Don't use BP_SYM.
18473 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18474 <bp-sym.h> and <bp-asm.h>.
18475 (__strchrnul): Don't use BP_SYM.
18476 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18477 <bp-sym.h> and <bp-asm.h>.
18478 (strlen): Don't use BP_SYM.
18479 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18480 <bp-sym.h> and <bp-asm.h>.
18481 (strncmp): Don't use BP_SYM. Remove comment about bounded
18483 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18484 <bp-sym.h> and <bp-asm.h>.
18485 (__strnlen): Don't use BP_SYM.
18486 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18487 <bp-sym.h> and <bp-asm.h>.
18488 (__GI__setjmp): Don't use BP_SYM.
18489 (_setjmp): Likewise.
18490 (__sigsetjmp): Likewise.
18491 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18492 (L(start_addresses)): Don't use BP_SYM.
18493 (_start): Likewise.
18494 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18496 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18497 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18498 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18499 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18500 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18502 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18503 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18504 about bounded pointers.
18505 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18506 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18507 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18509 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18510 about bounded pointers. Remove GKM FIXME comments.
18511 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18512 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18514 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18515 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18516 Remove GKM FIXME comments.
18517 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18518 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18519 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18521 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18522 about bounded pointers. Remove GKM FIXME comment.
18523 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18525 (strncmp): Don't use BP_SYM. Remove comment about bounded
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18528 <bp-sym.h> and <bp-asm.h>.
18529 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18531 <bp-sym.h> and <bp-asm.h>.
18532 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18535 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18537 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18540 2013-03-05 David S. Miller <davem@davemloft.net>
18542 * po/es.po: Update from translation team.
18544 2013-03-05 Andreas Jaeger <aj@suse.de>
18546 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18547 <bits/mman-linux.h>.
18548 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18550 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18551 <bits/mman-linux.h> to end of file.
18552 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18554 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18555 <bits/mman-linux.h> to end of file.
18556 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18558 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18559 <bits/mman-linux.h> to end of file.
18561 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18562 (MCL_CURRENT, MCL_FUTURE): Define here.
18564 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18567 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18569 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18571 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18574 fourth parameter needed for rt_sigprocmask syscall.
18575 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18576 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18577 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18578 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18579 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18580 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18582 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18585 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18586 comment about bounded pointers.
18587 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18588 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18590 2013-03-04 Andreas Jaeger <aj@suse.de>
18592 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18593 common definitions.
18595 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18596 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18597 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18598 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18599 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18600 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18602 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18605 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18606 __ieee754_sqrl instead of __sqrl.
18608 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18610 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18611 * sysdeps/powerpc/fpu_control.h: ... here.
18612 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18613 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18614 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18615 * sysdeps/powerpc/bits/mathinline.h: ... here.
18617 2013-03-01 Roland McGrath <roland@hack.frob.com>
18619 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18620 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18621 to just [NEED_DL_SYSINFO_DSO].
18622 * elf/dl-support.c: Likewise.
18623 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18624 * elf/rtld.c (dl_main): Likewise.
18625 * elf/setup-vdso.h (setup_vdso): Likewise.
18626 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18627 * sysdeps/unix/sysv/linux/dl-sysdep.c
18628 (_dl_discover_osversion): Likewise.
18630 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18632 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18633 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18635 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18637 * NEWS: Mention libm performance improvements and non-x86 PI
18640 * csu/libc-start.c (__pthread_initialize_minimal): Change
18641 function arguments.
18642 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18644 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18647 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18648 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18649 <bp-sym.h> and <bp-asm.h>.
18650 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18651 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18653 (memcpy): Don't use BP_SYM.
18654 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18656 (__mpn_add_n): Don't use BP_SYM.
18657 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18658 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18660 (__mpn_addmul_1): Don't use BP_SYM.
18661 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18662 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18664 (_setjmp): Don't use BP_SYM.
18665 (__novmx_setjmp): Likewise.
18666 (__GI__setjmp): Likewise.
18667 (__vmx_setjmp): Likewise.
18668 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18670 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18671 (__bzero): Don't use BP_SYM.
18672 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18673 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18674 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18675 <bp-sym.h> and <bp-asm.h>.
18676 (memcpy): Don't use BP_SYM.
18677 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18678 <bp-sym.h> and <bp-asm.h>.
18679 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18680 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18681 <bp-sym.h> and <bp-asm.h>.
18682 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18683 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18685 (__mpn_lshift): Don't use BP_SYM.
18686 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18687 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18689 (memset): Don't use BP_SYM.
18690 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18691 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18692 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18694 (__mpn_mul_1): Don't use BP_SYM.
18695 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18696 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18697 <bp-sym.h> and <bp-asm.h>.
18698 (memcmp): Don't use BP_SYM.
18699 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18700 <bp-sym.h> and <bp-asm.h>.
18701 (memcpy): Don't use BP_SYM.
18702 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18703 <bp-sym.h> and <bp-asm.h>.
18704 (memset): Don't use BP_SYM.
18705 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18706 <bp-sym.h> and <bp-asm.h>.
18707 (strncmp): Don't use BP_SYM.
18708 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18709 <bp-sym.h> and <bp-asm.h>.
18710 (memcpy): Don't use BP_SYM.
18711 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18712 <bp-sym.h> and <bp-asm.h>.
18713 (memset): Don't use BP_SYM.
18714 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18715 <bp-sym.h> and <bp-asm.h>.
18716 (__memchr): Don't use BP_SYM.
18717 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18718 <bp-sym.h> and <bp-asm.h>.
18719 (memcmp): Don't use BP_SYM.
18720 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18721 <bp-sym.h> and <bp-asm.h>.
18722 (memcpy): Don't use BP_SYM.
18723 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18724 <bp-sym.h> and <bp-asm.h>.
18725 (__mempcpy): Don't use BP_SYM.
18726 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18727 <bp-sym.h> and <bp-asm.h>.
18728 (__memrchr): Don't use BP_SYM.
18729 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18730 <bp-sym.h> and <bp-asm.h>.
18731 (memset): Don't use BP_SYM.
18732 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18733 <bp-sym.h> and <bp-asm.h>.
18734 (__rawmemchr): Don't use BP_SYM.
18735 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18736 <bp-sym.h> and <bp-asm.h>.
18737 (__STRCMP): Don't use BP_SYM.
18738 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18739 <bp-sym.h> and <bp-asm.h>.
18740 (strchr): Don't use BP_SYM.
18741 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18742 <bp-sym.h> and <bp-asm.h>.
18743 (__strchrnul): Don't use BP_SYM.
18744 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18745 <bp-sym.h> and <bp-asm.h>.
18746 (strlen): Don't use BP_SYM.
18747 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18748 <bp-sym.h> and <bp-asm.h>.
18749 (strncmp): Don't use BP_SYM.
18750 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18751 <bp-sym.h> and <bp-asm.h>.
18752 (__strnlen): Don't use BP_SYM.
18753 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18755 (__mpn_rshift): Don't use BP_SYM.
18756 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18757 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18758 <bp-sym.h> and <bp-asm.h>.
18759 (__sigsetjmp): Don't use BP_SYM.
18760 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18761 (L(start_addresses)): Don't use BP_SYM.
18762 (_start): Likewise.
18763 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18765 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18766 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18767 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18768 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18770 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18771 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18772 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18773 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18775 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18777 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18778 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18780 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18782 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18783 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18784 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18786 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18788 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18790 (strncmp): Don't use BP_SYM,
18791 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18793 (__mpn_sub_n): Don't use BP_SYM.
18794 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18795 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18797 (__mpn_submul_1): Don't use BP_SYM.
18798 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18800 <bp-sym.h> and <bp-asm.h>.
18801 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18803 <bp-sym.h> and <bp-asm.h>.
18804 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18807 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18810 Use ZK to minimize writes to Z.
18811 (sub_magnitudes): Simplify code a bit.
18812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18813 Use ZK to minimize writes to Z.
18814 (sub_magnitudes): Simplify code a bit.
18816 2013-02-27 Roland McGrath <roland@hack.frob.com>
18818 * csu/gmon-start.c: Add special exception to license text.
18820 2013-02-27 Richard Henderson <rth@redhat.com>
18822 * scripts/config.guess: Update from config.git.
18823 * scripts/config.sub: Likewise.
18825 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18827 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18829 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18831 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18833 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18835 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18837 2013-02-26 Roland McGrath <roland@hack.frob.com>
18839 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18840 [$(build-shared = yes].
18842 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18844 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18845 (__mul): Reduce iterations for calculating mantissa.
18847 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18849 (__mpranred): Likewise.
18852 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18853 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18855 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18857 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18858 Define __attribute__.
18860 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18862 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18864 * posix/regex_internal.h (__attribute): Remove.
18865 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18866 (re_string_context_at): Likewise.
18867 (bitset_not): Use __attribute__ and mark function as possibly
18869 (bitset_merge): Likewise.
18870 (bitset_mask): Likewise.
18871 (re_string_char_size_at): Likewise.
18872 (re_string_wchar_at): Likewise.
18873 (re_string_elem_size_at): Likewise.
18875 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18877 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18881 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18885 (denorm): Likewise.
18886 (__dbl_mp): Likewise.
18887 (add_magnitudes): Likewise.
18888 (sub_magnitudes): Likewise.
18892 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18895 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18898 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18902 up changes with default code.
18903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18906 2013-02-24 Allan McRae <allan@archlinux.org>
18908 * manual/socket.texi (The Internet Namespace): Order menu items
18909 to match that in the file.
18911 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18912 node listing of the info page menu.
18914 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18917 * sysdeps/i386/bp-asm.h: Remove file.
18918 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18919 (PARMS): Do not use macros from bp-asm.h.
18923 (__mpn_add_n): Do not use BP_SYM
18924 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18926 (PARMS): Do not use macros from bp-asm.h.
18929 (__mpn_addmul_1): Do not use BP_SYM
18930 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18932 (PARMS): Do not use macros from bp-asm.h.
18933 (SIGMSK): Likewise.
18934 (_setjmp): Likewise. Do not use BP_SYM.
18935 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18937 (PARMS): Do not use macros from bp-asm.h.
18938 (SIGMSK): Likewise.
18939 (setjmp): Likewise. Do not use BP_SYM.
18940 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18942 (PARMS): Do not use macros from bp-asm.h.
18943 (__frexp): Do not use BP_SYM.
18945 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18947 (PARMS): Do not use macros from bp-asm.h.
18948 (__frexpf): Do not use BP_SYM.
18949 (frexpf): Likewise.
18950 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18952 (PARMS): Do not use macros from bp-asm.h.
18953 (__frexpl): Do not use BP_SYM.
18954 (frexpl): Likewise.
18955 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18957 (PARMS): Do not use macros from bp-asm.h.
18958 (__remquo): Do not use BP_SYM.
18959 (remquo): Likewise.
18960 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18962 (PARMS): Do not use macros from bp-asm.h.
18963 (__remquof): Do not use BP_SYM.
18964 (remquof): Likewise.
18965 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18967 (PARMS): Do not use macros from bp-asm.h.
18968 (__remquol): Do not use BP_SYM.
18969 (remquol): Likewise.
18970 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18972 (PARMS): Do not use macros from bp-asm.h.
18975 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18976 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18978 (PARMS): Do not use macros from bp-asm.h.
18979 (strlen): Do not use BP_SYM.
18980 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18982 (PARMS): Do not use macros from bp-asm.h.
18986 (__mpn_add_n): Do not use BP_SYM.
18987 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18989 (PARMS): Do not use macros from bp-asm.h.
18992 (__mpn_addmul_1): Do not use BP_SYM.
18993 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18996 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18998 (PARMS): Do not use macros from bp-asm.h.
19001 (__mpn_lshift): Do not use BP_SYM.
19002 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19004 (PARMS): Do not use macros from bp-asm.h.
19008 (memcpy): Likewise. Do not use BP_SYM.
19009 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19010 libc_hidden_def and weak_alias.
19011 (mempcpy): Do not use BP_SYM in weak_alias.
19012 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19014 (PARMS): Do not use macros from bp-asm.h.
19017 [!BZERO_P] (CHR): Likewise.
19018 (memset): Likewise. Do not use BP_SYM.
19019 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19021 (PARMS): Do not use macros from bp-asm.h.
19024 (__mpn_mul_1): Do not use BP_SYM.
19025 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19027 (PARMS): Do not use macros from bp-asm.h.
19030 (__mpn_rshift): Do not use BP_SYM.
19031 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19033 (PARMS): Do not use macros from bp-asm.h.
19036 (strchr): Likewise. Do not use BP_SYM.
19037 (index): Do not use BP_SYM in weak_alias.
19038 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19040 (PARMS): Do not use macros from bp-asm.h.
19043 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19044 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19046 (PARMS): Do not use macros from bp-asm.h.
19047 (strlen): Do not use BP_SYM.
19048 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19050 (PARMS): Do not use macros from bp-asm.h.
19054 (__mpn_sub_n): Do not use BP_SYM.
19055 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19057 (PARMS): Do not use macros from bp-asm.h.
19060 (__mpn_submul_1): Do not use BP_SYM.
19061 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19063 (PARMS): Do not use macros from bp-asm.h.
19067 (__mpn_add_n): Do not use BP_SYM.
19068 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19071 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19073 (PARMS): Do not use macros from bp-asm.h.
19076 (memcmp): Do not use BP_SYM.
19077 (bcmp): Do not use BP_SYM in weak_alias.
19078 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19080 (PARMS): Do not use macros from bp-asm.h.
19084 (memcpy): Likewise. Do not use BP_SYM.
19085 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19087 (PARMS): Do not use macros from bp-asm.h.
19091 (memmove): Likewise. Do not use BP_SYM.
19092 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19094 (PARMS): Do not use macros from bp-asm.h.
19098 (__mempcpy): Likewise. Do not use BP_SYM.
19099 (mempcpy): Do not use BP_SYM in weak_alias.
19100 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19102 (PARMS): Do not use macros from bp-asm.h.
19105 [!BZERO_P] (CHR): Likewise.
19106 (memset): Likewise. Do not use BP_SYM.
19107 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19109 (PARMS): Do not use macros from bp-asm.h.
19111 (strcmp): Do not use BP_SYM.
19112 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19114 (PARMS): Do not use macros from bp-asm.h.
19117 [USE_AS_STRTOK_R] (SAVE): Likewise.
19118 (FUNCTION): Likewise. Do not use BP_SYM.
19119 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19121 (strtok_r): Likewise.
19122 (__GI___strtok_r): Likewise.
19123 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19124 (PARMS): Do not use macros from bp-asm.h.
19127 (__mpn_lshift): Do not use BP_SYM.
19128 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19129 (PARMS): Do not use macros from bp-asm.h.
19132 (__memchr): Do not use BP_SYM.
19133 (memchr): Do not use BP_SYM in weak_alias.
19134 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19135 (PARMS): Do not use macros from bp-asm.h.
19138 (memcmp): Do not use BP_SYM.
19139 (bcmp): Do not use BP_SYM in weak_alias.
19140 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19141 (PARMS): Do not use macros from bp-asm.h.
19144 (__mpn_mul_1): Do not use BP_SYM.
19145 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19147 (PARMS): Do not use macros from bp-asm.h.
19150 (__rawmemchr): Do not use BP_SYM.
19151 (rawmemchr): Do not use BP_SYM in weak_alias.
19152 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19153 (PARMS): Do not use macros from bp-asm.h.
19156 (__mpn_rshift): Do not use BP_SYM.
19157 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19158 (PARMS): Do not use macros from bp-asm.h.
19159 (SIGMSK): Likewise.
19160 (__sigsetjmp): Likewise. Do not use BP_SYM.
19161 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19162 (_start): Do not use BP_SYM.
19163 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19164 (PARMS): Do not use macros from bp-asm.h.
19167 (__stpcpy): Likewise. Do not use BP_SYM.
19168 (stpcpy): Do not use BP_SYM in weak_alias.
19169 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19171 (PARMS): Do not use macros from bp-asm.h.
19175 (__stpncpy): Likewise. Do not use BP_SYM.
19176 (stpncpy): Do not use BP_SYM in weak_alias.
19177 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19178 (PARMS): Do not use macros from bp-asm.h.
19181 (strchr): Likewise. Do not use BP_SYM.
19182 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19184 (PARMS): Do not use macros from bp-asm.h.
19187 (__strchrnul): Likewise. Do not use BP_SYM.
19188 (strchrnul): Do not use BP_SYM in weak_alias.
19189 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19191 (PARMS): Do not use macros from bp-asm.h.
19193 (strcspn): Do not use BP_SYM.
19194 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19196 (PARMS): Do not use macros from bp-asm.h.
19199 (strpbrk): Likewise. Do not use BP_SYM.
19200 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19202 (PARMS): Do not use macros from bp-asm.h.
19205 (strrchr): Likewise. Do not use BP_SYM.
19206 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19207 (PARMS): Do not use macros from bp-asm.h.
19209 (strspn): Do not use BP_SYM.
19210 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19211 (PARMS): Do not use macros from bp-asm.h.
19215 (FUNCTION): Likewise. Do not use BP_SYM.
19216 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19218 (strtok_r): Likewise.
19219 (__GI___strtok_r): Likewise.
19220 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19221 (PARMS): Do not use macros from bp-asm.h.
19225 (__mpn_sub_n): Do not use BP_SYM.
19226 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19228 (PARMS): Do not use macros from bp-asm.h.
19231 (__mpn_submul_1): Do not use BP_SYM.
19232 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19234 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19236 (PARMS): Do not use macros from bp-asm.h.
19241 (__clone): Do not use BP_SYM.
19242 (clone): Do not use BP_SYM in weak_alias.
19243 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19245 (PARMS): Do not use macros from bp-asm.h.
19247 (__mmap64): Do not use BP_SYM.
19248 (mmap64): Do not use BP_SYM in weak_alias.
19249 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19250 <bp-sym.h> and <bp-asm.h>.
19251 (PARMS): Do not use macros from bp-asm.h.
19252 (__posix_fadvise64_l64): Do not use BP_SYM.
19253 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19254 (PARMS): Do not use macros from bp-asm.h.
19256 (semtimedop): Do not use BP_SYM.
19257 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19260 2013-02-21 Allan McRae <allan@archlinux.org>
19262 * manual/message.texi (Charset conversion in gettext):
19263 Move @end statement to beginning of line.
19265 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19272 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19273 (denorm): Likewise.
19274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19277 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19279 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19280 tail-call to the resolved function if pltexit isn't needed.
19282 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19285 or Y being zero as being unlikely.
19286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19289 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19291 * manual/nss.texi (System Databases and Name Service Switch):
19292 Remove frobnicate @pxref.
19294 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19296 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19297 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19299 2013-02-20 Petr Machata <pmachata@redhat.com>
19301 * elf/elf.h (R_ARM_TARGET1): New macro.
19302 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19303 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19304 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19305 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19306 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19307 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19308 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19309 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19310 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19311 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19312 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19313 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19314 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19315 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19316 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19317 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19318 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19319 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19320 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19321 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19322 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19323 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19324 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19325 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19326 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19327 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19328 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19329 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19330 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19331 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19332 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19333 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19334 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19335 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19336 (R_ARM_THM_GOT_BREL12): Likewise.
19337 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19338 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19339 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19340 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19341 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19342 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19343 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19344 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19345 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19347 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19349 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19350 __attribute_used__ to __attribute__ ((unused)).
19352 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19354 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19357 comment formatting.
19358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19360 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19363 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19365 (ENTER): Remove both macro definitions.
19367 (CHECK_BOUNDS_LOW): Likewise.
19368 (CHECK_BOUNDS_HIGH): Likewise.
19369 (CHECK_BOUNDS_BOTH): Likewise.
19370 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19371 (RETURN_BOUNDED_POINTER): Likewise.
19372 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19373 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19374 (POP_ERRNO_LOCATION_RETURN): Likewise.
19375 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19376 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19377 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19379 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19380 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19381 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19382 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19383 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19384 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19385 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19386 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19387 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19388 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19389 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19390 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19391 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19392 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19394 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19395 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19397 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19398 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19399 * sysdeps/i386/i586/memset.S (memset): Likewise.
19400 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19401 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19402 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19404 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19405 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19406 Change uses of L(2) to L(out).
19407 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19408 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19409 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19410 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19411 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19413 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19414 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19416 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19417 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19418 (RETURN): Do not use macro LEAVE.
19419 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19420 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19421 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19422 * sysdeps/i386/i686/memset.S (memset): Likewise.
19423 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19424 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19425 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19426 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19428 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19429 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19430 L(1_2) and L(1_3) into L(1).
19431 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19432 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19433 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19434 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19435 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19436 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19437 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19438 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19439 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19441 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19442 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19443 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19444 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19445 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19446 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19447 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19448 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19449 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19450 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19451 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19452 * sysdeps/i386/strspn.S (strspn): Likewise.
19453 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19455 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19456 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19457 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19458 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19459 L(1_3) into L(1_1).
19460 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19461 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19462 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19464 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19466 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19468 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19471 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19473 * math/atest-exp.c (exp_mpn): Remove ROUND.
19474 * math/atest-exp2.c (exp_mpn): Likewise.
19475 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19477 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19478 * stdlib/tst-tls-atexit-lib.c: Likewise.
19479 * stdlib/tst-tls-atexit.c: Likewise.
19481 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19483 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19484 and __attribute_alloc_size__.
19486 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19488 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19489 __attribute_alloc_size__.
19490 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19491 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19493 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19495 * include/programs/xmalloc.h: New file.
19496 * catgets/gencat.c: Include it.
19497 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19498 * elf/pldd.c: Likewise.
19499 * iconv/iconv_charmap.c: Likewise.
19500 * iconv/iconvconfig.c: Likewise.
19501 * iconv/strtab.c: Likewise.
19502 * locale/programs/locale.c: Likewise.
19503 * locale/programs/localedef.h: Likewise.
19504 * locale/programs/simple-hash.c: Likewise.
19505 * nscd/nscd.h: Likewise.
19506 * nss/makedb.c: Likewise.
19507 * sysdeps/generic/ldconfig.h: Likewise.
19509 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19511 * Versions.def: Add GLIBC_2.18.
19512 * include/link.h (struct link_map): New member l_tls_dtor_count.
19513 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19514 (__call_tls_dtors): Likewise.
19515 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19516 __cxa_thread_atexit_impl.
19517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19525 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19533 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19534 (tests): Add test case tst-tls-atexit.
19535 (modules-names): Add shared library for tst-tls-atexit.
19536 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19537 (GLIBC_PRIVATE): Add __call_tls_dtors.
19538 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19540 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19541 * stdlib/tst-tls-atexit.c: New test case.
19542 * stdlib/tst-tls-atexit-lib.c: New test case.
19544 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19546 * elf/Versions (ld): Add _dl_find_dso_for_object.
19547 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19548 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19549 (dl_open_worker): Use _dl_find_dso_for_object.
19550 * elf/dl-sym.c (do_sym): Likewise.
19551 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19553 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19555 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19556 Syntactic changes only.
19557 (_dl_runtime_profile): Do a tail-call to the resolved function.
19559 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19562 * sysdeps/x86_64/bp-asm.h: Remove file.
19563 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19564 <bp-sym.h> and <bp-asm.h>.
19565 (__clone): Do not use BP_SYM.
19566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19567 <bp-sym.h> and <bp-asm.h>.
19568 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19569 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19571 (_setjmp): Do not use BP_SYM.
19572 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19574 (setjmp): Do not use BP_SYM.
19575 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19577 (mempcpy): Do not use BP_SYM in weak_alias.
19578 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19580 (strchr): Do not use BP_SYM.
19581 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19583 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19584 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19585 (_start): Do not use BP_SYM.
19586 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19588 (strcat): Do not use BP_SYM.
19589 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19591 (STRCMP): Do not use BP_SYM.
19592 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19594 (STRCPY): Do not use BP_SYM.
19595 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19597 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19599 (FUNCTION): Do not use BP_SYM.
19600 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19602 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19604 2013-02-17 Andreas Jaeger <aj@suse.de>
19606 * time/Versions: Sort entries.
19607 * string/Versions: Likewise.
19608 * resolv/Versions: Likewise.
19609 * posix/Versions: Likewise.
19610 * iconv/Versions: Likewise.
19611 * elf/Versions: Likewise.
19612 * wcsmbs/Versions: Likewise.
19614 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19616 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19617 loop termination condition.
19619 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19620 variable to calculate EZ.
19623 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19624 the lower precision input.
19626 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19629 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19630 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19631 (run-via-rtld-prefix): Do not handle %-bp tests.
19632 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19633 (all-object-suffixes): Remove .ob.
19634 (bppfx): Remove variable.
19635 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19636 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19637 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19638 [$(build-bounded) = yes] (libtype.ob): Likewise.
19639 * Makerules (elide-routines.ob): Remove variable.
19640 (do-tests-clean): Do not handle *-bp.out.
19641 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19642 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19643 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19644 (tests): Do not include $(tests-bp.out).
19645 (xtests): Do not include $(xtests-bp.out).
19646 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19647 [$(build-bounded) = yes] ($(addprefix
19648 $(objpfx),$(binaries-bounded))): Remove rule.
19649 ($(objpfx)%-bp.out): Remove rule.
19650 * config.make.in (build-bounded): Remove variable.
19651 * crypt/Makefile [$(build-bounded) = yes]
19652 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19653 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19654 append to variable.
19655 [$(build-bounded) = yes] (install-lib): Likewise.
19656 [$(build-bounded) = yes] (generated): Likewise.
19657 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19659 * intl/Makefile [$(build-bounded) = yes]
19660 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19661 * math/Makefile [$(build-bounded) = yes]
19662 ($(tests:%=$(objpfx)%-bp): Likewise.
19663 * misc/Makefile [$(build-bounded) = yes]
19664 ($(objpfx)tst-tsearch-bp): Likewise.
19665 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19666 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19668 * string/Makefile (o-objects.ob): Remove variable.
19669 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19670 (CFLAGS-.ob): Remove variable.
19671 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19672 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19673 both definitions of variable.
19674 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19675 (ASFLAGS-.ob): Remove variable.
19677 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19680 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19681 Remove __BOUNDED_POINTERS__ from condition.
19682 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19683 * string/bits/string2.h [!__NO_STRING_INLINES &&
19684 !__BOUNDED_POINTERS__]: Likewise.
19685 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19687 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19688 Remove conditional code.
19689 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19690 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19691 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19695 * csu/libc-start.c: Do not include <bp-sym.h>.
19696 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19697 * elf/dl-open.c: Do not include <bp-sym.h>.
19698 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19699 * math/fegetenv.c: Do not include <bp-sym.h>.
19700 (fegetenv): Do not use BP_SYM in versioned symbols.
19701 * nptl/sysdeps/pthread/bits/libc-lockP.h
19702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19705 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19707 (__pthread_mutex_destroy): Likewise.
19708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19709 (__pthread_mutex_lock): Likewise.
19710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19711 (__pthread_mutex_trylock): Likewise.
19712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19713 (__pthread_mutex_unlock): Likewise.
19714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19715 (__pthread_mutexattr_init): Likewise.
19716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19717 (__pthread_mutexattr_destroy): Likewise.
19718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19719 (__pthread_mutexattr_settype): Likewise.
19720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19721 (__pthread_rwlock_init): Likewise.
19722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19723 (__pthread_rwlock_destroy): Likewise.
19724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19725 (__pthread_rwlock_rdlock): Likewise.
19726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19727 (__pthread_rwlock_tryrdlock): Likewise.
19728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19729 (__pthread_rwlock_wrlock): Likewise.
19730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19731 (__pthread_rwlock_trywrlock): Likewise.
19732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19733 (__pthread_rwlock_unlock): Likewise.
19734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19735 (__pthread_key_create): Likewise.
19736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19737 (__pthread_setspecific): Likewise.
19738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19739 (__pthread_getspecific): Likewise.
19740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19743 (_pthread_cleanup_push_defer): Likewise.
19744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19745 (_pthread_cleanup_pop_restore): Likewise.
19746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19747 (pthread_setcancelstate): Likewise.
19748 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19750 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19751 (memchr): Do not use BP_SYM in weak_alias.
19752 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19753 (fegetenv): Do not use BP_SYM in versioned symbols.
19754 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19755 (fesetenv): Do not use BP_SYM in versioned symbols.
19756 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19757 (feupdateenv): Do not use BP_SYM in versioned symbols.
19758 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19759 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19760 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19761 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19762 (open64): Do not use BP_SYM in weak_alias.
19763 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19764 (fegetenv): Do not use BP_SYM in versioned symbols.
19765 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19766 (fesetenv): Do not use BP_SYM in versioned symbols.
19767 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19768 (feupdateenv): Do not use BP_SYM in versioned symbols.
19769 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19770 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19771 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19772 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19773 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19774 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19775 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19777 (__libc_start_main): Do not use BP_SYM.
19779 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19782 redundant return line.
19784 (denorm): Likewise.
19785 (dbl_mp): Likewise.
19786 (sub_magnitudes): Likewise.
19792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19794 (denorm): Likewise.
19795 (dbl_mp): Likewise.
19796 (sub_magnitudes): Likewise.
19803 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19805 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19806 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19809 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19810 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19811 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19812 of __mul for squares.
19813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19817 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19820 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19823 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19825 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19826 prototype or function definition. Rename ubp_* variables and
19827 parameters. Remove argv definitions conditional on
19828 [__BOUNDED_POINTERS__].
19829 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19830 * elf/dl-runtime.c (_dl_fixup): Likewise.
19831 * include/set-hooks.h (RUN_HOOK): Likewise.
19832 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19834 * string/strcpy.c (strcpy): Do not use __unbounded.
19835 * sysdeps/generic/frame.h (struct layout): Likewise.
19836 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19837 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19838 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19839 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19840 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19841 (__backtrace): Likewise.
19842 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19844 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19845 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19846 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19848 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19849 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19850 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19851 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19852 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19853 Do not use __unbounded.
19854 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19855 Rename __unboundedrlimits parameter to rlimits in prototype.
19856 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19857 Do not use __unbounded.
19858 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19859 not use __ptrvalue.
19860 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19861 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19862 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19863 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19864 __ptrvalue or __unbounded.
19865 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19866 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19868 (__new_msgctl): Do not use __ptrvalue.
19869 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19871 (__libc_msgrcv): Do not use __ptrvalue.
19872 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19873 startup_info): Do not use __unbounded.
19874 (__libc_start_main): Likewise. Rename ubp_* variables and
19875 parameters. Remove argv definitions conditional on
19876 [__BOUNDED_POINTERS__].
19877 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19879 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19881 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19883 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19885 (__new_shmctl): Do not use __ptrvalue.
19886 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19887 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19889 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19890 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19891 (__libc_sigaction): Likewise.
19892 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19893 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19895 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19897 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19899 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19901 * string/mempcpy.c: Implement by calling memcpy.
19903 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19907 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19910 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19911 values in the mantissa.
19913 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19914 minimize writes to Z.
19915 (sub_magnitudes): Simplify code a bit.
19917 2013-02-12 Roland McGrath <roland@hack.frob.com>
19919 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19920 from the message. The linker prefixes all warnings with that already.
19922 2013-02-12 Andreas Schwab <schwab@suse.de>
19925 * posix/regexec.c (extend_buffers): Add parameter min_len.
19926 (check_matching): Pass minimum needed length.
19927 (clean_state_log_if_needed): Likewise.
19928 (get_subexp): Likewise.
19929 * posix/Makefile (tests): Add bug-regex34.
19930 (bug-regex34-ENV): Define.
19931 * posix/bug-regex34.c: New file.
19934 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19935 elements compare against the byte sequence of it, not its name.
19936 * posix/Makefile (tests): Add bug-regex35.
19937 (bug-regex35-ENV): Define.
19938 * posix/bug-regex35.c: New file.
19940 2013-02-11 Tom de Vries <tom@codesourcery.com>
19942 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19944 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19945 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19946 (CHECK_EOL): Add undef.
19948 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19950 * bits/stdlib-bsearch.h: New file.
19951 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19952 * stdlib/stdlib.h: Likewise.
19954 2013-02-11 Roland McGrath <roland@hack.frob.com>
19956 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19957 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19959 * manual/search.texi (Array Search Function): Add missing const in
19961 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19962 declaration to use rlim_t.
19963 (Basic Scheduling Functions): Remove erroneous const from
19964 sched_getparam prototype. Remove erroneous * from
19965 sched_get_priority_max and sched_get_priority_min prototypes.
19966 (Resource Usage): Fix summary @comment on vtimes to refer to
19967 sys/vtimes.h rather than vtimes.h.
19968 Add missing *s in vtimes prototype.
19969 (Limits on Resources): Fix ulimit prototype to return long int.
19970 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19971 prototypes to use long int rather than double.
19972 (BSD Random): Fix initstate and setstate to use char *, not void *.
19973 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19974 prototype to make second argument 'struct aiocb64 *const[]'.
19975 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19976 (Status of AIO Operations): Remove erroneous const in aio_return and
19977 aio_return64 prototypes.
19978 (Synchronizing I/O): Fix sync prototype to return void.
19979 * manual/startup.texi (Suboptions): Remove an erroneous const in
19980 getsubopt prototype.
19981 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19982 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19983 use size_t rather than int.
19984 (Scanning All Users): Likewise for getpwent_r.
19985 (Setting Groups): Add missing const to setgroups prototype.
19986 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19987 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19988 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19989 'const void *' rather than 'const char *'.
19990 (Host Address Functions): Likewise for inet_ntop.
19991 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19992 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19993 ssize_t for return value.
19994 (Sending Data): Likewise for send, sendto, sendmsg.
19995 (Socket Option Functions): Add a missing const in setsockopt prototype.
19996 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19997 use wchar_t for the argument.
19998 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19999 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20001 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20002 double/float/long double for second argument.
20003 Fix return types of significand, significandf, significandl.
20004 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20005 argument in fchmod prototype.
20006 (File Owner): Use uid_t and gid_t in fchown prototype.
20007 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20008 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20009 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20010 use 'const struct dirent **' as argument types to CMP function pointer
20012 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20013 (File Times): Fix summary magic @comment for struct utimbuf and utime
20014 to refer to utime.h, not time.h.
20015 * manual/string.texi (Argz Functions): Add missing const in
20016 argz_extract and argz_next prototypes.
20017 (Finding Tokens in a String): Likewise for basename.
20018 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20019 (Copying and Concatenation): Fix typo in wmemmove prototype.
20020 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20021 (Signal Stack): Remove erroneous const in sigstack prototype.
20022 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20024 (Simple Calendar Time): Likewise for stime.
20025 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20027 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20028 say sys/sysctl.h instead.
20029 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20030 and vsyslog prototypes.
20032 2013-02-11 Tom de Vries <tom@codesourcery.com>
20034 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20037 2013-02-11 Roland McGrath <roland@hack.frob.com>
20039 * misc/sys/mman.h: Fix typo in mremap comment.
20041 2013-02-08 Roland McGrath <roland@hack.frob.com>
20043 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20044 the '\0' terminator.
20046 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20049 * debug/segfault.c: Don't include <bp-checks.h>.
20050 * sysdeps/generic/bp-checks.h: Remove file.
20051 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20052 (__GETDENTS): Don't use CHECK_N.
20053 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20054 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20055 (__getgroups): Don't use CHECK_N.
20056 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20057 (setgroups): Don't use CHECK_N.
20058 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20059 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20060 (__libc_msgrcv): Don't use CHECK_N.
20061 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20062 (__libc_msgsnd): Don't use CHECK_N.
20063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20065 (__libc_pread): Don't use CHECK_N.
20066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20067 include <bp-checks.h>.
20068 (__libc_pread64): Don't use CHECK_N.
20069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20070 include <bp-checks.h>.
20071 (__libc_pwrite): Don't use CHECK_N.
20072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20073 include <bp-checks.h>.
20074 (__libc_pwrite64): Don't use CHECK_N.
20075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20077 (__libc_pread): Don't use CHECK_N.
20078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20079 include <bp-checks.h>.
20080 (__libc_pread64): Don't use CHECK_N.
20081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20082 include <bp-checks.h>.
20083 (__libc_pwrite): Don't use CHECK_N.
20084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20085 include <bp-checks.h>.
20086 (__libc_pwrite64): Don't use CHECK_N.
20087 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20088 (do_pread): Don't use CHECK_N.
20089 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20090 (do_pread64): Don't use CHECK_N.
20091 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20092 (do_pwrite): Don't use CHECK_N.
20093 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20094 (do_pwrite64): Don't use CHECK_N.
20095 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20096 (__libc_readv): Don't use CHECK_N.
20097 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20098 (semop): Don't use CHECK_N.
20099 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20101 (semtimedop): Don't use CHECK_N.
20102 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20103 (__libc_pread): Don't use CHECK_N.
20104 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20106 (__libc_pread64): Don't use CHECK_N.
20107 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20109 (__libc_pwrite): Don't use CHECK_N.
20110 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20112 (__libc_pwrite64): Don't use CHECK_N.
20113 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20115 (__libc_msgrcv): Don't use CHECK_N.
20116 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20117 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20118 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20119 (__libc_writev): Don't use CHECK_N.
20121 2013-02-08 Roland McGrath <roland@hack.frob.com>
20123 * string/strcpy.c: Removed unused variable.
20125 * Makeconfig (+sysdep-includes): Define with := rather than =.
20126 Use an existing include/ subdir of each sysdeps dir before it.
20128 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20130 * nscd/connection.c (register_traced_file): Comment function.
20131 [HAVE_INOTIFY] (union __inev): Define.
20132 [HAVE_INOTIFY] (inotify_check_files): New function.
20133 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20134 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20136 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20138 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20140 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20141 loaded if not already and that a failure is permanent.
20143 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20146 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20147 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20149 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20152 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20153 (CHECK_1_NULL_OK): Likewise.
20154 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20155 (__fxstat): Do not use CHECK_1.
20156 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20158 (___fxstat64): Do not use CHECK_1.
20159 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20161 (__fxstatat): Do not use CHECK_1.
20162 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20164 (__fxstatat64): Do not use CHECK_1.
20165 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20167 (__fxstat): Do not use CHECK_1.
20168 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20170 (__fxstatat): Do not use CHECK_1.
20171 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20173 (__getresgid): Do not use CHECK_1.
20174 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20176 (__getresuid): Do not use CHECK_1.
20177 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20179 (__lxstat): Do not use CHECK_1.
20180 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20182 (__old_msgctl): Do not use CHECK_1.
20183 (__new_msgctl): Likewise.
20184 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20186 (__new_setrlimit): Do not use CHECK_1.
20187 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20189 (__old_shmctl): Do not use CHECK_1.
20190 (__new_shmctl): Likewise.
20191 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20193 (__xstat): Do not use CHECK_1.
20194 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20195 (__lxstat): Do not use CHECK_1.
20196 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20198 (___lxstat64): Do not use CHECK_1.
20199 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20200 (__old_msgctl): Do not use CHECK_1.
20201 (__new_msgctl): Likewise.
20202 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20204 (__gettimeofday): Do not use CHECK_1.
20205 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20206 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20207 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20209 (__gettimeofday): Do not use CHECK_1.
20210 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20211 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20212 (__new_shmctl): Do not use CHECK_1.
20213 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20215 (do_sigtimedwait): Do not use CHECK_1.
20216 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20218 (do_sigwaitinfo): Do not use CHECK_1.
20219 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20221 (msgctl): Do not use CHECK_1.
20222 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20224 (shmctl): Do not use CHECK_1.
20225 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20226 (ustat): Do not use CHECK_1.
20227 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20229 (__fxstat): Do not use CHECK_1.
20230 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20232 (__fxstatat): Do not use CHECK_1.
20233 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20235 (__lxstat): Do not use CHECK_1.
20236 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20238 (__xstat): Do not use CHECK_1.
20239 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20240 (__xstat): Do not use CHECK_1.
20241 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20242 (___xstat64): Do not use CHECK_1.
20245 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20247 (CHECK_BOUNDS_HIGH): Likewise.
20248 * string/strcpy.c: Do not include <bp-checks.h>.
20249 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20251 2013-02-07 Roland McGrath <roland@hack.frob.com>
20253 * nscd/nscd-client.h (__nscd_drop_map_ref):
20254 Add __attribute__ ((unused)).
20255 * nis/nss-nisplus.h (niserr2nss): Likewise.
20257 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20258 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20260 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20261 Remove inline keyword.
20262 * include/rounding-mode.h (round_away): Likewise.
20263 * libio/wfileops.c (adjust_wide_data): Likewise.
20264 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20265 (__m128i_strloadu_tolower): Likewise.
20266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20267 (__m128i_strloadu_tolower): Likewise.
20268 * time/mktime.c (ydhms_diff): Likewise.
20269 * locale/elem-hash.h (elem_hash): Likewise.
20270 * locale/setlocale.c (setdata): Likewise.
20271 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20272 (re_string_wchar_at): Likewise.
20273 (bitset_not, bitset_merge, bitset_mask): Likewise.
20274 [!(__GNUC__ > 3)] (inline): Remove macro.
20275 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20276 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20277 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20278 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20279 * string/memcmp.c (memcmp_bytes): Likewise.
20280 * locale/programs/locarchive.c (compute_hashval): Likewise.
20281 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20282 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20283 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20284 * nss/getent.c (print_rpc, print_protocols): Likewise.
20285 (print_passwd, print_group, print_aliases): Likewise.
20286 * nis/nss-nisplus.h (niserr2nss): Likewise.
20287 * nscd/connections.c (restart_p): Likewise.
20288 Change return type to bool.
20290 2013-02-05 Roland McGrath <roland@hack.frob.com>
20292 * Makeconfig (all-Depend-files): Add existing
20293 $(sorted-subdirs:=/Depend) files.
20294 (all-subdirs): Remove nss.
20295 * sysdeps/unix/inet/Subdirs: Add it here instead.
20296 * hesiod/Depend: New file.
20298 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20299 instead of calling alloca.
20301 * io/lseek.c (__lseek): Rename to __libc_lseek.
20302 Define __lseek as an alias.
20304 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20306 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20308 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20309 else clause and remove check for non-standard endianness.
20311 2013-02-04 David S. Miller <davem@davemloft.net>
20313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20315 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20318 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20319 (__ubp_memchr): Remove prototype.
20320 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20321 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20322 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20323 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20324 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20326 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20327 (__ubp_memchr): Likewise.
20328 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20329 (__ubp_memchr): Likewise.
20330 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20331 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20332 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20333 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20335 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20336 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20337 (__getcwd): Do not use CHECK_STRING.
20338 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20340 (__real_chown): Do not use CHECK_STRING.
20341 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20343 (fchownat): Do not use CHECK_STRING.
20344 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20346 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20348 (__lchown): Do not use CHECK_STRING.
20349 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20350 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20351 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20352 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20354 include <bp-checks.h>.
20355 (truncate64): Do not use CHECK_STRING.
20356 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20358 (__real_chown): Do not use CHECK_STRING.
20359 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20361 (__lchown): Do not use CHECK_STRING.
20362 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20364 (__chown): Do not use CHECK_STRING.
20365 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20367 (truncate64): Do not use CHECK_STRING.
20368 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20370 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20371 (__xmknod): Do not use CHECK_STRING.
20372 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20374 (__xmknodat): Do not use CHECK_STRING.
20375 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20376 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20378 2013-02-04 Andreas Schwab <schwab@suse.de>
20381 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20382 * include/netdb.h: Likewise for h_errno.
20383 * elf/tst-stackguard1.c: Include <tls.h>.
20385 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20387 * elf/link.h (struct link_map): Extend the l_addr comment.
20388 * include/link.h (struct link_map): Likewise.
20390 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20393 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20394 (BOUNDED_1): Remove macro.
20395 * debug/backtrace.c: Don't include <bp-checks.h>.
20396 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20397 (__backtrace): Likewise.
20398 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20400 (__backtrace): Don't use BOUNDED_1.
20401 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20403 (__backtrace): Don't use BOUNDED_1.
20404 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20405 (__backtrace): Don't use BOUNDED_1.
20406 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20407 (shmat): Don't use BOUNDED_N.
20409 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20412 * sysdeps/generic/bp-start.h: Remove file.
20413 * csu/libc-start.c: Don't include <bp-start.h>.
20414 (LIBC_START_MAIN): Set up __environ directly instead of using
20415 INIT_ARGV_and_ENVIRON.
20416 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20420 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20422 (CHECK_FCNTL): Likewise.
20423 (CHECK_N_PAGES): Likewise.
20426 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20428 (CHECK_SIGSET_NULL_OK): Likewise.
20429 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20431 (sigpending): Don't use CHECK_SIGSET.
20432 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20434 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20435 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20437 (do_sigsuspend): Don't use CHECK_SIGSET.
20438 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20440 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20441 (do_sigwait): Don't use CHECK_SIGSET.
20442 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20444 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20445 include <bp-checks.h>.
20446 (sigpending): Don't use CHECK_SIGSET.
20447 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20448 include <bp-checks.h>.
20449 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20450 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20452 (sigpending): Don't use CHECK_SIGSET.
20453 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20455 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20458 * sysdeps/generic/bp-semctl.h: Remove file.
20459 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20460 <bp-checks.h> and <bp-semctl.h>.
20461 (__old_semctl): Don't use CHECK_SEMCTL.
20462 (__new_semctl): Likewise.
20463 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20465 (__old_semctl): Don't use CHECK_SEMCTL.
20466 (__new_semctl): Likewise.
20467 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20468 <bp-checks.h> and <bp-semctl.h>.
20469 (__old_semctl): Don't use CHECK_SEMCTL.
20470 (__new_semctl): Likewise.
20471 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20472 <bp-checks.h> and <bp-semctl.h>.
20473 (semctl): Don't use CHECK_SEMCTL.
20476 * Makerules (elide-bp-thunks): Remove variable.
20477 (elide-routines.oS): Don't use $(elide-bp-thunks).
20478 (elide-routines.os): Likewise.
20479 (elide-routines.o): Likewise.
20480 (elide-routines.op): Likewise.
20481 (elide-routines.og): Likewise.
20482 (objects): Don't use $(bp-thunks).
20483 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20485 (common-generated): Do not add s-proto-bp.d.
20486 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20489 Do not generate makefile rules for bounded-pointer thunks.
20490 * sysdeps/generic/bp-thunks.h: Remove file.
20491 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20492 * sysdeps/unix/s-proto-bp.S: Likewise.
20495 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20496 parts of result separately when argument is not close to line from
20497 -i to i and one part of argument is small.
20498 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20499 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20500 * math/libm-test.inc (cacos_test): Add more tests.
20501 (casin_test): Likewise.
20502 (casinh_test): Likewise.
20503 * sysdeps/i386/fpu/libm-test-ulps: Update.
20504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20506 2013-01-31 David S. Miller <davem@davemloft.net>
20508 * po/de.po: Update from translation team.
20510 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20512 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20514 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20516 * configure.in (_AC_PROG_CC_C89): New definition.
20517 * configure: Regenerate.
20519 * configure.in (AC_PROG_CPP): New definition.
20520 * configure: Regenerate.
20522 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20524 * debug/tst-backtrace.h: New file.
20525 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20526 (ret): Remove variable.
20528 (FAIL): Remove macro.
20529 (NO_INLINE): Likewise.
20530 (fn1): Use match function instead of strstr.
20531 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20532 (ret): Remove variable.
20534 (FAIL): Remove macro.
20535 (NO_INLINE): Likewise.
20536 (fn): Use match function instead of strstr.
20537 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20538 (ret): Remove variable.
20540 (FAIL): Remove macro.
20541 (NO_INLINE): Likewise.
20542 (handle_signal): Use match function instead of strstr.
20543 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20544 (ret): Remove variable.
20546 (FAIL): Remove macro.
20547 (NO_INLINE): Likewise.
20548 (handle_signal): Use match function instead of strstr.
20550 2013-01-23 Roland McGrath <roland@hack.frob.com>
20552 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20554 2013-01-23 David S. Miller <davem@davemloft.net>
20556 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20557 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20558 argument of CAS if possible.
20559 * sysdeps/sparc/sparc64/bits/atomic.h
20560 (__arch_compare_and_exchange_val_32_acq): Likewise.
20561 (__arch_compare_and_exchange_val_64_acq): Likewise.
20563 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20565 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20566 * sysdeps/posix/ulimit.c: ... this.
20567 Include <limits.h>.
20568 * sysdeps/unix/bsd/ulimit.c: Remove file.
20570 2013-01-23 Adam Conrad <adconrad@0c3.net>
20572 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20573 (LDFLAGS-tst-array5): Likewise.
20575 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20578 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20579 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20580 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20581 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20583 2013-01-21 David S. Miller <davem@davemloft.net>
20585 * sysdeps/sparc/backtrace.c: New file.
20586 * sysdeps/sparc/sparc32/backtrace.h: New file.
20587 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20588 * sysdeps/sparc/sparc64/backtrace.h: New file.
20589 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20590 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20593 2013-01-21 Andreas Schwab <schwab@suse.de>
20596 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20599 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20605 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20606 Mark Mitchell <mark@codesourcery.com>
20607 Tom de Vries <tom@codesourcery.com>
20608 Paul Pluzhnikov <ppluzhnikov@google.com>
20610 * debug/tst-backtrace2.c: New file.
20611 * debug/tst-backtrace3.c: Likewise.
20612 * debug/tst-backtrace4.c: Likewise.
20613 * debug/tst-backtrace5.c: Likewise.
20614 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20615 (CFLAGS-tst-backtrace3.c): Likewise.
20616 (CFLAGS-tst-backtrace4.c): Likewise.
20617 (CFLAGS-tst-backtrace5.c): Likewise.
20618 (LDFLAGS-tst-backtrace2): Likewise.
20619 (LDFLAGS-tst-backtrace3): Likewise.
20620 (LDFLAGS-tst-backtrace4): Likewise.
20621 (LDFLAGS-tst-backtrace5): Likewise.
20622 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20623 tst-backtrace4 and tst-backtrace5.
20625 2013-01-18 Anton Blanchard <anton@samba.org>
20626 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20628 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20629 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20630 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20631 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20633 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20634 "+r" and remove output regs list as redundant. Add explicit inline
20635 asm to specify register of return val to work around compiler codegen
20636 bug. Remove (int) cast on return value. Add return type parameter to
20637 use in macro so that this macro does not truncate return value for
20639 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20640 pass to INTERNAL_VSYSCALL_NCS.
20641 (INLINE_VSYSCALL): Add 'long int' as return type to
20642 INTERNAL_VSYSCALL_NCS macro invocation.
20643 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20644 INTERNAL_VSYSCALL_NCS macro invocation.
20645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20647 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20650 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20651 Fix application of SIMD FP exception mask.
20653 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20654 mp_no from a power of two.
20655 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20656 __mpexp_twomm1. Use __pow_mp.
20658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20661 2013-01-17 David S. Miller <davem@davemloft.net>
20663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20665 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20668 * include/complex.h: Condition contents on [!_COMPLEX_H].
20669 (__kernel_casinhf): New prototype.
20670 (__kernel_casinh): Likewise.
20671 (__kernel_casinhl): Likewise.
20672 * math/Makefile (libm_calls): Add k_casinh.
20673 * math/k_casinh.c: New file.
20674 * math/k_casinhf.c: Likewise.
20675 * math/k_casinhl.c: Likewise.
20676 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20677 finite nonzero arguments.
20678 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20679 finite nonzero arguments.
20680 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20681 finite nonzero arguments.
20682 * math/s_casinh.c: Do not include <float.h>.
20683 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20684 * math/s_casinhf.c: Do not include <float.h>.
20685 (__casinhf): Move code for finite nonzero arguments to
20687 * math/s_casinhl.c: Do not include <float.h>.
20688 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20690 (__casinhl): Move code for finite nonzero arguments to
20692 * math/libm-test.inc (cacos_test): Add more tests.
20693 * sysdeps/i386/fpu/libm-test-ulps: Update.
20694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20696 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20698 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20699 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20700 [!HAVE_MREMAP]: Remove [defined linux] case.
20701 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20703 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20705 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20707 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20709 * elf/elf.h (R_386_SIZE32): New relocation.
20710 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20712 (elf_machine_rela): Likewise.
20713 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20714 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20716 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20718 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20719 (FP_FAST_FMA): Do not define.
20720 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20721 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20722 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20723 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20724 !_SOFT_FLOAT]: Likewise.
20725 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20726 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20728 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20729 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20730 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20731 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20732 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20733 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20736 2013-01-16 Andreas Schwab <schwab@suse.de>
20739 * include/stdlib.h (__mktemp): Add declaration.
20740 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20741 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20743 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20745 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20747 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20748 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20749 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20751 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20752 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20754 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20756 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20757 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20758 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20760 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20761 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20763 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20765 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20767 2013-01-15 David S. Miller <davem@davemloft.net>
20769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20770 trunc{,f} to libm-sysdep_routes.
20771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20781 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20782 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20783 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20784 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20785 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20786 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20789 nearbyint{,f} to libm-sysdep_routes.
20790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20801 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20803 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20804 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20806 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20807 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20808 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20810 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20811 libc_feholdexcept and libc_fesetenv.
20813 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20815 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20817 2013-01-14 David S. Miller <davem@davemloft.net>
20819 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20820 (SPARC_ASM_VIS2_IFUNC): Likewise.
20821 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20823 use of 'siam' instruction.
20824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20857 routines to libm-sysdep_routines.
20858 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20861 fdim/fdimf to libm-sysdep_routines.
20862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20870 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20871 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20872 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20873 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20875 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20877 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20878 to optimize copies.
20880 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20885 local variable MPTWO.
20886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20889 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20891 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20894 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20896 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20898 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20900 * manual/pattern.texi (glob_t): Document gl_flags.
20901 (glob64_t): Likewise.
20903 2013-01-11 David S. Miller <davem@davemloft.net>
20905 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20906 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20907 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20908 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20909 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20910 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20911 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20912 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20913 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20914 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20915 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20916 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20917 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20919 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20920 sparc V9 rather than using V8 code.
20921 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20922 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20924 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20926 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20929 2013-01-11 Roland McGrath <roland@hack.frob.com>
20931 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20932 not in the main loop.
20933 * configure: Regenerated.
20935 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20937 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20938 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20940 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20941 [!__GLIBC_HAVE_LONG_LONG] case.
20942 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20943 condition to just #else.
20944 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20945 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20946 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20947 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20949 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20950 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20951 #elif condition to just #else.
20952 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20953 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20954 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20955 #elif condition to just #else.
20957 2013-01-11 Steve Ellcey <sellcey@mips.com>
20959 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20960 (EF_MIPS_ARCH_64): Fix value.
20961 (EF_MIPS_ARCH_32R2): New.
20962 (EF_MIPS_ARCH_64R2): New.
20964 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20966 * Makeconfig (+link-pie-before-libc): New.
20967 (+link-pie-after-libc): Likewise.
20968 (+link-pie-tests): Likewise.
20969 (+link-pie): Rewritten.
20970 (link-before-libc): Remove $(config-LDFLAGS).
20971 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20972 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20973 (config-LDFLAGS): Renamed to ...
20974 (rtld-LDFLAGS): This.
20975 (rtld-tests-LDFLAGS): New macro.
20976 (link-libc-rpath-link): Likewise.
20977 (link-libc-tests-rpath-link): Likewise.
20978 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20979 (link-libc): Prepand $(link-libc-rpath-link).
20980 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20981 (test-program-prefix): New macro.
20982 (test-via-rtld-prefix): Likewise.
20983 (test-program-cmd): Likewise.
20984 (host-test-program-cmd): Likewise.
20985 * Makefile ($(common-objpfx)testrun.sh): Replace
20986 $(run-program-prefix) with $(test-program-prefix).
20987 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20989 ($(common-objpfx)shlib.lds): Likewise.
20990 (build-module-helper): Likewise.
20991 ($(common-objpfx)format.lds): Likewise.
20992 * Rules (binaries-pie-tests): New.
20993 (binaries-pie-notests): Likewise.
20994 (binaries-pie): Rewritten.
20995 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20996 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20997 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20998 (make-test-out): Replace $(host-built-program-cmd) with
20999 $(host-test-program-cmd).
21000 * config.make.in (build-hardcoded-path-in-tests): New variable.
21001 * configure.in (--enable-hardcoded-path-in-tests): New configure
21003 (hardcoded_path_in_tests): New AC_SUBST.
21004 * configure: Regenerated.
21005 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21006 $(built-program-cmd) with $(test-program-cmd).
21007 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21008 (test_program_cmd): This.
21009 * elf/Makefile ($(objpfx)order.out): Run test with
21010 $(test-program-prefix).
21011 ($(objpfx)order2.out): Likewise.
21012 ($(objpfx)tst-initorder.out): Likewise.
21013 ($(objpfx)tst-initorder2.out): Likewise.
21014 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21015 $(test-program-cmd).
21016 ($(objpfx)tst-array1-static.out): Likewise.
21017 ($(objpfx)tst-array2.out): Likewise.
21018 ($(objpfx)tst-array3.out): Likewise.
21019 ($(objpfx)tst-array4.out): Likewise.
21020 ($(objpfx)tst-array5.out): Likewise.
21021 ($(objpfx)tst-array5-static.out): Likewise.
21022 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21023 $(test-program-cmd).
21024 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21025 $(run-program-prefix) with $(test-program-prefix).
21026 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21027 (test_program_prefix): This.
21028 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21029 $(run-program-prefix) with $(test-program-prefix).
21030 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21031 (test_program_prefix): This.
21032 * iconvdata/tst-tables.sh: Likewise.
21033 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21034 $(run-program-prefix) with $(test-program-prefix).
21035 ($(objpfx)tst-translit.out): Likewise.
21036 ($(objpfx)tst-gettext2.out): Likewise.
21037 ($(objpfx)tst-gettext4.out): Likewise.
21038 ($(objpfx)tst-gettext6.out): Likewise.
21039 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21040 (test_program_prefix): This.
21041 * intl/tst-gettext2.sh: Likewise.
21042 * intl/tst-gettext4.sh Likewise.
21043 * intl/tst-gettext6.sh: Likewise.
21044 * intl/tst-translit.sh: Likewise.
21045 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21046 with $(test-program-cmd).
21047 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21048 $(run-program-prefix) with $(test-program-prefix).
21049 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21050 (test_program_prefix): This.
21051 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21052 $(run-program-prefix) with $(test-program-prefix).
21053 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21054 (test_program_prefix): This.
21055 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21056 * posix/Makefile ($(objpfx)globtest.out): Replace
21057 $(run-via-rtld-prefix) and $(test-wrapper) with
21058 $(test-program-prefix) and $(test-via-rtld-prefix).
21059 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21060 $(test-program-prefix).
21061 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21062 $(host-test-program-cmd).
21063 (tst-spawn-ARGS): Likewise.
21064 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21065 $(test-program-prefix).
21066 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21067 (test_via_rtld_prefix): This.
21068 (test_wrapper): Renamed to ...
21069 (test_program_prefix): This.
21070 (run_program_prefix): Replaced by test_program_prefix.
21071 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21072 (test_program_prefix): This.
21073 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21074 with $(host-test-program-cmd).
21075 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21076 $(run-program-prefix) with $(test-program-prefix).
21077 ($(objpfx)tst-printf.out): Likewise.
21078 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21079 $(test-program-cmd).
21080 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21081 (test_program_prefix): This.
21082 * stdio-common/tst-unbputc.sh: Likewise.
21083 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21084 $(run-program-prefix) with $(test-program-prefix).
21085 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21086 (test_program_prefix): This.
21087 * string/Makefile ($(objpfx)tst-svc.out): Replace
21088 $(built-program-cmd) with $(test-program-cmd).
21090 2013-01-11 Andreas Jaeger <aj@suse.de>
21093 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21094 value. Sync with Linux 3.7.
21096 2013-01-10 David S. Miller <davem@davemloft.net>
21098 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21099 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21100 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21102 2013-01-10 Roland McGrath <roland@hack.frob.com>
21104 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21106 * configure: Regenerated.
21108 2013-01-10 David S. Miller <davem@davemloft.net>
21110 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21111 sparc V9 rather than using V8 code.
21112 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21113 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21115 2013-01-10 Roland McGrath <roland@hack.frob.com>
21117 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21118 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21119 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21120 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21121 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21122 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21123 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21124 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21125 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21126 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21127 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21128 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21129 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21130 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21131 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21132 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21133 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21134 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21135 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21136 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21137 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21138 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21139 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21140 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21141 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21142 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21143 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21145 2013-01-10 David S. Miller <davem@davemloft.net>
21147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21149 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21151 * posix/Makefile (tests-static): New variable.
21152 (tests): Add $(tests-static).
21153 (tst-exec-static-ARGS): New variable.
21154 (tst-spawn-static-ARGS): Likewise.
21155 * posix/tst-exec-static.c: New file.
21156 * posix/tst-spawn-static.c: Likewise.
21157 * posix/tst-exec.c: Support run directly.
21158 * posix/tst-spawn.c: Likewise.
21160 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21162 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21164 * math/bits/mathcalls.h (llrint): Likewise.
21165 (llround): Likewise.
21166 * stdlib/stdlib.h (struct drand48_data): Likewise.
21167 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21168 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21169 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21171 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21173 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21174 (elf_greg_t): Likewise.
21175 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21176 (__jmp_buf): Likewise.
21177 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21179 (llrint): Likewise, for all definitions.
21180 (llrintl): Likewise.
21182 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21183 Remove [__GNUC__] condition.
21184 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21185 condition to just [__USE_ISOC99].
21186 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21188 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21191 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21192 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21194 (_POSIX_V6_ILP32_OFF32): Likewise.
21195 (_XBS5_ILP32_OFF32): Likewise.
21196 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21197 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21199 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21201 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21204 doubles __mpexp_twomm1. Adjust usage.
21205 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21208 2013-01-10 Andreas Schwab <schwab@suse.de>
21211 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21212 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21214 2013-01-09 David S. Miller <davem@davemloft.net>
21217 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21218 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21219 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21220 (TCP_FASTOPEN): Define.
21221 (tcp_repair_opt): New structure.
21222 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21224 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21225 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21226 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21227 (tcp_cookie_transactions): New structure.
21229 2013-01-09 Anton Blanchard <anton@samba.org>
21231 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21232 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21233 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21234 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21236 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21238 * include/features.h (__USE_ANSI): Remove.
21240 2013-01-09 Roland McGrath <roland@hack.frob.com>
21242 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21244 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21246 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21248 * sysdeps/s390/fpu/libm-test-ulps: Update.
21250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21252 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21256 (denorm): Likewise.
21257 (__mp_dbl): Likewise.
21258 (__dbl_mp): Likewise.
21259 (add_magnitudes): Likewise.
21260 (sub_magnitudes): Likewise.
21266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21270 (denorm): Likewise.
21271 (__mp_dbl): Likewise.
21272 (__dbl_mp): Likewise.
21273 (add_magnitudes): Likewise.
21274 (sub_magnitudes): Likewise.
21280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21284 (denorm): Likewise.
21285 (__mp_dbl): Likewise.
21286 (__dbl_mp): Likewise.
21287 (add_magnitudes): Likewise.
21288 (sub_magnitudes): Likewise.
21295 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21297 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21298 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21299 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21300 2 && __USE_EXTERN_INLINES]: Likewise.
21302 2013-01-08 Andreas Jaeger <aj@suse.de>
21305 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21307 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21308 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21310 2013-01-07 Anton Blanchard <anton@samba.org>
21312 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21313 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21314 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21315 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21316 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21317 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21318 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21319 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21321 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21322 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21323 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21324 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21325 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21326 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21327 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21328 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21329 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21330 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21331 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21332 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21333 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21334 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21335 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21336 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21337 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21338 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21339 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21340 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21341 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21342 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21344 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21345 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21346 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21347 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21348 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21349 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21350 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21351 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21352 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21353 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21354 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21356 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21358 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21359 (__MALLOC_PMT): Likewise.
21360 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21361 [__GNUC__], only on [_LIBC].
21362 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21363 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21364 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21365 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21366 forward declaration.
21367 (realloc_hook_ini): Likewise.
21368 (memalign_hook_ini): Likewise.
21369 (__libc_memalign): Do not use __MALLOC_PMT in variable
21371 (__libc_valloc): Likewise.
21372 (__libc_pvalloc): Likewise.
21373 (__libc_calloc): Likewise.
21374 (__posix_memalign): Likewise.
21377 * math/s_casinh.c: Include <float.h>.
21378 (__casinh): Do not do computation with squaring and square root
21379 for large arguments.
21380 * math/s_casinhf.c: Include <float.h>.
21381 (__casinhf): Do not do computation with squaring and square root
21382 for large arguments.
21383 * math/s_casinhl.c: Include <float.h>.
21384 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21385 (__casinhl): Do not do computation with squaring and square root
21386 for large arguments.
21387 * math/libm-test.inc (casin_test): Add more tests.
21388 (casinh_test): Likewise.
21389 * sysdeps/i386/fpu/libm-test-ulps: Update.
21390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21392 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21394 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21395 (__x86_64_raw_data_cache_size): Likewise.
21396 (__x86_64_data_cache_size_half): Likewise.
21397 (__x86_64_raw_data_cache_size_half): Likewise.
21398 (__x86_64_shared_cache_size): Likewise.
21399 (__x86_64_raw_shared_cache_size): Likewise.
21400 (__x86_64_shared_cache_size_half): Likewise.
21401 (__x86_64_raw_shared_cache_size_half): Likewise.
21402 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21404 (__x86_data_cache_size): This.
21405 (__x86_64_raw_data_cache_size): Renamed to ...
21406 (__x86_raw_data_cache_size): This.
21407 (__x86_64_data_cache_size_half): Renamed to ...
21408 (__x86_data_cache_size_half): This.
21409 (__x86_64_raw_data_cache_size_half): Renamed to ...
21410 (__x86_raw_data_cache_size_half): This.
21411 (__x86_64_shared_cache_size): Renamed to ...
21412 (__x86_shared_cache_size): This.
21413 (__x86_64_raw_shared_cache_size): Renamed to ...
21414 (__x86_raw_shared_cache_size): This.
21415 (__x86_64_shared_cache_size_half): Renamed to ...
21416 (__x86_shared_cache_size_half): This.
21417 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21418 (__x86_raw_shared_cache_size_half): This.
21419 * sysdeps/x86_64/memcpy.S: Updated.
21420 * sysdeps/x86_64/memset.S: Likewise.
21421 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21422 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21425 2013-01-04 David S. Miller <davem@davemloft.net>
21427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21429 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21431 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21432 1 to avoid redefinition warning.
21433 (__USE_GNU): Don't define.
21434 (init_signaling_nan): Protoize.
21436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21438 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21440 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21441 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21442 (__cpymn): Likewise.
21443 (norm): Remove commented code.
21444 (denorm): Likewise.
21445 (__mp_dbl): Likewise.
21447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21448 (__cpymn): Likewise.
21449 (norm): Remove commented code.
21450 (denorm): Likewise.
21451 (__mp_dbl): Likewise.
21454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21455 mp_no value for 1.0 and 2.0.
21456 (norm): Use RADIXI instead of radixi.d.
21457 (denorm): Likewise.
21458 (__mul): Use 0.0 instead of zero.d.
21459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21460 mp_no value for 1.0 and 2.0.
21461 (norm): Use RADIXI instead of radixi.d.
21462 (denorm): Likewise.
21463 (__mul): Use 0.0 instead of zero.d.
21465 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21468 * math/s_casinh.c (__casinh): Reduce finite argument to first
21469 quadrant then set signs of results at the end.
21470 * math/s_casinhf.c (__casinhf): Likewise.
21471 * math/s_casinhl.c (__casinhl): Likewise.
21472 * math/libm-test.inc (casin_test): Add more tests.
21473 (casinh_test): Likewise.
21474 * sysdeps/i386/fpu/libm-test-ulps: Update.
21475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21477 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21479 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21481 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21483 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21485 (denorm): Likewise.
21486 (__mp_dbl): Likewise.
21489 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21490 and adjust the header comment.
21492 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21493 variable name from declaration.
21495 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21498 Initialize COMMON_CPUID_INDEX_7 element.
21499 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21500 (CPUID_RTM): Likewise.
21501 (HAS_RTM): Likewise.
21502 (COMMON_CPUID_INDEX_7): New enum.
21504 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21507 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21508 size is zero, record memory as freed.
21510 2013-01-03 Andreas Jaeger <aj@suse.de>
21512 * po/ia.po: Add new Interlingua translation.
21514 2012-01-03 Allan McRae <allan@archlinux.org>
21516 * locale/programs/localedef.c: Fix description of '--posix' flag.
21518 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21520 * NEWS: Update dates in second copyright notice.
21521 * README: Update copyright dates in example.
21522 * manual/libc.texinfo: Update copyright dates.
21523 * scripts/test-installation.pl: Update copyright date in --version
21526 * hurd/ctty-input.c: Fix copyright notice formatting.
21527 * hurd/ctty-output.c: Likewise.
21528 * hurd/dtable.c: Likewise.
21529 * hurd/hurd-raise.c: Likewise.
21530 * hurd/hurdprio.c: Likewise.
21531 * hurd/msgportdemux.c: Likewise.
21532 * misc/sys/file.h: Likewise.
21533 * misc/sys/ioctl.h: Likewise.
21534 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21535 * sysdeps/mach/hurd/chdir.c: Likewise.
21536 * sysdeps/mach/hurd/fchdir.c: Likewise.
21537 * sysdeps/mach/hurd/rename.c: Likewise.
21538 * sysdeps/mach/hurd/rmdir.c: Likewise.
21539 * sysdeps/mach/hurd/seekdir.c: Likewise.
21540 * sysdeps/mach/hurd/setsid.c: Likewise.
21541 * sysdeps/posix/wait3.c: Likewise.
21543 * All files with FSF copyright notices: Update copyright dates
21544 using scripts/update-copyrights.
21545 * intl/plural.c: Regenerated.
21546 * locale/programs/charmap-kw.h: Likewise.
21547 * locale/programs/locfile-kw.h: Likewise.
21549 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21551 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21554 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21555 calculation loop and add branch prediction.
21557 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21558 check access beyond bounds of m1np.
21560 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21562 (__inv): Remove local variable MPTWO to use the global
21564 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21565 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21567 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21568 MP3HALFS static const.
21570 2013-01-01 David S. Miller <davem@davemloft.net>
21572 * po/ca.po: Update from translation team.
21574 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21576 * scripts/update-copyrights: New file.
21577 * Makeconfig: Reformat copyright notice.
21578 * ctype/ctype.h: Likewise.
21579 * debug/swprintf_chk.c: Likewise.
21580 * elf/dl-cache.c: Likewise.
21581 * elf/dl-debug.c: Likewise.
21582 * elf/dl-object.c: Likewise.
21583 * grp/initgroups.c: Likewise.
21584 * hurd/Makefile: Likewise.
21585 * hurd/hurd/signal.h: Likewise.
21586 * hurd/hurdfault.c: Likewise.
21587 * hurd/hurdioctl.c: Likewise.
21588 * hurd/hurdlookup.c: Likewise.
21589 * hurd/intr-msg.c: Likewise.
21590 * iconv/gconv_open.c: Likewise.
21591 * libio/swprintf.c: Likewise.
21592 * locale/lc-ctype.c: Likewise.
21593 * locale/nl_langinfo.c: Likewise.
21594 * mach/Machrules: Likewise.
21595 * mach/Makefile: Likewise.
21596 * malloc/obstack.h: Likewise.
21597 * manual/Makefile: Likewise.
21598 * manual/tsort.awk: Likewise.
21599 * misc/bits/stab.def: Likewise.
21600 * nis/nis_print_group_entry.c: Likewise.
21601 * nis/nis_table.c: Likewise.
21602 * nis/nss_compat/compat-pwd.c: Likewise.
21603 * nis/nss_compat/compat-spwd.c: Likewise.
21604 * po/Makefile: Likewise.
21605 * posix/fnmatch.c: Likewise.
21606 * posix/regex.h: Likewise.
21607 * resolv/Makefile: Likewise.
21608 * resolv/nss_dns/dns-network.c: Likewise.
21609 * resolv/res_hconf.c: Likewise.
21610 * scripts/gen-sorted.awk: Likewise.
21611 * soft-fp/soft-fp.h: Likewise.
21612 * stdio-common/printf.h: Likewise.
21613 * stdlib/monetary.h: Likewise.
21614 * stdlib/random.c: Likewise.
21615 * stdlib/random_r.c: Likewise.
21616 * sysdeps/generic/Makefile: Likewise.
21617 * sysdeps/gnu/Makefile: Likewise.
21618 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21625 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21626 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21627 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21628 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21629 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21630 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21631 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21632 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21634 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21635 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21641 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21642 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21644 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21645 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21646 * sysdeps/mach/hurd/errnos.awk: Likewise.
21647 * sysdeps/mach/hurd/fork.c: Likewise.
21648 * sysdeps/mach/hurd/getcwd.c: Likewise.
21649 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21650 * sysdeps/mach/hurd/mmap.c: Likewise.
21651 * sysdeps/mach/hurd/utimes.c: Likewise.
21652 * sysdeps/mach/hurd/xmknod.c: Likewise.
21653 * sysdeps/posix/profil.c: Likewise.
21654 * sysdeps/posix/readdir_r.c: Likewise.
21655 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21656 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21657 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21658 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21660 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21661 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21662 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21664 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21665 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21666 * sysdeps/pthread/lio_listio.c: Likewise.
21667 * sysdeps/sparc/dl-procinfo.h: Likewise.
21668 * sysdeps/unix/i386/sysdep.S: Likewise.
21669 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21670 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21671 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21672 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21674 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21675 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21676 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21677 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21678 * sysdeps/wordsize-32/divdi3.c: Likewise.
21679 * time/sys/time.h: Likewise.
21680 * wcsmbs/Makefile: Likewise.
21682 2013-01-01 David S. Miller <davem@davemloft.net>
21684 * po/fr.po: Update from translation team.
21686 * catgets/gencat.c: Update copyright year.
21687 * csu/version.c: Likewise.
21688 * debug/catchsegv.sh: Likewise.
21689 * debug/pcprofiledump.c: Likewise.
21690 * debug/xtrace.sh: Likewise.
21691 * elf/ldconfig.c: Likewise.
21692 * elf/ldd.bash.in: Likewise.
21693 * elf/pldd.c: Likewise.
21694 * elf/sotruss.ksh: Likewise.
21695 * elf/sprof.c: Likewise.
21696 * iconv/iconv_prog.c: Likewise.
21697 * iconv/iconvconfig.c: Likewise.
21698 * locale/programs/locale.c: Likewise.
21699 * locale/programs/localedef.c: Likewise.
21700 * login/programs/pt_chown.c: Likewise.
21701 * malloc/memusage.sh: Likewise.
21702 * malloc/memusagestat.c: Likewise.
21703 * malloc/mtrace.pl: Likewise.
21704 * nscd/nscd.c: Likewise.
21705 * nss/getent.c: Likewise.
21706 * nss/makedb.c: Likewise.
21707 * posix/getconf.c: Likewise.
21709 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21711 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21714 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21716 * math/bits/mathcalls.h (modf): Use __nonnull.
21718 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21720 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21721 (split): Use macro CN instead of the bare value.
21722 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21724 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21725 instead of the bare value.
21726 (power1): Likewise.
21728 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21730 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21732 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21734 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21736 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21738 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21739 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21741 2012-12-28 Andreas Jaeger <aj@suse.de>
21743 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21744 values are from Linux 3.7.
21746 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21747 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21749 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21751 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21754 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21756 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21757 variables with preprocessor constants.
21758 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21759 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21760 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21762 2012-12-27 Bruno Haible <bruno@clisp.org>
21765 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21768 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21771 and use variable directly.
21772 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21774 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21776 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21777 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21779 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21781 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21782 include directive. Remove local variable MPONE.
21783 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21784 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21785 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21787 2012-12-25 David S. Miller <davem@davemloft.net>
21789 * version.h (RELEASE): Set to "development".
21790 (VERSION): Set to "2.17.90".
21791 * NEWS: Add 2.18 section.
21793 2012-12-21 David S. Miller <davem@davemloft.net>
21795 * po/hr.po: Update from translation team.
21797 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21799 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21801 2012-12-19 Steve Ellcey <sellcey@mips.com>
21803 * NEWS: Mention new memcpy for MIPS.
21805 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21807 * manual/contrib.texi (Contributors): Spelling correction.
21809 2012-12-15 David S. Miller <davem@davemloft.net>
21811 * po/ru.po: Update from translation team.
21813 2012-12-13 David S. Miller <davem@davemloft.net>
21815 * NEWS: Mention IFUNC testsuite enhancements.
21817 * po/pl.po: Update from translation team.
21818 * po/bg.po: Likewise.
21820 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21821 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21823 2012-12-11 David S. Miller <davem@davemloft.net>
21825 * po/sv.po: Update from translation team.
21827 * po/vi.po: Update from translation team.
21829 * po/cs.po: Update from translation team.
21831 * po/de.po: Update from translation team.
21832 * po/eo.po: Likewise.
21833 * po/nl.po: Likewise.
21835 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21838 * manual/argp.texi (Argp Helper Functions): Move node to follow
21839 Argp Parsing State.
21842 * manual/conf.texi (Limits on File System Capacity): Mention if
21843 terminating null is included in the max size.
21845 2012-12-10 Andreas Jaeger <aj@suse.de>
21847 * po/cs.po: Update from translation team.
21849 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21851 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21852 void pointer and cast to uintptr_t.
21853 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21855 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21856 * sysdeps/s390/s390-64/memset.S: Likewise.
21858 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21861 * menual/message.texi (Message Translation): Fix typos.
21862 (Helper programs for gettext): Likewise.
21864 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21867 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21870 2012-12-07 David S. Miller <davem@davemloft.net>
21872 * po/libc.pot: Update.
21874 2012-12-07 Richard Henderson <rth@redhat.com>
21877 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21878 normal/normal case to before the switch.
21879 (_FP_DIV): Likewise.
21881 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21882 Mike Frysinger <vapier@gentoo.org>
21884 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21885 check for __NR_fadvise64_64.
21887 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21889 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21890 0, not just to plain "0" as a statement.
21891 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21894 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21896 * NEWS: Use sourceware.org in Bugzilla URL.
21898 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21901 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21903 * stdio-common/tst-put-error.c (do_test): Add newline to the
21904 padded test to ensure flush.
21906 2012-12-05 Jeff Law <law@redhat.com>
21908 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21910 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21912 * README: Don't refer to ports add-on as distributed separately.
21913 Mention AArch64 in list of systems supported in the ports add-on.
21915 * LICENSES: Add more non-FSF copyright and license notices.
21917 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21920 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21922 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21923 10000 as width of padded output.
21925 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21927 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21929 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21930 variable LX with __attribute__ ((unused)).
21931 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21933 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21935 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21936 with __attribute__ ((unused)).
21938 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21940 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21942 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21944 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21945 (CFLAGS-nldbl-acos.c): New variable.
21946 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21947 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21948 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21949 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21950 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21951 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21952 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21953 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21954 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21955 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21956 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21957 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21958 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21959 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21960 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21961 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21962 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21963 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21964 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21965 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21966 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21967 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21968 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21969 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21970 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21971 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21972 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21973 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21974 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21975 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21976 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21977 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21978 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21979 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21980 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21981 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21982 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21983 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21984 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21985 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21986 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21987 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21988 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21989 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21990 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21991 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21992 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21993 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21994 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21995 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21996 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21997 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21998 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21999 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22000 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22001 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22002 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22003 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22004 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22005 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22006 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22007 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22008 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22009 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22010 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22011 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22012 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22013 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22014 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22015 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22016 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22017 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22018 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22019 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22020 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22021 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22022 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22023 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22024 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22025 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22026 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22027 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22028 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22029 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22030 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22031 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22032 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22033 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22034 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22035 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22036 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22037 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22038 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22039 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22040 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22041 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22042 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22045 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22049 whole low double instead of just low 47 bits when splitting values
22052 2012-12-03 Allan McRae <allan@archlinux.org>
22054 * manual/stdio.texi (Predefined Printf Handlers): Remove
22055 @hsep and @vsep usage.
22057 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22059 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22060 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22062 2012-12-03 Jeff Law <law@redhat.com>
22064 * time/sys/time.h (settimeofday): Do not mark TV argument
22067 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22069 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22070 when currently writing and seek to current position when not.
22071 * libio/Makefile (tests): Remove bug-fclose1.
22072 * libio/bug-fclose1.c: Delete.
22074 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22076 * manual/arith.texi (feenableexcept): Fix typo.
22077 (fedisableexcept): Likewise.
22079 2012-11-30 Roland McGrath <roland@hack.frob.com>
22081 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22082 second, differently-typed declaration, rather than a cast.
22084 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22086 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22087 * include/rpc/svc.h: ... here.
22089 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22092 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22093 depending n and resplen2 to catch cases where answer
22096 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22098 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22099 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22101 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22103 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22105 2012-11-29 Roland McGrath <roland@hack.frob.com>
22107 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22109 2012-11-28 Jeff Law <law@redhat.com>
22112 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22113 dataset_temporary. Track alloca usage into alloca_used.
22114 If dataset is large allocate and release it via malloc/free.
22116 2012-06-04 Florian Weimer <fweimer@redhat.com>
22119 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22121 2012-11-28 David S. Miller <davem@davemloft.net>
22123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22125 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22128 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22129 of pi/2 rounded to nearest to 64 bits.
22130 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22131 nearest to 64 bits.
22132 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22135 2012-11-28 Jeff Law <law@redhat.com>
22136 Martin Osvald <mosvald@redhat.com>
22139 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22140 * sunrpc/svc.c: Include time.h.
22141 (__svc_accept_failed): New function.
22142 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22143 any reason other than EINTR, call __svc_accept_failed.
22144 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22145 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22147 2012-11-28 Andreas Schwab <schwab@suse.de>
22149 * scripts/abilist.awk: Also handle indirect functions in .opd
22152 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22155 * sysdeps/x86/fpu/powl_helper.c: New file.
22156 * sysdeps/x86/fpu/Makefile: Likewise.
22157 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22159 (__ieee754_powl): Use __powl_helper for finite arguments except
22160 integer exponents below 8.
22161 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22163 (__ieee754_powl): Use __powl_helper for finite arguments except
22164 integer exponents below 8.
22165 * math/libm-test.inc (pow_test): Add more tests and enable some
22166 previously disabled tests.
22167 * sysdeps/i386/fpu/libm-test-ulps: Update.
22168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22170 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22171 Carlos O'Donell <carlos_odonell@mentor.com>
22173 * nss/makedb.c (is_prime): Assert that input is odd and greater
22174 than 4. Note that fact in a comment too.
22175 (next_prime): Add 4 to input.
22177 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22180 * libio/Makefile (tests): Add test case tst-fwrite-error.
22181 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22182 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22183 * libio/tst-fwrite-error.c: New test case.
22185 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22187 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22188 before casting to void *.
22189 * include/libc-internal.h (__pointer_type): New macro.
22190 (__integer_if_pointer_type_sub): Likewise.
22191 (__integer_if_pointer_type): Likewise.
22192 (cast_to_integer): Likewise.
22193 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22194 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22195 before casting to atomic64_t.
22196 (atomic_exchange_acq): Likewise.
22197 (__arch_exchange_and_add_body): Likewise.
22198 (__arch_add_body): Likewise.
22199 (atomic_add_negative): Likewise.
22200 (atomic_add_zero): Likewise.
22202 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22204 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22205 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22206 (add_fdes): Likewise.
22207 (linear_search_fdes): Likewise.
22208 (binary_search_unencoded_fdes): Likewise.
22210 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22212 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22214 2012-11-24 Adam Conrad <adconrad@0c3.net>
22216 * configure.in: Autodetect C++ header directories.
22217 * configure: Regenerated.
22219 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22221 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22223 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22227 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22229 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22230 LDBL_MANT_DIG == 106]: Disable some tests.
22231 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22233 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22237 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22238 input for small inputs. Return +/- pi/2 for large inputs.
22239 * math/libm-test.inc (atan_test): Add more tests.
22241 * sysdeps/generic/unwind-dw2-fde-glibc.c
22242 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22243 __attribute__ ((unused)).
22246 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22247 x * y if x and y are nonzero and z is zero.
22250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22251 nonzero exponents with absolute value below 0x1p-117 to +/-
22255 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22256 up arguments below 2**-450, not just those below 2**-500.
22257 * math/libm-test.inc (hypot_test): Add another test.
22260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22261 Return a+b for ratio over 2**120, not 2**60.
22262 * math/libm-test.inc (hypot_test): Add another test.
22264 * math/libm-test.inc (clog_test): Use
22265 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22266 (clog10_test): Likewise.
22269 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22271 2012-11-22 Andreas Schwab <schwab@suse.de>
22273 * sysdeps/i386/fpu/libm-test-ulps: Update.
22275 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22277 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22278 printf output with newline.
22280 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22283 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22284 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22285 -z nodlopen, -z initfirst and -z execstack support.
22286 * configure: Regenerated.
22288 * elf/elf.h (DF_1_NODIRECT): New macro.
22289 (DF_1_IGNMULDEF): Likewise.
22290 (DF_1_NOKSYMS): Likewise.
22291 (DF_1_NOHDR): Likewise.
22292 (DF_1_EDITED): Likewise.
22293 (DF_1_NORELOC): Likewise.
22294 (DF_1_SYMINTPOSE): Likewise.
22295 (DF_1_GLOBAUDIT): Likewise.
22296 (DF_1_SINGLETON): Likewise.
22297 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22298 DT_1_SUPPORTED_MASK bits.
22299 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22301 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22303 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22305 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22307 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22310 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22311 (sendmmsg): Move declarations...
22312 * socket/sys/socket.h: ... here.
22313 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22314 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22316 * socket/recvmmsg.c: ... this new file.
22317 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22318 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22319 definition of __sendmmsg hidden.
22320 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22321 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22322 Move ENOSYS stub into and include it from...
22323 * socket/sendmmsg.c: ... this new file.
22324 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22325 (sysdep_routines): Move recvmmsg and sendmmsg...
22326 * socket/Makefile (routines): ... here.
22327 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22328 (GLIBC_PRIVATE): Add __sendmmsg.
22329 * include/sys/socket.h (__sendmmsg): Add declarations.
22330 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22333 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22335 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22336 variable I1 with __attribute__ ((unused)).
22337 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22339 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22341 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22342 DUMMY variables with __attribute__ ((unused)).
22344 * bits/byteswap.h: Include <bits/types.h>.
22345 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22347 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22349 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22350 string_t. Do not manually set errno.
22351 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22352 length with __strnlen. Make sure to both set errno and return it on
22355 2012-11-19 David S. Miller <davem@davemloft.net>
22357 With help from Joseph Myers.
22358 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22359 very large arguments properly.
22360 * math/libm-test.inc (atan_test): New tests.
22361 (atan2_test): New tests.
22362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22365 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22368 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22371 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22372 [POSIX] (EADDRNOTAVAIL): Likewise.
22373 [POSIX] (EAFNOSUPPORT): Likewise.
22374 [POSIX] (EALREADY): Likewise.
22375 [POSIX] (ECONNABORTED): Likewise.
22376 [POSIX] (ECONNREFUSED): Likewise.
22377 [POSIX] (ECONNRESET): Likewise.
22378 [POSIX] (EDESTADDRREQ): Likewise.
22379 [POSIX] (EDQUOT): Likewise.
22380 [POSIX] (EHOSTUNREACH): Likewise.
22381 [POSIX] (EIDRM): Likewise.
22382 [POSIX] (EISCONN): Likewise.
22383 [POSIX] (ELOOP): Likewise.
22384 [POSIX] (EMULTIHOP): Likewise.
22385 [POSIX] (ENETDOWN): Likewise.
22386 [POSIX] (ENETUNREACH): Likewise.
22387 [POSIX] (ENOBUFS): Likewise.
22388 [POSIX] (ENODATA): Likewise.
22389 [POSIX] (ENOLINK): Likewise.
22390 [POSIX] (ENOMSG): Likewise.
22391 [POSIX] (ENOPROTOOPT): Likewise.
22392 [POSIX] (ENOSR): Likewise.
22393 [POSIX] (ENOSTR): Likewise.
22394 [POSIX] (ENOTCONN): Likewise.
22395 [POSIX] (ENOTSOCK): Likewise.
22396 [POSIX] (EOPNOTSUPP): Likewise.
22397 [POSIX] (EOVERFLOW): Likewise.
22398 [POSIX] (EPROTO): Likewise.
22399 [POSIX] (EPROTONOSUPPORT): Likewise.
22400 [POSIX] (EPROTOTYPE): Likewise.
22401 [POSIX] (ESTALE): Likewise.
22402 [POSIX] (ETIME): Likewise.
22403 [POSIX] (ETXTBSY): Likewise.
22404 [POSIX] (EWOULDBLOCK): Likewise.
22405 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22406 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22407 [POSIX] (SEEK_CUR): Likewise.
22408 [POSIX] (SEEK_END): Likewise.
22409 [POSIX || UNIX98] (mode_t): Do not require.
22410 [POSIX] (off_t): Likewise.
22411 [POSIX] (pid_t): Likewise.
22412 [POSIX] (sys/stat.h): Do not allow header.
22413 [POSIX] (unistd.h): Likewise.
22414 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22415 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22416 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22417 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22419 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22420 sigevent): Specify elements.
22421 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22423 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22424 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22426 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22427 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22428 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22429 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22430 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22431 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22432 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22433 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22434 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22435 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22436 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22437 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22438 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22439 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22441 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22443 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22445 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22447 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22448 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22449 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22450 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22451 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22452 Specify lower bound on value.
22453 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22454 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22455 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22456 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22457 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22458 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22459 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22460 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22462 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22464 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22465 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22466 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22467 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22468 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22469 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22470 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22471 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22472 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22473 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22474 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22475 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22476 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22477 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22478 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22479 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22481 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22483 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22484 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22485 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22486 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22487 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22488 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22490 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22491 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22492 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22493 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22494 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22495 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22496 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22498 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22499 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22500 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22501 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22502 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22503 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22504 specify as optional.
22505 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22506 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22507 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22508 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22509 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22510 [XPG3] (NL_LANGMAX): Likewise.
22511 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22512 [POSIX || XPG3] (NL_NMAX): Likewise.
22513 [POSIX || XPG3] (NL_SETMAX): Likewise.
22514 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22515 [XPG3] (NZERO): Likewise.
22516 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22517 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22518 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22519 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22520 (REG_ERANGE): Expect.
22521 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22523 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22524 Use (void) in prototype.
22525 [POSIX] (*_t): Allow.
22526 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22527 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22528 (WRDE_BADVAL): Expect.
22530 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22532 [XPG3 || XPG4] (O_RSYNC): Likewise.
22533 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22535 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22536 [XPG3 || XPG4] (sigqueue): Likewise.
22537 [XPG3 || XPG4] (sigtimedwait): Likewise.
22538 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22539 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22540 [XPG3 || XPG4] (vsnprintf): Likewise.
22541 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22543 [XPG3 || XPG4] (blksize_t): Likewise.
22544 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22546 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22547 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22548 [XPG3 || XPG4] (struct itimerspec): Likewise.
22549 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22550 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22551 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22552 [XPG3 || XPG4] (clockid_t): Likewise.
22553 [XPG3 || XPG4] (timer_t): Likewise.
22554 [XPG3 || XPG4] (clock_getres): Likewise.
22555 [XPG3 || XPG4] (clock_gettime): Likewise.
22556 [XPG3 || XPG4] (clock_settime): Likewise.
22557 [XPG3 || XPG4] (nanosleep): Likewise.
22558 [XPG3 || XPG4] (timer_create): Likewise.
22559 [XPG3 || XPG4] (timer_delete): Likewise.
22560 [XPG3 || XPG4] (timer_gettime): Likewise.
22561 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22562 [XPG3 || XPG4] (timer_settime): Likewise.
22563 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22564 [XPG3 || XPG4] (getlogin_r): Likewise.
22565 [XPG3 || XPG4] (pread): Likewise.
22566 [XPG3 || XPG4] (pthread_atfork): Likewise.
22567 [XPG3 || XPG4] (pwrite): Likewise.
22570 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22573 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22575 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22576 finalizing MALLSTREAM.
22578 * sysdeps/mach/hurd/syncfs.c: New file.
22580 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22583 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22584 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22585 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22586 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22587 (_nss_dns_gethostbyname4_r): Likewise.
22588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22589 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22591 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22594 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22596 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22598 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22599 * elf/cache.c (print_entry): Print ",AArch64" for
22602 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22603 * elf/cache.c (print_entry): Print ",hard-float" for
22606 2012-11-18 David S. Miller <davem@davemloft.net>
22608 With help from Joseph Myers.
22609 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22611 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22613 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22614 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22616 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22617 * math/libm-test.inc (y0_test): New tests.
22618 (y1_test): New tests.
22619 * sysdeps/i386/fpu/libm-test-ulps: Update.
22620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22623 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22625 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22627 * configure: Regenerated.
22629 2012-11-17 David S. Miller <davem@davemloft.net>
22632 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22633 nonzero exponents with absolute value below 0x1p-128 to +/-
22636 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22638 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22640 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22642 * posix/getconf-speclist.c: New file.
22643 * posix/posix-envs.def: Likewise.
22644 * posix/confstr.c (START_ENV_GROUP): New macro.
22645 (END_ENV_GROUP): Likewise.
22646 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22647 (KNOWN_PRESENT_ENV_STRING): Likewise.
22648 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22649 (UNKNOWN_ENVIRONMENT): Likewise.
22650 (confstr): Include posix-envs.def instead of handling
22651 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22652 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22653 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22654 (END_ENV_GROUP): Likewise.
22655 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22656 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22657 (UNKNOWN_ENVIRONMENT): Likewise.
22658 (__sysconf): Include posix-envs.def instead of handling associated
22659 cases directly here.
22660 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22661 preprocessing getconf-speclist.c rather than running getconf or
22662 generating empty file.
22664 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22666 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22668 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22671 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22673 2012-11-16 David S. Miller <davem@davemloft.net>
22675 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22676 smaller than LDBL_EPSILON/2.0L, just return xm1.
22678 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22680 * elf/tst-array1.c (init): Set constructor priority to 1000.
22681 (fini): Set destructor priority to 1000.
22682 * elf/tst-array2dep.c: Likewise.
22684 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22687 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22688 (_IO_new_file_xsputn): Also return EOF if none of the input
22689 data was written when overflow failed.
22690 * libio/iopadn.c (_IO_padn): Likewise.
22691 * libio/iowpadn.c (_IO_wpadn): Likewise.
22692 * stdio-common/tst-put-error.c: Add copyright notice.
22693 (do_test): Add case for printing padded string.
22694 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22695 _IO_padn returned error.
22696 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22697 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22700 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22702 * libio/libioP.h: Add comment note that the references to C++
22703 bits are now obsolete.
22705 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22707 * math/libm-test.inc (check_complex): Use asprintf.
22709 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22711 * debug/pcprofiledump.c (print_version): Update copyright year.
22712 * malloc/memusagestat.c (print_version): Likewise.
22714 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22717 * elf/Makefile (tests): Add tst-audit8.
22718 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22719 ($(objpfx)tst-audit8.out): New target.
22720 (tst-audit8-ENV): New variable.
22721 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22722 audit if l_reloc_result is NULL.
22723 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22724 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22725 * elf/tst-audit8.c: New file.
22727 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22729 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22730 * misc/Makefile (CFLAGS-select.c): Define.
22731 * posix/Makefile (CFLAGS-pause.c): Define.
22733 2012-11-13 David S. Miller <davem@davemloft.net>
22735 * crypt/Makefile: Move test targets after toplevel Rules
22736 inclusion. Grab any necessary sysdep routines when linking.
22737 * crypt/md5.c (md5_process_block): Remove define, we will always
22738 name it __md5_process_block.
22739 (md5_finish_ctx): Update md5_process_block call.
22740 (md5_stream): Likewise.
22741 (md5_process_bytes): Likewise.
22742 (md5_process_block): Rename to __md5_process_block and move to ...
22743 * crypt/md5-block.c: ... here.
22744 * crypt/sha256.c (sha256_process_block): Move to ...
22745 * crypt/sha256-block.c: ... here.
22746 * crypt/sha512.c (sha512_process_block): Move to ...
22747 * crypt/sha512-block.c: ... here.
22748 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22750 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22751 * sysdeps/sparc/sparc64/multiarch/Makefile
22752 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22754 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22755 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22757 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22758 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22759 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22760 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22761 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22762 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22763 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22764 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22765 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22767 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22768 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22770 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22772 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22774 * timezone/tzselect.ksh: Update from tzcode git revision
22775 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22776 * timezone/zdump.c: Likewise.
22777 * timezone/zic.c: Likewise.
22778 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22779 in TZVERSION setting, not $(PKGVERSION).
22780 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22781 REPORT_BUGS_TO settings.
22784 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22787 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22789 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22790 detection to immediately after _FP_ROUND().
22791 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22794 2012-11-11 David S. Miller <davem@davemloft.net>
22796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22798 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22799 __close rather than their public counterparts.
22801 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22803 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22805 [UNIX98] (sem_timedwait): Do not expect.
22806 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22807 [XPG4 || UNIX98] (sockatmark): Do not expect.
22808 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22809 (clock_getcpuclockid): Do not expect.
22810 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22811 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22813 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22814 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22815 [UNIX98] (vwscanf): Likewise.
22816 [UNIX98] (vswscanf): Likewise.
22818 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22820 * timezone/version.h: Remove file.
22821 * timezone/README: Do not refer to version.h.
22822 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22823 $(objpfx)version.h.
22824 ($(objpfx)zdump.o): Likewise.
22825 ($(objpfx)version.h): New target.
22827 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22829 * timezone/README: Don't mention modification to tzselect.ksh.
22830 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22831 work on unmodified tzselect.ksh. Substitute version numbers in
22834 * Makefile (format-me): Remove.
22835 (INSTALL): Adjust indentation. Use commands directly instead of
22836 using $(format-me).
22838 * aclocal.m4 (ACX_PKGVERSION): New macro.
22839 (ACX_BUGURL): Likewise.
22840 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22841 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22842 (REPORT_BUGS_TO): Likewise.
22843 * configure: Regenerated.
22844 * config.h.in (PKGVERSION): New macro.
22845 (REPORT_BUGS_TO): Likewise.
22846 * config.make.in (PKGVERSION): New variable.
22847 (PKGVERSION_TEXI): Likewise.
22848 (REPORT_BUGS_TO): Likewise.
22849 (REPORT_BUGS_TEXI): Likewise.
22850 * Makefile (format-me): Use -I$(common-objpfx)manual.
22851 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22852 ($(common-objpfx)manual/%): New target.
22853 (manual/%): Remove target.
22854 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22855 (print_version): Use PKGVERSION.
22856 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22857 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22858 and REPORT_BUGS_TO.
22859 ($(objpfx)xtrace): Likewise.
22860 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22861 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22862 (print_version): Use PKGVERSION.
22863 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22864 (do_version): Use PKGVERSION.
22865 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22867 (common-ldd-rewrite): Likewise.
22868 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22869 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22870 (print_version): Use PKGVERSION.
22871 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22872 * elf/pldd.c (argp_program_bug_address): Remove variable.
22873 (more_help): New function.
22874 (argp): Use more_help.
22875 (print_version): Use PKGVERSION.
22876 * elf/sln.c (main): Use PKGVERSION.
22877 (usage): Use REPORT_BUGS_TO.
22878 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22879 (top level): Use PKGVERSION.
22880 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22881 (print_version): Use PKGVERSION.
22882 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22883 (print_version): Use PKGVERSION.
22884 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22885 (print_version): Use PKGVERSION.
22886 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22887 (print_version): Use PKGVERSION.
22888 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22889 (print_version): Use PKGVERSION.
22890 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22891 (print_version): Use PKGVERSION.
22892 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22894 ($(objpfx)memusage): Likewise.
22895 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22896 (do_version): Use PKGVERSION.
22897 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22898 (print_version): Use PKGVERSION.
22899 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22900 ($PKGVERSION): New variable.
22901 ($REPORT_BUGS_TO): Likewise.
22902 (usage): Use $REPORT_BUGS_TO.
22903 (top level): Use $PKGVERSION.
22904 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22905 ($(objpfx)pkgvers.texi): New rule.
22906 ($(objpfx)stamp-pkgvers): Likewise.
22907 * manual/install.texi: Include pkgvers.texi.
22908 (--with-pkgversion): Document new configure option.
22909 (--with-bugurl): Likewise.
22910 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22911 than necessarily for this particular distribution. Use
22912 REPORT_BUGS_TO for where to report bugs.
22913 * INSTALL: Regenerated.
22914 * manual/libc.texinfo: Include pkgvers.texi.
22915 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22916 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22917 (print_version): Use PKGVERSION.
22918 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22919 (print_version): Use PKGVERSION.
22920 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22921 (print_version): Use PKGVERSION.
22922 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22923 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22925 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22926 (print_version): Use PKGVERSION.
22927 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22928 (print_version): Use PKGVERSION.
22929 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22932 * timezone/checktab.awk: Update from tzcode 2012i.
22933 * timezone/ialloc.c: Likewise.
22934 * timezone/private.h: Likewise.
22935 * timezone/scheck.c: Likewise.
22936 * timezone/tzfile.h: Likewise.
22937 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22938 (TZVERSION): Hardcode tzcode version number.
22939 * timezone/zdump.c: Update from tzcode 2012i.
22940 * timezone/zic.c: Likewise.
22941 * timezone/version.h: New file.
22942 * timezone/README: Describe version.h. Update upstream location.
22945 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22946 (mktemp): Enable declaration.
22947 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22948 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22949 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22950 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22952 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22954 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22956 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22958 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22960 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22964 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22965 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22966 for copies of such integer values.
22967 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22968 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22970 2012-11-09 Andreas Jaeger <aj@suse.de>
22972 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22973 definitions and declarations that are provided by
22974 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22976 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22978 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22979 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22980 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22983 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22985 * elf/elf.h: Update comment before AArch64 relocations.
22987 2012-11-07 David S. Miller <davem@davemloft.net>
22989 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22990 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22991 (__start_context): Declare.
22992 (__makecontext_ret): Delete.
22993 (__makecontext): Hook up __start_context instead of
22995 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22996 (sysdep_routines): Add __start_context when in stdlib.
22998 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23000 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23001 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23002 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23004 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23005 (READELF): New variable. Use it instead of hardcoded "readelf".
23007 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23009 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23010 * sysdeps/x86/Makefile: Here.
23011 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23012 * sysdeps/x86/tst-xmmymm.sh: This.
23014 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23016 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23018 [UNIX98] (pthread_barrier_t): Do not expect.
23019 [UNIX98] (pthread_barrierattr_t): Likewise.
23020 [UNIX98] (pthread_spinlock_t): Likewise.
23021 [UNIX98] (pthread_barrier_destroy): Likewise.
23022 [UNIX98] (pthread_barrier_init): Likewise.
23023 [UNIX98] (pthread_barrier_wait): Likewise.
23024 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23025 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23026 [UNIX98] (pthread_barrierattr_init): Likewise.
23027 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23028 [UNIX98] (pthread_getcpuclockid): Likewise.
23029 [UNIX98] (pthread_mutex_timedlock): Likewise.
23030 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23031 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23032 [UNIX98] (pthread_sigmask): Likewise.
23033 [UNIX98] (pthread_spin_destroy): Likewise.
23034 [UNIX98] (pthread_spin_init): Likewise.
23035 [UNIX98] (pthread_spin_lock): Likewise.
23036 [UNIX98] (pthread_spin_trylock): Likewise.
23037 [UNIX98] (pthread_spin_unlock): Likewise.
23038 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23040 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23041 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23042 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23043 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23044 [XPG3 || XPG4] (pthread_key_t): Likewise.
23045 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23046 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23047 [XPG3 || XPG4] (pthread_once_t): Likewise.
23048 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23049 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23050 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23051 [XPG3 || XPG4] (pthread_t): Likewise.
23053 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23055 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23057 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23058 Change function return type to int.
23060 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23061 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23062 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23063 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23064 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23065 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23066 [!POSIX] (posix_madvise): Likewise.
23067 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23069 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23070 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23071 (mode_t): Likewise.
23072 (posix_mem_offset): Likewise.
23073 (posix_typed_mem_get_info): Likewise.
23074 (posix_typed_mem_open): Likewise.
23076 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23077 Change condition to [XOPEN2K8].
23079 * conform/conformtest.pl: Preprocess allow-header data with -x c
23080 instead of from stdin.
23081 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23082 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23083 [C99-based standards] (cerfc): Likewise.
23084 [C99-based standards] (cexp2): Likewise.
23085 [C99-based standards] (cexpm1): Likewise.
23086 [C99-based standards] (clog10): Likewise.
23087 [C99-based standards] (clog1p): Likewise.
23088 [C99-based standards] (clog2): Likewise.
23089 [C99-based standards] (clgamma): Likewise.
23090 [C99-based standards] (ctgamma): Likewise.
23091 [C99-based standards] (cerff): Likewise.
23092 [C99-based standards] (cerfcf): Likewise.
23093 [C99-based standards] (cexp2f): Likewise.
23094 [C99-based standards] (cexpm1f): Likewise.
23095 [C99-based standards] (clog10f): Likewise.
23096 [C99-based standards] (clog1pf): Likewise.
23097 [C99-based standards] (clog2f): Likewise.
23098 [C99-based standards] (clgammaf): Likewise.
23099 [C99-based standards] (ctgammaf): Likewise.
23100 [C99-based standards] (cerfl): Likewise.
23101 [C99-based standards] (cerfcl): Likewise.
23102 [C99-based standards] (cexp2l): Likewise.
23103 [C99-based standards] (cexpm1l): Likewise.
23104 [C99-based standards] (clog10l): Likewise.
23105 [C99-based standards] (clog1pl): Likewise.
23106 [C99-based standards] (clog2l): Likewise.
23107 [C99-based standards] (clgammal): Likewise.
23108 [C99-based standards] (ctgammal): Likewise.
23109 * conform/data/inttypes.h-data [C99-based standards]: Include
23110 stdint.h-data. Remove all expectations for stdint.h contents.
23111 [C99-based standards] (PRI*): Do not allow.
23112 [C99-based standards] (SCN*): Likewise.
23113 [C99-based standards] (*_t): Likewise.
23114 [C99-based-standards] (PRId8): Expect macro.
23115 [C99-based-standards] (PRIi8): Likewise.
23116 [C99-based-standards] (PRIo8): Likewise.
23117 [C99-based-standards] (PRIu8): Likewise.
23118 [C99-based-standards] (PRIx8): Likewise.
23119 [C99-based-standards] (PRIX8): Likewise.
23120 [C99-based-standards] (SCNd8): Likewise.
23121 [C99-based-standards] (SCNi8): Likewise.
23122 [C99-based-standards] (SCNo8): Likewise.
23123 [C99-based-standards] (SCNu8): Likewise.
23124 [C99-based-standards] (SCNx8): Likewise.
23125 [C99-based-standards] (PRIdLEAST8): Likewise.
23126 [C99-based-standards] (PRIiLEAST8): Likewise.
23127 [C99-based-standards] (PRIoLEAST8): Likewise.
23128 [C99-based-standards] (PRIuLEAST8): Likewise.
23129 [C99-based-standards] (PRIxLEAST8): Likewise.
23130 [C99-based-standards] (PRIXLEAST8): Likewise.
23131 [C99-based-standards] (SCNdLEAST8): Likewise.
23132 [C99-based-standards] (SCNiLEAST8): Likewise.
23133 [C99-based-standards] (SCNoLEAST8): Likewise.
23134 [C99-based-standards] (SCNuLEAST8): Likewise.
23135 [C99-based-standards] (SCNxLEAST8): Likewise.
23136 [C99-based-standards] (PRIdFAST8): Likewise.
23137 [C99-based-standards] (PRIiFAST8): Likewise.
23138 [C99-based-standards] (PRIoFAST8): Likewise.
23139 [C99-based-standards] (PRIuFAST8): Likewise.
23140 [C99-based-standards] (PRIxFAST8): Likewise.
23141 [C99-based-standards] (PRIXFAST8): Likewise.
23142 [C99-based-standards] (SCNdFAST8): Likewise.
23143 [C99-based-standards] (SCNiFAST8): Likewise.
23144 [C99-based-standards] (SCNoFAST8): Likewise.
23145 [C99-based-standards] (SCNuFAST8): Likewise.
23146 [C99-based-standards] (SCNxFAST8): Likewise.
23147 [C99-based-standards] (PRId16): Likewise.
23148 [C99-based-standards] (PRIi16): Likewise.
23149 [C99-based-standards] (PRIo16): Likewise.
23150 [C99-based-standards] (PRIu16): Likewise.
23151 [C99-based-standards] (PRIx16): Likewise.
23152 [C99-based-standards] (PRIX16): Likewise.
23153 [C99-based-standards] (SCNd16): Likewise.
23154 [C99-based-standards] (SCNi16): Likewise.
23155 [C99-based-standards] (SCNo16): Likewise.
23156 [C99-based-standards] (SCNu16): Likewise.
23157 [C99-based-standards] (SCNx16): Likewise.
23158 [C99-based-standards] (PRIdLEAST16): Likewise.
23159 [C99-based-standards] (PRIiLEAST16): Likewise.
23160 [C99-based-standards] (PRIoLEAST16): Likewise.
23161 [C99-based-standards] (PRIuLEAST16): Likewise.
23162 [C99-based-standards] (PRIxLEAST16): Likewise.
23163 [C99-based-standards] (PRIXLEAST16): Likewise.
23164 [C99-based-standards] (SCNdLEAST16): Likewise.
23165 [C99-based-standards] (SCNiLEAST16): Likewise.
23166 [C99-based-standards] (SCNoLEAST16): Likewise.
23167 [C99-based-standards] (SCNuLEAST16): Likewise.
23168 [C99-based-standards] (SCNxLEAST16): Likewise.
23169 [C99-based-standards] (PRIdFAST16): Likewise.
23170 [C99-based-standards] (PRIiFAST16): Likewise.
23171 [C99-based-standards] (PRIoFAST16): Likewise.
23172 [C99-based-standards] (PRIuFAST16): Likewise.
23173 [C99-based-standards] (PRIxFAST16): Likewise.
23174 [C99-based-standards] (PRIXFAST16): Likewise.
23175 [C99-based-standards] (SCNdFAST16): Likewise.
23176 [C99-based-standards] (SCNiFAST16): Likewise.
23177 [C99-based-standards] (SCNoFAST16): Likewise.
23178 [C99-based-standards] (SCNuFAST16): Likewise.
23179 [C99-based-standards] (SCNxFAST16): Likewise.
23180 [C99-based-standards] (PRId32): Likewise.
23181 [C99-based-standards] (PRIi32): Likewise.
23182 [C99-based-standards] (PRIo32): Likewise.
23183 [C99-based-standards] (PRIu32): Likewise.
23184 [C99-based-standards] (PRIx32): Likewise.
23185 [C99-based-standards] (PRIX32): Likewise.
23186 [C99-based-standards] (SCNd32): Likewise.
23187 [C99-based-standards] (SCNi32): Likewise.
23188 [C99-based-standards] (SCNo32): Likewise.
23189 [C99-based-standards] (SCNu32): Likewise.
23190 [C99-based-standards] (SCNx32): Likewise.
23191 [C99-based-standards] (PRIdLEAST32): Likewise.
23192 [C99-based-standards] (PRIiLEAST32): Likewise.
23193 [C99-based-standards] (PRIoLEAST32): Likewise.
23194 [C99-based-standards] (PRIuLEAST32): Likewise.
23195 [C99-based-standards] (PRIxLEAST32): Likewise.
23196 [C99-based-standards] (PRIXLEAST32): Likewise.
23197 [C99-based-standards] (SCNdLEAST32): Likewise.
23198 [C99-based-standards] (SCNiLEAST32): Likewise.
23199 [C99-based-standards] (SCNoLEAST32): Likewise.
23200 [C99-based-standards] (SCNuLEAST32): Likewise.
23201 [C99-based-standards] (SCNxLEAST32): Likewise.
23202 [C99-based-standards] (PRIdFAST32): Likewise.
23203 [C99-based-standards] (PRIiFAST32): Likewise.
23204 [C99-based-standards] (PRIoFAST32): Likewise.
23205 [C99-based-standards] (PRIuFAST32): Likewise.
23206 [C99-based-standards] (PRIxFAST32): Likewise.
23207 [C99-based-standards] (PRIXFAST32): Likewise.
23208 [C99-based-standards] (SCNdFAST32): Likewise.
23209 [C99-based-standards] (SCNiFAST32): Likewise.
23210 [C99-based-standards] (SCNoFAST32): Likewise.
23211 [C99-based-standards] (SCNuFAST32): Likewise.
23212 [C99-based-standards] (SCNxFAST32): Likewise.
23213 [C99-based-standards] (PRId64): Likewise.
23214 [C99-based-standards] (PRIi64): Likewise.
23215 [C99-based-standards] (PRIo64): Likewise.
23216 [C99-based-standards] (PRIu64): Likewise.
23217 [C99-based-standards] (PRIx64): Likewise.
23218 [C99-based-standards] (PRIX64): Likewise.
23219 [C99-based-standards] (SCNd64): Likewise.
23220 [C99-based-standards] (SCNi64): Likewise.
23221 [C99-based-standards] (SCNo64): Likewise.
23222 [C99-based-standards] (SCNu64): Likewise.
23223 [C99-based-standards] (SCNx64): Likewise.
23224 [C99-based-standards] (PRIdLEAST64): Likewise.
23225 [C99-based-standards] (PRIiLEAST64): Likewise.
23226 [C99-based-standards] (PRIoLEAST64): Likewise.
23227 [C99-based-standards] (PRIuLEAST64): Likewise.
23228 [C99-based-standards] (PRIxLEAST64): Likewise.
23229 [C99-based-standards] (PRIXLEAST64): Likewise.
23230 [C99-based-standards] (SCNdLEAST64): Likewise.
23231 [C99-based-standards] (SCNiLEAST64): Likewise.
23232 [C99-based-standards] (SCNoLEAST64): Likewise.
23233 [C99-based-standards] (SCNuLEAST64): Likewise.
23234 [C99-based-standards] (SCNxLEAST64): Likewise.
23235 [C99-based-standards] (PRIdFAST64): Likewise.
23236 [C99-based-standards] (PRIiFAST64): Likewise.
23237 [C99-based-standards] (PRIoFAST64): Likewise.
23238 [C99-based-standards] (PRIuFAST64): Likewise.
23239 [C99-based-standards] (PRIxFAST64): Likewise.
23240 [C99-based-standards] (PRIXFAST64): Likewise.
23241 [C99-based-standards] (SCNdFAST64): Likewise.
23242 [C99-based-standards] (SCNiFAST64): Likewise.
23243 [C99-based-standards] (SCNoFAST64): Likewise.
23244 [C99-based-standards] (SCNuFAST64): Likewise.
23245 [C99-based-standards] (SCNxFAST64): Likewise.
23246 [C99-based-standards] (PRIdMAX): Likewise.
23247 [C99-based-standards] (PRIiMAX): Likewise.
23248 [C99-based-standards] (PRIoMAX): Likewise.
23249 [C99-based-standards] (PRIuMAX): Likewise.
23250 [C99-based-standards] (PRIxMAX): Likewise.
23251 [C99-based-standards] (PRIXMAX): Likewise.
23252 [C99-based-standards] (SCNdMAX): Likewise.
23253 [C99-based-standards] (SCNiMAX): Likewise.
23254 [C99-based-standards] (SCNoMAX): Likewise.
23255 [C99-based-standards] (SCNuMAX): Likewise.
23256 [C99-based-standards] (SCNxMAX): Likewise.
23257 [C99-based-standards] (PRIdPTR): Likewise.
23258 [C99-based-standards] (PRIiPTR): Likewise.
23259 [C99-based-standards] (PRIoPTR): Likewise.
23260 [C99-based-standards] (PRIuPTR): Likewise.
23261 [C99-based-standards] (PRIxPTR): Likewise.
23262 [C99-based-standards] (PRIXPTR): Likewise.
23263 [C99-based-standards] (SCNdPTR): Likewise.
23264 [C99-based-standards] (SCNiPTR): Likewise.
23265 [C99-based-standards] (SCNoPTR): Likewise.
23266 [C99-based-standards] (SCNuPTR): Likewise.
23267 [C99-based-standards] (SCNxPTR): Likewise.
23268 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23270 * conform/data/stdint.h-data: Update comments to clarify
23272 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23274 [C99-based standards] (INT8_MAX): Likewise.
23275 [C99-based standards] (INT16_MIN): Likewise.
23276 [C99-based standards] (INT16_MAX): Likewise.
23277 [C99-based standards] (INT32_MIN): Likewise.
23278 [C99-based standards] (INT32_MAX): Likewise.
23279 [C99-based standards] (INT64_MIN): Likewise.
23280 [C99-based standards] (INT64_MAX): Likewise.
23281 [C99-based standards] (UINT8_MAX): Likewise.
23282 [C99-based standards] (UINT16_MAX): Likewise.
23283 [C99-based standards] (UINT32_MAX): Likewise.
23284 [C99-based standards] (UINT64_MAX): Likewise.
23285 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23286 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23287 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23288 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23289 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23290 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23291 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23292 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23293 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23294 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23295 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23296 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23297 [C99-based standards] (INT_FAST8_MIN): Likewise.
23298 [C99-based standards] (INT_FAST8_MAX): Likewise.
23299 [C99-based standards] (INT_FAST16_MIN): Likewise.
23300 [C99-based standards] (INT_FAST16_MAX): Likewise.
23301 [C99-based standards] (INT_FAST32_MIN): Likewise.
23302 [C99-based standards] (INT_FAST32_MAX): Likewise.
23303 [C99-based standards] (INT_FAST64_MIN): Likewise.
23304 [C99-based standards] (INT_FAST64_MAX): Likewise.
23305 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23306 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23307 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23308 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23309 [C99-based standards] (INTPTR_MIN): Likewise.
23310 [C99-based standards] (INTPTR_MAX): Likewise.
23311 [C99-based standards] (UINTPTR_MAX): Likewise.
23312 [C99-based standards] (INTMAX_MIN): Likewise.
23313 [C99-based standards] (INTMAX_MAX): Likewise.
23314 [C99-based standards] (UINTMAX_MAX): Likewise.
23315 [C99-based standards] (PTRDIFF_MIN): Likewise.
23316 [C99-based standards] (PTRDIFF_MAX): Likewise.
23317 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23318 [C99-based standards] (SIZE_MAX): Likewise.
23319 [C99-based standards] (WCHAR_MAX): Likewise.
23320 [C99-based standards] (WINT_MAX): Likewise.
23321 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23322 constraint on value.
23323 [C99-based standards] (WCHAR_MIN): Likewise.
23324 [C99-based standards] (WINT_MIN): Likewise.
23325 [C99-based standards] (*_t): Allow.
23326 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23327 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23328 Include math.h-data and complex.h-data. Remove all expectations
23329 of math.h and complex.h contents.
23330 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23332 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23333 (struct tm): Expect tag.
23334 [C99-based-standards] (wcstof): Expect function.
23335 [C99-based-standards] (wcstold): Likewise.
23336 [C99-based-standards] (wcstoll): Likewise.
23337 [C99-based-standards] (wcstoull): Likewise.
23338 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23339 macro-int-constant. Specify type.
23340 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23341 constraint on value.
23342 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23344 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23346 [ISO C standards]: Do not allow headers.
23347 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23348 wcs[abcdefghijklmnopqrstuvwxyz]*.
23349 [ISO C standards] (*_t): Do not allow.
23350 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23352 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23353 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23355 [ISO C standards]: Do not allow headers.
23356 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23357 is[abcdefghijklmnopqrstuvwxyz]*.
23358 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23359 to[abcdefghijklmnopqrstuvwxyz]*.
23360 [ISO C standards] (*_t): Do not allow.
23361 * conform/data/stdalign.h-data: New file.
23362 * conform/data/stdbool.h-data: Likewise.
23363 * conform/data/stdnoreturn.h-data: Likewise.
23365 2012-11-07 Roland McGrath <roland@hack.frob.com>
23368 * manual/filesys.texi (Directory Entries): Typo fix.
23369 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23371 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23373 * elf/elf.h (EM_AARCH64): New macro.
23374 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23375 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23376 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23377 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23378 (R_AARCH64_TLSDESC): Likewise.
23379 (NT_ARM_TLS): Likewise.
23380 (NT_ARM_HW_BREAK): Likewise.
23381 (NT_ARM_HW_WATCH): Likewise.
23383 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23386 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23387 (__ieee754_powl): Saturate nonzero exponents with absolute value
23388 below 0x1p-79 to +/- 0x1p-79.
23389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23390 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23391 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23392 nonzero exponents with absolute value below 0x1p-32 to +/-
23394 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23395 (__ieee754_powl): Saturate nonzero exponents with absolute value
23396 below 0x1p-79 to +/- 0x1p-79.
23397 * math/libm-test.inc (pow_test): Add more tests.
23399 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23401 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23402 _dl_s390_cap_flags with kernel. Increase string length.
23403 (_dl_s390_platforms): Add z196 and zEC12.
23405 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23407 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23408 Change XOPEN21K to XOPEN2K.
23410 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23412 * string/memmove.c: Use memcpy when possible.
23414 2012-11-06 Andreas Jaeger <aj@suse.de>
23416 * po/eo.po: Update from translation team.
23418 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23422 exponent and small x and y exponents, scale x or y up. Increase
23423 by 2 the exponent used in scaling up.
23424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23426 * math/libm-test.inc (fma_test): Add more tests.
23427 (fma_test_towardzero): Likewise.
23428 (fma_test_downward): Likewise.
23429 (fma_test_upward): Likewise.
23431 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23434 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23438 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23439 namespace for names of struct fields.
23440 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23442 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23443 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23445 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23448 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23450 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23452 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23456 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23459 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23463 definitely overflow as x * y not x * y + z.
23464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23465 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23466 * math/libm-test.inc (fma_test): Add more tests.
23467 (fma_test_towardzero): Likewise.
23468 (fma_test_downward): Likewise.
23469 (fma_test_upward): Likewise.
23471 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23475 * include/stub-tag.h: Remove file.
23476 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23478 * manual/maint.texi (Porting): Don't reference it.
23479 * Makerules ($(objpfx)stubs): Likewise.
23480 * dirent/closedir.c: Don't include <stub-tag.h>.
23481 * dirent/dirfd.c: Likewise.
23482 * dirent/fdopendir.c: Likewise.
23483 * dirent/getdents.c: Likewise.
23484 * dirent/getdents64.c: Likewise.
23485 * dirent/opendir.c: Likewise.
23486 * dirent/readdir.c: Likewise.
23487 * dirent/readdir64.c: Likewise.
23488 * dirent/readdir64_r.c: Likewise.
23489 * dirent/readdir_r.c: Likewise.
23490 * dirent/rewinddir.c: Likewise.
23491 * dirent/seekdir.c: Likewise.
23492 * dirent/telldir.c: Likewise.
23493 * gmon/profil.c: Likewise.
23494 * grp/setgroups.c: Likewise.
23495 * inet/if_index.c: Likewise.
23496 * io/access.c: Likewise.
23497 * io/chdir.c: Likewise.
23498 * io/chmod.c: Likewise.
23499 * io/chown.c: Likewise.
23500 * io/close.c: Likewise.
23501 * io/dup.c: Likewise.
23502 * io/dup2.c: Likewise.
23503 * io/dup3.c: Likewise.
23504 * io/euidaccess.c: Likewise.
23505 * io/faccessat.c: Likewise.
23506 * io/fchdir.c: Likewise.
23507 * io/fchmod.c: Likewise.
23508 * io/fchmodat.c: Likewise.
23509 * io/fchown.c: Likewise.
23510 * io/fchownat.c: Likewise.
23511 * io/fcntl.c: Likewise.
23512 * io/flock.c: Likewise.
23513 * io/fstatfs.c: Likewise.
23514 * io/fstatfs64.c: Likewise.
23515 * io/fstatvfs.c: Likewise.
23516 * io/fstatvfs64.c: Likewise.
23517 * io/futimens.c: Likewise.
23518 * io/fxstat.c: Likewise.
23519 * io/fxstat64.c: Likewise.
23520 * io/fxstatat.c: Likewise.
23521 * io/fxstatat64.c: Likewise.
23522 * io/getcwd.c: Likewise.
23523 * io/isatty.c: Likewise.
23524 * io/lchmod.c: Likewise.
23525 * io/lchown.c: Likewise.
23526 * io/link.c: Likewise.
23527 * io/linkat.c: Likewise.
23528 * io/lseek.c: Likewise.
23529 * io/lseek64.c: Likewise.
23530 * io/lxstat64.c: Likewise.
23531 * io/mkdir.c: Likewise.
23532 * io/mkdirat.c: Likewise.
23533 * io/mkfifo.c: Likewise.
23534 * io/mkfifoat.c: Likewise.
23535 * io/open.c: Likewise.
23536 * io/open64.c: Likewise.
23537 * io/openat.c: Likewise.
23538 * io/openat64.c: Likewise.
23539 * io/pipe.c: Likewise.
23540 * io/pipe2.c: Likewise.
23541 * io/poll.c: Likewise.
23542 * io/posix_fadvise.c: Likewise.
23543 * io/posix_fadvise64.c: Likewise.
23544 * io/posix_fallocate.c: Likewise.
23545 * io/posix_fallocate64.c: Likewise.
23546 * io/read.c: Likewise.
23547 * io/readlink.c: Likewise.
23548 * io/readlinkat.c: Likewise.
23549 * io/rmdir.c: Likewise.
23550 * io/sendfile.c: Likewise.
23551 * io/sendfile64.c: Likewise.
23552 * io/statfs.c: Likewise.
23553 * io/statfs64.c: Likewise.
23554 * io/statvfs.c: Likewise.
23555 * io/statvfs64.c: Likewise.
23556 * io/symlink.c: Likewise.
23557 * io/symlinkat.c: Likewise.
23558 * io/ttyname.c: Likewise.
23559 * io/ttyname_r.c: Likewise.
23560 * io/umask.c: Likewise.
23561 * io/unlink.c: Likewise.
23562 * io/unlinkat.c: Likewise.
23563 * io/utime.c: Likewise.
23564 * io/utimensat.c: Likewise.
23565 * io/write.c: Likewise.
23566 * io/xmknod.c: Likewise.
23567 * io/xmknodat.c: Likewise.
23568 * io/xstat.c: Likewise.
23569 * io/xstat64.c: Likewise.
23570 * login/getpt.c: Likewise.
23571 * login/grantpt.c: Likewise.
23572 * login/unlockpt.c: Likewise.
23573 * math/e_acoshl.c: Likewise.
23574 * math/e_acosl.c: Likewise.
23575 * math/e_asinl.c: Likewise.
23576 * math/e_atan2l.c: Likewise.
23577 * math/e_atanhl.c: Likewise.
23578 * math/e_coshl.c: Likewise.
23579 * math/e_expl.c: Likewise.
23580 * math/e_fmodl.c: Likewise.
23581 * math/e_gammal_r.c: Likewise.
23582 * math/e_hypotl.c: Likewise.
23583 * math/e_j0l.c: Likewise.
23584 * math/e_j1l.c: Likewise.
23585 * math/e_jnl.c: Likewise.
23586 * math/e_lgammal_r.c: Likewise.
23587 * math/e_log10l.c: Likewise.
23588 * math/e_log2l.c: Likewise.
23589 * math/e_logl.c: Likewise.
23590 * math/e_powl.c: Likewise.
23591 * math/e_rem_pio2l.c: Likewise.
23592 * math/e_sinhl.c: Likewise.
23593 * math/e_sqrtl.c: Likewise.
23594 * math/fclrexcpt.c: Likewise.
23595 * math/fedisblxcpt.c: Likewise.
23596 * math/feenablxcpt.c: Likewise.
23597 * math/fegetenv.c: Likewise.
23598 * math/fegetexcept.c: Likewise.
23599 * math/fegetround.c: Likewise.
23600 * math/feholdexcpt.c: Likewise.
23601 * math/fesetenv.c: Likewise.
23602 * math/fesetround.c: Likewise.
23603 * math/feupdateenv.c: Likewise.
23604 * math/fgetexcptflg.c: Likewise.
23605 * math/fraiseexcpt.c: Likewise.
23606 * math/fsetexcptflg.c: Likewise.
23607 * math/ftestexcept.c: Likewise.
23608 * math/k_cosl.c: Likewise.
23609 * math/k_rem_pio2l.c: Likewise.
23610 * math/k_sinl.c: Likewise.
23611 * math/k_tanl.c: Likewise.
23612 * math/s_asinhl.c: Likewise.
23613 * math/s_atanl.c: Likewise.
23614 * math/s_cbrtl.c: Likewise.
23615 * math/s_erfl.c: Likewise.
23616 * math/s_expm1l.c: Likewise.
23617 * math/s_log1pl.c: Likewise.
23618 * math/s_tanhl.c: Likewise.
23619 * misc/acct.c: Likewise.
23620 * misc/brk.c: Likewise.
23621 * misc/chflags.c: Likewise.
23622 * misc/chroot.c: Likewise.
23623 * misc/fchflags.c: Likewise.
23624 * misc/fgetxattr.c: Likewise.
23625 * misc/flistxattr.c: Likewise.
23626 * misc/fremovexattr.c: Likewise.
23627 * misc/fsetxattr.c: Likewise.
23628 * misc/fsync.c: Likewise.
23629 * misc/ftruncate.c: Likewise.
23630 * misc/futimes.c: Likewise.
23631 * misc/futimesat.c: Likewise.
23632 * misc/getdomain.c: Likewise.
23633 * misc/getdtsz.c: Likewise.
23634 * misc/gethostid.c: Likewise.
23635 * misc/gethostname.c: Likewise.
23636 * misc/getloadavg.c: Likewise.
23637 * misc/getpagesize.c: Likewise.
23638 * misc/getsysstats.c: Likewise.
23639 * misc/getxattr.c: Likewise.
23640 * misc/gtty.c: Likewise.
23641 * misc/ioctl.c: Likewise.
23642 * misc/lgetxattr.c: Likewise.
23643 * misc/listxattr.c: Likewise.
23644 * misc/llistxattr.c: Likewise.
23645 * misc/lremovexattr.c: Likewise.
23646 * misc/lsetxattr.c: Likewise.
23647 * misc/lutimes.c: Likewise.
23648 * misc/madvise.c: Likewise.
23649 * misc/mincore.c: Likewise.
23650 * misc/mlock.c: Likewise.
23651 * misc/mlockall.c: Likewise.
23652 * misc/mmap.c: Likewise.
23653 * misc/mprotect.c: Likewise.
23654 * misc/msync.c: Likewise.
23655 * misc/munlock.c: Likewise.
23656 * misc/munlockall.c: Likewise.
23657 * misc/munmap.c: Likewise.
23658 * misc/preadv.c: Likewise.
23659 * misc/preadv64.c: Likewise.
23660 * misc/ptrace.c: Likewise.
23661 * misc/pwritev.c: Likewise.
23662 * misc/pwritev64.c: Likewise.
23663 * misc/readv.c: Likewise.
23664 * misc/reboot.c: Likewise.
23665 * misc/remap_file_pages.c: Likewise.
23666 * misc/removexattr.c: Likewise.
23667 * misc/revoke.c: Likewise.
23668 * misc/select.c: Likewise.
23669 * misc/setdomain.c: Likewise.
23670 * misc/setegid.c: Likewise.
23671 * misc/seteuid.c: Likewise.
23672 * misc/sethostid.c: Likewise.
23673 * misc/sethostname.c: Likewise.
23674 * misc/setregid.c: Likewise.
23675 * misc/setreuid.c: Likewise.
23676 * misc/setxattr.c: Likewise.
23677 * misc/sstk.c: Likewise.
23678 * misc/stty.c: Likewise.
23679 * misc/swapoff.c: Likewise.
23680 * misc/swapon.c: Likewise.
23681 * misc/sync.c: Likewise.
23682 * misc/syncfs.c: Likewise.
23683 * misc/syscall.c: Likewise.
23684 * misc/truncate.c: Likewise.
23685 * misc/ualarm.c: Likewise.
23686 * misc/usleep.c: Likewise.
23687 * misc/ustat.c: Likewise.
23688 * misc/utimes.c: Likewise.
23689 * misc/vhangup.c: Likewise.
23690 * misc/writev.c: Likewise.
23691 * posix/_exit.c: Likewise.
23692 * posix/alarm.c: Likewise.
23693 * posix/execve.c: Likewise.
23694 * posix/fexecve.c: Likewise.
23695 * posix/fork.c: Likewise.
23696 * posix/fpathconf.c: Likewise.
23697 * posix/getaddrinfo.c: Likewise.
23698 * posix/getegid.c: Likewise.
23699 * posix/geteuid.c: Likewise.
23700 * posix/getgid.c: Likewise.
23701 * posix/getgroups.c: Likewise.
23702 * posix/getlogin.c: Likewise.
23703 * posix/getlogin_r.c: Likewise.
23704 * posix/getpgid.c: Likewise.
23705 * posix/getpid.c: Likewise.
23706 * posix/getppid.c: Likewise.
23707 * posix/getresgid.c: Likewise.
23708 * posix/getresuid.c: Likewise.
23709 * posix/getsid.c: Likewise.
23710 * posix/getuid.c: Likewise.
23711 * posix/glob64.c: Likewise.
23712 * posix/nanosleep.c: Likewise.
23713 * posix/pathconf.c: Likewise.
23714 * posix/pause.c: Likewise.
23715 * posix/posix_madvise.c: Likewise.
23716 * posix/pread.c: Likewise.
23717 * posix/pread64.c: Likewise.
23718 * posix/pwrite.c: Likewise.
23719 * posix/pwrite64.c: Likewise.
23720 * posix/sched_getaffinity.c: Likewise.
23721 * posix/sched_getp.c: Likewise.
23722 * posix/sched_gets.c: Likewise.
23723 * posix/sched_primax.c: Likewise.
23724 * posix/sched_primin.c: Likewise.
23725 * posix/sched_rr_gi.c: Likewise.
23726 * posix/sched_setaffinity.c: Likewise.
23727 * posix/sched_setp.c: Likewise.
23728 * posix/sched_sets.c: Likewise.
23729 * posix/sched_yield.c: Likewise.
23730 * posix/setgid.c: Likewise.
23731 * posix/setlogin.c: Likewise.
23732 * posix/setpgid.c: Likewise.
23733 * posix/setresgid.c: Likewise.
23734 * posix/setresuid.c: Likewise.
23735 * posix/setsid.c: Likewise.
23736 * posix/setuid.c: Likewise.
23737 * posix/sleep.c: Likewise.
23738 * posix/spawni.c: Likewise.
23739 * posix/sysconf.c: Likewise.
23740 * posix/times.c: Likewise.
23741 * posix/wait.c: Likewise.
23742 * posix/wait3.c: Likewise.
23743 * posix/wait4.c: Likewise.
23744 * posix/waitpid.c: Likewise.
23745 * resolv/gai_sigqueue.c: Likewise.
23746 * resource/getpriority.c: Likewise.
23747 * resource/getrlimit.c: Likewise.
23748 * resource/getrusage.c: Likewise.
23749 * resource/nice.c: Likewise.
23750 * resource/setpriority.c: Likewise.
23751 * resource/setrlimit.c: Likewise.
23752 * resource/ulimit.c: Likewise.
23753 * rt/aio_cancel.c: Likewise.
23754 * rt/aio_fsync.c: Likewise.
23755 * rt/aio_read.c: Likewise.
23756 * rt/aio_sigqueue.c: Likewise.
23757 * rt/aio_suspend.c: Likewise.
23758 * rt/aio_write.c: Likewise.
23759 * rt/clock_getres.c: Likewise.
23760 * rt/clock_gettime.c: Likewise.
23761 * rt/clock_nanosleep.c: Likewise.
23762 * rt/clock_settime.c: Likewise.
23763 * rt/lio_listio.c: Likewise.
23764 * rt/mq_close.c: Likewise.
23765 * rt/mq_getattr.c: Likewise.
23766 * rt/mq_notify.c: Likewise.
23767 * rt/mq_open.c: Likewise.
23768 * rt/mq_receive.c: Likewise.
23769 * rt/mq_send.c: Likewise.
23770 * rt/mq_setattr.c: Likewise.
23771 * rt/mq_timedreceive.c: Likewise.
23772 * rt/mq_timedsend.c: Likewise.
23773 * rt/mq_unlink.c: Likewise.
23774 * rt/shm_open.c: Likewise.
23775 * rt/shm_unlink.c: Likewise.
23776 * rt/timer_create.c: Likewise.
23777 * rt/timer_delete.c: Likewise.
23778 * rt/timer_getoverr.c: Likewise.
23779 * rt/timer_gettime.c: Likewise.
23780 * rt/timer_settime.c: Likewise.
23781 * setjmp/__longjmp.c: Likewise.
23782 * setjmp/setjmp.c: Likewise.
23783 * signal/kill.c: Likewise.
23784 * signal/killpg.c: Likewise.
23785 * signal/raise.c: Likewise.
23786 * signal/sigaction.c: Likewise.
23787 * signal/sigaltstack.c: Likewise.
23788 * signal/sigblock.c: Likewise.
23789 * signal/sigignore.c: Likewise.
23790 * signal/sigintr.c: Likewise.
23791 * signal/signal.c: Likewise.
23792 * signal/sigpause.c: Likewise.
23793 * signal/sigpending.c: Likewise.
23794 * signal/sigqueue.c: Likewise.
23795 * signal/sigreturn.c: Likewise.
23796 * signal/sigset.c: Likewise.
23797 * signal/sigsetmask.c: Likewise.
23798 * signal/sigstack.c: Likewise.
23799 * signal/sigsuspend.c: Likewise.
23800 * signal/sigtimedwait.c: Likewise.
23801 * signal/sigvec.c: Likewise.
23802 * signal/sigwait.c: Likewise.
23803 * signal/sigwaitinfo.c: Likewise.
23804 * signal/sysv_signal.c: Likewise.
23805 * socket/accept.c: Likewise.
23806 * socket/accept4.c: Likewise.
23807 * socket/bind.c: Likewise.
23808 * socket/connect.c: Likewise.
23809 * socket/getpeername.c: Likewise.
23810 * socket/getsockname.c: Likewise.
23811 * socket/getsockopt.c: Likewise.
23812 * socket/isfdtype.c: Likewise.
23813 * socket/listen.c: Likewise.
23814 * socket/recv.c: Likewise.
23815 * socket/recvfrom.c: Likewise.
23816 * socket/recvmsg.c: Likewise.
23817 * socket/send.c: Likewise.
23818 * socket/sendmsg.c: Likewise.
23819 * socket/sendto.c: Likewise.
23820 * socket/setsockopt.c: Likewise.
23821 * socket/shutdown.c: Likewise.
23822 * socket/sockatmark.c: Likewise.
23823 * socket/socket.c: Likewise.
23824 * socket/socketpair.c: Likewise.
23825 * stdio-common/ctermid.c: Likewise.
23826 * stdio-common/cuserid.c: Likewise.
23827 * stdio-common/remove.c: Likewise.
23828 * stdio-common/rename.c: Likewise.
23829 * stdio-common/renameat.c: Likewise.
23830 * stdio-common/tempname.c: Likewise.
23831 * stdlib/getcontext.c: Likewise.
23832 * stdlib/makecontext.c: Likewise.
23833 * stdlib/setcontext.c: Likewise.
23834 * stdlib/swapcontext.c: Likewise.
23835 * stdlib/system.c: Likewise.
23836 * streams/fattach.c: Likewise.
23837 * streams/fdetach.c: Likewise.
23838 * streams/getmsg.c: Likewise.
23839 * streams/getpmsg.c: Likewise.
23840 * streams/putmsg.c: Likewise.
23841 * streams/putpmsg.c: Likewise.
23842 * sysdeps/unix/bsd/getpt.c: Likewise.
23843 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23844 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23845 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23848 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23849 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23850 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23851 * sysvipc/msgctl.c: Likewise.
23852 * sysvipc/msgget.c: Likewise.
23853 * sysvipc/msgrcv.c: Likewise.
23854 * sysvipc/msgsnd.c: Likewise.
23855 * sysvipc/semctl.c: Likewise.
23856 * sysvipc/semget.c: Likewise.
23857 * sysvipc/semop.c: Likewise.
23858 * sysvipc/semtimedop.c: Likewise.
23859 * sysvipc/shmat.c: Likewise.
23860 * sysvipc/shmctl.c: Likewise.
23861 * sysvipc/shmdt.c: Likewise.
23862 * sysvipc/shmget.c: Likewise.
23863 * termios/tcdrain.c: Likewise.
23864 * termios/tcflow.c: Likewise.
23865 * termios/tcflush.c: Likewise.
23866 * termios/tcgetattr.c: Likewise.
23867 * termios/tcgetpgrp.c: Likewise.
23868 * termios/tcsendbrk.c: Likewise.
23869 * termios/tcsetattr.c: Likewise.
23870 * termios/tcsetpgrp.c: Likewise.
23871 * time/adjtime.c: Likewise.
23872 * time/clock.c: Likewise.
23873 * time/getitimer.c: Likewise.
23874 * time/gettimeofday.c: Likewise.
23875 * time/setitimer.c: Likewise.
23876 * time/settimeofday.c: Likewise.
23877 * time/stime.c: Likewise.
23878 * time/time.c: Likewise.
23880 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23882 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23885 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23887 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23889 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23893 FE_TONEAREST before applying Dekker multiplication and Knuth
23894 addition. Clear inexact exceptions and check for exact zero
23895 results afterwards.
23896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23897 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23899 * math/libm-test.inc (fma_test): Add more tests.
23900 (fma_test_towardzero): Likewise.
23901 (fma_test_downward): Likewise.
23902 (fma_test_upward): Likewise.
23903 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23905 (libc_fesetround): New macro.
23906 (libc_fesetroundf): Likewise.
23907 (libc_fesetroundl): Likewise.
23908 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23910 (libc_fesetround_387): Likewise.
23911 (libc_fesetroundf): New macro.
23912 (libc_fesetround): Likewise.
23913 (libc_fesetroundl): Likewise.
23914 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23916 (libc_fesetroundf): New macro.
23917 (libc_fesetround): Likewise.
23918 (libc_fesetroundl): Likewise.
23919 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23920 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23921 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23923 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23924 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23926 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23927 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23929 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23933 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23934 integer constant usable in #if and use that to give value to enum
23936 (FE_DIVBYZERO): Likewise.
23937 (FE_UNDERFLOW): Likewise.
23938 (FE_OVERFLOW): Likewise.
23939 (FE_INVALID): Likewise.
23940 (FE_INVALID_SNAN): Likewise.
23941 (FE_INVALID_ISI): Likewise.
23942 (FE_INVALID_IDI): Likewise.
23943 (FE_INVALID_ZDZ): Likewise.
23944 (FE_INVALID_IMZ): Likewise.
23945 (FE_INVALID_COMPARE): Likewise.
23946 (FE_INVALID_SOFTWARE): Likewise.
23947 (FE_INVALID_SQRT): Likewise.
23948 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23949 (FE_TONEAREST): Likewise.
23950 (FE_TOWARDZERO): Likewise.
23951 (FE_UPWARD): Likewise.
23952 (FE_DOWNWARD): Likewise.
23953 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23954 (FE_DIVBYZERO): Likewise.
23955 (FE_OVERFLOW): Likewise.
23956 (FE_UNDERFLOW): Likewise.
23957 (FE_INEXACT): Likewise.
23958 (FE_TONEAREST): Likewise.
23959 (FE_DOWNWARD): Likewise.
23960 (FE_UPWARD): Likewise.
23961 (FE_TOWARDZERO): Likewise.
23962 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23963 (FE_UNDERFLOW): Likewise.
23964 (FE_OVERFLOW): Likewise.
23965 (FE_DIVBYZERO): Likewise.
23966 (FE_INVALID): Likewise.
23967 (FE_TONEAREST): Likewise.
23968 (FE_TOWARDZERO): Likewise.
23969 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23970 (FE_OVERFLOW): Likewise.
23971 (FE_UNDERFLOW): Likewise.
23972 (FE_DIVBYZERO): Likewise.
23973 (FE_INEXACT): Likewise.
23974 (FE_TONEAREST): Likewise.
23975 (FE_TOWARDZERO): Likewise.
23976 (FE_UPWARD): Likewise.
23977 (FE_DOWNWARD): Likewise.
23978 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23979 (FE_DIVBYZERO): Likewise.
23980 (FE_OVERFLOW): Likewise.
23981 (FE_UNDERFLOW): Likewise.
23982 (FE_INEXACT): Likewise.
23983 (FE_TONEAREST): Likewise.
23984 (FE_DOWNWARD): Likewise.
23985 (FE_UPWARD): Likewise.
23986 (FE_TOWARDZERO): Likewise.
23988 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23990 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23992 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23994 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23995 commands. Quote $PWD.
23996 (blacklist_exports): Don't use remove_newlines. Replace "declare
23998 (remove_newlines): Remove.
24000 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24002 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24003 * stdlib/stdlib.h (atof): Moved to ...
24004 * include/bits/stdlib-float.h: Here. New file.
24005 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24006 * stdlib/bits/stdlib-float.h: New file.
24007 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24009 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24012 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24014 * conform/conformtest.pl (@headers): Add fenv.h.
24015 * conform/data/fenv.h-data: New file.
24016 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24017 include of <math/fenv.h>.
24019 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24020 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24021 && !UNIX98]. Enables tests for XOPEN2K8.
24022 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24023 POSIX2008]: Likewise.
24025 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24026 (struct rusage): Do not expect type or its members.
24029 * math/math.h (FP_NAN): Define macro to integer constant usable in
24030 #if and use that to give value to enum constant.
24031 (FP_INFINITE): Likewise.
24032 (FP_ZERO): Likewise.
24033 (FP_SUBNORMAL): Likewise.
24034 (FP_NORMAL): Likewise.
24036 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24038 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24039 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24042 2012-11-02 Roland McGrath <roland@hack.frob.com>
24044 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24045 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24046 autoconf-time if not.
24047 * configure.in: Remove AC_PREREQ.
24049 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24051 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24052 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24053 of the internal implementation.
24055 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24057 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24058 except include of <misc/sys/syslog.h>.
24060 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24063 function returns with a NULL context exit with zero.
24065 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24067 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24069 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24071 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24072 (run_program_cmd): This.
24073 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24074 (tst_langinfo): New variable. Use it.
24076 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24078 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24079 floating point opcodes.
24081 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24083 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24086 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24088 * sysdeps/mach/hurd/powerpc: Remove directory.
24089 * sysdeps/mach/powerpc: Likewise.
24091 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24093 * scripts/check-local-headers.sh: Ignore c++ headers.
24095 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24097 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24098 __libc_cleanup_region_start argument.
24100 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24105 x * y using scaling, not as x * y + z.
24106 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24107 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24108 * math/libm-test.inc (fma_test): Add more tests.
24109 (fma_test_towardzero): Likewise.
24110 (fma_test_downward): Likewise.
24111 (fma_test_upward): Likewise.
24113 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24115 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24117 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24119 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24122 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24124 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24126 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24133 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24136 Fix the order of the list for glibc 2.17.
24137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24140 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24144 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24147 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24148 for low part of x being zero before using __atanl (y).
24149 * math/libm-test.inc (atan2_test): Add another test.
24151 * manual/install.texi (Configuring and compiling): Document
24152 general use of test-wrapper and test-wrapper-env.
24153 * INSTALL: Regenerated.
24155 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24156 (__fma): Do not extract and scale down low bits on after-rounding
24157 systems when result rounded to normal precision would have normal
24159 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24160 (__fmal): Do not extract and scale down low bits on after-rounding
24161 systems when result rounded to normal precision would have normal
24163 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24164 (__fmal): Do not extract and scale down low bits on after-rounding
24165 systems when result rounded to normal precision would have normal
24167 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24169 (fma_test): Add more tests.
24170 (fma_test_towardzero): Likewise.
24171 (fma_test_downward): Likewise.
24172 (fma_test_upward): Likewise.
24174 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24176 * sysdeps/i386/tininess.h: Renamed to ...
24177 * sysdeps/x86/tininess.h: This.
24178 * sysdeps/x86_64/tininess.h: Removed.
24180 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24182 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24183 input. Use $(build-program-cmd).
24184 ($(objpfx)tst-array1-static.out): Likewise.
24185 ($(objpfx)tst-array2.out): Likewise.
24186 ($(objpfx)tst-array3.out): Likewise.
24187 ($(objpfx)tst-array4.out): Likewise.
24188 ($(objpfx)tst-array5.out): Likewise.
24189 ($(objpfx)tst-array5-static.out): Likewise.
24191 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24193 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24196 * nss/nsswitch.h (nss_interface_function): Provide new
24197 macro for use with NSS functions.
24198 * grp/initgroups.c: Use new macro.
24199 * nss/getXXbyYY.c: Likewise.
24200 * nss/getXXbyYY_r.c: Likewise.
24201 * nss/getXXent.c: Likewise.
24202 * nss/getXXent_r.c: Likewise.
24203 * sysdeps/posix/getaddrinfo.c: Likewise.
24205 2012-10-30 Andreas Jaeger <aj@suse.de>
24207 * po/ru.po: Update Russion translation from translation project.
24209 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24214 result and shift together with sticky bit instead of replicating
24215 round-to-nearest rounding.
24216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24217 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24218 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24219 missing underflow exceptions.
24220 (fma_test_towardzero): Add more tests.
24221 (fma_test_downward): Likewise.
24222 (fma_test_upward): Likewise.
24225 * sysdeps/generic/tininess.h: New file.
24226 * sysdeps/i386/tininess.h: Likewise.
24227 * sysdeps/sh/tininess.h: Likewise.
24228 * sysdeps/x86_64/tininess.h: Likewise.
24229 * stdlib/tst-strtod-underflow.c: Likewise.
24230 * stdlib/tst-tininess.c: Likewise.
24231 * stdlib/strtod_l.c: Include <tininess.h>.
24232 (round_and_return): Do not set errno for exact underflow cases.
24233 Force an underflow exception when setting errno for underflow.
24234 Determine underflow based on rounding to normal precision if
24235 TININESS_AFTER_ROUNDING.
24236 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24237 ERANGE for exact underflow cases.
24238 * stdlib/Makefile (tests): Add tst-tininess and
24239 tst-strtod-underflow.
24240 ($(objpfx)tst-tininess): Use $(link-libm).
24241 ($(objpfx)tst-strtod-underflow): Likewise.
24243 2012-10-30 Andreas Jaeger <aj@suse.de>
24246 * elf/Makefile (tests): Remove conditional for have-initfini-array
24247 since this is now always required and the variable does not exist
24249 (tests-static): Likewise.
24250 (modules-names): Likewise.
24252 * po/eo.po: Add Esperanto translation from translation project.
24254 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24255 merged with constructor/destructor.
24256 (init_array): Likewise.
24257 * elf/tst-array2dep.c (fini_array): Likewise.
24258 (init_array): Likewise.
24260 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24262 * manual/message.texi: Delete @cartouche tags.
24264 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24266 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24268 * sysdeps/mach/hurd/fsync.c: Likewise.
24270 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24271 [_POSIX_REALTIME_SIGNALS]: Change condition to
24272 [_POSIX_REALTIME_SIGNALS > 0].
24274 2012-10-27 Andreas Jaeger <aj@suse.de>
24276 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24277 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24279 [__WORDSIZE != 64]: Likewise.
24281 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24283 * iconvdata/tst-table.sh: Remove ${SHELL}.
24284 * iconvdata/tst-tables.sh: Likewise.
24286 2012-10-25 David S. Miller <davem@davemloft.net>
24288 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24289 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24292 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24294 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24295 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24296 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24299 2012-10-25 Roland McGrath <roland@hack.frob.com>
24301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24302 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24305 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24306 Jim Blandy <jimb@codesourcery.com>
24308 * scripts/cross-test-ssh.sh: New file.
24309 * manual/install.texi (Configuring and compiling): Document use of
24311 * INSTALL: Regenerated.
24313 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24315 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24318 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24320 * Makeconfig (run-program-prefix): Fix comment.
24322 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24323 Jim Blandy <jimb@codesourcery.com>
24325 * Makeconfig (test-wrapper): New variable,
24326 (test-wrapper-env): Likewise.
24327 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24328 (run-built-tests): Define to yes.
24329 (run-program-prefix): Use $(test-wrapper).
24330 (built-program-cmd): Likewise.
24331 * Rules (make-test-out): Use $(test-wrapper-env) and
24332 $(host-built-program-cmd).
24333 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24334 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24336 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24337 $(test-wrapper-env) to tst-rtld-load-self.sh.
24338 ($(objpfx)order2.out): Use $(test-wrapper).
24339 ($(objpfx)tst-initorder.out): Likewise.
24340 ($(objpfx)tst-initorder2.out): Likewise.
24341 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24342 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24343 (test_wrapper_env): New variable. Use it to run ld.so.
24344 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24345 Use it to run ld.so.
24346 (test_wrapper_env): Likewise.
24347 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24348 $(test-wrapper) to run-iconv-test.sh.
24349 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24350 (ICONV): Use $test_wrapper.
24351 * posix/Makefile ($(objpfx)globtest.out): Pass
24352 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24353 globtest.sh, not $(run-program-prefix).
24354 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24355 (test_wrapper): Likewise.
24356 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24357 set together with run_via_rtld_prefix.
24358 (run_program_prefix): Define in terms of test_wrapper and
24359 run_via_rtld_prefix.
24361 2012-10-24 Roland McGrath <roland@hack.frob.com>
24363 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24364 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24368 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24369 Declare __clock_getres, __clock_gettime, __clock_settime,
24370 __clock_nanosleep, and __clock_getcpuclockid.
24371 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24372 Remove librt_hidden_def (clock_gettime).
24373 * sysdeps/unix/clock_gettime.c: Likewise.
24374 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24375 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24376 * rt/clock_getres.c: Define __clock_getres as an alias.
24377 * sysdeps/posix/clock_getres.c: Likewise.
24378 * rt/clock_settime.c: Define __clock_settime as an alias.
24379 * sysdeps/unix/clock_settime.c: Likewise.
24380 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24381 * sysdeps/unix/clock_nanosleep.c: Likewise.
24382 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24383 * rt/clock-compat.c: New file.
24384 * rt/Makefile (librt-routines): Add clock-compat and move
24385 $(clock-routines) to ...
24386 (routines): ... here, new variable.
24387 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24388 Don't add get_clockfreq here.
24389 * rt/Versions (libc: GLIBC_2.17): New version set.
24390 Add clock_* symbols here.
24391 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24392 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24393 (GLIBC_2.17): Add clock_* symbols.
24394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24396 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24405 * NEWS: Mention the move.
24407 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24408 Use __open, __read, __close rather than their public counterparts.
24409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24410 (__get_clockfreq_via_cpuinfo): Likewise.
24411 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24412 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24414 * config.h.in (HAVE_IFUNC): New #undef.
24415 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24417 * configure: Regenerated.
24419 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24421 * configure.in: Move READELF check to start of file.
24422 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24423 libc_cv_asm_gnu_indirect_function in the process.
24424 * configure: Regenerated.
24426 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24428 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24429 send the output to /dev/null.
24430 (libc_cv_cc_with_libunwind): Likewise.
24431 (libc_cv_as_noexecstack): Likewise.
24432 * configure: Regenerate.
24434 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24436 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24438 * posix/globtest.sh (TMPDIR): Do not set.
24439 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24440 (testout): Likewise.
24442 2012-10-24 Andreas Jaeger <aj@suse.de>
24444 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24445 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24446 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24447 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24448 posix_fadvise64, posix_fallocate64.
24450 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24451 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24452 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24454 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24456 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24459 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24460 <bits/fcntl-linux.h>.
24461 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24464 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24465 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24466 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24467 [__WORDSIZE != 64]: Likewise.
24469 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24471 * Makeconfig (run-built-tests): New variable.
24472 * Rules [$(cross-compiling) = yes]: Change condition to
24473 [$(run-built-tests) = no].
24474 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24475 to [$(run-built-tests) = yes].
24476 * elf/Makefile [$(cross-compiling) = no]: Likewise
24477 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24478 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24479 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24480 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24481 * io/Makefile [$(cross-compiling) = no]: Likewise.
24482 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24483 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24484 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24485 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24486 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24487 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24488 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24489 * string/Makefile [$(cross-compiling) = no]: Likewise.
24491 * posix/Makefile ($(objpfx)globtest.out): Pass
24492 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24493 $(rtld-installed-name).
24494 * posix/globtest.sh (elf_objpfx): Remove variable.
24495 (rtld_installed_name): Likewise.
24496 (library_path): Likewise.
24497 (run_program_prefix): New variable. Use for running globtest
24500 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24501 Joseph Myers <joseph@codesourcery.com>
24503 * Makeconfig (host-built-program-cmd): New variable.
24504 * elf/Makefile (tst-stackguard1-ARGS): Use
24505 $(host-built-program-cmd).
24506 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24507 (tst-spawn-ARGS): Likewise.
24508 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24510 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24511 Jim Blandy <jimb@codesourcery.com>
24513 * Makeconfig (run-via-rtld-prefix): New variable.
24514 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24515 (built-program-cmd): Likewise.
24517 2012-10-22 Andreas Jaeger <aj@suse.de>
24519 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24520 __O_RSYNC if it exists, otherwise to O_SYNC.
24522 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24523 Joseph Myers <joseph@codesourcery.com>
24525 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24527 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24529 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24532 2012-10-22 Andreas Jaeger <aj@suse.de>
24534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24536 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24539 bits/fcntl-linux.h.
24541 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24542 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24549 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24550 Joseph Myers <joseph@codesourcery.com>
24552 * config.make.in (NM): New variable.
24554 2012-10-21 Andreas Jaeger <aj@suse.de>
24556 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24557 definitions and declarations that are provided by
24558 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24560 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24563 * elf/Makefile (tests-static): Add tst-leaks1-static.
24564 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24565 ($(objpfx)tst-leaks1-static): New rule.
24566 ($(objpfx)tst-leaks1-static-mem): Likewise.
24567 (tst-leaks1-static-ENV): New macro.
24568 * elf/dl-open.c (dl_open_worker): Check the main application
24569 only if SHARED is defined.
24570 * elf/tst-leaks1-static.c: New file.
24572 2012-10-20 Andreas Jaeger <aj@suse.de>
24574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24575 generic values for Linux.
24576 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24577 and declarations that are provided by <bits/fcntl-linux.h> and
24578 include <bits/fcntl-linux.h>.
24579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24582 2012-10-20 Roland McGrath <roland@hack.frob.com>
24584 * io/fcntl.h: Move include of <bits/types.h> to the top and
24585 include it unconditionally.
24587 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24589 * wcsmbs/Makefile (tests-ifunc): New variable.
24590 (tests): Add $(tests-ifunc).
24591 * wcsmbs/test-wcschr-ifunc.c: New file.
24592 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24593 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24594 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24595 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24596 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24598 * string/Makefile (tests-ifunc): New variable.
24599 (tests): Add $(tests-ifunc).
24600 * string/test-memccpy.c (TEST_NAME): New macro.
24601 * string/test-memchr.c (TEST_NAME): Likewise.
24602 * string/test-memcmp.c (TEST_NAME): Likewise.
24603 * string/test-memcpy.c (TEST_NAME): Likewise.
24604 * string/test-memmem.c (TEST_NAME): Likewise.
24605 * string/test-memmove.c (TEST_NAME): Likewise.
24606 * string/test-memset.c (TEST_NAME): Likewise.
24607 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24608 * string/test-stpcpy.c (TEST_NAME): Likewise.
24609 * string/test-stpncpy.c (TEST_NAME): Likewise.
24610 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24611 * string/test-strcasestr.c (TEST_NAME): Likewise.
24612 * string/test-strcat.c (TEST_NAME): Likewise.
24613 * string/test-strchr.c (TEST_NAME): Likewise.
24614 * string/test-strcmp.c(TEST_NAME): Likewise.
24615 * string/test-strcpy.c (TEST_NAME): Likewise.
24616 * string/test-strcspn.c (TEST_NAME): Likewise.
24617 * string/test-strlen.c (TEST_NAME): Likewise.
24618 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24619 * string/test-strncmp.c (TEST_NAME): Likewise.
24620 * string/test-strncpy.c (TEST_NAME): Likewise.
24621 * string/test-strnlen.c (TEST_NAME): Likewise.
24622 * string/test-strpbrk.c (TEST_NAME): Likewise.
24623 * string/test-strrchr.c (TEST_NAME): Likewise.
24624 * string/test-strspn.c (TEST_NAME): Likewise.
24625 * string/test-strstr.c (TEST_NAME): Likewise.
24626 * string/test-bcopy-ifunc.c: New file.
24627 * string/test-bzero-ifunc.c: Likewise.
24628 * string/test-memccpy-ifunc.c: Likewise.
24629 * string/test-memchr-ifunc.c: Likewise.
24630 * string/test-memcmp-ifunc.c: Likewise.
24631 * string/test-memcpy-ifunc.c: Likewise.
24632 * string/test-memmem-ifunc.c: Likewise.
24633 * string/test-memmove-ifunc.c: Likewise.
24634 * string/test-mempcpy-ifunc.c: Likewise.
24635 * string/test-memset-ifunc.c: Likewise.
24636 * string/test-rawmemchr-ifunc.c: Likewise.
24637 * string/test-stpcpy-ifunc.c: Likewise.
24638 * string/test-stpncpy-ifunc.c: Likewise.
24639 * string/test-strcasecmp-ifunc.c: Likewise.
24640 * string/test-strcasestr-ifunc.c: Likewise.
24641 * string/test-strcat-ifunc.c: Likewise.
24642 * string/test-strchr-ifunc.c: Likewise.
24643 * string/test-strchrnul-ifunc.c: Likewise.
24644 * string/test-strcmp-ifunc.c: Likewise.
24645 * string/test-strcpy-ifunc.c: Likewise.
24646 * string/test-strcspn-ifunc.c: Likewise.
24647 * string/test-strlen-ifunc.c: Likewise.
24648 * string/test-strncasecmp-ifunc.c: Likewise.
24649 * string/test-strncat-ifunc.c: Likewise.
24650 * string/test-strncmp-ifunc.c: Likewise.
24651 * string/test-strncpy-ifunc.c: Likewise.
24652 * string/test-strnlen-ifunc.c: Likewise.
24653 * string/test-strpbrk-ifunc.c: Likewise.
24654 * string/test-strrchr-ifunc.c: Likewise.
24655 * string/test-strspn-ifunc.c: Likewise.
24656 * string/test-strstr-ifunc.c: Likewise.
24658 * debug/Makefile (tests-ifunc): New variable.
24659 (tests): Add $(tests-ifunc).
24660 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24661 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24662 * debug/test-stpcpy_chk-ifunc.c: New file.
24663 * debug/test-strcpy_chk-ifunc.c: Likewise.
24665 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24668 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24669 header is not read in.
24671 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24673 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24674 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24675 directly. Pass built executable to script as
24676 $(built-program-cmd).
24677 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24678 $testprogram without using LD_LIBRARY_PATH and $ldso.
24680 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24681 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24682 $(rtld-installed-name).
24683 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24684 (rtld_installed_name): Likewise.
24685 (library_path): Likewise.
24686 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24687 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24688 $(run-program-prefix) to tst-tables.sh.
24689 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24690 it to run tst-table-from and tst-table-to.
24691 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24692 Pass it to tst-table.sh.
24693 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24694 $(run-program-prefix) to tst-gettext.sh.
24695 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24697 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24699 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24700 to run tst-gettext.
24701 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24702 to run tst-gettext2.
24703 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24704 to run tst-translit.
24705 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24706 $(run-program-prefix) to tst-mtrace.sh.
24707 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24709 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24710 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24711 $(rtld-installed-name).
24712 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24713 (rtld_installed_name): Likewise.
24714 (run_program_prefix): New variable. Use it to run wordexp-test.
24716 * Makeconfig (ARCH): Remove all definitions.
24717 (machine): Likewise.
24718 [ARCH]: Remove conditional code.
24719 [!objdir]: Give error.
24720 [!objdir] (objpfx): Remove.
24721 [!objdir] (common-objpfx): Likewise.
24722 [!objdir] (common-objdir): Likewise.
24723 * configure.in (config_makefile): Remove. Hardcode Makefile in
24724 AC_CONFIG_FILES call.
24725 * configure: Regenerated.
24728 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24730 (testout): Likewise.
24732 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24733 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24734 $(rtld-installed-name).
24735 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24736 (rtld_installed_name): Likwise.
24737 (runit): Remove function.
24738 (run_getconf): New variable, Use it for running getconf binary.
24740 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24743 * string/test-memmem.c (check_result): New function.
24744 (do_one_test): Use it.
24745 (check1): New function.
24746 (test_main): Use it.
24748 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24750 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24752 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24754 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24755 (_G_LSEEK64): Likewise.
24756 (_G_MMAP64): Likewise.
24757 (_G_FSTAT64): Likewise.
24758 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24759 (_G_LSEEK64): Likewise.
24760 (_G_MMAP64): Likewise.
24761 (_G_FSTAT64): Likewise.
24762 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24763 unconditional. Call __mmap64 directly.
24764 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24765 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24766 __lseek64 directly.
24767 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24768 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24770 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24771 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24772 __lseek64 directly.
24773 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24774 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24775 __lseek64 directly.
24776 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24777 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24778 __lseek64 directly.
24779 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24780 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24781 __fxstat64 directly.
24782 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24783 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24785 (freopen64) [!_G_OPEN64]: Remove conditional code.
24786 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24788 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24789 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24791 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24792 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24794 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24795 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24797 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24798 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24800 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24801 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24803 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24804 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24806 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24808 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24811 * manual/memory.texi (Malloc Tunable Parameters): Add note
24812 about free list pointers overwriting some perturb bytes.
24813 Wording suggested by Roland McGrath.
24815 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24817 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24818 (lgamma_test): Likewise.
24819 (tgamma_test): Likewise.
24821 2012-10-16 Florian Weimer <fweimer@redhat.com>
24824 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24825 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24827 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24829 * NEWS: Mention BZ #14716.
24830 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24831 when removing AVAILABLE1_USES_J macro.
24833 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24835 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24836 (__bswap_64): __uint64_t for unsigned 64-bit int.
24838 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24840 * include/string.h (memmem): Declare libc hidden alias.
24841 * string/memmem.c (memmem): Define libc hidden alias.
24842 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24843 __read, __close instead of open, read, close.
24845 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24848 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24850 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24851 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24852 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24854 (__rawmemchr_sse2): Likewise.
24855 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24856 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24857 (__strchr_sse2): Likewise.
24858 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24859 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24860 (__strcasecmp_sse2): Likewise.
24861 (__strncasecmp_sse2): Likewise.
24862 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24863 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24864 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24865 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24866 (__strrchr_sse2): Likewise.
24867 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24869 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24870 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24871 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24872 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24873 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24874 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24875 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24876 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24877 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24878 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24879 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24880 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24881 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24882 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24883 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24884 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24885 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24886 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24887 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24888 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24889 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24890 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24891 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24892 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24893 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24894 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24895 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24896 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24897 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24898 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24900 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24902 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24903 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24904 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24905 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24907 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24909 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24910 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24911 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24912 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24914 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24915 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24916 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24917 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24918 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24919 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24920 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24921 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24922 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24923 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24924 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24925 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24926 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24927 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24928 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24929 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24930 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24931 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24932 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24933 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24934 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24935 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24936 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24937 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24938 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24939 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24940 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24941 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24942 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24943 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24944 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24945 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24946 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24947 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24948 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24949 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24950 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24951 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24952 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24953 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24954 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24956 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24957 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24958 * include/ifunc-impl-list.h: New file.
24959 * misc/ifunc-impl-list.c: Likewise.
24960 * misc/Makefile (routines): Add ifunc-impl-list.
24961 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24962 * string/test-string.h: Include <ifunc-impl-list.h>.
24963 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24964 TEST_NAME]: New variables.
24965 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24967 (test_init): Call __libc_ifunc_impl_list to initialize
24968 func_list if TEST_IFUNC and TEST_NAME are defined.
24970 * string/Makefile (strop-tests): Add bcopy and bzero.
24971 * string/test-bcopy.c: New file.
24972 * string/test-bzero.c: Likewise.
24973 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24975 * string/test-memset.c: Support bzero test if TEST_BZERO is
24977 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24979 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24981 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24984 2012-10-10 Joseph Myers <joseph@codesourcery.com>
24986 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24987 * configure: Regenerated.
24989 * Makeconfig (+link-static-before-libc): Don't include
24990 $(link-static-libc).
24992 * libio/libio.h (_IO_pos_t): Remove.
24994 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24996 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24999 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25001 * crypt/crypt-entry.c: Include fips-private.h.
25002 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25003 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25004 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25005 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25007 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25009 * crypt/crypt-private.h: Include stdbool.h.
25010 (_ufc_setup_salt_r): Return bool.
25011 * crypt/crypt-entry.c: Include errno.h.
25012 (__crypt_r): Return NULL with EINVAL for bad salt.
25013 * crypt/crypt_util.c (bad_for_salt): New.
25014 (_ufc_setup_salt_r): Check that salt is long enough and within
25015 the specified alphabet.
25016 * crypt/badsalttest.c: New file.
25017 * crypt/Makefile (tests): Add it.
25018 ($(objpfx)badsalttest): New.
25020 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25022 * NEWS: Add entry for BZ #14602.
25024 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25026 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25028 * math/libm-test.inc: Update comment listing what functions and
25030 (isgreater_test): New function.
25031 (isgreaterequal_test): Likewise.
25032 (isless_test): Likewise.
25033 (islessequal_test): Likewise.
25034 (islessgreater_test): Likewise.
25035 (isunordered_test): Likewise.
25036 (main): Call the new functions.
25038 2012-10-09 Roland McGrath <roland@hack.frob.com>
25040 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25041 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25042 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25043 * sysdeps/i386/configure: Regenerated.
25044 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25045 * sysdeps/mach/configure: Regenerated.
25046 * sysdeps/mach/hurd/configure: Regenerated.
25047 * sysdeps/powerpc/configure: Regenerated.
25048 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25049 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25050 * sysdeps/s390/s390-32/configure: Regenerated.
25051 * sysdeps/s390/s390-64/configure: Regenerated.
25052 * sysdeps/sh/configure: Regenerated.
25053 * sysdeps/sparc/configure: Regenerated.
25054 * sysdeps/unix/sysv/linux/configure: Regenerated.
25055 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25056 * sysdeps/x86_64/configure: Regenerated.
25058 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25059 defined. Don't check if MAP is NULL.
25061 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25063 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25064 (_G_stat64): Likewise.
25065 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25066 (_G_stat64): Likewise.
25067 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25068 instead of struct _G_stat64.
25069 * libio/fileops.c (mmap_remap_check): Likewise.
25070 (decide_maybe_mmap): Likewise.
25071 (_IO_new_file_seekoff): Likewise.
25072 (_IO_file_stat): Likewise.
25073 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25075 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25076 instead of struct _G_stat64.
25077 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25079 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25082 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25084 (CHECK_EOL): New macro.
25085 (two_way_short_needle): Check beginning of haystack for EOL. Use
25087 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25088 Replace with CHECK_EOL.
25089 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25090 Replace with CHECK_EOL.
25092 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25094 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25096 * math/libm-test.inc: Update comment listing what functions and
25098 (finite_test): New function.
25099 (isinf_test): Likewise.
25100 (isnan_test): Likewise.
25101 (fpclassify_test): Test subnormal input.
25102 (isfinite_test): Likewise.
25103 (isnormal_test): Likewise.
25104 (main): Call the new functions.
25106 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25109 * Makerules (%.dynsym): Force C locale when running
25110 $(OBJDUMP) --dynamic-syms.
25112 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25114 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25117 2012-10-06 David S. Miller <davem@davemloft.net>
25119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25120 upper 32-bits of the length value in %o2 since we use branch-on-register
25121 tests which consider the entire 64-bit register.
25123 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25125 * string/test-strstr.c (check2): Add a test for page boundary.
25127 2012-10-05 David S. Miller <davem@davemloft.net>
25129 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25130 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25132 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25134 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25135 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25136 and bzero when HWCAP_SPARC_CRYPTO is present.
25138 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25141 * string/test-strstr.c (check2): New function.
25142 (test_main): Call check2.
25144 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25146 * string/bug-strcasestr1.c (do_test): Moved to ...
25147 * string/test-strcasestr.c (check1): Here. New function.
25148 (do_one_test): Break out result checking code into ...
25149 (check_result): This. New function.
25150 (do_one_test): Call check_result.
25151 (test_main): Call check1.
25152 * string/bug-strchr1.c (do_test): Moved to ...
25153 * string/test-strchr.c (check1): Here. New function.
25154 (do_one_test): Break out result checking code into ...
25155 (check_result): This. New function.
25156 (do_one_test): Call check_result.
25157 (test_main): Call check1.
25158 * string/bug-strstr1.c (main): Moved to ...
25159 * string/test-strstr.c (check1): Here. New function.
25160 (do_one_test): Break out result checking code into ...
25161 (check_result): This. New function.
25162 (do_one_test): Call check_result.
25163 (test_main): Call check1.
25164 * string/bug-strcasestr1.c: Removed.
25165 * string/bug-strchr1.c: Likewise.
25166 * string/bug-strstr1.c: Likewise.
25168 * elf/Makefile (dl-routines): Add hwcaps.
25169 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25170 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25171 (_dl_important_hwcaps): Moved to ...
25172 * elf/dl-hwcaps.c: Here. New file.
25173 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25176 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25177 if IS_IN_rtld isn't defined.
25179 * elf/dl-support.c (_dl_sysinfo_map): New.
25180 Include "get-dynamic-info.h" and "setup-vdso.h".
25181 (_dl_non_dynamic_init): Call setup_vdso.
25182 * elf/dynamic-link.h: Don't include <assert.h>.
25183 (elf_get_dynamic_info): Moved to ...
25184 * elf/get-dynamic-info.h: Here. New file.
25185 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25186 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25187 * elf/setup-vdso.h: Here. New file.
25188 * elf/rtld.c: Include "setup-vdso.h".
25189 (dl_main): Call setup_vdso.
25191 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25193 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25194 creal in comment listing functions tested. List finite, isinf,
25195 isnan, isless, islessequal, isgreater, isgreaterequal,
25196 islessgreater, isunordered, lgamma_r and pow10 as functions and
25197 macros not tested. Mention which functions not tested are aliases
25198 for other functions. Fix typo. Note that signs of NaNs are not
25201 * scripts/config.guess: Update from config.git.
25202 * scripts/config.sub: Likewise.
25204 2012-10-04 Roland McGrath <roland@hack.frob.com>
25206 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25207 * misc/madvise.c (madvise): Renamed to __madvise.
25208 Make madvise a weak alias.
25209 * include/sys/mman.h: Declare __madvise.
25210 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25211 * sysdeps/unix/syscalls.list
25212 (madvise): Make __madvise the strong name, and madvise a weak alias.
25213 * sysdeps/unix/sysv/linux/syscalls.list
25214 (madvise, mmap): Remove redundant entries.
25215 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25216 * malloc/malloc.c (mtrim): Likewise.
25217 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25219 2012-10-03 Roland McGrath <roland@hack.frob.com>
25221 * sysdeps/mach/hurd/dl-cache.c: File removed.
25222 * config.h.in (USE_LDCONFIG): New #undef.
25223 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25224 * configure: Regenerated.
25225 * elf/Makefile (dl-routines): Add dl-cache only under
25226 [$(use-ldconfig) = yes].
25227 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25228 cache on [USE_LDCONFIG].
25229 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25231 * elf/rtld.c (dl_main): Likewise.
25233 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25235 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25236 _SC_LEVEL4_CACHE_LINESIZE.
25238 2012-10-03 Roland McGrath <roland@hack.frob.com>
25240 * sysdeps/unix/bsd/confstr.h: File removed.
25242 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25244 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25247 2012-10-02 Roland McGrath <roland@hack.frob.com>
25249 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25250 Make 'mapoff' field ElfW(Off) rather than off_t.
25252 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25254 * nscd/Makefile: Remove nscd-cflags and all its users.
25255 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25256 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25259 * malloc.c (malloc_printerr): Clarify error message.
25261 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25265 Set bit_FMA_Usable if FMA is supported.
25266 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25268 (bit_FMA4_Usable): Updated.
25269 (index_FMA_Usable): New macro.
25270 (CPUID_FMA): Likewise
25271 (HAS_FMA): Defined with bit_FMA_Usable.
25273 2012-10-01 Roland McGrath <roland@hack.frob.com>
25275 * bits/types.h (__swblk_t): Type removed.
25276 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25277 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25279 (__SWBLK_T_TYPE): Likewise.
25280 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25281 (__SWBLK_T_TYPE): Likewise.
25282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25283 (__SWBLK_T_TYPE): Likewise.
25284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25285 (__SWBLK_T_TYPE): Likewise.
25287 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25288 Honza Horak <hhorak@redhat.com>
25290 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25291 (xdr_mapname): Use YPMAXMAP as maxsize.
25292 (xdr_peername): Use YPMAXPEER as maxsize.
25293 (xdr_keydat): Use YPAXRECORD as maxsize.
25294 (xdr_valdat): Use YPMAXRECORD as maxsize.
25296 2012-10-01 Roland McGrath <roland@hack.frob.com>
25298 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25300 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25301 * csu/init-first.c: ... here.
25302 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25303 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25304 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25305 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25306 * sysdeps/i386/init-first.c: File removed.
25307 * sysdeps/sh/init-first.c: File removed.
25309 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25313 if x * y might underflow to zero and z is zero.
25314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25316 * math/libm-test.inc (min_subnorm_value): New variable.
25317 (fma_test): Add more tests.
25318 (fma_test_towardzero): Likewise.
25319 (fma_test_downward): Likewise
25320 (fma_test_upward): Likewise.
25321 (initialize): Set min_subnorm_value.
25323 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25328 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25329 mode for addition resulting in exact zero.
25330 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25333 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25334 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25335 * math/libm-test.inc (fma_test): Add more tests.
25336 (fma_test_towardzero): New function.
25337 (fma_test_downward): Likewise.
25338 (fma_test_upward): Likewise.
25339 (main): Call the new functions.
25341 2012-09-28 David S. Miller <davem@davemloft.net>
25343 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25345 2012-09-28 Roland McGrath <roland@hack.frob.com>
25347 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25348 instead of SIGALRM.
25350 * sysdeps/gnu/_G_config.h: Moved to ...
25351 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25352 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25353 * sysdeps/generic/_G_config.h: ... here.
25355 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25357 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25359 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25360 Conditionalize target on [libnss_test1.so-version].
25362 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25364 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25365 (elfobjdir): Move out of conditionals.
25367 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25368 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25369 (__nss_lookup_function): Conditionalize label remove_from_tree on
25370 [!DO_STATIC_NSS || SHARED], matching its only use.
25372 2012-09-28 David S. Miller <davem@davemloft.net>
25374 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25375 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25377 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25379 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25380 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25381 when HWCAP_SPARC_CRYPTO is present.
25383 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25385 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25387 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25390 * stdio-common/vfprintf.c (process_string_arg): Revert
25393 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25395 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25397 * stdio-common/tst-sprintf.c: Include <locale.h>
25398 (main): Test sprintf's handling of incomplete multibyte
25401 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25403 * elf/dl-runtime.c (VERSYMIDX): Removed.
25404 * elf/dl-version.c (VERSYMIDX): Likewise.
25405 * elf/do-rel.h (VERSYMIDX): Likewise.
25406 (VALIDX): Likewise.
25407 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25408 * elf/rtld.c (VALIDX): Likewise.
25409 (ADDRIDX): Likewise.
25410 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25411 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25412 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25413 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25414 (VALIDX): Likewise.
25415 (ADDRIDX): Likewise.
25417 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25419 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25421 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25424 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25426 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25427 addresses are in the same scope as 192.0.2/24.
25428 * posix/gai.conf: Document new scope table defaults.
25430 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25433 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25434 for ftell. Compute offsets from write pointers instead.
25435 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25437 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25440 * libio/Makefile (tests): New test case tst-fseek.
25441 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25442 combination works in wide mode.
25443 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25444 state when the external buffer state changes.
25446 2012-09-27 David S. Miller <davem@davemloft.net>
25449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25450 pass reloc->r_addend in as the 'high' argument to
25451 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25455 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25457 * rt/tst-aio2.c: Include <pthread.h>.
25458 * rt/tst-aio3.c: Likewise.
25460 2012-09-27 Steve Ellcey <sellcey@mips.com>
25462 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25464 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25466 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25467 contents on [SHARED].
25469 2012-09-26 Marek Polacek <polacek@redhat.com>
25473 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25474 for C++ and GCC <4.3 as well as for non GCC compilers.
25476 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25480 2012-09-25 Roland McGrath <roland@hack.frob.com>
25482 * Makefile.in (all, install): Declare with .PHONY.
25483 Reported by Michael Hope <michael.hope@linaro.org>.
25485 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25487 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25488 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25490 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25492 (sydep_routines): Add the new and the internal functions.
25493 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25494 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25496 (GLIBC_2.17): Add the new function.
25497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25498 (GLIBC_2.17): Likewise.
25499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25500 (GLIBC_2.17): Likewise.
25501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25502 (GLIBC_2.17): Likewise.
25503 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25505 2012-09-25 Alan Modra <amodra@gmail.com>
25507 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25508 Add release barrier before setting once_control to say
25509 initialisation is done. Add hints on lwarx. Use macro in
25511 (clear_once_control): Add release barrier.
25513 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25516 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25518 * math/s_clog10.c (__clog10): Likewise.
25519 * math/s_clog10f.c (__clog10f): Likewise.
25520 * math/s_clog10l.c (__clog10l): Likewise.
25521 * math/s_clogf.c (__clogf): Likewise.
25522 * math/s_clogl.c (__clogl): Likewise.
25523 * math/Makefile (libm-calls): Add x2y2m1.
25524 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25525 (__x2y2m1): Likewise.
25526 (__x2y2m1l): Likewise.
25527 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25528 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25531 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25532 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25533 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25534 * sysdeps/i386/fpu/libm-test-ulps: Update.
25535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25538 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25539 int as type of variable DEPTH.
25540 (glob): Use size_t instead of int as type of variables NEWCOUNT
25543 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25545 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25546 Add s_sincosf-sse2.
25547 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25548 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25549 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25550 macros for using routine as __sincosf_ia32.
25551 Use macro for function declaration and weak_alias.
25552 * sysdeps/i386/fpu/libm-test-ulps: Update.
25554 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25557 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25558 subnormal argument.
25559 * math/s_cexpf.c (__cexpf): Likewise.
25560 * math/s_csinf.c (__csinf): Likewise.
25561 * math/s_csinhf.c (__csinhf): Likewise.
25562 * math/s_ctanf.c (__ctanf): Likewise.
25563 * math/s_ctanhf.c (__ctanhf): Likewise.
25564 * math/s_ccosh.c (__ccoshf): Likewise.
25565 * math/s_cexp.c (__cexpl): Likewise.
25566 * math/s_csin.c (__csin): Likewise.
25567 * math/s_csinh.c (__csinh): Likewise.
25568 * math/s_ctan.c (__ctan): Likewise.
25569 * math/s_ctanh.c (ctanh): Likewise.
25570 * math/s_ccoshl.c (__ccoshl): Likewise.
25571 * math/s_cexpl.c (__cexpl): Likewise.
25572 * math/s_csinl.c (__csinl): Likewise.
25573 * math/s_csinhl.c (__csinhl): Likewise.
25574 * math/s_ctanl.c (__ctanl): Likewise.
25575 * math/s_ctanhl.c (__ctanhl): Likewise.
25577 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25579 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25580 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25581 (_IO_off_t): Define to __off_t, not _G_off_t.
25582 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25583 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25584 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25585 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25586 type of __dummy and __dummy2 fields.
25587 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25588 (_G_ssize_t): Likewise.
25589 (_G_off_t): Likewise.
25590 (_G_pid_t): Likewise.
25591 (_G_uid_t): Likewise.
25592 (_G_wchar_t): Likewise.
25593 (_G_wint_t): Likewise.
25594 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25595 (_G_ssize_t): Likewise.
25596 (_G_off_t): Likewise.
25597 (_G_pid_t): Likewise.
25598 (_G_uid_t): Likewise.
25599 (_G_wchar_t): Likewise.
25600 (_G_wint_t): Likewise.
25601 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25602 (_G_ssize_t): Likewise.
25603 (_G_off_t): Likewise.
25604 (_G_pid_t): Likewise.
25605 (_G_uid_t): Likewise.
25606 (_G_wchar_t): Likewise.
25607 (_G_wint_t): Likewise.
25609 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25611 * malloc/arena.c: Include malloc-sysdep.h.
25612 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25613 is sufficient to shrink the heap or an unmap is needed.
25614 * sysdeps/generic/malloc-sysdep.h: New file. Define
25615 new function check_may_shrink_heap.
25616 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25617 new function check_may_shrink_heap.
25619 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25621 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25624 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25626 * catgets/test-gencat.sh: Add "set -e".
25627 * elf/tst-pathopt.sh: Likewise.
25628 * grp/tst_fgetgrent.sh: Likewise.
25629 * iconvdata/run-iconv-test.sh: Likewise.
25630 * intl/tst-gettext.sh: Likewise.
25631 * intl/tst-gettext2.sh: Likewise.
25632 * intl/tst-gettext4.sh: Likewise.
25633 * intl/tst-gettext6.sh: Likewise.
25634 * intl/tst-translit.sh: Likewise.
25635 * io/ftwtest-sh: Likewise.
25636 * libio/test-freopen.sh: Likewise.
25637 * malloc/tst-mtrace.sh: Likewise.
25638 * posix/globtest.sh: Likewise.
25639 * posix/tst-getconf.sh: Likewise.
25640 * posix/wordexp-tst.sh: Likewise.
25641 * stdio-common/tst-printf.sh: Likewise.
25642 * stdio-common/tst-unbputc.sh: Likewise.
25643 * stdlib/tst-fmtmsg.sh: Likewise.
25644 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25645 * catgets/Makefile: Do not specify -e option when running
25646 testsuite shell scripts.
25647 * elf/Makefile: Likewise.
25648 * grp/Makefile: Likewise.
25649 * iconvdata/Makefile: Likewise.
25650 * intl/Makefile: Likewise.
25651 * io/Makefile: Likewise.
25652 * libio/Makefile: Likewise.
25653 * malloc/Makefile: Likewise.
25654 * posix/Makefile: Likewise.
25655 * stdio-common/Makefile: Likewise.
25656 * stdlib/Makefile: Likewise.
25657 * sysdeps/x86_64/Makefile: Likewise.
25659 * io/ftwtest-sh: Add copyright header.
25660 * posix/globtest.sh: Likewise.
25661 * posix/tst-getconf.sh: Likewise.
25662 * posix/wordexp-tst.sh: Likewise.
25663 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25665 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25668 * Makeconfig (+link): Defined as $(+link-static) if
25669 $(build-shared) isn't yes.
25670 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25672 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25674 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25677 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25678 new chunk size with MALLOC_ALIGN_MASK.
25680 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25683 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25685 (__printf_fphex): Determine rounding using get_rounding_mode and
25687 * stdio-common/tst-printf-round.c (struct hex_test): New
25689 (hex_tests): New variable.
25690 (test_hex_in_one_mode): New function.
25691 (do_test): Also run tests for hex float output.
25693 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25695 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25696 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25697 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25698 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25699 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25700 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25701 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25702 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25704 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25706 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25707 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25708 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25709 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25711 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25714 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25716 * elf/tst-rtld-load-self.sh: New test.
25717 * elf/Makefile: Run it.
25719 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25721 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25722 (tst-writev-ENV): Remove.
25723 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25725 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25727 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25729 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25731 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25733 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25735 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25736 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25737 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25740 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25743 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25744 * config.make.in (have-cpp-asm-debuginfo): Removed.
25745 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25746 * configure: Regenerated.
25748 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25751 * stdio-common/printf_fp.c: Include <stdbool.h> and
25753 (___printf_fp): Determine rounding using get_rounding_mode and
25755 * stdio-common/tst-printf-round.c: New file.
25756 * stdio-common/Makefile (tests): Add tst-printf-round.
25757 (link-libm): New variable.
25758 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25760 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25763 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25764 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25766 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25769 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25771 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25772 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25773 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25774 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25776 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25779 * include/rounding-mode.h: New file.
25780 * sysdeps/generic/get-rounding-mode.h: Likewise.
25781 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25782 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25783 (MAX_VALUE): New macro.
25784 (MIN_VALUE): Likewise.
25785 (overflow_value): New function.
25786 (underflow_value): Likewise.
25787 (round_and_return): Use overflow_value and underflow_value to
25788 determine return values in overflow and underflow cases. Use
25789 round_away to determine rounding depending on rounding mode.
25790 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25791 determine return values in overflow and underflow cases.
25792 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25793 (struct test_results): New structure.
25794 (struct test): Use struct test_results to store expected results
25795 for all rounding modes.
25796 (TEST): Include expected results for all rounding modes.
25797 (test_in_one_mode): New function.
25798 (do_test): Use test_in_one_mode to compute and check results.
25799 Check results for all rounding modes.
25800 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25803 2012-12-09 Allan McRae <allan@archlinux.org>
25805 * sysdeps/i386/fpu/libm-test-ulps: Update
25807 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25809 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25810 (_G_int32_t): Likewise.
25811 (_G_uint16_t): Likewise.
25812 (_G_uint32_t): Likewise.
25813 (_G_HAVE_BOOL): Likewise.
25814 (_G_HAVE_ATEXIT): Likewise.
25815 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25816 (_G_HAVE_IO_FILE_OPEN): Likewise.
25817 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25818 (_G_int32_t): Likewise.
25819 (_G_uint16_t): Likewise.
25820 (_G_uint32_t): Likewise.
25821 (_G_HAVE_BOOL): Likewise.
25822 (_G_HAVE_ATEXIT): Likewise.
25823 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25824 (_G_HAVE_IO_FILE_OPEN): Likewise.
25825 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25826 (_G_int32_t): Likewise.
25827 (_G_uint16_t): Likewise.
25828 (_G_uint32_t): Likewise.
25829 (_G_HAVE_BOOL): Likewise.
25830 (_G_HAVE_ATEXIT): Likewise.
25831 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25832 (_G_HAVE_IO_FILE_OPEN): Likewise.
25834 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25836 * csu/libc-tls.c: Update copyright years.
25838 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25840 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25841 [!_G_USING_THUNKS]: Remove conditional code.
25842 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25843 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25845 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25846 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25847 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25848 (_G_VTABLE_LABEL_PREFIX): Likewise.
25849 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25850 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25851 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25852 (_G_VTABLE_LABEL_PREFIX): Likewise.
25853 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25854 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25855 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25856 (_G_VTABLE_LABEL_PREFIX): Likewise.
25857 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25859 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25861 * libio/Makefile: Include ../Makeconfig before tests.
25862 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25863 only if $(build-shared) is yes.
25865 * iconv/gconv_db.c: Update copyright years.
25867 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25869 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25870 unwind info if defined PIC. Fix special cases description.
25871 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25873 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25875 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25877 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25879 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25881 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25884 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25885 (LDLIBS-tst-chk4): This.
25886 (LDFLAGS-tst-chk5): Renamed to ...
25887 (LDLIBS-tst-chk5): This.
25888 (LDFLAGS-tst-chk6): Renamed to ...
25889 (LDLIBS-tst-chk6): This.
25890 (LDFLAGS-tst-lfschk4): Renamed to ...
25891 (LDLIBS-tst-lfschk4): This.
25892 (LDFLAGS-tst-lfschk5): Renamed to ...
25893 (LDLIBS-tst-lfschk5): This.
25894 (LDFLAGS-tst-lfschk6): Renamed to ...
25895 (LDLIBS-tst-lfschk6): This.
25897 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25898 on $(common-objpfx)soversions.mk.
25900 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25903 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25906 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25908 * malloc/arena.c (arena_get_retry): New function that gets
25909 another arena for the caller to try its request on.
25910 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25911 current arena cannot fulfill the request.
25912 (__libc_memalign): Likewise.
25913 (__libc_memalign): Likewise.
25914 (__libc_pvalloc): Likewise.
25915 (__libc_calloc): Likewise.
25917 2012-09-05 John Tobey <john.tobey@gmail.com>
25920 * manual/arith.texi (Operations on Complex): Fix description
25921 of carg branch cut.
25923 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25926 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25930 * manual/memory.texi (Memory): Make order of menu items match
25933 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25935 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25936 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25937 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25939 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25941 * csu/libc-tls.c (static_dtv): Renamed to ...
25942 (_dl_static_dtv): This. Make it global.
25943 (_dl_initial_dtv): Removed.
25944 (__libc_setup_tls): Updated.
25945 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25946 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25949 2012-09-06 Petr Machata <pmachata@redhat.com>
25951 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25952 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25953 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25954 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25956 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25959 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25960 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25963 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25966 * Makeconfig (link-static-before-libc): Replace $(+prector)
25968 (link-static-after-libc): Replace $(+postctor) with
25970 (link-bounded): Replace $(+prector)/$(+postctor) with
25971 $(+prectorT)/$(+postctorT).
25972 (+prectorT): New macro.
25973 (+postctorT): Likewise.
25975 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25977 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25978 (round_str): Handle values above the maximum for IBM long double
25980 * stdlib/tst-strtod-round.c (tests): Regenerated.
25982 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25984 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25986 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25987 zarch_nohighgprs around the zarch optimized routines.
25988 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25989 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25990 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25993 2012-09-05 David S. Miller <davem@davemloft.net>
25995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25997 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25998 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25999 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26000 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26003 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26005 * malloc/arena.c: Fold copyright years.
26006 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26008 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26010 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26012 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26014 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26016 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26018 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26019 change internal state upon failure.
26021 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26023 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26024 * malloc/memusage.c (mmap): Likewise.
26025 (mmap64, mremap): Likewise. Adjust name in comment.
26027 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26029 * libio/fileops.c: Fix typos in comments.
26030 * libio/oldfileops.c: Likewise.
26031 * libio/wfileops.c: Likewise.
26033 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26036 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26037 (tst-malloc-usable-ENV): Set environment for test case.
26038 * malloc/hooks.c (malloc_check_get_size): New function to get
26040 * malloc/malloc.c (musable): Use malloc_check_get_size.
26041 * malloc/tst-malloc-usable.c: New test case.
26043 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26045 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26047 2012-09-05 Allan McRae <allan@archlinux.org>
26050 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26051 determine header location.
26052 * configure: Regenerated.
26054 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26056 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26058 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26059 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26061 (test): Regenerate.
26063 2012-09-04 David S. Miller <davem@davemloft.net>
26065 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26066 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26067 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26069 2012-09-04 Florian Weimer <fweimer@redhat.com>
26071 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26074 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26076 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26079 * libio/iogetdelim.c: Include <limits.h>.
26080 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26081 + len + 1 would overflow.
26083 2012-09-03 Andreas Jaeger <aj@suse.de>
26085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26086 * sysdeps/i386/fpu/libm-test-ulps: Update.
26088 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26090 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26091 Add s_sinf-sse2, s_conf-sse2.
26093 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26094 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26095 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26096 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26098 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26099 for using routine as __sinf_ia32.
26100 Use macro for function declaration and weak_alias.
26101 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26102 for using routine as __cosf_ia32.
26103 Use macro for function declaration and weak_alias.
26105 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26106 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26108 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26109 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26112 * math/libm-test.inc (cos_test): Add more test cases.
26113 (sin_test): Likewise.
26114 (sincos_test): Likewise.
26116 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26118 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26119 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26121 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26123 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26126 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26127 first element of the GOT.
26128 (elf_machine_load_address): Return the difference between
26129 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26131 2012-09-01 Allan McRae <allan@archlinux.org>
26134 * configure.in (AWK): Require gawk version 3.0 or later.
26135 * configure: Regenerated.
26137 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26139 * sysdeps/unix/sysv/linux/kernel-features.h
26140 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26141 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26142 [__NR_clock_getres]: Make code unconditional.
26143 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26144 (clock_getcpuclockid): Remove code left unreachable by removal of
26146 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26147 code unconditional.
26148 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26149 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26150 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26151 Make code unconditional.
26152 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26153 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26154 * sysdeps/unix/sysv/linux/clock_settime.c
26155 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26157 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26158 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26160 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26163 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26164 scripts/test-installation.pl.
26166 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26167 and $ld_so_version if it is set.
26169 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26172 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26173 failure if reading from procfs failed.
26174 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26176 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26178 * sysdeps/unix/sysv/linux/kernel-features.h
26179 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26180 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26181 Remove conditional code.
26182 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26183 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26184 Remove conditional code.
26185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26186 * sysdeps/unix/sysv/linux/i386/fxstat.c
26187 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26189 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26190 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26192 * sysdeps/unix/sysv/linux/i386/lxstat.c
26193 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26194 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26195 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26196 Remove conditional code.
26197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26198 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26199 Remove conditional code.
26200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26201 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26202 <kernel-features.h>.
26203 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26205 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26206 Remove conditional code.
26207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26208 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26209 Remove conditional.
26211 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26214 * NEWS: Add fixed bug number.
26216 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26219 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26220 underflowing exponent in case of negative sign.
26221 * stdlib/tst-strtod-round-data: Add more tests.
26222 * stdlib/tst-strtod-round.c (tests): Regenerated.
26225 * stdlib/strtod_l.c (NDIG): Remove.
26226 (HEXNDIG): Likewise.
26227 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26228 smallest representable value.
26229 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26230 lie within an exact representation of 1/2 ulp of the result.
26231 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26233 (TENS_P9_IDX): Define unconditionally.
26234 (TENS_P9_SIZE): Likewise.
26235 (TENS_P10_IDX): Likewise.
26236 (TENS_P10_SIZE): Likewise.
26237 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26238 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26239 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26240 entries for 10^2^13 and 10^2^14.
26241 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26242 (TENS_P13_IDX): Define.
26243 (TENS_P13_SIZE): Likewise.
26244 (TENS_P14_IDX): Likewise.
26245 (TENS_P14_SIZE): Likewise.
26246 (_fpioconst_pow10): Change array size to
26247 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26249 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26250 1024]: Add entries for 10^2^13 and 10^2^14.
26251 [LAST_POW10 > _LAST_POW10]: Remove #error.
26252 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26253 (_fpioconst_pow10): Change array size to
26254 FPIOCONST_POW10_ARRAY_SIZE.
26255 * stdlib/gen-fpioconst.c: New file.
26256 * stdlib/gen-tst-strtod-round.c: Likewise.
26257 * stdlib/tst-strtod-round-data: Likewise.
26258 * stdlib/tst-strtod-round.c: Likewise.
26259 * stdlib/Makefile (tests): Add tst-strtod-round.
26262 * stdlib/strtod_l.c: Include <stdint.h>.
26263 (NDEBUG): Do not define.
26264 (round_and_return): Change EXPONENT parameter to type intmax_t.
26265 Rearrange calculations to avoid internal overflow possibilities.
26266 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26267 Rearrange calculations to avoid internal overflow possibilities.
26268 Assert that number fits inside MPNSIZE limbs.
26269 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26270 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26271 calculations and add assertions to avoid internal overflow
26272 possibilities. Add casts to avoid signed/unsigned operations.
26273 * stdlib/tst-strtod-overflow.c: New file.
26274 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26276 2012-08-25 Marek Polacek <polacek@redhat.com>
26278 * time/time.h: Fix some typos in comments.
26280 2012-08-23 Roland McGrath <roland@hack.frob.com>
26282 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26283 * posix/tst-rfc3484-2.c: Likewise.
26284 * posix/tst-rfc3484-3.c: Likewise.
26286 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26288 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26289 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26291 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26293 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26294 #include of fxstatat64.c.
26296 2012-08-22 Roland McGrath <roland@hack.frob.com>
26298 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26299 * shadow/getspent_r.c: Likewise.
26300 * shadow/getspnam.c: Likewise.
26301 * shadow/getspnam_r.c: Likewise.
26302 * gshadow/getsgent.c: Likewise.
26303 * gshadow/getsgent_r.c: Likewise.
26304 * gshadow/getsgnam.c: Likewise.
26305 * gshadow/getsgnam_r.c: Likewise.
26306 * inet/getnetbyad.c: Likewise.
26307 * inet/getnetbyad_r.c: Likewise.
26308 * inet/getnetbynm.c: Likewise.
26309 * inet/getnetbynm_r.c: Likewise.
26310 * inet/getnetent.c: Likewise.
26311 * inet/getnetent_r.c: Likewise.
26312 * inet/getproto.c: Likewise.
26313 * inet/getproto_r.c: Likewise.
26314 * inet/getprtent.c: Likewise.
26315 * inet/getprtent_r.c: Likewise.
26316 * inet/getprtname.c: Likewise.
26317 * inet/getprtname_r.c: Likewise.
26318 * inet/getrpcbyname.c: Likewise.
26319 * inet/getrpcbyname_r.c: Likewise.
26320 * inet/getrpcbynumber.c: Likewise.
26321 * inet/getrpcbynumber_r.c: Likewise.
26322 * inet/getrpcent.c: Likewise.
26323 * inet/getrpcent_r.c: Likewise.
26324 * inet/getaliasent.c: Likewise.
26325 * inet/getaliasent_r.c: Likewise.
26326 * inet/getaliasname.c: Likewise.
26327 * inet/getaliasname_r.c: Likewise.
26328 * nscd/getgrgid_r.c: Likewise.
26329 * nscd/getgrnam_r.c: Likewise.
26330 * nscd/gethstbyad_r.c: Likewise.
26331 * nscd/gethstbynm3_r.c: Likewise.
26332 * nscd/getpwnam_r.c: Likewise.
26333 * nscd/getpwuid_r.c: Likewise.
26334 * nscd/getsrvbynm_r.c: Likewise.
26335 * nscd/getsrvbypt_r.c: Likewise.
26336 * nscd/gai.c: Likewise.
26338 * configure.in (build_nscd): New substituted variable, set
26339 by --disable-build-nscd and defaults to $use_nscd.
26340 * configure: Regenerated.
26341 * config.make.in (build-nscd): New substituted variable.
26342 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26343 Change conditional to require [$(build-nscd) = yes] as well.
26344 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26347 * configure.in (use_nscd): New substituted variable, set by
26348 --disable-nscd. If enabled, define USE_NSCD.
26349 * configure: Regenerated.
26350 * config.h.in: Add USE_NSCD.
26351 * config.make.in (use-nscd): New substituted variable.
26352 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26353 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26354 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26355 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26356 (CFLAGS-getgrnam_r.c): Likewise.
26357 (CFLAGS-initgroups.c): Likewise.
26358 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26359 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26361 * inet/getnetgrent_r.c
26362 (nscd_setnetgrent): New function, broken out of ...
26363 (setnetgrent): ... here. Call it.
26364 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26365 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26366 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26367 * nscd/Makefile (routines, aux): Move definitions after include of
26368 Makeconfig. Conditionalize on [$(use-nscd) != no].
26369 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26370 Conditionalize on [USE_NSCD].
26371 (is_nscd, nscd_init_cb): Likewise.
26372 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26373 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26374 * nss/nss_db/db-init.c: Likewise.
26375 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26377 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26378 (make_request): Use it.
26379 (cache_valid_p): New function.
26380 (__check_pf): Use it.
26381 * NEWS: Add item for --disable-nscd.
26383 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26385 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26386 to support sed >= 4.2.1-20-ga9bf076.
26387 * configure: Regenerated.
26389 2012-08-22 Roland McGrath <roland@hack.frob.com>
26391 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26392 Conditionalize whole body on [IREL].
26394 2012-08-22 Jeff Law <law@redhat.com>
26397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26398 if the family is PF_UNSPEC.
26400 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26402 * Makerules (lib-version): Rename from V.
26403 (install-lib-nosubdir): Change V to lib-version.
26405 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26408 * powerpc32/power6/wcschr.c: New file.
26409 * powerpc32/power6/wcscpy.c: New file.
26410 * powerpc32/power6/wcsrchr.c: New file.
26411 * powerpc64/power6/wcschr.c: New file.
26412 * powerpc64/power6/wcscpy.c: New file.
26413 * powerpc64/power6/wcsrchr.c: New file.
26415 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26417 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26418 (two_way_short_needle): Use it.
26419 * string/strstr.c (AVAILABLE1_USES_J): Define.
26420 * string/strcasestr.c: Likewise.
26422 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26424 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26427 * NEWS: Add an entry.
26428 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26429 define their defaults.
26430 (two_way_short_needle): Detect end-of-string on-the-fly.
26431 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26432 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26433 * string/bug-strcasestr1.c: New test.
26434 * string/Makefile: Run it.
26436 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26439 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26440 the first character.
26442 2012-08-21 Roland McGrath <roland@hack.frob.com>
26444 * csu/elf-init.c (__libc_csu_irel): Function removed.
26445 * csu/libc-start.c (apply_irel): New function.
26446 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26448 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26450 * sysdeps/unix/sysv/linux/kernel-features.h
26451 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26452 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26453 <kernel-features.h>.
26454 [__NR_fadvise64_64]: Make code unconditional.
26455 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26456 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26457 !__NR_fadvise64_64)]: Likewise.
26458 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26459 !__NR_fadvise64_64))]: Likewise.
26460 [__NR_fadvise64]: Make code unconditional.
26461 [!__NR_fadvise64]: Remove conditional code.
26462 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26463 <kernel-features.h>.
26464 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26466 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26469 not include <kernel-features.h>.
26470 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26472 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26474 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26475 include <kernel-features.h>.
26476 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26478 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26481 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26483 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26484 slight instruction rearrangements per scrollpipe analysis.
26485 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26487 2012-08-20 Roland McGrath <roland@hack.frob.com>
26489 * manual/syslog.texi (syslog; vsyslog, closelog):
26490 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26491 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26493 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26494 DSOCAPS to match condition on defining it.
26496 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26498 * sysdeps/unix/sysv/linux/kernel-features.h
26499 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26501 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26502 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26504 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26505 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26507 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26508 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26510 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26511 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26513 * sysdeps/unix/sysv/linux/kernel-features.h
26514 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26515 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26517 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26518 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26519 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26520 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26521 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26522 Make code unconditional.
26523 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26524 (__mmap64) [!__NR_mmap2]: Likewise.
26525 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26526 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26527 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26528 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26529 [__NR_mmap2]: Make code unconditional.
26530 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26531 (__mmap64) [!__NR_mmap2]: Likewise.
26533 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26535 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26537 2012-08-18 Andreas Jaeger <aj@suse.de>
26539 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26541 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26543 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26544 * include/unistd.h (__have_sock_cloexec): Likewise.
26545 (__have_pipe2): Likewise.
26546 (__have_dup3): Likewise.
26548 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26551 * include/unistd.h (__have_pipe2): Change define into an extern int.
26552 (__have_dup3): Likewise.
26553 * socket/have_sock_cloexec.c: Include fcntl.h.
26554 (__have_pipe2): New variable.
26555 (__have_dup3): Likewise.
26557 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26559 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26561 2012-08-17 Marek Polacek <polacek@redhat.com>
26563 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26564 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26566 2012-08-17 Roland McGrath <roland@hack.frob.com>
26568 * configure.in: Add AC_SUBST for sysheaders.
26569 * configure: Regenerated.
26570 * config.make.in (sysheaders): New substituted variable.
26572 * sysdeps/unix/mkfifo.c: Moved ...
26573 * sysdeps/posix/mkfifo.c: ... here.
26574 * sysdeps/unix/mkfifoat.c: Moved ...
26575 * sysdeps/posix/mkfifoat.c: ... here.
26577 * sysdeps/unix/utime.c: Moved ...
26578 * sysdeps/posix/utime.c: ... here.
26580 * sysdeps/unix/time.c: Moved ...
26581 * sysdeps/posix/time.c: ... here.
26582 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26583 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26585 * sysdeps/unix/nice.c: Moved ...
26586 * sysdeps/posix/nice.c: ... here.
26588 * sysdeps/unix/alarm.c: Moved ...
26589 * sysdeps/posix/alarm.c: ... here.
26591 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26593 2012-08-17 Jeff Law <law@redhat.com>
26595 * intl/Makefile (codeset_mo): New variable.
26596 ($(codeset_mo)): New target.
26597 (tst-codeset.out): Depend on that. Remove explicit rule.
26598 (tst-gettext3.out, tst-gettext5.out): Likewise.
26599 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26600 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26601 * intl/tst-codeset.sh: Remove.
26602 * intl/tst-gettext3.sh: Likewise.
26603 * intl/tst-gettext5.sh: Likewise.
26605 2012-08-17 Roland McGrath <roland@hack.frob.com>
26607 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26608 * sysdeps/unix/syscalls.list: ... here.
26610 * sysdeps/posix/getaddrinfo.c
26611 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26612 (gaiconf_init, gaiconf_reload): Use them.
26613 [!_STATBUF_ST_NSEC]
26614 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26615 Define using time_t rather than struct timespec.
26617 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26618 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26620 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26622 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26623 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26626 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26627 __libc_cleanup_push argument.
26629 * bits/param.h: New file.
26630 * misc/sys/param.h: New file.
26631 * include/sys/param.h: New file.
26632 * misc/Makefile (headers): Add bits/param.h.
26633 * sysdeps/generic/sys/param.h: File removed.
26634 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26635 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26636 * sysdeps/mach/hurd/bits/param.h: New file.
26637 * sysdeps/mach/hurd/sys/param.h: File removed.
26639 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26642 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26644 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26645 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26648 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26649 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26650 rather than -D_IO_MTSAFE_IO conditionally.
26651 * stdio-common/Makefile (CPPFLAGS): Likewise.
26652 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26653 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26654 Use $(libio-mtsafe).
26655 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26656 of -D_IO_MTSAFE_IO.
26657 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26658 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26659 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26660 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26661 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26662 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26663 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26664 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26665 (CFLAGS-fread_u_chk.c): Likewise.
26666 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26667 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26668 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26669 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26670 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26671 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26672 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26673 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26674 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26676 * libio/Makefile: Test [$(libc-reentrant) = yes]
26677 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26680 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26681 * sysdeps/pthread/configure: File removed.
26682 * sysdeps/pthread/Makeconfig: New file.
26683 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26684 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26686 2012-08-16 Gary Benson <gbenson@redhat.com>
26688 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26689 unmapping the first object in a namespace.
26691 2012-08-16 Roland McGrath <roland@hack.frob.com>
26693 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26694 (__internal_setnetgrent): ... this. Add internal_function to
26695 definition. Add libc_hidden_def.
26696 (setnetgrent): Update caller.
26697 (internal_endnetgrent): Renamed to ...
26698 (__internal_endnetgrent): ... this. Add internal_function to
26699 definition. Add libc_hidden_def.
26700 (endnetgrent): Update caller.
26701 (internal_getnetgrent_r): Renamed to ...
26702 (__internal_getnetgrent_r): ... this. Add internal_function to
26703 definition. Add libc_hidden_def.
26704 (__getnetgrent_r): Update caller.
26705 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26707 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26709 * stdlib/longlong.h: Update from GCC.
26711 2012-08-16 Roland McGrath <roland@hack.frob.com>
26713 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26714 on _QL, which is set by umul_ppmm but never used.
26715 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26716 variables, which are set by GMP macros but never used.
26717 * stdio-common/_itowa.c (_itowa): Likewise.
26718 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26719 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26721 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26723 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26724 struct La_sh_regs is not constant.
26725 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26726 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26727 and struct La_sparc64_regs are not constant.
26729 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26731 * sysdeps/unix/sysv/linux/kernel-features.h
26732 (__ASSUME_POSIX_TIMERS): Remove.
26733 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26734 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26735 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26736 Make code unconditional.
26737 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26738 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26739 Make code unconditional.
26740 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26741 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26742 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26743 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26744 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26745 Make code unconditional.
26746 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26747 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26748 (__libc_missing_posix_timers): Remove.
26750 2012-08-15 Roland McGrath <roland@hack.frob.com>
26752 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26753 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26755 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26757 * elf/dl-sym.c: Include <stdlib.h>.
26759 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26760 constants, which avoids warnings in 32-bit builds.
26762 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26763 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26765 * misc/lseek.c: File moved to ...
26766 * io/lseek.c: ... here.
26768 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26770 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26771 shifting LEN more than 31 bits at once.
26773 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26776 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26777 segmentation fault for a case of two empty input strings.
26778 * string/test-strncasecmp.c (check1): Renamed to...
26779 (bz12205): ...this.
26780 (bz14195): Add new testcase for two empty input strings and N > 0.
26781 (test_main): Call new testcase, adapt for renamed function.
26783 2012-08-15 Andreas Jaeger <aj@suse.de>
26786 * crypt/md5test2.c: New test, based on test supplied by Serge
26787 Belyshev <belyshev@depni.sinp.msu.ru>.
26788 * crypt/Makefile (xtests): Add md5test-giant..
26789 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26791 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26794 * crypt/md5.c (md5_process_block): Don't assume the buffer
26795 length is less than 2**32.
26796 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26797 length is less than 2**64.
26799 2012-08-15 Roland McGrath <roland@hack.frob.com>
26801 * string/str-two-way.h: Include <sys/param.h>.
26802 (MAX): Macro removed.
26804 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26805 Move #define and #undef of memmove to just before and after
26806 including <string.h>.
26808 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26809 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26810 and after including <string.h>. Move declarations of
26811 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26812 to before #include "string/memmove.c".
26814 * include/dirent.h: Declare __getdirentries.
26816 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26817 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26819 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26821 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26822 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26823 * sysdeps/i386/configure: Regenerated.
26824 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26825 STABS_CURRENT_FILE, and STABS_FUN.
26826 (END): Remove call to STABS_FUN_END.
26827 (STABS_CURRENT_FILE1): Delete.
26828 (STABS_CURRENT_FILE): Likewise.
26829 (STABS_FUN): Likewise.
26830 (STABS_FUN_END): Likewise.
26831 (STABS_FUN2): Likewise.
26832 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26833 * sysdeps/x86_64/configure: Regenerated.
26835 2012-08-14 Roland McGrath <roland@hack.frob.com>
26837 * elf/dl-open.c: Include <atomic.h>.
26838 * elf/dl-lookup.c: Likewise.
26840 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26842 * sysdeps/unix/sysv/linux/kernel-features.h
26843 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26844 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26846 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26848 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26849 condition on __ASSUME_CLONE_THREAD_FLAGS.
26851 2012-08-14 Andreas Jaeger <aj@suse.de>
26853 * sysdeps/i386/fpu/libm-test-ulps: Update.
26855 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26857 * include/atomic.h (atomic_exchange_and_add): Split into ...
26858 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26861 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26865 2012-08-13 Jeff Law <law@redhat.com>
26867 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26868 null byte in the output string.
26870 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26872 * sysdeps/unix/sysv/linux/kernel-features.h
26873 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26874 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26875 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26876 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26877 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26878 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26879 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26881 2012-08-09 Jeff Law <law@redhat.com>
26884 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26885 When avoid_arena is set, don't retry in the that arena. Pick the
26886 next one, whatever it might be.
26887 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26888 (arena_lock): Pass in new parameter to arena_get2.
26889 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26891 (__libc_malloc): Unify retrying after main arena failure with
26892 __libc_memalign version.
26893 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26895 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26898 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26899 to __redirect_strstr.
26900 (__strstr_sse42): Use typeof __redirect_strstr.
26901 (__strstr_ia32): Likewise.
26902 (__libc_strstr): New prototype.
26903 (strstr): Renamed to ...
26904 (__libc_strstr): This.
26905 (strstr): New strong alias of __libc_strstr.
26906 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26907 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26910 (__libc_time): New prototype.
26911 (time_ifunc): Replace time with __libc_time.
26912 (time): New strong alias and hidden definition of __libc_time.
26913 (__GI_time): Remove strong alias.
26914 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26915 Include <stddef.h>.
26916 (memmove): Redefined to __redirect_memmove.
26917 (__memmove_sse2): Use typeof __redirect_memmove.
26918 (__memmove_ssse3): Likewise.
26919 (__memmove_ssse3_back): Likewise.
26920 (__libc_memmove): New prototype.
26921 (memmove): Renamed to ...
26922 (__libc_memmove): This.
26923 (memmove): New strong alias of __libc_memmove.
26925 2012-08-08 Mark Salter <msalter@redhat.com>
26928 (R_MN10300_TLS_GD): Define.
26929 (R_MN10300_TLS_LD): Likewise.
26930 (R_MN10300_TLS_LDO): Likewise.
26931 (R_MN10300_TLS_GOTIE): Likewise.
26932 (R_MN10300_TLS_IE): Likewise.
26933 (R_MN10300_TLS_LE): Likewise.
26934 (R_MN10300_TLS_DTPMOD): Likewise.
26935 (R_MN10300_TLS_DTPOFF): Likewise.
26936 (R_MN10300_TLS_TPOFF): Likewise.
26937 (R_MN10300_SYM_DIFF): Likewise.
26938 (R_MN10300_ALIGN): Likewise.
26939 (R_MN10300_NUM): Update.
26941 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26943 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26946 2012-08-08 Roland McGrath <roland@hack.frob.com>
26948 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26950 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26951 sysdeps/unix -> sysdeps/posix move.
26952 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26954 2012-08-07 Allan McRae <allan@archlinux.org>
26957 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26958 (SUNOS_CPP): Likewise.
26959 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26961 (open_input): Call CPP using execvp.
26963 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26965 * sysdeps/unix/sysv/linux/kernel-features.h
26966 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26967 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26968 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26969 (__ASSUME_WAITID_SYSCALL): Likewise.
26970 * sysdeps/unix/sysv/linux/dl-execstack.c
26971 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26972 code unconditional.
26973 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26975 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26976 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26977 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26979 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26981 [__ASSUME_WAITID_SYSCALL]: Likewise.
26982 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26984 2012-08-07 Roland McGrath <roland@hack.frob.com>
26986 * sysdeps/unix/closedir.c: Renamed to ...
26987 * sysdeps/posix/closedir.c: ... here.
26988 * sysdeps/unix/dirfd.c: Renamed to ...
26989 * sysdeps/posix/dirfd.c: ... here.
26990 * sysdeps/unix/dirstream.h: Renamed to ...
26991 * sysdeps/posix/dirstream.h: ... here.
26992 * sysdeps/unix/fdopendir.c: Renamed to ...
26993 * sysdeps/posix/fdopendir.c: ... here.
26994 * sysdeps/unix/opendir.c: Renamed to ...
26995 * sysdeps/posix/opendir.c: ... here.
26996 * sysdeps/unix/readdir.c: Renamed to ...
26997 * sysdeps/posix/readdir.c: ... here.
26998 * sysdeps/unix/readdir_r.c: Renamed to ...
26999 * sysdeps/posix/readdir_r.c: ... here.
27000 * sysdeps/unix/rewinddir.c: Renamed to ...
27001 * sysdeps/posix/rewinddir.c: ... here.
27002 * sysdeps/unix/seekdir.c: Renamed to ...
27003 * sysdeps/posix/seekdir.c: ... here.
27004 * sysdeps/unix/telldir.c: Renamed to ...
27005 * sysdeps/posix/telldir.c: ... here.
27006 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27007 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27008 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27009 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27011 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27012 * bits/fcntl.h: ... here.
27014 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27016 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27017 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27018 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27019 (struct flock): Move l_start, l_len to the beginning.
27020 Use __pid_t for l_pid.
27021 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27022 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27023 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27024 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27025 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27026 [__USE_LARGEFILE64] (struct flock64): New type.
27027 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27029 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27030 * bits/dirent.h: ... here.
27032 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27033 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27035 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27037 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27038 Change from 2.6.0 to 2.6.16.
27039 * sysdeps/unix/sysv/linux/configure: Regenerated.
27040 * sysdeps/unix/sysv/linux/kernel-features.h
27041 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27042 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27044 (__ASSUME_UTIMES): Likewise.
27045 (__ASSUME_CLONE_STOPPED): Remove.
27046 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27047 architectures, not kernel version.
27048 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27049 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27050 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27051 (__ASSUME_WAITID_SYSCALL): Likewise.
27052 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27053 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27054 * README: State 2.6.16 as minimum Linux kernel version. Do not
27055 refer to older versions.
27057 2012-08-06 Roland McGrath <roland@hack.frob.com>
27059 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27060 Define alphasort64 as an alias.
27061 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27062 Define versionsort64 as an alias.
27063 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27064 Define scandir64 as an alias.
27065 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27066 Define scandirat64 as an alias.
27067 * dirent/alphasort64.c (alphasort64):
27068 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27069 * dirent/versionsort64.c: Likewise.
27070 * dirent/scandir64.c: Likewise.
27071 * dirent/scandirat64.c: Likewise.
27072 * sysdeps/wordsize-64/alphasort.c: File removed.
27073 * sysdeps/wordsize-64/alphasort64.c: File removed.
27074 * sysdeps/wordsize-64/scandir.c: File removed.
27075 * sysdeps/wordsize-64/scandir64.c: File removed.
27076 * sysdeps/wordsize-64/scandirat.c: File removed.
27077 * sysdeps/wordsize-64/scandirat64.c: File removed.
27078 * sysdeps/wordsize-64/versionsort.c: File removed.
27079 * sysdeps/wordsize-64/versionsort64.c: File removed.
27080 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27081 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27082 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27083 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27084 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27085 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27086 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27087 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27089 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27090 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27091 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27093 [defined __arch64__ || defined __sparcv9]
27094 (__INO_T_MATCHES_INO64_T): New macro.
27095 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27096 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27097 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27098 * sysdeps/unix/sysv/linux/bits/dirent.h
27099 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27100 (_DIRENT_MATCHES_DIRENT64): New macro.
27102 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27103 Define lockf64 as an alias.
27104 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27105 Define fseeko64 as an alias.
27106 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27107 Define ftello64 as an alias.
27108 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27109 Define _IO_fgetpos64 and fgetpos64 as aliases.
27110 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27111 Define _IO_fsetpos64 and fsetpos64 as aliases.
27112 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27113 Conditionalize body on this.
27114 * libio/fseeko64.c: Likewise.
27115 * libio/ftello64.c: Likewise.
27116 * libio/iofgetpos64.c: Likewise.
27117 * libio/iofsetpos64.c: Likewise.
27118 * sysdeps/wordsize-64/lockf.c: File removed.
27119 * sysdeps/wordsize-64/lockf64.c: File removed.
27120 * sysdeps/wordsize-64/fseeko.c: File removed.
27121 * sysdeps/wordsize-64/fseeko64.c: File removed.
27122 * sysdeps/wordsize-64/ftello.c: File removed.
27123 * sysdeps/wordsize-64/ftello64.c: File removed.
27124 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27125 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27126 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27127 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27128 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27129 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27130 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27131 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27132 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27133 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27134 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27135 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27136 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27137 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27139 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27140 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27141 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27142 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27143 [defined __arch64__ || defined __sparcv9]
27144 (__OFF_T_MATCHES_OFF64_T): New macro.
27145 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27146 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27148 (__OFF_T_MATCHES_OFF64_T): New macro.
27150 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27152 * stdlib/secure-getenv.c (__secure_getenv): Replace
27153 GLIBC_2_16 with GLIBC_2_17.
27155 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27157 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27158 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27160 2012-08-03 David S. Miller <davem@davemloft.net>
27162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27164 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27168 (__ASSUME_CORRECT_SI_PID): Likewise.
27169 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27170 (__ASSUME_TMPFS_NAME): Likewise.
27171 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27172 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27173 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27174 (HAVE_AUX_SECURE): Make definition unconditional.
27175 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27176 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27178 2012-08-03 Roland McGrath <roland@hack.frob.com>
27180 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27181 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27182 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27183 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27184 __eloop_threshold instead of SYMLOOP_MAX.
27186 * sysdeps/generic/eloop-threshold.h: New file.
27187 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27189 * elf/chroot_canon.c (chroot_canon): Likewise.
27191 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27195 Change to 2.6.0 everywhere.
27196 * sysdeps/unix/sysv/linux/configure: Regenerated.
27197 * sysdeps/unix/sysv/linux/kernel-features.h
27198 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27199 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27201 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27202 (__ASSUME_FUTEX_REQUEUE): Remove.
27203 (__ASSUME_STATFS64): Define unconditionally.
27204 (__ASSUME_AT_SECURE): Likewise.
27205 (__ASSUME_CORRECT_SI_PID): Likewise.
27206 (__ASSUME_TGKILL): Define without depending on kernel version for
27208 (__ASSUME_UTIMES): Likewise.
27209 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27211 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27212 (__ASSUME_TMPFS_NAME): Likewise.
27213 * README: Update reference to Linux kernel versions.
27215 2012-08-02 Marek Polacek <polacek@redhat.com>
27218 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27219 libc_cv_asm_type_prefix with %.
27220 * configure: Regenerated.
27221 * include/libc-symbols.h: Remove comment about
27222 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27223 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27224 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27225 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27226 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27227 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27228 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27229 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27230 * elf/tst-unique2mod1.c: Likewise.
27231 * elf/tst-unique1mod2.c: Likewise.
27232 * elf/tst-unique1mod1.c: Likewise.
27233 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27234 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27235 Replace ASM_TYPE_DIRECTIVE with .type.
27236 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27237 * sysdeps/i386/sysdep.h: Likewise.
27238 * sysdeps/x86_64/sysdep.h: Likewise.
27239 * sysdeps/sh/sysdep.h: Likewise.
27240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27241 Do not define ASM_TYPE_DIRECTIVE.
27242 * sysdeps/powerpc/sysdep.h: Likewise.
27243 * sysdeps/powerpc/powerpc32/sysdep.h:
27244 Replace ASM_TYPE_DIRECTIVE with .type.
27245 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27246 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27247 * sysdeps/i386/fpu/e_powf.S: Likewise.
27248 * sysdeps/i386/fpu/e_expl.S: Likewise.
27249 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27250 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27251 * sysdeps/i386/fpu/e_pow.S: Likewise.
27252 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27253 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27254 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27255 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27256 * sysdeps/i386/fpu/e_log2.S: Likewise.
27257 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27258 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27259 * sysdeps/i386/fpu/e_powl.S: Likewise.
27260 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27261 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27262 * sysdeps/i386/fpu/e_logl.S: Likewise.
27263 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27264 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27265 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27266 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27267 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27268 * sysdeps/i386/fpu/e_log.S: Likewise.
27269 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27270 * sysdeps/i386/fpu/e_logf.S: Likewise.
27271 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27272 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27273 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27274 * sysdeps/i386/fpu/e_log10.S: Likewise.
27275 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27276 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27277 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27278 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27279 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27280 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27281 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27282 * sysdeps/i386/i686/strtok.S: Likewise.
27283 * sysdeps/i386/i386-mcount.S: Likewise.
27284 * sysdeps/i386/strtok.S: Likewise.
27285 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27286 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27287 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27288 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27289 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27290 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27291 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27292 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27293 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27294 * sysdeps/x86_64/_mcount.S: Likewise.
27295 * sysdeps/x86_64/strtok.S: Likewise.
27296 * sysdeps/sh/_mcount.S: Likewise.
27298 2012-08-01 Roland McGrath <roland@hack.frob.com>
27300 * libio/iofopen.c: Include <fcntl.h>.
27301 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27302 (_IO_fopen64, fopen64): Define as aliases.
27303 * libio/iofopen64.c: Include <fcntl.h>.
27304 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27305 Conditionalize body on this.
27306 * sysdeps/wordsize-64/iofopen.c: File removed.
27307 * sysdeps/wordsize-64/iofopen64.c: File removed.
27309 2012-08-01 Marek Polacek <polacek@redhat.com>
27311 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27312 Use dlfcn directly instead of a variable.
27313 (binfmt-subdir): Do not define.
27316 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27318 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27319 Remove all definitions.
27320 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27321 <kernel-features.h>.
27322 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27323 (miss_F_GETOWN_EX): Remove all definitions.
27324 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27326 [!__ASSUME_FCNTL64]: Remove conditional code.
27327 [__ASSUME_FCNTL64]: Make code unconditional.
27328 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27329 <kernel-features.h>.
27330 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27331 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27332 (lockf64) [__NR_fcntl64]: Make code unconditional.
27333 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27335 * sysdeps/unix/sysv/linux/kernel-features.h
27336 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27337 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27338 Make code unconditional.
27339 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27340 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27342 [__NR_vfork]: Make code unconditional.
27343 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27344 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27346 [__NR_vfork]: Make code unconditional.
27347 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27348 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27350 2012-08-01 Roland McGrath <roland@hack.frob.com>
27352 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27353 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27355 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27356 Define mkstemp64 as an alias.
27357 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27358 Define mkstemps64 as an alias.
27359 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27360 Define mkostemp64 as an alias.
27361 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27362 Define mkostemps64 as an alias.
27363 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27364 Conditionalize body on this.
27365 * misc/mkostemp64.c: Likewise.
27366 * misc/mkostemps64.c: Likewise.
27367 * misc/mkstemps64.c: Likewise.
27368 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27369 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27370 * sysdeps/wordsize-64/mkostemp.c: File removed.
27371 * sysdeps/wordsize-64/mkstemp.c: File removed.
27372 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27373 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27374 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27375 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27378 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27379 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27380 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27381 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27383 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27384 compat_symbol macros from <shlib-compat.h> rather than the underlying
27385 default_symbol_version and symbol_version macros, so that DEFAULT
27386 lines in shlib-versions are respected.
27387 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27389 2012-08-01 Florian Weimer <fweimer@redhat.com>
27391 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27392 Declare with warn_unused_result.
27393 (setgid, setregid, setegid, setresgid): Likewise.
27394 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27396 * WUR-REPORT: Remove set*id functions.
27398 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27400 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27402 2012-07-31 Roland McGrath <roland@hack.frob.com>
27405 * include/sys/socket.h (__libc_accept, __libc_accept4):
27406 Add attribute_hidden.
27407 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27409 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27411 * inet/getnetgrent_r.c (setup): Likewise.
27413 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27415 2012-07-31 David S. Miller <davem@davemloft.net>
27417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27419 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27422 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27423 value between 1.0 and 2.0 and smaller part has absolute value less
27425 * math/s_clog10.c (__clog10): Likewise.
27426 * math/s_clog10f.c (__clog10f): Likewise.
27427 * math/s_clog10l.c (__clog10l): Likewise.
27428 * math/s_clogf.c (__clogf): Likewise.
27429 * math/s_clogl.c (__clogl): Likewise.
27430 * math/libm-test.inc (clog_test): Add more tests.
27431 (clog10_test): Likewise.
27432 * sysdeps/i386/fpu/libm-test-ulps: Update.
27433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27435 2012-07-31 Florian Weimer <fweimer@redhat.com>
27437 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27438 Exit with zero in case no suitable GID is found, and write a
27439 message to standard error.
27441 2012-07-30 Roland McGrath <roland@hack.frob.com>
27443 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27445 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27446 (MAXPATHLEN): Removed.
27447 (NOGROUP, NODEV): New macros.
27448 (setbit, clrbit, isset, isclr): New macros.
27449 (howmany, roundup, powerof2): New macros.
27450 (DEV_BSIZE): New macro.
27452 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27453 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27455 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27456 definition on [!__NO_LONG_DOUBLE_MATH].
27458 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27459 PTR_MANGLE and PTR_DEMANGLE.
27461 * socket/accept4.c (accept4): Rename to __libc_accept4.
27462 Define accept4 as a weak alias.
27464 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27465 on [_DIRENT_HAVE_D_TYPE].
27466 * io/ftw.c (ftw_dir): Likewise.
27468 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27470 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27472 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27473 Use the BSD numbers rather than the arbitrary ones we had.
27474 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27475 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27476 (SIGXCPU, SIGXFSZ): New macros.
27479 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27480 initializer on [_LIBC_REENTRANT].
27482 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27483 definitions inside [_POSIX_MAPPED_FILES].
27485 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27487 * dirent/opendir.c: Include <fcntl.h>.
27489 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27490 (__libc_getspecific): Likewise.
27491 (__libc_key_create): Likewise.
27493 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27494 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27495 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27496 (tmpfile64): Define as alias.
27497 * sysdeps/wordsize-64/tmpfile.c: File removed.
27498 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27499 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27500 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27502 * stdio-common/vfscanf.c: Include <stdbool.h>.
27503 * nss/makedb.c: Likewise.
27504 * stdio-common/_i18n_number.h: Likewise.
27505 * argp/argp-help.c: Likewise.
27506 * posix/wordexp.c: Likewise.
27507 * sysdeps/posix/spawni.c: Likewise.
27508 * nss/nss_files/files-initgroups.c: Likewise.
27509 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27510 * nss/nss_files/files-initgroups.c: Likewise.
27511 * nss/nss_db/db-netgrp.c: Likewise.
27512 * nss/nss_db/db-initgroups.c: Likewise.
27513 * io/fchmodat.c: Include <sys/stat.h>.
27515 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27516 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27518 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27521 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27522 Add multiple inclusion protection.
27524 2012-07-27 David S. Miller <davem@davemloft.net>
27526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27528 2012-07-27 Gary Benson <gbenson@redhat.com>
27531 * elf/rtld.c: Include <stap-probe.h>.
27532 (dl_main): Added static probes "init_start" and "init_complete".
27533 * elf/dl-load.c: Include <stap-probe.h>.
27534 (lose): Take new parameter "nsid".
27535 Added static probe "map_failed".
27536 (_dl_map_object_from_fd): Pass namespace id to lose.
27537 Added static probe "map_start".
27538 (open_verify): Pass namespace id to lose.
27539 * elf/dl-open.c: Include <stap-probe.h>.
27540 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27541 and "reloc_complete".
27542 * elf/dl-close.c: Include <stap-probe.h>.
27543 (_dl_close_worker): Added static probes "unmap_start" and
27545 * elf/rtld-debugger-interface.txt: New file documenting the above.
27547 2012-07-26 Roland McGrath <roland@hack.frob.com>
27549 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27550 rather than a string variable.
27551 * sunrpc/rpc_main.c (h_output): Likewise.
27552 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27554 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27556 * inet/check_native.c: New file.
27558 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27561 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27562 if larger part has absolute value 1.0.
27563 * math/s_clog10.c (__clog10): Likewise.
27564 * math/s_clog10f.c (__clog10f): Likewise.
27565 * math/s_clog10l.c (__clog10l): Likewise.
27566 * math/s_clogf.c (__clogf): Likewise.
27567 * math/s_clogl.c (__clogl): Likewise.
27568 * math/libm-test.inc (clog_test): Add more tests.
27569 (clog10_test): Likewise.
27570 * sysdeps/i386/fpu/libm-test-ulps: Update.
27571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27573 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27574 (pltexit): Likewise.
27575 (La_regs): Likewise.
27576 (La_retval): Likewise.
27577 (int_retval): Likewise.
27578 Update #error for removed macros to refer only to definitions in
27580 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27582 (pltexit): Likewise.
27583 (La_regs): Likewise.
27584 (La_retval): Likewise.
27585 (int_retval): Likewise.
27586 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27588 (pltexit): Likewise.
27589 (La_regs): Likewise.
27590 (La_retval): Likewise.
27591 (int_retval): Likewise.
27592 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27594 (pltexit): Likewise.
27595 (La_regs): Likewise.
27596 (La_retval): Likewise.
27597 (int_retval): Likewise.
27598 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27600 (pltexit): Likewise.
27601 (La_regs): Likewise.
27602 (La_retval): Likewise.
27603 (int_retval): Likewise.
27604 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27606 (pltexit): Likewise.
27607 (La_regs): Likewise.
27608 (La_retval): Likewise.
27609 (int_retval): Likewise.
27610 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27612 (pltexit): Likewise.
27613 (La_regs): Likewise.
27614 (La_retval): Likewise.
27615 (int_retval): Likewise.
27616 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27617 macro definitions in tst-audit.h.
27618 * sysdeps/i386/tst-audit.h: New file.
27619 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27620 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27621 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27622 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27623 * sysdeps/sh/tst-audit.h: Likewise.
27624 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27625 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27626 * sysdeps/x86_64/tst-audit.h: Likewise.
27628 2012-07-26 Andreas Jaeger <aj@suse.de>
27630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27633 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27634 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27635 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27637 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27638 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27639 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27641 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27644 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27646 (si_call_addr, si_syscall, si_arch): Define new macro.
27647 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27649 (si_call_addr, si_syscall, si_arch): Define new marcro.
27650 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27652 (si_call_addr, si_syscall, si_arch): Define new macro.
27653 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27655 (si_call_addr, si_syscall, si_arch): Define new macro.
27657 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27661 Change to 2.4.21 where previously 2.4.1.
27662 * sysdeps/unix/sysv/linux/configure: Regenerated.
27663 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27664 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27665 Linux kernel version.
27666 (__ASSUME_STD_AUXV): Remove.
27667 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27669 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27670 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27671 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27672 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27673 (__ASSUME_NETLINK_SUPPORT): Likewise.
27674 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27675 (__no_netlink_support): Remove conditional definition.
27676 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27678 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27679 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27680 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27681 (if_nameindex_ioctl): Remove.
27682 (if_nameindex_netlink): Do not handle __no_netlink_support.
27683 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27685 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27686 Remove conditional code.
27687 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27689 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27691 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27692 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27693 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27695 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27696 [!__ASSUME_STD_AUXV]: Remove conditional code.
27697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27698 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27699 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27701 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27702 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27704 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27706 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27707 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27709 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27711 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27714 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27717 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27718 code unconditional.
27719 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27721 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27723 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27726 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27728 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27731 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27732 code unconditional.
27733 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27735 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27737 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27740 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27741 code unconditional.
27742 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27744 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27746 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27749 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27751 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27752 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27753 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27754 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27755 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27756 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27757 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27758 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27759 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27760 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27761 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27762 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27763 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27764 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27765 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27766 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27767 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27768 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27769 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27771 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27772 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27773 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27775 2012-07-25 Florian Weimer <fweimer@redhat.com>
27777 * Versions.def: Add GLIBC_2.17.
27778 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27779 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27780 Introduce __libc_secure_getenv.
27781 * stdlib/Versions (2.17): Add secure_getenv
27782 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27783 * stdlib/secure-getenv.c: Rename __secure_getenv to
27784 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27785 symbol __secure_getenv for GLIBC_2.0.
27786 * stdlib/tst-secure-getenv.c: New.
27787 * stdlib/Makefile (tests): Add testcase.
27788 * manual/startup.texi (Environment Access): Document
27790 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27791 __libc_secure_getenv.
27792 * inet/ruserpass.c (ruserpass): Likewise.
27793 * malloc/mtrace.c (mtrace): Likewise.
27794 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27795 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27796 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27797 * sysdeps/posix/tempname.c: Likewise. Evaluate
27798 HAVE_SECURE_GETENV.
27799 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27800 __secure_getenv to __libc_secure_getenv.
27801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27814 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27816 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27817 (struct La_i86_retval): Likewise.
27818 (struct La_x86_64_regs): Likewise.
27819 (struct La_x86_64_retval): Likewise.
27820 (struct La_x32_regs): Likewise.
27821 (struct La_x32_retval): Likewise.
27822 (struct La_ppc32_regs): Likewise.
27823 (struct La_ppc32_retval): Likewise.
27824 (struct La_ppc64_regs): Likewise.
27825 (struct La_ppc64_retval): Likewise.
27826 (struct La_sh_regs): Likewise.
27827 (struct La_sh_retval): Likewise.
27828 (struct La_s390_32_regs): Likewise.
27829 (struct La_s390_32_retval): Likewise.
27830 (struct La_s390_64_regs): Likewise.
27831 (struct La_s390_64_retval): Likewise.
27832 (struct La_sparc32_regs): Likewise.
27833 (struct La_sparc32_retval): Likewise.
27834 (struct La_sparc64_regs): Likewise.
27835 (struct La_sparc64_retval): Likewise.
27836 (struct audit_ifaces): Remove architecture-specific pltenter and
27838 * sysdeps/i386/ldsodefs.h: New file.
27839 * sysdeps/powerpc/ldsodefs.h: Likewise.
27840 * sysdeps/s390/ldsodefs.h: Likewise.
27841 * sysdeps/sh/ldsodefs.h: Likewise.
27842 * sysdeps/sparc/ldsodefs.h: Likewise.
27843 * sysdeps/x86_64/ldsodefs.h: Likewise.
27845 2012-07-25 Marek Polacek <polacek@redhat.com>
27848 * math/libm-test.inc (yn_test): Add another test.
27849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27850 to ERANGE when the result is +-Inf.
27851 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27852 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27853 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27854 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27856 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27858 * conform/data/time.h-data (NULL): Use macro-constant. Require
27860 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27862 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27864 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27866 * configure.in <sysdeps resolving>: Correct printing
27868 * configure: Regenerate.
27870 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27872 * math/w_ilogb.c: Include <limits.h>.
27873 * math/w_ilogbl.c: Likewise.
27875 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27877 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27878 va_copy. Document allowing for unavailable va_copy only as
27879 pre-C99 compatibility.
27880 * manual/string.texi (Copying and Concatenation): Use va_copy
27881 instead of __va_copy in concat example.
27883 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27885 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27886 (__sendto): Use create_address_port. Initialize APORT and deallocate
27889 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27890 with O_NOLINK passed to __file_name_lookup.
27892 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27893 with O_NOLINK passed to __file_name_lookup.
27895 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27896 negative N or less than NGIDS.
27898 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27899 type to string_t. Set ERANGE as errno and return it if NAME is not big
27900 enough. Use memcpy instead of strncpy.
27902 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27904 * elf/Makefile (check-data): Remove.
27905 (localplt.data): New vpath directive.
27906 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27907 instead of $(check-data).
27908 * scripts/data/localplt-generic.data: Move to ...
27909 * sysdeps/generic/localplt.data: ... here.
27910 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27911 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27912 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27915 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27918 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27921 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27924 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27927 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27931 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27933 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27934 PPC32 and PPC64 files.
27935 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27936 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27938 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27940 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27941 __makecontext_ret to ...
27942 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27943 ... here and call exit if uc_link is NULL. New file.
27944 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27945 __makecontext_ret.S.
27946 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27947 __makecontext_ret to ...
27948 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27949 ... here and call exit if uc_link is NULL. New file.
27950 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27951 __makecontext_ret.S.
27953 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27955 * elf/elf.h (R_390_IRELATIVE): New definition.
27956 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27957 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27958 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27959 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27960 (elf_machine_lazy_rel): Likewise.
27961 * sysdeps/s390/dl-irel.h: New file.
27962 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27963 * sysdeps/s390/s390-64/memset.S: New asm code.
27964 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27965 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27966 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27967 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27968 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27969 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27970 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27971 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27972 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27973 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27974 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27975 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27976 * sysdeps/s390/s390-32/memset.S: New asm code.
27977 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27979 2012-07-17 Marek Polacek <polacek@redhat.com>
27982 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27983 * sysdeps/s390/s390-64/configure.in: Likewise.
27984 * sysdeps/sparc/configure.in: Likewise.
27985 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27986 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27987 * sysdeps/i386/configure.in: Likewise.
27988 * sysdeps/x86_64/configure.in: Likewise.
27989 * sysdeps/sh/configure.in: Likewise.
27990 * sysdeps/s390/s390-32/configure: Regenerated.
27991 * sysdeps/s390/s390-64/configure: Likewise.
27992 * sysdeps/x86_64/configure: Likewise.
27993 * sysdeps/sh/configure: Likewise.
27994 * sysdeps/powerpc/powerpc64/configure: Likewise.
27995 * sysdeps/powerpc/powerpc32/configure: Likewise.
27996 * sysdeps/sparc/configure: Likwise.
27997 * sysdeps/i386/configure: Likewise.
27999 * elf/dl-open.c: Comment fixes.
28001 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28003 * Makefile [CXX] (check-data): Remove.
28004 [CXX] (c++-types.data): New vpath directive.
28005 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28006 vpath. Do not allow for C++ type data being missing.
28007 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28008 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28009 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28010 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28011 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28012 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28013 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28016 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28019 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28022 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28025 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28028 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28031 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28034 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28037 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28038 definitions to architecture-specific files.
28039 (TLS_IE): Likewise.
28040 (TLS_LD): Likewise.
28041 (TLS_GD): Likewise.
28042 * sysdeps/i386/tls-macros.h: New file.
28043 * sysdeps/powerpc/tls-macros.h: Likewise.
28044 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28045 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28046 * sysdeps/sh/tls-macros.h: Likewise.
28047 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28048 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28049 * sysdeps/x86_64/tls-macros.h: Likewise.
28051 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28053 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28054 zero value for regular exit case.
28056 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28057 (__start_context): Preserve zero value for regular exit case.
28059 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28060 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28062 * manual/setjmp.texi (setcontext): Clarify normal process
28063 termination when uc_link is the null pointer.
28064 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28067 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28069 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28070 preprocessor. Test for each exception mask separately.
28072 2012-07-16 Andreas Jaeger <aj@suse.de>
28074 * po/ru.po: Update from translation team.
28076 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28078 * conform/data/string.h-data (NULL): Use macro-constant. Require
28080 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28081 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28082 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28083 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28084 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28086 2012-07-13 Andreas Jaeger <aj@suse.de>
28088 * po/fr.po: Update from translation team.
28090 2012-07-12 Marek Polacek <polacek@redhat.com>
28093 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28094 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28097 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28101 Change to 2.4.1 where previously 2.4.0.
28102 * sysdeps/unix/sysv/linux/configure: Regenerated.
28103 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28104 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28106 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28107 (__ASSUME_AT_CLKTCK): Remove.
28108 (__ASSUME_AT_PAGESIZE): Likewise.
28109 (__ASSUME_AT_XID): Likewise.
28110 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28111 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28112 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28114 (HAVE_AUX_PAGESIZE): Likewise.
28115 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28116 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28117 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28119 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28123 the temporary buffer used to invoke __gethostbyname2_r,
28124 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28125 host_data / struct gaih_addrtuple.
28126 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28127 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28128 header file nss/nsswitch.h.
28129 * nss/nsswitch.h (global scope): Add definition of implementation
28130 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28131 resolv/nss_dns/dns-host.c).
28133 2012-07-11 Andreas Jaeger <aj@suse.de>
28135 * po/fr.po: Update from translation team.
28137 * po/sv.po: Update from translation team
28138 * po/fr.po: Another update from translation team.
28140 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28142 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28143 for subnormals or multiply small sinh result by itself.
28144 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28147 2012-07-11 David S. Miller <davem@davemloft.net>
28149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28151 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28154 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28155 (INTERNAL_MARK): Shift it here.
28157 2012-07-10 Marek Polacek <polacek@redhat.com>
28160 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28161 libc_cv_asm_global_directive with .globl.
28162 * configure: Regenerated.
28163 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28165 * sysdeps/i386/configure: Regenerated.
28166 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28168 * sysdeps/x86_64/configure: Regenerated.
28169 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28170 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28171 * elf/tst-unique2mod2.c: Likewise.
28172 * elf/tst-unique2mod1.c: Likewise.
28173 * elf/tst-unique1mod2.c: Likewise.
28174 * elf/tst-unique1mod1.c: Likewise.
28175 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28176 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28178 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28179 * sysdeps/mach/sysdep.h: Likewise.
28180 * sysdeps/i386/sysdep.h: Likewise.
28181 * sysdeps/i386/i386-mcount.S: Likewise.
28182 * sysdeps/x86_64/_mcount.S: Likewise.
28183 * sysdeps/x86_64/sysdep.h: Likewise.
28184 * sysdeps/sh/_mcount.S: Likewise.
28185 * sysdeps/sh/sysdep.h: Likewise.
28186 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28187 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28188 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28189 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28190 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28191 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28192 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28193 * locale/localeinfo.h: Likewise.
28194 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28195 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28197 2012-07-09 Roland McGrath <roland@hack.frob.com>
28200 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28202 * manual/message.texi (The Uniforum approach): Likewise.
28203 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28204 (glibc iconv Implementation): Likewise.
28206 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28209 * math/s_clog.c (__clog): Avoid scaling a value down where that
28210 could result in underflow.
28211 * math/s_clog10.c (__clog10): Likewise.
28212 * math/s_clog10f.c (__clog10f): Likewise.
28213 * math/s_clog10l.c (__clog10l): Likewise.
28214 * math/s_clogf.c (__clogf): Likewise.
28215 * math/s_clogl.c (__clogl): Likewise.
28216 * math/libm-test.inc (clog_test): Add more tests.
28217 (clog10_test): Likewise.
28218 * sysdeps/i386/fpu/libm-test-ulps: Update.
28219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28221 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28224 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28225 by 7 not 8 to examine high bit of fractional part.
28228 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28229 for call to __mcount_internal.
28230 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28231 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28232 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28234 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28237 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28238 approximation for values within 0x1p-13f of an odd multiple of
28240 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28241 exception. Add more tests.
28242 * sysdeps/i386/fpu/libm-test-ulps: Update.
28245 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28246 inputs and return -1 for them. Do not check for +Inf in case not
28247 reachable for +Inf.
28248 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28249 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28250 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28251 and return -1 for them. Do not check for +Inf in case not
28252 reachable for +Inf.
28253 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28255 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28256 and return -1 for them. Do not check for +Inf in case not
28257 reachable for +Inf.
28258 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28259 spurious underflow.
28260 * sysdeps/i386/fpu/libm-test-ulps: Update.
28261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28263 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28265 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28267 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28271 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28272 could result in spurious underflow. Scale down values above
28273 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28274 * math/s_csqrtf.c (__csqrtf): Likewise.
28275 * math/s_csqrtl.c (__csqrtl): Likewise.
28276 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28277 spurious underflow.
28278 * sysdeps/i386/fpu/libm-test-ulps: Update.
28279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28281 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28283 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28285 * catgets/xopen-msg.awk: New file.
28286 * catgets/xopen-msg.sed: Removed.
28288 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28290 * intl/po2test.awk: New file.
28291 * intl/po2test.sed: Removed.
28293 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28296 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28297 or multiply small sinh result by itself.
28298 * math/s_ctanf.c (__ctanf): Likewise.
28299 * math/s_ctanh.c (__ctanh): Likewise.
28300 * math/s_ctanhf.c (__ctanhf): Likewise.
28301 * math/s_ctanhl.c (__ctanhl): Likewise.
28302 * math/s_ctanl.c (__ctanl): Likewise.
28303 * math/libm-test.inc (ctan_test_tonearest): New function.
28304 (ctan_test_towardzero): Likewise.
28305 (ctan_test_downward): Likewise.
28306 (ctan_test_upward): Likewise.
28307 (ctanh_test_tonearest): Likewise.
28308 (ctanh_test_towardzero): Likewise.
28309 (ctanh_test_downward): Likewise.
28310 (ctanh_test_upward): Likewise.
28311 (main): Call these new functions.
28312 * sysdeps/i386/fpu/libm-test-ulps: Update.
28313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28315 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28317 * .gitignore: Delete /ports entry.
28319 2012-07-03 Andreas Jaeger <aj@suse.de>
28321 * po/bg.po: Update from translation team.
28322 * po/cs.po: Likewise.
28323 * po/de.po: Likewise.
28324 * po/hr.po: Likewise.
28325 * po/nl.pl: Likewise.
28326 * po/pl.po: Likewise.
28327 * po/vi.po: Likewise.
28329 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28331 * Makeconfig [!+link] (+link-before-libc): New variable.
28332 [!+link] (+link-after-libc): Likewise.
28333 [!+link] (+link-tests): Likewise.
28334 [!+link] (+link): Define in terms of $(+link-before-libc) and
28335 $(+link-after-libc).
28336 [!+link-static] (+link-static-before-libc): New variable.
28337 [!+link-static] (+link-static-after-libc): Likewise.
28338 [!+link-static] (+link-static-tests): Likewise.
28339 [!+link-static] (+link-static): Define in terms of
28340 $(+link-static-before-libc) and $(+link-static-after-libc).
28341 [build-shared] (link-libc-before-gnulib): New variable.
28342 [build-shared] (link-libc-tests): Likewise.
28343 [build-shared] (link-libc): Define in terms of
28344 $(link-libc-before-gnulib).
28345 [!build-shared] (link-libc-tests): New variable.
28346 (link-libc-static-tests): New variable.
28347 [!gnulib] (gnulib-arch): New variable.
28348 [!gnulib] (gnulib-tests): Likewise.
28349 [!gnulib] (static-gnulib-arch): Likewise.
28350 [!gnulib] (static-gnulib-tests): Likewise.
28351 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28352 Define with "=" instead of ":=".
28353 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28354 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28355 * Rules (binaries-all-notests): New variable.
28356 (binaries-all-tests): Likewise.
28357 (binaries-static-notests): Likewise.
28358 (binaries-static-tests): Likewise.
28359 (binaries-all): Define using $(binaries-all-notests) and
28360 $(binaries-all-tests).
28361 (binaries-static): Define using $(binaries-static-notests) and
28362 $(binaries-static-tests).
28363 (binaries-shared-tests): New variable.
28364 (binaries-shared-notests): Likewise.
28365 (binaries-shared): Remove variable.
28366 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28367 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28368 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28369 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28370 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28371 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28372 * elf/Makefile (sln-modules): New variable.
28373 (extra-objs): Add $(sln-modules:=.o).
28374 (ldconfig-modules): Add static-stubs.
28375 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28376 * elf/static-stubs.c: New file.
28379 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28380 by 7 not 8 to examine high bit of fractional part. Use volatile
28381 variables when splitting into final array of floats if
28382 __FLT_EVAL_METHOD__ != 0.
28383 * math/libm-test.inc (cos_test): Add another test.
28384 (sin_test): Likewise.
28385 * sysdeps/i386/fpu/libm-test-ulps: Update.
28388 * math/libm-test.inc (cosh_test): Add more tests.
28390 * version.h (RELEASE): Set to "development".
28391 (VERSION): Set to "2.16.90".
28393 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28395 * NEWS: Update copyright. Remove last-updated date.
28396 Mention math library bug fixes and timezone data changes.
28397 * README: Mention GNU/Hurd, x32, and HPPA support status.
28399 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28401 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28403 2012-06-27 Andreas Jaeger <aj@suse.de>
28405 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28407 2012-06-25 Andreas Jaeger <aj@suse.de>
28409 * sysdeps/s390/fpu/libm-test-ulps: Update.
28411 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28412 Thomas Schwinge <thomas@codesourcery.com>
28414 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28415 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28416 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28419 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28421 * sysdeps/mach/start.c: Remove file.
28422 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28423 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28424 * sysdeps/sh/init-first.c: Likewise.
28426 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28427 registers for frame unwinding purposes, add CFI directives.
28428 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28429 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28430 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28433 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28434 __fortify_fail returning.
28435 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28437 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28438 sysdeps/sh/____longjmp_chk.S.
28439 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28440 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28441 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28442 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28444 * sysdeps/sh/abort-instr.h: New file.
28445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28446 process in case exit returns.
28448 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28449 initialize the GOT register before use.
28451 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28452 calculation of ARGC > 4.
28454 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28455 meaningful names to some local labels.
28457 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28458 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28460 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28461 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28462 (__arch_compare_and_exchange_val_16_acq): Likewise.
28463 (__arch_compare_and_exchange_val_32_acq): Likewise.
28464 (atomic_exchange_and_add): Fix gUSA sequence.
28465 (atomic_add): Likewise.
28466 (atomic_add_negative): Likewise.
28467 (atomic_add_zero): Likewise.
28468 (atomic_bit_test_set): Likewise.
28470 2012-06-22 Andreas Schwab <schwab@redhat.com>
28473 * include/link.h (struct link_map): Add l_free_initfini.
28474 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28476 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28477 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28478 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28481 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28483 * configure.in: Use AC_LANG_SOURCE.
28484 * configure: Regenerate.
28486 2012-06-22 Roland McGrath <roland@hack.frob.com>
28488 * configure.in (libc_cv_localstatedir): New substituted variable.
28489 * configure: Regenerated.
28490 * config.make.in (localstatedir): New variable, substituted from
28491 libc_cv_localstatedir.
28492 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28493 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28494 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28495 * sysdeps/gnu/configure: Regenerated.
28497 2012-06-21 Jeff Law <law@redhat.com>
28500 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28501 free. Simplify list management for _LIBC case.
28503 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28506 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28507 Clear sign bit of 64-bit integer value before comparing against
28510 * sysdeps/mach/configure: Regenerated.
28512 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28515 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28517 2012-06-21 Jeff Law <law@redhat.com>
28520 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28521 uint16_t for elements in the "seen" array to avoid char overflows.
28522 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28523 * elf/dl-open.c (dl_open_worker): Likewise.
28525 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28527 * scripts/list-sources.sh: Scan PORTS for translations.
28528 * po/libc.pot: Regenerated.
28530 2012-06-21 Andreas Jaeger <aj@suse.de>
28533 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28535 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28536 * bits/byteswap-16.h (__bswap_16): Likewise.
28537 * bits/byteswap.h (__bswap_constant_16): Likewise.
28539 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28542 * sysdeps/i386/fpu_control.h: Removed.
28543 * sysdeps/x86_64/fpu_control.h: Moved to ...
28544 * sysdeps/x86/fpu_control.h: Here.
28546 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28547 (_FPU_SETCW): Likewise.
28549 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28552 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28553 * sysdeps/x86/fpu/bits/mathinline.h: This.
28554 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28558 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28559 functions if __x86_64__ is defined.
28561 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28563 * string/endian.h: Add !__ASSEMBLER__ condition for including
28564 conversion interfaces.
28566 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28569 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28570 of ABS(x) in calculating zero to negative powers other than odd
28572 * math/libm-test.inc (pow_test): Add more tests.
28574 2012-06-15 Andreas Jaeger <aj@suse.de>
28576 * manual/contrib.texi (Contributors): Update entry of Liubov
28577 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28580 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28582 * string/string.h: Add __wur to GNU version of strerror_r.
28584 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28587 * string/Makefile (tests): Add tst-strtok_r.
28588 * string/tst-strtok_r.c: New file.
28589 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28590 RAX_LP/RDX_LP on SAVE_PTR.
28592 2012-06-14 Roland McGrath <roland@hack.frob.com>
28594 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28596 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28598 * libm_test.inc (csqrt_test): Allow more spurious underflow
28600 (j0_test): Likewise.
28601 (j1_test): Likewise.
28602 (y0_test): Likewise.
28603 (y1_test): Likewise.
28605 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28607 * po/Makefile (libc.pot): Use UTF-8 charset.
28609 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28612 Suppress sign-conversion warning from FD_SET.
28613 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28614 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28615 not unsigned long int.
28616 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28618 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28622 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28623 __extern_always_inline instead of __extern_inline.
28624 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28625 (__signbit): Likewise.
28626 (__signbitl): Support C++ namespace.
28627 (lrintf): New inline function.
28629 (llrintf): Likewise.
28630 (llrint): Likewise.
28640 (floorf): Likewise.
28641 (nearbyint): Likewise.
28642 (nearbyintf): Likewise.
28644 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28646 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28647 non-default versions.
28649 2012-06-11 Roland McGrath <roland@hack.frob.com>
28652 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28654 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28656 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28657 (FE_UPWARD, FE_DOWNWARD): Don't define.
28658 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28659 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28661 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28663 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28664 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28666 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28668 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28670 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28671 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28673 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28676 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28677 * sysdeps/i386/fpu/Implies: New file.
28678 * sysdeps/x86_64/fpu/Implies: Likewise.
28679 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28680 * sysdeps/x86/fpu/bits/fenv.h: This.
28682 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28685 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28688 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28689 character 0xffff that matches the last element of the
28692 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28697 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28699 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28700 values higher than 25.6283.
28702 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28705 subnormal exponent extraction and add some __builtin_expect.
28706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28707 Fix for subnormal mantissa calculation.
28709 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28711 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28712 cpu2 is -1 and errno is not ENOSYS.
28714 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28717 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28718 * sysdeps/x86/bits/string.h: This.
28719 * sysdeps/x86_64/bits/string.h: Removed.
28721 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28722 if not compiling for x86-64, but compiling for >= i486.
28724 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28725 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28727 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28728 New macro from Linux kernel 3.4.0.
28729 (FP_XSTATE_MAGIC2): Likewise.
28730 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28731 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28732 (struct _fpx_sw_bytes): New struct.
28733 (struct _xsave_hdr): Likewise.
28734 (struct _ymmh_state): Likewise.
28735 (struct _xstate): Likewise.
28737 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28738 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28739 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28740 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28741 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28742 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28744 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28745 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28746 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28747 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28748 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28749 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28751 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28754 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28755 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28756 (sysdep_headers): Include sys/platform/ppc.h.
28757 * sysdeps/powerpc/test-gettimebase.c: Test for
28758 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28759 * manual/Makefile (appendices): Include platform.texi.
28760 * manual/contrib.texi (Contributors): Update @node pointers.
28761 * manual/maint.texi (Maintenance): Likewise.
28762 (Platform): New node.
28763 * manual/platform.texi: New file. Document the new features.
28765 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28766 Jakub Jelinek <jakub@redhat.com>
28769 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28770 where __builtin_expect is unavailable.
28772 2012-06-03 David S. Miller <davem@davemloft.net>
28774 * stdlib/longlong.h: Updated from GCC.
28776 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28779 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28780 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28783 (GLIBC_2.16): Likewise.
28785 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28787 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28789 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28792 (default-abi): New variable.
28793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28794 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28796 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28798 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28800 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28803 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28804 definition. Document in comment.
28806 2012-06-01 David S. Miller <davem@davemloft.net>
28808 * stdlib/longlong.h: Updated from GCC.
28810 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28813 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28814 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28815 sys/debugreg.h sys/io.h here.
28816 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28817 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28819 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28820 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28821 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28822 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28823 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28824 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28826 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28827 Define only if __x86_64__ is defined.
28829 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28832 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28833 Use int64_t for variable i.
28834 * math/libm-test.inc (fmod_test): Add more tests.
28836 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28837 z computation is not scheduled after fetestexcept.
28838 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28839 Use math_force_eval instead of asm to ensure calculation scheduled
28840 before exception test.
28841 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28842 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28844 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28847 computation is not scheduled after fetestexcept.
28849 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28852 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28853 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28855 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28857 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28858 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28860 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28863 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28865 (__WCHAR_MIN): Support __WORDSIZE == 64.
28866 (__WCHAR_MAX): Likewise.
28868 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28869 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28872 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28873 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28876 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28877 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28879 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28880 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28882 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28883 Defined to 1 if __x86_64__ isn't defined.
28884 (_STAT_VER_LINUX_OLD): New.
28885 (st_atime): Remove duplicate.
28886 (st_mtime): Likewise.
28887 (st_ctime): Likewise.
28889 2012-05-31 David S. Miller <davem@davemloft.net>
28891 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28894 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28896 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28900 * elf/dl-reloc.c: Include <_itoa.h>.
28901 (_dl_reloc_bad_type): Remove use of INTUSE.
28902 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28903 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28904 * stdio-common/psiginfo.c (psiginfo): Likewise.
28905 * stdio-common/psignal.c (psignal): Likewise.
28906 * string/strsignal.c (strsignal): Likewise.
28907 * include/signal.h (_sys_siglist): Declare hidden proto.
28908 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28909 INTVARDEF with libc_hidden_data_def.
28910 * stdio-common/itoa-udigits.c: Likewise.
28911 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28912 (_itoa_lower_digits_internal): Remove declaration.
28913 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28914 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28915 (_sys_sigabbrev_internal): Remove aliases.
28916 (_sys_siglist): Define hidden alias.
28918 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28923 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28926 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28927 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28929 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28930 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28931 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28932 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28934 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28936 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28937 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28938 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28940 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28948 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28949 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28950 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28952 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28953 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28954 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28955 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28956 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28957 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28959 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28960 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28962 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28963 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28965 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28966 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28967 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28969 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28970 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28972 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28974 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28975 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28976 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28978 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28980 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28982 2012-05-31 Joseph Myers <joseph@codesourcery.com>
28984 * math/math.h (M_El): Use two more decimal places.
28985 (M_LOG2El): Likewise.
28986 (M_LOG10El): Likewise.
28987 (M_LN2l): Likewise.
28988 (M_LN10l): Likewise.
28990 (M_PI_2l): Likewise.
28991 (M_PI_4l): Likewise.
28992 (M_1_PIl): Likewise.
28993 (M_2_PIl): Likewise.
28994 (M_2_SQRTPIl): Likewise.
28995 (M_SQRT2l): Likewise.
28996 (M_SQRT1_2l): Likewise.
28998 2012-05-31 David S. Miller <davem@davemloft.net>
29000 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29001 values between float registers.
29002 * sysdeps/sparc/sparc64/memset.S: Likewise.
29003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29005 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29007 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29008 -D_FORTIFY_SOURCE=1.
29009 (CPPFLAGS-tst-longjmp_chk.c): Define.
29010 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29011 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29012 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29013 CFLAGS-tst-wchar-h.c.
29015 2012-05-31 Marek Polacek <polacek@redhat.com>
29018 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29019 __endmntent_internal): Remove declaration.
29020 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29021 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29022 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29024 2012-05-30 David S. Miller <davem@davemloft.net>
29026 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29027 (___Q_simulate_exceptions): Use real FP ops rather than writing
29029 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29032 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29035 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29036 * sysdeps/x86/bits/xtitypes.h: This.
29038 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29039 * sysdeps/x86/bits/wordsize.h: This.
29041 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29042 * sysdeps/x86/bits/huge_vall.h: This.
29044 * sysdeps/i386/bits/select.h: Removed.
29045 * sysdeps/x86_64/bits/select.h: Renamed to ...
29046 * sysdeps/x86/bits/select.h: This.
29048 * sysdeps/i386/bits/setjmp.h: Removed.
29049 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29050 * sysdeps/x86/bits/setjmp.h: This.
29052 * sysdeps/i386/bits/mathdef.h: Removed.
29053 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29054 * sysdeps/x86/bits/mathdef.h: This.
29056 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29059 * include/sys/socket.h (__connect_internal)
29060 (__libc_sa_len_internal): Remove declaration.
29061 (__connect, __libc_sa_len): Declare hidden_proto.
29062 (SA_LEN): Remove use of INTUSE.
29063 * socket/connect.c: Add libc_hidden_def.
29064 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29065 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29066 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29068 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29069 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29070 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29071 of adding _internal alias.
29073 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29076 * sysdeps/i386/bits/link.h: Removed.
29077 * sysdeps/i386/bits/linkmap.h: Likewise.
29078 * sysdeps/x86_64/bits/link.h: Renamed to ...
29079 * sysdeps/x86/bits/link.h: This.
29080 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29081 * sysdeps/x86/bits/linkmap.h: This.
29083 * sysdeps/i386/bits/endian.h: Removed.
29084 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29085 * sysdeps/x86/bits/endian.h: This.
29087 * sysdeps/i386/bits/byteswap.h: Removed.
29088 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29089 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29090 * sysdeps/x86/bits/byteswap.h: This.
29091 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29092 * sysdeps/x86/bits/byteswap-16.h: This.
29093 * sysdeps/i386/Implies: Add x86.
29094 * sysdeps/x86_64/Implies: Likewise.
29096 2012-05-30 David S. Miller <davem@davemloft.net>
29098 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29099 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29100 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29101 (FP_TRAPPING_EXCEPTIONS): Define.
29102 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29103 (FP_TRAPPING_EXCEPTIONS): Define.
29104 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29105 subnormals only when inexact has been signalled or underflow
29106 exceptions are enabled.
29107 (_FP_PACK_CANONICAL): Likewise.
29109 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29113 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29115 2012-05-30 Richard Henderson <rth@twiddle.net>
29117 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29118 with #ifndef NOT_IN_libc.
29120 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29121 marked to avoid plt entry.
29123 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29126 * Makeconfig (default-abi): New macro.
29127 (abi-includes): Likewise.
29128 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29129 $(abi-$(default-abi)-lib-soname) for soname if defined.
29130 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29132 * Makefile (installed-stubs): Likewise.
29133 * include/stubs-biarch.h: Removed.
29134 * scripts/lib-names.awk: Only handle one library at a time.
29135 * scripts/soversions.awk: Remove WORDSIZE support.
29136 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29138 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29140 (syscall-list-default-condition): Likewise.
29141 (syscall-list-default-condition): Likewise.
29142 (syscall-list-includes): Likewise.
29143 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29144 syscall-list-* with abi-*. Handle undefined abi-variants.
29145 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29146 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29147 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29148 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29149 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29150 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29152 (syscall-list-32-options): Likewise.
29153 (syscall-list-32-condition): Likewise.
29154 (syscall-list-64-options): Likewise.
29155 (syscall-list-64-condition): Likewise.
29156 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29158 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29161 (abi-64-ld-soname): New macro.
29162 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29163 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29166 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29167 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29169 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29171 * sysdeps/unix/sysv/linux/kernel-features.h
29172 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29173 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29174 include <kernel-features.h>.
29175 [!__NR_ftruncate64]: Remove conditional code.
29176 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29177 [__NR_ftruncate64]: Make code unconditional.
29178 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29179 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29180 include <kernel-features.h>.
29181 [!__NR_ftruncate64]: Remove conditional code.
29182 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29183 [__NR_ftruncate64]: Make code unconditional.
29184 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29186 include <kernel-features.h>.
29187 [!__NR_ftruncate64]: Remove conditional code.
29188 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29189 [__NR_ftruncate64]: Make code unconditional.
29190 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29192 include <kernel-features.h>.
29193 [!__NR_ftruncate64]: Remove conditional code.
29194 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29195 [__NR_ftruncate64]: Make code unconditional.
29196 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29198 * configure.in (libc_cv_fpie): Weaken to a compile test using
29199 LIBC_TRY_CC_OPTION.
29200 * configure: Regenerated.
29202 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29217 2012-05-27 David S. Miller <davem@davemloft.net>
29219 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29221 (__Q_simulate_exceptions): Return void. Change to simulate
29222 exceptions by writing into the %fsr.
29223 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29224 (__Qp_handle_exceptions): Likewise.
29226 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29227 __Qp_handle_exceptions.
29228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29229 __Qp_handle_exceptions.
29230 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29231 as unused and give dummy FP_RND_NEAREST initializer.
29232 (FP_INHIBIT_RESULTS): Define.
29233 (___Q_simulate_exceptions): Update declaration.
29234 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29236 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29237 as unused and give dummy FP_RND_NEAREST initializer.
29238 (__Qp_handle_exceptions): Update declaration.
29239 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29242 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29244 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29245 the temporary FPU control word.
29246 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29247 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29248 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29249 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29250 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29251 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29252 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29253 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29254 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29255 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29256 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29258 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29260 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29263 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29265 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29266 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29267 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29268 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29270 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29271 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29274 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29276 * po/h.po: Update from translation team.
29278 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29280 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29282 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29283 handling of denormals.
29284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29285 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29286 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29287 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29289 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29293 2012-05-26 Marek Polacek <polacek@redhat.com>
29296 * math/libm-test.inc (fma_test): Don't always expect underflow
29299 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29302 * elf/tst-execstack.c: Include stackinfo.h.
29303 (do_test): Adjust test case to ensure that pthread_getattr_np
29304 behaviour remains the same after marking stack executable.
29306 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29308 * sysdeps/unix/sysv/linux/kernel-features.h
29309 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29310 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29312 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29313 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29314 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29316 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29317 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29319 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29321 * configure.in: Define the default includes to being none.
29322 * configure: Regenerated.
29324 2012-05-25 Roland McGrath <roland@hack.frob.com>
29326 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29327 * sysdeps/x86_64/setjmp.S: Likewise.
29328 * sysdeps/i386/bsd-setjmp.S: Likewise.
29329 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29330 * sysdeps/i386/setjmp.S: Likewise.
29331 * sysdeps/i386/__longjmp.S: Likewise.
29332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29333 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29335 * include/stap-probe.h: New file.
29336 * configure.in: Handle --enable-systemtap.
29337 * configure: Regenerated.
29338 * config.h.in (USE_STAP_PROBE): New #undef.
29339 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29340 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29341 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29343 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29347 to 2.4.0 where earlier.
29348 * sysdeps/unix/sysv/linux/configure: Regenerated.
29349 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29350 <kernel-features.h>.
29351 [__ASSUME_32BITUIDS]: Make code unconditional.
29352 [!__ASSUME_32BITUIDS]: Remove conditional code.
29353 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29354 <kernel-features.h>.
29355 [__ASSUME_32BITUIDS]: Make code unconditional.
29356 [!__ASSUME_32BITUIDS]: Remove conditional code.
29357 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29358 [__ASSUME_32BITUIDS]: Make code unconditional.
29359 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29360 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29361 <kernel-features.h>.
29362 [__ASSUME_32BITUIDS]: Make code unconditional.
29363 [!__ASSUME_32BITUIDS]: Remove conditional code.
29364 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29365 <kernel-features.h>.
29366 [__ASSUME_32BITUIDS]: Make code unconditional.
29367 [!__ASSUME_32BITUIDS]: Remove conditional code.
29368 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29369 <kernel-features.h>.
29370 [__ASSUME_32BITUIDS]: Make code unconditional.
29371 [!__ASSUME_32BITUIDS]: Remove conditional code.
29372 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29373 <kernel-features.h>.
29374 [__ASSUME_32BITUIDS]: Make code unconditional.
29375 [!__ASSUME_32BITUIDS]: Remove conditional code.
29376 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29377 <kernel-features.h>.
29378 [__ASSUME_32BITUIDS]: Make code unconditional.
29379 [!__ASSUME_32BITUIDS]: Remove conditional code.
29380 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29381 <kernel-features.h>.
29382 [__ASSUME_32BITUIDS]: Make code unconditional.
29383 [!__ASSUME_32BITUIDS]: Remove conditional code.
29384 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29385 <kernel-features.h>.
29386 [__ASSUME_32BITUIDS]: Make code unconditional.
29387 [!__ASSUME_32BITUIDS]: Remove conditional code.
29388 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29389 <kernel-features.h>.
29390 [__ASSUME_32BITUIDS]: Make code unconditional.
29391 [!__ASSUME_32BITUIDS]: Remove conditional code.
29392 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29393 <kernel-features.h>.
29394 [__ASSUME_32BITUIDS]: Make code unconditional.
29395 [!__ASSUME_32BITUIDS]: Remove conditional code.
29396 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29397 <kernel-features.h>.
29398 [__ASSUME_32BITUIDS]: Make code unconditional.
29399 [!__ASSUME_32BITUIDS]: Remove conditional code.
29400 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29401 <kernel-features.h>.
29402 [__NR_setresgid] (__setresgid): Do not declare.
29403 [__ASSUME_32BITUIDS]: Make code unconditional.
29404 [!__ASSUME_32BITUIDS]: Remove conditional code.
29405 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29406 <kernel-features.h>.
29407 [__NR_setresuid] (__setresuid): Do not declare.
29408 [__ASSUME_32BITUIDS]: Make code unconditional.
29409 [!__ASSUME_32BITUIDS]: Remove conditional code.
29410 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29411 <kernel-features.h>.
29412 [__ASSUME_32BITUIDS]: Make code unconditional.
29413 [!__ASSUME_32BITUIDS]: Remove conditional code.
29414 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29415 <kernel-features.h>.
29416 [__ASSUME_32BITUIDS]: Make code unconditional.
29417 [!__ASSUME_32BITUIDS]: Remove conditional code.
29418 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29419 <kernel-features.h>.
29420 [__ASSUME_32BITUIDS]: Make code unconditional.
29421 [!__ASSUME_32BITUIDS]: Remove conditional code.
29422 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29423 <kernel-features.h>.
29424 [__ASSUME_32BITUIDS]: Make code unconditional.
29425 [!__ASSUME_32BITUIDS]: Remove conditional code.
29426 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29427 <kernel-features.h>.
29428 [__ASSUME_32BITUIDS]: Make code unconditional.
29429 [!__ASSUME_32BITUIDS]: Remove conditional code.
29430 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29431 <kernel-features.h>.
29432 [__ASSUME_32BITUIDS]: Make code unconditional.
29433 [!__ASSUME_32BITUIDS]: Remove conditional code.
29434 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29435 <kernel-features.h>.
29436 [__ASSUME_32BITUIDS]: Make code unconditional.
29437 [!__ASSUME_32BITUIDS]: Remove conditional code.
29438 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29439 <kernel-features.h>.
29440 [__ASSUME_32BITUIDS]: Make code unconditional.
29441 [!__ASSUME_32BITUIDS]: Remove conditional code.
29442 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29443 <kernel-features.h>.
29444 [__ASSUME_32BITUIDS]: Make code unconditional.
29445 [!__ASSUME_32BITUIDS]: Remove conditional code.
29446 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29447 <kernel-features.h>.
29448 [__ASSUME_32BITUIDS]: Make code unconditional.
29449 [!__ASSUME_32BITUIDS]: Remove conditional code.
29450 * sysdeps/unix/sysv/linux/kernel-features.h
29451 (__ASSUME_SETRESUID_SYSCALL): Remove.
29452 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29453 (__ASSUME_32BITUIDS): Likewise.
29454 (__ASSUME_LDT_WORKS): Likewise.
29455 (__ASSUME_O_DIRECTORY): Likewise.
29456 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29457 architecture but not kernel version.
29458 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29459 (__ASSUME_MMAP2_SYSCALL): Likewise.
29460 (__ASSUME_STAT64_SYSCALL): Likewise.
29461 (__ASSUME_IPC64): Likewise.
29462 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29463 <kernel-features.h>.
29464 [__ASSUME_32BITUIDS]: Make code unconditional.
29465 [!__ASSUME_32BITUIDS]: Remove conditional code.
29466 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29467 <kernel-features.h>.
29468 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29469 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29470 132096]: Remove conditional code.
29471 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29472 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29473 <kernel-features.h>.
29474 [__ASSUME_32BITUIDS]: Make code unconditional.
29475 [!__ASSUME_32BITUIDS]: Remove conditional code.
29476 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29477 <kernel-features.h>.
29478 [__ASSUME_32BITUIDS]: Make code unconditional.
29479 [!__ASSUME_32BITUIDS]: Remove conditional code.
29480 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29481 <kernel-features.h>.
29482 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29484 (__setresgid): Do not declare.
29485 [__ASSUME_32BITUIDS]: Make code unconditional.
29486 [!__ASSUME_32BITUIDS]: Remove conditional code.
29487 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29488 <kernel-features.h>.
29489 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29491 (__setresuid): Do not declare.
29492 [__ASSUME_32BITUIDS]: Make code unconditional.
29493 [!__ASSUME_32BITUIDS]: Remove conditional code.
29494 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29495 <kernel-features.h>.
29496 [__ASSUME_32BITUIDS]: Make code unconditional.
29497 [!__ASSUME_32BITUIDS]: Remove conditional code.
29498 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29499 <kernel-features.h>.
29500 [__ASSUME_32BITUIDS]: Make code unconditional.
29501 [!__ASSUME_32BITUIDS]: Remove conditional code.
29503 2012-05-25 Richard Henderson <rth@twiddle.net>
29505 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29506 dl_hwcap to ifunc resolver.
29507 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29509 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29510 dl_hwcap to ifunc resolver.
29511 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29513 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29516 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29517 for |x| <= 2**-26, not 2**-57.
29518 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29521 2012-05-24 Jeff Law <law@redhat.com>
29523 * stdio-common/Makefile (tests): Add bug25.
29524 * stdio-common/bug25.c: New test.
29526 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29529 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29530 multiple of MALLOC_ALIGNMENT in size.
29531 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29533 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29535 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29537 (FILENAME_MAX): Use macro-int-constant.
29538 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29539 (_IOFBF): Use macro-int-constant.
29540 (_IOLBF): Likewise.
29541 (_IONBF): Likewise.
29542 (SEEK_CUR): Likewise.
29543 (SEEK_END): Likewise.
29544 (SEEK_SET): Likewise.
29545 (TMP_MAX): Likewise.
29546 (EOF): Use macro-int-constant. Require < 0.
29547 (NULL): Use macro-constant. Require == 0.
29548 (stdin): Require type to be FILE *.
29549 (stdout): Likewise.
29550 (stderr): Likewise.
29551 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29552 macro-int-constant.
29553 (EXIT_SUCCESS): Likewise.
29554 (NULL): Use macro-constant. Require == 0.
29555 (RAND_MAX): Use macro-int-constant.
29556 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29557 [C99-based standards] (strtof): Require function.
29558 [C99-based standards] (strtold): Likewise.
29559 [C99-based standards] (strtoll): Likewise.
29560 [C99-based standards] (strtoull): Likewise.
29561 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29562 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29563 [ISO || ISO99 || ISO11] (math.h): Likewise.
29564 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29565 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29568 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29571 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29572 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29573 * intl/dgettext.c (DCGETTEXT): Likewise.
29574 * intl/gettext.c (DCGETTEXT): Likewise.
29575 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29576 * posix/regex_internal.h (gettext): Likewise.
29577 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29578 Remove declaration.
29579 * include/argz.h (__argz_count_internal)
29580 (__argz_stringify_internal): Remove declaration.
29581 (__argz_count, __argz_stringify): Declare hidden proto.
29582 * intl/dcgettext.c: Remove use of INTDEF.
29583 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29584 * string/argz-stringify.c: Likewise.
29585 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29586 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29587 Declare hidden proto.
29588 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29589 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29590 Declare hidden proto.
29591 * include/stdio.h (__asprintf_internal): Don't declare.
29592 (__asprintf): Don't define as macro. Declare hidden proto.
29593 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29594 (__fsetlocking): Declare hidden proto.
29595 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29596 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29598 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29599 (_IO_setlinebuf): Remove use of INTUSE.
29600 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29601 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29602 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29603 Remove declaration.
29604 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29605 (_IO_do_flush): Remove use of INTUSE.
29606 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29607 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29608 (_IO_adjust_column, _IO_least_wmarker)
29609 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29610 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29611 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29612 (_IO_default_doallocate, _IO_wdefault_doallocate)
29613 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29614 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29615 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29616 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29617 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29618 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29619 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29620 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29621 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29622 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29623 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29624 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29625 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29627 (_IO_flush_all_internal, _IO_adjust_column_internal)
29628 (_IO_default_uflow_internal, _IO_default_finish_internal)
29629 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29630 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29631 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29632 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29633 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29634 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29635 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29636 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29637 (_IO_file_close_internal, _IO_file_close_it_internal)
29638 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29639 (_IO_file_init_internal, _IO_file_attach_internal)
29640 (_IO_file_fopen_internal, _IO_file_read_internal)
29641 (_IO_file_sync_internal, _IO_file_seek_internal)
29642 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29643 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29644 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29645 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29646 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29647 (_IO_list_all_internal, _IO_link_in_internal)
29648 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29649 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29650 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29651 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29652 (_IO_do_write_internal, _IO_padn_internal)
29653 (_IO_getline_info_internal, _IO_getline_internal)
29654 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29655 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29656 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29657 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29658 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29659 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29660 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29661 with libc_hidden_ver, remove use of INTUSE.
29662 * libio/genops.c: Likewise.
29663 * libio/freopen.c: Likewise.
29664 * libio/freopen64.c: Likewise.
29665 * libio/iofclose.c: Likewise.
29666 * libio/iofdopen.c: Likewise.
29667 * libio/iofflush.c: Likewise.
29668 * libio/iofflush_u.c: Likewise.
29669 * libio/iofgets.c: Likewise.
29670 * libio/iofgets_u.c: Likewise.
29671 * libio/iofopen.c: Likewise.
29672 * libio/iofopncook.c: Likewise.
29673 * libio/iofread.c: Likewise.
29674 * libio/iofread_u.c: Likewise.
29675 * libio/ioftell.c: Likewise.
29676 * libio/iofwrite.c: Likewise.
29677 * libio/iogetline.c: Likewise.
29678 * libio/iogets.c: Likewise.
29679 * libio/iogetwline.c: Likewise.
29680 * libio/iopadn.c: Likewise.
29681 * libio/iopopen.c: Likewise.
29682 * libio/ioseekoff.c: Likewise.
29683 * libio/ioseekpos.c: Likewise.
29684 * libio/iosetbuffer.c: Likewise.
29685 * libio/iosetvbuf.c: Likewise.
29686 * libio/ioungetc.c: Likewise.
29687 * libio/ioungetwc.c: Likewise.
29688 * libio/iovdprintf.c: Likewise.
29689 * libio/iovsprintf.c: Likewise.
29690 * libio/iovsscanf.c: Likewise.
29691 * libio/memstream.c: Likewise.
29692 * libio/obprintf.c: Likewise.
29693 * libio/oldfileops.c: Likewise.
29694 * libio/oldiofclose.c: Likewise.
29695 * libio/oldiofdopen.c: Likewise.
29696 * libio/oldiofopen.c: Likewise.
29697 * libio/oldiopopen.c: Likewise.
29698 * libio/oldstdfiles.c: Likewise.
29699 * libio/putc.c: Likewise.
29700 * libio/setbuf.c: Likewise.
29701 * libio/setlinebuf.c: Likewise.
29702 * libio/stdfiles.c: Likewise.
29703 * libio/strops.c: Likewise.
29704 * libio/vasprintf.c: Likewise.
29705 * libio/vscanf.c: Likewise.
29706 * libio/vsnprintf.c: Likewise.
29707 * libio/vswprintf.c: Likewise.
29708 * libio/wfiledoalloc.c: Likewise.
29709 * libio/wfileops.c: Likewise.
29710 * libio/wgenops.c: Likewise.
29711 * libio/wmemstream.c: Likewise.
29712 * libio/wstrops.c: Likewise.
29713 * libio/__fpurge.c: Likewise.
29714 * libio/__fsetlocking.c: Likewise.
29715 * assert/assert.c: Likewise.
29716 * debug/fgets_chk.c: Likewise.
29717 * debug/fgets_u_chk.c: Likewise.
29718 * debug/fread_chk.c: Likewise.
29719 * debug/fread_u_chk.c: Likewise.
29720 * debug/gets_chk.c: Likewise.
29721 * debug/obprintf_chk.c: Likewise.
29722 * debug/vasprintf_chk.c: Likewise.
29723 * debug/vdprintf_chk.c: Likewise.
29724 * debug/vsnprintf_chk.c: Likewise.
29725 * debug/vsprintf_chk.c: Likewise.
29726 * malloc/mtrace.c: Likewise.
29727 * misc/error.c: Likewise.
29728 * misc/syslog.c: Likewise.
29729 * stdio-common/asprintf.c: Likewise.
29730 * stdio-common/fxprintf.c: Likewise.
29731 * stdio-common/getw.c: Likewise.
29732 * stdio-common/isoc99_fscanf.c: Likewise.
29733 * stdio-common/isoc99_scanf.c: Likewise.
29734 * stdio-common/isoc99_vfscanf.c: Likewise.
29735 * stdio-common/isoc99_vscanf.c: Likewise.
29736 * stdio-common/isoc99_vsscanf.c: Likewise.
29737 * stdio-common/printf-prs.c: Likewise.
29738 * stdio-common/printf_fp.c: Likewise.
29739 * stdio-common/printf_fphex.c: Likewise.
29740 * stdio-common/printf_size.c: Likewise.
29741 * stdio-common/putw.c: Likewise.
29742 * stdio-common/scanf.c: Likewise.
29743 * stdio-common/sprintf.c: Likewise.
29744 * stdio-common/tmpfile.c: Likewise.
29745 * stdio-common/vfprintf.c: Likewise.
29746 * stdio-common/vfscanf.c: Likewise.
29747 * stdlib/strfmon_l.c: Likewise.
29748 * sunrpc/openchild.c: Likewise.
29749 * sunrpc/xdr_stdio.c: Likewise.
29750 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29751 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29753 2012-05-24 Roland McGrath <roland@hack.frob.com>
29755 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29757 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29758 in the third column, to generate for the shared library an IFUNC
29759 that uses _dl_vdso_vsym.
29760 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29761 * Makeconfig (object-suffixes-noshared): New variable.
29763 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29764 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29765 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29766 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29769 * include/sys/time.h (__gettimeofday): Remove macro.
29770 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29771 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29773 (__gettimeofday): Add libc_hidden_def.
29774 (gettimeofday): Add libc_hidden_weak.
29775 * sysdeps/mach/gettimeofday.c: Likewise.
29776 * sysdeps/posix/gettimeofday.c: Likewise.
29777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29778 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29779 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29780 (__gettimeofday_internal): Remove strong_alias.
29781 (__gettimeofday): Add libc_hidden_def.
29782 (gettimeofday): Add libc_hidden_weak.
29783 * sysdeps/unix/syscalls.list (gettimeofday):
29784 Remove __gettimeofday_internal alias.
29786 2012-05-24 Daniel Jacobowitz <drow@false.org>
29787 H.J. Lu <hongjiu.lu@intel.com>
29790 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29791 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29792 (largebin_index_32_big): New.
29793 (largebin_index): Use it for 16-byte alignment.
29794 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29795 correction with front_misalign.
29797 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29825 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29826 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29828 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29832 * math/libm-test.inc (exp_test): Add test from bug 14036.
29833 (pow_test): Add test from bug 10846.
29835 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29837 (special_function): Do not include flags in test name.
29838 (parse_args): Likewise.
29839 * sysdeps/i386/fpu/libm-test-ulps: Update.
29840 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29841 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29842 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29845 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29847 * math/libm-test.inc ("Philosophy"): Update comment about
29849 (UNDERFLOW_EXCEPTION): New macro.
29850 (UNDERFLOW_EXCEPTION_OK): Likewise.
29851 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29852 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29853 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29854 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29855 (INVALID_EXCEPTION_OK): Update value.
29856 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29857 (OVERFLOW_EXCEPTION_OK): Likewise.
29858 (IGNORE_ZERO_INF_SIGN): Likewise.
29859 (test_exceptions): Handle underflow exceptions.
29860 (acos_test): Update for underflow exception expectations.
29861 (cexp_test): Likewise.
29862 (clog_test): Likewise.
29863 (clog10_test): Likewise.
29864 (csqrt_test): Likewise.
29865 (ctan_test): Likewise.
29866 (ctanh_test): Likewise.
29867 (exp_test): Likewise.
29868 (exp10_test): Likewise.
29869 (exp2_test): Likewise.
29870 (expm1_test): Likewise.
29871 (fma_test): Likewise.
29872 (j0_test): Likewise.
29873 (jn_test): Likewise.
29874 (nexttoward_test): Likewise.
29875 (pow_test): Likewise.
29876 (scalbn_test): Likewise.
29877 (scalbln_test): Likewise.
29878 (tan_test): Likewise.
29879 (y1_test): Likewise.
29880 * sysdeps/i386/fpu/libm-test-ulps: Update.
29881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29883 2012-05-23 David S. Miller <davem@davemloft.net>
29885 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29886 (__libc_sigaction): Remove unused local variables.
29888 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29890 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29892 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29894 mktime: avoid signed integer overflow
29895 * time/mktime.c (__mktime_internal): Do not mishandle the case
29896 where diff == INT_MIN.
29898 mktime: simplify computation of average
29899 * time/mktime.c (ranged_convert): Use new time_t_avg function
29900 instead of rolling our own (probably-slower) code.
29902 mktime: do not assume signed right shift propagates sign bit
29903 * time/mktime.c (isdst_differ): New static function.
29904 (__mktime_internal): No need to normalize tm_isdst now.
29905 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29908 mktime: merge another wrapv change from gnulib
29909 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29910 from some compilers.
29912 mktime: remove incorrect attempt at unusual arithmetics
29913 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29914 The code didn't really work on such machines anyway.
29915 (TYPE_MINIMUM): Assume two's complement.
29916 (twos_complement_arithmetic): Verify that long_int and time_t
29917 are two's complement (or unsigned, in the latter case).
29919 mktime: check signed shifts on long_int and time_t, too
29920 * time/mktime.c (SHR): Check that shifts work as desired
29921 on the types long_int and time_t too, as SHR is used on
29924 mktime: do not assume 'long' is wide enough
29925 * time/mktime.c (verify): Move decl up.
29926 (long_int): New type.
29927 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29928 to remove assumption in the code that 'long' is wide enough to
29929 store year values. This assumption is not true on x32 and on
29930 some non-glibc platforms.
29932 mktime: merge wrapv change from gnulib
29933 * time/mktime.c (WRAPV): New macro.
29934 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29935 (guess_time_tm, __mktime_internal): Do not assume that signed
29936 integer overflow wraps around; modern compilers generate code
29937 where this assumption is no longer valid.
29939 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29941 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29942 Replace "jmp L(pseudo_end)" with "ret".
29943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29946 2012-05-23 Andreas Jaeger <aj@suse.de>
29948 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29949 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29951 2012-05-23 Andreas Jaeger <aj@suse.de>
29952 Maximilian Attems <max@stro.at>
29954 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29957 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29959 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29960 code so that pseudo_end is just ret and the stack pointer is
29961 correct also for static library in error case.
29963 2012-05-23 Joseph Myers <joseph@codesourcery.com>
29965 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29966 move to syscalls.list.
29967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29972 * manual/install.texi (Running make install): Do not mention Linux
29973 kernel version for which pt_chown is not needed.
29974 (Linux): Do not mention problems with nscd with 2.0 kernels.
29975 * INSTALL: Regenerated.
29977 2012-05-23 Andreas Jaeger <aj@suse.de>
29979 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29980 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29982 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29983 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29984 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29985 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29986 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29987 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29988 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29989 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29990 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29991 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29992 * sysdeps/unix/sysv/linux/bits/in.h
29993 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29995 2012-05-22 Roland McGrath <roland@hack.frob.com>
29997 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29998 (PREPARE_VERSION): Just use assert instead, it will be elided
29999 under [NDEBUG] anyway.
30001 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30003 * sysdeps/unix/sysv/linux/Makefile: Include
30004 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30005 (sysdep_routines): Remove sysctl.
30006 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30007 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30008 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30009 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30010 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30012 2012-05-22 Andreas Jaeger <aj@suse.de>
30014 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30015 that pseudo_end is just ret and the stack pointer is correct also
30016 for static library in error case.
30018 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30021 * nss/nsswitch.c (defconfig_entries): New variable.
30022 (__nss_database_lookup): Don't leak defconfig entries.
30023 (nss_parse_service_list): Don't leak on error paths.
30024 (free_database_entries): New function.
30025 (free_defconfig): New function.
30026 (free_mem): Move common code to free_database_entries.
30028 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30030 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30032 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30034 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30035 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30038 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30039 (INTERNAL_SYSCALL_TYPES): Likewise.
30040 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30041 (LOAD_REGS_TYPES_[1-6]): Likewise.
30042 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30043 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30045 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30047 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30048 copysignl for GLIBC_2_0.
30049 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30050 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30052 logbl for GLIBC_2_0.
30053 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30054 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30056 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30058 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30059 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30061 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30064 * time/mktime.c: Update copyright years.
30066 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30068 mktime: merge comment-quoting-style change from gnulib
30069 * time/mktime.c: Quote 'like this' in comments.
30070 The GNU coding standards suggest that we no longer quote `like this',
30071 as "`" and "'" are typically rendered asymmetrically nowadays.
30072 The typical gnulib style is to quote 'like this' when quoting
30073 code, and "like this" when quoting English.
30075 * time/mktime.c (compile-command): Add "-I.".
30077 mktime: merge mktime-internal.h change from gnulib
30078 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30080 mktime: merge time_r change from gnulib
30081 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30083 mktime: merge DEBUG change from gnulib
30084 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30085 case system <time.h> has a #define.
30087 mktime: merge <sys/types.h> change from gnulib
30088 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30089 since <time.t> is now guaranteed to define time_t.
30091 mktime: merge HAVE_CONFIG_H change from gnulib
30092 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30094 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30099 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30101 (struct rusage): Use anonymous union to pad each field to
30104 2012-05-21 David S. Miller <davem@davemloft.net>
30106 * Makefules (o-iterator): Remove .s cases.
30107 (compile-command.s): Delete.
30108 (COMPILE.s): Delete.
30109 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30111 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30113 * configure.in (libc_cv_predef_stack_protector): Only consider
30114 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30115 * configure: Regenerated.
30117 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30120 New macro. Use R*LP on int and pointer.
30121 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30122 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30123 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30124 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30126 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30127 [__WORDSIZE_TIME64_COMPAT32] instead of
30128 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30129 (struct utmp): Likewise.
30130 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30131 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30133 (__WORDSIZE_TIME64_COMPAT32): This.
30134 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30135 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30136 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30137 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30138 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30139 (__WORDSIZE_TIME64_COMPAT32): New macro.
30141 2012-05-21 Andreas Jaeger <aj@suse.de>
30143 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30144 only if [SHARED]. Add prototype for __wcschr_ia32.
30146 2012-05-21 Roland McGrath <roland@hack.frob.com>
30148 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30149 of %rbp unmolested in the jmp_buf while mangling the low bits.
30150 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30151 unmolested high bits of %rbp while demangling the low bits.
30152 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30154 2012-05-21 Andreas Jaeger <aj@suse.de>
30156 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30157 * sunrpc/svc_simple.c: Use it for registerrpc.
30158 * sunrpc/xcrypt.c: Use it for passwd2des.
30160 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30162 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30164 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30165 Don't define if [__SYSCALL_WORDSIZE != 32].
30166 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30169 2012-05-21 Bruno Haible <bruno@clisp.org>
30170 Andreas Jaeger <aj@suse.de>
30172 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30173 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30174 inptr and inend for must_buffer_ch.
30175 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30176 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30177 * stdio-common/Makefile (tests): Remove bug15.
30178 (bug15-ENV): Remove macro.
30179 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30182 2012-05-19 Andreas Jaeger <aj@suse.de>
30183 Roland McGrath <roland@hack.frob.com>
30185 * manual/contrib.texi: Completely rewritten. It contains now an
30186 alphabetical list of contributors and their contributions.
30188 2012-05-21 Richard Henderson <rth@twiddle.net>
30190 * misc/getauxval.c (__getauxval): Use unsigned long int.
30191 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30192 (getauxval): Use unsigned long int.
30194 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30196 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30198 2012-05-21 Roland McGrath <roland@hack.frob.com>
30200 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30201 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30202 __alignof__ (long double).
30204 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30208 2012-05-20 Richard Henderson <rth@twiddle.net>
30210 * misc/getauxval.c: New file.
30211 * misc/sys/auxv.h: New file.
30212 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30213 (routines): Add getauxval.
30214 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30215 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30216 * elf/dl-sysdep.c (_dl_auxv): Remove.
30217 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30218 * elf/dl-support.c (_dl_auxv): New variable.
30219 (_dl_aux_init): Initialize it.
30220 * manual/startup.texi (Auxiliary Vector): New node.
30221 * sysdeps/generic/bits/hwcap.h: New file.
30222 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30223 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30224 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30225 * sysdeps/sparc/sysdep.h: ... here. Include it.
30226 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30227 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30239 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30243 2012-05-19 David S. Miller <davem@davemloft.net>
30245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30247 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30250 * math/s_ccosh.c: Include <float.h>
30251 (__ccosh): Avoid internal overflow calculating sinh and cosh
30252 values before multiplying by sin and cos values.
30253 * math/s_ccoshf.c: Likewise.
30254 * math/s_ccoshl.c: Likewise.
30255 * math/s_csin.c: Likewise.
30256 * math/s_csinf.c: Likewise.
30257 * math/s_csinl.c: Likewise.
30258 * math/s_csinh.c: Likewise.
30259 * math/s_csinhf.c: Likewise.
30260 * math/s_csinhl.c: Likewise.
30261 * math/libm-test.inc (ccos_test): Add more tests.
30262 (ccosh_test): Likewise.
30263 (csin_test): Likewise.
30264 (csinh_test): Likewise.
30265 * sysdeps/i386/fpu/libm-test-ulps: Update.
30266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30268 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30270 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30271 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30273 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30275 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30277 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30278 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30279 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30280 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30281 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30282 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30283 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30284 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30285 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30286 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30287 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30288 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30289 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30290 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30291 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30292 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30293 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30294 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30295 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30296 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30297 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30298 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30299 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30300 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30301 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30302 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30303 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30304 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30305 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30306 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30307 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30309 2012-05-18 Andreas Jaeger <aj@suse.de>
30311 * csu/.gitignore: Delete.
30313 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30315 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30316 (timex): Use __syscall_slong_t.
30318 2012-05-18 Andreas Jaeger <aj@suse.de>
30319 Carlos O'Donell <carlos_odonell@mentor.com>
30321 * manual/install.texi (Configuring and compiling): Update
30322 description about files modified in the source directory.
30323 * INSTALL: Regenerated.
30325 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30327 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30328 value. Use "or" to set return value to -1.
30329 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30330 negate return value.
30332 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30334 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30335 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30336 failure if the compiler has Graphite support disabled.
30337 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30339 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30340 (CFLAGS-memmove.c): Likewise.
30341 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30344 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30346 * sysdeps/x86_64/x32/_itoa.h: New file.
30348 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30349 getdents system call only if kernel and user dirents have the
30350 same d_ino and d_off.
30352 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30353 LLONG_MAX != LONG_MAX.
30354 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30355 (_fitoa_word): Likewise.
30357 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30359 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30360 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30361 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30363 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30364 include <bits/wordsize.h>. Check __x86_64__ instead of
30366 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30367 if __x86_64__ is defined. Use anonymous union on fpstate.
30369 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30372 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30374 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30375 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30376 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30377 Refer to _rtld_local_ro instead of _rtld_global_ro.
30378 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30380 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30382 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30384 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30385 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30386 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30388 * sysdeps/powerpc/powerpc32/dl-machine.c
30389 (__elf_machine_runtime_setup) [PROF]: Don't reference
30392 2012-05-18 Andreas Jaeger <aj@suse.de>
30394 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30395 function only available for GCCs before 3.4 since GCC 3.4
30396 introduced a builtin.
30398 (llrintf): Likewise.
30399 (llrint): Likewise.
30406 (nearbyint): Likewise.
30407 (nearbyintf): Likewise.
30411 (floorf): Likewise.
30413 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30415 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30416 on both fields and cast pointer to __syscall_ulong_t.
30418 * bits/types.h (__fsword_t): New type.
30419 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30420 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30422 (__FSWORD_T_TYPE): Likewise.
30423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30424 (__FSWORD_T_TYPE): Likewise.
30425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30426 (__FSWORD_T_TYPE): Likewise.
30427 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30428 (__FSWORD_T_TYPE): Likewise.
30429 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30430 __SWORD_TYPE with __fsword_t.
30431 (statfs64): Likewise.
30433 2012-05-17 David S. Miller <davem@davemloft.net>
30435 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30437 2012-05-17 Andreas Jaeger <aj@suse.de>
30439 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30442 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30444 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30446 2012-05-17 Andreas Jaeger <aj@suse.de>
30448 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30451 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30453 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30455 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30457 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30458 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30460 2012-05-17 Andreas Jaeger <aj@suse.de>
30461 Carlos O'Donell <carlos_odonell@mentor.com>
30464 * sysdeps/x86_64/multiarch/init-arch.h
30465 (bit_YMM_Usable): Rename to...
30466 (bit_AVX_Usable): ... this.
30467 (bit_FMA4_Usable): New macro.
30468 (bit_XMM_state): New macro.
30469 (bit_YMM_state): New macro.
30470 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30471 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30472 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30473 (CPUID_OSXSAVE): New macro.
30474 (CPUID_AVX): New macro.
30475 (CPUID_FMA4): New macro.
30476 (index_YMM_Usable): Rename to...
30477 (index_AVX_Usable): ... this.
30478 (HAS_AVX): Use HAS_ARCH_FEATURE.
30479 (HAS_FMA4): Likewise.
30480 (HAS_YMM_USABLE): Remove.
30481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30482 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30484 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30485 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30486 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30487 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30488 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30490 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30492 * math/libm-test.c: Support platforms without multiple rounding modes.
30493 * math/bug-nextafter.c: Support platforms without FP exceptions.
30494 * math/bug-nexttoward.c: Likewise.
30495 * math/test-fenv.c: Likewise.
30496 * math/test-misc.c: Likewise.
30497 * stdlib/bug-getcontext.c: Likewise.
30499 2012-05-17 Andreas Jaeger <aj@suse.de>
30501 * manual/examples/search.c (critter_cmp): Change signature to
30503 * manual/string.texi (Collation Functions): Likewise.
30505 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30507 * bits/types.h: Fold copyright years.
30508 * bits/typesizes.h: Likewise.
30509 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30510 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30513 * time/time.h: Likewise.
30515 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30518 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30519 in instead of returning them. Return void.
30520 (__libc_mallinfo): Accumulate over all arenas.
30521 (__malloc_stats): Adjust for change in int_mallinfo interface.
30523 2012-05-16 Roland McGrath <roland@hack.frob.com>
30526 * configure.in (NM): Add AC_CHECK_TOOL for it.
30527 (libc_extra_cflags): New substituted variable.
30528 Check for -fstack-protector being used implicitly.
30529 * configure: Regenerated.
30530 * config.make.in (config-extra-cflags): New variable,
30531 gets @libc_extra_cflags@.
30532 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30535 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30536 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30537 * configure: Regenerated.
30538 * config.make.in (CPPUNDEFS): New substituted variable.
30539 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30540 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30541 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30543 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30545 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30546 (mq_attr): Use __syscall_slong_t.
30548 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30550 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30551 Check __x86_64__ instead of __WORDSIZE.
30552 (_STAT_VER_LINUX): Likewise.
30553 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30554 __syscall_ulong_t and __syscall_slong_t.
30555 (stat64): Likewise.
30557 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30561 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30563 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30565 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30567 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30570 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30571 include <bits/wordsize.h>. Check __x86_64__ instead of
30573 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30575 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30577 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30578 include <bits/wordsize.h>. Check __x86_64__ instead of
30580 (user_regs_struct): Use "__extension__ unsigned long long"
30581 instead of "unsigned long" if __x86_64__ is defined.
30582 (user): Likewise. Pad after pointer field if __ILP32__ is
30585 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30587 * configure.in (makeinfo): Require version 4.5 or later. Allow
30589 * configure: Regenerated.
30590 * manual/install.texi (texinfo): Increase version requirement to
30592 * INSTALL: Regenerated.
30594 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30596 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30598 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30600 * sysdeps/x86_64/x32/ffs.c: New file.
30602 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30604 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30605 defined. Use __syscall_ulong_t.
30606 (shminfo): Use __syscall_ulong_t.
30607 (shm_info): Likewise.
30609 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30612 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30614 (msgqnum_t): Use __syscall_ulong_t.
30615 (msglen_t): Likewise.
30616 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30619 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30620 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30622 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30624 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30625 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30627 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30630 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30631 include <bits/wordsize.h>. Check __x86_64__ instead of
30634 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30635 "unsigned long long int" if __x86_64__ is defined.
30636 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30638 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30639 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30640 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30642 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30644 (GET_PC): Cast to uintptr_t first.
30645 (GET_FRAME): Likewise.
30646 (GET_STACK): Likewise.
30648 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30649 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30650 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30651 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30652 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30653 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30654 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30655 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30656 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30657 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30658 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30659 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30660 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30661 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30662 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30663 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30664 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30665 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30666 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30667 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30668 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30669 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30670 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30671 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30672 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30673 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30674 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30675 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30678 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30680 * Makerules (+depfiles): Also collect depfiles from .oS in
30682 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30683 .oS, $(libnldbl-routines)).
30685 * Makerules (native-compile-mkdep-flags): Define.
30686 * sunrpc/Makefile (extra-objs): Add $(addprefix
30687 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30688 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30689 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30690 calling $(make-target-directory).
30692 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30694 * bits/types.h (__snseconds_t): Removed.
30695 * time/time.h (struct timespec): Replace __snseconds_t with
30697 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30698 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30701 (__SNSECONDS_T_TYPE): Likewise.
30702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30703 (__SNSECONDS_T_TYPE): Likewise.
30704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30705 (__SNSECONDS_T_TYPE): Likewise.
30707 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30709 * sysdeps/mach/hurd/bits/typesizes.h
30710 (__SYSCALL_SLONG_TYPE): New macro.
30711 (__SYSCALL_ULONG_TYPE): Likewise.
30713 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30715 * bits/types.h (__syscall_slong_t): New type.
30716 (__syscall_ulong_t): Likewise.
30718 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30719 (__SYSCALL_ULONG_TYPE): Likewise.
30720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30721 (__SYSCALL_SLONG_TYPE): Likewise.
30722 (__SYSCALL_ULONG_TYPE): Likewise.
30723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30724 (__SYSCALL_SLONG_TYPE): Likewise.
30725 (__SYSCALL_ULONG_TYPE): Likewise.
30726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30727 (__SYSCALL_SLONG_TYPE): Likewise.
30728 (__SYSCALL_ULONG_TYPE): Likewise.
30730 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30732 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30733 Add sigaltstack-offsets.sym.
30734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30735 <sigaltstack-offsets.h>.
30736 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30737 longjmp_msg pointer.
30738 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30739 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30741 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30743 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30745 * elf/stackguard-macros.h: Remove file.
30746 * sysdeps/generic/stackguard-macros.h: New file.
30747 * sysdeps/i386/stackguard-macros.h: Likewise.
30748 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30749 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30750 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30751 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30752 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30753 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30754 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30755 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30756 <elf/stackguard-macros.h>.
30759 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30760 __aligned__ in attribute.
30761 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30762 (gregset_t): Likewise.
30764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30766 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30767 * sysdeps/x86_64/64/Implies-after: Here. New file.
30768 * sysdeps/x86_64/x32/Implies-after: New file.
30770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30772 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30773 and access return value for _dl_profile_fixup. Use R10_LP to
30776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30778 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30782 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30783 * sysdeps/x86_64/x32/sysdep.h: New file.
30785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30787 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30788 * sysdeps/x86_64/setjmp.S: Likewise.
30790 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30792 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30793 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30794 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30795 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30796 remove unused global constant.
30798 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30800 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30801 include of <not-cancel.h>.
30803 2012-05-15 Roland McGrath <roland@hack.frob.com>
30805 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30807 2012-05-15 Jeff Law <law@redhat.com>
30808 Andreas Jaeger <aj@suse.de>
30811 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30813 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30814 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30815 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30816 code changing __hst_map_handle.map.
30818 2012-05-15 Roland McGrath <roland@hack.frob.com>
30820 * configure.in (sysnames): Look for Implies-before and Implies-after
30822 * configure: Regenerated.
30824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30826 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30827 8-byte data alignment with LP_SIZE alignment.
30829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30831 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30836 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30838 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30840 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30841 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30842 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30844 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30848 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30849 (stackinfo_sub_sp): Likewise.
30851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30853 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30858 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30863 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30868 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30872 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30873 into R11_LP and load __x86_64_shared_cache_size_half into
30876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30878 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30881 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30885 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30887 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30889 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30890 powerpc32/power7/fpu/s_logb.c via #include.
30891 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30892 powerpc32/power7/fpu/s_logbf.c via #include.
30893 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30894 powerpc32/power7/fpu/s_logbl.c via #include.
30896 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30898 * README.libm: Remove file.
30900 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30902 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30903 count for x32. Use R*_LP and omit operand-size suffix.
30905 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30907 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30908 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30909 * sysdeps/x86_64/x32/shlib-versions: New file.
30911 2012-05-14 Roland McGrath <roland@hack.frob.com>
30913 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30914 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30915 Use _dl_fatal_printf instead.
30917 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30919 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30920 set if not set by the user. Do not allow for being unset.
30921 * sysdeps/unix/sysv/linux/configure: Regenerated.
30923 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30925 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30926 the `q' suffix from lea and replace .quad with ASM_ADDR.
30928 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30930 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30931 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30933 (PTR_DEMANGLE): Likewise.
30935 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30937 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30939 (ASM_ADDR): Likewise.
30940 (RAX_LP): Likewise.
30941 (RBP_LP): Likewise.
30942 (RBX_LP): Likewise.
30943 (RCX_LP): Likewise.
30944 (RDI_LP): Likewise.
30945 (RSI_LP): Likewise.
30946 (RSP_LP): Likewise.
30949 (R10_LP): Likewise.
30950 (R10_LP): Likewise.
30951 (R11_LP): Likewise.
30952 (R12_LP): Likewise.
30953 (R13_LP): Likewise.
30954 (R14_LP): Likewise.
30955 (R15_LP): Likewise.
30957 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30959 * sysdeps/x86_64/x32/dl-machine.h: New file.
30961 2012-05-14 Andreas Jaeger <aj@suse.de>
30963 * manual/Makefile (subdir): Remove export of subdir.
30964 (all): Remove target.
30965 (.PHONY): Remove all from list.
30966 (mkinstalldirs): Remove.
30967 (.PHONY): Remove installdirs from list.
30968 ($(inst_infodir)/libc.info): Use make-target-directory.
30969 (installdirs): Remove.
30970 (subdir_%): Remove.
30971 (glibc-targets): Remove.
30974 ($(objpfx)stubs ../po/manual.pot): Remove.
30975 ($(objpfx)stamp%): Remove.
30976 (make-target-directory): Remove.
30977 (subdir_install): Remove.
30978 (routines): Remove.
30985 * manual/.gitignore: Remove, it's not needed anymore.
30986 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30988 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30990 (texis): Renamed to $(objpfx)texis.
30991 (texis-path): New, contains path to generated files.
30992 (chapters.%): Use texis-path for complete path, add extra argument
30994 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30995 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30996 (summary,texi, stamp-summary): Use complete path of
30997 files. Generate files in build dir.
30998 (dir-add.texi): Build in build dir.
30999 (libm-err.texi,stamp-libm-err): Likewise.
31000 (version.texi, stamp-version): Likewise.
31001 (.%c.texi): Likewise.
31002 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31003 (mostlyclean): Remove target.
31004 (realclean): Remove target.
31005 (generated): Add new variable with contents from mostlyclean and
31006 realclean, remove entries duplicated in common-mostlyclean, add
31007 stamp-libm-err and stamp-version.
31008 (generated-dirs): Add libc directory.
31009 ($(inst_infodir)/libc.info): Install files from build dir.
31011 * manual/install.texi (Configuring and compiling): Adjust since
31012 the info files are not part of the tar ball anymore.
31014 2012-05-14 Andreas Jaeger <aj@suse.de>
31016 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31019 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31022 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31023 to 2.2.0 where earlier.
31024 * sysdeps/unix/sysv/linux/configure: Regenerated.
31025 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31026 Remove conditional code.
31027 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31028 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31029 Remove conditional code.
31030 [!__NR_lchown]: Likewise.
31031 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31032 [__NR_lchown]: Likewise.
31033 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31034 comment referencing __ASSUME_LCHOWN_SYSCALL.
31035 * sysdeps/unix/sysv/linux/i386/sigaction.c
31036 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31037 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31038 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31039 Remove conditional code.
31040 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31041 (__protocol_available): Remove #if 0 code.
31042 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31044 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31045 * sysdeps/unix/sysv/linux/kernel-features.h
31046 (__ASSUME_GETCWD_SYSCALL): Don't define.
31047 (__ASSUME_REALTIME_SIGNALS): Likewise.
31048 (__ASSUME_PREAD_SYSCALL): Likewise.
31049 (__ASSUME_PWRITE_SYSCALL): Likewise.
31050 (__ASSUME_POLL_SYSCALL): Likewise.
31051 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31052 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31054 (__ASSUME_SIOCGIFNAME): Don't define.
31055 (__ASSUME_MSG_NOSIGNAL): Likewise.
31056 (__ASSUME_SENDFILE): Define unconditionally.
31057 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31058 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31060 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31061 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31062 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31063 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31064 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31065 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31066 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31068 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31074 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31080 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31086 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31091 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31092 Remove conditional code.
31093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31094 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31095 Remove conditional code.
31096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31097 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31098 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31099 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31100 Remove conditional code.
31101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31102 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31103 Remove conditional code.
31104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31105 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31106 Remove conditional code.
31107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31108 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31109 Remove conditional code.
31110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31111 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31112 Remove conditional code.
31113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31114 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31115 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31117 * sysdeps/unix/sysv/linux/sigaction.c
31118 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31119 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31120 * sysdeps/unix/sysv/linux/sigpending.c
31121 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31122 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31123 * sysdeps/unix/sysv/linux/sigprocmask.c
31124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31126 * sysdeps/unix/sysv/linux/sigsuspend.c
31127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31129 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31130 (__libc_missing_rt_sigs): Remove.
31131 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31132 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31133 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31134 Remove conditional code.
31135 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31136 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31138 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31139 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31140 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31141 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31143 2012-05-14 Andreas Jaeger <aj@suse.de>
31145 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31146 it's not used in glibc.
31147 (__coshm1): Likewise.
31148 (__acosh1p): Likewise.
31151 * manual/string.texi (Copying and Concatenation): Add missing
31152 variable in concat example.
31153 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31155 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31158 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31159 __builtin_clzl with __builtin_clzll.
31161 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31164 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31167 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31169 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31170 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31171 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31172 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31174 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31176 * NEWS: Update ia64 info.
31178 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31180 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31183 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31185 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31186 * sysdeps/unix/syscalls.list (dup3): Likewise.
31187 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31188 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31190 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31192 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31193 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31195 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31197 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31199 (TLS_IE): Use mov/add instead of movq/addq to load thread
31201 (TLS_GD_PREFIX): New.
31204 2012-05-11 David S. Miller <davem@davemloft.net>
31206 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31207 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31208 (_FPU_SETCW): Likewise.
31210 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31212 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31213 is 32-byte aligned.
31215 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31218 * iconvdata/gb18030.c: Update tables.
31219 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31220 characters specially.
31221 (BODY for TO_LOOP): Add encoding of missing ranges.
31223 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31226 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31227 * sysdeps/mach/hurd/dup3.c: Likewise.
31228 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31229 * sysdeps/powerpc/memmove.c:: Likewise.
31231 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31234 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31236 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31238 * elf/elf.h (R_X86_64_RELATIVE64): New.
31239 (R_X86_64_NUM): Updated.
31240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31241 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31242 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31243 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31244 tst-quad1pie tst-quad2pie
31245 (modules-names): Add tst-quadmod1 tst-quadmod2.
31246 ($(objpfx)tst-quad1): New dependency.
31247 ($(objpfx)tst-quad2): Likewise.
31248 ($(objpfx)tst-quad1pie): Likewise.
31249 ($(objpfx)tst-quad2pie): Likewise.
31250 * sysdeps/x86_64/tst-quad1.c: New file.
31251 * sysdeps/x86_64/tst-quad1pie.c: New file.
31252 * sysdeps/x86_64/tst-quad2.c: Likewise.
31253 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31254 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31255 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31256 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31257 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31259 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31261 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31262 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31263 * streams/stropts.h (t_scalar_t): Define type.
31265 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31266 (_PATH_PRESERVE): Set to "/var/lib".
31267 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31269 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31272 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31273 if __dir_mkfile succeeded.
31275 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31276 checking for _hurd_dtablesize. Unlock it right after having
31277 finished _hurd_dtable allocation.
31279 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31281 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31282 * sysdeps/mach/hurd/configure: Regenerated.
31283 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31284 special-casing to...
31285 * sysdeps/gnu/configure.in: ... this new file.
31286 * sysdeps/unix/sysv/linux/configure: Regenerated.
31287 * sysdeps/gnu/configure: New generated file.
31289 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31290 for Linux: use nsec instead of usec, as well as:
31291 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31292 members of type struct timespec.
31293 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31295 (struct stat64): Likewise.
31296 (_STATBUF_ST_NSEC): New macro.
31297 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31299 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31300 __strtoul_internal rather than strtoul.
31302 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31304 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31307 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31309 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31310 which preserves existing values.
31311 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31313 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31315 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31316 TIMEOUT values. Return EINVAL for NFDS values either negative or
31317 greater than FD_SETSIZE.
31319 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31321 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31322 allocated, call __vm_protect to finish enabling the existing space, and
31323 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31324 allocate the remainder.
31326 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31328 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31329 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31331 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31333 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31334 sysdeps/mach/hurd/readlink.c.
31336 * posix/tst-sysconf.c (posix_options): Only use
31337 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31338 _POSIX_SYNCHRONIZED_IO when they are defined
31339 * sysdeps/mach/hurd/bits/posix_opt.h:
31340 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31341 (_XOPEN_REALTIME): Undefine macro.
31342 (_XOPEN_REALTIME_THREADS): Undefine macro.
31343 (_XOPEN_SHM): Undefine macro.
31344 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31346 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31348 (_POSIX_ASYNC_IO): Undefine macro.
31349 (_POSIX_PRIORITIZED_IO): Undefine macro.
31350 (_POSIX_SPIN_LOCKS): Define macro to -1.
31352 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31353 SA_NODEFER, SA_RESETHAND.
31354 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31355 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31358 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31360 * elf/Makefile (pldd-modules): Define unconditionally.
31362 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31364 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31366 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31368 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31369 Return ENOENT when name is empty.
31370 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31372 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31374 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31376 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31380 Fix mlock in all cases except non-readable pages.
31381 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31382 instead of VM_PROT_ALL as parameter to __vm_wire function.
31384 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31385 (__mkdir): When path is `/', just fail with EEXIST.
31386 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31388 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31390 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31391 <sys/uio.h> (for writev).
31392 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31393 and <sys/param.h> (for MIN).
31395 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31397 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31398 REQUESTED_TIME. Properly set the remaining time and return EINTR
31401 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31403 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31404 Depend on against $(link-rpcuserlibs).
31406 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31408 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31409 (__libc_stack_end): Do not use attribute_relro.
31410 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31411 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31412 to libthread-provided value.
31413 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31419 * bits/libc-lock.h (__libc_once_get): New macro.
31420 * sysdeps/mach/bits/libc-lock.h: Likewise.
31421 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31423 instead of using implementation details.
31425 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31426 * libio/freopen.c: Likewise.
31427 * libio/freopen64.c: Likewise.
31428 * misc/syslog.c: Likewise.
31429 * nscd/connections.c: Likewise.
31430 * nscd/netgroupcache.c: Likewise.
31431 * sysdeps/posix/getcwd.c: Likewise.
31433 2012-05-10 Roland McGrath <roland@hack.frob.com>
31435 * math/w_ilogbf.c: Add #include <limits.h>.
31437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31439 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31440 path instead of returning without unlocking.
31442 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31443 immediate-write ioctls.
31444 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31448 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31449 __builtin_frame_address instead of making assumptions about the
31450 location of the return address relative to DATA. Force early load of
31451 the return address.
31452 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31453 __builtin_frame_address.
31456 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31457 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31458 implement dup3 and do some further code clean-ups.
31459 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31460 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31462 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31464 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31466 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31467 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31468 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31469 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31470 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31473 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31474 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31475 when handler == SIG_ERR, not when handler != SIG_ERR.
31477 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31479 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31480 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31483 accept4 for GNU Hurd.
31484 * include/sys/socket.h (__libc_accept4): New prototype.
31485 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31486 to implement __libc_accept4.
31487 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31489 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31491 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31492 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31493 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31494 signal-defines.sym.
31496 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31498 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31500 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31502 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31503 assertion on O_CLOEXEC flag.
31504 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31505 * hurd/intern-fd.c: Likewise.
31506 * hurd/port2fd.c: Likewise.
31508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31511 * bits/in.h (IPV6_PKTINFO): Define new macro.
31512 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31514 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31519 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31520 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31521 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31522 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31524 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31525 * math/libm-test.inc (logb_test) : Additional logb tests.
31527 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31528 Andreas Jaeger <aj@suse.de>
31530 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31531 * configure: Regenerated.
31532 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31533 * config.make.in (link-obsolete-rpc): New substituted variable.
31534 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31535 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31536 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31537 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31538 so that libc.a contains the symbols.
31539 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31540 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31541 * sunrpc/auth_none.c: Likewise.
31542 * sunrpc/auth_unix.c: Likewise.
31543 * sunrpc/authdes_prot.c: Likewise.
31544 * sunrpc/authuxprot.c: Likewise.
31545 * sunrpc/clnt_gen.c: Likewise.
31546 * sunrpc/clnt_perr.c: Likewise.
31547 * sunrpc/clnt_raw.c: Likewise.
31548 * sunrpc/clnt_simp.c: Likewise.
31549 * sunrpc/clnt_tcp.c: Likewise.
31550 * sunrpc/clnt_udp.c: Likewise.
31551 * sunrpc/clnt_unix.c: Likewise.
31552 * sunrpc/des_crypt.c: Likewise.
31553 * sunrpc/des_soft.c: Likewise.
31554 * sunrpc/get_myaddr.c: Likewise.
31555 * sunrpc/key_call.c: Likewise.
31556 * sunrpc/key_prot.c: Likewise.
31557 * sunrpc/netname.c: Likewise.
31558 * sunrpc/pm_getmaps.c: Likewise.
31559 * sunrpc/pm_getport.c: Likewise.
31560 * sunrpc/pmap_clnt.c: Likewise.
31561 * sunrpc/pmap_prot.c: Likewise.
31562 * sunrpc/pmap_prot2.c: Likewise.
31563 * sunrpc/pmap_rmt.c: Likewise.
31564 * sunrpc/publickey.c: Likewise.
31565 * sunrpc/rpc_cmsg.c: Likewise.
31566 * sunrpc/rpc_common.c: Likewise.
31567 * sunrpc/rpc_dtable.c: Likewise.
31568 * sunrpc/rpc_prot.c: Likewise.
31569 * sunrpc/rpc_thread.c: Likewise.
31570 * sunrpc/rtime.c: Likewise.
31571 * sunrpc/svc.c: Likewise.
31572 * sunrpc/svc_auth.c: Likewise.
31573 * sunrpc/svc_raw.c: Likewise.
31574 * sunrpc/svc_run.c: Likewise.
31575 * sunrpc/svc_tcp.c: Likewise.
31576 * sunrpc/svc_udp.c: Likewise.
31577 * sunrpc/svc_unix.c: Likewise.
31578 * sunrpc/svcauth_des.c: Likewise.
31579 * sunrpc/xcrypt.c: Likewise.
31580 * sunrpc/xdr.c: Likewise.
31581 * sunrpc/xdr_array.c: Likewise.
31582 * sunrpc/xdr_float.c: Likewise.
31583 * sunrpc/xdr_intXX_t.c: Likewise.
31584 * sunrpc/xdr_mem.c: Likewise.
31585 * sunrpc/xdr_rec.c: Likewise.
31586 * sunrpc/xdr_ref.c: Likewise.
31587 * sunrpc/xdr_sizeof.c: Likewise.
31588 * sunrpc/xdr_stdio.c: Likewise.
31590 2012-05-10 Roland McGrath <roland@hack.frob.com>
31592 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31593 change. Update copyright years.
31595 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31597 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31599 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31600 Joseph Myers <joseph@codesourcery.com>
31601 Paul Pluzhnikov <ppluzhnikov@google.com>
31604 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31606 [cross-compiling] (extra-libs): Likewise.
31607 [cross-compiling] (extra-libs-others): Likewise.
31608 [cross-compiling] (librpcsvc-routines): Likewise.
31609 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31610 [cross-compiling] (omit-deps): Likewise.
31611 (sunrpc-CPPFLAGS): New variable.
31612 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31613 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31614 (cross-rpcgen-objs): New variable.
31615 (extra-objs): Append $(cross-rpcgen-objs).
31616 ($(cross-rpcgen-objs)): New rule.
31617 ($(objpfx)cross-rpcgen): Likewise.
31618 (rpcgen-cmd): Define to use $(built-program-file). Expand
31620 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31621 ($(objpfx)x%.stmp): Likewise.
31622 * sunrpc/proto.h [IS_IN_build] (_): Define.
31623 [IS_IN_build] (_libc_intl_domainname): Likewise.
31625 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31627 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31628 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31629 and R_X86_64_TPOFF64.
31631 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31633 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31634 sysdeps/unix/sysv/syscalls.list.
31637 * sysdeps/unix/sysv/syscalls.list: Remove file.
31639 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31642 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31643 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31644 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31645 (__LC_IDENTIFICATION): Make these macros useful in #if
31646 expressions, as required by C99.
31648 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31650 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31651 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31654 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31656 * stdlib/longlong.h: Updated from GCC.
31658 2012-05-09 Andreas Jaeger <aj@suse.de>
31660 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31661 default is first entry.
31662 (run_mode): Set type.
31663 (main): Remove informal message about syslog.
31664 (options): Fix typo.
31667 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31670 (llrintf): Likewise.
31671 (llrint): Likewise.
31674 (nearbyint): Likewise.
31675 (nearbyintf): Likewise.
31677 2012-05-09 Andreas Jaeger <aj@suse.de>
31678 Pedro Alves <palves@redhat.com>
31680 * nscd/nscd.c (run_mode): Use enum.
31681 (main): Cleanup coding style issue.
31683 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31684 Andreas Jaeger <aj@suse.de>
31686 * nscd/nscd.c (go_background): Replaced with...
31687 (run_mode): ... this.
31688 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31689 (options): Add -F --foreground.
31690 (main): Implement it.
31691 (parse_opt): Parse it.
31693 2012-05-09 Andreas Jaeger <aj@suse.de>
31696 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31697 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31698 -Wconversion warning.
31699 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31702 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31704 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31706 (LC_ALL): Use macro-int-constant.
31707 (LC_COLLATE): Likewise.
31708 (LC_CTYPE): Likewise.
31709 (LC_MESSAGES): Likewise.
31710 (LC_MONETARY): Likewise.
31711 (LC_NUMERIC): Likewise.
31712 (LC_TIME): Likewise.
31713 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31714 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31716 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31718 [C99-based standards] (float_t): Expect type.
31719 [C99-based standards] (double_t): Expect type.
31720 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31722 [C99-based standards] (HUGE_VALL): Likewise.
31723 [C99-based standards] (INFINITY): Likewise.
31724 [C99-based standards] (NAN): Likewise.
31725 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31726 [C99-based standards] (FP_NAN): Likewise.
31727 [C99-based standards] (FP_NORMAL): Likewise.
31728 [C99-based standards] (FP_SUBNORMAL): Likewise.
31729 [C99-based standards] (FP_ZERO): Likewise.
31730 [C99-based standards] (FP_FAST_FMA): Use
31731 optional-macro-int-constant. Specify type. Require == 1.
31732 [C99-based standards] (FP_FAST_FMAF): Likewise.
31733 [C99-based standards] (FP_FAST_FMAL): Likewise.
31734 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31735 [C99-based standards] (FP_ILOGBNAN): Likewise.
31736 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31738 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31739 [C99-based standards] (math_errhandling): Specify type.
31740 [ISO99 || ISO11] (signgam): Do not allow.
31741 [non-C99-based standards] (copysignf): Do not allow.
31742 [non-C99-based standards] (exp2f): Likewise.
31743 [non-C99-based standards] (log2f): Likewise.
31744 [non-C99-based standards] (modff): Allow.
31745 [non-C99-based standards] (erff): Do not allow.
31746 [non-C99-based standards] (erfcf): Likewise.
31747 [non-C99-based standards] (gammaf): Likewise.
31748 [non-C99-based standards] (hypotf): Likewise.
31749 [non-C99-based standards] (j0f): Likewise.
31750 [non-C99-based standards] (j1f): Likewise.
31751 [non-C99-based standards] (jnf): Likewise.
31752 [non-C99-based standards] (lgammaf): Likewise.
31753 [non-C99-based standards] (tgammaf): Likewise.
31754 [non-C99-based standards] (y0f): Likewise.
31755 [non-C99-based standards] (y1f): Likewise.
31756 [non-C99-based standards] (ynf): Likewise.
31757 [non-C99-based standards] (isnanf): Likewise.
31758 [non-C99-based standards] (acoshf): Likewise.
31759 [non-C99-based standards] (asinhf): Likewise.
31760 [non-C99-based standards] (atanhf): Likewise.
31761 [non-C99-based standards] (cbrtf): Likewise.
31762 [non-C99-based standards] (expm1f): Likewise.
31763 [non-C99-based standards] (ilogbf): Likewise.
31764 [non-C99-based standards] (log1pf): Likewise.
31765 [non-C99-based standards] (logbf): Likewise.
31766 [non-C99-based standards] (nextafterf): Likewise.
31767 [non-C99-based standards] (remainderf): Likewise.
31768 [non-C99-based standards] (rintf): Likewise.
31769 [non-C99-based standards] (scalbf): Likewise.
31770 [non-C99-based standards] (copysignl): Likewise.
31771 [non-C99-based standards] (exp2l): Likewise.
31772 [non-C99-based standards] (log2l): Likewise.
31773 [non-C99-based standards] (modfl): Allow.
31774 [non-C99-based standards] (erfl): Do not allow.
31775 [non-C99-based standards] (erfcl): Likewise.
31776 [non-C99-based standards] (gammal): Likewise.
31777 [non-C99-based standards] (hypotl): Likewise.
31778 [non-C99-based standards] (j0l): Likewise.
31779 [non-C99-based standards] (j1l): Likewise.
31780 [non-C99-based standards] (jnl): Likewise.
31781 [non-C99-based standards] (lgammal): Likewise.
31782 [non-C99-based standards] (tgammal): Likewise.
31783 [non-C99-based standards] (y0l): Likewise.
31784 [non-C99-based standards] (y1l): Likewise.
31785 [non-C99-based standards] (ynl): Likewise.
31786 [non-C99-based standards] (isnanl): Likewise.
31787 [non-C99-based standards] (acoshl): Likewise.
31788 [non-C99-based standards] (asinhl): Likewise.
31789 [non-C99-based standards] (atanhl): Likewise.
31790 [non-C99-based standards] (cbrtl): Likewise.
31791 [non-C99-based standards] (expm1l): Likewise.
31792 [non-C99-based standards] (ilogbl): Likewise.
31793 [non-C99-based standards] (log1pl): Likewise.
31794 [non-C99-based standards] (logbl): Likewise.
31795 [non-C99-based standards] (nextafterl): Likewise.
31796 [non-C99-based standards] (remainderl): Likewise.
31797 [non-C99-based standards] (rintl): Likewise.
31798 [non-C99-based standards] (scalbl): Likewise.
31799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31800 [non-C99-based standards] (FP_*): Do not allow.
31801 [C99-based standards] (FP_*): Change to
31802 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31803 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31805 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31806 (SIG_ERR): Likewise.
31807 [X/Open-based standards] (SIG_HOLD): Likewise.
31808 (SIG_IGN): Likewise.
31809 (SIGABRT): Use macro-int-constant. Specify type. Require
31811 (SIGFPE): Likewise.
31812 (SIGILL): Likewise.
31813 (SIGINT): Likewise.
31814 (SIGSEGV): Likewise.
31815 (SIGTER): Likewise.
31816 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31817 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31818 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31819 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31820 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31821 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31822 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31823 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31824 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31825 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31826 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31827 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31828 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31829 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31830 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31831 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31832 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31833 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31834 [X/Open-based standards] (SIGTRAP): Likewise.
31835 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31836 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31837 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31838 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31839 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31842 2012-05-08 Ian Wienand <ianw@vmware.com>
31845 * time/tzset.c (__tzset_parse_tz): Update default rules for
31846 daylight time changes in the Energy Policy Act of 2005.
31848 2012-05-09 Andreas Jaeger <aj@suse.de>
31851 * elf/ldconfig.c (parse_conf): Change string to make clear that
31852 ldconfig only issued a warning if ld.so.conf does not exist.
31854 2012-05-08 David S. Miller <davem@davemloft.net>
31856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31857 movxtod instead of popping the value on the stack.
31859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31861 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31863 * config.h.in: Add HAVE_ARM_PCS_VFP.
31865 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31868 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31869 checking but the checks are disabled for any reason.
31871 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31873 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31874 and ELF64_R_TYPE with ELFW(R_TYPE).
31876 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31878 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31879 (ulimit): Likewise.
31881 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31882 (settimeofday): Likewise.
31884 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31886 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31887 a struct th_u2 inside the union, and move tu_block/tu_code into
31888 a new th_u3 union of tu_block/tu_code inside of that. Move
31889 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31890 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31891 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31892 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31893 (th_stuff): Change to th_u1.tu_stuff.
31895 (th_msg): Change to th_u1.th_u2.tu_data.
31897 2012-05-07 David S. Miller <davem@davemloft.net>
31899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31902 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31903 (SETUP_PIC_REG): Use it.
31904 (SETUP_PIC_REG_LEAF): Use it.
31906 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31910 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31912 (EXPL_FINITE): Likewise.
31913 (FLDLOG): Likewise.
31914 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31915 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31917 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31919 (EXPL_FINITE): Likewise.
31920 (FLDLOG): Likewise.
31921 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31922 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31924 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31925 test of -max_value argument for long double.
31926 * sysdeps/i386/fpu/libm-test-ulps: Update.
31927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31929 2012-05-06 David S. Miller <davem@davemloft.net>
31931 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31932 quad soft-float symbols whose references which are compiler
31934 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31936 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31940 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31942 (EXPL_FINITE): Likewise.
31943 (FLDLOG): Likewise.
31946 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31947 Adjust comments for base varying.
31948 (__expl_finite): Change alias to EXPL_FINITE.
31949 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31951 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31952 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31953 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31954 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31955 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31957 (EXPL_FINITE): Likewise.
31958 (FLDLOG): Likewise.
31961 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31962 Adjust comments for base varying.
31963 (__expl_finite): Change alias to EXPL_FINITE.
31964 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31969 * math/libm-test.inc (check_float_internal): Correct ulp
31970 calculation for subnormal expected results.
31972 2012-05-06 Andreas Jaeger <aj@suse.de>
31974 * Makeconfig (+math-flags): New, set to -frounding-math.
31975 (+cflags): Add +math-flags so that all of glibc gets compiled with
31978 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31980 2012-05-05 Joseph Myers <joseph@codesourcery.com>
31982 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31988 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31989 (__ieee754_expl): Allow for and saturate large arguments.
31990 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31991 (u_threshold): Likewise.
31992 (__exp): Call __ieee754_exp before checking for overflow and
31994 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31995 (u_threshold): Likewise.
31996 (__expf): Call __ieee754_expf before checking for overflow and
31998 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31999 (u_threshold): Likewise.
32000 (__expl): Call __ieee754_expl before checking for overflow and
32002 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32003 (__ieee754_expl): Allow for and saturate large arguments.
32004 * math/libm-test.inc (exp_test): Add another test. Do not allow
32005 missing overflow exception on overflow.
32006 (expm1_test): Do not allow missing overflow exception on overflow.
32008 * sysdeps/i386/fpu/e_expl.c: Move to ...
32009 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32010 rather than using inline asm.
32011 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32012 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32013 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32015 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32018 (signal): Likewise.
32022 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32024 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32025 sysdeps/unix/common/syscalls.list.
32026 (fchmod): Likewise.
32027 (fchown): Likewise.
32028 (ftruncate): Likewise.
32029 (getrusage): Likewise.
32030 (gettimeofday): Likewise.
32031 (setpgid): Likewise.
32032 (setregid): Likewise.
32033 (setreuid): Likewise.
32034 (sigaction): Likewise.
32035 (truncate): Likewise.
32036 (vhangup): Likewise.
32037 * sysdeps/unix/common/syscalls.list: Remove file.
32038 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32039 * sysdeps/unix/sysv/linux/Implies: Likewise.
32041 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32043 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32045 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32049 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32052 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32055 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32058 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32061 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32064 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32067 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32071 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32075 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32078 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32082 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32086 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32088 * sysdeps/unix/common/bits/dirent.h: Remove file.
32089 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32091 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32092 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32093 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32094 * sysdeps/unix/bsd/isatty.c: Likewise.
32095 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32096 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32097 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32099 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32102 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32103 long double comparison inaccuracies.
32104 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32107 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32109 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32110 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32112 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32116 nonzero digits before rounding a hex value.
32117 * stdlib/tst-strtod.c (tests): Add another test.
32119 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32121 * sysdeps/s390/fpu/libm-test-ulps: Update.
32123 2012-05-03 Andreas Jaeger <aj@suse.de>
32125 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32126 does not get optimized out.
32127 (malloc_opt_barrier): New.
32129 2012-05-03 Andreas Jaeger <aj@suse.de>
32130 Roland McGrath <roland@hack.frob.com>
32132 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32133 intermediate file deletion.
32134 (generated): Add .symlist files.
32136 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32139 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32140 Redirect under this condition.
32141 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32142 [__USE_GNU] (__dprintf_chk): Not under this condition.
32143 [__USE_GNU] (__vdprintf_chk): Likewise.
32144 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32145 under this condition.
32146 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32147 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32148 [__USE_XOPEN2K8] (vdprintf): Likewise.
32149 [__USE_GNU] (__dprintf_chk): Not under this condition.
32150 [__USE_GNU] (__vdprintf_chk): Likewise.
32151 [__USE_GNU] (dprintf): Likewise.
32152 [__USE_GNU] (vdprintf): Likewise.
32154 2012-05-03 Roland McGrath <roland@hack.frob.com>
32156 * elf/Makefile (common-generated): Set this instead of generated for
32157 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32158 $(all-built-dso)-derived lists.
32160 2012-05-03 Andreas Jaeger <aj@suse.de>
32162 * sysdeps/i386/fpu/libm-test-ulps: Update.
32165 * FAQ.in: Likewise.
32166 * scripts/gen-FAQ.pl: Likewise.
32167 * manual/install.texi (Installation): Point to online location of
32169 * Makefile (files-for-dist): Remove FAQ.
32172 2012-05-02 Allan McRae <allan@archlinux.org>
32174 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32175 (LDFLAGS-reldepmod5.so): Likewise.
32176 (LDFLAGS-reldep6mod1.so): Likewise.
32177 (LDFLAGS-reldep6mod4.so): Likewise.
32178 (LDFLAGS-reldep8mod3.so): Likewise.
32179 (LDFLAGS-unload4mod1.so): Likewise.
32180 (LDFLAGS-unload4mod2.so): Likewise.
32181 (LDFLAGS-tst-initorder): Likewise.
32182 (LDFLAGS-tst-initordera2.so): Likewise.
32183 (LDFLAGS-tst-initordera3.so): Likewise.
32184 (LDFLAGS-tst-initordera4.so): Likewise.
32185 (LDFLAGS-tst-initorderb2.so): Likewise.
32186 (LDFLAGS-noload): Likewise.
32187 (LDFLAGS-next): Likewise.
32188 (LDFLAGS-order2mod1.so): Likewise.
32189 (LDFLAGS-order2mod2.so): Likewise.
32190 (LDFLAGS-tst-initorder2): Likewise.
32191 (LDFLAGS-tst-initorder2a.so): Likewise.
32192 (LDFLAGS-tst-initorder2b.so): Likewise.
32193 (LDFLAGS-tst-initorder2c.so): Likewise.
32194 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32196 2012-05-02 David S. Miller <davem@davemloft.net>
32198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32200 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32203 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32205 2012-05-02 Andreas Jaeger <aj@suse.de>
32207 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32208 since we manipulate rounding mode.
32209 (CPPFLAGS-test-idouble.c): Likewise.
32210 (CPPFLAGS-test-ifloat.c): Likewise.
32211 (CFLAGS-test-ldouble.c): Likewise.
32212 (CFLAGS-test-double.c): Likewise.
32213 (CFLAGS-test-float.c): Likewise.
32214 (CFLAGS-test-misc.c): Likewise.
32215 (CFLAGS-test-test-fenv.c): Likewise.
32217 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32221 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32222 comparisons to determine direction to adjust input.
32224 2012-05-01 Roland McGrath <roland@hack.frob.com>
32226 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32227 output to the target.
32229 * scripts/localplt.awk: New file.
32230 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32231 (check-localplt-CFLAGS): Variable removed.
32232 ($(all-built-dso:=.jmprel)): New static pattern rule.
32233 (generated): Add those targets.
32234 (localplt-built-dso): New variable.
32235 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32237 * elf/check-localplt.c: File removed.
32239 * scripts/check-execstack.awk: New file.
32240 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32241 (check-execstack-CFLAGS): Variable removed.
32242 ($(objpfx)check-execstack.h): Target removed.
32243 ($(objpfx)execstack-default): New target.
32244 (generated): Add that instead of check-execstack.h.
32245 ($(all-built-dso:=.phdr)): New static pattern rule.
32246 (generated): Add those targets.
32247 * elf/check-execstack.c: File removed.
32249 * scripts/check-textrel.awk: New file.
32250 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32251 (check-textrel-CFLAGS): Variable removed.
32252 (all-built-dso): Use := to define.o
32253 ($(all-built-dso:=.dyn)): New static pattern rule.
32254 (generated): Add those targets.
32255 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32256 * config.make.in (READELF): New substituted variable.
32257 * elf/check-textrel.c: File removed.
32259 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32261 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32263 * conform/data/ctype.h-data [C99-based standards] (isblank):
32265 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32266 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32268 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32269 Specify type. Require positive value.
32270 (EILSEQ): Likewise.
32271 (ERANGE): Likewise.
32272 [ISO || POSIX] (EILSEQ): Do not expect.
32273 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32274 Specify type. Require positive value.
32275 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32276 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32277 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32278 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32279 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32280 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32281 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32282 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32283 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32284 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32285 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32286 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32287 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32288 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32289 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32290 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32291 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32292 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32293 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32294 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32295 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32296 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32297 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32298 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32299 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32300 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32301 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32302 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32303 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32304 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32305 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32306 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32307 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32308 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32309 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32310 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32311 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32312 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32313 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32314 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32315 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32316 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32317 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32318 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32319 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32320 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32321 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32322 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32323 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32324 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32325 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32326 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32327 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32328 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32329 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32330 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32331 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32332 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32333 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32334 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32335 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32336 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32337 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32338 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32339 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32340 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32341 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32342 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32343 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32344 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32345 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32346 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32347 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32348 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32349 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32350 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32351 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32353 (FLT_ROUNDS): Expect as macro, not constant.
32354 (FLT_MANT_DIG): Use macro-int-constant.
32355 (DBL_MANT_DIG): Likewise.
32356 (LDBL_MANT_DIG): Likewise.
32357 (FLT_DIG): Likewise.
32358 (DBL_DIG): Likewise.
32359 (LDBL_DIG): Likewise.
32360 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32361 (DBL_MIN_EXP): Likewise.
32362 (LDBL_MIN_EXP): Likewise.
32363 (FLT_MAX_EXP): Use macro-int-constant.
32364 (DBL_MAX_EXP): Likewise.
32365 (LDBL_MAX_EXP): Likewise.
32366 (FLT_MAX_10_EXP): Likewise.
32367 (DBL_MAX_10_EXP): Likewise.
32368 (LDBL_MAX_10_EXP): Likewise.
32369 (FLT_MAX): Use macro-constant.
32370 (DBL_MAX): Likewise.
32371 (LDBL_MAX): Likewise.
32372 (FLT_EPSILON): Use macro-constant. Give upper bound.
32373 (DBL_EPSILON): Likewise.
32374 (LDBL_EPSILON): Likewise.
32375 (FLT_MIN): Likewise.
32376 (DBL_MIN): Likewise.
32377 (LDBL_MIN): Likewise.
32378 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32379 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32380 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32381 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32382 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32383 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32384 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32385 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32386 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32387 [ISO11] (FLT_TRUE_MIN): Likewise.
32388 [ISO11] (LDBL_TRUE_MIN): Likewise.
32389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32390 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32391 (SCHAR_MIN): Use macro-int-constant. Specify type.
32392 (SCHAR_MAX): Likewise.
32393 (UCHAR_MAX): Likewise.
32394 (CHAR_MIN): Likewise.
32395 (CHAR_MAX): Likewise.
32396 (MB_LEN_MAX): Use macro-int-constant.
32397 (SHRT_MIN): Use macro-int-constant. Specify type.
32398 (SHRT_MAX): Likewise.
32399 (USHRT_MAX): Likewise.
32400 (INT_MAX): Likewise.
32401 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32403 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32405 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32407 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32408 bound negative. Suffix upper bound with "L".
32409 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32411 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32413 [C99-based standards] (LLONG_MAX): Likewise.
32414 [C99-based standards] (ULLONG_MAX): Likewise.
32415 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32417 [ISO11] (max_align_t): Require type.
32418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32420 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32421 from $CFLAGS, without defining away __attribute__ calls.
32422 (checknamespace): Use $CFLAGS_namespace.
32424 * conform/conformtest.pl (@keywords): Only include C99 keywords
32425 for standards based on C99 or C11.
32427 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32429 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32432 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32433 usability of symbols in #if.
32435 * conform/conformtest.pl: If macro or constant types start
32436 "promoted:", expect the symbol to be of the following type
32437 promoted by the integer promotions.
32439 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32440 in one place. Also handle "macro-constant".
32442 * conform/conformtest.pl: Only accept expected macro values with
32443 "==". Parse all "macro" lines in one place.
32444 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32446 * conform/conformtest.pl: Handle braced types on "constant" lines
32447 instead of handling "typed-constant".
32448 * conform/data/signal.h-data: Use "constant" instead of
32451 * conform/conformtest.pl: Handle "optional-" at start of lines in
32452 one place rather than duplicating several cases. Handle each
32453 format of "macro" line with initial "optional-".
32455 * conform/conformtest.pl: Only accept expected constant or
32456 optional-constant values with "==". Parse all "constant" lines in
32457 one place. Parse all "optional-constant" lines in one place.
32458 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32459 * conform/data/fmtmsg.h-data: Likewise.
32460 * conform/data/netinet/in.h-data: Likewise.
32461 * conform/data/tar.h-data: Likewise.
32462 * conform/data/limits.h-data: Use "==" form on "constant" and
32463 "optional-constant" lines.
32465 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32466 Use -std=c99 for XOPEN2K.
32467 (@knownproblems): Remove.
32468 (newtoken): Don't check %isknown.
32470 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32471 Do not expect macro.
32472 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32473 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32474 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32475 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32476 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32477 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32478 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32479 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32480 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32481 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32482 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32483 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32484 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32485 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32486 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32487 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32488 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32489 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32490 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32491 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32492 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32493 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32494 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32495 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32496 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32497 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32498 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32499 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32500 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32501 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32502 [XPG3] (acosh): Likewise.
32503 [XPG3] (asinh): Likewise.
32504 [XPG3] (atanh): Likewise.
32505 [XPG3] (cbrt): Likewise.
32506 [XPG3] (expm1): Likewise.
32507 [XPG3] (ilogb): Likewise.
32508 [XPG3] (log1p): Likewise.
32509 [XPG3] (logb): Likewise.
32510 [XPG3] (nextafter): Likewise.
32511 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32512 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32513 [XPG3] (remainder): Likewise.
32514 [XPG3] (rint): Likewise.
32515 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32516 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32517 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32518 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32519 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32520 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32521 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32522 [UNIX98 || XOPEN2K] (scalb): Expect.
32523 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32524 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32525 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32526 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32527 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32528 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32529 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32530 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32531 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32532 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32533 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32534 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32535 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32536 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32537 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32538 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32539 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32540 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32541 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32542 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32543 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32544 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32545 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32546 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32547 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32548 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32549 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32550 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32551 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32552 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32553 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32554 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32555 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32556 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32557 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32558 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32559 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32560 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32561 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32562 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32563 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32564 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32565 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32566 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32567 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32568 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32569 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32570 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32571 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32572 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32573 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32574 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32575 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32576 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32577 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32578 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32579 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32580 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32581 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32582 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32583 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32584 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32585 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32586 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32587 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32588 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32589 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32590 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32591 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32592 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32593 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32594 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32595 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32596 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32597 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32598 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32599 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32600 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32601 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32602 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32603 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32604 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32605 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32606 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32607 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32608 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32609 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32610 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32611 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32612 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32613 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32614 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32615 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32616 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32617 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32618 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32619 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32620 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32621 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32622 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32623 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32624 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32625 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32626 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32627 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32628 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32629 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32630 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32631 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32632 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32633 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32634 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32635 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32636 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32637 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32638 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32639 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32640 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32641 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32642 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32647 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32648 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32650 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32651 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32652 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32653 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32661 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32662 _XOPEN_SOURCE_EXTENDED for XPG4.
32664 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32666 * Makeconfig (localtime): Remove variable.
32667 (inst_localtime-file): Likewise.
32669 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32690 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32694 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32695 comparisons to determine direction to adjust input.
32696 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32697 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32698 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32702 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32704 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32705 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32707 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32709 * math/libm-test.inc (nexttoward_test): Add more tests.
32711 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32714 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32715 in version GLIBC_2.1, not GLIBC_2.0.
32716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32719 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32722 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32724 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32725 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32726 * math/libm-test.inc (acos_test): Add more tests.
32727 (asin_test): Likewise.
32728 * sysdeps/i386/fpu/libm-test-ulps: Update.
32729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32732 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32734 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32735 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32736 * math/libm-test.inc (acos_test_tonearest): New function.
32737 (acos_test_towardzero): Likewise.
32738 (acos_test_downward): Likewise.
32739 (acos_test_upward): Likewise.
32740 (asin_test_tonearest): Likewise.
32741 (asin_test_towardzero): Likewise.
32742 (asin_test_downward): Likewise.
32743 (asin_test_upward): Likewise.
32744 (main): Call the new functions.
32745 * sysdeps/i386/fpu/libm-test-ulps: Update.
32746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32750 * math/e_exp10.c: Include <float.h>.
32751 (__ieee754_exp10): Handle underflow here rather than multiplying
32752 large negative argument by M_LN10.
32753 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32755 * math/e_exp10l.c: Include <float.h>.
32756 (__ieee754_exp10l): Handle underflow here rather than multiplying
32757 large negative argument by M_LN10l.
32758 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32759 spurious overflow exception on underflow.
32761 2012-04-29 Marek Polacek <polacek@redhat.com>
32763 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32764 (__fortify_function): New macro.
32765 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32766 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32767 __extern_always_inline.
32768 * libio/bits/stdio2.h: Likewise.
32769 * libio/bits/stdio.h: Likewise.
32770 * string/string.h: Likewise.
32771 * string/bits/string3.h: Likewise.
32772 * include/stdio.h: Likewise.
32773 * stdlib/bits/stdlib.h: Likewise.
32774 * stdlib/stdlib.h: Likewise.
32775 * rt/bits/mqueue2.h: Likewise.
32776 * rt/mqueue.h: Likewise.
32777 * posix/bits/unistd.h: Likewise.
32778 * posix/unistd.h: Likewise.
32779 * io/bits/poll2.h: Likewise.
32780 * io/bits/fcntl2.h: Likewise.
32781 * io/fcntl.h: Likewise.
32782 * io/sys/poll.h: Likewise.
32783 * misc/bits/syslog.h: Likewise.
32784 * misc/bits/syslog-ldbl.h: Likewise.
32785 * misc/sys/syslog.h: Likewise.
32786 * socket/bits/socket2.h: Likewise.
32787 * socket/sys/socket.h: Likewise.
32788 * debug/tst-chk1.c: Likewise.
32789 * wcsmbs/bits/wchar2.h: Likewise.
32790 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32791 * wcsmbs/wchar.h: Likewise.
32793 2012-04-29 Andreas Jaeger <aj@suse.de>
32795 * Makerules (tests): Remove enable-check-abi protection.
32796 (check-abi-warn): Remove.
32797 (check-abi-%): Remove check-abi-warn usage.
32799 * configure.in: Remove check-abi configure option.
32800 * configure: Regenerated.
32801 * config.make.in (enable-check-abi): Remove.
32803 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32806 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32807 double functions to double *_finite functions.
32810 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32811 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32813 * stdio-common/Makefile (tests): Add tst-sprintf3.
32814 * stdio-common/tst-sprintf3.c: New file.
32816 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32817 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32819 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32821 * conform/conformtest.pl: Remove duplicate typed-constant
32824 2012-04-28 David S. Miller <davem@davemloft.net>
32826 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32827 (check-abi-%): Remove AWK script prerequisite and explicit
32829 (check-abi): Rewrite to just diff the symlist with the abilist.
32830 (config-tls, config-abi-config): Delete, no longer used.
32831 (update-abi-%): Remove AWK script and explicit abilist directory.
32832 (update-abi): Rewrite to simply compare and conditionally copy the
32833 symlist and the sysdep abilist file. Remove update-abi-config
32835 * abilist/ld.abilist: Remove.
32836 * abilist/libBrokenLocale.abilist: Remove.
32837 * abilist/libanl.abilist: Remove.
32838 * abilist/libcrypt.abilist: Remove.
32839 * abilist/libdl.abilist: Remove.
32840 * abilist/librt.abilist: Remove.
32841 * abilist/libthread_db.abilist: Remove.
32842 * abilist/libutil.abilist: Remove.
32843 * scripts/extract-abilist.awk: Remove.
32844 * scripts/merge-abilist.awk: Remove.
32845 * sysdeps/generic/libcidn.abilist: New file.
32846 * sysdeps/generic/libnss_compat.abilist: New file.
32847 * sysdeps/generic/libnss_db.abilist: New file.
32848 * sysdeps/generic/libnss_dns.abilist: New file.
32849 * sysdeps/generic/libnss_files.abilist: New file.
32850 * sysdeps/generic/libnss_hesiod.abilist: New file.
32851 * sysdeps/generic/libnss_nis.abilist: New file.
32852 * sysdeps/generic/libnss_nisplus.abilist: New file.
32853 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32854 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32855 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32857 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32858 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32859 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32860 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32861 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32862 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32863 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32864 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32865 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32867 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32868 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32869 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32870 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32872 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32873 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32874 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32875 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32876 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32877 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32879 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32880 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32881 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32883 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32986 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32987 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32988 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32991 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32992 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32993 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32994 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32995 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32996 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32997 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32998 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32999 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33051 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33053 * conform/conformtest.pl: Fix typo in handling typed-constant from
33056 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33058 * README: Cut down references to pre-2.6 Linux kernels and
33059 Linuxthreads. Update lists of configurations in libc and ports
33060 and sort alphabetically. Say "or newer" with Linux kernel version
33063 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33065 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33068 * math/libm-test.inc (logb_test_downward): New test to expose
33069 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33072 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33075 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33077 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33078 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33080 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33082 * sysdeps/unix/i386/brk.S: Remove file.
33083 * sysdeps/unix/i386/dl-brk.S: Likewise.
33084 * sysdeps/unix/i386/pipe.S: Likewise.
33085 * sysdeps/unix/i386/sigreturn.S: Likewise.
33086 * sysdeps/unix/i386/syscall.S: Likewise.
33087 * sysdeps/unix/i386/vfork.S: Likewise.
33088 * sysdeps/unix/i386/wait.S: Likewise.
33090 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33091 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33093 * configure.in (arm*-none*): Do not allow without
33094 --enable-hacker-mode.
33095 (netbsd*): Remove case setting base_os.
33096 (386bsd*): Likewise.
33097 (freebsd*): Likewise.
33100 (sunos*): Likewise.
33101 (ultrix*): Likewise.
33102 (newsos*): Likewise.
33103 (dynix*): Likewise.
33109 (minix*): Likewise.
33110 (irix4*): Likewise.
33111 (irix6*): Likewise.
33112 (solaris[2-9]*): Likewise.
33114 * configure: Regenerated.
33116 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33119 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33120 overflow or cancellation in calculating denominator.
33121 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33122 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33123 down expression to avoid unexpected rounding in newer GCCs.
33124 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33126 2012-04-26 David S. Miller <davem@davemloft.net>
33128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33129 long-double compat symbols.
33130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33144 2012-04-25 David S. Miller <davem@davemloft.net>
33146 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33147 HWCAP_* values only after the memory barriers have been defined.
33148 (atomic_full_barrier): Define.
33149 (atomic_read_barrier): Define.
33150 (atomic_write_barrier): Define.
33152 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33154 * shlib-versions: Add libgcc_s version information.
33155 * sysdeps/generic/libgcc_s.h: Remove.
33156 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33158 * sysdeps/gnu/unwind-resume.c: Likewise.
33159 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33161 2012-04-25 David S. Miller <davem@davemloft.net>
33163 * sysdeps/unix/sparc/brk.S: Delete.
33164 * sysdeps/unix/sparc/dl-brk.S: Delete.
33165 * sysdeps/unix/sparc/pipe.S: Delete.
33166 * sysdeps/unix/sparc/sysdep.S: Delete.
33167 * sysdeps/unix/sparc/sysdep.h: Delete.
33168 * sysdeps/unix/sparc/vfork.S: Delete.
33169 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33170 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33171 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33172 (ret_ERRVAL, r0, r1, MOVE): Define.
33173 (JUMPTARGET): Remove.
33174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33175 sysdeps/unix/sparc/sysdep.h
33176 (ENTRY, END): Remove.
33177 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33179 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33181 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33182 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33185 * timezone/README: Update upstream location and email address for
33187 * timezone/zdump.c: Update from tzcode 2012b.
33188 * timezone/zic.c: Likewise.
33190 * configure.in (libc_cv_as_needed): Remove test.
33191 * configure: Regenerated.
33192 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33193 conditional definition.
33194 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33195 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33196 * config.make.in (have-as-needed): Remove variable.
33198 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33199 Paul Pluzhnikov <ppluzhnikov@google.com>
33201 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33204 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33206 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33207 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33208 * sysdeps/sh/strlen.S: Likewise.
33210 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33212 * sysdeps/unix/fork.S: Remove file.
33213 * sysdeps/unix/i386/fork.S: Likewise.
33214 * sysdeps/unix/sparc/fork.S: Likewise.
33216 * sysdeps/unix/system.c: Remove file.
33217 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33219 * sysdeps/unix/getegid.S: Remove file.
33220 * sysdeps/unix/geteuid.S: Likewise.
33222 2012-04-24 Roland McGrath <roland@hack.frob.com>
33224 * scripts/check-localplt.awk: New file.
33225 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33227 * scripts/data/localplt-generic.data: Add a comment.
33229 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33230 NODE when __dir_mkfile failed.
33231 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33232 Reported by Ludovic Courtès <ludo@gnu.org>.
33234 2012-04-24 Andreas Jaeger <aj@suse.de>
33236 * Makerules (common-clean): Also remove gen-as-const-headers
33239 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33241 * Makerules (native-compile): Do not change working directory for
33242 build. Use $(OUTPUT_OPTION) in command.
33243 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33245 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33248 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33249 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33250 * math/libm-test.inc (floor_test): Add more tests.
33251 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33253 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33255 * sysdeps/unix/getdents.c: Remove file.
33256 * sysdeps/unix/sysv/getdents.c: Likewise.
33257 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33259 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33260 sysdeps/unix/mman/syscalls.list.
33262 (mprotect): Likewise.
33264 (munmap): Likewise.
33265 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33266 * sysdeps/unix/mman/syscalls.list: Remove.
33267 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33269 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33270 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33271 * configure: Regenerated.
33272 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33273 $(libgcc_s_suffix).
33274 * config.make.in (libgcc_s_suffix): Remove variable.
33276 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33278 * sysdeps/unix/sysv/gethostname.c: Move to ...
33279 * sysdeps/posix/gethostname.c: ... here.
33281 * sysdeps/unix/execve.S: Remove file.
33283 * sysdeps/unix/_exit.S: Remove file.
33285 2012-04-23 Andreas Jaeger <aj@suse.de>
33288 * manual/Makefile: Remove make dist support, there's no
33289 need for a stand-alone documentation tar ball.
33290 (TEXI2DVI): Define always, it's not in Makeconfig.
33293 (edition): Removed.
33294 (glibc-doc-$(edition).tar): Removed
33298 (ETAGS): Remove, it's in Makeconfig.
33299 (move-if-change): Remove, it's in Makeconfig.
33301 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33304 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33305 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33306 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33307 (strtod_l, strtof_l, strtold_l): Remove __wur.
33308 It is not necessarily an error to ignore strtol's return value.
33309 One can reliably look at the stored endptr to decide whether
33310 the number had valid syntax.
33312 2012-04-21 Andreas Jaeger <aj@suse.de>
33315 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33317 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33319 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33320 * sysdeps/unix/sysv/Versions: Remove file.
33322 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33327 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33330 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33331 version from __vm86.
33333 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33335 * sysdeps/unix/common/lxstat.c: Remove file.
33336 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33338 * sysdeps/unix/sysv/Makefile: Remove file.
33340 * sysdeps/unix/sysv/direct.h: Remove file.
33342 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33343 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33344 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33345 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33346 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33347 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33348 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33350 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33352 * sysdeps/unix/xmknod.c: Remove file.
33353 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33355 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33357 * sysdeps/unix/sysv/i386/time.S: Remove file.
33359 * sysdeps/unix/fxstat.c: Remove file.
33360 * sysdeps/unix/xstat.c: Likewise.
33361 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33363 * sysdeps/unix/sysv/sigaction.c: Remove file.
33365 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33366 (sysdep_headers): Remove variable.
33367 [termio.h not in sysdep_headers] (generated): Likewise.
33368 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33369 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33370 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33371 * sysdeps/unix/sysv/tcflow.c: Likewise.
33372 * sysdeps/unix/sysv/tcflush.c: Likewise.
33373 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33374 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33375 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33376 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33377 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33379 * sysdeps/unix/siglist.c: Remove file.
33381 * sysdeps/unix/getppid.S: Remove file.
33383 * sysdeps/unix/mkdir.c: Remove file.
33384 * sysdeps/unix/rmdir.c: Likewise.
33386 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33388 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33390 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33391 errlist-compat value.
33393 2012-04-18 David S. Miller <davem@davemloft.net>
33395 * sysdeps/generic/memcopy.h (reg_char): Delete.
33396 * debug/strcat_chk.c: Use char, not reg_char.
33397 * debug/strcpy_chk.c: Likewise.
33398 * debug/strncat_chk.c: Likewise.
33399 * debug/strncpy_chk.c: Likewise.
33400 * string/memchr.c: Likewise.
33401 * string/memrchr.c: Likewise.
33402 * string/rawmemchr.c: Likewise.
33403 * string/strcat.c: Likewise.
33404 * string/strchr.c: Likewise.
33405 * string/strchrnul.c: Likewise.
33406 * string/strcmp.c: Likewise.
33407 * string/strcpy.c: Likewise.
33408 * string/strncat.c: Likewise.
33409 * string/strncmp.c: Likewise.
33410 * string/strncpy.c: Likewise.
33412 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33414 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33415 __builtin_memcopy is called when src and dest ranges are known to not
33418 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33420 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33421 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33422 fwd_align_merge macro call.
33423 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33424 bwd_align_merge macro call.
33425 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33427 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33429 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33430 bwd_align_merge macros.
33431 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33432 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33433 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33435 2012-04-18 David S. Miller <davem@davemloft.net>
33437 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33439 2012-04-18 Andreas Jaeger <aj@suse.de>
33442 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33443 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33444 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33446 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33447 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33448 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33450 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33451 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33452 Adjust for changed ldbl-128 files.
33454 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33455 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33456 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33458 2012-04-17 David S. Miller <davem@davemloft.net>
33460 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33462 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33464 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33465 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33466 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33467 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33468 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33469 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33471 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33474 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33475 * math/libm-test.inc: Add ilogb errno and exception tests.
33476 * math/w_ilogb.c: New file: ilogb wrapper.
33477 * math/w_ilogbf.c: New file: ilogbf wrapper.
33478 * math/w_ilogbl.c: New file: ilogbl wrapper.
33479 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33480 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33481 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33482 exception being thrown with 0.0 as argument.
33483 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33484 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33485 exception being thrown with 0.0 as argument.
33486 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33487 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33488 exception being thrown with 0.0 as argument.
33489 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33490 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33491 exception being thrown with 0.0 as argument.
33492 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33493 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33494 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33495 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33496 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33497 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33498 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33499 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33500 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33502 2012-04-17 Petr Baudis <pasky@ucw.cz>
33504 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33507 2012-04-16 Marek Polacek <polacek@redhat.com>
33509 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33511 2012-04-16 Marek Polacek <polacek@redhat.com>
33513 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33514 operands of fdivp instruction.
33516 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33518 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33519 * elf/tst-auditmod3b.c: Likewise.
33520 * elf/tst-auditmod4b.c: Likewise.
33521 * elf/tst-auditmod5b.c: Likewise.
33522 * elf/tst-auditmod6b.c: Likewise.
33523 * elf/tst-auditmod6c.c: Likewise.
33524 * elf/tst-auditmod7b.c: Likewise.
33525 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33526 * sysdeps/x86_64/preconfigure.in: Likewise.
33527 * sysdeps/x86_64/preconfigure: Regenerated.
33529 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33531 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33534 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33537 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33539 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33542 * locale/iso-639.def: Fix gl language name. Spotted by
33545 2012-04-12 Roland McGrath <roland@hack.frob.com>
33548 * libio/libio.h (__io_write_fn): Update comment.
33550 2012-04-12 Petr Baudis <pasky@ucw.cz>
33553 * stdio.texi (Hook Functions): The user provided writer function
33554 is not allowed to return -1.
33556 2012-04-11 David S. Miller <davem@davemloft.net>
33558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33560 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33562 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33563 Add a leading slash to rtkaio.
33565 2012-04-11 Jim Meyering <meyering@redhat.com>
33568 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33569 It is not necessarily an error to ignore fwrite's return
33570 value. One can reliably use ferror to test for errors after
33573 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33575 * bits/types.h (__snseconds_t): New type.
33576 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33578 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33579 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33580 (__SNSECONDS_T_TYPE): Likewise.
33581 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33582 (__SNSECONDS_T_TYPE): Likewise.
33583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33584 (__SNSECONDS_T_TYPE): Likewise.
33586 2012-04-10 Andreas Jaeger <aj@suse.de>
33589 * manual/time.texi (Processor Time): Return type of times is
33590 elapsed real time since an arbitrary point in the past.
33591 (CPU Time): Move CLK_TCK from here...
33592 (Processor Time): ...to here. Correct description.
33593 * manual/conf.texi (Constants for Sysconf): Correct description of
33596 2012-04-10 David S. Miller <davem@davemloft.net>
33599 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33600 where the is a gap between DT_REL(A) and DT_JMPREL.
33602 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33604 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33605 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33606 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33608 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33610 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33611 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33612 (dl_main): Handle --inhibit-cache.
33613 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33615 * elf/dl-load.c (_dl_map_object): Use it.
33616 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33618 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33621 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33622 (__ieee754_powl): Saturate large exponents rather than testing for
33623 overflow of y*log2(x).
33624 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33625 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33629 * math/s_ctan.c: Include <float.h>.
33630 (__ctan): Avoid internal overflow or cancellation in calculating
33632 * math/s_ctanf.c: Likewise.
33633 * math/s_ctanl.c: Likewise.
33634 * math/s_ctanh.c: Likewise.
33635 * math/s_ctanhf.c: Likewise.
33636 * math/s_ctanhl.c: Likewise.
33637 * math/libm-test.inc (ctan_test): Add more tests.
33638 (ctanh_test): Likewise.
33639 * sysdeps/i386/fpu/libm-test-ulps: Update.
33640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33642 2012-04-09 Andreas Jaeger <aj@suse.de>
33645 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33646 is an optional BSD extension.
33649 * manual/stdio.texi (Opening Streams): Document additional fopen
33652 2012-04-09 Roland McGrath <roland@hack.frob.com>
33654 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33655 %eax without telling the compiler.
33657 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33660 * manual/install.texi: Use sourceware.org.
33662 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33665 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33666 (__ieee754_pow): Generate overflow and underflow using huge*huge
33667 and tiny*tiny rather than just returning constant infinity or zero
33668 for large exponents.
33669 * math/libm-test.inc (pow_test): Require overflow exceptions for
33670 applicable cases of large exponents.
33673 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33674 (__ieee754_pow): Use iterative multiplication algorithm only for
33675 integer exponents with absolute value below 1024. Check for odd
33676 integer exponents when using algorithm for real exponents.
33677 * math/libm-test.inc (pow_test): Add more tests.
33678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33680 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33683 * math/libm-test.inc (exp_test): Do not allow overflow exception
33686 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33689 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33690 instead of __kernel_standard_f.
33692 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33694 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33695 * sysdeps/x86_64/memset_chk.S: Likewise.
33697 2012-04-08 Andreas Jaeger <aj@suse.de>
33700 * manual/startup.texi (Environment Access): Describe return value
33701 for putenv and setenv.
33704 * manual/filesys.texi (Directory Entries): Add description for
33708 * manual/filesys.texi (Directory Entries): Clarify that it's file
33709 system not operating system in the description of DT_UNKNOWN.
33712 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33714 2012-04-08 Stephen Compall <s11@member.fsf.org>
33717 * manual/llio.texi (Opening and Closing Files): Add cross
33718 reference to explain mode argument.
33720 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33722 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33723 * sysdeps/x86_64/memset_chk.S: Likewise.
33725 2012-04-07 David S. Miller <davem@davemloft.net>
33727 * elf/elf.h (R_SPARC_WDISP10): Define.
33728 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33731 R_SPARC_SIZE64 and R_SPARC_H34.
33733 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33735 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33736 conditions and remove no longer applicable assertion.
33738 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33740 * bits/byteswap.h: Include <features.h>.
33741 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33742 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33744 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33746 * bits/byteswap.h (__bswap_16): Removed.
33747 Include <bits/byteswap-16.h> to get __bswap_16.
33748 * sysdeps/i386/bits/byteswap.h: Likewise.
33749 * sysdeps/s390/bits/byteswap.h: Likewise.
33750 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33751 * bits/byteswap-16.h: New file.
33752 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33753 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33754 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33755 * string/Makefile (headers): Add bits/byteswap-16.h.
33757 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33760 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33762 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33763 * nss/tst-nss-static.c: New.
33765 2012-04-06 Robert Millan <rmh@gnu.org>
33768 * manual/llio.texi (File Position Primitive): lseek
33769 refers to WHENCE when it really means OFFSET.
33771 2012-04-06 Andreas Jaeger <aj@suse.de>
33773 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33774 strncmp declarations.
33776 * abilist/libc.abilist: Add __poll and __ppoll.
33778 2012-04-05 David S. Miller <davem@davemloft.net>
33780 * scripts/check-local-headers.sh: Accept a host triplet in the
33781 path matched by the exclude regexp.
33783 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33785 * sysdeps/powerpc/powerpc32/dl-machine.h
33786 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33787 * sysdeps/s390/s390-32/dl-machine.h
33788 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33789 * sysdeps/sparc/sparc32/dl-machine.h
33790 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33791 * sysdeps/sparc/sparc64/dl-machine.h
33792 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33794 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33796 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33797 undefined symbol errors.
33799 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33802 2012-04-05 Michael Matz <matz@suse.de>
33805 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33807 2012-04-05 Andreas Jaeger <aj@suse.de>
33810 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33813 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33815 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33816 which ROUND is no valid rounding mode.
33818 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33820 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33822 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33824 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33826 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33827 an exception using FPU order intentionally.
33829 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33831 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33832 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33833 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33834 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33836 2012-04-05 Simon Josefsson <simon@josefsson.org>
33839 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33840 EINVAL when BUFLEN is too smal.
33842 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33845 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33846 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33848 2012-04-03 Andreas Jaeger <aj@suse.de>
33851 * manual/setjmp.texi (System V contexts): Fix sentence.
33854 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33855 New macro for this case.
33856 [!__GNUC__] (__bswap_64): New inline function for this case.
33857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33858 * bits/byteswap.h: Likewise.
33859 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33860 ull, guard with __GLIBC_HAVE_LONG_LONG.
33862 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33863 __GLIBC_HAVE_LONG_LONG.
33865 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33866 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33868 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33871 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33872 inptr and inend, rather than using last_ch.
33874 2012-04-02 David S. Miller <davem@davemloft.net>
33876 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33877 * stdio-common/printf-parse.h (read_int): Change return type to
33878 'int', return -1 on INT_MAX overflow.
33879 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33880 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33881 overflows INT_MAX. Check for overflow of in-format-string precision
33882 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33883 SIZE_MAX not INT_MAX for integer overflow test.
33884 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33885 skip the construct in the format string but do not record anything.
33886 * stdio-common/bug22.c: Adjust to test both width/prevision
33887 INT_MAX overflow as well as total length INT_MAX overflow. Check
33888 explicitly for proper errno values.
33890 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33892 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33894 * string/test-strcmp.c [! WIDE]: Likewise.
33895 * time/tst-mktime2.c: Likewise for INT_MAX.
33896 * string/test-string.h: #include <sys/param.h> for MIN.
33898 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33899 * sysdeps/i386/init-first.c (init): Likewise.
33900 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33901 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33902 * sysdeps/sh/init-first.c (init): Likewise.
33904 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33906 * po/ru.po: Update from translation team.
33907 * po/vi.po: Likewise.
33909 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33911 * resolv/nss_dns/dns-host.c: Merge copyright years.
33913 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33915 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33916 Optimize memcpy with prefetch if
33917 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33918 src, dst pointers have unequal 16 byte alignments.
33920 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33923 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33924 from a CNAME entry and return the minimum ttl for the query.
33925 (gaih_getanswer_slice): Likewise.
33927 2012-03-30 Jeff Law <law@redhat.com>
33929 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33931 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33932 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33934 * resolv/nss_dns/dns-host.c: Update copyright year.
33936 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33938 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33939 requests to save a system call. Fix check that all bytes are sent.
33941 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33942 comments for sendmmsg.
33944 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33947 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33948 with only 1 character between 0x0041 and 0x01b0.
33949 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33950 * wcsmbs/tst-mbsnrtowcs.c: New file.
33952 2012-03-29 David S. Miller <davem@davemloft.net>
33954 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33955 small copies by hand.
33957 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33960 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33961 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33964 2012-03-28 David S. Miller <davem@davemloft.net>
33966 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33967 that branches into memcpy.
33968 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33969 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33970 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33971 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33974 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33975 implementation too.
33976 * sysdeps/sparc/mempcpy.S: New file.
33978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33979 the IFUNC routine in the libc case.
33980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33982 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33983 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33984 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33985 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33986 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33987 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33988 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33989 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33991 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33992 loop to 256 bytes instead of 64 bytes and fix test signedness.
33994 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33995 * sysdeps/sparc/sparc32/Makefile: rather than here...
33996 * sysdeps/sparc/sparc64/Makefile: and here.
33998 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34000 * malloc/mallocbug.c: Avoid warnings about unused variables.
34002 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34005 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34006 in the right place. Discard and retry query if response is
34007 larger than input buffer size.
34009 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34014 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34015 x for large integer exponent.
34016 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34017 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34018 sign of result as needed afterwards.
34019 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34020 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34021 result for underflowing pow the same as for overflow.
34022 (__kernel_standard_l): Handle powl overflow and underflow here
34023 rather than calling __kernel_standard.
34024 * math/libm-test.inc (pow_test): Add more tests.
34039 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34040 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34041 (__kernel_standard_l): New function.
34042 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34044 * math/w_acosl.c (__acosl): Likewise.
34045 * math/w_asinl.c (__asinl): Likewise.
34046 * math/w_atan2l.c (__atan2l): Likewise.
34047 * math/w_atanhl.c (__atanhl): Likewise.
34048 * math/w_coshl.c (__coshl): Likewise.
34049 * math/w_exp10l.c (__exp10l): Likewise.
34050 * math/w_exp2l.c (__exp2l): Likewise.
34051 * math/w_fmodl.c (__fmodl): Likewise.
34052 * math/w_hypotl.c (__hypotl): Likewise.
34053 * math/w_j0l.c (__j0l, __y0l): Likewise.
34054 * math/w_j1l.c (__j1l, __y1l): Likewise.
34055 * math/w_jnl.c (__jnl, __ynl): Likewise.
34056 * math/w_lgammal.c (__lgammal): Likewise.
34057 * math/w_log10l.c (__log10l): Likewise.
34058 * math/w_log2l.c (__log2l): Likewise.
34059 * math/w_logl.c (__logl): Likewise.
34060 * math/w_powl.c (__powl): Likewise.
34061 * math/w_remainderl.c (__remainderl): Likewise.
34062 * math/w_scalbl.c (sysv_scalbl): Likewise.
34063 * math/w_sinhl.c (__sinhl): Likewise.
34064 * math/w_sqrtl.c (__sqrtl): Likewise.
34065 * math/w_tgammal.c (__tgammal): Likewise.
34066 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34067 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34068 * math/libm-test.inc (acos_test): Add more tests.
34069 (acosh_test): Likewise.
34070 (asin_test): Likewise.
34071 (atanh_test): Likewise.
34072 (exp_test): Likewise.
34073 (exp10_test): Likewise.
34074 (exp2_test): Likewise.
34075 (expm1_test): Likewise.
34076 (lgamma_test): Likewise.
34077 (log_test): Likewise.
34078 (log10_test): Likewise.
34079 (log1p_test): Likewise.
34080 (log2_test): Likewise.
34081 (pow_test): Do not allow some spurious overflow exceptions.
34082 (sqrt_test): Add more tests.
34083 (tgamma_test): Likewise.
34084 (y0_test): Likewise.
34085 (y1_test): Likewise.
34086 (yn_test): Likewise.
34088 2012-03-27 Anton Blanchard <anton@samba.org>
34090 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34092 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34093 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34094 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34096 2012-03-27 David S. Miller <davem@davemloft.net>
34098 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34100 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34101 have-as-vis3 check.
34103 2012-03-27 Andreas Jaeger <aj@suse.de>
34105 * sysdeps/x86_64/elf/configure.in: Moved to ...
34106 * sysdeps/x86_64/configure.in: ... here.
34107 * sysdeps/x86_64/elf/start.S: Moved to ...
34108 * sysdeps/x86_64/start.S: ... here.
34109 * sysdeps/x86_64/elf/configure: Delete.
34111 * sysdeps/x86_64/configure.in: Merge contents from
34112 sysdeps/i386/configure.in (without i686 check).
34114 * sysdeps/i386/elf/Versions: Merge into ...
34115 * sysdeps/i386/Versions: ... this.
34116 * sysdeps/i386/elf/Versions: Delete file.
34117 * sysdeps/i386/elf/start.S: Moved to ...
34118 * sysdeps/i386/start.S: ...here.
34119 * sysdeps/i386/elf/configure.in: Merge into...
34120 * sysdeps/i386/configure.in: ...here.
34121 * sysdeps/i386/elf/configure.in: Delete file.
34122 * sysdeps/i386/elf/configure: Delete file.
34124 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34125 * debug/backtracesyms.c: ... here.
34126 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34127 * debug/backtracesymsfd.c: ... here.
34128 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34129 * sysdeps/generic/ifunc-sel.h: ... here.
34131 * sysdeps/unix/i386/start.c: Delete file.
34132 * sysdeps/unix/sparc/start.c: Delete file.
34133 * sysdeps/unix/start.c: Delete file.
34135 * sysdeps/sh/elf/configure.in: Moved to ...
34136 * sysdeps/sh/configure.in: ... here.
34137 * sysdeps/sh/elf/start.S: Moved to ...
34138 * sysdeps/sh/start.S: ... here.
34139 * sysdeps/sh/elf/configure: Delete file.
34141 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34142 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34143 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34144 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34145 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34146 * sysdeps/powerpc/powerpc64/start.S: here.
34147 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34148 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34149 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34150 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34151 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34153 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34154 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34155 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34156 * sysdeps/powerpc/powerpc32/start.S: ... here.
34157 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34158 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34159 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34161 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34162 * sysdeps/powerpc/ifunc-sel.h: ... here.
34163 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34164 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34166 * sysdeps/sparc/elf/configure.in: Moved to ...
34167 * sysdeps/sparc/configure.in: ... here.
34168 * sysdeps/sparc/elf/configure: Delete file.
34169 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34170 * sysdeps/sparc/sparc32/start.S: ... here.
34171 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34172 * sysdeps/sparc/sparc64/start.S: ... here.
34173 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34174 * sysdeps/sparc/sparc32/Makefile: ... this.
34175 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34176 * sysdeps/sparc/sparc64/Makefile: ... this.
34178 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34179 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34180 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34181 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34182 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34183 * sysdeps/s390/s390-32/setjmp.S: ... here.
34184 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34185 * sysdeps/s390/s390-32/configure.in: ... here.
34186 * sysdeps/s390/s390-32/elf/configure: Delete file.
34187 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34188 * sysdeps/s390/s390-32/start.S: ... here.
34190 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34191 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34192 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34193 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34194 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34195 * sysdeps/s390/s390-64/setjmp.S: ... here.
34196 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34197 * sysdeps/s390/s390-64/configure.in: ... here
34198 * sysdeps/s390/s390-64/elf/configure: Delete file.
34199 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34200 * sysdeps/s390/s390-64/start.S: ... here.
34201 * sysdeps/s390/s390-64/elf/configure: Delete.
34203 * configure.in: Remove support for elf directories in sysdeps.
34205 * configure: Regenerated.
34206 * sysdeps/i386/configure: Regenerated.
34207 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34208 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34209 * sysdeps/s390/s390-32/configure: Regenerated.
34210 * sysdeps/s390/s390-64/configure: Regenerated.
34211 * sysdeps/sh/configure: Regenerated.
34212 * sysdeps/sparc/configure: Regenerated.
34213 * sysdeps/x86_64/configure: Regenerated.
34215 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34220 denormal result into account.
34222 2012-03-25 Roland McGrath <roland@hack.frob.com>
34224 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34225 Reported by Allan McRae <allan@archlinux.org>.
34227 2012-03-23 Jeff Law <law@redhat.com>
34229 * nss/getnssent.c (__nss_getent): Fix typo.
34231 2012-03-23 David S. Miller <davem@davemloft.net>
34233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34235 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34237 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34238 to pad to uint64_t for each field.
34239 (dl_tls_index): Replace unsigned long with uint64_t.
34241 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34242 Paul Pluzhnikov <ppluzhnikov@google.com>
34245 * grp/Makefile (otherlibs): Don't set it.
34246 * inet/Makefile (otherlibs): Likewise.
34247 * login/Makefile (otherlibs): Likewise.
34248 * nscd/Makefile (otherlibs): Likewise.
34249 * posix/Makefile (otherlibs): Likewise.
34250 * pwd/Makefile (otherlibs): Likewise.
34251 * rt/Makefile (otherlibs): Likewise.
34252 * sunrpc/Makefile (otherlibs): Likewise.
34253 * nss/Makefile (otherlibs): Likewise.
34254 Add libnss_files to routines and static-only-routines.
34255 ($(objpfx)getent): Remove rule.
34256 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34257 static-only-routines.
34259 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34262 * math/s_cexp.c: Include <float.h>.
34263 (__cexp): Handle exp result overflowing not necessarily
34264 overflowing both real and imaginary parts of result.
34265 * math/s_cexpf.c: Likewise.
34266 * math/s_cexpl.c: Likewise.
34267 * math/libm-test.inc (cexp_test): Add more tests.
34268 * sysdeps/i386/fpu/libm-test-ulps: Update.
34269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34271 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34273 * include/link.h (ELFW): New macro.
34274 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34275 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34277 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34279 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34282 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34284 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34286 (struct La_x32_retval): Likewise.
34288 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34290 * sysdeps/x86_64/preconfigure.in: New file.
34291 * sysdeps/x86_64/preconfigure: New generated file.
34293 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34296 * math/e_exp2l.c: Include <float.h>.
34297 (__ieee754_exp2l): Handle overflow and underflow cases
34298 separately. Only pass fractional part of argument to
34300 * math/libm-test.inc (exp2_test): Add more tests.
34302 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34303 negating x to take absolute value.
34304 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34306 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34307 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34309 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34310 computing low part if x was negated.
34311 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34313 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34315 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34316 la_x32_gnu_pltexit.
34317 (pltexit): Cast int_retval to ptrdiff_t.
34318 * elf/tst-auditmod3b.c: Likewise.
34319 * elf/tst-auditmod4b.c: Likewise.
34320 * elf/tst-auditmod5b.c: Likewise.
34321 * elf/tst-auditmod6b.c: Likewise.
34322 * elf/tst-auditmod6c.c: Likewise.
34323 * elf/tst-auditmod7b.c: Likewise.
34325 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34326 and x32_gnu_pltexit.
34328 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34329 __ELF_NATIVE_CLASS.
34330 (La_x32_regs): New macro.
34331 (La_x32_retval): Likewise.
34332 (la_x32_gnu_pltenter): New function prototype.
34333 (la_x32_gnu_pltexit): Likewise.
34335 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34342 * configure.in (libc_cv_cc_nofma): Check for option to disable
34343 generation of FMA instructions.
34344 * configure: Regenerate.
34345 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34346 * sysdeps/ieee754/dbl-64/Makefile: New file.
34347 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34348 Remove brandred-fma4.
34349 (CFLAGS-brandred-fma4.c): Remove.
34350 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34351 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34353 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34356 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34358 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34359 LLONG_MAX != LONG_MAX.
34360 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34361 (_fitoa_word): Likewise.
34362 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34363 LLONG_MAX != LONG_MAX.
34364 * stdio-common/_itowa.h: Include <_itoa.h>.
34365 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34366 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34367 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34368 only if not defined.
34369 (_ITOA_WORD_TYPE): Likewise.
34370 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34371 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34373 2012-03-21 David S. Miller <davem@davemloft.net>
34375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34377 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34379 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34380 of x86_64 when setting libc_cv_slibdir, libdir and
34382 * sysdeps/unix/sysv/linux/configure: Regenerated.
34384 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34386 * manual/lang.texi (Old Varargs): Remove section.
34387 (How Variadic): Update menu.
34388 (va_start): Do not mention varargs.h.
34390 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34391 Joseph Myers <joseph@codesourcery.com>
34393 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34395 * configure: Regenerated.
34397 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34399 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34400 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34403 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34406 * Makefile (files-for-dist): Remove NOTES.
34407 (NOTES): Remove rule.
34408 * README: Don't refer to NOTES.
34409 * manual/creature.texi: Don't include macros.texi.
34410 * manual/intro.texi (creature.texi): Remove comment referring to
34413 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34414 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34415 * configure: Regenerated.
34416 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34417 LIBC_TRY_CC_OPTION.
34418 (libc_cv_as_i686): Likewise.
34419 (libc_cv_cc_avx): Likewise.
34420 (libc_cv_cc_sse2avx): Likewise.
34421 (libc_cv_cc_fma4): Likewise.
34422 (libc_cv_cc_novzeroupper): Likewise.
34423 * sysdeps/i386/configure: Regenerated.
34426 * sysdeps/i386/fpu/s_cexp.S: Remove.
34427 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34428 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34429 * math/libm-test.inc (cexp_test): Add more tests.
34430 * sysdeps/i386/fpu/libm-test-ulps: Update.
34431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34433 2012-03-21 Allan McRae <allan@archlinux.org>
34435 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34437 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34440 * math/w_exp2.c: Do not include <float.h>.
34441 (o_threshold, u_threshold): Remove.
34442 (__exp2): Calculate result before checking finiteness and calling
34444 * math/w_exp2f.c: Likewise.
34445 * math/w_exp2l.c: Likewise.
34446 * math/libm-test.inc (exp2_test): Require overflow exception for
34450 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34451 range of signed 64-bit integers before using fistpll. Remove
34452 checks for whether integers fit in mantissa bits.
34453 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34454 the range of signed 32-bit integers before using fistpl. Remove
34455 checks for whether integers fit in mantissa bits.
34456 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34457 (__ieee754_powl): Test for y outside the range of signed 64-bit
34458 integers before using fistpll. Reduce 64-bit values to 63-bit
34460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34461 divide-by-zero is raised for zero to large negative powers.
34462 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34463 (__ieee754_powl): Test for y outside the range of signed 64-bit
34464 integers before using fistpll. Reduce 64-bit values to 63-bit
34466 * math/libm-test.inc (pow_test): Add more tests.
34468 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34470 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34471 <stdio-common/_itoa.h>.
34472 * debug/segfault.c: Likewise.
34473 * elf/dl-cache.c: Likewise.
34474 * elf/dl-minimal.c: Likewise.
34475 * elf/dl-misc.c: Likewise.
34476 * elf/dl-sysdep.c: Likewise.
34477 * elf/dl-version.c: Likewise.
34478 * elf/rtld.c: Likewise.
34479 * hurd/hurdsock.c: Likewise.
34480 * hurd/lookup-retry.c: Likewise.
34481 * malloc/malloc.c: Likewise.
34482 * malloc/mtrace.c: Likewise.
34483 * nscd/nscd_getgr_r.c: Likewise.
34484 * nscd/nscd_getpw_r.c: Likewise.
34485 * nscd/nscd_getserv_r.c: Likewise.
34486 * posix/getopt_init.c: Likewise.
34487 * posix/wordexp.c: Likewise.
34488 * stdio-common/_itoa.c: Likewise.
34489 * stdio-common/printf_fphex.c: Likewise.
34490 * stdio-common/vfprintf.c: Likewise.
34491 * string/_strerror.c: Likewise.
34492 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34493 * sysdeps/i386/i686/hp-timing.h: Likewise.
34494 * sysdeps/mach/_strerror.c: Likewise.
34495 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34496 * sysdeps/mach/hurd/sethostid.c: Likewise.
34497 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34498 * sysdeps/mach/xpg-strerror.c: Likewise.
34499 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34500 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34501 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34502 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34503 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34504 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34505 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34506 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34507 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34508 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34509 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34510 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34511 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34512 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34513 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34514 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34515 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34516 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34517 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34518 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34519 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34521 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34523 * stdio-common/_itoa.h: Moved to ...
34524 * sysdeps/generic/_itoa.h: Here.
34526 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34528 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34529 instead of "_itoa.h" and "_itowa.h".
34530 * stdio-common/vfprintf.: Likewise.
34532 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34534 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34536 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34537 (__signbit): Likwise.
34538 (llrintf): Likwise.
34541 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34543 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34546 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34548 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34549 OVERFLOW_EXCEPTION_OK.
34550 * math/libm-test.inc ("Philosophy"): Update comment about
34552 (OVERFLOW_EXCEPTION): Define.
34553 (OVERFLOW_EXCEPTION_OK): Likewise.
34554 (INVALID_EXCEPTION_OK): Renumber.
34555 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34556 (IGNORE_ZERO_INF_SIGN): Likewise.
34557 (test_exceptions): Handle FE_OVERFLOW.
34558 (exp10_test): Expect overflow exceptions.
34559 (exp2_test): Likewise.
34560 (expm1_test): Likewise.
34561 (nextafter_test): Likewise.
34562 (pow_test): Likewise.
34563 (scalbn_test): Likewise.
34564 (scalbln_test): Likewise.
34566 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34568 * sysdeps/x86_64/bits/atomic.h
34569 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34571 (atomic_exchange_acq): Likewise.
34572 (__arch_exchange_and_add_body): Likewise.
34573 (__arch_add_body): Likewise.
34574 (atomic_add_negative): Likewise.
34575 (atomic_add_zero): Likewise.
34577 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34579 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34580 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34582 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34584 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34585 Check __x86_64__ instead of __WORDSIZE.
34587 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34589 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34591 2012-03-19 David S. Miller <davem@davemloft.net>
34593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34595 * sysdeps/sparc/fpu/fenv_private.h: New file.
34596 * sysdeps/sparc/fpu/math_private.h: Use it.
34597 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34599 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34600 (libc_feholdexcept_setroundl): Remove.
34601 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34603 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34604 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34606 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34608 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34609 int64_t instead of long int.
34610 (INSERT_WORDS64): Likwise.
34612 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34614 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34615 _Unwind_GetCFA return to _Unwind_Ptr first.
34617 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34620 * math/s_clog.c: Include <float.h>.
34621 (__clog): Scale large or subnormal inputs.
34622 * math/s_clogf.c: Likewise.
34623 * math/s_clogl.c: Likewise.
34624 * math/s_clog10.c: Include <float.h>.
34625 (M_LOG10_2): Define.
34626 (__clog10): Scale large or subnormal inputs.
34627 * math/s_clog10f.c: Likewise.
34628 * math/s_clog10l.c: Likewise.
34629 * math/libm-test.inc (clog_test): Add more tests.
34630 (clog10_test): Likewise.
34631 * sysdeps/i386/fpu/libm-test-ulps: Update.
34632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34635 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34637 * math/libm-test.inc (atan2_test): Add another test.
34639 * Makerules (common-objdir-compile): Remove.
34640 * sysdeps/unix/Makefile (config-generated): Do not add
34641 $(unix-generated) to variable.
34642 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34643 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34645 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34647 [generic bits/local_lim.h] (before-compile): Do not append to
34649 [generic bits/local_lim.h] (common-generated): Likewise.
34650 [generic sys/param.h] (before-compile): Do not append to variable.
34651 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34652 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34653 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34654 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34656 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34657 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34658 [generic sys/param.h] ($(addprefix
34659 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34660 [generic sys/param.h] (common-generated): Do not append to
34662 [generic sys/param.h] (sysdep_headers): Likewise.
34663 [generic bits/errno.h] (before-compile): Do not append to
34665 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34667 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34668 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34669 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34670 [generic bits/errno.h] (common-generated): Do not append to
34672 [generic bits/ioctls.h] (before-compile): Do not append to
34674 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34676 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34677 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34678 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34680 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34681 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34682 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34683 [generic bits/ioctls.h] (common-generated): Do not append to
34685 [generic sys/syscall.h] (syscall.h): Remove variable.
34686 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34688 [generic sys/syscall.h] (before-compile): Do not append to
34690 [generic sys/syscall.h] (common-generated): Likewise.
34691 * sysdeps/unix/errnos-tmpl.c: Remove file.
34692 * sysdeps/unix/errnos.awk: Likewise.
34693 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34694 * sysdeps/unix/ioctls.awk: Likewise.
34695 * sysdeps/unix/mk-local_lim.c: Likewise.
34696 * sysdeps/unix/snarf-ioctls: Likewise.
34698 2012-03-19 Richard Henderson <rth@twiddle.net>
34700 * sysdeps/i386/fpu/fenv_private.h: New file.
34701 * sysdeps/i386/fpu/math_private.h: Use it.
34702 (math_opt_barrier, math_force_eval): Remove.
34703 (libc_feholdexcept_setround_53bit): Remove.
34704 (libc_feupdateenv_53bit): Remove.
34705 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34706 (math_opt_barrier, math_force_eval): Remove.
34707 (libc_feholdexcept): Remove.
34708 (libc_feholdexcept_setround): Remove.
34709 (libc_fetestexcept, libc_fesetenv): Remove.
34710 (libc_feupdateenv_test): Remove.
34711 (libc_feupdateenv, libc_feholdsetround): Remove.
34712 (libc_feresetround): Remove.
34714 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34715 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34717 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34718 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34719 (libc_feupdateenv_testl): New.
34720 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34721 (libc_feupdateenv_testf): New.
34722 (libc_feupdateenv): Use libc_feupdateenv_test.
34723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34724 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34726 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34727 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34728 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34729 (libc_feresetround_noex): New.
34730 (libc_feresetround_noexf): New.
34731 (libc_feresetround_noexl): New.
34732 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34733 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34734 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34735 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34738 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34740 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34741 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34742 SET_RESTORE_ROUND_NOEX.
34743 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34744 SET_RESTORE_ROUND_NOEXF.
34745 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34746 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34747 (libc_feholdsetroundf): New.
34748 (libc_feresetround, libc_feresetroundf): New.
34750 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34751 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34752 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34754 * sysdeps/generic/math_private.h: Include <fenv.h>.
34755 (default_libc_feholdexcept): New.
34756 (default_libc_feholdexcept_setround): New.
34757 (default_libc_fesetenv, default_libc_feupdateenv): New.
34758 (libc_feholdexcept): Only define if undefined.
34759 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34760 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34761 (libc_feholdexcept_setroundl): Likewise.
34762 (libc_feholdexcept_setround_53bit): Likewise.
34763 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34764 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34765 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34766 (libc_feupdateenv_53bit): Likewise.
34767 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34768 (libc_feholdexcept): Convert from macro to inline function.
34769 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34770 (libc_fesetenv, libc_feupdateenv): Likewise.
34772 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34773 not previously defined.
34774 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34775 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34776 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34777 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34778 * sysdeps/ieee754/flt-32/math_private.h: New file.
34779 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34780 math_private.h below SET_FLOAT_WORD.
34781 (__isnan, __isinf_ns, __finite): Remove.
34782 (__isnanf, __isinf_nsf, __finitef): Remove.
34784 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34788 2012-03-17 David S. Miller <davem@davemloft.net>
34791 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34794 2012-03-16 David S. Miller <davem@davemloft.net>
34796 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34800 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34802 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34803 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34804 sysdep_routines when subdir is sysvipc.
34805 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34806 __getshmlba helper.
34808 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34810 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34812 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34815 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34817 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34818 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34819 (__lround): Renamed to ...
34820 (__llround): This. Replace long int with long long int.
34821 Define lround functions as aliases of llround functions.
34822 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34824 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34826 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34827 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34828 adresses to uintptr_t. Replace "long int" and "unsigned long
34829 int" with "greg_t" on va_arg.
34831 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34833 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34834 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34836 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34837 Move e_machine check before EI_CLASS check. Handle x32
34838 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34839 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34840 SKIP_EM_IA_64 and include
34841 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34843 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34844 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34845 (add_system_dir): New macro.
34847 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34848 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34850 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34861 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34863 * math/w_j0f.c (j0f): Likewise.
34865 * math/w_j0l.c (__j0l): Likewise.
34867 * math/w_j1.c (j1): Likewise.
34869 * math/w_j1f.c (j1f): Likewise.
34871 * math/w_j1l.c (__j1l): Likewise.
34873 * math/w_jn.c (jn): Likewise.
34875 * math/w_jnf.c (jnf): Likewise.
34877 * math/w_jnl.c (__jnl): Likewise.
34879 * math/libm-test.inc (j0_test): Add more tests.
34880 (j1_test): Likewise.
34881 (jn_test): Likewise. Add trailing semicolon to existing test.
34882 (y0_test): Likewise.
34883 (y1_test): Likewise.
34884 * sysdeps/i386/fpu/libm-test-ulps: Update.
34885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34889 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34890 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34891 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34892 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34893 (__tanl): Set errno for infinite argument.
34894 * sysdeps/i386/fpu/mptan.c: Remove.
34895 * sysdeps/i386/fpu/s_tan.S: Likewise.
34896 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34897 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34898 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34899 * math/libm-test.inc (tan_test): Add more tests and enable more
34900 tests for double and long double.
34901 * sysdeps/i386/fpu/libm-test-ulps: Update.
34902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34904 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34906 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34907 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34909 2012-03-16 Roland McGrath <roland@hack.frob.com>
34911 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34912 * configure.in: Use it for both main tree and add-ons.
34913 * configure: Regenerated.
34915 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34917 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34919 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34921 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34925 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34926 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34927 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34928 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34929 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34931 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34932 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34933 != 0 for prec == 2.
34934 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34935 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34936 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34937 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34938 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34939 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34940 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34941 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34942 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34943 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34944 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34945 * math/libm-test.inc (cos_test): Add more tests and enable more
34946 tests for long double.
34947 (sin_test): Likewise.
34948 (sincos_test): Likewise.
34949 * sysdeps/i386/fpu/libm-test-ulps: Update.
34950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34952 2012-03-16 David S. Miller <davem@davemloft.net>
34954 * sysdeps/sparc/fpu/math_private.h: New file.
34956 2012-03-15 David S. Miller <davem@davemloft.net>
34958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34972 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34973 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34975 * sysdeps/sparc/sparc-ifunc.h: New file.
34976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35002 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35003 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35016 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35017 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35018 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35021 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35023 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35027 2012-03-15 Andreas Jaeger <aj@suse.de>
35030 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35031 ieee754/flt-32 implementation for sin, cos and sincos.
35032 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35033 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35034 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35035 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35036 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35037 ieee754/flt-32 implementation for tan.
35039 * math/libm-test.inc (cos_test): Enable some large input tests for
35041 (sin_test): Likewise.
35042 (sincos_test): Likewise.
35043 (tan_test): Add tests for large input.
35045 * sysdeps/i386/fpu/libm-test-ulps: Update.
35047 2012-03-15 Andreas Jaeger <aj@suse.de>
35050 * math/libm-test.inc (cos_test): Add more test cases.
35051 (sin_test): Likewise.
35052 (sincos_test): Likewise.
35054 2012-03-15 Andreas Jaeger <aj@suse.de>
35057 * math/libm-test.inc (cos_test): Add a test case for large input
35059 (sin_test): Likewise.
35060 (sincos_test): Likewise.
35062 2012-03-15 Andreas Jaeger <aj@suse.de>
35063 Joseph Myers <joseph@codesourcery.com>
35066 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35067 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35068 * sysdeps/i386/fpu/branred.c: Likewise.
35069 * sysdeps/i386/fpu/dosincos.c: Likewise.
35070 * sysdeps/i386/fpu/mpa.c: Likewise.
35071 * sysdeps/i386/fpu/s_cos.S: Likewise.
35072 * sysdeps/i386/fpu/s_sin.S: Likewise.
35073 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35074 * sysdeps/i386/fpu/sincos32.c: Likewise.
35076 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35078 (libc_feupdateenv_53bit): Define.
35079 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35081 (libc_feupdateenv_53bit): Define.
35083 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35084 53 bit (without extend i386 double precision).
35086 * math/libm-test.inc (sincos_test): Add tests for large input.
35090 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35092 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35096 2012-03-15 David S. Miller <davem@davemloft.net>
35098 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35099 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35100 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35101 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35125 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35126 fmin/fmax sysdep routines.
35127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35129 2012-03-14 David S. Miller <davem@davemloft.net>
35131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35135 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35136 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35151 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35152 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35153 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35155 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35203 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35208 * sysdeps/sparc/configure.in: New file.
35209 * sysdeps/sparc/configure: Generate.
35210 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35211 * configure: Regenerate.
35212 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35213 * config.make.in (have-as-vis3): New.
35214 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35215 available use -Av9d instead of -Av9a.
35216 * sysdeps/sparc/sparc64/Makefile: Likewise.
35217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35227 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35228 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35229 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35232 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35233 fzeros/fnegs to load 0x80000000 into a float register instead of
35235 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35237 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35241 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35242 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35243 ($(inst_includedir)/bits/syscall.h): Remove rule.
35244 ($(objpfx)bits/syscall.d): Include instead of
35245 $(objpfx)syscall-list.d.
35246 (generated): Change syscall-list.h and syscall-list.d to
35247 bits/syscall.h and bits/syscall.d.
35249 2012-03-14 Roland McGrath <roland@hack.frob.com>
35252 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35254 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35257 * math/s_csqrt.c: Include <float.h>.
35258 (__csqrt): Scale large or subnormal inputs.
35259 * math/s_csqrtf.c: Likewise.
35260 * math/s_csqrtl.c: Likewise.
35261 * math/libm-test.inc (csqrt_test): Add more tests.
35262 * sysdeps/i386/fpu/libm-test-ulps: Update.
35263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35266 * math/libm-test.inc (hypot_test): Add more tests.
35268 2012-03-13 David S. Miller <davem@davemloft.net>
35271 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35272 double-precision for the calculation instead of scaling.
35274 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35276 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35277 manipulate bits before adding and subtracting TWO52[sx].
35278 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35279 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35281 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35283 2012-03-13 David S. Miller <davem@davemloft.net>
35285 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35286 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35288 rtld-global-offsets.h
35289 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35291 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35294 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35296 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35297 'err' in the ifdef scope in which it is actually used.
35299 * nss/nss_db/db-init.c: Include string.h
35301 2012-03-12 David S. Miller <davem@davemloft.net>
35303 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35304 masking out of the most significant byte of random value used.
35305 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35306 Fix coding style in previous change.
35308 * sysdeps/unix/sysv/linux/kernel-features.h
35309 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35310 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35312 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35315 2012-03-11 David S. Miller <davem@davemloft.net>
35317 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35318 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35319 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35320 for 'resultvar' otherwise things get truncated on 64-bit.
35322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35323 Fix masking out of the most significant byte of random value used.
35325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35327 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35331 2012-03-09 David S. Miller <davem@davemloft.net>
35333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35334 variables with appropriate CPP guards.
35335 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35336 from the frame pointer, not the stack pointer. Correct layout
35337 comments. Fix test on resulting framesize and the management of
35338 the outregs buffer for pltexit. Preserve floating point return
35339 values across _dl_call_pltexit call.
35340 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35341 framesize and the management of the outregs buffer for pltexit.
35342 Preserve floating point return values across _dl_call_pltexit
35344 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35345 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35346 (la_sparc64_gnu_pltexit): New functions.
35347 (print_exit): Fix format string for return register value.
35349 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35351 * sunrpc/Makefile (others): Add rpcgen.
35352 ($(objpfx)rpcgen): Remove special build rule and dependency on
35354 * sunrpc/rpcgen.c: New file.
35356 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35359 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35360 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35361 * sysdeps/i386/crti.S: Likewise.
35362 * sysdeps/i386/crtn.S: Likewise.
35363 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35364 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35365 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35366 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35367 * sysdeps/sh/crti.S: Likewise.
35368 * sysdeps/sh/crtn.S: Likewise.
35369 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35372 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35374 * locale/programs/locfile-kw.gperf: Likewise.
35375 * locale/programs/charmap-kw.h: Regenerated.
35376 * locale/programs/locfile-kw.h: Likewise.
35379 * intl/plural.y: Replace FSF snail mail address with URL.
35380 * intl/plural.c: Regenerated.
35382 2012-03-09 Richard Henderson <rth@twiddle.net>
35384 * include/math_private.h: Remove file.
35385 * math/math_private.h: Move file ...
35386 * sysdeps/generic/math_private.h: ... here.
35388 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35389 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35390 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35392 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35393 and <math_private.h>.
35394 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35395 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35396 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35397 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35398 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35399 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35400 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35402 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35403 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35404 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35405 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35406 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35407 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35408 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35409 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35410 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35411 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35412 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35413 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35415 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35416 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35418 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35419 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35420 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35421 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35423 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35424 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35425 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35426 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35427 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35428 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35429 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35430 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35431 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35432 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35433 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35434 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35435 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35436 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35437 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35438 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35439 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35440 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35441 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35442 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35443 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35444 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35445 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35446 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35447 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35448 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35449 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35450 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35451 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35452 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35453 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35454 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35455 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35456 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35457 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35458 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35459 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35460 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35461 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35462 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35463 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35464 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35465 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35466 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35467 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35468 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35469 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35470 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35471 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35472 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35473 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35474 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35475 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35476 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35477 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35478 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35479 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35481 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35482 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35483 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35484 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35485 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35486 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35487 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35488 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35489 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35490 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35491 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35492 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35493 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35494 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35495 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35496 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35497 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35498 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35499 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35500 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35501 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35502 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35503 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35504 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35505 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35506 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35507 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35508 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35509 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35510 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35511 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35512 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35513 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35514 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35515 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35516 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35517 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35518 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35519 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35520 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35521 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35522 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35523 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35524 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35525 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35526 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35527 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35528 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35529 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35530 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35531 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35532 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35533 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35534 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35535 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35536 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35537 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35538 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35539 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35540 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35541 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35542 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35543 * sysdeps/ieee754/k_standard.c: Likewise.
35544 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35545 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35546 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35547 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35548 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35549 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35550 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35551 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35552 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35553 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35554 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35555 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35556 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35557 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35558 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35559 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35560 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35561 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35562 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35563 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35564 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35565 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35566 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35567 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35568 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35569 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35570 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35571 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35572 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35573 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35574 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35575 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35576 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35577 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35578 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35579 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35580 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35581 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35582 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35583 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35584 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35585 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35586 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35587 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35588 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35589 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35590 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35591 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35592 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35593 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35594 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35595 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35596 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35597 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35598 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35599 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35600 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35601 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35602 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35603 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35604 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35605 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35606 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35607 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35609 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35610 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35611 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35612 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35613 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35614 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35616 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35617 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35618 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35619 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35620 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35621 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35622 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35623 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35624 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35625 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35626 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35627 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35628 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35629 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35630 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35631 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35632 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35633 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35634 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35635 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35636 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35637 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35638 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35639 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35640 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35641 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35642 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35644 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35645 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35646 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35647 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35648 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35649 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35650 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35651 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35652 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35653 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35654 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35655 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35656 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35657 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35658 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35659 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35660 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35661 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35662 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35663 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35664 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35665 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35666 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35667 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35668 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35669 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35670 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35671 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35672 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35673 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35674 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35675 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35676 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35681 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35682 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35684 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35686 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35688 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35689 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35690 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35692 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35693 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35694 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35700 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35704 * sysdeps/ieee754/s_lib_version.c: Likewise.
35705 * sysdeps/ieee754/s_matherr.c: Likewise.
35706 * sysdeps/ieee754/s_signgam.c: Likewise.
35707 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35708 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35709 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35710 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35711 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35712 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35713 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35714 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35715 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35716 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35717 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35718 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35719 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35720 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35721 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35722 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35723 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35724 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35725 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35726 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35729 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35731 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35732 * sunrpc/rpc_main.c: Likewise.
35733 * sunrpc/rpc_svcout.c: Likewise.
35735 2012-03-09 David S. Miller <davem@davemloft.net>
35737 * include/math_private.h: New file.
35739 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35741 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35742 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35743 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35744 from <bits/socket_type.h>.
35745 (enum __socket_type): Don't define here.
35746 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35748 bits/socket_type.h.
35751 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35752 checking __USE_GNU.
35754 * Makerules ($(inst_includedir)/%.h): New rule.
35755 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35756 (install-others): Remove variable setting.
35757 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35759 2012-03-08 Richard Henderson <rth@twiddle.net>
35761 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35762 from macro to inline function; merge with the
35763 !__LIBC_INTERNAL_MATH_INLINES version.
35764 (__ieee754_sqrtf): Likewise.
35766 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35767 to inline function.
35768 (__rintf, __floor, __floorf): Likewise.
35770 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35771 macro to inline function.
35772 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35775 not <math/math_private.h>.
35777 2012-03-08 David S. Miller <davem@davemloft.net>
35779 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35781 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35783 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35785 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35787 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35788 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35790 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35792 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35793 be defined individually, they must be defined as a block. Define
35794 S for printing a string instead of hidint the different by using a
35795 macro for adding the 'l'.
35796 * stdio-common/tst-fphex-wide.c: Adjust.
35798 2012-03-07 Marek Polacek <polacek@redhat.com>
35800 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35802 2012-03-08 Marek Polacek <polacek@redhat.com>
35805 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35806 * stdio-common/tst-fphex.c: Define a few macros to make the
35807 test reusable. Use them.
35808 * stdio-common/tst-fphex-wide.c: New file.
35810 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35813 * manual/macros.texi (gnusystems): New macro.
35814 (nongnusystems): Likewise.
35815 (gnulinuxhurdsystems): Likewise.
35816 (gnuhurdsystems): Likewise..
35817 (gnulinuxsystems): Likewise.
35818 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35819 variants of the GNU system, not "GNU system".
35820 * manual/conf.texi: Likewise.
35821 * manual/errno.texi: Likewise. Update example of errno macro
35823 * manual/filesys.texi: Likewise.
35824 (getumask): Document as specific to GNU/Hurd.
35825 * manual/install.texi: Likewise. Reword some references to
35827 * manual/intro.texi: Likewise.
35828 * manual/io.texi: Likewise.
35829 (File Name Portability): Detail which constraints are inapplicable
35830 to all GNU systems and which are only inapplicable to GNU/Hurd.
35831 * manual/job.texi: Likewise.
35832 * manual/llio.texi: Likewise.
35833 (O_NOCTTY): Document as present on GNU/Linux.
35834 * manual/maint.texi: Likewise.
35835 * manual/memory.texi: Likewise.
35836 * manual/pattern.texi: Likewise.
35837 * manual/pipe.texi: Likewise.
35838 * manual/process.texi: Likewise.
35839 * manual/resource.texi: Likewise.
35840 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35842 * manual/setjmp.texi: Likewise.
35843 * manual/signal.texi: Likewise.
35844 * manual/startup.texi: Likewise.
35845 * manual/stdio.texi: Likewise.
35846 * manual/terminal.texi: Likewise.
35847 (ONLCR): Document as POSIX.
35848 (OXTABS): Document availability on GNU/Linux as XTABS.
35849 (ONOEOT): Document availability separately from other bits.
35850 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35851 * manual/time.texi: Likewise.
35852 * manual/users.texi: Likewise.
35853 * INSTALL: Regenerated.
35854 * sysdeps/gnu/errlist.c: Regenerated.
35856 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35857 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35858 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35860 * configure: Regenerated.
35862 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35864 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35865 default includes instead of AC_HEADER_CHECK.
35866 * sysdeps/i386/configure: Regenerated.
35869 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35870 * math/s_cacoshf.c (__cacoshf): Likewise.
35871 * math/s_cacoshl.c (__cacoshl): Likewise.
35872 * math/s_casinh.c (__casinh): Set signs of result from argument.
35873 * math/s_casinhf.c (__casinhf): Likewise.
35874 * math/s_casinhl.c (__casinhl): Likewise.
35875 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35876 (casinh_test): Add more tests.
35877 * sysdeps/i386/fpu/libm-test-ulps: Update.
35878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35880 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35882 * po/zh_TW.po: Update from translation team.
35884 * login/Makefile (distribute): Remove variable.
35885 * catgets/Makefile: Likewise.
35886 * mach/Makefile: Likewise.
35887 * malloc/Makefile: Likewise.
35888 * misc/Makefile: Likewise.
35889 * iconv/Makefile: Likewise.
35890 * nscd/Makefile: Likewise.
35891 * hurd/Makefile: Likewise.
35892 * manual/Makefile: Likewise.
35893 * locale/Makefile: Likewise.
35894 * intl/Makefile: Likewise.
35895 * conform/Makefile: Likewise.
35896 * nss/Makefile: Likewise.
35897 * time/Makefile: Likewise.
35898 * soft-fp/Makefile: Likewise.
35899 * dirent/Makefile: Likewise.
35900 * gmon/Makefile: Likewise.
35901 * po/Makefile: Likewise.
35902 * rt/Makefile: Likewise.
35903 * socket/Makefile: Likewise.
35904 * math/Makefile: Likewise.
35905 * signal/Makefile: Likewise.
35906 * debug/Makefile: Likewise.
35907 * elf/Makefile: Likewise.
35908 * timezone/Makefile: Likewise.
35909 * stdlib/Makefile: Likewise.
35910 * iconvdata/Makefile: Likewise.
35911 * sunrpc/Makefile: Likewise.
35912 * io/Makefile: Likewise.
35913 * argp/Makefile: Likewise.
35914 * inet/Makefile: Likewise.
35915 * hesiod/Makefile: Likewise.
35916 * grp/Makefile: Likewise.
35917 * csu/Makefile: Likewise.
35918 * wctype/Makefile: Likewise.
35919 * crypt/Makefile: Likewise.
35920 * libio/Makefile: Likewise.
35921 * string/Makefile: Likewise.
35922 * nis/Makefile: Likewise.
35923 * resolv/Makefile: Likewise.
35924 * stdio-common/Makefile: Likewise.
35925 * wcsmbs/Makefile: Likewise.
35926 * dlfcn/Makefile: Likewise.
35927 * posix/Makefile: Likewise.
35930 * timezone/Makefile: Don't install timezone files, just the programs
35933 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35935 * nss/databases.def: Add missing gshadow entry.
35937 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35939 2012-03-06 Marek Polacek <polacek@redhat.com>
35942 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35943 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35944 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35945 * stdio-common/tst-long-dbl-fphex.c: New file.
35947 2012-03-06 David S. Miller <davem@davemloft.net>
35949 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35950 (set_obp_int): New function.
35951 (get_obp_int): New function.
35952 (__get_clockfreq_via_dev_openprom): Likewise.
35953 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35954 Avoid unused variable warnings on 'val' and use builtin_expect.
35955 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35957 (INLINE_CLONE_SYSCALL): Likewise.
35959 2012-03-05 David S. Miller <davem@davemloft.net>
35961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35963 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35967 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35968 only for |x| >= 40.
35969 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35971 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35973 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35974 Replace gettimeofday with __vdso_gettimeofday.
35976 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35977 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35978 __vdso_clock_gettime and __vdso_getcpu.
35980 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35981 time with __vdso_time.
35983 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35985 * manual/lang.texi (size_t): Note types to which size_t may be
35986 equivalent with the GNU C Library, but do not describe when
35987 differences between them are significant.
35989 2012-03-05 Andreas Jaeger <aj@suse.de>
35991 * sysdeps/i386/fpu/libm-test-ulps: Update.
35993 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35996 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35997 (__ieee754_pow): Save and restore rounding mode and use
35998 round-to-nearest for main computations.
35999 * math/libm-test.inc (pow_test_tonearest): New function.
36000 (pow_test_towardzero): Likewise.
36001 (pow_test_downward): Likewise.
36002 (pow_test_upward): Likewise.
36003 (main): Call the new functions.
36004 * sysdeps/i386/fpu/libm-test-ulps: Update.
36005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36008 * math/libm-test.inc (cosh_test_tonearest): New function.
36009 (cosh_test_towardzero): Likewise.
36010 (cosh_test_downward): Likewise.
36011 (cosh_test_upward): Likewise.
36012 (sinh_test_tonearest): Likewise.
36013 (sinh_test_towardzero): Likewise.
36014 (sinh_test_downward): Likewise.
36015 (sinh_test_upward): Likewise.
36016 (main): Call the new functions.
36017 * sysdeps/i386/fpu/libm-test-ulps: Update.
36018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36020 2012-03-05 Tom de Vries <tom@codesourcery.com>
36022 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36023 default stack guard is set in last bytes.
36024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36026 2012-03-05 Kees Cook <keescook@chromium.org>
36028 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36031 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36032 possibly allocate from heap instead of stack.
36033 * stdio-common/bug-vfprintf-nargs.c: New file.
36034 * stdio-common/Makefile (tests): Add nargs overflow test.
36036 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36040 2012-03-03 Marek Polacek <polacek@redhat.com>
36042 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36043 * math/math_private.h: Likewise.
36044 * stdlib/tst-strtod.c: Likewise.
36045 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36046 * sysdeps/x86_64/bits/atomic.h: Likewise.
36048 2012-03-02 David S. Miller <davem@davemloft.net>
36050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36054 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36055 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36056 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36057 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36059 2012-03-02 Roland McGrath <roland@hack.frob.com>
36062 * manual/examples/README: New file, says the example source files
36063 can be used under GPL>=2.
36064 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36065 line containing just "*/".
36066 * manual/examples/add.c: Add copyright header (GPL>=2).
36067 * manual/examples/argp-ex1.c: Likewise.
36068 * manual/examples/argp-ex2.c: Likewise.
36069 * manual/examples/argp-ex3.c: Likewise.
36070 * manual/examples/argp-ex4.c: Likewise.
36071 * manual/examples/atexit.c: Likewise.
36072 * manual/examples/db.c: Likewise.
36073 * manual/examples/dir.c: Likewise.
36074 * manual/examples/dir2.c: Likewise.
36075 * manual/examples/execinfo.c: Likewise.
36076 * manual/examples/filecli.c: Likewise.
36077 * manual/examples/filesrv.c: Likewise.
36078 * manual/examples/fmtmsgexpl.c: Likewise.
36079 * manual/examples/genpass.c: Likewise.
36080 * manual/examples/inetcli.c: Likewise.
36081 * manual/examples/inetsrv.c: Likewise.
36082 * manual/examples/isockad.c: Likewise.
36083 * manual/examples/longopt.c: Likewise.
36084 * manual/examples/memopen.c: Likewise.
36085 * manual/examples/memstrm.c: Likewise.
36086 * manual/examples/mkfsock.c: Likewise.
36087 * manual/examples/mkisock.c: Likewise.
36088 * manual/examples/mygetpass.c: Likewise.
36089 * manual/examples/pipe.c: Likewise.
36090 * manual/examples/popen.c: Likewise.
36091 * manual/examples/rprintf.c: Likewise.
36092 * manual/examples/search.c: Likewise.
36093 * manual/examples/select.c: Likewise.
36094 * manual/examples/setjmp.c: Likewise.
36095 * manual/examples/sigh1.c: Likewise.
36096 * manual/examples/sigusr.c: Likewise.
36097 * manual/examples/stpcpy.c: Likewise.
36098 * manual/examples/strdupa.c: Likewise.
36099 * manual/examples/strftim.c: Likewise.
36100 * manual/examples/strncat.c: Likewise.
36101 * manual/examples/subopt.c: Likewise.
36102 * manual/examples/swapcontext.c: Likewise.
36103 * manual/examples/termios.c: Likewise.
36104 * manual/examples/testopt.c: Likewise.
36105 * manual/examples/testpass.c: Likewise.
36106 * manual/examples/timeval_subtract.c: Likewise.
36109 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36111 * manual/timeval_subtract.c.texi: ... here, new file.
36113 2012-03-02 David S. Miller <davem@davemloft.net>
36115 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36117 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36120 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36121 (__sin): Save and restore rounding mode and use round-to-nearest
36122 for all computations.
36123 (__cos): Save and restore rounding mode and use round-to-nearest
36124 for all computations.
36125 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36127 (tan): Save and restore rounding mode and use round-to-nearest for
36129 * math/libm-test.inc (cos_test_tonearest): New function.
36130 (cos_test_towardzero): Likewise.
36131 (cos_test_downward): Likewise.
36132 (cos_test_upward): Likewise.
36133 (sin_test_tonearest): Likewise.
36134 (sin_test_towardzero): Likewise.
36135 (sin_test_downward): Likewise.
36136 (sin_test_upward): Likewise.
36137 (tan_test_tonearest): Likewise.
36138 (tan_test_towardzero): Likewise.
36139 (tan_test_downward): Likewise.
36140 (tan_test_upward): Likewise.
36141 (main): Call the new functions.
36142 * sysdeps/i386/fpu/libm-test-ulps: Update.
36143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36146 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36147 small n, then large n, before computing and testing k+n.
36148 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36149 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36151 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36153 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36154 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36155 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36156 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36157 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36158 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36159 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36160 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36161 * math/libm-test.inc (scalbn_test): Add more tests.
36162 (scalbln_test): Likewise.
36164 * manual/filesys.texi (mode_t): Describe constraints on size and
36165 signedness, not exact equivalence to a particular type.
36167 (ino64_t): Likewise.
36169 (nlink_t): Likewise.
36170 (blkcnt_t): Likewise.
36171 (blkcnt64_t): Likewise.
36172 * manual/llio.texi (off_t): Likewise.
36175 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36176 (__ieee754_exp): Save and restore rounding mode and use
36177 round-to-nearest for all computations.
36178 * math/libm-test.inc (exp_test_tonearest): New function.
36179 (exp_test_towardzero): Likewise.
36180 (exp_test_downward): Likewise.
36181 (exp_test_upward): Likewise.
36182 (main): Call the new functions.
36183 * sysdeps/i386/fpu/libm-test-ulps: Update.
36184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36186 2012-03-01 Chris Demetriou <cgd@google.com>
36188 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36189 have predictable order.
36191 2012-03-01 David S. Miller <davem@davemloft.net>
36193 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36195 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36196 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36197 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36198 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36200 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36201 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36202 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36204 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36205 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36206 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36207 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36208 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36212 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36213 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36214 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36216 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36217 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36218 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36219 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36220 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36223 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36224 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36225 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36226 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36227 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36229 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36230 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36232 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36233 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36234 * sysdeps/sparc/elf/configure: Regenerated.
36236 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36238 * configure.in (AS, LD): Require binutils 2.20 or later.
36239 * configure: Regenerated.
36240 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36241 as required minimum version.
36242 * INSTALL: Regenerated.
36246 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36247 before squaring exponent.
36248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36249 bottom long double and 27 bits of top long double before squaring
36251 * math/libm-test.inc (erfc_test): Add more tests.
36252 * sysdeps/i386/fpu/libm-test-ulps: Update.
36253 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36256 2012-03-01 Kai Tietz <ktietz@redhat.com>
36258 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36259 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36260 containing bit-fields.
36261 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36262 * soft-fp/single.h (_FP_UNION_S): Likewise.
36263 * soft-fp/double.h (_FP_UNION_D): Likewise.
36265 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36268 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36269 not include ../strcmp.S.
36270 [USE_AS_STRNCASECMP_L]: Likewise.
36271 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36272 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36273 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36274 (__strncasecmp_l_ia32): Define as alias to
36275 __strncasecmp_l_nonascii.
36278 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36279 * sysdeps/i386/fpu/libm-test-ulps: Update.
36280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36282 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36285 2012-02-29 Jeff Law <law@redhat.com>
36287 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36288 out of bounds read.
36290 2012-02-29 Marek Polacek <polacek@redhat.com>
36293 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36294 * elf/Makefile: Add rules to run tst-unused-dep.out.
36296 2012-02-28 David S. Miller <davem@davemloft.net>
36298 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36299 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36300 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36301 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36302 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36303 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36305 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36307 * math/libm-test.inc (llround_test): Move one test from
36308 lround_test. Use TEST_f_L in moved test.
36309 (lround_test): Move misplaced test to llround_test. Add testcase
36312 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36314 * sysdeps/x86_64/fpu/e_expf.S: New file.
36315 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36317 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36320 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36321 of remain_len that may cause incomplete multi-byte character and
36323 * posix/bug-regex33.c: New file.
36324 * posix/Makefile (tests): Add bug-regex33.
36326 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36328 * manual/macros.texi: New file.
36329 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36330 * manual/libc.texinfo: Include macros.texi.
36331 * manual/creatute.texi: Likewise.
36332 * manual/install.texi: Likewise.
36333 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36334 @glibcadj{} in references to the GNU C Library.
36335 * manual/charset.texi: Likewise.
36336 * manual/conf.texi: Likewise.
36337 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36338 when not using those macros.
36339 * manual/creature.texi: Likewise.
36340 * manual/crypt.texi: Likewise.
36341 * manual/errno.texi: Likewise.
36342 * manual/filesys.texi: Likewise.
36343 * manual/header.texi: Likewise.
36344 * manual/install.texi: Likewise.
36345 * manual/intro.texi: Likewise.
36346 * manual/io.texi: Likewise.
36347 * manual/job.texi: Likewise.
36348 * manual/lang.texi: Likewise.
36349 * manual/libc.texiinfo: Likewise.
36350 * manual/llio.texi: Likewise.
36351 * manual/locale.texi: Likewise.
36352 * manual/maint.texi: Likewise.
36353 * manual/math.texi: Likewise.
36354 * manual/memory.texi: Likewise.
36355 * manual/message.texi: Likewise.
36356 * manual/nss.texi: Likewise.
36357 * manual/pattern.texi: Likewise.
36358 * manual/process.texi: Likewise.
36359 * manual/resource.texi: Likewise.
36360 * manual/search.texi: Likewise.
36361 * manual/setjmp.texi: Likewise.
36362 * manual/signal.texi: Likewise.
36363 * manual/socket.texi: Likewise.
36364 * manual/startup.texi: Likewise.
36365 * manual/stdio.texi: Likewise.
36366 * manual/string.texi: Likewise.
36367 * manual/sysinfo.texi: Likewise.
36368 * manual/syslog.texi: Likewise.
36369 * manual/terminal.texi: Likewise.
36370 * manual/time.texi: Likewise.
36371 * manual/users.texi: Likewise.
36372 * INSTALL: Regenerated.
36373 * NOTES: Regenerated.
36374 * sysdeps/gnu/errlist.c: Regenerated.
36376 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36378 * include/dirent.h: Include <dirstream.h> before
36381 2012-02-28 David S. Miller <davem@davemloft.net>
36383 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36384 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36385 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36386 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36388 2012-02-27 David S. Miller <davem@davemloft.net>
36390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36392 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36393 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36396 frame pointer instead of stack pointer relative arg slot.
36397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36398 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36399 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36401 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36404 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36406 2012-02-27 David S. Miller <davem@davemloft.net>
36408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36412 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36413 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36414 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36415 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36417 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36419 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36420 later. Allow versions 5-9.
36421 * configure: Regenerated.
36422 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36423 required minimum version and 4.6 as recommended version. Do not
36424 mention bugs in GCC 2.7 and 2.8.
36425 * INSTALL: Regenerated.
36427 2012-02-27 David S. Miller <davem@davemloft.net>
36429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36433 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36434 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36435 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36436 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36439 manipulate bits before adding and subtracting TWO112[sx].
36440 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36442 2012-02-27 Roland McGrath <roland@hack.frob.com>
36445 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36446 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36447 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36448 being in POSIX, because they are in 1003.1-2008.
36450 * rt/tst-aio.c: Include <fcntl.h>.
36451 * rt/tst-aio7.c: Likewise.
36452 * rt/tst-aio64.c: Likewise.
36454 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36456 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36458 * manual/install.texi (--with-headers): Describe headers as
36459 interface headers, not private headers.
36460 (Specific advice for GNU/Linux systems): Describe use of headers
36461 from "make headers_install", not private headers from older
36463 * INSTALL: Regenerated.
36464 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36466 * sysdeps/unix/sysv/linux/configure: Regenerated.
36468 * manual/llio.texi (fclean): Remove documentation.
36470 * manual/Makefile (libc-texi-generated): New variable. Include
36472 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36473 $(libc-texi-generated), not duplicated list of files.
36474 (version.texi, stamp-version): New rules.
36475 (realclean): Remove $(libc-texi-generated), not individual files
36476 from that list. Do not remove dir-add.texinfo.
36477 * manual/libc.texinfo: Comment out uses of edition numbers and
36478 references to printed manual. Remove last-updated dates.
36479 (EDITION): Comment out.
36481 (VERSION, UPDATED): Remove.
36482 (version.texi): Include.
36484 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36486 * sysdeps/posix/spawni.c: Include <signal.h>.
36487 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36488 * sysdeps/pthread/aio_fsync.c: Likewise.
36490 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36492 * conform/Makefile (tests): Run only when not cross-compiling and
36493 when fast-check is not defined.
36495 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36496 * conform/data/limits.h-data: Fixes for POSIX2008.
36497 * conform/run-conformtest.sh: Run all tests.
36498 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36500 * include/bits/dlfcn.h: Likewise.
36501 * include/langinfo.h: Likewise.
36502 * include/monetary.h: Likewise.
36503 * include/sys/poll.h: Likewise.
36505 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36507 * posix/spawn.h: Define __need_sigset_t.
36508 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36509 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36510 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36511 to get sigevent_t only.
36512 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36513 only for __USE_GNU.
36514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36515 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36516 process_vm_writev only for __USE_GNU.
36517 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36519 * conform/Makefile: For now ignore errors from run-conformtest.
36520 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36521 POSIX to avoid namespace pollution. Don't prepend headers.
36522 * conform/data/aio.h-data: Fixes for POSIX testing.
36523 * conform/data/fcntl.h-data: Likewise.
36524 * conform/data/glob.h-data: Likewise.
36525 * conform/data/grp.h-data: Likewise.
36526 * conform/data/pthread.h-data: Likewise.
36527 * conform/data/pwd.h-data: Likewise.
36528 * conform/data/signal.h-data: Likewise.
36529 * conform/data/spawn.h-data: Likewise.
36530 * conform/data/stdio.h-data: Likewise.
36531 * conform/data/stdlib.h-data: Likewise.
36532 * conform/data/stropts.h-data: Likewise.
36533 * conform/data/sys/mman.h-data: Likewise.
36534 * conform/data/sys/stat.h-data: Likewise.
36535 * conform/data/sys/types.h-data: Likewise.
36536 * conform/data/sys/wait.h-data: Likewise.
36537 * conform/data/time.h-data: Likewise.
36538 * conform/data/unistd.h-data: Likewise.
36539 * conform/data/utime.h-data: Likewise.
36541 * io/sys/stat.h: fchmod was always in POSIX.
36542 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36543 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36544 * rt/aio.h: Define __need_timespec before including <time.h>.
36545 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36546 struct. Add forward declaration of pthread_attr_t and use it in
36548 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36549 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36550 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36551 always remove CLK_TCK definition.
36553 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36555 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36557 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36559 * conform/run-conformtest.sh: New file.
36560 * conform/Makefile: Run run-conformtest for tests.
36561 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36564 * conform/data/uchar.h-data: New file.
36565 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36566 * conform/data/arpa/inet.h-data: Likewise.
36567 * conform/data/assert.h-data: Likewise.
36568 * conform/data/complex.h-data: Likewise.
36569 * conform/data/cpio.h-data: Likewise.
36570 * conform/data/ctype.h-data: Likewise.
36571 * conform/data/dirent.h-data: Likewise.
36572 * conform/data/dlfcn.h-data: Likewise.
36573 * conform/data/errno.h-data: Likewise.
36574 * conform/data/fcntl.h-data: Likewise.
36575 * conform/data/float.h-data: Likewise.
36576 * conform/data/fmtmsg.h-data: Likewise.
36577 * conform/data/fnmatch.h-data: Likewise.
36578 * conform/data/ftw.h-data: Likewise.
36579 * conform/data/glob.h-data: Likewise.
36580 * conform/data/grp.h-data: Likewise.
36581 * conform/data/iconv.h-data: Likewise.
36582 * conform/data/inttypes.h-data: Likewise.
36583 * conform/data/langinfo.h-data: Likewise.
36584 * conform/data/libgen.h-data: Likewise.
36585 * conform/data/limits.h-data: Likewise.
36586 * conform/data/locale.h-data: Likewise.
36587 * conform/data/math.h-data: Likewise.
36588 * conform/data/monetary.h-data: Likewise.
36589 * conform/data/mqueue.h-data: Likewise.
36590 * conform/data/ndbm.h-data: Likewise.
36591 * conform/data/net/if.h-data: Likewise.
36592 * conform/data/netdb.h-data: Likewise.
36593 * conform/data/netinet/in.h-data: Likewise.
36594 * conform/data/nl_types.h-data: Likewise.
36595 * conform/data/poll.h-data: Likewise.
36596 * conform/data/pthread.h-data: Likewise.
36597 * conform/data/pwd.h-data: Likewise.
36598 * conform/data/regex.h-data: Likewise.
36599 * conform/data/sched.h-data: Likewise.
36600 * conform/data/search.h-data: Likewise.
36601 * conform/data/semaphore.h-data: Likewise.
36602 * conform/data/setjmp.h-data: Likewise.
36603 * conform/data/signal.h-data: Likewise.
36604 * conform/data/spawn.h-data: Likewise.
36605 * conform/data/stdarg.h-data: Likewise.
36606 * conform/data/stdio.h-data: Likewise.
36607 * conform/data/stdlib.h-data: Likewise.
36608 * conform/data/string.h-data: Likewise.
36609 * conform/data/strings.h-data: Likewise.
36610 * conform/data/stropts.h-data: Likewise.
36611 * conform/data/sys/ipc.h-data: Likewise.
36612 * conform/data/sys/mman.h-data: Likewise.
36613 * conform/data/sys/msg.h-data: Likewise.
36614 * conform/data/sys/resource.h-data: Likewise.
36615 * conform/data/sys/select.h-data: Likewise.
36616 * conform/data/sys/sem.h-data: Likewise.
36617 * conform/data/sys/shm.h-data: Likewise.
36618 * conform/data/sys/socket.h-data: Likewise.
36619 * conform/data/sys/stat.h-data: Likewise.
36620 * conform/data/sys/statvfs.h-data: Likewise.
36621 * conform/data/sys/time.h-data: Likewise.
36622 * conform/data/sys/timeb.h-data: Likewise.
36623 * conform/data/sys/times.h-data: Likewise.
36624 * conform/data/sys/types.h-data: Likewise.
36625 * conform/data/sys/uio.h-data: Likewise.
36626 * conform/data/sys/un.h-data: Likewise.
36627 * conform/data/sys/utsname.h-data: Likewise.
36628 * conform/data/sys/wait.h-data: Likewise.
36629 * conform/data/syslog.h-data: Likewise.
36630 * conform/data/tar.h-data: Likewise.
36631 * conform/data/termios.h-data: Likewise.
36632 * conform/data/utime.h-data: Likewise.
36633 * conform/data/utmpx.h-data: Likewise.
36634 * conform/data/varargs.h-data: Likewise.
36635 * conform/data/wchar.h-data: Likewise.
36636 * conform/data/wctype.h-data: Likewise.
36637 * conform/data/wordexp.h-data: Likewise.
36639 * include/stropts.h: New file.
36640 * include/uchar.h: New file.
36641 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36642 * include/assert.h: Likewise.
36643 * include/ctype.h: Likewise.
36644 * include/dirent.h: Likewise.
36645 * include/dlfcn.h: Likewise.
36646 * include/fcntl.h: Likewise.
36647 * include/fnmatch.h: Likewise.
36648 * include/glob.h: Likewise.
36649 * include/grp.h: Likewise.
36650 * include/libio.h: Likewise.
36651 * include/locale.h: Likewise.
36652 * include/math.h: Likewise.
36653 * include/net/if.h: Likewise.
36654 * include/netdb.h: Likewise.
36655 * include/netinet/in.h: Likewise.
36656 * include/pthread.h: Likewise.
36657 * include/pwd.h: Likewise.
36658 * include/regex.h: Likewise.
36659 * include/sched.h: Likewise.
36660 * include/search.h: Likewise.
36661 * include/setjmp.h: Likewise.
36662 * include/signal.h: Likewise.
36663 * include/stdio.h: Likewise.
36664 * include/stdlib.h: Likewise.
36665 * include/string.h: Likewise.
36666 * include/sys/cdefs.h: Likewise.
36667 * include/sys/mman.h: Likewise.
36668 * include/sys/msg.h: Likewise.
36669 * include/sys/resource.h: Likewise.
36670 * include/sys/select.h: Likewise.
36671 * include/sys/socket.h: Likewise.
36672 * include/sys/stat.h: Likewise.
36673 * include/sys/statvfs.h: Likewise.
36674 * include/sys/time.h: Likewise.
36675 * include/sys/times.h: Likewise.
36676 * include/sys/uio.h: Likewise.
36677 * include/sys/utsname.h: Likewise.
36678 * include/sys/wait.h: Likewise.
36679 * include/termios.h: Likewise.
36680 * include/time.h: Likewise.
36681 * include/ulimit.h: Likewise.
36682 * include/unistd.h: Likewise.
36683 * include/utime.h: Likewise.
36684 * include/wchar.h: Likewise.
36685 * include/wctype.h: Likewise.
36686 * include/wordexp.h: Likewise.
36688 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36690 * time/time.h: TIME_UTC must be a macro.
36691 Make timespec_get available for ISO C11 only as well.
36693 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36695 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36696 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36698 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36700 * configure.in: Use -o not -a in test for unsupported multi-arch.
36702 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36704 * manual/texinfo.tex: Update to version 2012-01-19.16.
36706 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36708 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36710 2012-02-24 Roland McGrath <roland@hack.frob.com>
36713 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36714 * manual/fdl-1.3.texi: New file.
36715 * manual/fdl-1.1.texi: File removed.
36718 * manual/libc.texinfo (FDL_VERSION): New @set.
36719 Use it for mention of FDL in cover text.
36720 (Documentation License): Use it in @include file name.
36722 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36723 Roland McGrath <roland@hack.frob.com>
36726 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36727 (not LONG_LONG_MAX and LONG_LONG_MIN.
36728 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36729 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36731 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36733 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36737 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36738 manipulate bits before adding and subtracting TWO23[sx].
36739 * math/libm-test.inc (nearbyint_test): Add more tests.
36741 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36744 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36745 bits before adding and subtracting TWO23[sx].
36746 * math/libm-test.inc (rint_test): Add more tests.
36747 (rint_test_tonearest): Likewise.
36748 (rint_test_towardzero): Likewise.
36749 (rint_test_downward): Likewise.
36750 (rint_test_upward: Likewise.
36752 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36755 * include/stdc-predef.h: New file. Extracted from features.h.
36756 * include/features.h: Include stdc-predef.h.
36757 * Makefile (headers): Add stdc-predef.h.
36758 * CONFORMANCE (Compiler limitations): Update.
36760 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36762 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36764 2012-02-21 David S. Miller <davem@davemloft.net>
36766 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36767 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36769 2012-02-20 David S. Miller <davem@davemloft.net>
36771 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36772 using a normal save/restore sequence, rather than allocating a
36773 dummy stack frame just to store a frame pointer and restore.
36774 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36776 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36778 * manual/install.texi: Fix stray word in line-wrapped comment.
36780 2012-02-20 David S. Miller <davem@davemloft.net>
36782 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36783 both binutils and gcc support GOTDATA.
36785 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36786 "rd %pc" in the PIC register setup sequences.
36788 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36789 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36790 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36791 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36792 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36794 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36795 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36797 (SYSCALL_ERROR_HANDLER): Likewise.
36798 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36799 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36801 (SYSCALL_ERROR_HANDLER): Likewise.
36803 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36804 (HAVE_GCC_GOTDATA): New.
36805 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36806 relocation support in both binutils and gcc.
36807 * sysdeps/sparc/elf/configure: Regenerate.
36809 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36810 * sysdeps/sparc/sparc32/elf/configure: Delete.
36811 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36812 * sysdeps/sparc/sparc64/elf/configure: Delete.
36813 * sysdeps/sparc/elf/configure.in: New file.
36814 * sysdeps/sparc/elf/configure: Generate.
36816 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36817 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36818 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36819 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36820 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36822 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36824 * manual/install.texi: Do not mention specific glibc version
36826 * manual/libc.texinfo (VERSION, UPDATED): Update.
36827 (@copying): Use @copyright{} and range of years.
36829 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36832 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36833 [crti.S not in sysdirs] (generated): Do not append.
36834 [crti.S not in sysdirs] (omit-deps): Likewise.
36835 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36836 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36837 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36838 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36839 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36841 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36842 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36843 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36844 * csu/defs.awk: Remove file.
36845 * sysdeps/generic/initfini.c: Likewise.
36846 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36848 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36851 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36853 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36854 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36855 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36856 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36857 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36858 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36860 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36861 (__EPOLL_PACKED): Define to empty if not defined by
36863 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36867 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36869 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36870 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36871 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36872 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36874 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36878 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36880 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36882 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36883 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36887 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36889 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36890 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36892 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36894 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36895 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36897 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36899 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36902 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36904 * math/w_acos.c: Use non-signaling floating-point comparisons.
36905 * math/w_acosf.c: Likewise.
36906 * math/w_acosh.c: Likewise.
36907 * math/w_acoshf.c: Likewise.
36908 * math/w_acoshl.c: Likewise.
36909 * math/w_acosl.c: Likewise.
36910 * math/w_asin.c: Likewise.
36911 * math/w_asinf.c: Likewise.
36912 * math/w_asinl.c: Likewise.
36913 * math/w_atanh.c: Likewise.
36914 * math/w_atanhf.c: Likewise.
36915 * math/w_atanhl.c: Likewise.
36916 * math/w_exp2.c: Likewise.
36917 * math/w_exp2f.c: Likewise.
36918 * math/w_exp2l.c: Likewise.
36919 * math/w_j0.c: Likewise.
36920 * math/w_j0f.c: Likewise.
36921 * math/w_j0l.c: Likewise.
36922 * math/w_j1.c: Likewise.
36923 * math/w_j1f.c: Likewise.
36924 * math/w_j1l.c: Likewise.
36925 * math/w_jn.c: Likewise.
36926 * math/w_jnf.c: Likewise.
36927 * math/w_log.c: Likewise.
36928 * math/w_log10.c: Likewise.
36929 * math/w_log10f.c: Likewise.
36930 * math/w_log10l.c: Likewise.
36931 * math/w_log2.c: Likewise.
36932 * math/w_log2f.c: Likewise.
36933 * math/w_log2l.c: Likewise.
36934 * math/w_logf.c: Likewise.
36935 * math/w_logl.c: Likewise.
36936 * math/w_sqrt.c: Likewise.
36937 * math/w_sqrtf.c: Likewise.
36938 * math/w_sqrtl.c: Likewise.
36939 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36940 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36941 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36942 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36943 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36945 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36948 * manual/string.texi (strnlen): Use correct parameter name in
36949 equivalent expression.
36951 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36954 * manual/users.texi (seteuid): Consistently use neweuid for
36957 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36960 * manual/nss.texi (Services in the NSS configuration): Correct
36961 list of services in example configuration file.
36963 2012-02-19 Nick Bowler <nbowler@draconx.ca>
36966 * manual/arith.texi: Remove statements about negative zero
36967 behaving identically to zero.
36969 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36972 * manual/install.texi: Do not document upgrading from libc5.
36974 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36977 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36979 2012-02-18 David S. Miller <davem@davemloft.net>
36981 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36982 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36983 %o7 across the call.
36984 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36987 SETUP_PIC_REG_LEAF.
36988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36989 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36990 * sysdeps/sparc/crtn.S: Likewise.
36992 2012-02-17 Ulrich Drepper <drepper@gmail.com>
36994 * aout/Makefile: Remove.
36996 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36999 * manual/examples/argp-ex1.c (main): Format definition in GNU
37001 * manual/examples/argp-ex2.c (main): Likewise.
37002 * manual/examples/argp-ex3.c (main): Likewise.
37003 * manual/examples/argp-ex4.c (main): Likewise.
37004 * manual/examples/longopt.c (main): Use new-style prototype
37006 * manual/examples/strncat.c (main): Specify return type and use
37007 (void) for arguments.
37008 * manual/examples/subopt.c (main): Use char **argv argument.
37010 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37013 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37016 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37019 * manual/string.texi (strchr): Change when strchrnul is
37022 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37025 * manual/locale.texi (setlocale): Document LOCPATH.
37027 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37030 * manual/process.texi (execle): Move @dots{} before last argument.
37032 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37035 * manual/charset.texi (Generic Charset Conversion): Fix typo
37036 (LC_TYPE -> LC_CTYPE).
37038 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37041 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37042 (scalbnf): Likewise.
37043 (scalbnl): Likewise.
37044 (scalbln): Likewise.
37045 (scalblnf): Likewise.
37046 (scalblnl): Likewise.
37047 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37048 (vwarnx): Likewise.
37051 * manual/filesys.texi (telldir): Use braces around return type.
37052 * manual/llio.texi (mmap): Add space after comma.
37053 (mmap64): Likewise.
37054 * manual/math.texi (jn): Use @var{} on parameter names.
37060 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37062 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37064 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37065 (sched_get_priority_max): Likewise.
37066 * manual/signal.texi (sigvec): Add space after comma.
37067 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37069 (if_indextoname): Likewise.
37070 (if_freenameindex): Likewise.
37071 (sendto): Use ',' instead of '.' in prototype.
37072 * manual/startup.texi (syscall): Use @dots{} instead of literal
37074 * manual/stdio.texi (__fpending): Separate initial words of
37075 paragraph from @deftypefun line.
37076 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37078 (vsyslog): Use @var{} on parameter names.
37079 * manual/terminal.texi (stty): Use @var{} on parameter names.
37080 * manual/users.texi (getutmp): Use @var{} on parameter names.
37081 (getutmpx): Likewise.
37083 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37086 * manual/stdio.texi (fopen): Fix typos in description of
37089 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37092 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37093 get clock_id definition.
37095 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37098 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37099 (madvise): Cast every argument to void on its own.
37101 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37104 * manual/startup.texi (Exit Status): Fix typo.
37106 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37109 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37110 * manual/examples/argp-ex2.c: Likewise.
37111 * manual/examples/argp-ex3.c: Likewise.
37113 2012-02-16 Richard Henderson <rth@redhat.com>
37115 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37116 * sysdeps/s390/s390-32/initfini.c: Remove.
37117 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37118 * sysdeps/s390/s390-64/initfini.c: Remove.
37120 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37122 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37123 compiler output for sysdeps/generic/initfini.c.
37124 * sysdeps/sh/elf/initfini.c: Remove file.
37126 2012-02-16 David S. Miller <davem@davemloft.net>
37129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37131 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37132 * sysdeps/sparc/crti.S: New file.
37133 * sysdeps/sparc/crtn.S: New file.
37134 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37135 * sysdeps/sparc/sparc64/Makefile: Likewise.
37137 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37140 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37142 2012-02-15 Roland McGrath <roland@hack.frob.com>
37145 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37147 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37148 (write, read, close): Likewise.
37149 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37151 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37153 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37154 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37155 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37156 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37158 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37162 2012-02-14 Marek Polacek <polacek@redhat.com>
37164 * sysdeps/x86_64/crti.S: New file.
37165 * sysdeps/x86_64/crtn.S: New file.
37166 * sysdeps/x86_64/elf/initfini.c: Remove file.
37168 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37170 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37171 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37172 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37173 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37175 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37179 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37181 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37182 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37183 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37184 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37186 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37190 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37192 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37193 __feraiseexcept instead of feraiseexcept.
37195 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37196 nanosleep invocations.
37197 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37198 strings, and add error checking for a nanosleep invocations.
37200 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37202 Replace FSF snail mail address with URLs, as per GNU coding standards.
37203 Most of the snail mail addresses were wrong anyway, and omitting
37204 them makes the source code easier to maintain. Almost all of the
37205 changes are to license notices and to locale LC_IDENTIFICATION
37206 addresses, except for this one:
37207 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37208 not its snail mail address.
37210 2012-02-09 Richard Henderson <rth@twiddle.net>
37212 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37213 of kernel-features.h.
37215 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37217 2012-02-08 Marek Polacek <polacek@redhat.com>
37219 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37220 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37221 * sysdeps/gnu/_G_config.h: Likewise.
37222 * sysdeps/generic/_G_config.h: Likewise.
37224 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37226 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37230 * sysdeps/powerpc/powerpc32/crti.S: New file.
37231 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37232 * sysdeps/powerpc/powerpc64/crti.S: New file.
37233 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37235 * Makeconfig (have-initfini): Don't set.
37236 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37237 * configure.in (nopic_initfini): Don't substitute.
37238 * config.h.in (HAVE_INITFINI): Don't #undef.
37239 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37240 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37242 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37244 Support crti.S and crtn.S provided directly by architectures.
37245 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37246 [crti.S in sysdirs] (omit-deps): Likewise.
37247 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37248 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37249 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37250 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37251 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37252 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37253 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37254 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37255 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37256 compiler output for sysdeps/generic/initfini.c.
37257 * sysdeps/i386/elf/Makefile: Remove file.
37258 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37260 2012-02-07 Marek Polacek <polacek@redhat.com>
37262 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37263 * sysdeps/gnu/_G_config.h: Likewise.
37264 * sysdeps/mach/hurd/_G_config.h: Likewise.
37266 2012-02-07 Marek Polacek <polacek@redhat.com>
37268 * math/Makefile (tests): Add tst-CMPLX2.
37269 * math/tst-CMPLX2.c: New file.
37271 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37273 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37275 * math/libm-test.inc (jn_test): Add missing L suffix.
37277 2012-02-06 Marek Polacek <polacek@redhat.com>
37279 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37280 * sysdeps/i386/fpu/e_powf.S: Likewise.
37281 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37282 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37284 * sysdeps/i386/fpu/e_pow.S: Likewise.
37285 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37286 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37287 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37288 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37289 * sysdeps/i386/fpu/e_log2.S: Likewise.
37290 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37291 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37292 * sysdeps/i386/fpu/e_powl.S: Likewise.
37293 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37294 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37295 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37296 * sysdeps/i386/fpu/e_logl.S: Likewise.
37297 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37298 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37299 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37300 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37301 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37302 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37303 * sysdeps/i386/fpu/e_log.S: Likewise.
37304 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37305 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37306 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37307 * sysdeps/i386/fpu/e_logf.S: Likewise.
37308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37309 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37310 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37311 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37312 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37313 * sysdeps/i386/fpu/e_log10.S: Likewise.
37314 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37315 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37316 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37317 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37318 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37319 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37320 * sysdeps/i386/asm-syntax.h: Likewise.
37321 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37322 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37323 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37324 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37325 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37326 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37327 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37328 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37329 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37330 * sysdeps/powerpc/sysdep.h: Likewise.
37331 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37332 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37334 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37337 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37339 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37341 * sysdeps/i386/sysdep.h: Include <features.h>.
37342 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37345 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37347 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37349 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37352 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37354 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37355 (SETUP_PIC_REG): Use GET_PC_THUNK.
37356 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37359 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37361 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37362 for non-PIC compilation.
37363 (SETUP_PIC_REG): Add .p2align directive.
37364 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37365 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37366 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37367 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37368 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37369 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37370 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37371 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37372 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37373 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37374 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37375 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37376 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37377 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37378 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37379 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37380 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37381 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37382 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37383 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37384 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37385 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37386 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37387 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37388 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37390 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37391 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37392 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37393 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37394 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37395 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37396 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37397 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37398 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37399 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37400 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37401 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37402 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37403 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37404 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37406 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37408 * math/tst-CMPLX.c: Include <stdio.h>.
37410 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37412 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37414 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37415 * sysdeps/sparc/bits/mathdef.h: Likewise.
37417 2012-01-31 Marek Polacek <polacek@redhat.com>
37419 * libio/libio.h: Don't define _PARAMS.
37420 * locale/programs/config.h: Don't define PARAMS.
37421 * stdlib/strtol_l.c: Likewise.
37422 (__strtol_l): Remove PARAMS from the prototype.
37424 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37426 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37427 names. Just use the correct names. Remove unnecessary wrapper
37429 * malloc/arena.c: Likewise.
37430 * malloc/hooks.c: Likewise.
37432 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37433 ARENA_TEST says not to. Simplify test for creation of a new arena.
37434 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37436 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37438 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37440 (update_get_addr): New function.
37441 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37442 GET_ADDR_MODULE parameter.
37444 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37446 * crypt/cert.c: Remove __STDC__ conditionals.
37447 * crypt/crypt-entry.c: Likewise.
37448 * crypt/crypt_util.c: Likewise.
37449 * libio/filedoalloc.c: Likewise.
37450 * libio/fileops.c: Likewise.
37451 * libio/genops.c: Likewise.
37452 * libio/iofclose.c: Likewise.
37453 * libio/iofdopen.c: Likewise.
37454 * libio/iofopen.c: Likewise.
37455 * libio/iofopen64.c: Likewise.
37456 * libio/iogetdelim.c: Likewise.
37457 * libio/iopopen.c: Likewise.
37458 * libio/obprintf.c: Likewise.
37459 * libio/oldfileops.c: Likewise.
37460 * libio/oldiofclose.c: Likewise.
37461 * libio/oldiofdopen.c: Likewise.
37462 * libio/oldiofopen.c: Likewise.
37463 * libio/oldiopopen.c: Likewise.
37464 * libio/wfiledoalloc.c: Likewise.
37465 * libio/wgenops.c: Likewise.
37466 * locale/programs/xmalloc.c: Likewise.
37467 * misc/syslog.c: Likewise.
37468 * stdio-common/xbug.c: Likewise.
37469 * string/memchr.c: Likewise.
37470 * string/memcmp.c: Likewise.
37471 * string/memrchr.c: Likewise.
37472 * string/rawmemchr.c: Likewise.
37473 * sysdeps/posix/getcwd.c: Likewise.
37474 * time/strftime_l.c: Likewise.
37476 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37478 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37479 * config.make.in (config-cflags-sse2avx): Define.
37480 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37483 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37485 * scripts/config.guess: Update from upstream config git repository.
37486 * scripts/config.sub: Likewise.
37488 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37490 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37492 (R_TILEPRO_*, R_TILEGX_*): New macros.
37494 * scripts/firstversions.awk: Fix bug in version range handling.
37496 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37498 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37500 * include/sys/epoll.h: New file.
37501 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37504 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37506 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37507 Avoid unnecessary __WORDSIZE == 64 test.
37508 (fmaxf): Use VEX format if possible.
37513 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37514 * math/math_private.h: Remove libc_fegetround* and
37516 * sysdeps/i386/configure.in: Check for -msse2avx.
37517 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37518 also if SSE2AVX is defined.
37519 Remove libc_fegetround* and libc_fesetround*.
37520 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37521 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37522 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37524 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37525 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37526 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37527 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37528 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37530 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37532 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37534 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37536 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37538 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37541 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37543 * Makeconfig (libm): Define.
37544 * elf/Makefile: Add rules to build and run tst-relsort1.
37545 * elf/tst-relsort1.c: New file.
37546 * elf/tst-relsort1mod1.c: New file.
37547 * elf/tst-relsort1mod2.c: New file.
37549 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37551 * math/s_ldexp.c: Remove __STDC__ conditionals.
37552 * math/s_ldexpf.c: Likewise.
37553 * math/s_ldexpl.c: Likewise.
37554 * math/s_nextafter.c: Likewise.
37555 * math/s_nexttowardf.c: Likewise.
37556 * math/s_significand.c: Likewise.
37557 * math/s_significandf.c: Likewise.
37558 * math/s_significandl.c: Likewise.
37559 * math/w_jnl.c: Likewise.
37560 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37561 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37562 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37563 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37564 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37579 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37580 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37581 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37582 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37583 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37584 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37585 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37586 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37587 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37588 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37589 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37590 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37591 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37592 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37593 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37594 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37595 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37596 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37597 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37598 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37599 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37600 * sysdeps/ieee754/k_standard.c: Likewise.
37601 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37602 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37603 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37604 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37605 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37606 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37607 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37608 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37609 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37610 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37611 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37612 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37613 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37614 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37615 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37616 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37617 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37618 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37619 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37620 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37621 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37622 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37623 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37624 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37625 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37626 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37627 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37628 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37630 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37631 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37632 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37633 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37634 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37635 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37636 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37637 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37638 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37639 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37640 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37641 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37642 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37643 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37644 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37645 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37646 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37647 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37648 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37649 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37650 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37651 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37652 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37653 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37654 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37655 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37656 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37657 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37658 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37659 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37660 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37661 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37662 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37663 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37664 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37665 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37666 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37667 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37668 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37669 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37670 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37672 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37673 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37674 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37675 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37676 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37677 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37678 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37679 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37680 * sysdeps/ieee754/s_matherr.c: Likewise.
37681 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37682 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37686 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37688 * crypt/md5.h: Remove __STDC__ conditionals.
37689 * libio/libioP.h: Likewise.
37690 * locale/programs/config.h: Likewise.
37691 * sysdeps/generic/sysdep.h: Likewise.
37692 * sysdeps/i386/asm-syntax.h: Likewise.
37693 * sysdeps/s390/asm-syntax.h: Likewise.
37694 * sysdeps/unix/sysdep.h: Likewise.
37695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37698 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37700 * libio/libio.h: Remove __STDC__ conditionals.
37701 * malloc/obstack.h: Likewise.
37702 * math/complex.h: Likewise.
37703 * math/math.h: Likewise.
37704 * sysdeps/generic/_G_config.h: Likewise.
37705 * sysdeps/gnu/_G_config.h: Likewise.
37706 * sysdeps/mach/hurd/_G_config.h: Likewise.
37707 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37708 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37709 * sysdeps/sparc/bits/mathdef.h: Likewise.
37711 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37714 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37715 Clean up HAS_* macros.
37716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37717 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37719 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37721 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37722 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37724 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37725 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37727 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37729 * elf/tst-unique3.cc (gets): Remove declaration.
37730 * elf/tst-unique3lib.cc (gets): Likewise.
37731 * elf/tst-unique3lib2.cc (gets): Likewise.
37732 * elf/tst-unique4.cc (gets): Likewise.
37734 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37736 * include/stdio.h: Add C++ protection. Add gets declarations and
37738 * debug/tst-chk1.c: Don't declare gets here.
37739 * stdio-common/tst-gets.c: Likewise.
37741 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37743 * posix/glob: Remove directory.
37745 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37747 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37749 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37751 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37752 of the non-standard EPFNOSUPPORT.
37754 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37756 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37757 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37758 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37760 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37762 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37764 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37766 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37768 * nscd/grpcache.c (cache_addgr): Likewise.
37769 * nscd/hstcache.c (cache_addhst): Likewise.
37770 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37771 * nscd/pwdcache.c (cache_addpw): Likewise.
37772 * nscd/servicescache.c (cache_addserv): Likewise.
37774 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37776 * malloc/malloc.c: Various cleanups.
37777 * malloc/hooks.c: Likewise.
37779 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37780 * stdlib/bug-fmtmsg1.c: New file.
37782 * stdlib/fmtmsg.c (init): Add missing unlock.
37783 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37785 2012-01-12 Marek Polacek <polacek@redhat.com>
37787 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37790 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37792 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37793 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37794 macro to ensure uniqueness of label name.
37795 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37796 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37798 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37800 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37802 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37803 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37804 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37805 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37807 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37809 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37811 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37812 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37813 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37815 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37817 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37818 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37819 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37822 * math/bits/math-finite.h: Add ldexp support.
37824 2012-01-10 Marek Polacek <polacek@redhat.com>
37826 * locale/programs/localedef.h (show_archive_content): Add noreturn
37829 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37831 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37833 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37835 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37837 * io/Makefile (headers): Add bits/poll2.h.
37839 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37842 typo #include statement.
37844 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37846 * include/sys/cdefs.h: Define __attribute_alloc_size.
37847 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37848 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37849 * elf/pldd.c: Likewise.
37850 * iconv/iconv_charmap.c: Likewise.
37851 * iconv/iconvconfig.c: Likewise.
37852 * iconv/strtab.c: Likewise.
37853 * locale/programs/locale.c: Likewise.
37854 * locale/programs/localedef.h: Likewise.
37855 * locale/programs/simple-hash.c: Likewise.
37856 * nscd/nscd.h: Likewise.
37857 * nss/makedb.c: Likewise.
37858 * sysdeps/generic/ldconfig.h: Likewise.
37859 * locale/programs/localedef.c: Remove xmalloc prototype.
37860 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37862 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37864 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37867 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37869 * math/Makefile (tests): Add tst-CMPLX.
37870 * math/tst-CMPLX.c: New file.
37872 * math/complex.h (CMPLXL): Fix typo.
37874 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37875 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37877 * debug/tst-chk1.c: Add poll and ppoll tests.
37878 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37879 * include/sys/poll.h: Add hidden proto for ppoll.
37880 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37881 * sysdeps/mach/hurd/ppoll.c: Likewise.
37882 * io/ppoll.c: Likewise.
37883 * debug/poll_chk.c: New file.
37884 * debug/ppoll_chk.c: New file.
37885 * include/bits/poll2.h: New file.
37886 * io/bits/poll2.h: New file.
37889 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37891 * configure.in: static is always set to yes. Remove.
37892 * config.make.in: Don't set build-static.
37893 * Makeconfig: Remove use of build-static.
37894 * dlfcn/Makefile: Likewise.
37895 * elf/Makefile: Likewise.
37896 * math/Makefile: Likewise.
37897 * misc/Makefile: Likewise.
37898 * nptl/Makefile: Likewise.
37899 * sysdeps/mach/hurd/Makefile: Likewise.
37901 * configure.in: PWD_P is not used anymore.
37902 * config.make.in: Remove PWD_P entry.
37904 * configure.in: Remove last remnants of RANLIB.
37905 No need to check for signed size_t anymore.
37906 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37908 Remove __builtin_expect test because we require at least gcc 3.4.
37909 * aclocal.m4: Likewise.
37911 * wcsmbs/mbrtoc16.c: Implement using towc function.
37912 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37913 * wcsmbs/wcsmbsload.c: Likewise.
37914 * iconv/gconv_simple.c: Likewise.
37915 * iconv/gconv_int.h: Likewise.
37916 * iconv/gconv_builtin.h: Likewise.
37917 * iconv/iconv_prog.c: Remove CHAR16 handling.
37919 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37921 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37923 * configure.in: Remove --with-elf and --enable-bounded options.
37924 Dont set base_machine for ia64. More non-ELF conditions removed.
37925 Remove testing and setting of leading underscore information.
37926 * config.make.in (build-bounded): Set to no.
37927 * config.h.in: Remove NO_UNDERSCORES entry.
37928 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37930 * csu/start.c: Remove !NO_UNDERSCORE code.
37931 * locale/localeinfo.h: Likewise.
37932 * sysdeps/generic/machine-gmon.h: Likewise.
37933 * sysdeps/generic/sysdep.h: Likewise.
37934 * sysdeps/i386/sysdep.h: Likewise.
37935 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37936 * sysdeps/mach/sysdep.h: Likewise.
37937 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37938 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37939 * sysdeps/sh/sysdep.h: Likewise.
37940 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37941 * sysdeps/unix/i386/sysdep.S: Likewise.
37942 * sysdeps/unix/sparc/start.c: Likewise.
37943 * sysdeps/unix/sparc/sysdep.S: Likewise.
37944 * sysdeps/unix/sparc/sysdep.h: Likewise.
37945 * sysdeps/unix/start.c: Likewise.
37946 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37947 * sysdeps/x86_64/sysdep.h: Likewise.
37949 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37952 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37954 * argp/argp-fmtstream.h: Use const instead __const.
37955 * argp/argp.h: Likewise.
37956 * assert/assert.h: Likewise.
37957 * bits/fenv.h: Likewise.
37958 * bits/sched.h: Likewise.
37959 * bits/sigset.h: Likewise.
37960 * bits/sigthread.h: Likewise.
37961 * catgets/nl_types.h: Likewise.
37962 * conform/data/pthread.h-data: Likewise.
37963 * crypt/crypt-private.h: Likewise.
37964 * crypt/crypt.h: Likewise.
37965 * crypt/crypt_util.c: Likewise.
37966 * ctype/ctype.h: Likewise.
37967 * debug/execinfo.h: Likewise.
37968 * debug/mbsnrtowcs_chk.c: Likewise.
37969 * debug/mbsrtowcs_chk.c: Likewise.
37970 * debug/wcsnrtombs_chk.c: Likewise.
37971 * debug/wcsrtombs_chk.c: Likewise.
37972 * debug/wcstombs_chk.c: Likewise.
37973 * dirent/dirent.h: Likewise.
37974 * dlfcn/dlfcn.h: Likewise.
37975 * elf/neededtest4.c: Likewise.
37976 * grp/grp.h: Likewise.
37977 * gshadow/gshadow.h: Likewise.
37978 * iconv/gconv.h: Likewise.
37979 * iconv/gconv_int.h: Likewise.
37980 * iconv/gconv_simple.c: Likewise.
37981 * iconv/iconv.h: Likewise.
37982 * iconv/loop.c: Likewise.
37983 * iconv/skeleton.c: Likewise.
37984 * include/aio.h: Likewise.
37985 * include/aliases.h: Likewise.
37986 * include/argz.h: Likewise.
37987 * include/arpa/inet.h: Likewise.
37988 * include/assert.h: Likewise.
37989 * include/dirent.h: Likewise.
37990 * include/dlfcn.h: Likewise.
37991 * include/execinfo.h: Likewise.
37992 * include/fcntl.h: Likewise.
37993 * include/fenv.h: Likewise.
37994 * include/glob.h: Likewise.
37995 * include/grp.h: Likewise.
37996 * include/libintl.h: Likewise.
37997 * include/mntent.h: Likewise.
37998 * include/netdb.h: Likewise.
37999 * include/pwd.h: Likewise.
38000 * include/rpc/netdb.h: Likewise.
38001 * include/sched.h: Likewise.
38002 * include/search.h: Likewise.
38003 * include/shadow.h: Likewise.
38004 * include/signal.h: Likewise.
38005 * include/stdio.h: Likewise.
38006 * include/stdlib.h: Likewise.
38007 * include/string.h: Likewise.
38008 * include/sys/socket.h: Likewise.
38009 * include/sys/stat.h: Likewise.
38010 * include/sys/statfs.h: Likewise.
38011 * include/sys/statvfs.h: Likewise.
38012 * include/sys/syslog.h: Likewise.
38013 * include/sys/time.h: Likewise.
38014 * include/sys/uio.h: Likewise.
38015 * include/time.h: Likewise.
38016 * include/unistd.h: Likewise.
38017 * include/utmp.h: Likewise.
38018 * include/wchar.h: Likewise.
38019 * include/wctype.h: Likewise.
38020 * inet/aliases.h: Likewise.
38021 * inet/arpa/inet.h: Likewise.
38022 * inet/netinet/ether.h: Likewise.
38023 * inet/netinet/in.h: Likewise.
38024 * intl/libintl.h: Likewise.
38025 * io/bits/fcntl2.h: Likewise.
38026 * io/fcntl.h: Likewise.
38027 * io/ftw.h: Likewise.
38028 * io/sys/poll.h: Likewise.
38029 * io/sys/stat.h: Likewise.
38030 * io/sys/statfs.h: Likewise.
38031 * io/sys/statvfs.h: Likewise.
38032 * io/utime.h: Likewise.
38033 * libio/bits/stdio.h: Likewise.
38034 * libio/bits/stdio2.h: Likewise.
38035 * libio/libio.h: Likewise.
38036 * libio/libioP.h: Likewise.
38037 * libio/stdio.h: Likewise.
38038 * locale/lc-ctype.c: Likewise.
38039 * locale/locale.h: Likewise.
38040 * login/utmp.h: Likewise.
38041 * malloc/arena.c: Likewise.
38042 * malloc/malloc.c: Likewise.
38043 * malloc/malloc.h: Likewise.
38044 * malloc/mcheck.c: Likewise.
38045 * malloc/mtrace.c: Likewise.
38046 * math/bits/mathcalls.h: Likewise.
38047 * math/fenv.h: Likewise.
38048 * math/math_private.h: Likewise.
38049 * misc/bits/error.h: Likewise.
38050 * misc/bits/syslog.h: Likewise.
38051 * misc/err.h: Likewise.
38052 * misc/error.h: Likewise.
38053 * misc/fstab.h: Likewise.
38054 * misc/mntent.h: Likewise.
38055 * misc/regexp.h: Likewise.
38056 * misc/search.h: Likewise.
38057 * misc/sgtty.h: Likewise.
38058 * misc/sys/mman.h: Likewise.
38059 * misc/sys/syslog.h: Likewise.
38060 * misc/sys/uio.h: Likewise.
38061 * misc/sys/xattr.h: Likewise.
38062 * misc/ttyent.h: Likewise.
38063 * nis/rpcsvc/ypclnt.h: Likewise.
38064 * nss/nss.h: Likewise.
38065 * posix/bits/unistd.h: Likewise.
38066 * posix/fnmatch.h: Likewise.
38067 * posix/glob.h: Likewise.
38068 * posix/sched.h: Likewise.
38069 * posix/spawn.h: Likewise.
38070 * posix/sys/wait.h: Likewise.
38071 * posix/unistd.h: Likewise.
38072 * posix/wordexp.h: Likewise.
38073 * pwd/pwd.h: Likewise.
38074 * resolv/netdb.h: Likewise.
38075 * resource/sys/resource.h: Likewise.
38076 * rt/aio.h: Likewise.
38077 * rt/bits/mqueue2.h: Likewise.
38078 * rt/mqueue.h: Likewise.
38079 * shadow/shadow.h: Likewise.
38080 * signal/signal.h: Likewise.
38081 * socket/send.c: Likewise.
38082 * socket/sendto.c: Likewise.
38083 * socket/sys/socket.h: Likewise.
38084 * stdio-common/printf.h: Likewise.
38085 * stdlib/bits/stdlib.h: Likewise.
38086 * stdlib/fmtmsg.h: Likewise.
38087 * stdlib/monetary.h: Likewise.
38088 * stdlib/stdlib.h: Likewise.
38089 * stdlib/ucontext.h: Likewise.
38090 * streams/stropts.h: Likewise.
38091 * string/argz.h: Likewise.
38092 * string/bits/string2.h: Likewise.
38093 * string/string.h: Likewise.
38094 * string/strings.h: Likewise.
38095 * sunrpc/rpc/auth.h: Likewise.
38096 * sunrpc/rpc/auth_des.h: Likewise.
38097 * sunrpc/rpc/clnt.h: Likewise.
38098 * sunrpc/rpc/netdb.h: Likewise.
38099 * sunrpc/rpc/pmap_clnt.h: Likewise.
38100 * sunrpc/rpc/xdr.h: Likewise.
38101 * sysdeps/generic/inttypes.h: Likewise.
38102 * sysdeps/generic/net/if.h: Likewise.
38103 * sysdeps/generic/sys/swap.h: Likewise.
38104 * sysdeps/gnu/net/if.h: Likewise.
38105 * sysdeps/gnu/utmpx.h: Likewise.
38106 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38107 * sysdeps/i386/i486/bits/string.h: Likewise.
38108 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38109 * sysdeps/s390/bits/string.h: Likewise.
38110 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38111 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38112 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38113 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38114 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38115 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38116 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38117 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38118 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38119 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38120 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38121 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38122 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38123 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38124 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38125 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38126 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38128 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38129 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38130 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38131 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38132 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38133 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38134 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38135 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38136 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38137 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38138 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38139 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38140 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38141 * sysvipc/sys/ipc.h: Likewise.
38142 * sysvipc/sys/msg.h: Likewise.
38143 * sysvipc/sys/sem.h: Likewise.
38144 * sysvipc/sys/shm.h: Likewise.
38145 * termios/termios.h: Likewise.
38146 * time/sys/time.h: Likewise.
38147 * time/time.h: Likewise.
38148 * wcsmbs/bits/wchar2.h: Likewise.
38149 * wcsmbs/uchar.h: Likewise.
38150 * wcsmbs/wchar.h: Likewise.
38151 * wctype/wctype.h: Likewise.
38154 * Makeconfig: Remove all but ELF support including AIX support.
38155 * Makerules: Likewise.
38156 * config.h.in: Likewise.
38157 * config.make.in: Likewise.
38158 * configure: Likewise.
38159 * configure.in: Likewise.
38160 * csu/Makefile: Likewise.
38161 * csu/version.c: Likewise.
38162 * debug/Makefile: Likewise.
38163 * dlfcn/Makefile: Likewise.
38164 * elf/Makefile: Likewise.
38165 * extra-lib.mk: Likewise.
38166 * iconv/Makefile: Likewise.
38167 * include/libc-symbols.h: Likewise.
38168 * include/shlib-compat.h: Likewise.
38169 * resolv/Makefile: Likewise.
38170 * resolv/res_libc.c: Likewise.
38171 * rt/Makefile: Likewise.
38172 * sysdeps/i386/asm-syntax.h: Likewise.
38173 * sysdeps/i386/sysdep.h: Likewise.
38174 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38175 * sysdeps/mach/sysdep.h: Likewise.
38176 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38177 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38178 * sysdeps/s390/asm-syntax.h: Likewise.
38179 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38180 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38181 * sysdeps/sh/sysdep.h: Likewise.
38182 * sysdeps/unix/sparc/sysdep.h: Likewise.
38183 * sysdeps/wordsize-32/divdi3.c: Likewise.
38184 * sysdeps/x86_64/sysdep.h: Likewise.
38186 * argp/Versions: Remove _argp_unlock_xxx.
38189 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38190 * abilist/libBrokenLocale.abilist: Likewise.
38191 * abilist/libanl.abilist: Likewise.
38192 * abilist/libc.abilist: Likewise.
38193 * abilist/libcrypt.abilist: Likewise.
38194 * abilist/libdl.abilist: Likewise.
38195 * abilist/libm.abilist: Likewise.
38196 * abilist/libnsl.abilist: Likewise.
38197 * abilist/libpthread.abilist: Likewise.
38198 * abilist/libresolv.abilist: Likewise.
38199 * abilist/librt.abilist: Likewise.
38200 * abilist/libthread_db.abilist: Likewise.
38201 * abilist/libutil.abilist: Likewise.
38202 * abilist/libnss_db.abilist: New file.
38204 * scripts/abilist.awk: Add support for indirect functions.
38206 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38208 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38210 * shlib-versions: Remove entries for ports architectures.
38212 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38214 * elf/stackguard-macros.h: Remove support for IA-64.
38215 * elf/tst-auditmod1.c: Likewise.
38216 * sysdeps/generic/ldsodefs.h: Likewise.
38218 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38219 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38223 * configure.in: Remove --enable-omitfp support.
38225 * config.make.in: Likewise.
38226 * Makeconfig: Likewise.
38227 * manual/install.texi: Likewise.
38229 In case anyone cares, the IA-64 architecture could move to ports.
38230 * sysdeps/ia64/*: Removed.
38231 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38232 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38235 * configure.in: Remove entries for unsupported architectures.
38238 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38239 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38241 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38242 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38243 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38244 fall back to using wcrtomb.
38245 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38246 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38248 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38249 * wcsmbs/tst-c16c32-1.c: New file.
38251 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38254 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38256 * elf/tst-unique3.cc: Add explicit declaration of gets.
38257 * elf/tst-unique3lib.cc: Likewise.
38258 * elf/tst-unique3lib2.cc: Likewise.
38259 * elf/tst-unique4.cc: Likewise.
38261 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38263 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38266 * assert/assert.h (static_assert): Don't define for C++.
38267 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38268 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38270 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38272 * iconv/loop.c (single loop): Fix assertion in storing of
38275 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38277 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38279 * posix/getconf.c: Update copyright year.
38280 * nss/getent.c: Likewise.
38281 * nss/makedb.c: Likewise.
38282 * iconv/iconvconfig.c: Likewise.
38283 * iconv/iconv_prog.c: Likewise.
38284 * elf/ldconfig.c: Likewise.
38285 * elf/pldd.c: Likewise.
38286 * elf/sotruss.ksh: Likewise.
38287 * catgets/gencat.c: Likewise.
38288 * csu/version.c: Likewise.
38289 * elf/ldd.bash.in: Likewise.
38290 * elf/sprof.c (print_version): Likewise.
38291 * locale/programs/locale.c: Likewise.
38292 * locale/programs/localedef.c: Likewise.
38293 * login/programs/pt_chown.c: Likewise.
38294 * nscd/nscd.c (print_version): Likewise.
38295 * debug/xtrace.sh: Likewise.
38296 * malloc/memusage.sh: Likewise.
38297 * malloc/mtrace.pl: Likewise.
38298 * debug/catchsegv.sh: Likewise.
38300 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38302 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38305 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38308 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38309 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38311 * iconv/gconv_int.h: Likewise.
38312 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38313 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38314 from libc for GLIBC_2.16.
38315 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38316 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38317 * wcsmbs/uchar.h: Really define mbstate_t.
38318 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38319 * wcsmbs/c16rtomb.c: New file.
38320 * wcsmbs/mbrtoc16.c: New file.
38321 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38322 for C/POSIX locale.
38323 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38324 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38326 * wcsmbs/wchar.h: Add missing __restrict.
38328 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38331 * time/Makefile (routines): Add timespec_get.
38332 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38333 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38334 timespec for ISO C11.
38335 * time/timespec_get.c: New file.
38336 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38337 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38340 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38341 * stdlib/stdlib.h: Declare aligned_alloc.
38342 * Versions.def: Add GLIBC_2.16 for libc.
38343 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38346 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38349 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38353 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38356 * assert/assert.h (static_assert): Define.
38358 * version.h: Update for 2.16 development version.
38361 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38364 * version.h (RELEASE): Bump for 2.15 release.
38365 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38367 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38368 Patch by Marek Polacek <mpolacek@redhat.com>.
38370 * bits/byteswap.h: Protect long long constants with __extension__.
38371 * sysdeps/i386/bits/byteswap.h: Likewise.
38372 * sysdeps/ia64/bits/byteswap.h: Likewise.
38373 * sysdeps/s390/bits/byteswap.h: Likewise.
38374 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38376 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38379 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38380 destination buffer.
38381 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38383 2011-12-23 Marek Polacek <polacek@redhat.com>
38385 * elf/dl-addr.c (determine_info): Add inline keyword.
38386 * elf/tst-auditmod4b.c (check_avx): Likewise.
38387 * elf/tst-auditmod6b.c (check_avx): Likewise.
38388 * elf/tst-auditmod6c.c (check_avx): Likewise.
38389 * elf/tst-auditmod7b.c (check_avx): Likewise.
38391 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38393 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38396 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38399 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38400 processing for last bytes.
38402 2011-08-06 Bruno Haible <bruno@clisp.org>
38405 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38406 U+0385, not to U+1FEE.
38409 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38410 entry for U+00A5 U+0301.
38412 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38415 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38416 buffer for the output is too small.
38418 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38422 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38423 SSE flags if possible.
38425 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38429 processing for last bytes.
38431 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38433 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38434 (syscall-list-default-options, syscall-list-default-condition)
38435 (syscall-list-includes): Define.
38436 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38437 list of ABIs and options and #if conditions for each ABI. Do not
38438 handle common syscalls between ABIs specially.
38439 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38441 (syscall-list-variants, syscall-list-32bit-options)
38442 (syscall-list-32bit-condition, syscall-list-64bit-options)
38443 (syscall-list-64bit-condition): Define.
38444 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38445 (syscall-list-variants, syscall-list-32bit-options)
38446 (syscall-list-32bit-condition, syscall-list-64bit-options)
38447 (syscall-list-64bit-condition): Define.
38448 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38450 (syscall-list-variants, syscall-list-32bit-options)
38451 (syscall-list-32bit-condition, syscall-list-64bit-options)
38452 (syscall-list-64bit-condition): Define.
38453 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38455 (syscall-list-variants, syscall-list-32bit-options)
38456 (syscall-list-32bit-condition, syscall-list-64bit-options)
38457 (syscall-list-64bit-condition): Define.
38459 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38461 * locale/iso-639.def: Add brx entry.
38464 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38465 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38467 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38468 __feraiseexcept_renamed.
38470 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38473 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38474 EPOLLET with unsigned values.
38475 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38476 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38478 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38479 to large cancellation.
38480 * math/s_cacoshf.c: Likewise.
38481 * math/s_cacoshl.c: Likewise.
38483 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38487 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38488 * math/s_cacoshf.c: Likewise.
38489 * math/s_cacoshl.c: Likewise.
38491 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38494 * iconv/gconv.h: Define __GCONV_SWAP.
38495 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38496 * iconvdata/utf-16.c: Likewise.
38497 * iconvdata/utf-32.c: Likewise.
38499 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38502 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38503 numerator after shifting it by one limb.
38505 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38507 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38508 under [__USE_EXTERN_INLINES].
38510 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38513 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38515 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38517 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38518 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38520 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38521 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38522 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38523 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38524 for strncasecmp/strncasecmp_l compilation.
38525 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38526 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38528 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38531 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38534 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38537 * time/tzfile.c (__tzfile_read): Check values from file header.
38539 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38541 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38542 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38543 * powerpc/powerpc32/dl-start.S: Likewise.
38544 * powerpc/powerpc32/elf/start.S: Likewise.
38545 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38546 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38547 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38548 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38549 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38550 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38551 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38552 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38553 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38554 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38555 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38556 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38557 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38558 * powerpc/powerpc32/memset.S: Likewise.
38559 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38560 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38561 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38562 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38563 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38564 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38565 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38566 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38567 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38568 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38569 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38570 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38571 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38573 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38575 * math/libm-test.inc: Added more nearbyint tests.
38576 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38577 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38578 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38581 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38583 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38586 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38588 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38589 Add wcscpy-ssse3 wcscpy-c.
38590 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38591 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38592 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38593 * sysdeps/x86_64/wcschr.S: New file.
38594 * sysdeps/x86_64/wcsrchr.S: New file.
38595 * string/test-strcmp.c: Remove checking of wcscmp function for
38597 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38598 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38599 wcsrchr-sse2 wcsrchr-c.
38600 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38601 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38602 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38603 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38604 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38605 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38606 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38607 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38608 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38609 * wcsmbc/wcschr.c (WCSCHR): New macro.
38611 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38613 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38614 * wcsmbs/test-wcsrchr.c: New file.
38615 * string/test-strrchr.c: Add wcsrchr support.
38617 * wcsmbs/test-wcscpy.c: New file.
38618 * string/test-strcpy.c: Add wcscpy support.
38621 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38623 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38626 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38629 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38631 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38633 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38634 Minor optimizations.
38636 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38637 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38638 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38640 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38642 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38643 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38644 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38645 for gcc to avoid warnings.
38646 * inet/Makefile (tests): Add tst-checks.
38647 * inet/tst-checks.c: New file.
38649 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38652 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38655 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38656 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38658 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38660 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38662 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38665 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38667 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38669 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38670 conditional on GCC version.
38671 (__arch_compare_and_exchange_val_8_acq)
38672 (__arch_compare_and_exchange_val_16_acq)
38673 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38674 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38675 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38677 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38679 * sysdeps/sh/backtrace.c: New file.
38681 2011-12-02 Andreas Schwab <schwab@redhat.com>
38683 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38686 2011-12-01 Andreas Schwab <schwab@redhat.com>
38688 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38689 falling back to utime.
38691 2011-11-30 Andreas Schwab <schwab@redhat.com>
38693 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38694 expectations for float.
38696 2011-11-29 Andreas Schwab <schwab@redhat.com>
38698 * locale/weight.h (findidx): Add parameter len.
38699 * locale/weightwc.h (findidx): Likewise.
38700 * posix/fnmatch_loop.c (FCT): Adjust caller.
38701 * posix/regcomp.c (build_equiv_class): Likewise.
38702 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38703 * posix/regexec.c (check_node_accept_bytes): Likewise.
38704 * string/strcoll_l.c (STRCOLL): Likewise.
38705 * string/strxfrm_l.c (STRXFRM): Likewise.
38707 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38709 * Makefile.in: Remove CVSOPT handling.
38710 * configure.in: Remove use of AC_REVISION.
38711 * iconvdata/Makefile (distribute): No need to filter out CVS.
38712 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38715 2011-11-16 Andreas Schwab <schwab@redhat.com>
38717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38718 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38719 [USE_AS_STRNCASECMP_L]: Likewise.
38720 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38721 NO_TLS_DIRECT_SEG_REFS.
38722 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38723 Fix argument offsets for non-PIC.
38724 [USE_AS_STRNCASECMP_L]: Likewise.
38725 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38726 NO_TLS_DIRECT_SEG_REFS.
38728 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38730 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38732 * locale/loadlocale.c (_nl_load_locale): Likewise.
38734 2011-11-15 Andreas Schwab <schwab@redhat.com>
38736 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38737 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38738 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38739 (SYSCALL_GETTIME): Set errno on error.
38741 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38742 count references to noai6ai_cached.
38744 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38746 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38748 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38749 FD_CLOEXEC for /proc/self/maps.
38751 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38752 FD_CLOEXEC for /proc/meminfo.
38754 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38757 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38758 FD_CLOEXEC for given file.
38760 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38762 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38763 FD_CLOEXEC for /etc/hosts.
38764 (_gethtent): Likewise.
38766 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38768 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38769 cancellation and set FD_CLOEXEC for /etc/netgroup.
38771 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38772 reading /etc/publickey.
38774 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38775 allow cancellation when reading /etc/group.
38777 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38779 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38781 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38782 when using data file.
38784 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38786 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38787 (write_nis_obj): Use "c" and "e" in fopen.
38789 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38791 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38793 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38795 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38797 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38800 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38802 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38804 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38806 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38807 file parsing and set FD_CLOEXEC.
38809 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38811 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38813 2011-11-14 Andreas Schwab <schwab@redhat.com>
38815 * malloc/arena.c (arena_get2): Don't call reused_arena when
38816 _int_new_arena failed.
38818 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38820 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38821 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38822 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38824 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38826 to compile strcasecmp and strncasecmp.
38827 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38828 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38830 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38832 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38834 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38835 locale-defines.sym to gen-as-const-headers.
38836 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38837 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38839 to compile strcasecmp and strncasecmp.
38840 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38841 strcasecmp_l and strncasecmp_l.
38842 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38843 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38844 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38845 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38846 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38847 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38848 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38849 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38850 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38851 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38852 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38854 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38856 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38857 result of SYSDEP_GETTIME_CPU to retval.
38858 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38859 parameter list to macro. Remove trailing semicolon. Adjust users.
38861 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38864 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38866 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38868 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38869 from unused variable.
38871 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38873 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38876 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38879 * sunrpc/rpc_prot.c (rejected): Fix case value.
38881 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38882 unsigned long long int to avoid warnings in shift.
38884 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38886 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38889 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38890 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38891 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38893 * nis/nis_table.c (nis_list): Use variable of correct type for
38894 result of __follow_path call.
38896 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38898 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38899 of math functions ceil, trunc, floor, round, and sqrt, when
38900 avaliable on the platform.
38901 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38903 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38904 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38905 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38907 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38909 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38912 2011-11-11 Roland McGrath <roland@hack.frob.com>
38914 * include/unistd.h: Fix __readlink return type.
38915 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38917 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38919 * stdlib/ucontext.h: Undo last change for makecontext.
38921 2011-11-11 Andreas Schwab <schwab@redhat.com>
38923 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38925 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38926 * setjmp/setjmp.h: Mark functions as non-leaf.
38927 * setjmp/bits/setjmp2.h: Likewise.
38928 * stdlib/ucontext.h: Likewise.
38930 2011-11-10 Andreas Schwab <schwab@redhat.com>
38932 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38933 (reused_arena): Don't check arena limit.
38934 (arena_get2): Atomically check arena limit.
38936 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38938 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38939 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38944 2011-11-07 Andreas Schwab <schwab@redhat.com>
38946 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38947 handler when locking.
38949 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38950 Fix size of allocated buffer.
38952 2011-11-04 Andreas Schwab <schwab@redhat.com>
38955 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38956 declarations for long double functions.
38957 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38959 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38961 2011-11-03 Andreas Schwab <schwab@redhat.com>
38963 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38966 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38969 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38971 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38973 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38975 * include/alloca.h (stackinfo_alloca_round): Define.
38976 (extend_alloca): Use it.
38977 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38978 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38981 * scripts/check-local-headers.sh: Ignore libaudit.h.
38983 * nscd/Makefile (extra-objs): Make recursively expanded.
38985 2011-11-01 Ulrich Drepper <drepper@gmail.com>
38987 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38988 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38990 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38991 * posix/tst-rfc3484-2.c: Likewise.
38992 * posix/tst-rfc3484-3.c: Likewise.
38994 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38996 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38998 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38999 process_vm_writev from libc using GLIBC_2.15 version.
39001 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39003 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39005 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39008 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39011 * nss/getent.c (initgroups_keys): Show error message in case no group
39014 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39015 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39016 __bump_nl_timestamp.
39017 * nscd/connections (nscd_init): When host database is served open
39018 netlink socket and request notification about configuration changes.
39019 (main_loop_poll): Track netlink file descriptor and bump timestamp
39020 in case data becomes available.
39021 (main_loop_epoll): Likewise.
39022 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39023 (database_pers_head): Add extra_data fileds.
39024 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39025 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39026 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39028 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39029 in6ai data, call __free_in6ai.
39030 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39031 Add -DHAVE_NETLINK.
39032 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39033 interface information. Reuse previous data if netlink timestamp
39035 (__bump_nl_timestamp): New function.
39036 (__free_in6ai): New function.
39038 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39040 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39041 close_not_cancel_no_status here.
39042 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39044 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39047 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39050 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39051 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39052 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39054 2011-07-03 Andreas Jaeger <aj@suse.de>
39057 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39058 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39059 * math/libm-test.inc (sin_test): Add test case.
39061 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39064 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39065 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39067 * elf/chroot_canon.c (chroot_canon): Cleanups.
39069 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39072 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39073 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39075 * string/test-strchr.c: Make usable for strchrnul testing.
39076 * string/test-strchrnul.c: New file.
39077 * string/Makefile (strop-tests): Add strchrnul.
39079 * po/it.po: Update from translation team.
39080 * po/es.po: Likewise.
39082 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39084 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39085 the three constants needed as parameters. Drop the others.
39086 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39087 __m128i_strloadu_tolower.
39088 Create and initialize variable zero and use it in all the places
39089 where _mm_setzero_si128 was used.
39091 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39092 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39093 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39094 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39096 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39097 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39098 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39099 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39100 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39101 __mpranred, __mptan.
39102 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39103 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39104 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39105 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39106 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39107 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39109 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39110 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39112 2011-10-28 Andreas Schwab <schwab@redhat.com>
39114 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39115 redefine if SHARED.
39116 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39119 wide char related routines to wcsmbs subdir.
39121 2011-10-27 Andreas Schwab <schwab@redhat.com>
39124 * misc/sys/cdefs.h (__THROWNL): Define.
39125 * posix/unistd.h: Use __THREADNL instead of __THREAD
39126 for memory synchronization functions.
39128 2011-10-26 Roland McGrath <roland@hack.frob.com>
39131 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39133 * manual/stdio.texi (Obstack Streams): Node removed.
39135 2011-10-26 Andreas Schwab <schwab@redhat.com>
39137 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39141 * math/math_private.h (math_force_eval): Allow non-addressable
39143 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39145 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39147 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39148 file is not needed.
39150 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39151 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39152 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39153 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39154 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39155 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39156 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39157 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39159 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39160 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39161 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39162 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39163 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39164 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39165 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39166 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39167 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39168 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39169 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39170 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39172 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39173 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39174 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39175 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39176 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39177 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39179 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39180 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39182 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39183 place. Use VEX encoding when compiling for AVX.
39185 2011-10-25 Andreas Schwab <schwab@redhat.com>
39187 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39188 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39190 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39192 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39194 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39195 useless if() expression.
39196 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39197 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39198 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39199 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39200 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39201 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39202 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39203 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39204 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39205 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39206 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39207 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39208 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39209 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39210 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39211 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39212 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39213 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39214 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39216 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39218 2011-10-25 Andreas Schwab <schwab@redhat.com>
39220 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39222 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39224 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39226 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39227 .text section. Avoid duplicate constants.
39228 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39229 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39230 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39235 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39236 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39237 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39238 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39239 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39240 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39241 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39242 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39243 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39244 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39245 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39246 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39248 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39249 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39250 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39251 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39252 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39253 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39254 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39255 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39257 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39258 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39259 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39260 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39261 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39262 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39263 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39264 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39265 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39266 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39267 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39268 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39269 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39270 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39271 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39272 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39274 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39276 * sysdeps/x86_64/dla.h: Move to ...
39277 * sysdeps/x86_64/fpu/dla.h: ...here.
39278 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39279 situations. Use __builtin_fma only for gcc 4.6 and up.
39281 * config.make.in: Add have-mfma4 entry.
39282 * configure.in: Substitute libc_cv_cc_fma4.
39283 * math/Makefile (dbl-only-routines): Add sincostab.
39284 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39285 Use __sincostab not sincos.
39286 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39288 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39290 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39293 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39294 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39295 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39296 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39298 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39299 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39301 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39302 define aliases when function name is a macro.
39303 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39304 sysdeps/ieee754/dbl-64/sincos.tbl.
39305 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39306 fma4-enabled routines.
39307 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39308 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39309 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39310 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39311 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39312 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39313 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39314 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39315 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39316 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39317 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39318 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39319 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39320 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39321 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39322 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39323 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39324 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39325 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39326 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39327 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39328 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39329 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39330 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39331 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39332 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39333 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39334 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39335 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39336 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39338 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39349 2011-10-24 Andreas Schwab <schwab@redhat.com>
39351 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39353 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39355 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39357 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39359 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39361 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39362 Remove unused variable magic_bits.
39363 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39365 * string/strnlen.c: Define and use STRNLEN macro.
39366 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39367 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39369 * wcsmbs/wcslen.c: Define and use WCSLEN.
39370 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39371 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39372 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39373 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39374 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39375 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39376 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39378 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39381 strnlen-sse2-no-bsf.
39382 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39383 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39384 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39385 Add strnlen support.
39386 (USE_AS_STRNLEN): New macro.
39387 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39388 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39389 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39390 * sysdeps/x86_64/wcslen.S: New file.
39392 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39394 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39395 XMM-moves are used for copying on small sizes.
39397 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39399 * wcsmbs/Makefile (strop-tests): Add wcschr.
39400 * wcsmbs/test-wcschr.c: New file.
39401 * string/test-strchr.c: Update.
39402 Add wcschr support.
39405 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39407 * wcsmbs/Makefile (strop-tests): Add wcslen.
39408 * wcsmbs/test-wcslen.c: New file.
39409 * string/test-strlen.c: Update.
39410 Add wcslen support.
39413 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39415 * po/it.po: Update from translation team.
39417 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39419 * sysdeps/x86_64/wcscmp.S: Update.
39420 Fix wrong comparison semantics.
39421 wcscmp shall use signed comparison not unsigned.
39422 Don't use substraction to avoid overflow bug.
39423 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39424 * wcsmbc/wcscmp.c: Likewise.
39425 * string/test-strcmp.c: Likewise.
39426 Add new tests to check cases with negative values.
39428 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39430 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39431 * sysdeps/x86_64/dla.h: ...here. New file.
39432 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39433 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39439 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39440 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39442 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39445 __ynl_finite aliases.
39447 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39451 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39453 [DLA_FMA] (EMULV): Use DLA_FMA.
39454 [DLA_FMA] (MUL12): Use EMULV.
39455 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39456 that are not needed.
39457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39461 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39465 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39467 * math/s_nan.c: Undef __nan.
39468 * math/s_nanf.c: Undef __nanf.
39469 * math/s_nanl.c: Undef __nanl.
39470 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39473 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39475 * math/s_catan.c: Add branch predictions.
39476 * math/s_catanf.c: Likewise.
39477 * math/s_catanh.c: Likewise.
39478 * math/s_catanhf.c: Likewise.
39479 * math/s_catanhl.c: Likewise.
39480 * math/s_catanl.c: Likewise.
39481 * math/s_cexp.c: Likewise.
39482 * math/s_cexpf.c: Likewise.
39483 * math/s_cexpl.c: Likewise.
39484 * math/s_clog.c: Likewise.
39485 * math/s_clog10.c: Likewise.
39486 * math/s_clog10f.c: Likewise.
39487 * math/s_clog10l.c: Likewise.
39488 * math/s_clogf.c: Likewise.
39489 * math/s_clogl.c: Likewise.
39490 * math/s_csqrt.c: Likewise.
39491 * math/s_csqrtf.c: Likewise.
39492 * math/s_csqrtl.c: Likewise.
39493 * math/s_ctanf.c: Likewise.
39494 * math/s_ctanh.c: Likewise.
39495 * math/s_ctanhf.c: Likewise.
39496 * math/s_ctanhl.c: Likewise.
39497 * math/s_ctanl.c: Likewise.
39499 * math/math_private.h: Define __nan, __nanf, __nanl.
39500 * math/s_cacosh.c: Include <math_private.h>.
39501 * math/s_cacoshl.c: Likewise.
39502 * math/s_casinh.c: Likewise.
39503 * math/s_casinhf.c: Likewise.
39504 * math/s_casinhl.c: Likewise.
39505 * math/s_ccos.c: Rely entire on ccosh.
39506 * math/s_ccosf.c: Rely entire on ccoshf.
39507 * math/s_ccosl.c: Rely entirely on ccoshl.
39508 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39509 Remove tests for FE_INVALID.
39510 * math/s_ccoshf.c: Likewise.
39511 * math/s_ccoshl.c: Likewise.
39512 * math/s_csin.c: Likewise.
39513 * math/s_csinf.c: Likewise.
39514 * math/s_csinh.c Likewise.
39515 * math/s_csinhf.c: Likewise.
39516 * math/s_csinhl.c: Likewise.
39517 * math/s_csinl.c: Likewise.
39518 * math/s_ctan.c: Likewise.
39519 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39520 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39521 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39523 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39526 compilation problems.
39528 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39531 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39533 * sysdeps/i386/configure.in: Test for -mfma4 option.
39534 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39535 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39536 COMMON_CPUID_INDEX_80000001.
39537 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39538 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39539 use it if FMA3 is not supported.
39540 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39542 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39543 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39545 2011-10-20 Andreas Schwab <schwab@redhat.com>
39548 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39549 it would create a cycle with a link time dependency.
39551 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39553 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39555 * string/Makefile (strop-tests): Add rawmemchr.
39556 * string/test-rawmemchr.c: New file.
39558 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39560 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39561 when compiling str{,n}casecmp and when AVX is available. Hook up
39562 new optimized code in initializers.
39564 2011-10-19 Andreas Schwab <schwab@redhat.com>
39566 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39567 __feraiseexcept instead of feraiseexcept.
39569 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39571 * math/math_private.h: Define defaults for libc_fetestexcept and
39573 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39574 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39575 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39576 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39577 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39578 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39579 libc_fetestexcept and libc_feupdateenv.
39581 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39582 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39583 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39584 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39585 libc_feholdexcept_setround.
39587 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39588 Add s_nearbyint-c and s_nearbyintf-c.
39589 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39590 nearbyintf inlines.
39591 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39592 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39593 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39594 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39596 * math/math_private.h: Define defaults for libc_fegetround,
39597 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39598 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39599 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39600 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39601 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39602 standard functions.
39603 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39604 Remove comments and hacks for old compiler versions.
39605 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39606 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39607 libc_feholdexceptl.
39609 2011-10-18 Andreas Schwab <schwab@redhat.com>
39611 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39612 (__feraiseexcept_renamed): Add __NTH.
39613 (feraiseexcept): Add __NTH. Rename local variables to fix
39614 namespace violations.
39616 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39618 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39620 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39622 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39623 recently added interfaces.
39624 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39626 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39627 about macro parameter expansion.
39629 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39630 __NO_MATH_INLINES is defined. Cleanups.
39632 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39633 and __floorf is target has SSE4.1.
39634 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39635 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39636 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39637 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39639 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39641 (floorf): Likewise.
39643 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39645 2011-10-17 Andreas Schwab <schwab@redhat.com>
39647 * misc/sys/cdefs.h: Fix last change.
39649 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39652 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39654 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39656 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39658 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39659 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39660 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39661 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39662 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39664 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39665 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39666 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39667 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39668 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39669 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39670 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39671 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39672 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39673 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39674 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39675 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39676 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39677 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39679 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39680 ceil, ceilf, floor, floorf.
39682 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39683 Perform IRELATIVE relocations last.
39685 * elf/do-rel.h: Add another parameter nrelative, replacing the
39686 local variable with the same name. Change name of the function
39687 to end in Rel or Rela (uppercase).
39688 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39689 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39690 elf_dynamic_do_##reloc function.
39692 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39694 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39695 is sufficient, at least on modern CPUs.
39697 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39699 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39700 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39702 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39704 * math/bits/math-finite.h: Add entries for exp.
39705 * math/e_expl.c: Add __*_finite alias.
39706 * sysdeps/i386/fpu/e_exp.S: Likewise.
39707 * sysdeps/i386/fpu/e_expf.S: Likewise.
39708 * sysdeps/i386/fpu/e_expl.c: Likewise.
39709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39710 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39711 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39713 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39714 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39715 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39717 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39718 is sufficient, at least on modern CPUs.
39720 * ctype/ctype-info.c (__ctype_init): Define.
39721 * include/ctype.h (__ctype_init): Declare.
39722 (__ctype_b_loc): The variable is always initialized.
39723 (__ctype_toupper_loc): Likewise.
39724 (__ctype_tolower_loc): Likewise.
39725 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39726 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39728 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39730 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39732 * configure.in: Also look in $cxxmachine/include for C++ system
39735 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39737 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39738 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39739 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39740 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39741 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39742 (USE_AS_WMEMCMP): New macro.
39744 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39745 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39746 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39747 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39749 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39750 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39751 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39752 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39753 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39754 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39755 (USE_AS_WMEMCMP): New macro.
39756 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39757 * sysdeps/string/test-memcmp.c: Update.
39758 Fix simple_wmemcmp.
39760 * wcsmbs/wmemcmp.c: Update.
39761 (WMEMCMP): New macro.
39764 2011-10-12 Andreas Jaeger <aj@suse.de>
39767 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39769 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39771 * libio/iofwide.c (do_length): Avoid warning.
39773 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39775 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39777 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39779 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39780 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39781 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39782 * sysdeps/i386/i686/fpu/e_log.S: New file.
39783 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39784 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39786 * ctype/ctype.h: Add support for inlined isXXX functions when
39787 compiling C++ code.
39789 2011-10-14 Andreas Schwab <schwab@redhat.com>
39791 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39793 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39795 2011-10-13 Roland McGrath <roland@hack.frob.com>
39798 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39800 2011-10-13 Andreas Schwab <schwab@redhat.com>
39802 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39803 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39806 * sysdeps/x86_64/memrchr.S: Check for zero size.
39808 * string/stratcliff.c: Add memrchr tests.
39810 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39813 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39814 rawmemchr-sse2 rawmemchr-sse2-bsf.
39815 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39816 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39817 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39818 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39819 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39820 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39821 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39822 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39823 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39824 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39825 * string/memrchr.c (MEMRCHR): New macro.
39827 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39829 Add integration with gcc's -ffinite-math-only and optimize wrapper
39831 * Versions.def: Define GLIBC_2.15 version for libm.
39832 * math/Makefile (headers): Add bits/math-finite.h.
39833 * math/bits/math-finite.h: New file.
39834 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39835 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39836 * math/e_acoshl.c: Add __*_finite alias.
39837 * math/e_acosl.c: Likewise.
39838 * math/e_asinl.c: Likewise.
39839 * math/e_atan2l.c: Likewise.
39840 * math/e_atanhl.c: Likewise.
39841 * math/e_coshl.c: Likewise.
39842 * math/e_exp10.c: Likewise.
39843 * math/e_exp10f.c: Likewise.
39844 * math/e_exp10l.c: Likewise.
39845 * math/e_exp2l.c: Likewise.
39846 * math/e_fmodl.c: Likewise.
39847 * math/e_gammal_r.c: Likewise.
39848 * math/e_hypotl.c: Likewise.
39849 * math/e_j0l.c: Likewise.
39850 * math/e_j1l.c: Likewise.
39851 * math/e_jnl.c: Likewise.
39852 * math/e_lgammal_r.c: Likewise.
39853 * math/e_log10l.c: Likewise.
39854 * math/e_log2l.c: Likewise.
39855 * math/e_logl.c: Likewise.
39856 * math/e_powl.c: Likewise.
39857 * math/e_sinhl.c: Likewise.
39858 * math/e_sqrtl.c: Likewise.
39859 * math/e_scalb.c: Completely rewritten and optimized.
39860 * math/e_scalbf.c: Likewise.
39861 * math/e_scalbl.c: Likewise.
39862 * math/w_acos.c: Likewise.
39863 * math/w_acosf.c: Likewise.
39864 * math/w_acosl.c: Likewise.
39865 * math/w_acosh.c: Likewise.
39866 * math/w_acoshf.c: Likewise.
39867 * math/w_acoshl.c: Likewise.
39868 * math/w_asin.c: Likewise.
39869 * math/w_asinf.c: Likewise.
39870 * math/w_asinl.c: Likewise.
39871 * math/w_atan2.c: Likewise.
39872 * math/w_atan2f.c: Likewise.
39873 * math/w_atan2l.c: Likewise.
39874 * math/w_atanh.c: Likewise.
39875 * math/w_atanhf.c: Likewise.
39876 * math/w_atanhl.c: Likewise.
39877 * math/w_exp10.c: Likewise.
39878 * math/w_exp10f.c: Likewise.
39879 * math/w_exp10l.c: Likewise.
39880 * math/w_fmod.c: Likewise.
39881 * math/w_fmodf.c: Likewise.
39882 * math/w_fmodl.c: Likewise.
39883 * math/w_j0.c: Likewise.
39884 * math/w_j0f.c: Likewise.
39885 * math/w_j0l.c: Likewise.
39886 * math/w_j1.c: Likewise.
39887 * math/w_j1f.c: Likewise.
39888 * math/w_j1l.c: Likewise.
39889 * math/w_jn.c: Likewise.
39890 * math/w_jnf.c: Likewise.
39891 * math/w_log.c: Likewise.
39892 * math/w_logf.c: Likewise.
39893 * math/w_logl.c: Likewise.
39894 * math/w_log10.c: Likewise.
39895 * math/w_log10f.c: Likewise.
39896 * math/w_log10l.c: Likewise.
39897 * math/w_log2.c: Likewise.
39898 * math/w_log2f.c: Likewise.
39899 * math/w_log2l.c: Likewise.
39900 * math/w_pow.c: Likewise.
39901 * math/w_powf.c: Likewise.
39902 * math/w_powl.c: Likewise.
39903 * math/w_remainder.c: Likewise.
39904 * math/w_remainderf.c: Likewise.
39905 * math/w_remainderl.c: Likewise.
39906 * math/w_scalb.c: Likewise.
39907 * math/w_scalbf.c: Likewise.
39908 * math/w_scalbl.c: Likewise.
39909 * math/w_sqrt.c: Likewise.
39910 * math/w_sqrtf.c: Likewise.
39911 * math/w_sqrtl.c: Likewise.
39912 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39913 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39915 * math/math_private.h: Declare __kernel_standard_f.
39916 * math/w_cosh.c: Remove cruft and optimize a bit.
39917 * math/w_coshf.c: Likewise.
39918 * math/w_coshl.c: Likewise.
39919 * math/w_exp2.c: Likewise.
39920 * math/w_exp2f.c: Likewise.
39921 * math/w_exp2l.c: Likewise.
39922 * math/w_hypot.c: Likewise.
39923 * math/w_hypotf.c: Likewise.
39924 * math/w_hypotl.c: Likewise.
39925 * math/w_lgamma.c: Likewise.
39926 * math/w_lgamma_r.c: Likewise.
39927 * math/w_lgammaf.c: Likewise.
39928 * math/w_lgammaf_r.c: Likewise.
39929 * math/w_lgammal.c: Likewise.
39930 * math/w_lgammal_r.c: Likewise.
39931 * math/w_sinh.c: Likewise.
39932 * math/w_sinhf.c: Likewise.
39933 * math/w_sinhl.c: Likewise.
39934 * math/w_tgamma.c: Likewise.
39935 * math/w_tgammaf.c: Likewise.
39936 * math/w_tgammal.c: Likewise.
39937 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39938 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39939 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39940 Minor optimizations. Pretty printing. Remove cruft.
39941 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39942 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39943 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39944 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39945 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39946 * sysdeps/i386/fpu/e_asin.S: Likewise.
39947 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39948 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39949 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39950 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39951 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39952 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39953 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39954 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39955 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39956 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39957 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39958 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39959 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39960 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39961 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39962 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39963 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39964 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39965 * sysdeps/i386/fpu/e_log.S: Likewise.
39966 * sysdeps/i386/fpu/e_log10.S: Likewise.
39967 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39968 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39969 * sysdeps/i386/fpu/e_log2.S: Likewise.
39970 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39971 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39972 * sysdeps/i386/fpu/e_logf.S: Likewise.
39973 * sysdeps/i386/fpu/e_logl.S: Likewise.
39974 * sysdeps/i386/fpu/e_pow.S: Likewise.
39975 * sysdeps/i386/fpu/e_powf.S: Likewise.
39976 * sysdeps/i386/fpu/e_powl.S: Likewise.
39977 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39978 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39979 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39980 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39981 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39982 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39983 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39984 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39985 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39986 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39987 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39989 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39990 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39991 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39992 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39993 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39994 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39995 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39996 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39997 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39999 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40000 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40002 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40003 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40004 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40006 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40007 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40008 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40009 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40010 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40011 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40012 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40013 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40014 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40015 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40016 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40017 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40018 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40019 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40020 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40021 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40022 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40023 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40024 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40025 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40026 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40027 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40028 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40029 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40030 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40031 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40032 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40033 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40034 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40035 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40036 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40037 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40038 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40039 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40040 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40041 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40042 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40043 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40044 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40045 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40046 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40047 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40050 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40051 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40052 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40053 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40054 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40055 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40056 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40057 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40058 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40059 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40060 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40062 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40063 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40064 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40065 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40066 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40067 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40068 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40069 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40070 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40071 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40072 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40073 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40074 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40075 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40076 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40077 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40078 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40079 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40080 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40081 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40082 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40083 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40084 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40085 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40086 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40087 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40088 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40089 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40090 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40091 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40092 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40093 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40094 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40095 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40096 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40097 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40098 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40099 (__isnanf): Likewise.
40100 (__isinf_ns): Likewise.
40101 (__isinf_nsf): Likewise.
40102 (__finite): Likewise.
40103 (__finitef): Likewise.
40104 (__ieee754_sqrt): Define as macro.
40105 (__ieee754_sqrtf): Define as macro.
40106 (__ieee754_sqrtl): Define as macro.
40107 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40109 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40110 __FINITE_MATH_ONLY__ consistent.
40111 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40113 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40115 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40118 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40120 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40122 * po/ja.po: Update from translation team.
40124 2011-10-08 Roland McGrath <roland@hack.frob.com>
40126 * locale/programs/locarchive.c (prepare_address_space): New function.
40127 (create_archive, enlarge_archive, open_archive): Use it.
40129 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40130 inside [SHARED], where it is used.
40132 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40134 * nss/getent.c (netgroup_keys): Remove unused variable.
40135 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40137 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40139 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40140 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40142 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40143 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40144 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40145 * math/Makefile (libm-calls): Add s_isinf_ns.
40146 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40147 * math/multc3.c: Likewise.
40148 * math/s_casin.c: Likewise.
40149 * math/s_casinf.c: Likewise.
40150 * math/s_casinl.c: Likewise.
40151 * math/s_ccos.c: Likewise.
40152 * math/s_ccosf.c: Likewise.
40153 * math/s_ccosl.c: Likewise.
40154 * math/s_ctan.c: Likewise.
40155 * math/s_ctanf.c: Likewise.
40156 * math/s_ctanh.c: Likewise.
40157 * math/s_ctanhf.c: Likewise.
40158 * math/s_ctanhl.c: Likewise.
40159 * math/s_ctanl.c: Likewise.
40160 * math/w_fmod.c: Likewise.
40161 * math/w_fmodf.c: Likewise.
40162 * math/w_fmodl.c: Likewise.
40163 * math/w_remainder.c: Likewise.
40164 * math/w_remainderf.c: Likewise.
40165 * math/w_remainderl.c: Likewise.
40166 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40167 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40168 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40170 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40171 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40172 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40173 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40175 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40177 * stdio-common/printf_fphex.c: Likewise.
40178 * stdio-common/printf_size.c: Likewise.
40180 * math/e_exp10.c: Include math_private.h using <...> not "...".
40181 * math/e_exp10f.c: Likewise.
40182 * math/e_exp10l.c: Likewise.
40183 * math/e_exp2l.c: Likewise.
40184 * math/e_j0l.c: Likewise.
40185 * math/e_j1l.c: Likewise.
40186 * math/e_jnl.c: Likewise.
40187 * math/e_lgammal_r.c: Likewise.
40188 * math/e_rem_pio2l.c: Likewise.
40189 * math/e_scalb.c: Likewise.
40190 * math/e_scalbf.c: Likewise.
40191 * math/e_scalbl.c: Likewise.
40192 * math/k_cosl.c: Likewise.
40193 * math/k_sinl.c: Likewise.
40194 * math/k_tanl.c: Likewise.
40195 * math/s_cacoshf.c: Likewise.
40196 * math/s_catan.c: Likewise.
40197 * math/s_catanf.c: Likewise.
40198 * math/s_catanh.c: Likewise.
40199 * math/s_catanhf.c: Likewise.
40200 * math/s_catanhl.c: Likewise.
40201 * math/s_catanl.c: Likewise.
40202 * math/s_ccosh.c: Likewise.
40203 * math/s_ccoshf.c: Likewise.
40204 * math/s_ccoshl.c: Likewise.
40205 * math/s_cexp.c: Likewise.
40206 * math/s_cexpf.c: Likewise.
40207 * math/s_cexpl.c: Likewise.
40208 * math/s_clog.c: Likewise.
40209 * math/s_clog10.c: Likewise.
40210 * math/s_clog10f.c: Likewise.
40211 * math/s_clog10l.c: Likewise.
40212 * math/s_clogf.c: Likewise.
40213 * math/s_clogl.c: Likewise.
40214 * math/s_csin.c: Likewise.
40215 * math/s_csinf.c: Likewise.
40216 * math/s_csinh.c: Likewise.
40217 * math/s_csinhf.c: Likewise.
40218 * math/s_csinhl.c: Likewise.
40219 * math/s_csinl.c: Likewise.
40220 * math/s_csqrt.c: Likewise.
40221 * math/s_csqrtf.c: Likewise.
40222 * math/s_csqrtl.c: Likewise.
40223 * math/s_ctan.c: Likewise.
40224 * math/s_ctanf.c: Likewise.
40225 * math/s_ctanh.c: Likewise.
40226 * math/s_ctanhf.c: Likewise.
40227 * math/s_ctanhl.c: Likewise.
40228 * math/s_ctanl.c: Likewise.
40229 * math/s_ldexp.c: Likewise.
40230 * math/s_ldexpf.c: Likewise.
40231 * math/s_ldexpl.c: Likewise.
40232 * math/s_significand.c: Likewise.
40233 * math/s_significandf.c: Likewise.
40234 * math/s_significandl.c: Likewise.
40235 * math/w_acos.c: Likewise.
40236 * math/w_acosf.c: Likewise.
40237 * math/w_acosh.c: Likewise.
40238 * math/w_acoshf.c: Likewise.
40239 * math/w_acoshl.c: Likewise.
40240 * math/w_acosl.c: Likewise.
40241 * math/w_asin.c: Likewise.
40242 * math/w_asinf.c: Likewise.
40243 * math/w_asinl.c: Likewise.
40244 * math/w_atan2.c: Likewise.
40245 * math/w_atan2f.c: Likewise.
40246 * math/w_atan2l.c: Likewise.
40247 * math/w_atanh.c: Likewise.
40248 * math/w_atanhf.c: Likewise.
40249 * math/w_atanhl.c: Likewise.
40250 * math/w_cosh.c: Likewise.
40251 * math/w_coshf.c: Likewise.
40252 * math/w_coshl.c: Likewise.
40253 * math/w_dremf.c: Likewise.
40254 * math/w_exp10.c: Likewise.
40255 * math/w_exp10f.c: Likewise.
40256 * math/w_exp10l.c: Likewise.
40257 * math/w_exp2.c: Likewise.
40258 * math/w_exp2f.c: Likewise.
40259 * math/w_fmod.c: Likewise.
40260 * math/w_fmodf.c: Likewise.
40261 * math/w_fmodl.c: Likewise.
40262 * math/w_hypot.c: Likewise.
40263 * math/w_hypotf.c: Likewise.
40264 * math/w_hypotl.c: Likewise.
40265 * math/w_j0.c: Likewise.
40266 * math/w_j0f.c: Likewise.
40267 * math/w_j0l.c: Likewise.
40268 * math/w_j1.c: Likewise.
40269 * math/w_j1f.c: Likewise.
40270 * math/w_j1l.c: Likewise.
40271 * math/w_jn.c: Likewise.
40272 * math/w_jnf.c: Likewise.
40273 * math/w_jnl.c: Likewise.
40274 * math/w_lgamma.c: Likewise.
40275 * math/w_lgamma_r.c: Likewise.
40276 * math/w_lgammaf.c: Likewise.
40277 * math/w_lgammaf_r.c: Likewise.
40278 * math/w_lgammal.c: Likewise.
40279 * math/w_lgammal_r.c: Likewise.
40280 * math/w_log.c: Likewise.
40281 * math/w_log10.c: Likewise.
40282 * math/w_log10f.c: Likewise.
40283 * math/w_log10l.c: Likewise.
40284 * math/w_log2.c: Likewise.
40285 * math/w_log2f.c: Likewise.
40286 * math/w_log2l.c: Likewise.
40287 * math/w_logf.c: Likewise.
40288 * math/w_logl.c: Likewise.
40289 * math/w_pow.c: Likewise.
40290 * math/w_powf.c: Likewise.
40291 * math/w_powl.c: Likewise.
40292 * math/w_remainder.c: Likewise.
40293 * math/w_remainderf.c: Likewise.
40294 * math/w_remainderl.c: Likewise.
40295 * math/w_scalb.c: Likewise.
40296 * math/w_scalbf.c: Likewise.
40297 * math/w_scalbl.c: Likewise.
40298 * math/w_sinh.c: Likewise.
40299 * math/w_sinhf.c: Likewise.
40300 * math/w_sinhl.c: Likewise.
40301 * math/w_sqrt.c: Likewise.
40302 * math/w_sqrtf.c: Likewise.
40303 * math/w_sqrtl.c: Likewise.
40304 * math/w_tgamma.c: Likewise.
40305 * math/w_tgammaf.c: Likewise.
40306 * math/w_tgammal.c: Likewise.
40308 * po/ja.po: Update from translation team.
40310 2011-09-29 Andreas Jaeger <aj@suse.de>
40313 * sunrpc/netname.c (netname2host): Fix logic.
40317 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40319 * math/w_remainder.c (__remainder): Likewise.
40320 * math/w_remainderf.c (__remainderf): Likewise.
40321 * math/libm-test.inc (remainder_test): Add test cases.
40323 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40325 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40328 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40330 * string/test-memcmp.c: Avoid unncessary #defines.
40331 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40333 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40335 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40336 Use new sse2 version for core i3 - i7 as it's faster
40337 than sse42 version.
40338 (bit_Prefer_PMINUB_for_stringop): New.
40339 * sysdeps/x86_64/rawmemchr.S: Update.
40340 Replace with faster SSE2 version.
40341 * sysdeps/x86_64/memrchr.S: New file.
40342 * sysdeps/x86_64/memchr.S: Update.
40343 Replace with faster SSE2 version.
40345 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40347 * elf/dl-load.c (lose): Add cast to avoid warning.
40349 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40351 * po/ca.po: Update from translation team.
40353 * inet/getnetgrent_r.c: Hook up nscd.
40354 * nscd/Makefile (routines): Add nscd_netgroup.
40355 (nscd-modules): Add netgroupcache.
40356 (CFLAGS-netgroupcache.c): Define.
40357 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40358 (cache_search): Add const to second parameter.
40359 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40361 (dbs): Add netgrdb entry.
40362 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40363 (verify_persistent_db): Handle netgrdb.
40364 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40365 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40367 (netgroup_response_header): Define.
40368 (innetgroup_response_header): Define.
40369 (datahead): Add netgroup_response_header and innetgroup_response_header
40371 * nscd/nscd.conf: Add entries for netgroup cache.
40372 * nscd/nscd.h (dbtype): Add netgrdb.
40373 (_PATH_NSCD_NETGROUP_DB): Define.
40374 (netgroup_iov_disabled): Declare.
40375 (xmalloc, xcalloc, xrealloc): Move declarations here.
40376 (cache_search): Adjust prototype.
40377 Add netgroup-related prototypes.
40378 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40379 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40380 (__nscd_innetgr): Declare.
40381 * nscd/selinux.c (perms): Use access_vector_t as element type and
40382 add netgroup-related initializers.
40383 * nscd/netgroupcache.c: New file.
40384 * nscd/nscd_netgroup.c: New file.
40385 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40386 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40387 For four parameters use innetgr.
40388 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40389 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40390 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40391 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40393 * nscd/connections.c (register_traced_file): Don't register file
40394 for disabled databases.
40396 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40398 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40400 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40401 from tree and freeing node.
40403 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40405 * nss/nsswitch.c (__nss_database_lookup): Handle
40406 nss_parse_service_list out of memory case.
40408 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40410 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40411 out of memory case.
40413 2011-10-04 Andreas Schwab <schwab@redhat.com>
40415 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40416 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40418 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40419 elf_machine_rela, elf_machine_lazy_rel.
40420 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40421 (ELF_DYNAMIC_DO_REL): Likewise.
40422 (ELF_DYNAMIC_DO_RELA): Likewise.
40423 (ELF_DYNAMIC_RELOCATE): Likewise.
40424 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40425 to ELF_DYNAMIC_DO_REL.
40426 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40427 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40428 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40430 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40431 skip_ifunc, don't call ifunc function if non-zero.
40432 (elf_machine_rela): Likewise.
40433 (elf_machine_lazy_rel): Likewise.
40434 (elf_machine_lazy_rela): Likewise.
40435 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40436 (elf_machine_lazy_rel): Likewise.
40437 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40439 (elf_machine_lazy_rel): Likewise.
40440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40442 (elf_machine_lazy_rel): Likewise.
40443 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40444 (elf_machine_lazy_rel): Likewise.
40445 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40446 (elf_machine_lazy_rel): Likewise.
40447 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40448 (elf_machine_lazy_rel): Likewise.
40449 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40450 (elf_machine_lazy_rel): Likewise.
40451 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40452 (elf_machine_lazy_rel): Likewise.
40453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40454 (elf_machine_lazy_rel): Likewise.
40456 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40458 * nss/nss_files/files-init.c (_nss_files_init): Use static
40459 initialization for all the *_traced_file variables.
40461 2011-09-28 Andreas Schwab <schwab@redhat.com>
40463 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40465 2011-09-27 Roland McGrath <roland@hack.frob.com>
40468 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40470 2011-09-27 Andreas Schwab <schwab@redhat.com>
40472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40473 Reread the line before reparsing it.
40475 2011-09-26 Andreas Schwab <schwab@redhat.com>
40477 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40479 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40480 Maxim Kuvyrkov <maxim@codesourcery.com>
40481 Joseph Myers <joseph@codesourcery.com>
40483 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40484 if needed for __stack_chk_guard.
40486 2011-09-19 Roland McGrath <roland@hack.frob.com>
40488 * sysdeps/posix/spawni.c (script_execute): Always define it.
40489 It will be optimized away if unused.
40490 (maybe_script_execute): New function.
40491 (__spawni): Call it.
40493 * Makerules: Don't include tls.make.
40494 (config-tls): Always set to thread.
40495 * tls.make.c: File removed.
40497 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40499 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40500 * config.make.in (CPPFLAGS-config): New substituted variable.
40502 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40504 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40507 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40508 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40510 2011-09-15 Roland McGrath <roland@hack.frob.com>
40512 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40513 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40514 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40515 (CALL_FAIL): Likewise.
40516 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40517 (CALL_FAIL): Macro removed.
40518 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40520 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40522 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40523 for __FINITE_MATH_ONLY__ == 1.
40525 2011-09-15 Andreas Schwab <schwab@redhat.com>
40527 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40528 __ieee754_sqrt instead of sqrt.
40529 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40530 __ieee754_sqrtf instead of sqrtf.
40531 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40532 __floorf instead of floorf.
40533 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40534 __floorf, __truncf instead of floorf, truncf.
40536 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40538 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40540 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40541 __extern_always_inline.
40542 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40545 2011-09-14 Andreas Schwab <schwab@redhat.com>
40547 * elf/rtld.c (dl_main): Also relocate in dependency order when
40548 doing symbol dependency testing.
40550 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40553 Always define `refsym'.
40555 2011-09-13 Andreas Schwab <schwab@redhat.com>
40557 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40558 (__FD_ELT): Renamed from __FDELT.
40559 * misc/bits/select2.h (__FD_ELT): Likewise.
40560 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40561 __FD_MASK instead of __FDELT, __FDMASK.
40562 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40564 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40567 * elf/Makefile (gen-ldd): Fix pattern.
40569 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40570 (init_tls): Likewise.
40572 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40576 2011-09-12 Andreas Schwab <schwab@redhat.com>
40578 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40579 `struct cmsghdr *' instead of `void *'.
40580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40583 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40585 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40587 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40588 ldd_rewrite_script.
40590 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40592 * configure.in: Remove --with-tls option.
40593 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40594 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40595 out in case it is missing.
40596 * sysdeps/ia64/elf/configure.in: Likewise.
40597 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40598 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40599 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40600 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40601 * sysdeps/sh/elf/configure.in: Likewise.
40602 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40603 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40604 * sysdeps/x86_64/elf/configure.in: Likewise.
40605 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40606 * sysdeps/mach/hurd/tls.h: Likewise.
40609 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40612 * configure.in: Fix use of AC_INIT.
40614 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40616 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40618 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40620 * malloc/hooks.c: Likewise.
40623 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40624 variables statically.
40625 (narenas): Initialize.
40626 (list_lock): Initialize.
40627 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40628 initializtion of main_arena and list_lock. Small cleanups.
40629 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40630 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40631 Add initializers to main_arena and mp_.
40632 (malloc_state): Remove pagesize member. Change all users to use
40635 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40636 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40637 is always initialized.
40639 * malloc/malloc.c: Removed unused configurations and dead code.
40640 * malloc/arena.c: Likewise.
40641 * malloc/hooks.c: Likewise.
40642 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40644 * include/tls.h: Removed. USE___THREAD must always be defined.
40645 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40646 * elf/dl-libc.c: Likewise.
40647 * elf/dl-tsd.c: Likewise.
40648 * include/errno.h: Likewise.
40649 * include/netdb.h: Likewise.
40650 * include/resolv.h: Likewise.
40651 * inet/herrno-loc.c: Likewise.
40652 * inet/herrno.c: Likewise.
40653 * malloc/arena.c: Likewise.
40654 * malloc/hooks.c: Likewise.
40655 * malloc/malloc.c: Likewise.
40656 * resolv/res-state.c: Likewise.
40657 * resolv/res_libc.c: Likewise.
40658 * sysdeps/i386/dl-machine.h: Likewise.
40659 * sysdeps/ia64/dl-machine.h: Likewise.
40660 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40661 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40662 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40663 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40664 * sysdeps/sh/dl-machine.h: Likewise.
40665 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40666 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40667 * sysdeps/unix/i386/sysdep.S: Likewise.
40668 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40669 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40674 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40675 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40678 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40679 * sysdeps/x86_64/dl-machine.h: Likewise.
40680 * tls.make.c: Likewise.
40682 * configure.in: Remove --with-__thread option. Make tests for
40683 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40684 tls_model attribute fail if no support is available. Remove
40686 * Makeconfig: Adjust for dropped configure option. All features are
40688 * Makerules: Likewise.
40689 * Versions.def: Likewise.
40690 * argp/argp-fmtstream.c: Likewise.
40691 * argp/argp-fmtstream.h: Likewise.
40692 * argp/argp-help.c: Likewise.
40693 * assert/assert.c: Likewise.
40694 * config.h.in: Likewise.
40695 * config.make.in: Likewise.
40696 * configure: Likewise.
40697 * configure.in: Likewise.
40698 * csu/Versions: Likewise.
40699 * csu/init.c: Likewise.
40700 * elf/tst-audit2.c: Likewise.
40701 * elf/tst-tls10.c: Likewise.
40702 * elf/tst-tls10.h: Likewise.
40703 * elf/tst-tls11.c: Likewise.
40704 * elf/tst-tls12.c: Likewise.
40705 * elf/tst-tls14.c: Likewise.
40706 * elf/tst-tlsmod11.c: Likewise.
40707 * elf/tst-tlsmod12.c: Likewise.
40708 * elf/tst-tlsmod13.c: Likewise.
40709 * elf/tst-tlsmod13a.c: Likewise.
40710 * elf/tst-tlsmod14a.c: Likewise.
40711 * elf/tst-tlsmod15b.c: Likewise.
40712 * elf/tst-tlsmod16a.c: Likewise.
40713 * elf/tst-tlsmod16b.c: Likewise.
40714 * elf/tst-tlsmod7.c: Likewise.
40715 * elf/tst-tlsmod8.c: Likewise.
40716 * elf/tst-tlsmod9.c: Likewise.
40717 * gmon/gmon.c: Likewise.
40718 * grp/fgetgrent_r.c: Likewise.
40719 * grp/putgrent.c: Likewise.
40720 * hurd/fopenport.c: Likewise.
40721 * include/libc-symbols.h: Likewise.
40722 * include/tls.h: Likewise.
40723 * intl/gettextP.h: Likewise.
40724 * intl/loadinfo.h: Likewise.
40725 * locale/global-locale.c: Likewise.
40726 * locale/localeinfo.h: Likewise.
40727 * mach/devstream.c: Likewise.
40728 * malloc/arena.c: Likewise.
40729 * malloc/set-freeres.c: Likewise.
40730 * misc/err.c: Likewise.
40731 * misc/getttyent.c: Likewise.
40732 * misc/mntent_r.c: Likewise.
40733 * posix/getopt.c: Likewise.
40734 * posix/wordexp.c: Likewise.
40735 * pwd/fgetpwent_r.c: Likewise.
40736 * resolv/Versions: Likewise.
40737 * resolv/res_hconf.c: Likewise.
40738 * shadow/fgetspent_r.c: Likewise.
40739 * shadow/putspent.c: Likewise.
40740 * stdio-common/printf_fphex.c: Likewise.
40741 * stdio-common/tmpfile.c: Likewise.
40742 * stdlib/abort.c: Likewise.
40743 * stdlib/fmtmsg.c: Likewise.
40744 * sunrpc/auth_unix.c: Likewise.
40745 * sunrpc/clnt_perr.c: Likewise.
40746 * sunrpc/clnt_tcp.c: Likewise.
40747 * sunrpc/clnt_udp.c: Likewise.
40748 * sunrpc/clnt_unix.c: Likewise.
40749 * sunrpc/openchild.c: Likewise.
40750 * sunrpc/svc_simple.c: Likewise.
40751 * sunrpc/svc_tcp.c: Likewise.
40752 * sunrpc/svc_udp.c: Likewise.
40753 * sunrpc/svc_unix.c: Likewise.
40754 * sunrpc/xdr.c: Likewise.
40755 * sunrpc/xdr_array.c: Likewise.
40756 * sunrpc/xdr_rec.c: Likewise.
40757 * sunrpc/xdr_ref.c: Likewise.
40758 * sunrpc/xdr_stdio.c: Likewise.
40760 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40762 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40764 2011-07-03 Andreas Jaeger <aj@suse.de>
40766 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40767 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40768 regenerate with gen-libm-tests.pl.
40770 2010-05-12 Petr Baudis <pasky@suse.cz>
40773 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40774 around j0() zero points by switching to j1().
40775 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40776 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40778 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40780 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40782 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40784 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40787 Patch in part by Pavel Roskin <proski@gnu.org>.
40790 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40792 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40793 Free memory block if necessary.
40796 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40797 be NULL. Don't lock in this case.
40799 2011-09-09 Roland McGrath <roland@hack.frob.com>
40801 * elf/elf.h (ELFOSABI_GNU): New macro.
40802 (ELFOSABI_LINUX): Define to that.
40804 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40806 * string/strncat.c (strncat): Undef the symbol in case it has been
40807 defined in bits/string.h.
40809 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40811 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40813 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40816 2011-08-17 Andreas Jaeger <aj@suse.de>
40818 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40820 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40821 Ian Lance Taylor <iant@google.com>
40823 * math/libm-test.inc (lround_test): New testcase.
40824 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40826 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40828 * Makefile: Remove support for automatic cvs check-ins.
40829 * Makerules: Likewise.
40830 * config.make.in: Likewise.
40831 * configure.in: Likewise.
40832 * intl/Makefile: Likewise.
40833 * locale/Makefile: Likewise.
40834 * po/Makefile: Likewise.
40835 * posix/Makefile: Likewise.
40836 * sysdeps/gnu/Makefile: Likewise.
40837 * sysdeps/mach/hurd/Makefile: Likewise.
40838 * sysdeps/sparc/sparc32/Makefile: Likewise.
40841 * posix/Makefile (bug-regex32-ENV): Define.
40842 Patch by John Stanley <jpsinthemix@verizon.net>.
40844 * misc/Makefile (headers): Add bits/select2.h.
40845 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40846 * misc/bits/select2.h: New file.
40847 * include/bits/select2.h: New file.
40848 * debug/Makefile (routines): Add fdelt_chk.
40849 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40850 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40852 * debug/fdelt_chk.c: New file.
40854 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40855 * wcsmbs/test-wmemcmp.c: Likewise.
40856 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40857 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40859 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40861 * string/Makefile (strop-tests): Add memcmp.
40862 * string/test-wmemcmp.c: New file.
40863 * string/test-memcmp.c: Add wmemcmp support.
40865 2011-09-08 Roland McGrath <roland@hack.frob.com>
40868 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40871 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40872 garbage value in a __mach_port_mod_refs call in the cases of the
40873 task-self and thread-self ports.
40875 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40877 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40879 2011-09-08 Andreas Schwab <schwab@redhat.com>
40881 * elf/dl-load.c (lose): Check for non-null L.
40883 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40885 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40887 * elf/dl-libc.c (dlerror_run): Pass back error code from
40891 * elf/dl-load.c (lose): Free l_origin if it is valid.
40893 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40895 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40896 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40897 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40898 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40899 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40900 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40902 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40904 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40905 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40906 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40907 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40908 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40909 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40910 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40911 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40912 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40913 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40915 2011-08-15 Alan Modra <amodra@gmail.com>
40918 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40919 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40920 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40921 ppc_mcount to static-only-routines.
40922 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40924 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40925 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40927 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40929 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40930 for finite and infinity parameters.
40932 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40934 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40935 and add nop instructions for throughput optimization.
40936 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40938 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40940 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40941 aligned copy for power7 with vector-scalar instructions.
40942 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40944 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40946 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40949 2011-09-07 Andreas Schwab <schwab@redhat.com>
40952 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40955 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40957 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40958 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40959 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40960 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40963 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40965 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40966 Forgot to demangle the pointer.
40968 * sysdeps/i386/sysdep.h: Define atom_text_section.
40969 * sysdeps/x86_64/sysdep.h: Likewise.
40970 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40971 section with atom_text_section.
40972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40973 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40974 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40975 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40976 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40978 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40979 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40980 already be defined. Change to take two parameters and don't assign
40981 result to variable. Adjust all users.
40982 Define INTERNAL_GETTIME if not already defined.
40983 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40986 HAVE_CLOCK_GETTIME_VSYSCALL.
40987 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40990 gettimeofday vsyscall, just use time.
40992 2011-09-06 Andreas Schwab <schwab@redhat.com>
40994 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40997 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40999 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41001 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41003 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41004 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41005 syscall if possible.
41007 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41009 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41010 e_ident. Don't pass to find_mapsXX.
41011 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41013 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41016 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41017 * sysdeps/x86_64/multiarch/strchr.S: Update.
41018 Check bit_slow_BSF bit.
41019 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41020 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41021 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41023 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41026 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41028 (tryshell): Define.
41029 (__spawni): Change last parameter to be flag. Test
41030 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41031 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41032 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41033 * posix/spawni.c: Likewise.
41034 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41035 * posix/spawnp.c: Likewise. Change normal version to use
41036 SPAWN_XFLAGS_USE_PATH.
41037 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41038 SPAWN_XFLAGS_TRY_SHELL.
41041 * posix/glob.h: Remove gcc 1.x support.
41044 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41046 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41049 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41051 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41052 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41053 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41054 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41055 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41056 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41058 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41060 * sysdeps/x86_64/wcscmp.S: New file.
41062 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41063 wcscmp-c wcscmp-sse2
41064 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41065 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41066 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41067 * wcsmbs/wcscmp.c: Allow renaming.
41069 2011-09-05 David S. Miller <davem@davemloft.net>
41071 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41072 stack slot, rather than the struct return pointer slot.
41073 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41074 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41076 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41078 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41080 * po/ja.po: Update from translation team.
41083 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41084 kernel in 64-bit binaries.
41086 2011-09-01 David S. Miller <davem@davemloft.net>
41088 * elf/elf.h (HWCAP_SPARC_*): Move to..
41089 * sysdeps/sparc/sysdep.h: this new file and add new values.
41090 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41091 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41092 _DL_HWCAP_COUNT to 24.
41093 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41095 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41096 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41097 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41099 instead of magic constants.
41100 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41102 2011-08-31 David S. Miller <davem@davemloft.net>
41104 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41106 Reimplement to do errno handling inline.
41107 (SYSCALL_ERROR_HANDLER): New macro.
41108 (__SYSCALL_STRING): Do not do errno handling in asm.
41109 (__CLONE_SYSCALL_STRING): Delete.
41110 (__INTERNAL_SYSCALL_STRING): Delete.
41111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41112 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41113 (PSEUDO): Reimplement to do errno handling inline.
41114 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41115 (SYSCALL_ERROR_HANDLER): New macro.
41116 (__SYSCALL_STRING): Do not do errno handling in asm.
41117 (__CLONE_SYSCALL_STRING): Delete.
41118 (__INTERNAL_SYSCALL_STRING): Delete.
41119 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41120 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41122 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41123 (inline_syscall*): Add 'err' argument.
41124 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41125 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41126 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41127 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41129 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41130 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41132 2011-08-30 Andreas Schwab <schwab@redhat.com>
41134 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41136 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41138 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41141 2011-08-24 David S. Miller <davem@davemloft.net>
41143 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41145 2011-08-24 Andreas Schwab <schwab@redhat.com>
41147 * elf/Makefile: Add rules to build and run unload8 test.
41148 * elf/unload8.c: New file.
41149 * elf/unload8mod1.c: New file.
41150 * elf/unload8mod1x.c: New file.
41151 * elf/unload8mod2.c: New file.
41152 * elf/unload8mod3.c: New file.
41154 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41157 2011-08-23 David S. Miller <davem@davemloft.net>
41159 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41160 subtract stack bias.
41161 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41162 %sp not %fp in calculations.
41163 (_JMPBUF_UNWINDS_ADJ): Likewise.
41165 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41166 (aio_suspend): Call it to force an exception region around the
41167 AIO_MISC_WAIT() invocation.
41169 2011-08-23 Andreas Schwab <schwab@redhat.com>
41171 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41174 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41176 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41178 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41179 and <dl-machine.h>.
41180 (Elf64_FuncDesc): Remove.
41182 2011-08-22 David S. Miller <davem@davemloft.net>
41184 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41185 sigaltstack check, add missing cfi directives.
41186 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41187 missing cfi directives, and sigaltstack handling.
41189 2011-08-16 Andreas Schwab <schwab@redhat.com>
41192 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41193 object is seen twice.
41194 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41196 * elf/Makefile (distribute): Add tst-initorder2.c.
41197 (tests): Add tst-initorder2.
41198 (modules-names): Add tst-initorder2a tst-initorder2b
41199 tst-initorder2c tst-initorder2d. Add rules to build them.
41200 ($(objpfx)tst-initorder2.out): New rule.
41201 * elf/tst-initorder2.c: New file.
41202 * elf/tst-initorder2.exp: New file.
41204 2011-08-22 Andreas Schwab <schwab@redhat.com>
41206 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41208 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41209 dependencies back to end of function.
41211 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41212 $(elfobjdir)/ld.so.
41214 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41216 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41217 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41218 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41219 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41220 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41221 of __vdso_gettimeofday.
41222 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41223 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41225 (_libc_vdso_platform_setup): Remove initialization of
41226 __vdso_gettimeofday and __vdso_time.
41228 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41230 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41231 and fgetc_unlocked.
41232 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41235 * elf/dl-open.c (add_to_global): Report additions to the global scope
41236 for LD_DEBUG=scopes.
41237 (dl_open_worker): Also print scope of newly loaded dependencies.
41238 (_dl_show_scope): Indicate if there is no scope.
41241 * stdio-common/Makefile (tests): Add bug24.
41242 * stdio-common/bug24.c: New file.
41244 2011-08-19 Andreas Jaeger <aj@suse.de>
41247 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41248 non-existant file when using close-on-exec mode.
41250 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41253 the very first instruction.
41255 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41256 the CFI state in the end.
41257 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41258 inclusion of dl-trampoline.h.
41259 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41261 2011-08-19 Andreas Schwab <schwab@redhat.com>
41263 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41264 expectations for long double.
41266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41267 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41269 2011-08-14 David S. Miller <davem@davemloft.net>
41271 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41272 artificual limit depends upon the system page size.
41274 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41276 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41277 * resolv/Makefile: Define CFLAGS-libresolv.
41279 2011-08-17 Andreas Schwab <schwab@redhat.com>
41281 * nss/makedb.c (compute_tables): Make variables used in nested
41284 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41286 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41287 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41288 if buffer was too small.
41290 * elf/pldd.c (main): Attach to all threads in the process.
41291 Rewrite /proc handling to use *at functions.
41293 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41295 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41296 specifies first scope to show.
41297 (dl_open_worker): Update callers. Move printing scope of new
41298 object to before the relocation.
41299 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41300 * sysdeps/generic/ldsodefs.h: Update declaration.
41302 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41303 string for the scope number.
41305 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41307 * nscd/servicescache.c (cache_addserv): Make sure written is always
41310 2011-08-14 Roland McGrath <roland@hack.frob.com>
41312 * sysdeps/i386/i486/bits/atomic.h
41313 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41314 statement expression, so as to suppress "set but not used" warning.
41315 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41317 * string/strncat.c (STRNCAT): Use prototype definition.
41319 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41320 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41322 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41323 (localedef-modules): Add localedef.
41324 (locale-modules): Add locale.
41326 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41327 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41328 to avoid a warning.
41330 2011-08-14 David S. Miller <davem@davemloft.net>
41332 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41333 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41335 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41337 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41338 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41339 * elf/rtld.c (dl_main): Set l_name of vDSO.
41340 Call _dl_show_scope when DL_DEBUG_SCOPES.
41341 (process_dl_debug): Recognize scopes flag and also set it for all.
41342 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41343 Declare _dl_show_scope.
41345 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41346 (do_dlopen): Pass caller_dlopen to dl_open.
41347 (__libc_dlopen_mode): Initialize caller_dlopen.
41349 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41350 of libc. Make tolower call locale-independent. Optimize a bit by
41351 using isdigit instead of isalnum.
41352 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41354 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41356 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41357 was a dependency or dynamically loaded.
41359 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41361 * intl/l10nflist.c: Allow architecture-specific pop function.
41362 * sysdeps/x86_64/l10nflist.c: New file.
41364 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41367 2011-08-10 Andreas Schwab <schwab@redhat.com>
41369 * include/dirent.h: Add libc_hidden_proto for scandirat and
41370 scandirat64. Don't declare __scandirat64.
41371 * dirent/scandirat.c: Add libc_hidden_def.
41372 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41373 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41375 2011-08-10 David S. Miller <davem@davemloft.net>
41377 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41379 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41383 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41385 * Versions.def [libc]: Add GLIBC_2.15.
41386 * dirent/Makefile (routines): Add scandirat and scandirat64.
41387 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41389 * dirent/dirent.h: Declare scandirat and scandirat64.
41390 * dirent/scandirat.c: New file.
41391 * dirent/scandirat64.c: New file.
41392 * sysdeps/wordsize-64/scandirat.c: New file.
41393 * sysdeps/wordsize-64/scandirat64.c: New file.
41394 * dirent/opendir.c: Define opendirat.
41395 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41397 * dirent/scandir64.c: Adjust for scandir.c change.
41398 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41399 __scandirat64, and __scandir_cancel_handler.
41400 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41401 additional parameter and use openat instead of open (outside of ld.so).
41402 Add new __opendir as wrapper around __opendirat.
41403 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41404 here without requiring old scandirat implementation.
41406 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41408 * dirent/scandir.c (cancel_handler): Renamed to
41409 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41410 defined. Adjust users.
41411 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41412 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41414 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41416 * string/test-string.h (IMPL): Use __STRING to expand name and then
41419 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41422 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41424 * string/Makefile: Update.
41425 (strop-tests): Append strncat.
41426 * string/test-wcscmp.c: New file.
41427 New comprehensive test for wcscmp.
41428 * string/test-strcmp.c: Update.
41429 (WIDE): New define.
41431 2011-07-22 Andreas Schwab <schwab@redhat.com>
41433 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41436 2011-07-26 Andreas Schwab <schwab@redhat.com>
41438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41439 encoding to ACE if AI_IDN.
41441 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41443 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41444 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41446 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41448 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41449 Fix overflow bug in strncat.
41450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41452 * string/test-strncat.c: Update.
41453 Add new tests for checking overflow bugs.
41455 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41458 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41459 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41460 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41462 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41463 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41464 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41465 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41467 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41468 (USE_AS_STRCAT): Define.
41469 Add strcat and strncat support.
41470 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41472 2011-07-25 Andreas Schwab <schwab@redhat.com>
41474 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41475 __n bigger than INT_MAX+1.
41476 (__strncmp_g): Likewise.
41478 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41480 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41481 * libio/stido.h: Likewise.
41483 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41488 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41489 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41491 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41495 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41500 (_dl_x86_64_save_sse): Likewise.
41502 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41506 (_dl_x86_64_save_sse): Likewise.
41508 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41510 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41512 2011-07-21 Andreas Schwab <schwab@redhat.com>
41514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41516 (_dl_x86_64_save_sse): Use correct AVX check.
41518 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41520 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41521 bug in strncpy/strncat.
41522 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41524 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41526 * string/tester.c (test_strcat): Add tests for different alignments
41527 of source and destination.
41528 (test_strncat): Likewise.
41530 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41533 * posix/glob.c (glob): Check passed in values before using them in
41534 expressions to avoid some overflows.
41535 (glob_in_dir): Likewise.
41538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41539 check for AVX enablement so that we don't crash with old kernels and
41541 * elf/tst-audit4.c: Add same checks here.
41542 * elf/tst-audit6.c: Likewise.
41544 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41546 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41548 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41550 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41552 * po/cs.po: Update from translation team.
41553 * po/bg.po: Likewise.
41555 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41557 * misc/sys/cdefs.h: Add support for const attribute.
41558 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41559 to gnu_dev_{major,minor,makedev} functions.
41561 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41563 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41565 2011-07-20 Andreas Schwab <schwab@redhat.com>
41567 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41570 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41573 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41574 register in order to avoid conflicts with the soft frame pointer
41575 being held in r11 when necessary.
41576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41577 (INTERNAL_VSYSCALL_NCS): Likewise.
41579 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41581 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41582 * elf/dl-fini.c (_dl_fini): Adjust caller.
41583 * elf/dl-close.c (_dl_close_worker): Likewise.
41584 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41586 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41588 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41589 "aux_cache->nlibs < 0".
41591 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41592 in the reload-count case.
41594 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41597 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41598 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41599 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41600 * sysdeps/x86_64/multiarch/strcat.S: New file.
41601 * sysdeps/x86_64/multiarch/strncat.S: New file.
41602 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41603 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41604 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41605 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41607 (USE_AS_STRCAT): Define.
41608 Add strcat and strncat support.
41609 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41610 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41611 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41612 * string/strncat.c: Update.
41613 (USE_AS_STRNCAT): Define.
41614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41615 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41617 * sysdeps/x86_64/multiarch/init-arch.h
41618 (bit_Prefer_PMINUB_for_stringop): New.
41619 (index_Prefer_PMINUB_for_stringop): Likewise.
41620 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41621 bit_Prefer_PMINUB_for_stringop.
41623 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41625 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41627 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41628 of casting of buffer.
41629 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41630 buffer32 and buffer64.
41631 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41632 writes instead of casting of buffer.
41633 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41635 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41638 2011-07-19 Andreas Schwab <schwab@redhat.com>
41640 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41642 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41644 * nscd/nscd.c (termination_handler): Don't do anything for a database
41645 if it has not yet been initialized.
41647 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41649 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41651 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41653 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41655 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41657 * po/nl.po: Update from translation team.
41658 * po/sv.po: Likewise.
41660 2011-07-16 Roland McGrath <roland@hack.frob.com>
41662 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41663 now disallowed by GCC.
41665 * configure.in (use-default-link): Default to yes if a test -shared
41666 link meets our qualifications.
41667 * configure: Regenerated.
41669 * config.make.in (output-format): New variable.
41670 * configure.in: Check for ld --print-output-format support.
41671 * configure: Regenerated.
41672 * Makerules ($(common-objpfx)format.lds)
41673 [$(output-format) != unknown]: Just use $(output-format),
41674 instead of the linker-script munging.
41676 2011-07-14 Roland McGrath <roland@hack.frob.com>
41678 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41679 of $(common-objpfx)shlib.lds.
41680 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41682 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41683 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41685 * configure.in (-z relro check): Adjust test code to add a large
41686 writable data section after it.
41687 * configure: Regenerated.
41689 2011-07-11 Roland McGrath <roland@hack.frob.com>
41691 * configure.in (-z relro check): Fix test code to make the variable
41693 * configure: Regenerated.
41695 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41697 * nscd/nscd.h (struct traced_file): Define.
41698 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41699 elements. Add traced_files.
41700 (inotify_fd): Declare.
41701 (register_traced_file): Declare.
41702 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41703 (inotify_fd): Export.
41704 (resolv_conf_descr): Remove.
41705 (nscd_init): Move inotify descriptor creation to main.
41706 Don't register files for notification here.
41707 (register_traced_file): New function.
41708 (invalidate_cache): Don't use reset_res to determine whether to call
41709 res_init, go through the list of registered files.
41710 (main_loop_poll): The inotify descriptors are now stored in the
41711 structures for the traced files.
41712 (main_loop_epoll): Likewise
41713 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41714 to __nss_disable_nscd.
41715 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41716 for a database anymore. Check the records for all the registered
41718 * nss/Makefile (libnss_files-routines): Add files-init.
41719 (libnss_db-routines): Add db-init.
41720 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41721 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41722 * nss/nss_db/db-init.c: New file.
41723 * nss/nss_files/files-init.c: New file.
41724 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41725 __nss_lookup_function.
41726 (__nss_lookup_function): Call nss_load_library.
41727 (nss_load_all_libraries): New function.
41728 (__nss_disable_nscd): Take parameter with callback function for files
41729 to register. Set is_nscd. Load all the DSOs for the NSS modules
41730 used for the cached services.
41731 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41732 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41733 options for features to all the files in nscd.
41735 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41737 2011-07-10 Roland McGrath <roland@hack.frob.com>
41739 * csu/elf-init.c (__libc_csu_init): Comment typo.
41741 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41743 * po/pl.po: Update from translation team.
41744 * po/ja.po: Likewise.
41745 * po/ru.po: Likewise.
41746 * po/ko.po: Likewise.
41747 * po/fr.po: Likewise.
41749 2011-07-09 Roland McGrath <roland@hack.frob.com>
41751 * configure.in (.ctors/.dtors header and trailer check):
41752 Use an empirical test on a built program.
41753 * configure: Regenerated.
41755 * configure.in (-z relro check): Use an empirical test on a built DSO.
41756 Detect, but do not require, on ia64.
41757 * configure: Regenerated.
41759 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41760 Update tests that use readelf to use $READELF instead.
41761 * configure: Regenerated.
41763 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41765 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41766 if the result is not used.
41768 2011-07-05 Andreas Jaeger <aj@suse.de>
41771 * stdlib/tst-strtod.c: Add testcase.
41773 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41775 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41776 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41777 The latter has a higher limit. Take additional parameter to pass to
41779 (__pathconf): Pass file to __statfs_link_max.
41780 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41782 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41786 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41787 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41789 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41790 (__statfs_filesize_max): Likewise.
41791 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41793 2011-07-05 Andreas Jaeger <aj@suse.de>
41795 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41797 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41799 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41801 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41804 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41806 * Makefile (strop-tests): Add strncat.
41807 * string/test-strncat.c: New file.
41809 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41811 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41813 2011-06-21 Andreas Jaeger <aj@suse.de>
41815 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41816 Copy rule from iconvdata/Makefile.
41818 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41821 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41822 but no long options are defined, just return 'W'.
41824 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41827 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41829 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41831 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41833 (innetgr): Likewise.
41835 2011-07-05 Roland McGrath <roland@hack.frob.com>
41837 * config.make.in (install_root): Default to $(DESTDIR).
41839 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41841 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41843 2011-07-02 Roland McGrath <roland@hack.frob.com>
41845 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41847 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41848 containing directory rather than embedding absolute directory names.
41850 * scripts/check-local-headers.sh: Rewritten using awk.
41851 Match by word, not by line. Print error messages for matches.
41852 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41854 * Makerules [shlib-lds-flags empty]:
41855 ($(common-objpfx)libc_pic.opts): New target.
41856 ($(common-objpfx)libc_pic.os.clean): New target.
41857 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41859 * config.make.in (OBJCOPY): New variable.
41860 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41861 * configure: Regenerated.
41863 * config.make.in (use-default-link): New variable.
41864 * configure.in (use_default_link): Grok --with-default-link to set it.
41865 * configure: Regenerated.
41866 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41867 (shlib-lds, shlib-lds-flags): Define to empty.
41869 * Makerules (shlib-lds): New variable.
41870 (shlib-lds-flags): New variable.
41871 (build-shlib, build-moduile, build-module-asneeded): Use it.
41872 ($(common-objpfx)libc.so): Use $(shlib-lds).
41873 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41874 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41876 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41877 DT_FLAGS/DT_FLAGS_1 with zero flags.
41879 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41880 linker script munging.
41882 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41884 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41886 * crypt/sha512.c (sha512_process_block): Perform total addition using
41887 128-bit if possible.
41888 (__sha512_finish_ctx): Likewise.
41889 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41891 * crypt/sha256.c (SWAP64): Define.
41892 (sha256_process_block): Perform total addition using 64-bit if
41894 (__sha256_finish_ctx): Likewise.
41896 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41898 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41899 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41900 * nscd/hstcache.c (cache_addhst): Likewise.
41901 * nscd/grpcache.c (cache_addgr): Likewise.
41902 * nscd/aicache.c (addhstaiX): Likewise
41903 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41905 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41907 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41909 * nscd/hstcache.c (cache_addhst): Likewise.
41910 * nscd/grpcache.c (cache_addgr): Likewise.
41911 * nscd/aicache.c (addhstaiX): Likewise
41913 2011-07-01 Andreas Schwab <schwab@redhat.com>
41915 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41916 domain only when needed.
41918 2011-06-30 Andreas Schwab <schwab@redhat.com>
41920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41921 is always restored.
41923 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41925 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41926 are re-adding the entry.
41927 * nscd/servicescache.c (cache_addserv): Likewise.
41929 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41931 * sysdeps/generic/dl-irel.h: fix protection against multiple
41933 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41935 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41938 * malloc/memusage.sh: Fix quoting in message.
41939 * debug/xtrace.sh: Likewise.
41941 * configure.in: Remove support for --experimental-malloc option, make
41943 * config.make.in: Likewise.
41944 * malloc/Makefile: Likewise.
41946 2011-06-27 Andreas Schwab <schwab@redhat.com>
41948 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41949 two-byte characters.
41951 2011-06-27 Roland McGrath <roland@hack.frob.com>
41953 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41954 AC_CACHE_CHECK invocation.
41955 * configure: Regenerated.
41957 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41959 2011-06-27 Ulrich Drepper <drepper@gmail.com>
41962 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41963 bit from old_res_options.
41965 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41967 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41968 value type for setfct.
41970 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41973 __gettimeofday instead of gettimeofday.
41975 2011-06-26 Ulrich Drepper <drepper@gmail.com>
41977 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41979 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41981 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41983 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41986 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41989 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41990 strcpy-sse2-unaligned strncpy-sse2-unaligned
41991 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41992 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41993 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41994 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41995 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41996 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41997 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41998 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41999 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42000 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42001 (STRCPY): Support SSE2 and SSSE3 versions.
42003 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42006 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42007 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42008 kernels which artificially limit size of requests.
42010 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42013 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42014 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42015 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42016 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42017 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42018 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42019 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42020 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42021 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42022 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42023 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42024 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42025 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42026 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42028 Enable unaligned load optimization for Intel Core i3, i5 and i7
42030 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42032 (index_Fast_Unaligned_Load): Define.
42033 (HAS_FAST_UNALIGNED_LOAD): Define.
42035 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42037 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42039 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42043 until it is clear that the information is realy needed.
42044 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42046 2011-06-22 Andreas Schwab <schwab@redhat.com>
42048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42050 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42052 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42053 /sys/devices/system/cpu/online if it is usable.
42055 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42056 reading the information from the /proc filesystem to once a second.
42058 2011-06-21 Andreas Jaeger <aj@suse.de>
42060 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42061 NULL after inclusion of kernel headers.
42063 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42065 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42066 calls to internal_setent.
42069 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42070 addresses using gethostbyname4_r ignore IPv4 addresses.
42072 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42073 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42075 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42077 2011-06-20 David S. Miller <davem@davemloft.net>
42079 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42081 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42083 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42084 (elf_irel): Use it.
42085 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42086 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42087 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42088 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42089 * sysdeps/x86_64/dl-irel.h: Likewise.
42091 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42092 * elf/dl-sym.c: Likewise.
42094 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42096 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42097 need to dereference resplen2.
42099 2011-06-14 Andreas Schwab <schwab@redhat.com>
42101 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42103 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42105 * Makeconfig: Define vardbdir and inst_vardbdir.
42106 * nss/Makefile: Add rules to install db-Makefile.
42108 * nss/nss_db/db-XXX.c: Cleanup.
42110 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42111 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42113 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42114 * nss/makedb.c: Implement -g option to specify that value strings
42115 are generated and should not be added to table iterated over for
42117 * nss/nss_db/db-initgroups.c: New file.
42119 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42122 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42123 (internal_getgrouplist): Adjust to name change.
42124 Update use_initgroups_entry if this is not the first call.
42125 * nss/databases.def: Add initgroups entry.
42127 * nss/makedb.c (compute_tables): Check result of multiple hash table
42128 sizes to minimize maximum chain length.
42130 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42132 * Versions.def: Add entry for libnss_db.
42133 * shlib-versions: Likewise.
42134 * nss/Makefile: Add rules to build libnss_db.
42135 * nss/Versions: Add libnss_db information. Organize libnss_files
42137 * nss/db-Makefile: Add gshadow support. Change rules for the new
42138 makedb progra. Some minor improvements to generate smaller files.
42139 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42141 * nss/makedb.c: ...here.
42142 Improve database format to be smaller and require less memory at
42144 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42146 * nss/nss_db/db-netgrp.c: Likewise.
42147 * nss/nss_db/db-open.c: Likewise.
42148 * nss/nss_files/flies-XXX.x: Adjust comments.
42149 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42150 * nss/nss_files/files-grp.c: Likewise.
42151 * nss/nss_files/files-hosts.c: Likewise.
42152 * nss/nss_files/files-network.c: Likewise.
42153 * nss/nss_files/files-proto.c: Likewise.
42154 * nss/nss_files/files-pwd.c: Likewise.
42155 * nss/nss_files/files-rpc.c: Likewise.
42156 * nss/nss_files/files-service.c: Likewise.
42157 * nss/nss_files/files-sgrp.c: Likewise.
42158 * nss/nss_files/files-spwd.c: Likewise.
42159 * nss/nss_db/db-alias.c: Removed.
42160 * nss/nss_db/dummy-db.h: Removed.
42162 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42164 * nss/makedb.c: Rewritten to not use database library.
42165 * nss/Makefile: Update to build new makedb program.
42167 2011-06-14 Andreas Jaeger <aj@suse.de>
42169 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42170 memset declaration.
42172 2011-06-10 Andreas Schwab <schwab@redhat.com>
42174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42177 2011-06-10 Roland McGrath <roland@hack.frob.com>
42179 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42180 * elf/Makefile ($(objpfx)ld.so): Likewise.
42182 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42183 Don't list ld.so twice in dependencies.
42185 * posix/bug-regex31.c: Include <stdlib.h>.
42187 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42189 * nis/nss_compat/compat-spwd.c
42190 (getspent_next_nss_netgr): Remove unused variable.
42191 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42193 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42194 nonmembers" output to use the right array.
42196 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42198 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42200 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42201 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42202 * catgets/gencat.c (read_input_file): Likewise.
42203 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42205 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42206 variable definition inside #if's controlling its use.
42208 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42210 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42212 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42214 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42217 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42219 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42220 * configure: Regenerated.
42222 * Makerules: Revert last change.
42223 * elf/Makefile: Likewise.
42225 2011-06-09 Roland McGrath <roland@hack.frob.com>
42227 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42228 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42229 (reloc-link): Likewise.
42231 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42233 * elf/Makefile: Add rules to build pldd.
42234 * elf/pldd.c: New file.
42235 * elf/pldd-xx.c: New file.
42237 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42239 * version.h: Update for 2.15 development version.
42241 2011-06-07 David S. Miller <davem@davemloft.net>
42243 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42245 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42246 elf_machine_lazy_rel): Likewise.
42247 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42248 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42249 elf_machine_lazy_rel): Likewise.
42250 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42251 dl_hwcap via passed in argument.
42252 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42255 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42257 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42259 2011-06-06 Roland McGrath <roland@hack.frob.com>
42262 * manual/fdl-1.1.texi: New file, verbatim from:
42263 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42264 * manual/lgpl-2.1.texi: New file, verbatim from:
42265 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42266 * manual/Makefile (licenses): New variable, list those new file names.
42268 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42270 * manual/fdl.texi: File removed.
42271 * manual/lesser.texi: File removed.
42272 * manual/libc.texinfo (Copying, Documentation License):
42273 Use new @include file names, put @appendix directive before @include.
42275 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42278 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42279 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42280 (mq_open): Add __NTH.
42282 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42285 Assume Intel Core i3/i5/i7 processor if AVX is available.
42287 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42292 2011-05-31 Andreas Schwab <schwab@redhat.com>
42294 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42295 memory. Use alloca_account. Fix memory leak when retrying.
42297 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42299 * version.h (RELEASE): Bump for 2.14 release.
42300 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42302 * config.make.in (RANLIB): Remove entry.
42304 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42306 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42307 (libc.pot): Work around missing support for .ksh extension in xgettext.
42310 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42311 if both request failed.
42312 (send_dg): In case of server errors clear resplen or *resplen2.
42315 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42316 when there are multiple maps.
42317 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42318 (_dl_fini): Remove test here.
42320 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42322 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42325 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42326 bit from old_res_options.
42327 (gaih_inet): Likewise.
42330 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42333 * resolv/res_init.c (res_setoptions): Make the code more compact.
42336 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42340 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42342 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42345 * malloc/malloc.h: Declare malloc hook variables as volatile.
42347 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42351 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42352 raise in the comment.
42353 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42354 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42355 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42357 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42360 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42361 grow the buffers more if it already has to be sufficient.
42362 (build_wcs_upper_buffer): Likewise.
42363 * posix/regexec.c (check_matching): Likewise.
42364 (clean_state_log_if_needed): Likewise.
42365 (extend_buffers): Don't enlarge buffers beyond size of the input
42367 Patches mostly by Emil Wojak <emil@wojak.eu>.
42368 * posix/bug-regex32.c: New file.
42369 * posix/Makefile (tests): Add bug-regex32.
42371 * locale/findlocale.c (_nl_find_locale): Return right away if
42372 _nl_explode_name failed.
42373 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42375 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42377 * debug/xtrace.sh: Unify messages.
42378 * malloc/memusage.sh: Likewise.
42381 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42382 time symbol from vDSO. Substitute with vsyscall if not available.
42383 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42386 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42387 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42388 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42389 Add sendmmsg and internal_sendmmsg.
42390 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42391 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42392 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42394 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42395 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42396 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42398 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42401 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42402 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42404 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42408 * iconvdata/Makefile (tests): Add bug-iconv9.
42409 * iconvdata/bug-iconv9.c: New file.
42411 2011-05-27 Andreas Schwab <schwab@redhat.com>
42414 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42416 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42418 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42419 (struct user_regs_struct): Change intcs field back to cs.
42421 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42423 * po/ja.po: Update from translation team.
42425 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42428 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42429 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42431 2011-05-20 Andreas Schwab <schwab@redhat.com>
42433 * stdlib/longlong.h: Update from GCC.
42435 2011-05-23 Andreas Schwab <schwab@redhat.com>
42437 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42439 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42440 Add parameter name.
42441 (__sysconf): Pass it down.
42443 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42446 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42448 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42449 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42450 add in in __libc_use_alloca calls. Adjust callers.
42451 (glob): Use malloc in some situations.
42453 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42454 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42457 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42459 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42460 and CLOCK_BOOTTIME_ALARM.
42463 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42466 * string/_strerror.c (__strerror_r): Print negative errors as signed
42470 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42471 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42472 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42474 * configure.in: Fix typo in redirection and correct removal of test
42475 files in two cases.
42478 * locale/setlocale.c (new_composite_name): Fix test to check for
42479 identical name of all categories.
42482 * libio/filedoalloc.c (local_isatty): New function.
42483 (_IO_file_doallocate): Use local_isatty.
42484 * stdio-common/perror.c (perror): In case a new stream is used
42485 forward the stream error.
42486 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42489 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42494 * include/alloca.h (extend_alloca_account): Define.
42497 * posix/regex.h: Fix comments with documentation of user-accessible
42498 fields after compilation and describe correct free'ing of pattern
42499 after re_compile_pattern.
42500 Patch by Reuben Thomas <rrt@sc3d.org>.
42502 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42504 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42505 and -mno-altivec to prevent the compiler from using Altivec and/or
42506 VSX instructions when the corresponding registers are not available.
42508 2011-05-19 Andreas Schwab <schwab@redhat.com>
42510 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42512 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42514 * libio/freopen.c (freopen): Use __dup2, not dup2.
42515 * libio/freopen64.c (freopen64): Likewise.
42517 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42520 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42521 * math/Makefile (tests): Add test-powl.
42522 (CFLAGS-test-powl.c): Define.
42523 * math/test-powl.c: New file.
42525 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42527 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42529 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42532 * iconvdata/gb18030.c: Update to GB18020-2005.
42534 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42536 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42537 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42538 Patch by Aharon Robbins <arnold@skeeve.com>.
42541 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42545 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42546 through underflows.
42549 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42550 point to strings before performing equality test for error_one_per_line
42554 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42557 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42558 (struct user_fpregs_struct): Avoid __uint*_t types.
42561 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42562 symbol info. Use it instead of calling _dl_addr locally.
42563 (lock_and_info): New function.
42564 (tr_freehook): Call lock_and_info and pass symbol info as additional
42565 parameter to tr_where.
42566 (tr_mallochook): Likewise.
42567 (tr_reallochook): Likewise.
42568 (tr_memalignhook): Likewise.
42570 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42571 used and couldn't be at all thread-safe.
42573 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42575 * libio/freopen.c (freopen): Don't close old file descriptor
42576 before the new one is opened. Instead dup the new file descriptor
42577 to the old one after the new stream is created.
42578 * libio/freopen64.c (freopen64): Likewise.
42579 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42580 * libio/fileops.c (_IO_new_file_close_it): Handle new
42581 _IO_FLAGS2_NOCLOSE flag.
42582 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42583 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42584 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42585 _IO_FLAGS2_NOCLOSE flag.
42586 * include/unistd.h: Add hidden_proto for dup3.
42587 Define __have_dup3.
42588 * io/dup3.c: Define hidden symbol.
42589 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42592 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42593 when an incomplete long option is used.
42594 * posix/tst-getopt_long1.c: New file.
42595 * posix/Makefile (tests): Add tst-getopt_long1.
42598 * scripts/config.guess: Update from autoconf-2.68.
42599 * scripts/config.sub: Likewise.
42602 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42604 (has_cpuclock): ...this. New function.
42605 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42606 macro here based on has_cpuclock code.
42609 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42610 First byte (not low byte) is now always NUL.
42611 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42614 Use non-cancelable interfaces.
42617 * locale/iso-639.def: Add entry for Sorani.
42620 * include/stdlib.h: Move include protection to the right place.
42621 Define abort_msg_s. Declare __abort_msg with it.
42622 * stdlib/abort.c (__abort_msg): Adjust type.
42623 * assert/assert.c (__assert_fail_base): New function. Majority
42624 of code from __assert_fail. Allocate memory for __abort_msg with
42626 (__assert_fail): Now call __assert_fail_base.
42627 * assert/assert-perr.c: Remove bulk of implementation. Use
42628 __assert_fail_base.
42629 * include/assert.hL Declare __assert_fail_base.
42630 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42632 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42634 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42638 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42639 until all modules are registered in the DTV.
42640 * elf/Makefile: Add rules to build and run tst-tls19.
42641 * elf/tst-tls19.c: New file.
42642 * elf/tst-tls19mod1.c: New file.
42643 * elf/tst-tls19mod2.c: New file.
42644 * elf/tst-tls19mod3.c: New file.
42645 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42648 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42652 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42653 two-byte sequence errors.
42654 * iconvdata/Makefile (tests): Add bug-iconv8.
42655 * iconvdata/bug-iconv8.c: New file.
42658 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42661 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42664 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42665 (dummy_getcfa): New function.
42666 (init): Get _Unwind_GetCFA address, use dummy if not found.
42667 (backtrace_helper): In recursion check, also check whether CFA changes.
42668 (__backtrace): Completely initialize arg.
42670 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42671 storing incomplete byte sequence in state object. Avoid testing for
42672 guaranteed too small input if we know there is enough data available.
42674 2011-05-11 Andreas Schwab <schwab@redhat.com>
42676 * Makeconfig (+link-pie): Indent.
42677 * Rules (binaries-pie): Define if $(have-fpie) and
42679 (binaries-shared): Also filter out $(binaries-pie).
42680 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42681 * nscd/Makefile (others-pie): Add nscd.
42682 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42683 ($(objpfx)nscd): Remove command override.
42684 * login/Makefile (others-pie): Add pt_chown.
42685 ($(objpfx)pt_chown): Remove command override.
42686 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42687 remove command overrides.
42689 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42691 * libio/tst_putwc.c: Fix error messages.
42694 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42695 currently writing and seek to current position when not.
42696 * libio/Makefile (tests): Add bug-fclose1.
42697 * libio/bug-fclose1.c: New file.
42699 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42702 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42703 don't set DF_1_NODELETE here.
42704 (do_lookup_x): When entering new entry test for copy relocation
42705 and if necessary set DF_1_NODELETE flag.
42706 * elf/tst-unique4.cc: New file.
42707 * elf/tst-unique4.h: New file.
42708 * elf/tst-unique4lib.cc: New file.
42709 * elf/Makefile: Add rules to build and run tst-unique4.
42710 Patch by Piotr Bury <pbury@goahead.com>.
42712 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42715 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42718 * misc/mntent_r.c (addmntent): Flush the stream after the output
42721 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42722 (is_trusted_path_normalize): Skip initial colon. Append slash
42723 to empty buffer. Duplicate is_trusted_path code but allow
42724 constructed patch to be prefix.
42725 (is_dst): Allow $ORIGIN followed by /.
42726 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42727 Correct testing of result of is_trusted_path_normalize
42728 (decompose_rpath): Fix warning.
42730 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42733 * grp/initgroups.c (internal_getgrouplist): When we found the service
42734 list through the initgroups entry in nsswitch.conf do not always
42735 continue on a successful lookup. Don't always use the
42736 __nss_group_database value if it is set.
42737 * nss/nsswitch.conf (initgroups): Change action for successful db
42738 lookup to continue for compatibility.
42740 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42743 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42745 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42747 * iconvdata/tst-tables.sh: Likewise.
42748 * iconvdata/cp770.c: New file.
42749 * iconvdata/cp771.c: New file.
42750 * iconvdata/cp772.c: New file.
42751 * iconvdata/cp773.c: New file.
42752 * iconvdata/cp774.c: New file.
42753 * iconvdata/testdata/CP770: New file.
42754 * iconvdata/testdata/CP770..UTF8: New file.
42755 * iconvdata/testdata/CP771: New file.
42756 * iconvdata/testdata/CP771..UTF8: New file.
42757 * iconvdata/testdata/CP772: New file.
42758 * iconvdata/testdata/CP772..UTF8: New file.
42759 * iconvdata/testdata/CP773: New file.
42760 * iconvdata/testdata/CP773..UTF8: New file.
42761 * iconvdata/testdata/CP774: New file.
42762 * iconvdata/testdata/CP774..UTF8: New file.
42764 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42766 * iconvdata/gen-8bit-gap.sh: Likewise.
42767 * iconvdata/gen-8bit.sh: Likewise.
42769 * locale/iso-639.def: Add ary entry.
42772 * locale/C-translit.h.in: Add U20A1 transliteration.
42775 * locale/iso-639.def: Add wae entry.
42776 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42779 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42783 * locale/C-translit.h.in: Add entry for U20B9.
42784 Patch by pravin.d.s@gmail.com.
42786 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42789 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42790 ENAMETOOLONG use generic getcwd.
42791 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42792 in rtld. Use *stat64.
42793 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42794 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42795 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42796 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42797 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42798 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42799 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42800 __fstatat64 macros.
42801 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42802 * dirent/rewinddir.c: Add libc_hidden_def.
42803 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42804 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42806 * include/dirent.h (__alloc_dir): Add flags parameter.
42807 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42808 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42810 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42811 from fdopendir if O_CLOEXEC is already set.
42813 2011-03-15 Alan Modra <amodra@gmail.com>
42815 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42816 l_tls_firstbyte_offset non-zero. Save padding offset in
42817 l_tls_firstbyte_offset for later use.
42818 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42819 freeing static tls block.
42821 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42823 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42824 where #ifdef was intended. The intent is to prevent ARG_MAX from
42825 being defined by the kernel headers.
42827 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42830 * resolv/resolv.h: Define RES_NOTLDQUERY.
42831 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42832 no-tld-query and set RES_NOTLDQUERY.
42833 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42834 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42835 modern BIND to search name as TLD unless forbidden.
42837 2011-05-07 Petr Baudis <pasky@suse.cz>
42838 Ulrich Drepper <drepper@gmail.com>
42841 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42842 (is_trusted_path): ...to here.
42843 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42844 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42845 using is_trusted_path_normalize() in setuid scripts.
42847 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42849 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42850 __BEGIN/__END_DECLS.
42852 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42854 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42855 NSS_STATUS_NOTFOUND if no record was found.
42857 2011-05-05 Andreas Schwab <schwab@redhat.com>
42859 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42860 (headers-not-in-tirpc): Remove rpc/netdb.h
42861 * resolv/netdb.h: Revert last change.
42863 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42865 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42866 circular dependency between libgcc.a and libc.a.
42868 2011-05-05 Andreas Schwab <schwab@redhat.com>
42870 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42871 * nis/Makefile: Don't install rpcsvc/*.
42872 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42873 instead of <rpc/types.h>.
42874 (MAXHOSTNAMELEN): Define.
42876 2011-05-03 Andreas Schwab <schwab@redhat.com>
42878 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42880 2011-04-28 Maciej Babinski <mbabinski@google.com>
42883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42884 gethostbyname4_r when IPv6 results are possible.
42886 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42889 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42890 _PC_PIPE_BUF handling.
42892 2011-04-30 Bruno Haible <bruno@clisp.org>
42895 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42896 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42898 * inet/getnameinfo.c (getnameinfo): Likewise.
42900 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42902 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42903 to groups setting in database lookup.
42904 * nss/nsswitch.conf: Add initgroups entry.
42906 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42909 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42911 Patch by Eric Blake <eblake@redhat.com>.
42913 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42915 * sunrpc/Makefile (need-export-routines): Add svc_run.
42916 (routines): Remove svc_run.
42917 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42918 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42919 * sunrpc/svc_run.c (svc_run): Likewise.
42920 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42922 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42924 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42925 problem in reallocation in last patch.
42927 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42929 * sunrpc/Makefile: Move inclusion of Rules.
42931 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42933 * nss/nss_files/files-initgroups.c: New file.
42934 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42935 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42936 _nss_files_initgroups_dyn.
42938 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42940 * elf/elf.h (R_ARM_IRELATIVE): Define.
42942 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42944 * po/ru.po: Update from translation team.
42946 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42948 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42951 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42954 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42955 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42956 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42957 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42958 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42960 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42962 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42964 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42965 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42966 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42968 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42971 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42973 * stdlib/bug-getcontext.c: New file.
42974 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42976 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42978 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42979 instructions into .machine "z9-109".
42980 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42981 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42983 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42985 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42986 between environment variables and auxiliary vector.
42988 2011-04-16 Ulrich Drepper <drepper@gmail.com>
42990 * Makefile: Add rules to build linkobj/libc.so.
42991 * include/libc-symbols.h: Define libc_hidden_nolink.
42992 * include/rpc/auth.h: Mark functions which are to be hidden.
42993 * include/rpc/auth_des.h: Likewise.
42994 * include/rpc/auth_unix.h: Likewise.
42995 * include/rpc/clnt.h: Likewise.
42996 * include/rpc/des_crypt.h: Likewise.
42997 * include/rpc/key_prot.h: Likewise.
42998 * include/rpc/pmap_clnt.h: Likewise.
42999 * include/rpc/pmap_prot.h: Likewise.
43000 * include/rpc/pmap_rmt.h: Likewise.
43001 * include/rpc/rpc_msg.h: Likewise.
43002 * include/rpc/svc.h: Likewise.
43003 * include/rpc/svc_auth.h: Likewise.
43004 * include/rpc/xdr.h: Likewise.
43005 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43006 * nss/Makefile: Likewise.
43007 * sunrpc/Makefile: Don't install headers. Build library with normal
43008 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43009 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43010 for the compat linking library. Remove use of INTDEF/INTUSE.
43011 * sunrpc/auth_none.c: Likewise.
43012 * sunrpc/auth_unix.c: Likewise.
43013 * sunrpc/authdes_prot.c: Likewise.
43014 * sunrpc/authuxprot.c: Likewise.
43015 * sunrpc/clnt_gen.c: Likewise.
43016 * sunrpc/clnt_perr.c: Likewise.
43017 * sunrpc/clnt_raw.c: Likewise.
43018 * sunrpc/clnt_simp.c: Likewise.
43019 * sunrpc/clnt_tcp.c: Likewise.
43020 * sunrpc/clnt_udp.c: Likewise.
43021 * sunrpc/clnt_unix.c: Likewise.
43022 * sunrpc/des_crypt.c: Likewise.
43023 * sunrpc/des_soft.c: Likewise.
43024 * sunrpc/get_myaddr.c: Likewise.
43025 * sunrpc/key_call.c: Likewise.
43026 * sunrpc/key_prot.c: Likewise.
43027 * sunrpc/netname.c: Likewise.
43028 * sunrpc/pm_getmaps.c: Likewise.
43029 * sunrpc/pm_getport.c: Likewise.
43030 * sunrpc/pmap_clnt.c: Likewise.
43031 * sunrpc/pmap_prot.c: Likewise.
43032 * sunrpc/pmap_prot2.c: Likewise.
43033 * sunrpc/pmap_rmt.c: Likewise.
43034 * sunrpc/publickey.c: Likewise.
43035 * sunrpc/rpc_cmsg.c: Likewise.
43036 * sunrpc/rpc_common.c: Likewise.
43037 * sunrpc/rpc_dtable.c: Likewise.
43038 * sunrpc/rpc_prot.c: Likewise.
43039 * sunrpc/rpc_thread.c: Likewise.
43040 * sunrpc/rtime.c: Likewise.
43041 * sunrpc/svc.c: Likewise.
43042 * sunrpc/svc_auth.c: Likewise.
43043 * sunrpc/svc_authux.c: Likewise.
43044 * sunrpc/svc_raw.c: Likewise.
43045 * sunrpc/svc_run.c: Likewise.
43046 * sunrpc/svc_simple.c: Likewise.
43047 * sunrpc/svc_tcp.c: Likewise.
43048 * sunrpc/svc_udp.c: Likewise.
43049 * sunrpc/svc_unix.c: Likewise.
43050 * sunrpc/svcauth_des.c: Likewise.
43051 * sunrpc/xcrypt.c: Likewise.
43052 * sunrpc/xdr.c: Likewise.
43053 * sunrpc/xdr_array.c: Likewise.
43054 * sunrpc/xdr_float.c: Likewise.
43055 * sunrpc/xdr_intXX_t.c: Likewise.
43056 * sunrpc/xdr_mem.c: Likewise.
43057 * sunrpc/xdr_rec.c: Likewise.
43058 * sunrpc/xdr_ref.c: Likewise.
43059 * sunrpc/xdr_sizeof.c: Likewise.
43060 * sunrpc/xdr_stdio.c: Likewise.
43062 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43065 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43066 * sysdeps/ia64/dl-tls.h: Likewise.
43067 * sysdeps/powerpc/dl-tls.h: Likewise.
43068 * sysdeps/s390/dl-tls.h: Likewise.
43069 * sysdeps/sh/dl-tls.h: Likewise.
43070 * sysdeps/sparc/dl-tls.h: Likewise.
43071 * sysdeps/x86_64/dl-tls.h: Likewise.
43072 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43074 2011-03-14 Andreas Schwab <schwab@redhat.com>
43076 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43077 rpath element also skip the following colon.
43078 (expand_dynamic_string_token): Add is_path parameter and pass
43079 down to DL_DST_REQUIRED and _dl_dst_substitute.
43080 (decompose_rpath): Call expand_dynamic_string_token with
43081 non-zero is_path. Ignore empty rpaths.
43082 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43085 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43090 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43093 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43094 Patch by Filipe David Manana <fdmanana@apache.org>.
43096 2011-04-07 Andreas Schwab <schwab@redhat.com>
43098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43099 Maintain aligned stack.
43100 (CHECK_RSP): Remove unused macro.
43102 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43104 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43105 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43107 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43109 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43111 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43113 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43116 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43117 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43118 * sysdeps/x86_64/memmove.c: New file.
43119 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43120 (memcpy): Renamed to ...
43121 (__new_memcpy): This.
43122 (memcpy): Provide GLIBC_2_14 memcpy.
43123 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43124 (memcpy): Provide GLIBC_2_2_5 memcpy.
43126 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43129 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43131 2011-03-30 Andreas Schwab <schwab@redhat.com>
43133 * misc/syncfs.c: New file.
43134 * misc/Makefile (routines): Add syncfs.
43135 * posix/unistd.h: Declare syncfs.
43136 * sysdeps/unix/syscalls.list: Add syncfs.
43138 2011-04-01 Andreas Schwab <schwab@redhat.com>
43140 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43142 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43143 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43145 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43147 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43150 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43153 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43154 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43156 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43158 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43160 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43161 sync_file_range.c with -fexceptions.
43162 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43163 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43164 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43165 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43166 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43167 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43169 sync_file_range as cancellation point
43170 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43171 now a wrapper around __call_sync_file_range with cancellation handling.
43172 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43173 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43174 function name to __call_sync_file_range.
43175 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43176 Add call_sync_file_range.
43178 2011-04-01 Andreas Schwab <schwab@redhat.com>
43180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43183 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43185 * iconv/iconv.h: Fix typo in comment.
43186 * io/fcntl.h: Likewise.
43187 * libio/stdio.h: Likewise.
43188 * posix/spawn.h: Likewise.
43189 * posix/unistd.h: Likewise.
43190 * stdlib/stdlib.h: Likewise.
43191 * time/time.h: Likewise.
43192 * wcsmbs/wchar.h: Likewise.
43194 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43195 open_by_handle): Add.
43196 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43197 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43198 Augment a few comments.
43199 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43204 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43207 * io/fcntl.h (AT_EMPTY_PATH): Define.
43209 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43211 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43212 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43213 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43215 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43216 * Versions.def: Add GLIBC_2.14.
43217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43220 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43222 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43224 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43226 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43229 * string/test-strncmp.c (do_page_test): New function.
43230 (check2): Likewise.
43231 (test_main): Call check2.
43232 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43234 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43237 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43238 Handle cache information in CPU leaf 4.
43239 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43241 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43244 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43245 character representation.
43246 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43248 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43250 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43251 END(__isnan) to END(__isnanf) to match function entry point/label
43252 EALIGN(__isnanf,...).
43254 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43256 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43258 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43261 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43262 copy from the symbol referenced in the relocation to initialize the
43264 Patch by Piotr Bury <pbury@goahead.com>.
43265 * elf/Makefile: Add rules to build and tst-unique3.
43266 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43267 * elf/tst-unique3.cc: New file.
43268 * elf/tst-unique3.h: New file.
43269 * elf/tst-unique3lib.cc: New file.
43270 * elf/tst-unique3lib2.cc: New file.
43272 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43274 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43276 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43277 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43280 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43282 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43283 to-be-loaded object along a path to loader is ld.so.
43285 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43286 Ulrich Drepper <drepper@gmail.com>
43288 * sysdeps/x86_64/memset.S: After aligning destination, code
43289 branches to different locations depending on the value of
43290 misalignment, when multiarch is enabled. Fix this.
43292 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43294 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43295 Set _x86_64_preferred_memory_instruction for AMD processsors.
43296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43297 Set bit_Prefer_SSE_for_memop for AMD processors.
43299 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43301 * libio/fmemopen.c (fmemopen): Optimize a bit.
43303 2011-03-03 Andreas Schwab <schwab@redhat.com>
43305 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43307 2011-03-03 Roland McGrath <roland@redhat.com>
43309 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43311 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43313 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43314 __bzero_ultra1 instead of __memset_ultra1.
43316 2011-02-23 Andreas Schwab <schwab@redhat.com>
43317 Ulrich Drepper <drepper@gmail.com>
43320 * include/link.h (struct link_map): Add l_orig_initfini.
43321 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43322 returning unsuccessfully.
43323 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43324 close of a file loaded at startup, restore the original l_initfini
43326 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43327 list, store the pointer.
43328 * elf/Makefile ($(objpfx)noload-mem): New rule.
43329 (noload-ENV): Define.
43330 (tests): Add $(objpfx)noload-mem.
43331 * elf/noload.c: Include <memcheck.h>.
43332 (main): Call mtrace. Close all opened handles.
43334 2011-02-17 Andreas Schwab <schwab@redhat.com>
43337 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43338 dependencies are missing.
43340 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43342 Fix __if_freereq crash: Unlike the generic version which uses free,
43344 * sysdeps/mach/hurd/ifreq.h: New file.
43346 2011-01-27 Petr Baudis <pasky@suse.cz>
43347 Ulrich Drepper <drepper@gmail.com>
43350 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43351 to extend_alloca().
43352 * stdio-common/bug23.c: New file.
43353 * stdio-common/Makefile (tests): Add bug23.
43355 2010-09-28 Andreas Schwab <schwab@redhat.com>
43356 Ulrich Drepper <drepper@gmail.com>
43359 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43360 before performing relro protection. At old place add assertion
43361 to make sure nothing changed.
43363 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43364 Glauber de Oliveira Costa <glommer@gmail.com>
43366 * elf/elf.h: Add new ARM TLS relocs.
43368 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43371 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43373 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43375 * sysdeps/wordsize-64/tst-writev.c: New file.
43377 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43379 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43380 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43381 insns in _dl_start to prevent a TOC reference before relocs are
43384 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43387 * Makeconfig: Remove RANLIB definition.
43388 * Makerules: Don't use RANLIB.
43389 * aclocal.m4: Remove ranlib test.
43390 * configure.in: No need to check for ranlib.
43391 * elf/rtld-Rules: Don't use RANLIB.
43393 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43395 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43397 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43398 inclusion protection macro.
43400 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43401 SIGRTMIN and SIGRTMAX and print information in that case only when
43402 SIGRTMIN is defined.
43404 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43406 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43407 arginfo fn returning -1.
43409 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43410 and thousands string is zero terminated.
43412 2011-02-03 Andreas Schwab <schwab@redhat.com>
43414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43415 sysdeps/unix/sysv/linux/bits/socket.h.
43417 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43419 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43420 (__CPU_COUNT): Remove old macros.
43421 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43422 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43423 (__CPU_ALLOC, __CPU_FREE): Add macros.
43424 (__sched_cpualloc, __sched_cpufree): Add declarations.
43426 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43428 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43429 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43430 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43431 (readdhstai): Return value of addhstaiX call.
43432 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43433 (addgrbyX): Return value returned by cache_addgr.
43434 (readdgrbyname): Return value returned by addgrbyX.
43435 (readdgrbygid): Likewise.
43436 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43437 (addpwbyX): Return value returned by cache_addpw.
43438 (readdpwbyname): Return value returned by addhstbyX.
43439 (readdpwbyuid): Likewise.
43440 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43441 (addservbyX): Return value returned by cache_addserv.
43442 (readdservbyname): Return value returned by addservbyX:
43443 (readdservbyport): Likewise.
43444 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43445 (addhstbyX): Return value returned by cache_addhst.
43446 (readdhstbyname): Return value returned by addhstbyX.
43447 (readdhstbyaddr): Likewise.
43448 (readdhstbynamev6): Likewise.
43449 (readdhstbyaddrv6): Likewise.
43450 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43451 (readdinitgroups): Return value returned by addinitgroupsX.
43452 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43453 (prune_cache): Keep track of timeout value of re-added entries.
43454 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43455 * nscd/nscd.h: Adjust prototypes of readd* functions.
43457 2011-02-04 Roland McGrath <roland@redhat.com>
43459 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43460 (nis_stats): Likewise.
43461 * nis/nis_modify.c (nis_modify): Likewise.
43462 * nis/nis_remove.c (nis_remove): Likewise.
43463 * nis/nis_add.c (nis_add): Likewise.
43465 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43467 * posix/fnmatch_loop.c: Add some consts.
43469 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43471 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43474 * config.make.in (config-cflags-novzeroupper): Define.
43475 * configure.in: Substitute libc_cv_cc_novzeroupper.
43476 * elf/Makefile (AVX-CFLAGS): Define.
43477 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43478 (CFLAGS-tst-auditmod4a.c): Likewise.
43479 (CFLAGS-tst-auditmod4b.c): Likewise.
43480 (CFLAGS-tst-auditmod6b.c): Likewise.
43481 (CFLAGS-tst-auditmod6c.c): Likewise.
43482 (CFLAGS-tst-auditmod7b.c): Likewise.
43483 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43485 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43487 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43488 function to the callback.
43489 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43491 2011-02-02 Andreas Schwab <schwab@redhat.com>
43493 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43496 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43499 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43501 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43503 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43506 * elf/Makefile: Add rules to build and run new test.
43507 * elf/tst-initorder.c: New file.
43508 * elf/tst-initorder.exp: New file.
43509 * elf/tst-initordera1.c: New file.
43510 * elf/tst-initordera2.c: New file.
43511 * elf/tst-initordera3.c: New file.
43512 * elf/tst-initordera4.c: New file.
43513 * elf/tst-initorderb1.c: New file.
43514 * elf/tst-initorderb2.c: New file.
43515 * elf/tst-order-a1.c: New file.
43516 * elf/tst-order-a2.c: New file.
43517 * elf/tst-order-a3.c: New file.
43518 * elf/tst-order-a4.c: New file.
43519 * elf/tst-order-b1.c: New file.
43520 * elf/tst-order-b2.c: New file.
43521 * elf/tst-order-main.c: New file.
43522 New test case by George Gensure <werkt0@gmail.com>.
43524 2010-10-01 Andreas Schwab <schwab@redhat.com>
43526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43527 decoding ACE if AI_CANONIDN.
43529 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43531 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43533 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43535 * version.h (RELEASE): Bump for 2.13 release.
43536 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43538 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43540 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43542 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43543 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43544 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43545 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43546 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43547 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43549 * posix/getconf.c: Update copyright year.
43550 * catgets/gencat.c: Likewise.
43551 * csu/version.c: Likewise.
43552 * debug/catchsegv.sh: Likewise.
43553 * debug/xtrace.sh: Likewise.
43554 * elf/ldconfig.c: Likewise.
43555 * elf/ldd.bash.in: Likewise.
43556 * elf/sprof.c (print_version): Likewise.
43557 * iconv/iconv_prog.c: Likewise.
43558 * iconv/iconvconfig.c: Likewise.
43559 * locale/programs/locale.c: Likewise.
43560 * locale/programs/localedef.c: Likewise.
43561 * malloc/memusage.sh: Likewise.
43562 * malloc/mtrace.pl: Likewise.
43563 * nscd/nscd.c (print_version): Likewise.
43564 * nss/getent.c: Likewise.
43566 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43567 PF_CAIF, and PF_ALG.
43568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43570 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43572 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43573 (modules-names): Use them.
43574 (ifunc-test-modules, ifunc-pie-tests): Define.
43575 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43576 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43577 (test-extras): Likewise.
43578 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43579 $(compile-command.c).
43580 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43581 (all-built-dso): Define.
43582 (check-textrel.out, check-execstack.out): Depend on it.
43584 * configure.in: Don't override --enable-multi-arch.
43586 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43589 * nscd/hstcache.c (tryagain): Define.
43590 (cache_addhst): Return tryagain not notfound for temporary errors.
43591 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43594 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43597 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43598 to make the syscall.
43599 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43602 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43603 and fall back to matching as normal character if the string ends before
43604 the matching ']' is found. This is what POSIX requires.
43605 * posix/testfnm.c: Adjust test result.
43606 * posix/globtest.sh: Adjust test result. Add new test.
43607 * posix/tst-fnmatch.input: Likewise.
43608 * posix/tst-fnmatch2.c: Add new test.
43610 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43612 * elf/Makefile (check-execstack): Revert last change. Depend on
43614 (check-execstack.h): New target.
43615 (generated): Add check-execstack.h.
43616 * elf/check-execstack.c: Include "check-execstack.h".
43617 (main): Revert last change.
43618 (handle_file): Return zero if GNU_STACK is absent and
43619 DEFAULT_STACK_PERMS doesn't include PF_X.
43621 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43623 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43624 in child fails because the descriptor is already closed.
43625 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43626 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43627 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43630 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43634 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43635 temporary buffer used to handle multi lookups locally.
43636 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43638 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43640 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43643 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43645 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43646 alignment for SSE2.
43648 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43651 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43652 characters. When rounding increased number of integer digits recompute
43654 * stdio-common/tst-grouping.c: New file.
43655 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43657 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43659 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43660 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43662 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43664 * bits/select.h: Likewise.
43666 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43668 * po/ja.po: Update from translation team.
43670 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43673 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43674 implementation just like for lxstat, fxstatat, et al.
43676 2010-12-27 Jim Meyering <meyering@redhat.com>
43679 * posix/regexec.c (build_trtable): Return failure indication upon
43680 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43682 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43685 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43686 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43687 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43688 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43691 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43694 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43695 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43697 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43699 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43700 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43701 script has SORT_BY_INIT_PRIORITY.
43702 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43703 NO_CTORS_DTORS_SECTIONS is defined.
43704 * elf/soinit.c: Likewise.
43705 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43706 NO_CTORS_DTORS_SECTIONS is defined.
43707 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43708 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43709 * sysdeps/sh/init-first.c: Likewise.
43710 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43712 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43714 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43715 always use the slow path.
43717 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43719 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43720 similar rule which adds the sysdep directories to the header search in
43721 order to pick up the correct platform stackinfo.h.
43722 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43723 perform test if it is, otherwise return successfully without testing.
43724 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43725 DEFAULT_STACK_PERMS define in stackinfo.h.
43726 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43727 defined in stackinfo.h.
43728 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43729 DEFAULT_STACK_PERMS defined in stackinfo.h.
43730 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43731 * sysdeps/ia64/stackinfo.h: Likewise.
43732 * sysdeps/s390/stackinfo.h: Likewise.
43733 * sysdeps/sh/stackinfo.h: Likewise.
43734 * sysdeps/sparc/stackinfo.h: Likewise.
43735 * sysdeps/x86_64/stackinfo.h: Likewise.
43736 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43737 PF_X for powerpc64. Retain PF_X for powerpc32.
43739 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43741 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43743 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43744 GETDENTS_64BIT_ALIGNED.
43746 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43748 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43750 2010-12-10 Andreas Schwab <schwab@redhat.com>
43752 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43755 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43756 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43758 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43759 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43761 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43764 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43767 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43769 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43771 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43773 * po/it.po: Update from translation team.
43775 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43780 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43782 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43784 2010-11-24 Andreas Schwab <schwab@redhat.com>
43786 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43788 (gaih_getanswer_slice): Likewise.
43790 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43792 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43794 2010-05-31 Petr Baudis <pasky@suse.cz>
43797 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43798 silently even in the chroot mode.
43800 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43802 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43803 last patch a bit. Pretty printing
43805 2010-05-31 Petr Baudis <pasky@suse.cz>
43808 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43809 initialization of skip_initgroups_dyn.
43811 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43813 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43814 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43816 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43818 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43820 2010-11-11 Andreas Schwab <schwab@redhat.com>
43822 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43823 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43824 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43825 ($(objpfx)tst-fnmatch-mem): New rule.
43826 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43827 * posix/tst-fnmatch.c (main): Call mtrace.
43829 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43832 Support Intel processor model 6 and model 0x2c.
43834 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43836 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43839 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43842 * string/test-strncasecmp.c (check_result): New function.
43843 (do_one_test): Use it.
43844 (check1): New function.
43845 (test_main): Use it.
43846 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43847 Support strcasecmp and strncasecmp.
43849 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43852 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43853 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43855 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43857 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43861 * sysdeps/x86_64/multiarch/bzero.S: New file.
43862 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43863 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43864 * sysdeps/x86_64/multiarch/memset.S: New file.
43865 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43867 Set bit_Prefer_SSE_for_memop for Intel processors.
43868 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43870 (index_Prefer_SSE_for_memop): Define.
43871 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43873 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43875 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43876 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43878 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43881 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43882 (__x86_64_raw_data_cache_size_half): Likewise.
43883 (__x86_64_raw_shared_cache_size): Likewise.
43884 (__x86_64_raw_shared_cache_size_half): Likewise.
43886 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43887 (__x86_64_raw_data_cache_size_half): Likewise.
43888 (__x86_64_raw_shared_cache_size): Likewise.
43889 (__x86_64_raw_shared_cache_size_half): Likewise.
43890 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43891 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43892 and __x86_64_raw_shared_cache_size_half. Round
43893 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43894 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43895 to multiple of 256 bytes.
43897 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43900 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43901 of inacessible symlinks. Verify result of symlink before returning it.
43902 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43903 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43905 2010-10-28 Erich Ritz <erichritz@gmail.com>
43907 * math/math.h (isinf): Fix typo in comment.
43909 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43911 * po/da.po: Update from translation team.
43913 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43915 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43916 is added to the list.
43918 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43919 Ulrich Drepper <drepper@gmail.com>
43921 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43922 the global list here. Move code to...
43923 (_dl_add_to_namespace_list): ...here. New function.
43924 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43925 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43926 * elf/dl-load.c (lose): Don't remove the element from the list.
43927 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43928 (_dl_map_object): Likewise.
43930 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43933 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43934 into all bytes of SSE register.
43935 Patch by Richard Li <richardpku@gmail.com>.
43937 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43940 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43943 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43945 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43946 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43947 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43948 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43953 2010-10-22 Andreas Schwab <schwab@redhat.com>
43955 * include/dlfcn.h (__RTLD_SECURE): Define.
43956 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43957 mode & __RTLD_SECURE instead.
43958 (open_path): Rename preloaded parameter to secure.
43959 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43960 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43961 * elf/dl-deps.c (openaux): Likewise.
43962 * elf/rtld.c (struct map_args): Remove is_preloaded.
43963 (map_doit): Don't use it.
43964 (dl_main): Likewise.
43965 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43966 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43968 2010-09-09 Andreas Schwab <schwab@redhat.com>
43970 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43971 (sysd-rules-targets): Remove duplicates.
43972 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43973 rtld-%.$o dependency.
43975 2010-10-18 Andreas Schwab <schwab@redhat.com>
43977 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43978 _dl_map_object do it.
43980 2010-10-19 Ulrich Drepper <drepper@gmail.com>
43982 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43983 fast fma builtins, define the macros in the C99 standard.
43984 (FP_FAST_FMAF): Likewise.
43985 (FP_FAST_FMAL): Likewise.
43986 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43988 * bits/mathdef.h: Update copyright year.
43989 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43991 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43993 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43994 builtins, define the macros in the C99 standard.
43995 (FP_FAST_FMAF): Likewise.
43996 (FP_FAST_FMAL): Likewise.
43997 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43999 (FP_FAST_FMAF): Likewise.
44001 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44004 * math/libm-test.inc (fma_test): Some new testcases.
44005 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44006 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44007 y and infinite z. Do multiplication by C already in long double.
44008 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44010 y and infinite z. Do bitwise or of inexact bit into u.d.
44011 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44012 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44013 * sysdeps/i386/fpu/s_fma.S: Removed.
44014 * sysdeps/i386/fpu/s_fmal.S: Removed.
44016 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44019 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44021 computation is not scheduled after fetestexcept. Fix value
44022 of minimum denormal long double.
44024 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44027 * math/libm-test.inc (fma_test): Add some more tests.
44028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44031 2010-10-15 Andreas Schwab <schwab@redhat.com>
44033 * scripts/data/localplt-s390-linux-gnu.data: New file.
44034 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44036 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44039 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44040 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44042 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44044 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44046 if one of x and y is very large and the other is subnormal.
44047 * sysdeps/s390/fpu/s_fmaf.c: New file.
44048 * sysdeps/s390/fpu/s_fma.c: New file.
44049 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44050 * sysdeps/powerpc/fpu/s_fma.S: New file.
44051 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44052 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44053 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44055 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44058 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44060 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44061 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44062 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44063 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44064 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44065 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44066 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44068 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44071 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44072 * posix/bug-regex31.input: Add test case.
44074 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44076 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44077 * posix/bug-regex31.input: New file.
44080 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44081 (parse_sub_exp): Fix last change, use postorder.
44083 * posix/bug-regex31.c: New file.
44084 * posix/Makefile: Add rules to build and run bug-regex31.
44086 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44089 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44092 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44093 to have entries in sys_siglist.
44096 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44099 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44102 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44103 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44104 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44105 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44106 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44107 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44108 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44109 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44110 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44111 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44112 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44113 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44114 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44115 * math/ftestexcept.c (fetestexcept): Likewise.
44116 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44117 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44118 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44119 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44120 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44121 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44122 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44124 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44127 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44130 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44132 * string/bug-strstr1.c: New file.
44133 * string/Makefile: Add rules to build and run bug-strstr1.
44135 2010-10-05 Eric Blake <eblake@redhat.com>
44138 * string/str-two-way.h (two_way_long_needle): Always clear memory
44139 when skipping input due to the shift table.
44141 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44144 * malloc/mcheck.c: Handle large requests.
44147 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44148 for strncmp and strncasecmp.
44149 * string/stratcliff.c: Add tests for strcmp and strncmp.
44150 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44152 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44154 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44157 2010-09-30 Andreas Jaeger <aj@suse.de>
44159 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44160 (CGROUP_SUPER_MAGIC): Define.
44161 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44162 Handle btrfs and cgroup file systems.
44163 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44166 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44168 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44169 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44171 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44174 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44175 trying to locate the ELF header.
44177 2010-09-27 Andreas Schwab <schwab@redhat.com>
44180 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44181 Mask out sign-bit copies when constructing f_fsid.
44183 2010-09-24 Petr Baudis <pasky@suse.cz>
44185 * debug/stack_chk_fail_local.c: Add missing licence exception.
44186 * debug/warning-nop.c: Likewise.
44188 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44190 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44191 implementing getdents64 using getdents syscall, set d_type if
44192 __ASSUME_GETDENTS32_D_TYPE.
44194 2010-09-16 Andreas Schwab <schwab@redhat.com>
44196 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44197 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44199 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44202 * posix/unistd.h: Undo change of feature selection for ftruncate from
44205 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44207 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44210 2010-09-20 Andreas Schwab <schwab@redhat.com>
44212 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44214 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44216 2010-09-14 Andreas Schwab <schwab@redhat.com>
44218 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44219 variables after CHECK_SP call.
44220 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44222 2010-09-13 Andreas Schwab <schwab@redhat.com>
44223 Ulrich Drepper <drepper@redhat.com>
44225 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44226 re-relocationg ld.so.
44227 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44228 _dl_init_paths call.
44229 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44232 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44234 * resolv/res_init.c (__res_vinit): Count the default server we added.
44236 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44237 Ulrich Drepper <drepper@redhat.com>
44240 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44241 (____longjmp_chk): Use %ebx for saving value across system call.
44244 2010-09-06 Andreas Schwab <schwab@redhat.com>
44246 * manual/Makefile: Don't mix pattern rules with normal rules.
44248 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44250 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44252 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44253 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44254 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44255 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44256 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44259 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44262 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44263 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44265 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44267 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44268 * sysdeps/x86_64/addmul_1.S: Likewise.
44269 * sysdeps/x86_64/lshift.S: Likewise.
44270 * sysdeps/x86_64/mul_1.S: Likewise.
44271 * sysdeps/x86_64/rshift.S: Likewise.
44272 * sysdeps/x86_64/sub_n.S: Likewise.
44273 * sysdeps/x86_64/submul_1.S: Likewise.
44275 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44277 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44278 Define __sched_param instead of SCHED_* and sched_param when
44279 <bits/sched.h> is included with __need_schedparam defined.
44280 * bits/sched.h [__need_schedparam]
44281 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44282 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44283 (__defined_schedparam): Define to 1.
44284 (__sched_param): New structure, identical to sched_param.
44285 (__need_schedparam): Undefine.
44287 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44290 (epoll_create1): Declare.
44292 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44294 2010-08-31 Andreas Schwab <schwab@redhat.com>
44297 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44298 shifting retval into place.
44300 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44302 * nis/rpcsvc/nis.h: Update copyright notice.
44303 * nis/rpcsvc/nis.x: Likewise.
44304 * nis/rpcsvc/nis_callback.h: Likewise.
44305 * nis/rpcsvc/nis_callback.x: Likewise.
44306 * nis/rpcsvc/nis_object.x: Likewise.
44307 * nis/rpcsvc/nis_tags.h: Likewise.
44308 * nis/rpcsvc/yp.h: Likewise.
44309 * nis/rpcsvc/yp.x: Likewise.
44310 * nis/rpcsvc/ypupd.h: Likewise.
44311 * nis/yp_xdr.c: Likewise.
44312 * nis/ypupdate_xdr.c: Likewise.
44314 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44315 mainly the body of pmap_getport. Add parameters to specify timeouts.
44316 (pmap_getport): Use __libc_rpc_getport.
44317 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44318 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44319 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44321 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44326 2010-08-27 Roland McGrath <roland@redhat.com>
44328 * sysdeps/i386/i686/multiarch/Makefile
44329 (CFLAGS-varshift.c): New variable.
44331 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44333 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44334 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44338 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44340 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44342 * sysdeps/x86_64/strlen.S: Unroll the loop.
44343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44344 strlen-sse2 strlen-sse2-bsf.
44345 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44346 __strlen_no_bsf if bit_Slow_BSF is set.
44347 (__strlen_sse42): Removed.
44348 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44349 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44351 2010-08-25 Roland McGrath <roland@redhat.com>
44353 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44354 * sysdeps/x86_64/multiarch/varshift.c: New file.
44355 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44356 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44357 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44358 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44360 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44363 strlen-sse2 strlen-sse2-bsf.
44364 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44365 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44366 (__strlen_sse2): Removed.
44367 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44370 bit_Slow_BSF for Atom.
44371 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44372 (index_Slow_BSF): Define.
44373 (HAS_SLOW_BSF): Define.
44375 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44378 * resolv/res_init.c (__res_vinit): When no server address at all
44379 is given default to loopback.
44381 2010-08-24 Roland McGrath <roland@redhat.com>
44383 * configure.in: Remove config-name.h generation.
44384 * configure: Regenerated.
44385 * config-name.in: File removed.
44386 * scripts/config-uname.sh: New file.
44387 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44388 ($(objdir)config-name.h): New target.
44390 * sunrpc/rpc_parse.h: Avoid nested comment.
44392 2010-08-24 Richard Henderson <rth@redhat.com>
44393 Ulrich Drepper <drepper@redhat.com>
44394 H.J. Lu <hongjiu.lu@intel.com>
44396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44398 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44399 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44400 _mm_alignr_epi8 with _mm_loadu_si128.
44401 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44402 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44403 (__m128i_shift_right): Removed.
44404 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44405 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44406 * sysdeps/x86_64/multiarch/varshift.h: New file.
44407 * sysdeps/x86_64/multiarch/varshift.S: New file.
44409 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44411 * configure.in: Move assembler checks to before sysdep dir checking.
44413 2010-08-20 Petr Baudis <pasky@suse.cz>
44415 * LICENSES: Sync the sunrpc license.
44417 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44419 * sunrpc/auth_des.c: Update copyright notice once again.
44420 * sunrpc/auth_none.c: Likewise.
44421 * sunrpc/auth_unix.c: Likewise.
44422 * sunrpc/authdes_prot.c: Likewise.
44423 * sunrpc/authuxprot.c: Likewise.
44424 * sunrpc/bindrsvprt.c: Likewise.
44425 * sunrpc/clnt_gen.c: Likewise.
44426 * sunrpc/clnt_perr.c: Likewise.
44427 * sunrpc/clnt_raw.c: Likewise.
44428 * sunrpc/clnt_simp.c: Likewise.
44429 * sunrpc/clnt_tcp.c: Likewise.
44430 * sunrpc/clnt_udp.c: Likewise.
44431 * sunrpc/clnt_unix.c: Likewise.
44432 * sunrpc/des_crypt.c: Likewise.
44433 * sunrpc/des_soft.c: Likewise.
44434 * sunrpc/get_myaddr.c: Likewise.
44435 * sunrpc/getrpcport.c: Likewise.
44436 * sunrpc/key_call.c: Likewise.
44437 * sunrpc/key_prot.c: Likewise.
44438 * sunrpc/openchild.c: Likewise.
44439 * sunrpc/pm_getmaps.c: Likewise.
44440 * sunrpc/pm_getport.c: Likewise.
44441 * sunrpc/pmap_clnt.c: Likewise.
44442 * sunrpc/pmap_prot.c: Likewise.
44443 * sunrpc/pmap_prot2.c: Likewise.
44444 * sunrpc/pmap_rmt.c: Likewise.
44445 * sunrpc/rpc/auth.h: Likewise.
44446 * sunrpc/rpc/auth_unix.h: Likewise.
44447 * sunrpc/rpc/clnt.h: Likewise.
44448 * sunrpc/rpc/des_crypt.h: Likewise.
44449 * sunrpc/rpc/key_prot.h: Likewise.
44450 * sunrpc/rpc/netdb.h: Likewise.
44451 * sunrpc/rpc/pmap_clnt.h: Likewise.
44452 * sunrpc/rpc/pmap_prot.h: Likewise.
44453 * sunrpc/rpc/pmap_rmt.h: Likewise.
44454 * sunrpc/rpc/rpc.h: Likewise.
44455 * sunrpc/rpc/rpc_des.h: Likewise.
44456 * sunrpc/rpc/rpc_msg.h: Likewise.
44457 * sunrpc/rpc/svc.h: Likewise.
44458 * sunrpc/rpc/svc_auth.h: Likewise.
44459 * sunrpc/rpc/types.h: Likewise.
44460 * sunrpc/rpc/xdr.h: Likewise.
44461 * sunrpc/rpc_clntout.c: Likewise.
44462 * sunrpc/rpc_cmsg.c: Likewise.
44463 * sunrpc/rpc_common.c: Likewise.
44464 * sunrpc/rpc_cout.c: Likewise.
44465 * sunrpc/rpc_dtable.c: Likewise.
44466 * sunrpc/rpc_hout.c: Likewise.
44467 * sunrpc/rpc_main.c: Likewise.
44468 * sunrpc/rpc_parse.c: Likewise.
44469 * sunrpc/rpc_parse.h: Likewise.
44470 * sunrpc/rpc_prot.c: Likewise.
44471 * sunrpc/rpc_sample.c: Likewise.
44472 * sunrpc/rpc_scan.c: Likewise.
44473 * sunrpc/rpc_scan.h: Likewise.
44474 * sunrpc/rpc_svcout.c: Likewise.
44475 * sunrpc/rpc_tblout.c: Likewise.
44476 * sunrpc/rpc_util.c: Likewise.
44477 * sunrpc/rpc_util.h: Likewise.
44478 * sunrpc/rpcinfo.c: Likewise.
44479 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44480 * sunrpc/rpcsvc/key_prot.x: Likewise.
44481 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44482 * sunrpc/rpcsvc/mount.x: Likewise.
44483 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44484 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44485 * sunrpc/rpcsvc/rex.x: Likewise.
44486 * sunrpc/rpcsvc/rstat.x: Likewise.
44487 * sunrpc/rpcsvc/rusers.x: Likewise.
44488 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44489 * sunrpc/rpcsvc/spray.x: Likewise.
44490 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44491 * sunrpc/rtime.c: Likewise.
44492 * sunrpc/svc.c: Likewise.
44493 * sunrpc/svc_auth.c: Likewise.
44494 * sunrpc/svc_authux.c: Likewise.
44495 * sunrpc/svc_raw.c: Likewise.
44496 * sunrpc/svc_run.c: Likewise.
44497 * sunrpc/svc_simple.c: Likewise.
44498 * sunrpc/svc_tcp.c: Likewise.
44499 * sunrpc/svc_udp.c: Likewise.
44500 * sunrpc/svc_unix.c: Likewise.
44501 * sunrpc/svcauth_des.c: Likewise.
44502 * sunrpc/xcrypt.c: Likewise.
44503 * sunrpc/xdr.c: Likewise.
44504 * sunrpc/xdr_array.c: Likewise.
44505 * sunrpc/xdr_float.c: Likewise.
44506 * sunrpc/xdr_mem.c: Likewise.
44507 * sunrpc/xdr_rec.c: Likewise.
44508 * sunrpc/xdr_ref.c: Likewise.
44509 * sunrpc/xdr_sizeof.c: Likewise.
44510 * sunrpc/xdr_stdio.c: Likewise.
44512 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44515 2010-08-19 Andreas Schwab <schwab@redhat.com>
44517 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44519 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44521 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44522 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44523 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44524 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44525 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44526 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44527 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44528 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44529 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44530 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44531 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44532 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44533 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44534 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44536 2010-07-26 Anton Blanchard <anton@samba.org>
44538 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44539 * malloc/arena.c (heap_trim): Likewise.
44541 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44543 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44546 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44548 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44550 * sysdeps/i386/elf/Makefile: New file.
44552 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44554 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44555 from fanotify_init.
44556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44557 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44559 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44561 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44563 * sysdeps/multiarch/strcmp.S: Likewise.
44565 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44567 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44568 strncase_l-nonascii.
44569 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44570 Add strncase_l-ssse3.
44571 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44572 * sysdeps/x86_64/strcmp.S: Likewise.
44573 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44574 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44575 * sysdeps/x86_64/strncase.S: New file.
44576 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44577 * sysdeps/x86_64/strncase_l.S: New file.
44578 * string/Makefile (strop-tests): Add strncasecmp.
44579 * string/test-strncasecmp.c: New file.
44581 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44584 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44585 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44587 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44589 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44591 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44593 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44594 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44595 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44597 2010-05-01 Alan Modra <amodra@gmail.com>
44599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44600 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44601 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44602 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44603 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44604 tidying. Don't tail-call __sigjmp_save for static lib.
44605 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44607 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44608 (CALL_MCOUNT): Add eh info, and nop after bl.
44609 (TAIL_CALL_SYSCALL_ERROR): New macro.
44610 (PSEUDO_RET): Use it.
44611 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44612 Correct save location of integer regs and cr.
44613 (_dl_profile_resolve): Correct cr save location. Delete nops
44614 after bl when SHARED. Reduce cfi size a little by better
44615 placement of cfi directives.
44616 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44617 make a stack frame. Instead use parm save area as a temp.
44618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44619 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44621 Don't make a stack frame for parent, use parm save area.
44622 Increase child stack frame to 112 bytes. Don't save unused reg,
44623 and adjust reg usage. Set up cfi on error recovery and
44624 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44626 (__makecontext): Add dummy nop after jump to exit.
44627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44628 Use correct parm save area and cr save, reduce stack frame.
44629 Correct cfi for possible PSEUDO_RET frame setup.
44630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44631 Branch to local label emitted by PSEUDO_RET rather than
44634 2010-08-12 Andreas Schwab <schwab@redhat.com>
44637 * locale/programs/locale.c (print_assignment): New function.
44638 (show_locale_vars): Use it.
44640 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44642 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44644 (struct statfs64): Likewise.
44645 (_STATFS_F_FLAGS): Define.
44646 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44647 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44648 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44649 (ST_VALID): Define locally.
44650 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44651 __statvfs_getflags, use the provided value.
44652 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44653 __ASSUME_STATFS_F_FLAGS.
44655 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44657 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44658 Add sys/fanotify.h.
44659 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44660 fanotify_mask for GLIBC_2.13.
44661 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44662 fanotify_init and fanotify_mark.
44663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44664 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44666 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44668 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44669 prlimit64 for GLIBC_2.13.
44670 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44675 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44676 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44677 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44678 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44680 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44683 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44684 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44686 * nss/Makefile: Add rules to build and run tst-nss-test1.
44687 * shlib-versions: Add entry for libnss_test1.
44688 * nss/nss_test1.c: New file.
44689 * nss/tst-nss-test1.c: New file.
44691 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44692 (__nss_configure_lookup): Set appropriate entry in
44693 __nss_configure_lookup to true.
44694 * nss/nsswitch.h: Define enum with indeces of databases in
44695 databases and __nss_database_custom arrays. Declare
44696 __nss_database_custom.
44697 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44698 to avoid using nscd when custom rules are installed.
44699 * nss/getXXbyYY_r.c: Likewise.
44700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44702 * nss/nss_files/files-parse.c: Whitespace fixes.
44704 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44707 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44708 * posix/fnmatch_loop.c: Likewise.
44710 2010-07-17 Andi Kleen <ak@linux.intel.com>
44712 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44713 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44714 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44715 * Versions.def [GLIBC_2.13]: Add.
44717 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44719 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44720 Also fail if tpwd after pwuid call is NULL.
44722 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44724 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44725 when converting to ms.
44727 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44729 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44730 EOPNOTSUPP errors with ENOTTY.
44731 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44732 EOPNOTSUPP errors with ENOTTY.
44734 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44736 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44737 Add strcasecmp_l-ssse3.
44738 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44740 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44741 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44742 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44744 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44746 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44748 * string/Makefile (strop-tests): Add strcasecmp.
44749 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44750 strcasecmp_l-nonascii.
44751 (gen-as-const-headers): Add locale-defines.sym.
44752 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44753 * sysdeps/x86_64/strcasecmp.S: New file.
44754 * sysdeps/x86_64/strcasecmp_l.S: New file.
44755 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44756 * sysdeps/x86_64/locale-defines.sym: New file.
44757 * string/test-strcasecmp.c: New file.
44759 * string/test-strcasestr.c: Test both ends of the range of characters.
44760 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44762 2010-07-29 Roland McGrath <roland@redhat.com>
44765 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44767 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44769 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44772 2010-07-27 Andreas Schwab <schwab@redhat.com>
44774 * manual/memory.texi (Malloc Tunable Parameters): Document
44777 2010-07-26 Roland McGrath <roland@redhat.com>
44780 * configure.in (-fgnu89-inline check): Set and substitute
44781 gnu89_inline, not libc_cv_gnu89_inline.
44782 * configure: Regenerated.
44783 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44785 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44787 * string/test-strnlen.c: New file.
44788 * string/Makefile (strop-tests): Add strnlen.
44789 * string/tester.c (test_strnlen): Add a few more test cases.
44790 * string/tst-strlen.c: Better error reporting.
44792 * sysdeps/x86_64/strnlen.S: New file.
44794 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44796 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44797 lower-latency instructions.
44799 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44801 * string/test-strcasestr.c: New file.
44802 * string/test-strstr.c: New file.
44803 * string/Makefile (strop-tests): Add strstr and strcasestr.
44804 * string/str-two-way.h: Don't undefine MAX.
44805 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44807 2010-07-21 Andreas Schwab <schwab@redhat.com>
44809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44810 strcasestr-nonascii.
44811 (CFLAGS-strcasestr-nonascii.c): Define.
44812 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44813 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44814 Remove unused attribute.
44816 2010-07-20 Roland McGrath <roland@redhat.com>
44818 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44819 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44820 ld.so.cache was broken. With it, there is no way to disable dsocaps
44821 like LD_HWCAP_MASK can disable hwcaps.
44823 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44825 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44827 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44829 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44830 call in strcasestr.
44831 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44832 __strcasestr_sse42_nonascii.
44833 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44834 strcasestr-nonascii.c.
44835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44837 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44839 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44840 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44841 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44844 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44846 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44849 2010-07-06 Andreas Schwab <schwab@redhat.com>
44852 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44855 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44857 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44858 _PC_PIPE_BUF using F_GETPIPE_SZ.
44860 2010-07-05 Roland McGrath <roland@redhat.com>
44862 * manual/arith.texi (Rounding Functions): Fix rint description
44863 implicit in round description.
44865 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44867 * elf/Makefile: Fix linking for a few tests to make recent linker
44870 2010-06-30 Andreas Schwab <schwab@redhat.com>
44872 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44873 $(common-objpfx)libc_nonshared.a.
44875 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44877 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44878 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44879 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44880 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44881 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44882 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44883 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44884 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44899 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44900 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44901 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44902 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44903 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44904 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44905 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44906 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44907 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44908 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44909 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44910 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44926 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44928 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44929 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44930 * string/memmove.c (memmove): Renamed to ...
44931 (MEMMOVE): ...this. Default to memmove.
44932 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44933 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44936 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44937 mempcpy-ssse3-back memmove-ssse3-back.
44938 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44939 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44940 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44941 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44942 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44943 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44944 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44945 * sysdeps/x86_64/multiarch/memmove.c: New file.
44946 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44947 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44948 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44949 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44950 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44953 (index_Fast_Copy_Backward): Define.
44954 (HAS_ARCH_FEATURE): Define.
44955 (HAS_FAST_REP_STRING): Define.
44956 (HAS_FAST_COPY_BACKWARD): Define.
44958 2010-06-21 Andreas Schwab <schwab@redhat.com>
44960 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44961 Restore proper fallback handling.
44963 2010-06-19 Ulrich Drepper <drepper@redhat.com>
44966 * posix/group_member.c (__group_member): Correct checking loop.
44968 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44969 OOM in getpwuid_r correctly. Return error number when the caller
44970 should return, otherwise -1.
44971 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44972 call returning > 0 value.
44973 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44975 2010-06-07 Andreas Schwab <schwab@redhat.com>
44977 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44978 libc_nonshared.a from targets in modules-names.
44980 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44982 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44985 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
44987 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44988 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44989 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44990 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44992 2010-06-02 Andreas Schwab <schwab@redhat.com>
44994 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44996 2010-06-14 Ulrich Drepper <drepper@redhat.com>
44998 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45001 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45004 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45005 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45007 2010-06-14 Roland McGrath <roland@redhat.com>
45009 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45011 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45013 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45014 __REDIRECT followed by __THROW.
45015 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45016 * posix/getopt.h (getopt): Likewise.
45018 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45020 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45021 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45022 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45024 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45025 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45027 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45029 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45031 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45035 Properly check family and model.
45037 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45039 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45041 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45043 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45045 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45047 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45050 2010-05-19 Andreas Schwab <schwab@redhat.com>
45052 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45055 2010-05-21 Andreas Schwab <schwab@redhat.com>
45057 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45058 and internal_recvmmsg.
45059 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45060 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45061 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45062 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45064 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45065 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45066 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45068 2010-05-20 Andreas Schwab <schwab@redhat.com>
45070 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45072 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45074 POWER7 optimizations.
45075 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45076 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45078 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45080 * version.h: Update for 2.13 development version.
45082 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45084 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45085 exceptions. Return 0.
45087 2010-05-07 Roland McGrath <roland@redhat.com>
45089 * elf/ldconfig.c (main): Add a const.
45091 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45093 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45094 (args_options): Add no-idn option.
45095 (ahosts_keys_int): Add idn_flags to ai_flags.
45096 (parse_option): Handle 'i' option to clear idn_flags.
45098 * malloc/malloc.c (_int_free): Possible race in the most recently
45099 added check. Only act on the data if no current modification
45102 See ChangeLog.17 for earlier changes.