1 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * nptl/allocatestack.c (check_list): Inlined function...
4 (__reclaim_stacks): ... here.
6 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12 2014-06-05 Joseph Myers <joseph@codesourcery.com>
14 * Rules (make-test-out): Include
15 LOCPATH=$(common-objpfx)localedata in default environment.
16 * debug/Makefile (tst-chk1-ENV): Remove variable.
17 (tst-chk2-ENV): Likewise.
18 (tst-chk3-ENV): Likewise.
19 (tst-chk4-ENV): Likewise.
20 (tst-chk5-ENV): Likewise.
21 (tst-chk6-ENV): Likewise.
22 (tst-lfschk1-ENV): Likewise.
23 (tst-lfschk2-ENV): Likewise.
24 (tst-lfschk3-ENV): Likewise.
25 (tst-lfschk4-ENV): Likewise.
26 (tst-lfschk5-ENV): Likewise.
27 (tst-lfschk6-ENV): Likewise.
28 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
29 (tst-iconv7-ENV): Likewise.
30 * intl/Makefile (LOCPATH-ENV): Likewise.
31 (tst-codeset-ENV): Likewise.
32 (tst-gettext3-ENV): Likewise.
33 (tst-gettext5-ENV): Likewise.
34 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35 (tst-fopenloc-ENV): Likewise.
36 (tst-fgetws-ENV): Remove variable.
37 (tst-ungetwc1-ENV): Likewise.
38 (tst-ungetwc2-ENV): Likewise.
39 (bug-ungetwc2-ENV): Likewise.
40 (tst-swscanf-ENV): Likewise.
41 (bug-ftell-ENV): Likewise.
42 (tst-fgetwc-ENV): Likewise.
43 (tst-fseek-ENV): Likewise.
44 (tst-ftell-partial-wide-ENV): Likewise.
45 (tst-ftell-active-handler-ENV): Likewise.
46 (tst-ftell-append-ENV): Likewise.
47 * posix/Makefile (tst-fnmatch-ENV): Likewise.
48 (tst-regexloc-ENV): Likewise.
49 (bug-regex1-ENV): Likewise.
50 (tst-regex-ENV): Likewise.
51 (tst-regex2-ENV): Likewise.
52 (bug-regex5-ENV): Likewise.
53 (bug-regex6-ENV): Likewise.
54 (bug-regex17-ENV): Likewise.
55 (bug-regex18-ENV): Likewise.
56 (bug-regex19-ENV): Likewise.
57 (bug-regex20-ENV): Likewise.
58 (bug-regex22-ENV): Likewise.
59 (bug-regex23-ENV): Likewise.
60 (bug-regex25-ENV): Likewise.
61 (bug-regex26-ENV): Likewise.
62 (bug-regex30-ENV): Likewise.
63 (bug-regex32-ENV): Likewise.
64 (bug-regex33-ENV): Likewise.
65 (bug-regex34-ENV): Likewise.
66 (bug-regex35-ENV): Likewise.
67 (tst-rxspencer-ENV): Likewise.
68 (tst-rxspencer-no-utf8-ENV): Likewise.
69 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
70 (tst-sscanf-ENV): Likewise.
71 (tst-swprintf-ENV): Likewise.
72 (tst-swscanf-ENV): Likewise.
73 (test-vfprintf-ENV): Likewise.
74 (scanf13-ENV): Likewise.
75 (bug14-ENV): Likewise.
76 (tst-grouping-ENV): Likewise.
77 * stdlib/Makefile (tst-strtod-ENV): Likewise.
78 (tst-strtod3-ENV): Likewise.
79 (tst-strtod4-ENV): Likewise.
80 (tst-strtod5-ENV): Likewise.
81 (testmb2-ENV): Likewise./
82 * string/Makefile (tst-strxfrm-ENV): Likewise.
83 (tst-strxfrm2-ENV): Likewise.
84 (bug-strcoll1-ENV): Likewise.
85 (test-strcasecmp-ENV): Likewise.
86 (test-strncasecmp-ENV): Likewise.
87 * time/Makefile (tst-strptime-ENV): Likewise.
88 (tst-ftime_l-ENV): Likewise.
89 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
90 (tst-mbrtowc-ENV): Likewise.
91 (tst-wcrtomb-ENV): Likewise.
92 (tst-mbrtowc2-ENV): Likewise.
93 (tst-c16c32-1-ENV): Likewise.
94 (tst-mbsnrtowcs-ENV): Likewise.
96 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
98 * manual/resource.texi (How to get information about the memory
99 subsystem?): Fix typo.
100 Reported by Peon de la Parra Ivan <peon@keba.com>
102 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
105 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
106 (pthread_spin_lock): Branch out of spin loop to proper location.
107 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
108 (pthread_spin_lock): Likewise.
110 * nptl/tst-spin4.c: New test.
111 * nptl/Makefile (tests): Add tst-spin4.
113 2014-06-03 Andreas Schwab <schwab@suse.de>
116 * resolv/res_send.c (send_dg): Reload file descriptor after
119 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
121 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
123 2014-06-03 Richard Henderson <rth@redhat.com>
125 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
126 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
127 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
128 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
129 in the SAVE_PID block.
130 (__libc_vfork): New alias.
131 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
133 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
134 child in registers, not on the stack. Remove RESET_PID conditionals.
135 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
137 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
139 * sysdeps/aarch64/libm-test-ulps: Regenerate.
141 2014-06-03 Wilco <wdijkstr@arm.com>
143 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
144 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
145 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
146 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
147 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
150 2014-06-03 Wilco <wdijkstr@arm.com>
152 * sysdeps/aarch64/fpu/math_private.h
153 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
154 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
155 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
156 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
159 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
161 * crypt/crypt-private.h: Include ufc-crypt.h.
162 (__b64_from_24bit): Declare extern.
163 * crypt/crypt_util.c(__b64_from_24bit): New function.
164 (b64t): New static const variable.
165 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
166 (b64t): Remove variable.
167 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
168 * crypt/sha256-crypt.c: Include crypt-private.h.
169 (b64t): Remove variable.
170 (__sha256_crypt_r): Remove b64_from_24bit and replace
171 with __b64_from_24bit.
172 * crypt/sha512-crypt.c: Likewise.
174 2014-06-02 Roland McGrath <roland@hack.frob.com>
176 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
177 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
178 Label the code __libc_vfork rather than __vfork.
179 [!NOT_IN_libc] (vfork): Define as weak alias.
180 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
181 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
182 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
184 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
186 * malloc/malloc.c (malloc_info): Fix format specifier for
189 2014-06-02 Wilco <wdijkstr@arm.com>
191 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
194 2014-06-02 Wilco <wdijkstr@arm.com>
197 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
198 Rewrite to reduce FPCR/FPSR accesses.
200 2014-06-01 David S. Miller <davem@davemloft.net>
202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
204 2014-05-31 David S. Miller <davem@davemloft.net>
206 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
207 to occur in round to nearest mode when |x| >= 2.0
209 2014-05-30 Richard Henderson <rth@twiddle.net>
211 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
212 (PSEUDO_RET_NOERRNO): Remove.
213 (ret): Don't redefine.
214 (ret_NOERRNO): Define in terms of ret.
215 (ret_ERRVAL): Likewise.
217 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
218 use of PSEUDO_RET; perform the error check directly.
220 2014-05-30 Marko Myllynen <myllynen@redhat.com>
222 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
225 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
227 * malloc/malloc (malloc_info): Fix formatting.
229 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
230 Roland McGrath <roland@hack.frob.com>
232 * malloc/malloc (malloc_info): Also print mmapped statistics.
234 2014-05-30 Roland McGrath <roland@hack.frob.com>
236 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
237 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
239 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
241 * malloc/malloc.c (malloc_info): Inline mi_arena.
243 2014-05-29 Richard Henderson <rth@twiddle.net>
245 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
246 Remove comma before expanding ASM_ARGS_##nr.
247 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
248 Make _x0 a strict output; make _x8 a strict input; adjust expansion
250 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
251 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
252 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
253 (ASM_ARGS_1): Add leading comma.
255 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
256 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
258 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
259 Remove the expected plt for __errno_location.
261 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
262 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
265 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
266 Always allocate 64 bytes of stack frame. Use ldp/stp to create
267 it and break it down.
268 (DOCARGS_0, DOCARGS_1): Do nothing.
269 (DOCARGS_2): Update to store into the new stack frame.
270 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
271 (UNDOCARGS_1): Update to restore from the new stack frame.
272 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
273 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
275 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
276 (SINGLE_THREAD_P): New parameter for result regno.
277 (PSEUDO): Update to match; use cbz instead of beq.
279 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
280 Use ENTRY to define the _nocancel entry point. Share the syscall
281 and syscall error check paths with the cancel path.
284 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
285 whitespace; tabs before and after asm mnemonics.
287 2014-05-29 Eric Wong <normalperson@yhbt.net>
290 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
291 Call fstat64 or stat64 internally, depending on arguments passed.
292 Replace stat buffer argument with file descriptor argument.
293 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
294 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
295 Pass fd to __internal_statvfs instead of calling fstat64.
296 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
297 Pass fd to __internal_statvfs64 instead of calling fstat64.
298 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
299 Pass -1 to __internal_statvfs instead of calling stat64.
300 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
301 Pass -1 to __internal_statvfs64 instead of calling stat64.
303 2014-05-28 Roland McGrath <roland@hack.frob.com>
305 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
306 that was previously under [RESET_PID].
307 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
309 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
310 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
312 2014-05-27 Roland McGrath <roland@hack.frob.com>
314 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
316 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
317 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
319 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
321 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
323 2014-05-27 Andreas Schwab <schwab@suse.de>
325 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
327 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
328 * elf/rtld.c (init_tls, dl_main): Likewise.
329 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
330 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
331 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
332 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
333 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
334 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
335 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
336 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
337 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
338 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
339 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
340 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
341 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
342 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
343 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
344 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
345 * sysdeps/generic/tls.h: Update description.
347 2014-05-27 Will Newton <will.newton@linaro.org>
350 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
351 and restore r2 rather than just restoring.
353 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
356 * libio/tst-ftell-append.c: New test case.
357 * libio/Makefile (tests): Add test case.
358 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
360 * libio/wfileops.c (do_ftell_wide): Likewise.
362 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
366 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
370 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
371 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
372 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
373 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
374 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
375 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
376 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
379 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
382 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
383 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
384 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
385 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
386 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
388 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
389 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
391 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
393 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
395 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
396 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
397 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
399 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
400 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
401 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
402 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
404 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
407 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
410 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
413 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
417 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
425 conditional [RESET_PID].
426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
427 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
434 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
435 (__libc_vfork): New strong alias.
436 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
438 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
443 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
444 (__libc_vfork): New strong alias.
445 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
447 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
450 2014-05-26 Carlos O'Donell <carlos@redhat.com>
452 * malloc/malloc.c (mi_arena): New function.
453 (malloc_info): Remove nested function mi_arena. Call non-nosted
456 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
458 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
460 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
461 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
462 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
463 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
464 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
465 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
466 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
468 2014-05-26 Andreas Schwab <schwab@suse.de>
471 * locale/programs/repertoire.c (repertoire_read): Add slash
472 between I18NPATH element and file name.
473 * locale/programs/locfile.c (locfile_read): Likewise.
475 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
477 * nptl/pthread_mutexattr_settype.c
478 (__pthread_mutexattr_settype):
479 Disable lock elision for PTHREAD_MUTEX_NORMAL.
481 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
483 * nptl/tst-mutex5 (do_test):
484 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
486 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
488 * benchtests/README: Document 'init' directive.
489 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
491 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
492 (parse_file): Recognize 'init' directive.
494 2014-05-26 Kyle McMartin <kyle@redhat.com>
497 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
498 alignment of struct pthread.
500 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
503 * nscd/netgroupcache.c (addgetnetgrentX): Look for
504 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
505 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
506 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
508 2014-05-25 Richard Henderson <rth@twiddle.net>
510 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
511 (SINGLE_THREAD_P_PIC): Remove.
512 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
513 (SINGLE_THREAD_P_PIC): Remove.
515 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
516 branch to syscall error ...
518 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
519 from __local_syscall_error to .Lsyscall_error.
520 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
521 (SYSCALL_ERROR): Update label name.
523 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
524 Do not use DOARGS/UNDOARGS.
525 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
526 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
527 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
528 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
529 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
531 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
534 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
535 define if !NOT_IN_libc.
536 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
537 define with non-default symbol versions.
539 2014-05-23 Richard Henderson <rth@twiddle.net>
541 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
542 (vfork, __vfork): Define via compat_symbol.
544 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
545 [!HAVE_IFUNC] (vfork_compat): Remove.
546 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
548 2014-05-23 Joseph Myers <joseph@codesourcery.com>
551 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
552 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
555 2014-05-23 Richard Henderson <rth@twiddle.net>
557 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
558 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
559 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
560 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
562 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
563 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
564 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
565 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
566 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
567 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
568 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
569 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
570 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
571 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
572 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
573 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
574 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
575 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
576 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
577 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
578 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
579 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
580 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
581 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
582 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
583 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
584 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
585 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
586 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
587 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
588 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
589 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
590 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
591 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
592 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
593 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
594 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
595 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
596 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
597 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
598 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
599 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
600 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
601 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
602 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
603 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
604 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
605 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
606 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
607 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
608 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
609 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
610 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
611 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
612 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
613 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
614 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
615 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
616 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
617 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
619 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
620 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
621 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
622 before exiting on error.
623 (__libc_vfork): New strong alias.
624 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
625 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
627 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
628 that was previously under [RESET_PID].
629 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
631 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
633 2014-05-23 Joseph Myers <joseph@codesourcery.com>
636 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
637 value when x - 1 is zero.
638 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
639 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
640 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
641 0.0L for an argument of 1.0L.
642 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
644 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
645 value when x - 1 is zero.
646 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
647 * sysdeps/i386/fpu/libm-test-ulps: Update.
648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
650 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
652 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
653 alphasort and versionsort.
655 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
657 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
659 [copysignf]: Likewise.
661 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
663 * crypt/md5-crypt.c: Fix formatting.
665 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
667 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
668 (b64_from_24bit): New function.
670 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
672 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
673 libc_hidden_builtin_def to ifunc.
674 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
675 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
677 2014-05-21 Roland McGrath <roland@hack.frob.com>
679 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
680 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
682 2014-05-21 Joseph Myers <joseph@codesourcery.com>
684 * nscd/Depend (linuxthreads): Remove.
686 * resolv/Depend (linuxthreads): Remove.
687 * rt/Depend (linuxthreads): Remove.
689 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
690 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
691 $(common-objpfx)elf/.
692 (link-libc-before-gnulib): Likewise.
693 (elfobjdir): Remove variable.
694 * Makefile (install): Use $(elf-objpfx) instead of
695 $(common-objpfx)elf/.
696 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
698 (link-libc-deps): Likewise.
699 ($(common-objpfx)libc.so): Likewise.
700 ($(common-objpfx)linkobj/libc.so): Likewise.
701 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
702 instead of $(common-objpfx)elf/.
703 (symbolic-link-list): Likewise.
704 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
705 [$(cross-compiling) = no]: Likewise.
706 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
708 (static-gnulib-arch): Likewise.
709 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
710 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
711 $(common-objpfx)elf/.
713 2014-05-21 Richard Henderson <rth@redhat.com>
715 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
716 (SINGLE_THREAD_P): Use the correct width load. Fold
719 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
720 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
722 2014-05-20 Joseph Myers <joseph@codesourcery.com>
724 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
725 (libgcc_s_resume): Use __attribute_used__.
726 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
729 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
731 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
732 optimization when used with float constants.
734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
736 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
739 * locale/nl_langinfo_l.c: Make direct reference to every
740 _nl_current_CATEGORY symbol.
741 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
742 (tests-static): Add tst-langinfo-static.
743 (tests-special): Add tst-langinfo-static.out.
744 ($(objpfx)tst-langinfo.out): Redirect output.
745 ($(objpfx)tst-langinfo-static.out): New.
746 * localedata/tst-langinfo.sh: Send output to stdout.
747 * localedata/tst-langinfo-static.c: New file.
750 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
751 when the shift amount is modulo the limb size.
753 2014-05-20 Richard Henderson <rth@redhat.com>
756 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
757 Change type of sa_flags from unsigned int to int.
760 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
762 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
764 2014-05-20 Will Newton <will.newton@linaro.org>
766 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
767 Test the return value of the system call in the nocancel case.
769 2014-05-20 Will Newton <will.newton@linaro.org>
770 Yvan Roux <yvan.roux@linaro.org>
772 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
773 #include of asm/ptrace.h.
774 (PTRACE_GET_THREAD_AREA): Remove #undef.
775 (PTRACE_GETHBPREGS): Likewise.
776 (PTRACE_SETHBPREGS): Likewise.
777 (struct user_regs_struct): New structure.
778 (struct user_fpsimd_struct): New structure.
779 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
780 #include of asm/ptrace.h and second #include of sys/user.h.
781 (PTRACE_GET_THREAD_AREA): Remove #undef.
782 (PTRACE_GETHBPREGS): Likewise.
783 (PTRACE_SETHBPREGS): Likewise.
784 (ELF_NGREG): Use new struct user_regs_struct.
785 (elf_fpregset_t): Use new struct user_fpsimd_struct.
787 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
789 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
790 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
792 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
795 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
796 membar to avoid block loads/stores to overlap previous stores.
798 2014-05-17 Richard Henderson <rth@redhat.com>
800 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
801 Create the __##syscall_name##_nocancel entry point.
802 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
803 Remove; let the sysdep-cancel.h code create it.
805 2014-05-17 David S. Miller <davem@davemloft.net>
807 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
808 Protect with __USE_GNU.
809 (TIOCSET_TEMPT): Likewise.
810 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
811 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
812 these are already provided in bits/ioctl-types.h
814 2014-05-16 Roland McGrath <roland@hack.frob.com>
816 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
817 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
819 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
820 Use wait4 regardless of [__NR_waitpid].
822 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
825 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
826 (_FP_NANSIGN_Q): Set the quiet bit.
828 2014-05-16 Joseph Myers <joseph@codesourcery.com>
830 * benchtests/Makefile
831 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
832 not $(common-objpfx)math/libm.so.
833 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
834 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
835 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
836 $(common-objpfx)dlfcn/libdl.so.
837 ($(objpfx)tst-audit8): Depend on $(libm), not
838 $(common-objpfx)math/libm.so.
839 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
840 not $(common-objpfx)dlfcn/libdl.so.
842 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
843 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
844 [$(build-shared) = yes].
845 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
846 $(common-objpfx)nptl/libpthread.so.
847 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
848 $(common-objpfx)math/libm.so$(libm.so-version) or
849 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
850 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
851 $(common-objpfx)dlfcn/libdl.so.
852 * setjmp/Makefile (link-libm): Remove variable.
853 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
854 * stdio-common/Makefile (link-libm): Remove variable.
855 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
856 * stdlib/Makefile (link-libm): Remove variable.
857 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
858 ($(objpfx)tst-strtod-round): Likewise.
859 ($(objpfx)tst-tininess): Likewise.
860 ($(objpfx)tst-strtod-underflow): Likewise.
861 ($(objpfx)tst-strtod6): Likewise.
862 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
863 $(libdl), not $(common-objpfx)nptl/libpthread.so and
864 $(common-objpfx)dlfcn/libdl.so.
866 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
868 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
869 BSD terminal modes definitions.
871 2014-05-16 Roland McGrath <roland@hack.frob.com>
873 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
874 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
876 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
877 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
878 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
879 Don't do #include_next.
880 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
881 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
882 Don't do #include_next.
883 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
884 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
885 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
886 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
888 2014-05-16 Allan McRae <allan@archlinux.org>
890 * po/sv.po: Update Swedish translation from translation project.
892 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
895 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
898 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
899 errno if the TIOCGPTN ioctl fails with an error different than
901 * login/tst-ptsname.c: New file.
902 * login/Makefile (tests): Add tst-ptsname.
905 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
908 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
912 herrno to return EAI_AGAIN.
914 2014-05-14 Roland McGrath <roland@hack.frob.com>
916 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
917 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
918 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
919 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
920 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
921 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
922 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
923 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
924 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
925 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
926 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
927 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
928 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
929 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
930 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
931 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
932 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
933 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
934 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
935 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
936 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
937 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
938 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
939 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
940 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
941 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
942 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
943 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
944 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
945 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
947 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
949 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
952 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
954 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
956 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
958 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
960 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
962 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
964 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
966 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
968 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
970 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
972 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
974 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
976 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
978 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
981 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
985 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
987 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
989 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
991 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
993 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
995 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
997 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
999 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1002 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1004 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1006 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1007 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1008 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1009 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1010 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1011 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1012 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1013 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1014 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1015 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1016 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1017 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1018 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1019 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1020 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1021 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1022 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1023 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1024 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1025 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1026 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1027 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1028 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1029 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1030 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1031 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1032 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1033 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1034 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1035 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1036 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1038 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1039 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1041 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1042 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1043 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1044 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1045 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1046 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1048 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1049 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1051 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1052 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1054 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1055 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1057 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1058 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1059 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1060 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1062 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1063 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1064 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1065 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1066 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1067 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1068 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1069 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1071 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1072 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1074 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1076 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1077 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1078 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1079 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1080 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1082 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1084 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1086 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1087 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1088 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1089 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1090 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1091 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1093 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1094 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1096 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1097 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1099 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1100 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1102 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1103 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1104 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1105 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1107 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1108 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1109 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1110 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1111 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1112 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1113 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1114 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1116 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1117 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1119 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1121 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1122 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1123 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1124 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1125 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1127 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1129 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1131 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1132 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1133 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1134 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1135 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1136 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1137 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1138 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1139 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1140 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1142 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1143 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1145 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1146 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1148 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1149 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1151 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1152 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1153 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1154 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1155 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1156 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1158 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1159 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1160 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1161 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1162 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1163 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1164 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1165 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1167 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1168 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1170 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1172 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1173 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1174 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1175 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1176 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1178 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1180 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1182 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1183 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1184 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1185 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1186 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1187 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1188 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1189 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1190 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1191 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1192 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1194 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1195 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1197 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1198 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1200 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1201 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1202 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1203 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1204 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1205 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1206 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1207 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1208 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1209 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1210 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1211 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1212 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1213 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1214 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1215 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1216 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1217 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1219 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1220 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1221 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1222 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1224 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1225 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1226 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1227 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1228 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1229 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1230 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1231 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1233 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1234 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1236 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1237 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1238 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1239 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1240 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1241 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1242 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1243 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1244 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1245 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1246 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1247 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1248 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1249 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1250 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1251 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1252 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1254 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1255 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1256 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1257 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1258 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1260 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1261 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1262 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1263 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1264 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1265 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1266 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1267 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1268 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1269 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1271 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1272 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1274 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1275 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1276 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1277 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1278 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1279 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1280 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1281 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1282 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1283 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1284 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1285 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1286 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1287 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1288 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1290 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1296 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1298 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1300 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1302 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1304 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1308 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1309 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1310 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1311 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1312 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1313 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1314 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1315 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1316 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1317 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1318 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1319 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1320 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1321 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1322 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1324 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1325 that was previously under [RESET_PID].
1326 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1327 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1328 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1330 * sysdeps/i386/nptl/Implies: New file.
1331 * sysdeps/x86_64/nptl/Implies: New file.
1332 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1333 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1334 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1335 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1337 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1338 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1339 (__libc_vfork): New strong alias.
1340 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1341 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1343 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1344 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1345 (__libc_vfork): New strong alias.
1346 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1347 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1349 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1350 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1351 (__libc_vfork): New strong alias.
1352 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1353 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1354 * nptl/pt-vfork.c: New file.
1355 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1356 (libpthread: GLIBC_2.20): New version set (empty).
1358 2014-05-14 Will Newton <will.newton@linaro.org>
1360 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1363 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1366 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1367 arguments with exponent 65 or above.
1368 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1369 arguments 0x1p113L or above.
1370 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1371 to arguments 0x1p107L or above.
1372 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1373 positive arguments with exponent 65 or above.
1374 * math/auto-libm-test-in: Add more tests of log1p.
1375 * math/auto-libm-test-out: Regenerated.
1378 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1379 non-finite arguments is +0.
1380 * math/s_cacosf.c (__cacosf): Likewise.
1381 * math/s_cacosl.c (__cacosl): Likewise.
1382 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1383 * sysdeps/i386/fpu/libm-test-ulps: Update.
1384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1387 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1389 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1390 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1391 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1392 for explicit high bit of mantissa when testing for argument equal
1394 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1395 * sysdeps/i386/fpu/libm-test-ulps: Update.
1396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1399 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1400 (__erf): Scale by 16 instead of 8 in potentially underflowing
1401 case. Ensure exception if result actually underflows.
1402 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1403 (__erff): Scale by 16 instead of 8 in potentially underflowing
1404 case. Ensure exception if result actually underflows.
1405 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1406 (efx8): Remove variable.
1407 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1408 case. Ensure exception if result actually underflows.
1409 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1410 (efx8): Remove variable.
1411 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1412 case. Ensure exception if result actually underflows.
1413 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1414 (efx8): Remove variable.
1415 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1416 case. Ensure exception if result actually underflows.
1417 * math/auto-libm-test-in: Add more tests of erf.
1418 * math/auto-libm-test-out: Regenerated.
1420 2014-05-14 Andreas Schwab <schwab@suse.de>
1422 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1423 Remove code conditionalized on USE___THREAD.
1425 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1426 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1429 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1431 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1432 Define unconditionally.
1433 (__ASSUME_O_CLOEXEC): Likewise.
1434 (__ASSUME_SOCK_CLOEXEC): Likewise.
1435 (__ASSUME_IN_NONBLOCK): Likewise.
1436 (__ASSUME_PIPE2): Likewise.
1437 (__ASSUME_EVENTFD2): Likewise.
1438 (__ASSUME_SIGNALFD4): Likewise.
1439 (__ASSUME_DUP3): Likewise.
1440 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1441 (__ASSUME_DUP3): Do not define.
1442 (__ASSUME_EVENTFD2): Likewise.
1443 (__ASSUME_IN_NONBLOCK): Likewise.
1444 (__ASSUME_O_CLOEXEC): Likewise.
1445 (__ASSUME_PIPE2): Likewise.
1446 (__ASSUME_SIGNALFD4): Likewise.
1447 (__ASSUME_SOCK_CLOEXEC): Likewise.
1448 (__ASSUME_UTIMES): Undefine.
1449 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1450 (__ASSUME_UTIMES): Do not define.
1451 (__ASSUME_O_CLOEXEC): Likewise.
1452 (__ASSUME_SOCK_CLOEXEC): Likewise.
1453 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1454 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1456 (__ASSUME_PIPE2): Likewise.
1457 (__ASSUME_EVENTFD2): Likewise.
1458 (__ASSUME_SIGNALFD4): Likewise.
1459 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1460 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1462 (__ASSUME_EVENTFD2): Likewise.
1463 (__ASSUME_SIGNALFD4): Likewise.
1464 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1465 (__ASSUME_32BITUIDS): Likewise.
1466 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1467 (__ASSUME_IPC64): Likewise.
1468 (__ASSUME_ST_INO_64_BIT): Likewise.
1469 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1470 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1471 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1472 (__ASSUME_UTIMES): Do not define.
1473 (__ASSUME_PSELECT): Likewise.
1474 (__ASSUME_PPOLL): Likewise.
1475 (__ASSUME_O_CLOEXEC): Likewise.
1476 (__ASSUME_SOCK_CLOEXEC): Likewise.
1477 (__ASSUME_IN_NONBLOCK): Likewise.
1478 (__ASSUME_PIPE2): Likewise.
1479 (__ASSUME_EVENTFD2): Likewise.
1480 (__ASSUME_SIGNALFD4): Likewise.
1481 (__ASSUME_DUP3): Likewise.
1482 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1483 (__ASSUME_UTIMES): Likewise.
1484 (__ASSUME_O_CLOEXEC): Likewise.
1485 (__ASSUME_SOCK_CLOEXEC): Likewise.
1486 (__ASSUME_IN_NONBLOCK): Likewise.
1487 (__ASSUME_PIPE2): Likewise.
1488 (__ASSUME_EVENTFD2): Likewise.
1489 (__ASSUME_SIGNALFD4): Likewise.
1490 (__ASSUME_DUP3): Likewise.
1491 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1492 (__ASSUME_UTIMES): Likewise.
1493 (__ASSUME_O_CLOEXEC): Likewise.
1494 (__ASSUME_SOCK_CLOEXEC): Likewise.
1495 (__ASSUME_IN_NONBLOCK): Likewise.
1496 (__ASSUME_PIPE2): Likewise.
1497 (__ASSUME_EVENTFD2): Likewise.
1498 (__ASSUME_SIGNALFD4): Likewise.
1499 (__ASSUME_DUP3): Likewise.
1500 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1502 (__ASSUME_UTIMES): Likewise.
1503 (__ASSUME_EVENTFD2): Likewise.
1504 (__ASSUME_SIGNALFD4): Likewise.
1505 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1506 (__ASSUME_O_CLOEXEC): Likewise.
1507 (__ASSUME_SOCK_CLOEXEC): Likewise.
1508 (__ASSUME_IN_NONBLOCK): Likewise.
1509 (__ASSUME_PIPE2): Likewise.
1510 (__ASSUME_EVENTFD2): Likewise.
1511 (__ASSUME_SIGNALFD4): Likewise.
1512 (__ASSUME_DUP3): Likewise.
1513 (__ASSUME_UTIMES): Undefine.
1515 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1516 feclearexcept. Remove symbol versioning code.
1517 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1518 symbol versioning code.
1519 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1520 symbol versioning code.
1521 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1522 feupdateenv. Remove symbol versioning code.
1523 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1524 fegetexceptflag. Remove symbol versioning code.
1525 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1526 fesetexceptflag. Remove symbol versioning code.
1527 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1528 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1529 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1530 (__posix_fadvise64_l32): Remove prototype.
1531 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1534 2014-05-13 Roland McGrath <roland@hack.frob.com>
1536 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1537 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1538 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1539 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1541 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1543 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1544 current working directory
1546 2014-05-13 Roland McGrath <roland@hack.frob.com>
1548 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1549 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1550 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1551 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1552 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1553 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1554 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1555 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1556 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1557 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1558 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1559 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1560 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1561 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1562 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1563 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1564 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1565 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1566 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1567 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1568 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1569 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1570 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1571 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1572 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1573 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1574 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1575 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1576 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1577 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1578 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1579 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1580 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1581 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1582 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1583 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1584 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1585 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1586 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1587 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1588 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1589 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1591 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1592 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1594 * sysdeps/unix/sysv/linux/arm/Makefile
1595 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1596 Add rt-aeabi_unwind_cpp_pr1.
1597 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1598 Add nptl-aeabi_unwind_cpp_pr1.
1599 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1600 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1601 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1602 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1603 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1604 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1606 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1607 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1608 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1609 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1611 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1612 Deconditionalize the code that was previously under [RESET_PID].
1613 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1615 * sysdeps/generic/exit-thread.h: New file.
1616 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1617 * include/unistd.h (__exit_thread): Remove declaration.
1618 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1619 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1620 * csu/libc-start.c: Include <exit-thread.h>.
1621 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1622 * nptl/pthread_create.c: Include <exit-thread.h>.
1623 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1624 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1625 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1626 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1627 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1628 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1629 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1630 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1631 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1632 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1633 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1634 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1635 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1636 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1637 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1638 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1639 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1641 2014-05-13 Andreas Schwab <schwab@suse.de>
1643 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1645 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1647 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1648 (__ASSUME_UTIMES): Do not condition on kernel version.
1649 (__ASSUME_PSELECT): Define unconditionally.
1650 (__ASSUME_PPOLL): Likewise.
1651 (__ASSUME_ATFCTS): Likewise.
1652 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1653 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1654 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1655 (__ASSUME_UTIMENSAT): Define unconditionally.
1656 (__ASSUME_PRIVATE_FUTEX): Likewise.
1657 (__ASSUME_FALLOCATE): Likewise.
1658 (__ASSUME_O_CLOEXEC): Likewise.
1659 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1660 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1661 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1662 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1663 (__ASSUME_IN_NONBLOCK): Likewise.
1664 (__ASSUME_PIPE2): Likewise.
1665 (__ASSUME_EVENTFD2): Likewise.
1666 (__ASSUME_SIGNALFD4): Likewise.
1667 (__ASSUME_DUP3): Likewise.
1668 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1669 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1670 (__ASSUME_AT_RANDOM): Likewise.
1671 (__ASSUME_PREADV): Likewise.
1672 (__ASSUME_PWRITEV): Likewise.
1673 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1674 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1675 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1676 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1677 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1678 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1679 (__ASSUME_O_CLOEXEC): Define unconditionally.
1680 (__ASSUME_PSELECT): Do not undefine conditionally.
1681 (__ASSUME_PPOLL): Likewise.
1682 (__ASSUME_ATFCTS): Likewise.
1683 (__ASSUME_SET_ROBUST_LIST): Likewise.
1684 (__ASSUME_UTIMENSAT): Likewise.
1685 (__ASSUME_FDATASYNC): Define unconditionally.
1686 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1687 (__ASSUME_SIGFRAME_V2): Likewise.
1688 )__ASSUME_EVENTFD2): Likewise.
1689 (__ASSUME_SIGNALFD4): Likewise.
1690 (__ASSUME_PSELECT): Do not undefine conditionally.
1691 (__ASSUME_PPOLL): Likewise.
1692 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1693 (__ASSUME_PSELECT): Define unconditionally.
1694 (__ASSUME_PPOLL): Likewise.
1695 (__ASSUME_O_CLOEXEC): Likewise.
1696 (__ASSUME_SOCK_CLOEXEC): Likewise.
1697 (__ASSUME_IN_NONBLOCK): Likewise.
1698 (__ASSUME_PIPE2): Likewise.
1699 (__ASSUME_EVENTFD2): Likewise.
1700 (__ASSUME_SIGNALFD4): Likewise.
1701 (__ASSUME_DUP3): Likewise.
1702 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1703 (__ASSUME_O_CLOEXEC): Likewise.
1704 (__ASSUME_SOCK_CLOEXEC): Likewise.
1705 (__ASSUME_IN_NONBLOCK): Likewise.
1706 (__ASSUME_PIPE2): Likewise.
1707 (__ASSUME_EVENTFD2): Likewise.
1708 (__ASSUME_SIGNALFD4): Likewise.
1709 (__ASSUME_DUP3): Likewise.
1710 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1711 (__ASSUME_EVENTFD2): Likewise.
1712 (__ASSUME_SIGNALFD4): Likewise.
1713 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1715 2014-05-12 Andreas Schwab <schwab@suse.de>
1718 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1719 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1720 than maximum RPC packet size.
1721 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1722 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1723 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1724 (_nss_nis_getservbyport_r): Likewise.
1726 2014-05-12 Will Newton <will.newton@linaro.org>
1728 * malloc/Makefile (tests): Add tst-mallopt.
1729 * malloc/tst-mallopt.c: New file.
1731 2014-05-09 Roland McGrath <roland@hack.frob.com>
1733 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1734 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1736 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1738 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1739 (tst-tlsmod6.so): Likewise.
1741 2014-05-09 Roland McGrath <roland@hack.frob.com>
1743 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1745 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1748 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1749 and <dl-procinfo.h>.
1750 (__fegetenv): Save SSE state in envp->__eip if supported.
1751 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1752 envp->__eip if supported.
1753 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1754 and <dl-procinfo.h>.
1755 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1756 __data_offset and __data_selector in environment to 0. Set SSE
1758 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1760 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1762 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1764 2014-05-09 Will Newton <will.newton@linaro.org>
1766 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1767 and libc_relro_required for ARM.
1768 * sysdeps/arm/preconfigure: Regenerate.
1770 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1771 Stefan Liebler <stli@linux.vnet.ibm.com>
1773 * config.make.in (enable-lock-elision): New Makefile variable.
1774 * configure.ac: Likewise.
1775 * configure: Regenerate.
1776 * sysdeps/s390/configure.ac:
1777 Add check for gcc transactions support.
1778 * sysdeps/s390/configure: Regenerate.
1779 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1780 Build elision files if enabled.
1781 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1782 Add lock elision support for s390.
1783 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1784 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1785 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1786 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1787 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1788 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1789 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1791 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1793 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1795 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1797 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1798 (__lll_timedlock_elision, __lll_lock_elision)
1799 (__lll_unlock_elision, __lll_trylock_elision)
1800 (lll_timedlock_elision, lll_lock_elision)
1801 (lll_unlock_elision, lll_trylock_elision): Add.
1802 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1803 (pthread_mutex_t): Add lock elision support for s390.
1805 2014-05-14 Wilco <wdijkstr@arm.com>
1807 * sysdeps/arm/fclrexcpt.c: Cleanup.
1808 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1809 * sysdeps/arm/feenablxcpt.c: Cleanup.
1810 * sysdeps/arm/fegetenv.c: Cleanup.
1811 * sysdeps/arm/fegetexcept.c: Cleanup.
1812 * sysdeps/arm/fegetround.c: Cleanup.
1813 * sysdeps/arm/feholdexcpt.c: Cleanup.
1814 * sysdeps/arm/fesetenv.c: Cleanup.
1815 * sysdeps/arm/fesetround.c: Cleanup.
1816 * sysdeps/arm/feupdateenv.c: Cleanup.
1817 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1818 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1819 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1820 * sysdeps/arm/ftestexcept.c: Cleanup.
1821 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1822 * sysdeps/arm/setfpucw.c: Cleanup.
1824 2014-05-09 Will Newton <will.newton@linaro.org>
1826 * sysdeps/arm/armv7/strcmp.S: New file.
1827 * NEWS: Mention addition of ARMv7 optimized strcmp.
1829 2014-05-08 Roland McGrath <roland@hack.frob.com>
1831 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1832 look for %.ac rather than %.in.
1834 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1835 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1836 * sysdeps/mach/hurd/configure: Regenerated.
1837 * sysdeps/unix/sysv/linux/configure: Regenerated.
1839 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1841 2014-05-07 Steve Ellcey <sellcey@mips.com>
1844 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1848 2014-05-07 Andreas Schwab <schwab@suse.de>
1850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1851 when skipping over non-matching result from nscd.
1853 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1856 * nptl/sockperf.c (client): Check socket return value.
1859 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1860 nscd security class.
1862 2014-05-06 Roland McGrath <roland@hack.frob.com>
1864 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1865 * sysdeps/arm/unwind.h: ... here.
1867 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1870 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1873 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1875 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1876 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1877 multiarch strncpy for PPC64.
1878 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1879 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1881 multiarch optimizations.
1882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1883 (__libc_ifunc_impl_list): Likewise.
1884 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1885 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1886 multiarch stpncpy for PPC64.
1887 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1888 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1890 2014-05-06 Andreas Schwab <schwab@suse.de>
1893 * gmon/mcount.c (_MCOUNT_DECL): Use
1894 atomic_compare_and_exchange_bool_acq instead of
1895 catomic_compare_and_exchange_bool_acq.
1897 2014-05-05 Roland McGrath <roland@hack.frob.com>
1899 * elf/Makefile (others, install-bin): Remove pldd.
1900 (pldd-modules): Variable removed.
1901 ($(objpfx)pldd): Target removed.
1902 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1903 (others, install-bin): Append pldd here.
1904 ($(objpfx)pldd): New target.
1906 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1907 to 0, so the first #if test emitted later doesn't see it undefined.
1908 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1909 * sysdeps/gnu/errlist.c: Regenerated.
1911 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1913 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1914 [libc_hidden_builtin_def]: Define to empty value.
1915 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1916 [libc_hidden_builtin_def]: Likewise.
1917 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1918 [libc_hidden_builtin_def]: Likewise.
1919 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1920 [libc_hidden_builtin_def]: Likewise.
1921 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1922 __redirect_memcpy and define ifunc as default hidden symbol.
1923 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1924 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1926 2014-05-04 Adam Conrad <adconrad@0c3.net>
1928 * locale/iso-4217.def: Reintroduce XDR currency.
1930 2014-05-04 Allan McRae <allan@archlinux.org>
1932 * po/eo.po: Update Esperanto translation from translation project.
1934 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1936 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1937 and FEATURE_INDEX_MAX to 1.
1938 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1940 2014-05-01 Steve Ellcey <sellcey@mips.com>
1942 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1943 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1944 * iconvdata/big5.c (ONE_DIRECTION): Define.
1945 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1946 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1947 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1948 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1949 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1950 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1951 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1952 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1953 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1954 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1955 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1956 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1957 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1958 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1959 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1960 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1961 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1962 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1963 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1964 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1965 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1966 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1967 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1968 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1969 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1970 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1971 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1972 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1973 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1974 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1975 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1976 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1977 * iconvdata/johab.c (ONE_DIRECTION): Define.
1978 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1979 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1980 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1981 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1982 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1983 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1984 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1985 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1986 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1987 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1989 2014-05-01 Roland McGrath <roland@hack.frob.com>
1991 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1992 (_IO_JUMPS_OFFSET): Define to 0.
1994 * nptl/sysdeps/pthread/bits/libc-lock.h
1995 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1996 (__libc_lock_define_initialized_recursive): Always define using
1997 initializer. Modern compilers treat uninitialized (implicit zero) and
1998 explicit zero initializers the same (i.e. put the datum in bss).
2000 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2002 * nscd/nscd-client.h: Include <string.h>.
2004 2014-05-01 David S. Miller <davem@davemloft.net>
2007 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2008 multiple zero bytes exist at the end of a string.
2009 Reported by Aurelien Jarno <aurelien@aurel32.net>
2011 * string/test-strcmp.c (check): Add explicit test for situations where
2012 there are multiple zero bytes after the first.
2014 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2017 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2018 when compiling wprintf.
2019 * stdio-common/tstdiomisc.c (t3): New function.
2022 2014-05-01 Steve Ellcey <sellcey@mips.com>
2024 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2025 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2026 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2027 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2029 2014-05-01 Steve Ellcey <sellcey@mips.com>
2031 * stdlib/longlong.h: Updated from GCC.
2033 2014-05-01 Will Newton <will.newton@linaro.org>
2034 Bernard Ogden <bernie.ogden@linaro.org>
2036 * NEWS: Update fixed bug list.
2039 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2041 2014-04-30 David S. Miller <davem@davemloft.net>
2043 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2044 (libc_feholdexcept_setround_sparc_ctx): New function.
2045 (libc_fesetenv_sparc_ctx): Likewise.
2046 (libc_feupdateenv_sparc_ctx): Likewise.
2047 (libc_feholdsetround_sparc_ctx): Likewise.
2048 (libc_feholdexcept_setround_ctx): Define.
2049 (libc_feholdexcept_setroundf_ctx): Likewise.
2050 (libc_feholdexcept_setroundl_ctx): Likewise.
2051 (libc_fesetenv_ctx): Likewise.
2052 (libc_fesetenvf_ctx): Likewise.
2053 (libc_fesetenvl_ctx): Likewise.
2054 (libc_feupdateenv_ctx): Likewise.
2055 (libc_feupdateenvf_ctx): Likewise.
2056 (libc_feupdateenvl_ctx): Likewise.
2057 (libc_feresetround_ctx): Likewise.
2058 (libc_feresetroundf_ctx): Likewise.
2059 (libc_feresetroundl_ctx): Likewise.
2060 (libc_feholdsetround_ctx): Likewise.
2061 (libc_feholdsetroundf_ctx): Likewise.
2062 (libc_feholdsetroundl_ctx): Likewise.
2064 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2065 with __USE_GNU instead of XOPEN cpp guards.
2067 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2070 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2071 with XOPEN cpp guards.
2073 2014-04-30 Julian Brown <julian@codesourcery.com>
2076 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2079 2014-04-30 Joseph Myers <joseph@codesourcery.com>
2082 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2084 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2085 * sysdeps/unix/sysv/linux/configure: Regenerated.
2086 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2087 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2088 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2089 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2090 * README: Update reference to required Linux kernel version.
2091 * manual/install.texi (Linux): Update reference to required Linux
2092 kernel headers version.
2093 * INSTALL: Regenerated.
2095 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2097 [POSIX] (limits.h): Likewise.
2098 [POSIX] (math.h): Likewise.
2099 [POSIX] (sys/wait.h): Likewise.
2100 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2102 [POSIX] (stddef.h): Do not allow header inclusion.
2104 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2106 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2108 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2110 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2111 Return immediately after lll_futex_wake.
2113 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2116 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2118 (datahead_init_pos): Call datahead_init_common early.
2119 (datahead_init_neg): Likewise.
2121 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2122 datahead_init_neg): New functions.
2123 * nscd/aicache.c (addhstaiX): Use them.
2124 * nscd/grpcache.c (cache_addgr): Likewise.
2125 * nscd/hstcache.c (cache_addhst): Likewise.
2126 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2127 * nscd/netgroupcache.c (do_notfound): Likewise.
2128 (addgetnetgrentX): Likewise.
2129 (addinnetgrX): Likewise.
2130 * nscd/pwdcache.c (cache_addpw): Likewise.
2131 * nscd/servicescache.c (cache_addserv): Likewise.
2133 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2134 Atsushi Onoe <atsushi@onoe.org>
2139 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2140 one response is valid.
2141 * resolv/res_send.c (send_dg): Check for validity of other
2142 response if the current response is a referral.
2144 2014-04-29 Steve Ellcey <sellcey@mips.com>
2146 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2148 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2151 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2152 Always divide by positive zero when computing -Inf result.
2153 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2154 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2156 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2158 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2159 FPSCR if value do not change.
2160 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2161 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2162 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2163 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2164 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2165 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2168 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2170 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2171 * sysdeps/unix/sysv/linux/hppa: Move directory from
2172 ports/systeps/unix/sysv/linux/hppa.
2173 * README: Update listing for hppa-*-linux-gnu.
2175 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
2178 * manual/stdio.texi (Hook functions): Fix types of stream hook
2181 * socket/sys/socket.h: Fix typo in comment.
2183 2014-04-28 Wilco <wdijkstr@arm.com>
2185 * sysdeps/arm/fenv_private.h: New file.
2186 * sysdeps/arm/math_private.h: New file.
2187 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2189 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2191 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2193 (La_x86_64_retval): Likewise.
2195 2014-04-24 Ian Bolton <ian.bolton@arm.com>
2197 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2198 fpsr if value didn't change.
2199 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2200 to fpcr if value didn't change.
2201 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2202 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2203 fpsr or fpcr if value didn't change.
2204 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2205 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2206 fpcr if value didn't change.
2207 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2208 to fpsr if value didn't change.
2210 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2212 * nptl/tst-sem3.c: Use test-skeleton.c
2213 (main): Rename to do_test. Use return instead of
2215 * nptl/tst-sem4.c: Use test-skeleton.c
2216 (main): Rename to do_test.
2218 2014-04-22 David S. Miller <davem@davemloft.net>
2220 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2221 (struct sigaction): New struct member __glibc_reserved0, change
2222 type of sa_flags to int.
2224 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2226 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2227 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2229 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2231 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2232 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2234 2014-04-22 Will Newton <will.newton@linaro.org>
2235 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2237 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2238 (__longjmp): Add longjmp and longjmp_target SystemTap
2240 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2241 (__sigsetjmp): Add setjmp SystemTap probe.
2243 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2245 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2248 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2250 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2252 * sysdeps/powerpc/fpu/fenv_private.h
2253 (libc_feholdexcept_setroundl_ctx): Define to
2254 libc_feholdexcept_setround_ppc_ctx.
2255 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2256 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2257 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2258 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2260 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2262 * sysdeps/aarch64/math-tests.h: New file.
2264 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2266 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2269 Check and set bit_AVX2_Usable.
2270 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2272 (bit_AVX2): Likewise.
2273 (index_AVX2_Usable): Likewise.
2274 (CPUID_AVX2): Likewise.
2275 (HAS_AVX2): Likewise.
2277 2014-04-17 Will Newton <will.newton@linaro.org>
2279 * manual/setjmp.texi (System V contexts): Add note that
2280 calling setcontext on a context created by a call to a
2281 signal handler is undefined. Update text to note that
2282 setcontext from a signal handler is possible but not
2286 * stdlib/tst-setcontext.c: Include signal.h.
2287 (main): Check that the signal stack before and
2288 after swapcontext is the same.
2290 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2291 Re-implement to restore registers in user code and avoid
2292 rt_sigreturn system call.
2294 2014-04-17 Wilco <wdijkstr@arm.com>
2296 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2297 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2298 * math/test-fenv.c: Skip exception trap tests on targets which only
2299 support non-stop mode.
2301 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2302 Wilco Dijkstra <wilco.dijkstra@arm.com>
2304 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2305 (libc_feholdsetround_aarch64_ctx)
2306 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2307 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2308 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2309 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2310 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2311 (libc_feresetround_noexl_ctx): Define.
2313 2014-04-16 Richard Henderson <rth@redhat.com>
2315 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2317 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2320 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2321 const from the non-libc, non-ldso copy.
2323 * sysdeps/alpha/libm-test-ulps: Regenerate.
2325 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2326 Wilco Dijkstra <wilco.dijkstra@arm.com>
2328 * sysdeps/aarch64/fpu/math_private.h: New file.
2330 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2332 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2334 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2336 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2337 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2338 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2339 Intel MPX bound registers before _dl_profile_fixup.
2340 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2341 registers after _dl_profile_fixup. Save and restore bound
2342 registers bnd0/bnd1 when calling _dl_call_pltexit.
2343 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2344 (LR_BND_OFFSET): Likewise.
2345 (LRV_BND0_OFFSET): Likewise.
2346 (LRV_BND1_OFFSET): Likewise.
2348 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2350 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2352 * sysdeps/mach/hurd/i386/tls.h: ... here.
2353 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2354 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2357 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2359 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2361 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2363 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2365 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2368 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2369 * sysdeps/s390/configure: Regenerate.
2372 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2373 Set round-to-nearest internally to reduce error accumulation.
2375 2014-04-16 Alan Modra <amodra@gmail.com>
2379 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2380 * math/libm-test.inc (frexp_test_data): Add tests.
2381 * NEWS: Update fixed bug list.
2383 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2385 * benchtests/Makefile: Depend on libraries in build directory.
2386 (bench-math): Separate out math tests.
2387 (bench-pthread): Separate out pthread tests.
2388 (bench): Include math and pthread tests.
2390 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2393 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2394 _dl_debug_initialize.
2396 * configure.ac: Remove SELinux header check.
2397 * configure: Regenerate.
2398 * nscd/selinux.c (perms): Array of const char* to permission names.
2399 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2400 default policy. Call string_to_security_class and string_to_av_perm to
2401 translate strings. Enforce default policy and call avs_has_perm with
2402 results of translated strings.
2404 2014-04-13 David S. Miller <davem@davemloft.net>
2406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2408 2014-04-12 Allan McRae <allan@archlinux.org>
2411 * manual/string.texi (Collation Functions): Fix qsort argument
2413 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2415 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2417 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2418 Make the test a no-op if there are no exceptions defined.
2420 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2422 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2423 enable-hardcoded-path-in-tests
2425 2014-04-11 Will Newton <will.newton@linaro.org>
2427 * benchtests/Makefile (extra-objs): Add json-lib.o.
2428 (bench-func): Tidy up JSON output.
2429 * benchtests/bench-skeleton.c: Include json-lib.h.
2430 (main): Use JSON library functions to do output of
2432 * benchtests/bench-timing-type.c (main): Output the
2433 timing type simply, leaving formatting to the user.
2434 * benchtests/json-lib.c: New file.
2435 * benchtests/json-lib.h: Likewise.
2437 2014-04-11 Torvald Riegel <triegel@redhat.com>
2440 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2441 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2442 memory barriers. Add comments.
2443 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2444 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2445 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2446 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2447 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2448 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2450 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2452 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2453 * sysdeps/s390/s390-64/configure.ac: ... this ...
2454 * sysdeps/s390/configure.ac: ... to here.
2455 * sysdeps/s390/s390-32/configure: Delete file.
2456 * sysdeps/s390/s390-64/configure: Delete file.
2457 * sysdeps/s390/configure: Regenerate.
2459 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2461 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2463 2014-04-11 Will Newton <will.newton@linaro.org>
2465 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2466 to zero if it is not defined elsewhere. (mtrim): Test
2467 the value of MALLOC_DEBUG with #if rather than #ifdef.
2469 2014-04-10 Torvald Riegel <triegel@redhat.com>
2471 * benchtests/pthread_once-inputs: New file.
2472 * benchtests/pthread_once-source.c: New file.
2473 * benchtests/README: Update documentation.
2475 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2476 H.J. Lu <hongjiu.lu@intel.com>
2478 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2479 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2480 * sysdeps/x86_64/configure: Regenerated.
2481 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2483 (REGISTER_SAVE_RAX): Likewise.
2484 (REGISTER_SAVE_RCX): Likewise.
2485 (REGISTER_SAVE_RDX): Likewise.
2486 (REGISTER_SAVE_RSI): Likewise.
2487 (REGISTER_SAVE_RDI): Likewise.
2488 (REGISTER_SAVE_R8): Likewise.
2489 (REGISTER_SAVE_R9): Likewise.
2490 (REGISTER_SAVE_BND0): Likewise.
2491 (REGISTER_SAVE_BND1): Likewise.
2492 (REGISTER_SAVE_BND2): Likewise.
2493 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2494 bound registers when calling _dl_fixup.
2496 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2498 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2499 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2501 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2502 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2503 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2504 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2505 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2506 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2507 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2509 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2512 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2513 pathconf(_PC_NAME_MAX).
2515 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2517 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2519 (__PTHREAD_SPINS): Move definition to ...
2520 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2521 (__PTHREAD_SPINS): ... here.
2522 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2523 (__PTHREAD_SPIN): Likewise.
2524 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2525 (__PTHREAD_SPIN): Likewise.
2526 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2527 (__PTHREAD_SPIN): Likewise.
2528 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2529 (__PTHREAD_SPIN): Likewise.
2530 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2531 (__PTHREAD_SPIN): Likewise.
2532 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2533 (__PTHREAD_SPIN): Likewise.
2534 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2535 (__PTHREAD_SPIN): Likewise.
2536 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2537 (__PTHREAD_SPIN): Likewise.
2538 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2539 (__PTHREAD_SPIN): Likewise.
2540 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2541 (__PTHREAD_SPIN): Likewise.
2542 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2543 (__PTHREAD_SPIN): Likewise.
2544 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2545 (__PTHREAD_SPIN): Likewise.
2547 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2548 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2549 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2550 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2552 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2553 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2554 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2555 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2557 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2558 strlen symbol for non multi-arch builds.
2559 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2560 missing hidden_def and weak_alias.
2562 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2564 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2566 2014-04-07 Will Newton <will.newton@linaro.org>
2568 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2569 and contents. [!_LIBC] Remove #ifndef and contents.
2570 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2571 * string/memccpy.c (__memccpy): Use ANSI prototype.
2572 * string/memfrob.c (memfrob): Likewise.
2573 * string/strcoll.c (STRCOLL): Likewise.
2574 * string/strlen.c (strlen): Likewise.
2575 * string/strtok.c (STRTOK): Likewise.
2576 * string/strcat.c: Remove unused #include of memcopy.h.
2577 (strcat): Use ANSI prototype.
2578 * string/strchr.c: Remove unused #include of memcopy.h.
2579 (strchr): Use ANSI prototype.
2580 * string/strcmp.c: Remove unused #include of memcopy.h.
2581 (strcmp): Use ANSI prototype.
2582 * string/strcpy.c: Remove unused #include of memcopy.h.
2583 (strcpy): Use ANSI prototype.
2585 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2587 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2588 * config.make.in (config-extra-cppflags): Set it from
2589 libc_extra_cppflags.
2590 * configure.ac (libc_extra_cflags): Make it accumulate over
2591 configure fragments.
2592 (libc_extra_cppflags): New flag.
2593 * configure. Regenerate.
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2595 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2596 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2600 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2601 result for FE_DOWNWARD rounding mode.
2602 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2606 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2608 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2609 in function argument name.
2611 2014-04-03 David Svoboda <svoboda@cert.org>
2614 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2617 2014-04-03 Roland McGrath <roland@hack.frob.com>
2619 * elf/dl-unmap-segments.h: New file.
2620 * sysdeps/generic/ldsodefs.h
2621 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2622 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2623 * elf/dl-fptr.c: Likewise.
2624 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2625 * sysdeps/aarch64/tlsdesc.c: Likewise.
2626 * sysdeps/arm/tlsdesc.c: Likewise.
2627 * sysdeps/i386/tlsdesc.c: Likewise.
2628 * sysdeps/tile/dl-runtime.c: Likewise.
2629 * sysdeps/x86_64/tlsdesc.c: Likewise.
2630 * elf/dl-load.h: New file.
2631 * elf/dl-load.c: Include it.
2632 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2633 Macros moved to dl-load.h.
2634 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2635 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2636 Use _dl_unmap_segments in place of __munmap.
2637 Break out segment-mapping loop into ...
2638 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2640 2014-04-03 Will Newton <will.newton@linaro.org>
2642 * elf/dl-lookup.c (do_lookup_x): Remove comment
2643 referring to nested function and move variable
2644 declarations down to before first use.
2646 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2650 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2652 * math/s_catanf.c (__catanf): Likewise.
2653 * math/s_catanh.c (__catanh): Likewise.
2654 * math/s_catanhf.c (__catanhf): Likewise.
2655 * math/s_catanhl.c (__catanhl): Likewise.
2656 * math/s_catanl.c (__catanl): Likewise.
2657 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2658 by positive zero when computing -Inf result.
2659 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2660 (catanh_test): Likewise.
2661 * sysdeps/i386/fpu/libm-test-ulps: Update.
2662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2665 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2666 instead of using underflowing value in computing result.
2667 * math/s_clog10.c (__clog10): Likewise.
2668 * math/s_clog10f.c (__clog10f): Likewise.
2669 * math/s_clog10l.c (__clog10l): Likewise.
2670 * math/s_clogf.c (__clogf): Likewise.
2671 * math/s_clogl.c (__clogl): Likewise.
2672 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2673 (clog10_test): Likewise.
2674 * sysdeps/i386/fpu/libm-test-ulps: Update.
2675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2677 2014-04-02 Alan Modra <amodra@gmail.com>
2680 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2681 output when value is near a power of two. Use int64_t for lx and
2682 remove casts. Use decimal rather than hex exponent constants.
2683 Don't use long double multiplication when double will suffice.
2684 * math/libm-test.inc (nextafter_test_data): Add tests.
2685 * NEWS: Add 16739 and 16786 to bug list.
2687 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2689 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2691 2014-04-01 Will Newton <will.newton@linaro.org>
2693 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2694 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2696 2014-04-01 Florian Weimer <fweimer@redhat.com>
2699 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2700 * nptl/tst-setuid2.c: New file.
2701 * nptl/Makefile (xtests): Add tst-setuid2.
2703 2014-04-01 Alan Modra <amodra@gmail.com>
2706 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2708 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2712 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2713 set errno as appropriate.
2714 * math/w_scalbf.c (__scalbf): Likewise.
2715 * math/w_scalbl.c (__scalbl): Likewise.
2716 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2717 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2718 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2722 * math/w_atan2.c: Include <errno.h>.
2723 (__atan2): Set errno for result underflowing to zero.
2724 * math/w_atan2f.c: Include <errno.h>.
2725 (__atan2f): Set errno for result underflowing to zero.
2726 * math/w_atan2l.c: Include <errno.h>.
2727 (__atan2l): Set errno for result underflowing to zero.
2728 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2730 * math/auto-libm-test-out: Regenerated.
2732 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2734 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2735 Encode instruction correctly in little endian.
2736 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2738 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2740 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2742 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2745 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2748 * sysdeps/unix/sysv/linux/kernel-features.h
2749 [__sparc__ && !__arch64__ && !__sparc_v9__]
2750 (__ASSUME_SET_ROBUST_LIST): Do not define.
2751 [__sparc__ && !__arch64__ && !__sparc_v9__]
2752 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2753 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2755 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2756 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2757 (__ASSUME_REQUEUE_PI): Likewise.
2758 (__ASSUME_SET_ROBUST_LIST): Likewise.
2759 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2760 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2762 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2763 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2765 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2767 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2769 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2770 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2772 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2773 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2777 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2778 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2779 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2781 2014-03-31 Will Newton <will.newton@linaro.org>
2783 * benchtests/Makefile (bench): Add ffs and ffsll to list
2785 * benchtests/ffs-inputs: New file.
2786 * benchtests/ffsll-inputs: Likewise.
2788 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2791 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2792 too large before casting to int.
2793 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2794 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2795 * math/libm-test.inc (scalb_test_data): Add more tests.
2797 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2799 * benchtests/Makefile (DETAILED_OPT): New make option.
2800 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2802 * benchtests/bench-skeleton.c: Include stdbool.h.
2803 (main): Store and print timings per input.
2804 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2805 member to each argument value.
2806 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2807 (_print_arg_data): Initialize per-input timing to 0.
2809 * benchtests/Makefile (timing-type): New binary.
2810 (bench-clean): Also remove bench-timing-type.
2811 (bench): New target for timing-type.
2812 (bench-func): Print output in JSON format.
2813 * benchtests/bench-skeleton.c (main): Print output in JSON
2815 * benchtests/bench-timing-type.c: New file.
2816 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2817 (TIMING_PRINT_STATS): Remove.
2818 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2821 * benchtests/bench-modf.c: Remove.
2822 * benchtests/modf-inputs: New inputs file.
2824 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2827 * math/s_clog10.c (M_PI_LOG10E): New macro.
2828 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2829 imaginary parts are 0.
2830 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2831 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2832 imaginary parts are 0.
2833 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2834 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2835 imaginary parts are 0.
2836 * math/libm-test.inc (clog10_test_data): Update expected results
2837 for when real and imaginary parts are 0.
2839 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2841 * elf/dl-load.c: Finish conversion of __builtin_expect into
2844 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2847 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2848 1+x for argument with exponent below -67.
2849 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2851 * math/auto-libm-test-in: Add more tests of exp.
2852 * math/auto-libm-test-out: Regenerated.
2854 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2857 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2858 (nscd_getnetgrent): Use it.
2861 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2864 2014-03-27 Andi Kleen <ak@linux.intel.com>
2866 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2867 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2868 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2869 (lll_robust_unlock): Remove out of line section. Use cfi
2871 (LLL_STUB_UNWIND_INFO*): Remove.
2872 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2873 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2874 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2875 (lll_robust_unlock): Remove out of line section. Use cfi
2877 (LLL_STUB_UNWIND_INFO*): Remove.
2879 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2882 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2885 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2887 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2889 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2892 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2894 * math/test-fenv-preserve.c: New file.
2895 * math/Makefile (tests): Add test-fenv-preserve.
2897 2014-03-26 Will Newton <will.newton@linaro.org>
2899 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2901 2014-03-25 Roland McGrath <roland@hack.frob.com>
2903 * scripts/versionlist.awk: Partition the version sets and emit all
2904 GLIBC_* (sorted) before all others (sorted).
2906 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2908 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2909 GLIBC_2.2.5 version.
2911 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2913 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2916 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2921 2014-03-25 Andreas Schwab <schwab@suse.de>
2923 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2924 label to be used after in6ailist is initialized.
2926 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2928 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2929 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2931 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2935 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2937 (fp_formats): Update initializers.
2938 (init_fp_formats): Initialize new field.
2939 (output_for_one_input_case): Allow underflow for results up to
2941 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2942 * math/auto-libm-test-in: Don't mark some underflows from asin and
2944 * math/auto-libm-test-out: Regenerated.
2945 * sysdeps/i386/fpu/libm-test-ulps: Update.
2946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2948 2014-03-25 Andreas Schwab <schwab@suse.de>
2950 * libio/Makefile (tst-ftell-partial-wide-ENV)
2951 (tst-ftell-active-handler-ENV): Define.
2953 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2955 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2957 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2959 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2961 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2963 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2964 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2965 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2967 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2970 * elf/dl-load.c (open_verify): Add mode parameter.
2971 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2972 (open_path): Change from boolean 'secure' to complete flag 'mode'
2973 (_dl_map_object): Adjust.
2974 * elf/Makefile (tests): Add tst-dlopen-aout.
2975 * elf/tst-dlopen-aout.c: New test.
2977 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2980 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2981 (struct stat): Rename member pad0 to __glibc_reserved0.
2984 * sysdeps/s390/s390-32/bits/wordsize.h
2985 (__WORDSIZE32_SIZE_ULONG): New define.
2986 * sysdeps/s390/s390-64/bits/wordsize.h
2987 (__WORDSIZE32_SIZE_ULONG): Likewise.
2988 * sysdeps/generic/stdint.h (SIZE_MAX):
2989 Define as UL if __WORDSIZE32_SIZE_ULONG.
2992 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2993 (__glibc_reserved0): New variable.
2994 (sa_flags): Change type to int.
2996 * posix/Makefile (before-compile): Use += before-compile instead
2999 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3000 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3002 2014-03-20 Andreas Schwab <schwab@suse.de>
3005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3006 non-matching result from nscd.
3008 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3010 * scripts/bench.py: Moved to ...
3011 * benchtests/scripts/bench.py: ... here.
3012 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3014 2014-03-24 Andreas Schwab <schwab@suse.de>
3017 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3018 alloca_account and account alloca use for struct in6ailist.
3020 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3023 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3024 rounding mode to recompute results that overflow to infinity or
3026 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3028 * math/auto-libm-test-out: Regenerated.
3029 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3030 (ccosh_test): Likewise.
3031 (csin_test_data): Use plus_oflow.
3032 (csin_test): Use ALL_RM_TEST.
3033 (csinh_test_data): Use plus_oflow.
3034 (csinh_test): Use ALL_RM_TEST.
3035 * sysdeps/i386/fpu/libm-test-ulps: Update.
3036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3038 2014-03-21 Joseph Myers <joseph@codesourcery.com>
3040 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3041 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3042 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3045 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3047 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3048 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3049 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3050 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3052 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3053 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3055 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3056 * sysdeps/i386/fpu/libm-test-ulps: Update.
3057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3059 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3061 * scripts/bench.pl: Remove file.
3062 * scripts/bench.py: New benchmark script.
3063 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3064 * benchtests/README: Mention python dependency.
3065 * scripts/pylintrc: New file.
3066 * scripts/pylint: New file.
3068 * bits/mathdef.h: Use #ifdef instead of #if.
3069 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3070 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3071 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3072 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3073 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3074 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3076 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3077 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3079 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3081 and strpbrk-ppc64 objects.
3082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3083 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3084 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3085 multiarch strpbrk for POWER7.
3086 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3087 multiarch strpbrk for PPC64.
3088 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3090 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3093 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3095 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3096 (atan_test): Likewise.
3097 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3098 (atanh_test): Use ALL_RM_TEST.
3099 (atan2_test_data): Likewise.
3100 (cabs_test): Likewise.
3101 (cacosh_test): Likewise.
3102 (carg_test): Likewise.
3103 (casin_test): Likewise.
3104 (casinh_test): Likewise.
3105 (cbrt_test): Likewise.
3106 (csqrt_test): Likewise.
3107 (erf_test): Likewise.
3108 (erfc_test): Likewise.
3109 (pow10_test): Likewise.
3110 (exp2_test): Likewise.
3111 (hypot_test): Likewise.
3112 (j0_test): Likewise.
3113 (j1_test): Likewise.
3114 (lgamma_test): Likewise.
3115 (gamma_test): Likewise.
3116 (sincos_test): Likewise.
3117 (tanh_test): Likewise.
3118 (y0_test): Likewise.
3119 (y1_test): Likewise.
3120 * sysdeps/i386/fpu/libm-test-ulps: Update.
3121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3123 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3125 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3127 and strcspn-ppc64 objects.
3128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3129 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3130 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3131 multiarch strcspn for POWER7.
3132 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3133 multiarch strcspn for PPC64.
3134 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3136 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3139 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3141 * math/gen-libm-test.pl (generate_testfile): Expect only function
3142 name as argument to AUTO_TESTS_* and pass results for all rounding
3143 modes to parse_args.
3144 (parse_auto_input): Separate inputs of automatic tests from
3145 outputs before storing in %auto_tests.
3146 * math/libm-test.inc (acos_test_data): Update call to
3148 (acos_test): Use ALL_RM_TEST.
3149 (acos_tonearest_test_data): Remove.
3150 (acos_test_tonearest): Likewise.
3151 (acos_towardzero_test_data): Likewise.
3152 (acos_test_towardzero): Likewise.
3153 (acos_downward_test_data): Likewise.
3154 (acos_test_downward): Likewise.
3155 (acos_upward_test_data): Likewise.
3156 (acos_test_upward): Likewise.
3157 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3158 (asin_test_data): Likewise.
3159 (asin_test): Use ALL_RM_TEST.
3160 (asin_tonearest_test_data): Remove.
3161 (asin_test_tonearest): Likewise.
3162 (asin_towardzero_test_data): Likewise.
3163 (asin_test_towardzero): Likewise.
3164 (asin_downward_test_data): Likewise.
3165 (asin_test_downward): Likewise.
3166 (asin_upward_test_data): Likewise.
3167 (asin_test_upward): Likewise.
3168 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3169 (atan_test_data): Likewise.
3170 (atanh_test_data): Likewise.
3171 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3172 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3173 (carg_test_data): Likewise.
3174 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3175 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3176 (ccosh_test_data): Likewise.
3177 (cexp_test_data): Likewise.
3178 (clog_test_data): Likewise.
3179 (clog10_test_data): Likewise.
3180 (cos_test_data): Update call to AUTO_TESTS_f_f.
3181 (cos_test): Use ALL_RM_TEST.
3182 (cos_tonearest_test_data): Remove.
3183 (cos_test_tonearest): Likewise.
3184 (cos_towardzero_test_data): Likewise.
3185 (cos_test_towardzero): Likewise.
3186 (cos_downward_test_data): Likewise.
3187 (cos_test_downward): Likewise.
3188 (cos_upward_test_data): Likewise.
3189 (cos_test_upward): Likewise.
3190 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3191 (cosh_test): Use ALL_RM_TEST.
3192 (cosh_tonearest_test_data): Remove.
3193 (cosh_test_tonearest): Likewise.
3194 (cosh_towardzero_test_data): Likewise.
3195 (cosh_test_towardzero): Likewise.
3196 (cosh_downward_test_data): Likewise.
3197 (cosh_test_downward): Likewise.
3198 (cosh_upward_test_data): Likewise.
3199 (cosh_test_upward): Likewise.
3200 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3201 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3202 (ctan_test_data): Likewise.
3203 (ctan_test): Use ALL_RM_TEST.
3204 (ctan_tonearest_test_data): Remove.
3205 (ctan_test_tonearest): Likewise.
3206 (ctan_towardzero_test_data): Likewise.
3207 (ctan_test_towardzero): Likewise.
3208 (ctan_downward_test_data): Likewise.
3209 (ctan_test_downward): Likewise.
3210 (ctan_upward_test_data): Likewise.
3211 (ctan_test_upward): Likewise.
3212 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3213 (ctanh_test): Use ALL_RM_TEST.
3214 (ctanh_tonearest_test_data): Remove.
3215 (ctanh_test_tonearest): Likewise.
3216 (ctanh_towardzero_test_data): Likewise.
3217 (ctanh_test_towardzero): Likewise.
3218 (ctanh_downward_test_data): Likewise.
3219 (ctanh_test_downward): Likewise.
3220 (ctanh_upward_test_data): Likewise.
3221 (ctanh_test_upward): Likewise.
3222 (erf_test_data): Update call to AUTO_TESTS_f_f.
3223 (erfc_test_data): Likewise.
3224 (exp_test_data): Likewise.
3225 (exp_test): Use ALL_RM_TEST.
3226 (exp_tonearest_test_data): Remove.
3227 (exp_test_tonearest): Likewise.
3228 (exp_towardzero_test_data): Likewise.
3229 (exp_test_towardzero): Likewise.
3230 (exp_downward_test_data): Likewise.
3231 (exp_test_downward): Likewise.
3232 (exp_upward_test_data): Likewise.
3233 (exp_test_upward): Likewise.
3234 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3235 (exp10_test): Use ALL_RM_TEST.
3236 (exp10_tonearest_test_data): Remove.
3237 (exp10_test_tonearest): Likewise.
3238 (exp10_towardzero_test_data): Likewise.
3239 (exp10_test_towardzero): Likewise.
3240 (exp10_downward_test_data): Likewise.
3241 (exp10_test_downward): Likewise.
3242 (exp10_upward_test_data): Likewise.
3243 (exp10_test_upward): Likewise.
3244 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3245 (expm1_test_data): Likewise.
3246 (expm1_test): Use ALL_RM_TEST.
3247 (expm1_tonearest_test_data): Remove.
3248 (expm1_test_tonearest): Likewise.
3249 (expm1_towardzero_test_data): Likewise.
3250 (expm1_test_towardzero): Likewise.
3251 (expm1_downward_test_data): Likewise.
3252 (expm1_test_downward): Likewise.
3253 (expm1_upward_test_data): Likewise.
3254 (expm1_test_upward): Likewise.
3255 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3256 (fma_test): Use ALL_RM_TEST.
3257 (fma_towardzero_test_data): Remove.
3258 (fma_test_towardzero): Likewise.
3259 (fma_downward_test_data): Likewise.
3260 (fma_test_downward): Likewise.
3261 (fma_upward_test_data): Likewise.
3262 (fma_test_upward): Likewise.
3263 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3264 (j0_test_data): Update call to AUTO_TESTS_f_f.
3265 (j1_test_data): Likewise.
3266 (jn_test_data): Update call to AUTO_TESTS_if_f.
3267 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3268 (log_test_data): Update call to AUTO_TESTS_f_f.
3269 (log10_test_data): Likewise.
3270 (log1p_test_data): Likewise.
3271 (log2_test_data): Likewise.
3272 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3273 (pow_tonearest_test_data): Likewise.
3274 (sin_test_data): Update call to AUTO_TESTS_f_f.
3275 (sin_test): Use ALL_RM_TEST.
3276 (sin_tonearest_test_data): Remove.
3277 (sin_test_tonearest): Likewise.
3278 (sin_towardzero_test_data): Likewise.
3279 (sin_test_towardzero): Likewise.
3280 (sin_downward_test_data): Likewise.
3281 (sin_test_downward): Likewise.
3282 (sin_upward_test_data): Likewise.
3283 (sin_test_upward): Likewise.
3284 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3285 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3286 (sinh_test): Use ALL_RM_TEST.
3287 (sinh_tonearest_test_data): Remove.
3288 (sinh_test_tonearest): Likewise.
3289 (sinh_towardzero_test_data): Likewise.
3290 (sinh_test_towardzero): Likewise.
3291 (sinh_downward_test_data): Likewise.
3292 (sinh_test_downward): Likewise.
3293 (sinh_upward_test_data): Likewise.
3294 (sinh_test_upward): Likewise.
3295 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3296 (sqrt_test): Use ALL_RM_TEST.
3297 (sqrt_tonearest_test_data): Remove.
3298 (sqrt_test_tonearest): Likewise.
3299 (sqrt_towardzero_test_data): Likewise.
3300 (sqrt_test_towardzero): Likewise.
3301 (sqrt_downward_test_data): Likewise.
3302 (sqrt_test_downward): Likewise.
3303 (sqrt_upward_test_data): Likewise.
3304 (sqrt_test_upward): Likewise.
3305 (tan_test_data): Update call to AUTO_TESTS_f_f.
3306 (tan_test): Use ALL_RM_TEST.
3307 (tan_tonearest_test_data): Remove.
3308 (tan_test_tonearest): Likewise.
3309 (tan_towardzero_test_data): Likewise.
3310 (tan_test_towardzero): Likewise.
3311 (tan_downward_test_data): Likewise.
3312 (tan_test_downward): Likewise.
3313 (tan_upward_test_data): Likewise.
3314 (tan_test_upward): Likewise.
3315 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3316 (tgamma_test_data): Likewise.
3317 (y0_test_data): Likewise.
3318 (y1_test_data): Likewise.
3319 (yn_test_data): Update call to AUTO_TESTS_if_f.
3320 (main): Do not call removed functions.
3322 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3324 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3325 (ldexp_test_data): Remove.
3326 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3328 (scalb_test): Use ALL_RM_TEST.
3330 2014-03-19 Andreas Schwab <schwab@suse.de>
3332 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3334 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3337 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3338 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3339 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3340 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3341 (__ASSUME_PREADV): Undefine.
3342 (__ASSUME_PWRITEV): Likewise.
3344 2014-03-18 Roland McGrath <roland@hack.frob.com>
3346 * bits/mman-linux.h: Add comment about non-Linux use.
3347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3348 bits/mman-linux.h resting place.
3350 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3351 * bits/mman-linux.h: ... here.
3353 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3355 * conform/conformtest.pl: Add standard definition when calling C
3356 preprocessor on data files.
3357 (checknamespace): Remove unused variable.
3359 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3361 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3362 minus_oflow, plus_uflow and minus_uflow in expected results.
3363 * math/libm-test.inc (scalbn_test_data): Add more tests of
3364 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3366 (scalbn_test): Use ALL_RM_TEST.
3367 (scalbln_test_data): Add more tests of negative arguments. Use
3368 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3369 (scalbln_test): Use ALL_RM_TEST.
3371 2014-03-18 Roland McGrath <roland@hack.frob.com>
3373 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3375 2014-03-18 Will Newton <will.newton@linaro.org>
3377 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3380 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3382 * Makerules [!subdir] (check-abi): Exit with error status if a
3385 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3387 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3388 for rint. Include results for all rounding modes.
3389 (nearbyint_test): Use ALL_RM_TEST.
3390 (rint_test_data): Include all tests used for nearbyint.
3392 2014-03-17 Will Newton <will.newton@linaro.org>
3394 * nptl/sysdeps/pthread/pthread.h: Revert previous
3397 * sysdeps/generic/ldsodefs.h: Revert previous
3400 * libio/genops.c: Revert previous change.
3401 * libio/libioP.h: Likewise.
3402 * stdio-common/vfprintf.c: Likewise.
3404 * sysdeps/generic/math_private.h: Revert previous
3407 * sysdeps/generic/math_private.h: Check whether
3408 HAVE_RM_CTX is defined with #ifdef rather
3411 * argp/argp-fmtstream.h: Check whether
3412 __STRICT_ANSI__ is defined with #ifdef rather
3414 * argp/argp.h: Likewise.
3416 * libio/genops.c: Check whether
3417 _IO_JUMPS_OFFSET is defined with #ifdef rather
3419 * libio/libioP.h: Likewise.
3420 * stdio-common/vfprintf.c: Likewise.
3422 * sysdeps/generic/ldsodefs.h: Check whether
3423 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3426 * nptl/sysdeps/pthread/pthread.h: Check
3427 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3430 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3432 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3434 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3438 * libio/fileops.c (_IO_file_open): Seek to end of file but
3439 don't cache the offset.
3440 (get_file_offset): Remove function.
3441 (do_ftell): Use cached offset when available.
3442 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3443 don't cache the offset.
3444 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3446 (do_one_test): Call it.
3447 (do_ftell_test): Fix up expected old offset for a+ mode.
3448 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3451 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3452 up test status with function return status.
3453 (do_write_test): Likewise.
3454 (do_append_test): Likewise.
3456 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3457 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3460 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3462 * math/gen-libm-test.pl (parse_args): Handle results specified for
3463 each rounding mode separately.
3464 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3465 tests and results from lrint_tonearest_test_data,
3466 lrint_towardzero_test_data, lrint_downward_test_data and
3467 lrint_upward_test_data.
3468 (lrint_test): Use ALL_RM_TEST.
3469 (lrint_tonearest_test_data): Remove.
3470 (lrint_test_tonearest): Likewise.
3471 (lrint_towardzero_test_data): Likewise.
3472 (lrint_test_towardzero): Likewise.
3473 (lrint_downward_test_data): Likewise.
3474 (lrint_test_downward): Likewise.
3475 (lrint_upward_test_data): Likewise.
3476 (lrint_test_upward): Likewise.
3477 (llrint_test_data): Merge in per-rounding-mode tests and results
3478 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3479 llrint_downward_test_data and llrint_upward_test_data.
3480 (llrint_test): Use ALL_RM_TEST.
3481 (llrint_tonearest_test_data): Remove.
3482 (llrint_test_tonearest): Likewise.
3483 (llrint_towardzero_test_data): Likewise.
3484 (llrint_test_towardzero): Likewise.
3485 (llrint_downward_test_data): Likewise.
3486 (llrint_test_downward): Likewise.
3487 (llrint_upward_test_data): Likewise.
3488 (llrint_test_upward): Likewise.
3489 (rint_test_data): Merge in per-rounding-mode tests and results
3490 from rint_tonearest_test_data, rint_towardzero_test_data,
3491 rint_downward_test_data and rint_upward_test_data. Add
3492 per-rounding-mode results for tests not in those arrays.
3493 (rint_test): Use ALL_RM_TEST.
3494 (rint_tonearest_test_data): Remove.
3495 (rint_test_tonearest): Likewise.
3496 (rint_towardzero_test_data): Likewise.
3497 (rint_test_towardzero): Likewise.
3498 (rint_downward_test_data): Likewise.
3499 (rint_test_downward): Likewise.
3500 (rint_upward_test_data): Likewise.
3501 (rint_test_upward): Likewise.
3502 (main): Don't call removed functions.
3504 2014-03-14 Roland McGrath <roland@hack.frob.com>
3506 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3507 "Compiled on ..." crapola. It is anti-useful.
3509 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3511 * scripts/evaluate-test.sh: Handle fourth argument to determine
3512 whether test run should stop on failure.
3513 * Makeconfig (stop-on-test-failure): New variable.
3514 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3515 $(stop-on-test-failure).
3516 * Makefile (tests): Give a summary of results from testing and
3517 exit with failure status if they include an ERROR or FAIL.
3519 * manual/install.texi (Configuring and compiling): Mention
3520 stop-on-test-failure=y.
3521 * INSTALL: Regenerated.
3523 2014-03-14 Roland McGrath <roland@hack.frob.com>
3525 * scripts/versionlist.awk: New file.
3526 * Makerules [$(build-shared) = yes]
3527 (postclean-generated): Add Versions.def, not Versions.def.v and
3529 ($(common-objpfx)Versions.def.v.i): Target removed.
3530 ($(common-objpfx)Versions.def): New target.
3531 ($(common-objpfx)Versions.all): Depend on that rather that
3532 $(common-objpfx)Versions.def.v.
3533 * Versions.def: File removed.
3535 * Makeconfig (+gccwarn): Add -Wundef.
3536 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3537 a dl-sysdep.h breaking its contract.
3538 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3539 * include/stackinfo.h: New file.
3540 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3541 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3542 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3543 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3544 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3545 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3546 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3547 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3548 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3549 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3550 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3551 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3552 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3553 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3554 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3556 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3559 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3561 * math/libm-test.inc (round_test_data): Add more tests.
3564 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3566 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3569 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3571 * math/libm-test.inc (ceil_test_data): Add more tests.
3573 * math/libm-test.inc (trunc_test_data): Add more tests related to
3576 2014-03-14 Roland McGrath <roland@hack.frob.com>
3578 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3579 with #if rather than #ifdef.
3580 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3582 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3584 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3585 first. Disable AVX-512 GCC support if assembler doesn't support
3587 * sysdeps/x86_64/configure: Regenerated.
3589 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3591 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3592 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3593 (__old_pthread_attr_setstack): Likewise.
3594 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3595 [!_STACK_GROWS_DOWN]: Likewise.
3597 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3599 * config.make.in (have-bash2): Delete.
3600 * configure.ac (libc_cv_have_bash2): Delete.
3601 * configure: Regenerate.
3602 * elf/Makefile (common-ldd-rewrite): Rename to ...
3603 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3604 (sh-ldd-rewrite): Delete.
3605 (bash-ldd-rewrite): Delete.
3606 (have-bash2): Delete checks.
3607 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3610 * config.make.in (have-ksh): Delete.
3612 * configure.ac (libc_cv_have_ksh): Delete.
3613 * configure: Regenerate.
3615 * elf/Makefile: Delete $(have-ksh) check.
3616 ($(objpfx)sotruss): Change KSH to BASH.
3617 * elf/sotruss.ksh: Rename to ...
3618 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3619 function style to match POSIX. Drop ksh vim mode setting.
3621 * manual/time.texi (Specifying the Time Zone with TZ): Change
3622 Tuesday to Thursday.
3624 * debug/tst-longjmp_chk2.c: Update header comment.
3625 (stackoverflow_handler): Add comment. Call assert on pass value.
3627 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3629 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3630 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3631 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3632 (La_x86_64_vector): Add zmm.
3633 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3634 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3635 ($(objpfx)tst-audit10): New target.
3636 ($(objpfx)tst-audit10.out): Likewise.
3637 (tst-audit10-ENV): New.
3638 (AVX512-CFLAGS): Likewise.
3639 (CFLAGS-tst-audit10.c): Likewise.
3640 (CFLAGS-tst-auditmod10a.c): Likewise.
3641 (CFLAGS-tst-auditmod10b.c): Likewise.
3642 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3643 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3644 * sysdeps/x86_64/configure: Regenerated.
3645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3646 AVX-512 zmm register support.
3647 (_dl_x86_64_save_sse): Likewise.
3648 (_dl_x86_64_restore_sse): Likewise.
3649 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3650 size vector registers.
3651 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3652 (ZMM_SIZE): Likewise.
3653 * sysdeps/x86_64/tst-audit10.c: New file.
3654 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3655 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3657 2014-03-13 Roland McGrath <roland@hack.frob.com>
3659 * configure.ac (HAVE_EHDR_START): New check.
3660 * configure: Regenerated.
3661 * config.h.in (HAVE_EHDR_START): New #undef.
3662 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3663 assuming the lowest-addressed segment maps the start of the file.
3665 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3667 * INSTALL: Regenerated.
3669 2014-03-13 Will Newton <will.newton@linaro.org>
3671 * manual/setjmp.texi (System V contexts): Improve
3672 clarity and grammar of documentation.
3674 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3677 * elf/Makefile (tests): Add tst-pie2.
3678 (tests-pie): Add tst-pie2.
3679 * elf/tst-pie2.c: New file.
3680 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3682 * elf/rtld.c (map_doit): Load executable as lt_executable.
3683 (dl_main): Likewise.
3685 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3688 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3689 (__ASSUME_PSELECT): Undefine.
3691 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3694 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3695 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3697 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3698 selector for static builds.
3700 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3703 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3706 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3708 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3709 IFUNC selector for static builds.
3711 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3713 * sysdeps/mips/math_private.h [__mips_hard_float]
3714 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3715 libc_feresetround_mips_ctx.
3716 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3717 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3718 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3721 * math/s_nextafter.c (__nextafter): Do not return value from
3722 overflowing computation.
3723 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3724 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3725 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3727 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3729 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3730 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3732 2014-03-11 Roland McGrath <roland@hack.frob.com>
3734 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3735 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3736 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3737 the new mov targetting sp.
3739 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3742 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3743 Define it for static builds as well.
3744 (NO_BZERO_IMPL): Likewise.
3746 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3748 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3749 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3750 multiarch strspn for PPC64.
3751 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3752 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3754 (__libc_ifunc_impl_list): Likewise.
3755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3756 multiarch optimizations
3757 * string/strspn.c (strspn): Using macro to redefine symbol name.
3759 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3760 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3762 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3763 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3764 multiarch strncat for PPC64.
3765 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3766 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3768 (__libc_ifunc_impl_list): Likewise.
3769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3770 multiarch optimizations
3772 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3775 * nscd/nscd.service: Make service type forking.
3777 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3779 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3780 sign in non default rounding modes.
3781 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3783 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3785 * math/libm-test.inc (ALL_RM_TEST): New macro.
3786 (ceil_test): Use ALL_RM_TEST.
3787 (cimag_test): Likewise.
3788 (conj_test): Likewise.
3789 (copysign_test): Likewise.
3790 (cproj_test): Likewise.
3791 (creal_test): Likewise.
3792 (fabs_test): Likewise.
3793 (floor_test): Likewise.
3794 (fmax_test): Likewise.
3795 (fmin_test): Likewise.
3796 (fmod_test): Likewise.
3797 (fpclassify_test): Likewise.
3798 (frexp_test): Likewise.
3799 (ilogb_test): Likewise.
3800 (isfinite_test): Likewise.
3801 (finite_test): Likewise.
3802 (isgreater_test): Likewise.
3803 (isgreaterequal_test): Likewise.
3804 (isinf_test): Likewise.
3805 (isless_test): Likewise.
3806 (islessequal_test): Likewise.
3807 (islessgreater_test): Likewise.
3808 (isnan_test): Likewise.
3809 (isnormal_test): Likewise.
3810 (issignaling_test): Likewise.
3811 (isunordered_test): Likewise.
3812 (logb_test): Likewise.
3813 (logb_downward_test_data): Remove.
3814 (logb_test_downward): Likewise.
3815 (lround_test): Use ALL_RM_TEST.
3816 (llround_test): Likewise.
3817 (modf_test): Likewise.
3818 (nexttoward_test): Likewise.
3819 (remainder_test): Likewise.
3820 (drem_test): Likewise.
3821 (remainder_tonearest_test_data): Likewise.
3822 (remainder_test_tonearest): Likewise.
3823 (drem_test_tonearest): Likewise.
3824 (remainder_towardzero_test_data): Likewise.
3825 (remainder_test_towardzero): Likewise.
3826 (drem_test_towardzero): Likewise.
3827 (remainder_downward_test_data): Likewise.
3828 (remainder_test_downward): Likewise.
3829 (drem_test_downward): Likewise.
3830 (remainder_upward_test_data): Likewise.
3831 (remainder_test_upward): Likewise.
3832 (drem_test_upward): Likewise.
3833 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3834 (round_test): Use ALL_RM_TEST.
3835 (signbit_test): Likewise.
3836 (trunc_test): Likewise.
3837 (significand_test): Likewise.
3838 (main): Don't call removed functions.
3840 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3843 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3845 (ILL_ILLOPN): Likewise.
3846 (ILL_ILLADR): Likewise.
3847 (ILL_ILLTRP): Likewise.
3848 (ILL_PRVOPC): Likewise.
3849 (ILL_PRVREG): Likewise.
3850 (ILL_COPROC): Likewise.
3851 (ILL_BADSTK): Likewise.
3852 (FPE_INTDIV): Likewise.
3853 (FPE_INTOVF): Likewise.
3854 (FPE_FLTDIV): Likewise.
3855 (FPE_FLTOVF): Likewise.
3856 (FPE_FLTUND): Likewise.
3857 (FPE_FLTRES): Likewise.
3858 (FPE_FLTINV): Likewise.
3859 (FPE_FLTSUB): Likewise.
3860 (SEGV_MAPERR): Likewise.
3861 (SEGV_ACCERR): Likewise.
3862 (BUS_ADRALN): Likewise.
3863 (BUS_ADRERR): Likewise.
3864 (BUS_OBJERR): Likewise.
3865 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3866 (TRAP_TRACE): Likewise.
3867 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3869 (CLD_KILLED): Likewise.
3870 (CLD_DUMPED): Likewise.
3871 (CLD_TRAPPED): Likewise.
3872 (CLD_STOPPED): Likewise.
3873 (CLD_CONTINUED): Likewise.
3874 (POLL_IN): Likewise.
3875 (POLL_OUT): Likewise.
3876 (POLL_MSG): Likewise.
3877 (POLL_ERR): Likewise.
3878 (POLL_PRI): Likewise.
3879 (POLL_HUP): Likewise.
3880 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3882 (ILL_ILLOPN): Likewise.
3883 (ILL_ILLADR): Likewise.
3884 (ILL_ILLTRP): Likewise.
3885 (ILL_PRVOPC): Likewise.
3886 (ILL_PRVREG): Likewise.
3887 (ILL_COPROC): Likewise.
3888 (ILL_BADSTK): Likewise.
3889 (FPE_INTDIV): Likewise.
3890 (FPE_INTOVF): Likewise.
3891 (FPE_FLTDIV): Likewise.
3892 (FPE_FLTOVF): Likewise.
3893 (FPE_FLTUND): Likewise.
3894 (FPE_FLTRES): Likewise.
3895 (FPE_FLTINV): Likewise.
3896 (FPE_FLTSUB): Likewise.
3897 (SEGV_MAPERR): Likewise.
3898 (SEGV_ACCERR): Likewise.
3899 (BUS_ADRALN): Likewise.
3900 (BUS_ADRERR): Likewise.
3901 (BUS_OBJERR): Likewise.
3902 (BUS_MCEERR_AR): Likewise.
3903 (BUS_MCEERR_AO): Likewise.
3904 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3905 (TRAP_TRACE): Likewise.
3906 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3908 (CLD_KILLED): Likewise.
3909 (CLD_DUMPED): Likewise.
3910 (CLD_TRAPPED): Likewise.
3911 (CLD_STOPPED): Likewise.
3912 (CLD_CONTINUED): Likewise.
3913 (POLL_IN): Likewise.
3914 (POLL_OUT): Likewise.
3915 (POLL_MSG): Likewise.
3916 (POLL_ERR): Likewise.
3917 (POLL_PRI): Likewise.
3918 (POLL_HUP): Likewise.
3919 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3920 (ILL_ILLOPN): Likewise.
3921 (ILL_ILLADR): Likewise.
3922 (ILL_ILLTRP): Likewise.
3923 (ILL_PRVOPC): Likewise.
3924 (ILL_PRVREG): Likewise.
3925 (ILL_COPROC): Likewise.
3926 (ILL_BADSTK): Likewise.
3927 (FPE_INTDIV): Likewise.
3928 (FPE_INTOVF): Likewise.
3929 (FPE_FLTDIV): Likewise.
3930 (FPE_FLTOVF): Likewise.
3931 (FPE_FLTUND): Likewise.
3932 (FPE_FLTRES): Likewise.
3933 (FPE_FLTINV): Likewise.
3934 (FPE_FLTSUB): Likewise.
3935 (SEGV_MAPERR): Likewise.
3936 (SEGV_ACCERR): Likewise.
3937 (BUS_ADRALN): Likewise.
3938 (BUS_ADRERR): Likewise.
3939 (BUS_OBJERR): Likewise.
3940 (BUS_MCEERR_AR): Likewise.
3941 (BUS_MCEERR_AO): Likewise.
3942 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3943 (TRAP_TRACE): Likewise.
3944 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3946 (CLD_KILLED): Likewise.
3947 (CLD_DUMPED): Likewise.
3948 (CLD_TRAPPED): Likewise.
3949 (CLD_STOPPED): Likewise.
3950 (CLD_CONTINUED): Likewise.
3951 (POLL_IN): Likewise.
3952 (POLL_OUT): Likewise.
3953 (POLL_MSG): Likewise.
3954 (POLL_ERR): Likewise.
3955 (POLL_PRI): Likewise.
3956 (POLL_HUP): Likewise.
3957 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3959 (ILL_ILLOPN): Likewise.
3960 (ILL_ILLADR): Likewise.
3961 (ILL_ILLTRP): Likewise.
3962 (ILL_PRVOPC): Likewise.
3963 (ILL_PRVREG): Likewise.
3964 (ILL_COPROC): Likewise.
3965 (ILL_BADSTK): Likewise.
3966 (ILL_BADIADDR): Likewise.
3967 (ILL_BREAK): Likewise.
3968 (FPE_INTDIV): Likewise.
3969 (FPE_INTOVF): Likewise.
3970 (FPE_FLTDIV): Likewise.
3971 (FPE_FLTOVF): Likewise.
3972 (FPE_FLTUND): Likewise.
3973 (FPE_FLTRES): Likewise.
3974 (FPE_FLTINV): Likewise.
3975 (FPE_FLTSUB): Likewise.
3976 (FPE_DECOVF): Likewise.
3977 (FPE_DECDIV): Likewise.
3978 (FPE_DECERR): Likewise.
3979 (FPE_INVASC): Likewise.
3980 (FPE_INVDEC): Likewise.
3981 (SEGV_MAPERR): Likewise.
3982 (SEGV_ACCERR): Likewise.
3983 (SEGV_PSTKOVF): Likewise.
3984 (BUS_ADRALN): Likewise.
3985 (BUS_ADRERR): Likewise.
3986 (BUS_OBJERR): Likewise.
3987 (BUS_MCEERR_AR): Likewise.
3988 (BUS_MCEERR_AO): Likewise.
3989 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3990 (TRAP_TRACE): Likewise.
3991 (TRAP_BRANCH): Likewise.
3992 (TRAP_HWBKPT): Likewise.
3993 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3995 (CLD_KILLED): Likewise.
3996 (CLD_DUMPED): Likewise.
3997 (CLD_TRAPPED): Likewise.
3998 (CLD_STOPPED): Likewise.
3999 (CLD_CONTINUED): Likewise.
4000 (POLL_IN): Likewise.
4001 (POLL_OUT): Likewise.
4002 (POLL_MSG): Likewise.
4003 (POLL_ERR): Likewise.
4004 (POLL_PRI): Likewise.
4005 (POLL_HUP): Likewise.
4006 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4007 (ILL_ILLOPN): Likewise.
4008 (ILL_ILLADR): Likewise.
4009 (ILL_ILLTRP): Likewise.
4010 (ILL_PRVOPC): Likewise.
4011 (ILL_PRVREG): Likewise.
4012 (ILL_COPROC): Likewise.
4013 (ILL_BADSTK): Likewise.
4014 (FPE_INTDIV): Likewise.
4015 (FPE_INTOVF): Likewise.
4016 (FPE_FLTDIV): Likewise.
4017 (FPE_FLTOVF): Likewise.
4018 (FPE_FLTUND): Likewise.
4019 (FPE_FLTRES): Likewise.
4020 (FPE_FLTINV): Likewise.
4021 (FPE_FLTSUB): Likewise.
4022 (SEGV_MAPERR): Likewise.
4023 (SEGV_ACCERR): Likewise.
4024 (BUS_ADRALN): Likewise.
4025 (BUS_ADRERR): Likewise.
4026 (BUS_OBJERR): Likewise.
4027 (BUS_MCEERR_AR): Likewise.
4028 (BUS_MCEERR_AO): Likewise.
4029 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4030 (TRAP_TRACE): Likewise.
4031 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4033 (CLD_KILLED): Likewise.
4034 (CLD_DUMPED): Likewise.
4035 (CLD_TRAPPED): Likewise.
4036 (CLD_STOPPED): Likewise.
4037 (CLD_CONTINUED): Likewise.
4038 (POLL_IN): Likewise.
4039 (POLL_OUT): Likewise.
4040 (POLL_MSG): Likewise.
4041 (POLL_ERR): Likewise.
4042 (POLL_PRI): Likewise.
4043 (POLL_HUP): Likewise.
4044 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4045 (ILL_ILLOPN): Likewise.
4046 (ILL_ILLADR): Likewise.
4047 (ILL_ILLTRP): Likewise.
4048 (ILL_PRVOPC): Likewise.
4049 (ILL_PRVREG): Likewise.
4050 (ILL_COPROC): Likewise.
4051 (ILL_BADSTK): Likewise.
4052 (FPE_INTDIV): Likewise.
4053 (FPE_INTOVF): Likewise.
4054 (FPE_FLTDIV): Likewise.
4055 (FPE_FLTOVF): Likewise.
4056 (FPE_FLTUND): Likewise.
4057 (FPE_FLTRES): Likewise.
4058 (FPE_FLTINV): Likewise.
4059 (FPE_FLTSUB): Likewise.
4060 (SEGV_MAPERR): Likewise.
4061 (SEGV_ACCERR): Likewise.
4062 (BUS_ADRALN): Likewise.
4063 (BUS_ADRERR): Likewise.
4064 (BUS_OBJERR): Likewise.
4065 (BUS_MCEERR_AR): Likewise.
4066 (BUS_MCEERR_AO): Likewise.
4067 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4068 (TRAP_TRACE): Likewise.
4069 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4071 (CLD_KILLED): Likewise.
4072 (CLD_DUMPED): Likewise.
4073 (CLD_TRAPPED): Likewise.
4074 (CLD_STOPPED): Likewise.
4075 (CLD_CONTINUED): Likewise.
4076 (POLL_IN): Likewise.
4077 (POLL_OUT): Likewise.
4078 (POLL_MSG): Likewise.
4079 (POLL_ERR): Likewise.
4080 (POLL_PRI): Likewise.
4081 (POLL_HUP): Likewise.
4082 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4083 (ILL_ILLOPN): Likewise.
4084 (ILL_ILLADR): Likewise.
4085 (ILL_ILLTRP): Likewise.
4086 (ILL_PRVOPC): Likewise.
4087 (ILL_PRVREG): Likewise.
4088 (ILL_COPROC): Likewise.
4089 (ILL_BADSTK): Likewise.
4090 (FPE_INTDIV): Likewise.
4091 (FPE_INTOVF): Likewise.
4092 (FPE_FLTDIV): Likewise.
4093 (FPE_FLTOVF): Likewise.
4094 (FPE_FLTUND): Likewise.
4095 (FPE_FLTRES): Likewise.
4096 (FPE_FLTINV): Likewise.
4097 (FPE_FLTSUB): Likewise.
4098 (SEGV_MAPERR): Likewise.
4099 (SEGV_ACCERR): Likewise.
4100 (BUS_ADRALN): Likewise.
4101 (BUS_ADRERR): Likewise.
4102 (BUS_OBJERR): Likewise.
4103 (BUS_MCEERR_AR): Likewise.
4104 (BUS_MCEERR_AO): Likewise.
4105 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4106 (TRAP_TRACE): Likewise.
4107 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4109 (CLD_KILLED): Likewise.
4110 (CLD_DUMPED): Likewise.
4111 (CLD_TRAPPED): Likewise.
4112 (CLD_STOPPED): Likewise.
4113 (CLD_CONTINUED): Likewise.
4114 (POLL_IN): Likewise.
4115 (POLL_OUT): Likewise.
4116 (POLL_MSG): Likewise.
4117 (POLL_ERR): Likewise.
4118 (POLL_PRI): Likewise.
4119 (POLL_HUP): Likewise.
4120 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4121 (ILL_ILLOPN): Likewise.
4122 (ILL_ILLADR): Likewise.
4123 (ILL_ILLTRP): Likewise.
4124 (ILL_PRVOPC): Likewise.
4125 (ILL_PRVREG): Likewise.
4126 (ILL_COPROC): Likewise.
4127 (ILL_BADSTK): Likewise.
4128 (ILL_DBLFLT): Likewise.
4129 (ILL_HARDWALL): Likewise.
4130 (FPE_INTDIV): Likewise.
4131 (FPE_INTOVF): Likewise.
4132 (FPE_FLTDIV): Likewise.
4133 (FPE_FLTOVF): Likewise.
4134 (FPE_FLTUND): Likewise.
4135 (FPE_FLTRES): Likewise.
4136 (FPE_FLTINV): Likewise.
4137 (FPE_FLTSUB): Likewise.
4138 (SEGV_MAPERR): Likewise.
4139 (SEGV_ACCERR): Likewise.
4140 (BUS_ADRALN): Likewise.
4141 (BUS_ADRERR): Likewise.
4142 (BUS_OBJERR): Likewise.
4143 (BUS_MCEERR_AR): Likewise.
4144 (BUS_MCEERR_AO): Likewise.
4145 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4146 (TRAP_TRACE): Likewise.
4147 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4149 (CLD_KILLED): Likewise.
4150 (CLD_DUMPED): Likewise.
4151 (CLD_TRAPPED): Likewise.
4152 (CLD_STOPPED): Likewise.
4153 (CLD_CONTINUED): Likewise.
4154 (POLL_IN): Likewise.
4155 (POLL_OUT): Likewise.
4156 (POLL_MSG): Likewise.
4157 (POLL_ERR): Likewise.
4158 (POLL_PRI): Likewise.
4159 (POLL_HUP): Likewise.
4160 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4161 (ILL_ILLOPN): Likewise.
4162 (ILL_ILLADR): Likewise.
4163 (ILL_ILLTRP): Likewise.
4164 (ILL_PRVOPC): Likewise.
4165 (ILL_PRVREG): Likewise.
4166 (ILL_COPROC): Likewise.
4167 (ILL_BADSTK): Likewise.
4168 (FPE_INTDIV): Likewise.
4169 (FPE_INTOVF): Likewise.
4170 (FPE_FLTDIV): Likewise.
4171 (FPE_FLTOVF): Likewise.
4172 (FPE_FLTUND): Likewise.
4173 (FPE_FLTRES): Likewise.
4174 (FPE_FLTINV): Likewise.
4175 (FPE_FLTSUB): Likewise.
4176 (SEGV_MAPERR): Likewise.
4177 (SEGV_ACCERR): Likewise.
4178 (BUS_ADRALN): Likewise.
4179 (BUS_ADRERR): Likewise.
4180 (BUS_OBJERR): Likewise.
4181 (BUS_MCEERR_AR): Likewise.
4182 (BUS_MCEERR_AO): Likewise.
4183 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4184 (TRAP_TRACE): Likewise.
4185 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4187 (CLD_KILLED): Likewise.
4188 (CLD_DUMPED): Likewise.
4189 (CLD_TRAPPED): Likewise.
4190 (CLD_STOPPED): Likewise.
4191 (CLD_CONTINUED): Likewise.
4192 (POLL_IN): Likewise.
4193 (POLL_OUT): Likewise.
4194 (POLL_MSG): Likewise.
4195 (POLL_ERR): Likewise.
4196 (POLL_PRI): Likewise.
4197 (POLL_HUP): Likewise.
4198 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4199 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4202 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4203 before #include of <time.h>.
4204 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4205 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4206 (test-xfail-UNIX98/sched.h/conform): Likewise.
4208 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4210 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4211 error absence of trapping exception support.
4212 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4214 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4216 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4217 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4218 * timezone/Makefile (testdata): Move definition above include of
4220 (test-zones): New variable.
4221 (tests-special): Add zone files.
4222 (build-testdata): Use $(evaluate-test).
4224 * elf/Makefile (tests-special): Rename tests to end with .out.
4225 ($(objpfx)noload-mem): Likewise.
4226 ($(objpfx)tst-leaks1-mem): Likewise.
4227 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4228 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4229 $(objpfx)test-iconvconfig.out.
4230 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4231 set -e inside subshell and redirect output to file.
4232 * iconvdata/Makefile (generated): Rename tests to end with .out.
4234 (tests-special): Rename tests to end with .out.
4235 ($(objpfx)mtrace-tst-loading): Likewise.
4236 * intl/Makefile (generated): Likewise.
4237 (tests-special): Likewise.
4238 ($(objpfx)mtrace-tst-gettext): Likewise.
4239 * misc/Makefile (generated): Likewise.
4240 (tests-special): Likewise.
4241 ($(objpfx)tst-error1-mem): Likewise.
4242 * nptl/Makefile (tests-special): Likewise.
4243 ($(objpfx)tst-stack3-mem): Likewise.
4244 (generated): Likewise.
4245 * posix/Makefile (generated): Likewise.
4246 (tests-special): Likewise.
4247 (xtests-special): Likewise.
4248 ($(objpfx)tst-fnmatch-mem): Likewise.
4249 ($(objpfx)bug-regex2-mem): Likewise.
4250 ($(objpfx)bug-regex14-mem): Likewise.
4251 ($(objpfx)bug-regex21-mem): Likewise.
4252 ($(objpfx)bug-regex31-mem): Likewise.
4253 ($(objpfx)tst-vfork3-mem): Likewise.
4254 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4255 ($(objpfx)tst-pcre-mem): Likewise.
4256 ($(objpfx)tst-boost-mem): Likewise.
4257 ($(objpfx)bug-ga2-mem): Likewise.
4258 ($(objpfx)bug-glob2-mem): Likewise.
4259 * resolv/Makefile (generate): Likewise.
4260 (tests-special): Likewise.
4261 (xtests-special): Likewise.
4262 (generated): Likewise.
4263 ($(objpfx)mtrace-tst-leaks): Likewise.
4264 ($(objpfx)mtrace-tst-leaks2): Likewise.
4266 * scripts/merge-test-results.sh: New file.
4267 * Makefile (tests-special-notdir): New variable.
4268 (tests): Run merge-test-results.sh.
4270 * Rules (tests-special-notdir): New variable.
4271 (xtests-special-notdir): Likewise.
4272 (tests): Run merge-test-results.sh
4275 * Makeconfig (test-xfail-name): New variable.
4276 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4277 compute variable name for expected failures.
4278 * conform/Makefile (conformtest-headers-data): New variable.
4279 (conformtest-standards): Likewise.
4280 (conformtest-headers-ISO): Likewise.
4281 (conformtest-headers-ISO99): Likewise.
4282 (conformtest-headers-ISO11): Likewise.
4283 (conformtest-headers-POSIX): Likewise.
4284 (conformtest-headers-XPG3): Likewise.
4285 (conformtest-headers-XPG4): Likewise.
4286 (conformtest-headers-UNIX98): Likewise.
4287 (conformtest-headers-XOPEN2K): Likewise.
4288 (conformtest-headers-POSIX2008): Likewise.
4289 (conformtest-headers-XOPEN2K8): Likewise.
4290 (conformtest-header-list-base): Likewise.
4291 (conformtest-header-list-tests): Likewise.
4292 (conformtest-header-base): Likewise.
4293 (conformtest-header-tests): Likewise.
4294 (tests-special): Add $(conformtest-header-list-tests). If
4295 [$(fast-check) && !$(cross-compiling)], add
4296 $(conformtest-header-tests) instead of
4297 $(objpfx)run-conformtest.out.
4298 (generated): Add $(conformtest-header-list-base). If
4299 [$(fast-check) && !$(cross-compiling)], add
4300 $(conformtest-header-base). Remove previous setting.
4301 ($(conformtest-header-list-tests)): New target.
4302 (test-xfail-run-conformtest): Remove variable.
4303 ($(objpfx)run-conformtest.out): Remove target.
4304 (test-xfail-ISO11/complex.h/conform): New variable.
4305 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4306 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4307 (test-xfail-XPG3/varargs.h/conform): Likewise.
4308 (test-xfail-XPG4/varargs.h/conform): Likewise.
4309 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4310 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4311 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4312 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4313 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4314 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4315 (test-xfail-XPG3/ftw.h/conform): Likewise.
4316 (test-xfail-XPG3/grp.h/conform): Likewise.
4317 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4318 (test-xfail-XPG3/limits.h/conform): Likewise.
4319 (test-xfail-XPG3/pwd.h/conform): Likewise.
4320 (test-xfail-XPG3/search.h/conform): Likewise.
4321 (test-xfail-XPG3/signal.h/conform): Likewise.
4322 (test-xfail-XPG3/stdio.h/conform): Likewise.
4323 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4324 (test-xfail-XPG3/string.h/conform): Likewise.
4325 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4326 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4327 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4328 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4329 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4330 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4331 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4332 (test-xfail-XPG3/termios.h/conform): Likewise.
4333 (test-xfail-XPG3/time.h/conform): Likewise.
4334 (test-xfail-XPG3/unistd.h/conform): Likewise.
4335 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4336 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4337 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4338 (test-xfail-XPG4/netdb.h/conform): Likewise.
4339 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4340 (test-xfail-XPG4/signal.h/conform): Likewise.
4341 (test-xfail-XPG4/stdio.h/conform): Likewise.
4342 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4343 (test-xfail-XPG4/stropts.h/conform): Likewise.
4344 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4345 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4346 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4347 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4348 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4349 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4350 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4351 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4352 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4353 (test-xfail-XPG4/termios.h/conform): Likewise.
4354 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4355 (test-xfail-XPG4/unistd.h/conform): Likewise.
4356 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4357 (test-xfail-POSIX/sched.h/conform): Likewise.
4358 (test-xfail-POSIX/signal.h/conform): Likewise.
4359 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4360 (test-xfail-POSIX/tar.h/conform): Likewise.
4361 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4362 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4363 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4364 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4365 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4366 (test-xfail-UNIX98/sched.h/conform): Likewise.
4367 (test-xfail-UNIX98/signal.h/conform): Likewise.
4368 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4369 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4370 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4371 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4372 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4373 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4374 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4375 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4376 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4377 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4378 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4379 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4380 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4381 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4382 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4383 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4384 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4385 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4386 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4387 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4388 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4389 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4390 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4391 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4392 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4393 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4394 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4395 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4396 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4397 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4398 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4399 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4400 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4401 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4402 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4403 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4404 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4405 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4406 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4407 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4408 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4409 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4410 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4411 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4412 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4413 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4414 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4415 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4416 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4417 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4418 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4419 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4420 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4421 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4422 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4423 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4424 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4425 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4426 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4427 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4428 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4429 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4430 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4431 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4432 (conformtest-cc-flags): Likewise.
4433 ($(conformtest-header-tests): New target.
4434 * conform/check-header-lists.sh: New file.
4435 * conform/run-conformtest.sh: Remove.
4437 * conform/conformtest.pl: Allow ' and \ in values given for
4439 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4441 [POSIX] (sys/types.h): Likewise.
4442 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4444 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4446 * conform/data/signal.h-data (SIGIO): Remove expectation.
4447 [XPG3] (SIGBUS): Do not expect.
4448 [POSIX || XPG3] (SIGPOLL): Likewise.
4449 [POSIX || XPG3] (SIGPROF): Likewise.
4450 [POSIX || XPG3] (SIGSYS): Likewise.
4451 [XPG3] (SIGTRAP): Likewise.
4452 [POSIX || XPG3] (SIGURG): Likewise.
4453 [POSIX || XPG3] (SIGVTALRM): Likewise.
4454 [POSIX || XPG3] (SIGXCPU): Likewise.
4455 [POSIX || XPG3] (SIGXFSZ): Likewise.
4456 [POSIX] (SA_SIGINFO): Expect.
4457 [XPG3] (siginfo_t): Do not expect type or contents.
4458 [POSIX] (si_pid): Do not expect element.
4459 [POSIX] (si_uid): Likewise.
4460 [POSIX] (si_addr): Likewise.
4461 [POSIX] (si_status): Likewise.
4462 [POSIX] (si_band): Likewise.
4463 [XPG4] (si_value): Likewise.
4464 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4465 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4466 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4467 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4468 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4469 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4470 [POSIX || XPG3] (ILL_COPROC): Likewise.
4471 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4472 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4473 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4474 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4475 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4476 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4477 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4478 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4479 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4480 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4481 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4482 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4483 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4484 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4485 [POSIX || XPG3] (CLD_EXITED): Likewise.
4486 [POSIX || XPG3] (CLD_KILLED): Likewise.
4487 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4488 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4489 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4490 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4491 [POSIX || XPG3] (POLL_IN): Likewise.
4492 [POSIX || XPG3] (POLL_OUT): Likewise.
4493 [POSIX || XPG3] (POLL_MSG): Likewise.
4494 [POSIX || XPG3] (POLL_ERR): Likewise.
4495 [POSIX || XPG3] (POLL_PRI): Likewise.
4496 [POSIX || XPG3] (POLL_HUP): Likewise.
4497 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4498 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4499 (SIG*): Do not allow.
4500 [XPG3] (si_*): Likewise.
4501 [XPG3] (SI_*): Likewise.
4502 [XPG3 || XPG4] (sigev_*): Likewise.
4503 [XPG3 || XPG4] (SIGEV_*): Likewise.
4504 [XPG3 || XPG4] (sival_*): Likewise.
4505 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4506 [POSIX || XPG3] (BUS_*): Likewise.
4507 [POSIX || XPG3] (CLD_*): Likewise.
4508 [POSIX || XPG3] (FPE_*): Likewise.
4509 [POSIX || XPG3] (ILL_*): Likewise.
4510 [POSIX || XPG3] (POLL_*): Likewise.
4511 [POSIX || XPG3] (SEGV_*): Likewise.
4512 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4513 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4514 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4515 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4516 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4517 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4518 Specify type and value.
4519 (TVERSLEN): Likewise.
4520 (REGTYPE): Likewise.
4521 (AREGTYPE): Likewise.
4522 (LNKTYPE): Likewise.
4523 (SYMTYPE): Likewise.
4524 (CHRTYPE): Likewise.
4525 (BLKTYPE): Likewise.
4526 (DIRTYPE): Likewise.
4527 (FIFOTYPE): Likewise.
4528 (CONTTYPE): Likewise.
4533 (TUWRITE): Likewise.
4536 (TGWRITE): Likewise.
4539 (TOWRITE): Likewise.
4541 [POSIX] (TSVTX): Expect constant.
4543 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4545 * Makefile (tests): Change dependencies to ....
4546 (tests-special): ... additions to this variable.
4547 (tests): Depend on $(tests-special).
4548 * Makerules (check-abi-list): New variable.
4549 (check-abi): Depend on $(check-abi-list).
4550 [$(subdir) = elf] (tests-special): Add
4551 $(objpfx)check-abi-libc.out.
4552 [$(build-shared) = yes && subdir] (tests-special): Add
4554 [$(build-shared) = yes && subdir] (tests): Do not depend on
4556 * Rules (tests): Depend on $(tests-special).
4557 (xtests): Depend on $(xtests-special).
4558 * catgets/Makefile (tests): Change dependencies to ....
4559 (tests-special): ... additions to this variable.
4560 * conform/Makefile (tests): Change dependencies to ....
4561 (tests-special): ... additions to this variable.
4562 * elf/Makefile (tests): Change dependencies to ....
4563 (tests-special): ... additions to this variable.
4564 * grp/Makefile (tests): Change dependencies to ....
4565 (tests-special): ... additions to this variable.
4566 * iconv/Makefile (xtests): Change dependencies to ....
4567 (xtests-special): ... additions to this variable.
4568 * iconvdata/Makefile (tests): Change dependencies to ....
4569 (tests-special): ... additions to this variable.
4570 * intl/Makefile (tests): Change dependencies to ....
4571 (tests-special): ... additions to this variable. Also add
4572 $(objpfx)tst-gettext.out.
4573 * io/Makefile (tests): Change dependencies to ....
4574 (tests-special): ... additions to this variable.
4575 * libio/Makefile (tests): Change dependencies to ....
4576 (tests-special): ... additions to this variable.
4577 * malloc/Makefile (tests): Change dependencies to ....
4578 (tests-special): ... additions to this variable.
4579 * misc/Makefile (tests): Change dependencies to ....
4580 (tests-special): ... additions to this variable.
4581 * nptl/Makefile (tests): Change dependencies to ....
4582 (tests-special): ... additions to this variable.
4583 * nptl_db/Makefile (tests): Change dependencies to ....
4584 (tests-special): ... additions to this variable.
4585 * posix/Makefile (tests): Change dependencies to ....
4586 (tests-special): ... additions to this variable.
4587 (xtests): Change dependencies to ....
4588 (xtests-special): ... additions to this variable.
4589 * resolv/Makefile (tests): Change dependencies to ....
4590 (tests-special): ... additions to this variable.
4591 (xtests): Change dependencies to ....
4592 (xtests-special): ... additions to this variable.
4593 * stdio-common/Makefile (tests): Change dependencies to ....
4594 (tests-special): ... additions to this variable.
4595 (do-tst-unbputc): Remove target.
4596 (do-tst-printf): Likewise.
4597 * stdlib/Makefile (tests): Change dependencies to ....
4598 (tests-special): ... additions to this variable.
4599 * string/Makefile (tests): Change dependencies to ....
4600 (tests-special): ... additions to this variable.
4601 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4602 (tests-special): ... additions to this variable.
4604 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4606 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4608 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4609 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4611 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4612 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4613 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4614 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4615 * conform/data/libgen.h-data [XPG3]: Likewise.
4616 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4617 * conform/data/ndbm.h-data [XPG3]: Likewise.
4618 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4619 * conform/data/netdb.h-data [XPG3]: Likewise.
4620 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4621 * conform/data/poll.h-data [XPG3]: Likewise.
4622 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4623 * conform/data/strings.h-data [XPG3]: Likewise.
4624 * conform/data/stropts.h-data [XPG3]: Likewise.
4625 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4626 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4627 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4629 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4630 * conform/data/sys/time.h-data [XPG3]: Likewise.
4631 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4632 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4633 * conform/data/sys/un.h-data [XPG3]: Likewise.
4634 * conform/data/syslog.h-data [XPG3]: Likewise.
4635 * conform/data/ucontext.h-data [XPG3]: Likewise.
4636 * conform/data/utmpx.h-data [XPG3]: Likewise.
4637 * conform/data/varargs.h-data [UNIX98]: Enable file.
4639 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4641 * math/libm-test.inc (struct test_f_f_data): Move expected results
4642 into structure for each rounding mode.
4643 (struct test_ff_f_data): Likewise.
4644 (struct test_ff_f_data_nexttoward): Likewise.
4645 (struct test_fi_f_data): Likewise.
4646 (struct test_fl_f_data): Likewise.
4647 (struct test_if_f_data): Likewise.
4648 (struct test_fff_f_data): Likewise.
4649 (struct test_c_f_data): Likewise.
4650 (struct test_f_f1_data): Likewise.
4651 (struct test_fF_f1_data): Likewise.
4652 (struct test_ffI_f1_data): Likewise.
4653 (struct test_c_c_data): Likewise.
4654 (struct test_cc_c_data): Likewise.
4655 (struct test_f_i_data): Likewise.
4656 (struct test_ff_i_data): Likewise.
4657 (struct test_f_l_data): Likewise.
4658 (struct test_f_L_data): Likewise.
4659 (struct test_fFF_11_data): Likewise.
4661 (RM_FE_DOWNWARD): Likewise.
4662 (RM_FE_TONEAREST): Likewise.
4663 (RM_FE_TOWARDZERO): Likewise.
4664 (RM_FE_UPWARD): Likewise.
4665 (RUN_TEST_LOOP_f_f): Update references to expected results.
4666 (RUN_TEST_LOOP_2_f): Likewise.
4667 (RUN_TEST_LOOP_fff_f): Likewise.
4668 (RUN_TEST_LOOP_c_f): Likewise.
4669 (RUN_TEST_LOOP_f_f1): Likewise.
4670 (RUN_TEST_LOOP_fF_f1): Likewise.
4671 (RUN_TEST_LOOP_fI_f1): Likewise.
4672 (RUN_TEST_LOOP_ffI_f1): Likewise.
4673 (RUN_TEST_LOOP_c_c): Likewise.
4674 (RUN_TEST_LOOP_cc_c): Likewise.
4675 (RUN_TEST_LOOP_f_i): Likewise.
4676 (RUN_TEST_LOOP_f_i_tg): Likewise.
4677 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4678 (RUN_TEST_LOOP_f_b): Likewise.
4679 (RUN_TEST_LOOP_f_b_tg): Likewise.
4680 (RUN_TEST_LOOP_f_l): Likewise.
4681 (RUN_TEST_LOOP_f_L): Likewise.
4682 (RUN_TEST_LOOP_fFF_11): Likewise.
4683 * math/gen-libm-test.pl (parse_args): Output four copies of
4684 expected results for each test.
4686 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4687 (__ASSUME_UTIMES): Remove.
4688 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4689 (__ASSUME_UTIMES): Likewise.
4691 * math/gen-auto-libm-tests.c: Update comment on output format.
4692 (output_for_one_input_case): Generate before-rounding and
4693 after-rounding information as conditions on output flags not
4694 floating-point format.
4695 * math/auto-libm-test-out: Regenerated.
4696 * math/gen-libm-test.pl (cond_value): New function.
4697 (or_cond_value): Use cond_value.
4698 (generate_testfile): Handle conditional exceptions.
4700 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4702 * math/libm-test.inc (max_valid_error): New variable.
4703 (init_max_error): Take new argument specifying whether function
4704 results are exactly determined. Set max_valid_error and bound
4705 other variables for errors based on this argument.
4706 (set_max_error): Do not record results above max_valid_error.
4707 (check_float_internal): Only accept errors of up to 0.5ulps if
4708 also at most max_valid_error.
4709 (START): Take new argument EXACT and pass it to init_max_error.
4710 (acos_test): Update call to START.
4711 (acos_test_tonearest): Likewise.
4712 (acos_test_towardzero): Likewise.
4713 (acos_test_downward): Likewise.
4714 (acos_test_upward): Likewise.
4715 (acosh_test): Likewise.
4716 (asin_test): Likewise.
4717 (asin_test_tonearest): Likewise.
4718 (asin_test_towardzero): Likewise.
4719 (asin_test_downward): Likewise.
4720 (asin_test_upward): Likewise.
4721 (asinh_test): Likewise.
4722 (atan_test): Likewise.
4723 (atanh_test): Likewise.
4724 (atan2_test): Likewise.
4725 (cabs_test): Likewise.
4726 (cacos_test): Likewise.
4727 (cacosh_test): Likewise.
4728 (carg_test): Likewise.
4729 (casin_test): Likewise.
4730 (casinh_test): Likewise.
4731 (catan_test): Likewise.
4732 (catanh_test): Likewise.
4733 (cbrt_test): Likewise.
4734 (ccos_test): Likewise.
4735 (ccosh_test): Likewise.
4736 (ceil_test): Likewise.
4737 (cexp_test): Likewise.
4738 (cimag_test): Likewise.
4739 (clog_test): Likewise.
4740 (clog10_test): Likewise.
4741 (conj_test): Likewise.
4742 (copysign_test): Likewise.
4743 (cos_test): Likewise.
4744 (cos_test_tonearest): Likewise.
4745 (cos_test_towardzero): Likewise.
4746 (cos_test_downward): Likewise.
4747 (cos_test_upward): Likewise.
4748 (cosh_test): Likewise.
4749 (cosh_test_tonearest): Likewise.
4750 (cosh_test_towardzero): Likewise.
4751 (cosh_test_downward): Likewise.
4752 (cosh_test_upward): Likewise.
4753 (cpow_test): Likewise.
4754 (cproj_test): Likewise.
4755 (creal_test): Likewise.
4756 (csin_test): Likewise.
4757 (csinh_test): Likewise.
4758 (csqrt_test): Likewise.
4759 (ctan_test): Likewise.
4760 (ctan_test_tonearest): Likewise.
4761 (ctan_test_towardzero): Likewise.
4762 (ctan_test_downward): Likewise.
4763 (ctan_test_upward): Likewise.
4764 (ctanh_test): Likewise.
4765 (ctanh_test_tonearest): Likewise.
4766 (ctanh_test_towardzero): Likewise.
4767 (ctanh_test_downward): Likewise.
4768 (ctanh_test_upward): Likewise.
4769 (erf_test): Likewise.
4770 (erfc_test): Likewise.
4771 (exp_test): Likewise.
4772 (exp_test_tonearest): Likewise.
4773 (exp_test_towardzero): Likewise.
4774 (exp_test_downward): Likewise.
4775 (exp_test_upward): Likewise.
4776 (exp10_test): Likewise.
4777 (exp10_test_tonearest): Likewise.
4778 (exp10_test_towardzero): Likewise.
4779 (exp10_test_downward): Likewise.
4780 (exp10_test_upward): Likewise.
4781 (pow10_test): Likewise.
4782 (exp2_test): Likewise.
4783 (expm1_test): Likewise.
4784 (expm1_test_tonearest): Likewise.
4785 (expm1_test_towardzero): Likewise.
4786 (expm1_test_downward): Likewise.
4787 (expm1_test_upward): Likewise.
4788 (fabs_test): Likewise.
4789 (fdim_test): Likewise.
4790 (floor_test): Likewise.
4791 (fma_test): Likewise.
4792 (fma_test_towardzero): Likewise.
4793 (fma_test_downward): Likewise.
4794 (fma_test_upward): Likewise.
4795 (fmax_test): Likewise.
4796 (fmin_test): Likewise.
4797 (fmod_test): Likewise.
4798 (fpclassify_test): Likewise.
4799 (frexp_test): Likewise.
4800 (hypot_test): Likewise.
4801 (ilogb_test): Likewise.
4802 (isfinite_test): Likewise.
4803 (finite_test): Likewise.
4804 (isgreater_test): Likewise.
4805 (isgreaterequal_test): Likewise.
4806 (isinf_test): Likewise.
4807 (isless_test): Likewise.
4808 (islessequal_test): Likewise.
4809 (islessgreater_test): Likewise.
4810 (isnan_test): Likewise.
4811 (isnormal_test): Likewise.
4812 (issignaling_test): Likewise.
4813 (isunordered_test): Likewise.
4814 (j0_test): Likewise.
4815 (j1_test): Likewise.
4816 (jn_test): Likewise.
4817 (ldexp_test): Likewise.
4818 (lgamma_test): Likewise.
4819 (gamma_test): Likewise.
4820 (lrint_test): Likewise.
4821 (lrint_test_tonearest): Likewise.
4822 (lrint_test_towardzero): Likewise.
4823 (lrint_test_downward): Likewise.
4824 (lrint_test_upward): Likewise.
4825 (llrint_test): Likewise.
4826 (llrint_test_tonearest): Likewise.
4827 (llrint_test_towardzero): Likewise.
4828 (llrint_test_downward): Likewise.
4829 (llrint_test_upward): Likewise.
4830 (log_test): Likewise.
4831 (log10_test): Likewise.
4832 (log1p_test): Likewise.
4833 (log2_test): Likewise.
4834 (logb_test): Likewise.
4835 (logb_test_downward): Likewise.
4836 (lround_test): Likewise.
4837 (llround_test): Likewise.
4838 (modf_test): Likewise.
4839 (nearbyint_test): Likewise.
4840 (nextafter_test): Likewise.
4841 (nexttoward_test): Likewise.
4842 (pow_test): Likewise.
4843 (pow_test_tonearest): Likewise.
4844 (pow_test_towardzero): Likewise.
4845 (pow_test_downward): Likewise.
4846 (pow_test_upward): Likewise.
4847 (remainder_test): Likewise.
4848 (drem_test): Likewise.
4849 (remainder_test_tonearest): Likewise.
4850 (drem_test_tonearest): Likewise.
4851 (remainder_test_towardzero): Likewise.
4852 (drem_test_towardzero): Likewise.
4853 (remainder_test_downward): Likewise.
4854 (drem_test_downward): Likewise.
4855 (remainder_test_upward): Likewise.
4856 (drem_test_upward): Likewise.
4857 (remquo_test): Likewise.
4858 (rint_test): Likewise.
4859 (rint_test_tonearest): Likewise.
4860 (rint_test_towardzero): Likewise.
4861 (rint_test_downward): Likewise.
4862 (rint_test_upward): Likewise.
4863 (round_test): Likewise.
4864 (scalb_test): Likewise.
4865 (scalbn_test): Likewise.
4866 (scalbln_test): Likewise.
4867 (signbit_test): Likewise.
4868 (sin_test): Likewise.
4869 (sin_test_tonearest): Likewise.
4870 (sin_test_towardzero): Likewise.
4871 (sin_test_downward): Likewise.
4872 (sin_test_upward): Likewise.
4873 (sincos_test): Likewise.
4874 (sinh_test): Likewise.
4875 (sinh_test_tonearest): Likewise.
4876 (sinh_test_towardzero): Likewise.
4877 (sinh_test_downward): Likewise.
4878 (sinh_test_upward): Likewise.
4879 (sqrt_test): Likewise.
4880 (sqrt_test_tonearest): Likewise.
4881 (sqrt_test_towardzero): Likewise.
4882 (sqrt_test_downward): Likewise.
4883 (sqrt_test_upward): Likewise.
4884 (tan_test): Likewise.
4885 (tan_test_tonearest): Likewise.
4886 (tan_test_towardzero): Likewise.
4887 (tan_test_downward): Likewise.
4888 (tan_test_upward): Likewise.
4889 (tanh_test): Likewise.
4890 (tgamma_test): Likewise.
4891 (trunc_test): Likewise.
4892 (y0_test): Likewise.
4893 (y1_test): Likewise.
4894 (yn_test): Likewise.
4895 (significand_test): Likewise.
4897 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4898 individual tests in comment.
4899 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4900 (prev_max_error): New variable.
4901 (prev_real_max_error): Likewise.
4902 (prev_imag_max_error): Likewise.
4903 (compare_ulp_data): Don't refer to test names in comment.
4904 (find_test_ulps): Remove function.
4905 (find_function_ulps): Likewise.
4906 (find_complex_function_ulps): Likewise.
4907 (init_max_error): Take function name as argument. Look up ulps
4909 (print_ulps): Remove function.
4910 (print_max_error): Use prev_max_error instead of calling
4912 (print_complex_max_error): Use prev_real_max_error and
4913 prev_imag_max_error instead of calling find_complex_function_ulps.
4914 (check_float_internal): Take max_ulp parameter instead of calling
4915 find_test_ulps. Don't call print_ulps.
4916 (check_float): Update call to check_float_internal.
4917 (check_complex): Update calls to check_float_internal.
4918 (START): Pass argument to init_max_error.
4919 * math/gen-libm-test.pl (%results): Don't include "kind"
4921 (parse_ulps): Don't handle ulps of individual tests.
4922 (print_ulps_file): Likewise.
4923 (output_ulps): Likewise.
4924 * math/README.libm-test: Update.
4925 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4927 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4928 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4929 * sysdeps/arm/libm-test-ulps: Likewise.
4930 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4931 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4932 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4933 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4934 * sysdeps/microblaze/libm-test-ulps: Likewise.
4935 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4936 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4937 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4938 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4939 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4940 * sysdeps/sh/libm-test-ulps: Likewise.
4941 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4942 * sysdeps/tile/libm-test-ulps: Likewise.
4943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4945 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4947 * math/libm-test.inc (print_complex_max_error): Check separately
4948 whether real and imaginary errors are within allowed range and
4949 pass 0 to print_complex_function_ulps instead of value within
4952 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4954 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4956 (get_handles_fopen): Likewise.
4957 (do_write_test): Likewise.
4959 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4961 * libio/fileops.c (do_ftell): Use cached offset when
4963 * libio/iofwide.c (do_ftell_wide): Likewise.
4964 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4966 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4969 * libio/libioP.h (get_file_offset): New function.
4970 * libio/fileops.c (get_file_offset): Likewise.
4971 (do_ftell): Likewise.
4972 (_IO_new_file_seekoff): Split out ftell logic.
4973 * libio/wfileops.c (do_ftell_wide): Likewise.
4974 (_IO_wfile_seekoff): Split out ftell logic.
4975 * libio/tst-ftell-active-handler.c: New test case.
4976 * libio/Makefile (tests): Add it.
4978 2014-03-03 Roland McGrath <roland@hack.frob.com>
4980 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4981 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4983 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4986 * nscd/connections.c (nscd_init): Call do_exit.
4987 (start_threads): Call do_exit and notify_parent.
4988 (begin_drop_privileges): Call do_exit.
4989 (finish_drop_privileges): Likewise.
4990 * nscd/selinux.c (preserve_capabilities): Likewise.
4991 (install_real_capabilities): Likewise.
4992 (nscd_selinux_enabled): Likewise.
4993 (avc_create_thread): Likewise.
4994 (avc_alloc_lock): Likewise.
4995 (nscd_avc_init): Likewise.
4996 * nscd/nscd.c (parent_fd): New static variable.
4997 (main): Create a pipe between parent and child processes.
4998 Skip closing parent_fd.
4999 (monitor_child): New function.
5000 (do_exit): Likewise.
5001 (notify_parent): Likewise.
5002 * nscd/nscd.h (notify_parent): Likewise.
5003 (do_exit): Likewise.
5005 2014-03-03 Carlos O'Donell <carlos@redhat.com>
5007 * malloc/malloc.c (__libc_calloc): Revert last change.
5009 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5013 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5015 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5019 (__libc_ifunc_impl_list): Likewise.
5020 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5021 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5022 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5023 * string/strrchr.c: Define STRRCHR.
5025 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
5027 * benchtest/bench-strtok.c (simple_strtok): Delete.
5028 (strtok_string): Use as benchmark.
5029 * string/strtok (STRTOK): New macro.
5031 2014-02-28 Carlos O'Donell <carlos@redhat.com>
5033 * manual/threads.texi: Add header and standard comments to all
5036 * elf/dl-lookup.c (check_match): New function.
5037 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5038 (do_lookup_x): Remove nested function check_match. Use non-nested
5039 function check_match.
5041 2014-02-28 Roland McGrath <roland@hack.frob.com>
5043 * csu/Makefile (generated, before-compile): Use += rather than =.
5044 * catgets/Makefile (generated, generated-dirs): Likewise.
5045 * debug/Makefile (generated): Likewise.
5046 * dlfcn/Makefile (generated): Likewise.
5047 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5048 * iconvdata/Makefile (before-compile, generated): Likewise.
5049 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5050 * libio/Makefile (generated): Likewise.
5051 * malloc/Makefile (generated): Likewise.
5052 * manual/Makefile (generated, generated-dirs): Likewise.
5053 * misc/Makefile (generated): Likewise.
5054 * posix/Makefile (generated): Likewise.
5055 * resolv/Makefile (generated): Likewise.
5056 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5057 * timezone/Makefile (generated, generated-dirs): Likewise.
5059 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5061 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5064 power8 implementation.
5065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5066 file: POWER8 llround ifunc implementation.
5067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5068 (__lllround): Add POWER8 implementation.
5069 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5070 POWER8 llround implementation.
5072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5073 power8 implementation.
5074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5075 file: POWER8 llrint ifunc implementation.
5076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5077 Add POWER8 implementation.
5078 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5079 POWER8 llrint implementation.
5081 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5082 power8 implementation.
5083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5084 file: POWER8 finite ifunc implementation.
5085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5086 Add POWER8 implementation.
5087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5089 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5090 POWER8 finite implementation.
5091 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5094 power8 implementation.
5095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5096 file: POWER8 isinf ifunc implementation.
5097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5098 POWER8 implementation.
5099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5101 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5102 isinf implementation.
5103 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5105 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5106 (INIT_ARCH): Add hwcap2 initialization.
5107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5108 power8 implementation.
5109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5110 file: POWER8 isnan ifunc implementation.
5111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5112 POWER8 implementation.
5113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5115 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5116 isnan implementation.
5117 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5119 2014-02-27 Joey Ye <joey.ye@arm.com>
5121 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5122 (_FP_NANFRAC_Q): Set to zero.
5124 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5127 * math/auto-libm-test-in: New test inputs.
5128 * math/auto-libm-test-out: Regenerate.
5129 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5132 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5134 2014-02-27 Joseph Myers <joseph@codesourcery.com>
5136 * scripts/evaluate-test.sh: Take new argument indicating whether
5137 failure is expected.
5138 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5139 indicating whether failure is expected.
5140 * conform/Makefile (test-xfail-run-conformtest): New variable.
5141 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5143 * posix/Makefile (test-xfail-annexc): New variable.
5144 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5146 2014-02-26 Joseph Myers <joseph@codesourcery.com>
5148 * argp/Makefile: Include Makeconfig immediately after defining
5150 * assert/Makefile: Likewise.
5151 * benchtests/Makefile: Likewise.
5152 * catgets/Makefile: Likewise.
5153 * conform/Makefile: Likewise.
5154 * crypt/Makefile: Likewise.
5155 * csu/Makefile: Likewise.
5156 (all): Remove target.
5157 * ctype/Makefile: Include Makeconfig immediately after defining
5159 * debug/Makefile: Likewise.
5160 * dirent/Makefile: Likewise.
5161 * dlfcn/Makefile: Likewise.
5162 * gmon/Makefile: Likewise.
5163 * gnulib/Makefile: Likewise.
5164 * grp/Makefile: Likewise.
5165 * gshadow/Makefile: Likewise.
5166 * hesiod/Makefile: Likewise.
5167 * hurd/Makefile: Likewise.
5168 (all): Remove target.
5169 * iconvdata/Makefile: Include Makeconfig immediately after
5171 * inet/Makefile: Likewise.
5172 * intl/Makefile: Likewise.
5173 * io/Makefile: Likewise.
5174 * libio/Makefile: Likewise.
5175 (all): Remove target.
5176 * locale/Makefile: Include Makeconfig immediately after defining
5178 * login/Makefile: Likewise.
5179 * mach/Makefile: Likewise.
5180 (all): Remove target.
5181 * malloc/Makefile: Include Makeconfig immediately after defining
5183 (all): Remove target.
5184 * manual/Makefile: Include Makeconfig immediately after defining
5186 * math/Makefile: Likewise.
5187 * misc/Makefile: Likewise.
5188 * nis/Makefile: Likewise.
5189 * nss/Makefile: Likewise.
5190 * po/Makefile: Likewise.
5191 (all): Remove target.
5192 * posix/Makefile: Include Makeconfig immediately after defining
5194 * pwd/Makefile: Likewise.
5195 * resolv/Makefile: Likewise.
5196 * resource/Makefile: Likewise.
5197 * rt/Makefile: Likewise.
5198 * setjmp/Makefile: Likewise.
5199 * shadow/Makefile: Likewise.
5200 * signal/Makefile: Likewise.
5201 * socket/Makefile: Likewise.
5202 * soft-fp/Makefile: Likewise.
5203 * stdio-common/Makefile: Likewise.
5204 * stdlib/Makefile: Likewise.
5205 * streams/Makefile: Likewise.
5206 * string/Makefile: Likewise.
5207 * sunrpc/Makefile: Likewise.
5208 (all): Remove target.
5209 * sysvipc/Makefile: Include Makeconfig immediately after defining
5211 * termios/Makefile: Likewise.
5212 * time/Makefile: Likewise.
5213 * timezone/Makefile: Likewise.
5214 (all): Remove target.
5215 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5217 * wctype/Makefile: Likewise.
5219 2014-02-26 Steve Ellcey <sellcey@mips.com>
5221 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5222 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5223 (libc_feholdexcept_setround_mips): Ditto.
5224 (libc_feholdsetround): New.
5225 (libc_feholdsetroundf): New.
5226 (libc_feholdsetroundl): New.
5227 (libc_feupdateenv_test_mips): New.
5228 (libc_feupdateenv_test): New.
5229 (libc_feupdateenv_testf): New.
5230 (libc_feupdateenv_testl): New.
5231 (libc_feresetround): New.
5232 (libc_feresetroundf): New.
5233 (libc_feresetroundl): New.
5234 (libc_fetestexcept_mips): New.
5235 (libc_fetestexcept): New.
5236 (libc_fetestexceptf): New.
5237 (libc_fetestexceptl): New.
5239 (libc_feholdexcept_setround_mips_ctx): New.
5240 (libc_feholdexcept_setround_ctx): New.
5241 (libc_feholdexcept_setroundf_ctx): New.
5242 (libc_feholdexcept_setroundl_ctx): New.
5243 (libc_fesetenv_mips_ctx): New.
5244 (libc_fesetenv_ctx): New.
5245 (libc_fesetenv_ctxf): New.
5246 (libc_fesetenv_ctxl): New.
5247 (libc_feupdateenv_mips_ctx): New.
5248 (libc_feupdateenv_ctx): New.
5249 (libc_feupdateenvf_ctx): New.
5250 (libc_feupdateenvl_ctx): New.
5251 (libc_feholdsetround_mips_ctx): New.
5252 (libc_feholdsetround_ctx): New.
5253 (libc_feholdsetroundf_ctx): New.
5254 (libc_feholdsetroundl_ctx): New.
5255 (libc_feresetround_mips_ctx): New.
5256 (libc_feresetround_ctx): New.
5257 (libc_feresetroundf_ctx): New.
5258 (libc_feresetroundl_ctx): New.
5260 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5262 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5264 * manual/ipc.texi: New file.
5265 * manual/Makefile (chapters): Add ipc.
5266 * manual/job.texi: Add "Inter-Process Communication" to next.
5267 * manual/process.texi: Add "Inter-Process Communication" to prev.
5269 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5273 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5275 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5277 * manual/arith.texi: Fix spaces after sentences.
5278 * manual/charset.texi: Likewise.
5279 * manual/errno.texi: Likewise.
5280 * manual/install.texi: Likewise.
5281 * manual/llio.texi: Likewise.
5282 * manual/locale.texi: Likewise.
5283 * manual/maint.texi: Likewise.
5284 * manual/math.texi: Likewise.
5285 * manual/memory.texi: Likewise.
5286 * manual/message.texi: Likewise.
5287 * manual/probes.texi: Likewise.
5288 * manual/resource.texi: Likewise.
5289 * manual/signal.texi: Likewise.
5290 * manual/socket.texi: Likewise.
5291 * manual/stdio.texi: Likewise.
5292 * manual/string.texi: Likewise.
5293 * manual/time.texi: Likewise.
5294 * manual/users.texi: Likewise.
5296 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5299 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5300 _DEFAULT_SOURCE is defined.
5302 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5303 Carlos O'Donell <carlos@redhat.com>
5306 * elf/dl-tls.c (_dl_count_modids): New function.
5307 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5308 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5309 audit library and increment generation counter.
5310 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5311 * elf/tst-audit9.c: New file.
5312 * elf/tst-auditmod9a.c: New file.
5313 * elf/tst-auditmod9b.c: New file.
5314 * elf/Makefile: Add rules to build and run tst-audit9.
5316 2014-02-25 Florian Weimer <fweimer@redhat.com>
5319 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5321 2014-02-25 Will Newton <will.newton@linaro.org>
5323 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5324 (__longjmp): Restore sp and lr before restoring callee
5325 saved registers. Add longjmp and longjmp_target
5326 SystemTap probe point.
5327 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5328 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5329 Define to zero to match jmpbuf layout.
5330 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5331 (__sigsetjmp): Save sp and lr before saving callee
5332 saved registers. Add setjmp SystemTap probe point.
5334 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5336 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5338 2014-02-24 Andreas Schwab <schwab@suse.de>
5341 * elf/pldd.c (wait_for_ptrace_stop): New function.
5342 (main): Call it after attaching.
5344 2014-02-22 Roland McGrath <roland@hack.frob.com>
5346 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5347 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5348 Versions files is now verboten.
5349 * hurd/Versions (libc: GLIBC_2.0):
5350 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5351 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5352 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5353 * mach/Versions: Likewise.
5355 * csu/Versions: Remove unused %include.
5356 * resolv/Versions: Likewise.
5358 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5360 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5361 ($(objpfx)check-local-headers.out): Likewise.
5362 ($(objpfx)begin-end-check.out): Likewise.
5363 * Makerules (check-abi-%.out): Likewise.
5364 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5365 ($(objpfx)test2.cat): Likewise.
5366 ($(objpfx)de/libc.cat): Likewise.
5367 ($(objpfx)test-gencat.out): Likewise.
5368 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5369 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5370 ($(objpfx)noload-mem): Likewise.
5371 ($(objpfx)tst-pathopt.out): Likewise.
5372 ($(objpfx)tst-rtld-load-self.out): Likewise.
5373 ($(objpfx)tst-array1-cmp.out): Likewise.
5374 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5375 ($(objpfx)tst-array2-cmp.out): Likewise.
5376 ($(objpfx)tst-array3-cmp.out): Likewise.
5377 ($(objpfx)tst-array4-cmp.out): Likewise.
5378 ($(objpfx)tst-array5-cmp.out): Likewise.
5379 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5380 ($(objpfx)check-textrel.out): Likewise.
5381 ($(objpfx)check-execstack.out): Likewise.
5382 ($(objpfx)check-localplt.out): Likewise.
5383 ($(objpfx)order2-cmp.out): Likewise.
5384 ($(objpfx)tst-leaks1-mem): Likewise.
5385 ($(objpfx)tst-leaks1-static-mem): Likewise.
5386 ($(objpfx)tst-initorder-cmp.out): Likewise.
5387 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5388 ($(objpfx)tst-unused-dep.out): Likewise.
5389 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5390 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5391 * iconv/Makefile (test-iconvconfig): Likewise.
5392 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5393 ($(objpfx)iconv-test.out): Likewise.
5394 ($(objpfx)tst-tables.out): Likewise.
5395 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5396 ($(objpfx)tst-gettext.out): Likewise.
5397 ($(objpfx)tst-translit.out): Likewise.
5398 ($(objpfx)tst-gettext2.out): Likewise.
5399 ($(objpfx)tst-gettext4.out): Likewise.
5400 ($(objpfx)tst-gettext6.out): Likewise.
5401 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5402 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5403 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5404 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5405 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5406 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5407 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5408 ($(objpfx)wordexp-tst.out): Likewise.
5409 ($(objpfx)annexc.out): Likewise.
5410 ($(objpfx)tst-fnmatch-mem): Likewise.
5411 ($(objpfx)bug-regex2-mem): Likewise.
5412 ($(objpfx)bug-regex14-mem): Likewise.
5413 ($(objpfx)bug-regex21-mem): Likewise.
5414 ($(objpfx)bug-regex31-mem): Likewise.
5415 ($(objpfx)tst-vfork3-mem): Likewise.
5416 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5417 ($(objpfx)tst-pcre-mem): Likewise.
5418 ($(objpfx)tst-boost-mem): Likewise.
5419 ($(objpfx)tst-getconf.out): Likewise.
5420 ($(objpfx)bug-ga2-mem): Likewise.
5421 ($(objpfx)bug-glob2-mem): Likewise.
5422 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5423 ($(objpfx)mtrace-tst-leaks2): Likewise.
5424 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5425 ($(objpfx)tst-printf.out): Likewise.
5426 ($(objpfx)tst-setvbuf1.out): Likewise.
5427 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5428 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5429 ($(objpfx)tst-fmtmsg.out): Likewise.
5430 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5431 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5433 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5434 * bits/sigaction.h [__USE_MISC]: Likewise.
5435 * bits/waitstatus.h: Update #endif comments.
5436 * ctype/ctype.h: Likewise.
5437 * dirent/dirent.h: Likewise.
5438 [__USE_MISC]: Remove redundant conditionals.
5439 * grp/grp.h: Update #endif comments.
5440 [__USE_GNU]: Remove redundant conditionals.
5441 [__USE_MISC]: Likewise.
5442 * inet/netinet/in.h [__USE_GNU]: Likewise.
5443 * io/sys/stat.h [__USE_MISC]: Likewise.
5444 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5445 * libio/bits/stdio.h: Update #endif comments.
5446 [__USE_MISC]: Remove redundant conditionals.
5447 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5448 * libio/stdio.h: Update #endif comments.
5449 [__USE_MISC]: Remove redundant conditionals.
5450 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5451 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5452 * math/math.h: Update #else and #endif comments.
5453 [__USE_MISC]: Remove redundant conditionals.
5454 * misc/sys/uio.h: Update #endif comments.
5455 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5456 * posix/glob.h [__USE_MISC]: Likewise.
5457 * posix/sys/types.h: Update #endif comments.
5458 [__USE_MISC]: Remove redundant conditionals.
5459 * posix/sys/wait.h: Update #endif comments.
5460 [__USE_MISC]: Remove redundant conditionals.
5461 * posix/unistd.h: Update #endif comments.
5462 [__USE_MISC]: Remove redundant conditionals.
5463 * pwd/pwd.h [__USE_GNU]: Likewise.
5464 [__USE_MISC]: Likewise.
5465 * resolv/netdb.h [__USE_GNU]: Likewise.
5466 * signal/signal.h: Update #endif comments.
5467 [__USE_MISC]: Remove redundant conditionals.
5468 * stdlib/stdlib.h: Update #else and #endif comments.
5469 [__USE_MISC]: Remove redundant conditionals.
5470 [__USE_GNU]: Likewise.
5471 * string/bits/string2.h [__USE_MISC]: Likewise.
5472 * string/string.h: Update #endif comments.
5473 [__USE_MISC]: Remove redundant conditionals.
5474 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5476 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5477 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5478 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5480 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5482 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5484 [__USE_MISC]: Remove redundant conditionals.
5485 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5486 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5487 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5488 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5489 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5491 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5492 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5494 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5495 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5497 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5499 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5500 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5502 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5504 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5505 * sysdeps/x86/bits/string.h: Update #endif comments.
5506 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5508 * time/sys/time.h: Update #endif comments.
5509 * time/time.h: Likewise.
5510 [__USE_MISC]: Remove redundant conditionals.
5512 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5515 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5517 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5519 * Versions.def (librt): Add GLIBC_2.17.
5521 2014-02-21 Adam Conrad <adconrad@0c3.net>
5523 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5524 synonym for _SYS_AUXV_H to allow direct inclusion.
5525 * sysdeps/sparc/bits/hwcap.h: Likewise.
5526 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5527 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5528 * sysdeps/sparc/sysdep.h: Likewise.
5530 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5532 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5534 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5536 * benchtests/bench-strrchr.c: Print length instead of position.
5538 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5541 * sysdeps/unix/sysv/linux/kernel-features.h
5542 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5543 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5544 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5545 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5547 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5548 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5549 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5550 (__ASSUME_SENDMMSG): Define instead of using previous
5551 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5552 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5553 (__ASSUME_SENDMMSG_SYSCALL): Define.
5554 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5555 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5557 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5558 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5560 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5561 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5563 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5564 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5565 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5566 [__ASSUME_SENDMMSG]: Change conditionals to
5567 [__ASSUME_SENDMMSG_SOCKETCALL].
5568 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5569 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5571 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5572 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5574 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5575 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5576 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5577 [!__ASSUME_SENDMMSG]: Change conditional to
5578 [!__ASSUME_SENDMMSG_SOCKETCALL].
5579 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5580 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5584 * sysdeps/unix/sysv/linux/kernel-features.h
5585 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5586 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5587 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5588 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5589 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5590 [__i386__ || __sparc__]
5591 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5592 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5593 (__ASSUME_RECVMMSG): Define instead of using previous
5594 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5595 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5596 (__ASSUME_RECVMMSG_SYSCALL): Define.
5597 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5598 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5600 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5601 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5603 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5604 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5606 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5607 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5608 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5609 [__ASSUME_RECVMMSG]: Change condition to
5610 [__ASSUME_RECVMMSG_SOCKETCALL].
5611 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5612 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5614 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5615 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5616 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5618 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5619 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5620 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5621 [!__ASSUME_RECVMMSG]: Change condition to
5622 [!__ASSUME_RECVMMSG_SOCKETCALL].
5623 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5624 (__ASSUME_RECVMMSG_SYSCALL): Define.
5627 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5628 __powerpc__ || __s390__ || __sh__ || __sparc__]
5629 (__ASSUME_SOCKETCALL): Define.
5630 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5631 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5632 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5633 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5634 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5635 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5636 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5637 (__ASSUME_ACCEPT4): Define instead of using previous
5638 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5639 __powerpc__ || __sparc__ || __s390__)] condition.
5640 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5641 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5642 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5643 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5644 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5645 [!__ASSUME_ACCEPT4]: Change condition to
5646 [!__ASSUME_ACCEPT4_SOCKETCALL].
5647 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5648 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5649 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5650 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5651 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5652 __ASSUME_ACCEPT4_SYSCALL.
5653 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5654 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5655 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5656 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5657 __ASSUME_ACCEPT4_SYSCALL.
5658 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5659 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5660 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5661 [__ASSUME_ACCEPT4]: Change condition to
5662 [__ASSUME_ACCEPT4_SOCKETCALL].
5663 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5664 (__ASSUME_SOCKETCALL): Define.
5665 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5666 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5667 (__ASSUME_SOCKETCALL): Define.
5668 (__ASSUME_ACCEPT4): Remove.
5669 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5671 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5672 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5674 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5675 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5677 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5679 (HWCAP_ARM_LPAE): Likewise.
5680 (HWCAP_ARM_EVTSTRM): Likewise.
5681 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5682 Add vpfd32, lpae and evtstrm.
5683 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5686 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5688 * math/auto-libm-test-in: Add tests of clog10.
5689 * math/auto-libm-test-out: Regenerated.
5690 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5691 * sysdeps/i386/fpu/libm-test-ulps: Update.
5692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5694 2014-02-18 Andreas Schwab <schwab@suse.de>
5697 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5698 Store non-zero if the second buffer was newly allocated.
5699 (send_dg): Likewise.
5700 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5701 to send_vc and send_dg.
5702 (res_nsend): Pass NULL for ansp2_malloced.
5703 * resolv/res_query.c (__libc_res_nquery): Add parameter
5704 answerp2_malloced and pass it down to __libc_res_nsend.
5705 (res_nquery): Pass additional NULL to __libc_res_nquery.
5706 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5707 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5708 second answer buffer if answerp2_malloced was set.
5709 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5710 (__libc_res_nquerydomain): Add parameter
5711 answerp2_malloced and pass it down to __libc_res_nquery.
5712 (res_nquerydomain): Pass additional NULL to
5713 __libc_res_nquerydomain.
5714 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5715 additional NULL to __libc_res_nsend and __libc_res_nquery.
5716 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5717 additional NULL to __libc_res_nsearch.
5718 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5719 parameter of __libc_res_nsearch to check for separately allocated
5721 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5723 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5724 additional NULL to __libc_res_nquery.
5725 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5727 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5728 * include/resolv.h: Update prototypes of __libc_res_nquery,
5729 __libc_res_nsearch, __libc_res_nsend.
5731 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5733 * math/auto-libm-test-in: Add tests of fma.
5734 * math/auto-libm-test-out: Regenerated.
5735 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5736 (fma_towardzero_test_data): Likewise.
5737 (fma_downward_test_data): Likewise.
5738 (fma_upward_test_data): Likewise.
5739 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5741 (rounding_modes): Add values for new field.
5742 (func_calc_method): Add value mpfr_fff_f.
5743 (func_calc_desc): Add mpfr_fff_f union field.
5744 (test_function): Add field exact_args.
5745 (FUNC): Add macro argument EXACT_ARGS.
5746 (FUNC_mpfr_f_f): Update call to FUNC.
5747 (FUNC_mpfr_f_f): Likewise.
5748 (FUNC_mpfr_ff_f): Likewise.
5749 (FUNC_mpfr_if_f): Likewise.
5750 (FUNC_mpc_c_f): Likewise.
5751 (FUNC_mpc_c_c): Likewise.
5752 (test_functions): Add fma. Update calls to FUNC.
5753 (handle_input_arg): Add argument exact_args.
5754 (add_test): Update call to handle_input_arg.
5755 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5756 (output_for_one_input_case): Update call to calc_generic_results.
5757 Recalculate exact zero results in each rounding mode.
5759 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5760 non-negative before setting low bit.
5761 * math/auto-libm-test-in: Mark one asin test possibly having
5763 * math/auto-libm-test-out: Regenerated.
5764 * sysdeps/i386/fpu/libm-test-ulps: Update.
5765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5767 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5769 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5770 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5771 ports/sysdeps/unix/sysv/linux/microblaze.
5772 * README: Add missing listing for microblaze*-*-linux-gnu.
5774 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5776 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5777 * sysdeps/unix/sysv/linux/ia64: Move directory from
5778 ports/sysdeps/unix/sysv/linux/ia64.
5779 * README: Update listing for ia64-*-linux-gnu.
5781 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5782 Joseph Myers <joseph@codesourcery.com>
5784 * Makeconfig (test-name): New variable.
5785 (evaluate-test): Likewise.
5786 * Makerules (do-test-clean): Remove .test-result files.
5787 (common-mostlyclean): Likewise.
5788 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5789 * scripts/evaluate-test.sh: New file.
5791 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5793 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5794 separate $(objpfx)tst-fopenloc-cmp.out and
5795 $(objpfx)tst-fopenloc-mem.out targets.
5796 (tests): Update dependencies.
5797 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5798 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5799 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5800 (tst-rxspencer-no-utf8-ARGS): New variable.
5801 (tst-rxspencer-no-utf8-ENV): Likewise.
5802 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5803 instead of $(objpfx)tst-rxspencer-mem.
5804 ($(objpfx)tst-rxspencer-mem): Change target to
5805 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5806 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5807 * posix/tst-rxspencer-no-utf8.c: New file.
5809 * elf/Makefile ($(objpfx)order.out): Remove rule.
5810 [$(run-built-tests) = yes] (tests): Depend on
5811 $(objpfx)order-cmp.out.
5812 ($(objpfx)order-cmp.out): New rule.
5813 [$(run-built-tests) = yes] (tests): Depend on
5814 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5815 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5816 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5817 $(objpfx)tst-array5-static-cmp.out.
5818 ($(objpfx)tst-array1.out): Remove rule.
5819 ($(objpfx)tst-array1-cmp.out): New rule.
5820 ($(objpfx)tst-array1-static.out): Remove rule.
5821 ($(objpfx)tst-array1-static-cmp.out): New rule.
5822 ($(objpfx)tst-array2.out): Remove rule.
5823 ($(objpfx)tst-array2-cmp.out): New rule.
5824 ($(objpfx)tst-array3.out): Remove rule.
5825 ($(objpfx)tst-array3-cmp.out): New rule.
5826 ($(objpfx)tst-array4.out): Remove rule.
5827 ($(objpfx)tst-array4-cmp.out): New rule.
5828 ($(objpfx)tst-array5.out): Remove rule.
5829 ($(objpfx)tst-array5-cmp.out): New rule.
5830 ($(objpfx)tst-array5-static.out): Remove rule.
5831 ($(objpfx)tst-array5-static-cmp.out): New rule.
5832 [$(run-built-tests) = yes] (tests): Depend on
5833 $(objpfx)order2-cmp.out.
5834 ($(objpfx)order2.out): Remove rule.
5835 ($(objpfx)order2-cmp.out): New rule.
5836 ($(objpfx)tst-initorder.out): Remove rule.
5837 [$(run-built-tests) = yes] (tests): Depend on
5838 $(objpfx)tst-initorder-cmp.out.
5839 ($(objpfx)tst-initorder-cmp.out): New rule.
5840 ($(objpfx)tst-initorder2.out): Remove rule.
5841 [$(run-built-tests) = yes] (tests): Depend on
5842 $(objpfx)tst-initorder2-cmp.out.
5843 ($(objpfx)tst-initorder2-cmp.out): New rule.
5844 [$(run-built-tests) = yes] (tests): Depend on
5845 $(objpfx)tst-unused-dep-cmp.out.
5846 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5847 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5848 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5849 on $(objpfx)tst-setvbuf1-cmp.out.
5850 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5851 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5852 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5853 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5854 ($(objpfx)tst-svc.out): Remove rule.
5855 ($(objpfx)tst-svc-cmp.out): New rule.
5857 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5859 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5860 * ctype/ctype.h [__USE_MISC]: Likewise.
5861 * dirent/dirent.h [__USE_MISC]: Likewise.
5862 * grp/grp.h [__USE_MISC]: Likewise.
5863 * io/fcntl.h [__USE_MISC]: Likewise.
5864 * io/sys/stat.h [__USE_MISC]: Likewise.
5865 * libio/stdio.h [__USE_MISC]: Likewise.
5866 * posix/unistd.h [__USE_MISC]: Likewise.
5867 * pwd/pwd.h [__USE_MISC]: Likewise.
5868 * stdlib.h [__USE_MISC]: Likewise.
5869 * string/bits/string2.h [__USE_MISC]: Likewise.
5870 * string/string.h [__USE_MISC]: Likewise.
5871 * time/time.h [__USE_MISC]: Likewise.
5873 2014-02-13 Andreas Schwab <schwab@suse.de>
5876 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5877 second answer buffer if it was separately allocated.
5879 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5881 * sysdeps/mips/math-tests.h: Include <features.h>.
5882 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5883 (ROUNDING_TESTS_long_double): Do not define.
5884 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5885 (EXCEPTION_TESTS_long_double): Likewise.
5886 * sysdeps/mips/mips64/libm-test-ulps: Update.
5888 * include/features.h (__USE_BSD): Remove macro definitions.
5889 (__USE_SVID): Likewise.
5890 (_BSD_SOURCE): Likewise.
5891 (_SVID_SOURCE): Likewise.
5892 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5893 from definition of _DEFAULT_SOURCE.
5894 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5896 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5897 * bits/mman.h [__USE_BSD]: Likewise.
5898 * bits/termios.h [__USE_BSD]: Likewise.
5899 * bits/waitstatus.h [__USE_BSD]: Likewise.
5900 * ctype/ctype.h [__USE_SVID]: Likewise.
5901 * dirent/dirent.h [__USE_BSD]: Likewise.
5902 * grp/grp.h [__USE_SVID]: Likewise.
5903 [__USE_BSD]: Likewise.
5904 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5905 * io/fcntl.h [__USE_BSD]: Likewise.
5906 * io/ftw.h [__USE_BSD]: Likewise.
5907 * io/sys/stat.h [__USE_BSD]: Likewise.
5908 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5909 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5910 * libio/stdio.h [__USE_SVID]: Likewise.
5911 [__USE_BSD]: Likewise.
5912 * math/math.h [__USE_SVID]: Likewise.
5913 [__USE_BSD]: Likewise.
5914 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5915 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5916 * misc/search.h [__USE_SVID]: Likewise.
5917 * misc/sys/mman.h [__USE_BSD]: Likewise.
5918 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5919 * misc/sys/uio.h [__USE_BSD]: Likewise.
5920 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5921 * posix/glob.h [__USE_BSD]: Likewise.
5922 * posix/regex.h [__USE_BSD]: Likewise.
5923 * posix/sys/types.h [__USE_BSD]: Likewise.
5924 [__USE_SVID]: Likewise.
5925 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5926 * posix/sys/wait.h [__USE_BSD]: Likewise.
5927 [__USE_SVID]: Likewise.
5928 * posix/unistd.h [__USE_BSD]: Likewise.
5929 [__USE_SVID]: Likewise.
5930 * pwd/pwd.h [__USE_SVID]: Likewise.
5931 * resolv/netdb.h [__USE_BSD]: Likewise.
5932 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5933 * signal/signal.h [__USE_BSD]: Likewise.
5934 [__USE_SVID]: Likewise.
5935 * socket/sys/socket.h [__USE_BSD]: Likewise.
5936 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5937 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5938 [__USE_SVID]: Likewise.
5939 * string/bits/string2.h [__USE_BSD]: Likewise.
5940 [__USE_SVID]: Likewise.
5941 * string/bits/string3.h [__USE_BSD]: Likewise.
5942 * string/endian.h [__USE_BSD]: Likewise.
5943 * string/string.h [__USE_SVID]: Likewise.
5944 [__USE_BSD]: Likewise.
5945 * string/strings.h [__USE_BSD]: Likewise.
5946 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5947 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5948 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5949 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5950 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5951 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5953 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5955 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5956 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5958 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5959 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5961 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5963 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5964 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5965 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5967 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5969 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5970 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5971 * termios/termios.h [__USE_BSD]: Likewise.
5972 * time/sys/time.h [__USE_BSD]: Likewise.
5973 * time/time.h [__USE_BSD]: Likewise.
5974 [__USE_SVID]: Likewise.
5976 * Makefile (subdir_targets): Remove subdir_lint.out.
5978 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5979 (do-tst-printf): Likewise.
5980 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5981 $(objpfx)tst-printf.out.
5983 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5985 * Makerules (check-abi-%): Change target to
5986 $(objpfx)check-abi-%.out.
5987 (check-abi target): Update dependencies.
5988 (check-abi-pattern variable): Redirect output of diff to $@.
5989 (check-abi variable): Likewise.
5990 * elf/Makefile (check-abi): Update dependencies.
5992 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5994 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5995 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5997 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5998 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5999 value has largest subnormal exponent.
6000 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6001 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6002 * sysdeps/aarch64/soft-fp/sfp-machine.h
6003 (_FP_TININESS_AFTER_ROUNDING): New macro.
6004 * sysdeps/alpha/soft-fp/sfp-machine.h
6005 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6006 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6008 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6009 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6010 * sysdeps/mips/soft-fp/sfp-machine.h
6011 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6012 * sysdeps/powerpc/soft-fp/sfp-machine.h
6013 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6014 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6016 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6017 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6018 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6019 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6020 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6023 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
6026 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6029 2014-02-12 Richard Henderson <rth@redhat.com>
6031 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6032 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6033 * sysdeps/unix/sysv/linux/alpha: Move directory from
6034 ports/sysdeps/unix/sysv/linux/alpha.
6035 * README: Update listing for alpha-*-linux-gnu.
6037 2014-02-11 Joseph Myers <joseph@codesourcery.com>
6039 * include/features.h: Update comment documenting feature test
6041 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6043 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6044 (_SVID_SOURCE): Likewise.
6045 (_DEFAULT_SOURCE): Update description of default features.
6046 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6048 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6049 (S_ISVTX): Likewise.
6050 * manual/math.texi (Mathematical Constants): Likewise.
6051 * manual/signal.texi (Interrupted Primitives): Likewise.
6052 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6053 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6054 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6055 Don't refer to _SVID_SOURCE in warning text.
6057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6059 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6061 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6062 * sysdeps/mips/dl-lookup.c: Remove.
6063 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6065 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6068 * math/auto-libm-test-in: Add testcase for expl.
6069 * math/auto-libm-test-out: Regenerate.
6070 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6071 calculation of unsafe.
6072 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6074 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6076 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6077 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6078 ports/sysdeps/unix/sysv/linux/aarch64.
6079 * README: Update listing for aarch64*-*-linux-gnu.
6081 2014-02-11 Will Newton <will.newton@linaro.org>
6083 * manual/probes.texi (Mathematical Function Probes): Use
6084 "triggered" instead of "hit".
6086 * manual/probes.texi (Internal Probes): Add documentation
6087 of setjmp, longjmp and longjmp_target probes.
6089 * include/stap-probe.h: Add comment about probe argument
6092 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6093 definition. (tr_where, tr_freehook, tr_mallochook,
6094 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6096 2014-02-11 David S. Miller <davem@davemloft.net>
6098 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6099 processing int_tests.
6101 2014-02-10 Joseph Myers <joseph@codesourcery.com>
6103 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6104 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6105 * sysdeps/unix/sysv/linux/mips: Move directory from
6106 ports/sysdeps/unix/sysv/linux/mips.
6107 * README: Update listing for mips-*-linux-gnu and
6110 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6112 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6113 * sysdeps/unix/sysv/linux/m68k: Move directory from
6114 ports/sysdeps/unix/sysv/linux/m68k.
6115 * README: Update listing for m68k-*-linux-gnu.
6117 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6119 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6120 * sysdeps/unix/sysv/linux/generic: Move directory from
6121 ports/sysdeps/unix/sysv/linux/generic.
6122 * sysdeps/unix/sysv/linux/tile: Move directory from
6123 ports/sysdeps/unix/sysv/linux/tile.
6124 * README: Update listing for tile*-*-linux-gnu.
6126 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
6128 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6130 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6131 * catgets/open_catalog.c (__open_catalog): Likewise.
6132 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6133 * debug/confstr_chk.c: Likewise.
6134 * debug/fread_chk.c (__fread_chk): Likewise.
6135 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6136 * debug/getgroups_chk.c: Likewise.
6137 * debug/mbsnrtowcs_chk.c: Likewise.
6138 * debug/mbsrtowcs_chk.c: Likewise.
6139 * debug/mbstowcs_chk.c: Likewise.
6140 * debug/memcpy_chk.c: Likewise.
6141 * debug/memmove_chk.c: Likewise.
6142 * debug/mempcpy_chk.c: Likewise.
6143 * debug/memset_chk.c: Likewise.
6144 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6145 * debug/strcat_chk.c (__strcat_chk): Likewise.
6146 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6147 * debug/strncat_chk.c (__strncat_chk): Likewise.
6148 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6149 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6150 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6151 * debug/wcpncpy_chk.c: Likewise.
6152 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6153 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6154 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6155 * debug/wcsncpy_chk.c: Likewise.
6156 * debug/wcsnrtombs_chk.c: Likewise.
6157 * debug/wcsrtombs_chk.c: Likewise.
6158 * debug/wcstombs_chk.c: Likewise.
6159 * debug/wmemcpy_chk.c: Likewise.
6160 * debug/wmemmove_chk.c: Likewise.
6161 * debug/wmempcpy_chk.c: Likewise.
6162 * debug/wmemset_chk.c: Likewise.
6163 * dirent/scandirat.c (SCANDIRAT): Likewise.
6164 * dlfcn/dladdr1.c (dladdr1): Likewise.
6165 * dlfcn/dladdr.c (dladdr): Likewise.
6166 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6167 * dlfcn/dlerror.c (__dlerror): Likewise.
6168 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6169 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6170 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6171 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6172 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6173 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6174 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6175 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6177 * elf/dl-conflict.c: Likewise.
6178 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6179 * elf/dl-dst.h: Likewise.
6180 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6181 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6182 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6183 * elf/dl-init.c (call_init, _dl_init): Likewise.
6184 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6185 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6186 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6188 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6190 * elf/dl-minimal.c (__libc_memalign): Likewise.
6191 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6192 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6193 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6194 * elf/dl-sym.c (do_sym): Likewise.
6195 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6196 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6197 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6198 * elf/dl-writev.h (_dl_writev): Likewise.
6199 * elf/ldconfig.c (search_dir): Likewise.
6200 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6201 (dl_main): Likewise.
6202 * elf/setup-vdso.h (setup_vdso): Likewise.
6203 * grp/compat-initgroups.c (compat_call): Likewise.
6204 * grp/fgetgrent.c (fgetgrent): Likewise.
6205 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6206 * grp/putgrent.c (putgrent): Likewise.
6207 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6209 * hurd/hurdinit.c: Likewise.
6210 * iconvdata/8bit-gap.c (struct): Likewise.
6211 * iconvdata/ansi_x3.110.c : Likewise.
6212 * iconvdata/big5.c : Likewise.
6213 * iconvdata/big5hkscs.c : Likewise.
6214 * iconvdata/cp1255.c: Likewise.
6215 * iconvdata/cp1258.c : Likewise.
6216 * iconvdata/cp932.c : Likewise.
6217 * iconvdata/euc-cn.c: Likewise.
6218 * iconvdata/euc-jisx0213.c : Likewise.
6219 * iconvdata/euc-jp.c: Likewise.
6220 * iconvdata/euc-jp-ms.c : Likewise.
6221 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6222 * iconvdata/gb18030.c : Likewise.
6223 * iconvdata/gbbig5.c (const): Likewise.
6224 * iconvdata/gbgbk.c: Likewise.
6225 * iconvdata/gbk.c : Likewise.
6226 * iconvdata/ibm1364.c : Likewise.
6227 * iconvdata/ibm930.c : Likewise.
6228 * iconvdata/ibm932.c: Likewise.
6229 * iconvdata/ibm933.c : Likewise.
6230 * iconvdata/ibm935.c : Likewise.
6231 * iconvdata/ibm937.c : Likewise.
6232 * iconvdata/ibm939.c : Likewise.
6233 * iconvdata/ibm943.c: Likewise.
6234 * iconvdata/iso_11548-1.c: Likewise.
6235 * iconvdata/iso-2022-cn.c : Likewise.
6236 * iconvdata/iso-2022-cn-ext.c : Likewise.
6237 * iconvdata/iso-2022-jp-3.c: Likewise.
6238 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6239 * iconvdata/iso-2022-kr.c : Likewise.
6240 * iconvdata/iso646.c (gconv_end): Likewise.
6241 * iconvdata/iso_6937-2.c : Likewise.
6242 * iconvdata/iso_6937.c : Likewise.
6243 * iconvdata/iso8859-1.c: Likewise.
6244 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6245 * iconvdata/shift_jisx0213.c : Likewise.
6246 * iconvdata/sjis.c : Likewise.
6247 * iconvdata/t.61.c : Likewise.
6248 * iconvdata/tcvn5712-1.c : Likewise.
6249 * iconvdata/tscii.c: Likewise.
6250 * iconvdata/uhc.c : Likewise.
6251 * iconvdata/unicode.c (gconv_end): Likewise.
6252 * iconvdata/utf-16.c (gconv_end): Likewise.
6253 * iconvdata/utf-32.c (gconv_end): Likewise.
6254 * iconvdata/utf-7.c (base64): Likewise.
6255 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6256 * iconv/gconv_close.c (__gconv_close): Likewise.
6257 * iconv/gconv_open.c (__gconv_open): Likewise.
6258 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6259 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6260 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6261 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6262 (ucs4le_internal_loop_single): Likewise.
6263 * iconv/iconv.c (iconv): Likewise.
6264 * iconv/iconv_close.c: Likewise.
6265 * iconv/loop.c (SINGLE): Likewise.
6266 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6267 * include/atomic.h: Likewise.
6268 * inet/inet6_option.c (option_alloc): Likewise.
6269 * intl/bindtextdom.c (set_binding_values): Likewise.
6270 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6271 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6272 * intl/localealias.c (read_alias_file): Likewise.
6273 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6274 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6275 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6276 * libio/fmemopen.c (fmemopen): Likewise.
6277 * libio/iofgets.c (_IO_fgets): Likewise.
6278 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6279 * libio/iofgetws.c (fgetws): Likewise.
6280 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6281 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6282 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6283 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6284 * locale/findlocale.c (_nl_find_locale): Likewise.
6285 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6286 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6288 * locale/setlocale.c (setlocale): Likewise.
6289 * login/programs/pt_chown.c (main): Likewise.
6290 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6291 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6292 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6293 (mmap, mmap64, mremap, munmap): Likewise.
6294 * math/e_exp2l.c: Likewise.
6295 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6296 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6297 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6298 * math/s_catan.c (__catan): Likewise.
6299 * math/s_catanf.c (__catanf): Likewise.
6300 * math/s_catanh.c (__catanh): Likewise.
6301 * math/s_catanhf.c (__catanhf): Likewise.
6302 * math/s_catanhl.c (__catanhl): Likewise.
6303 * math/s_catanl.c (__catanl): Likewise.
6304 * math/s_ccosh.c (__ccosh): Likewise.
6305 * math/s_ccoshf.c (__ccoshf): Likewise.
6306 * math/s_ccoshl.c (__ccoshl): Likewise.
6307 * math/s_cexp.c (__cexp): Likewise.
6308 * math/s_cexpf.c (__cexpf): Likewise.
6309 * math/s_cexpl.c (__cexpl): Likewise.
6310 * math/s_clog10.c (__clog10): Likewise.
6311 * math/s_clog10f.c (__clog10f): Likewise.
6312 * math/s_clog10l.c (__clog10l): Likewise.
6313 * math/s_clog.c (__clog): Likewise.
6314 * math/s_clogf.c (__clogf): Likewise.
6315 * math/s_clogl.c (__clogl): Likewise.
6316 * math/s_csin.c (__csin): Likewise.
6317 * math/s_csinf.c (__csinf): Likewise.
6318 * math/s_csinh.c (__csinh): Likewise.
6319 * math/s_csinhf.c (__csinhf): Likewise.
6320 * math/s_csinhl.c (__csinhl): Likewise.
6321 * math/s_csinl.c (__csinl): Likewise.
6322 * math/s_csqrt.c (__csqrt): Likewise.
6323 * math/s_csqrtf.c (__csqrtf): Likewise.
6324 * math/s_csqrtl.c (__csqrtl): Likewise.
6325 * math/s_ctan.c (__ctan): Likewise.
6326 * math/s_ctanf.c (__ctanf): Likewise.
6327 * math/s_ctanh.c (__ctanh): Likewise.
6328 * math/s_ctanhf.c (__ctanhf): Likewise.
6329 * math/s_ctanhl.c (__ctanhl): Likewise.
6330 * math/s_ctanl.c (__ctanl): Likewise.
6331 * math/w_pow.c: Likewise.
6332 * math/w_powf.c: Likewise.
6333 * math/w_powl.c: Likewise.
6334 * math/w_scalb.c (sysv_scalb): Likewise.
6335 * math/w_scalbf.c (sysv_scalbf): Likewise.
6336 * math/w_scalbl.c (sysv_scalbl): Likewise.
6337 * misc/error.c (error_tail): Likewise.
6338 * misc/pselect.c (__pselect): Likewise.
6339 * nis/nis_callback.c (__nis_create_callback): Likewise.
6340 * nis/nis_call.c (__nisfind_server): Likewise.
6341 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6342 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6343 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6344 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6345 * nis/nis_lookup.c (nis_lookup): Likewise.
6346 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6347 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6348 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6349 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6350 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6351 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6352 * nis/nss_compat/compat-initgroups.c (add_group)
6353 (internal_getgrent_r): Likewise.
6354 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6355 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6356 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6357 (internal_getspnam_r): Likewise.
6358 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6359 (_nss_nis_getaliasbyname_r): Likewise.
6360 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6361 (_nss_nis_getntohost_r): Likewise.
6362 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6363 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6364 (_nss_nis_getgrgid_r): Likewise.
6365 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6366 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6367 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6368 (_nss_nis_gethostbyname4_r): Likewise.
6369 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6370 (initgroups_netid): Likewise.
6371 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6372 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6373 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6374 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6375 (_nss_nis_getprotobynumber_r): Likewise.
6376 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6377 (_nss_nis_getsecretkey): Likewise.
6378 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6379 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6380 (_nss_nis_getpwuid_r): Likewise.
6381 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6382 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6383 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6384 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6385 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6386 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6387 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6389 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6390 (_nss_nisplus_getntohost_r): Likewise.
6391 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6392 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6393 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6394 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6396 * nis/nss_nisplus/nisplus-initgroups.c
6397 (_nss_nisplus_initgroups_dyn): Likewise.
6398 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6399 (_nss_nisplus_getnetbyaddr_r): Likewise.
6400 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6401 (_nss_nisplus_getprotobynumber_r): Likewise.
6402 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6403 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6404 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6406 * nis/nss_nisplus/nisplus-service.c
6407 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6408 (_nss_nisplus_getservbyport_r): Likewise.
6409 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6410 (_nss_nisplus_getspnam_r): Likewise.
6411 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6413 * nscd/aicache.c (addhstaiX): Likewise.
6414 * nscd/cache.c (cache_search, prune_cache): Likewise.
6415 * nscd/connections.c (register_traced_file, send_ro_fd)
6416 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6417 (main_loop_epoll): Likewise.
6418 * nscd/grpcache.c (addgrbyX): Likewise.
6419 * nscd/hstcache.c (addhstbyX): Likewise.
6420 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6421 * nscd/mem.c (gc, mempool_alloc): Likewise.
6422 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6423 (addinnetgrX): Likewise.
6424 * nscd/nscd-client.h (__nscd_acquire_maplock)
6425 (__nscd_drop_map_ref): Likewise.
6426 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6427 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6428 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6430 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6431 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6432 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6433 (__nscd_get_map_ref): Likewise.
6434 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6435 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6437 * nscd/pwdcache.c (addpwbyX): Likewise.
6438 * nscd/selinux.c (preserve_capabilities): Likewise.
6439 * nscd/servicescache.c (addservbyX): Likewise.
6440 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6441 * posix/fnmatch.c (fnmatch): Likewise.
6442 * posix/getopt.c (_getopt_internal_r): Likewise.
6443 * posix/glob.c (glob, glob_in_dir): Likewise.
6444 * posix/wordexp.c (exec_comm_child): Likewise.
6445 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6446 (getanswer_r, gaih_getanswer_slice): Likewise.
6447 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6448 * resolv/res_init.c: Likewise.
6449 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6450 * resolv/res_query.c (__libc_res_nquery): Likewise.
6451 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6453 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6454 * stdio-common/perror.c (perror): Likewise.
6455 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6456 * stdio-common/tmpnam.c (tmpnam): Likewise.
6457 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6458 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6459 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6461 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6462 * stdlib/putenv.c (putenv): Likewise.
6463 * stdlib/setenv.c (__add_to_environ): Likewise.
6464 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6465 * stdlib/strtol_l.c (INTERNAL): Likewise.
6466 * string/memmem.c (memmem): Likewise.
6467 * string/strerror.c (strerror): Likewise.
6468 * string/strnlen.c (__strnlen): Likewise.
6469 * string/test-memmem.c (simple_memmem): Likewise.
6470 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6471 * sunrpc/pm_getport.c (__get_socket): Likewise.
6472 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6473 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6474 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6475 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6477 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6478 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6479 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6480 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6481 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6482 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6484 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6486 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6487 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6488 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6489 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6490 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6492 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6493 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6494 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6495 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6496 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6497 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6499 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6501 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6503 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6504 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6505 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6506 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6507 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6508 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6509 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6510 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6511 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6512 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6513 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6515 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6516 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6517 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6518 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6520 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6522 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6524 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6526 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6528 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6530 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6531 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6532 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6533 * sysdeps/posix/sleep.c: Likewise.
6534 * sysdeps/posix/tempname.c: Likewise.
6535 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6536 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6538 * sysdeps/powerpc/powerpc32/dl-machine.h
6539 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6540 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6541 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6542 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6543 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6545 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6546 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6547 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6548 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6549 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6550 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6551 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6552 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6553 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6554 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6555 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6556 (elf_machine_lazy_rel): Likewise.
6557 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6558 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6559 (elf_machine_lazy_rel): Likewise.
6560 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6561 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6562 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6563 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6564 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6565 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6566 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6567 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6569 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6570 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6571 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6572 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6573 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6574 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6575 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6576 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6577 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6578 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6579 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6581 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6582 (__posix_fallocate64_l64): Likewise.
6583 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6584 (posix_fallocate): Likewise.
6585 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6587 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6588 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6589 (getifaddrs_internal): Likewise.
6590 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6591 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6592 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6593 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6594 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6595 (__posix_fallocate64_l64): Likewise.
6596 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6598 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6599 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6600 (__get_clockfreq): Likewise.
6601 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6602 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6603 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6604 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6605 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6606 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6607 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6608 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6610 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6611 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6612 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6613 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6614 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6615 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6616 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6618 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6619 (posix_fallocate): Likewise.
6620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6621 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6622 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6623 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6624 (elf_machine_rela, elf_machine_rela_relative)
6625 (elf_machine_lazy_rel): Likewise.
6626 * time/asctime.c (asctime_internal): Likewise.
6627 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6628 * time/tzset.c (__tzset_parse_tz): Likewise.
6629 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6630 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6631 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6632 * wcsmbs/wcsmbsload.h: Likewise.
6635 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6637 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6638 (arena_get2): Remove THREAD_STATS conditionals.
6639 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6640 (__malloc_stats, int): Likewise.
6642 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6644 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6645 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6647 * manual/setjmp.texi: Fix typos/grammar errors.
6649 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6650 Only return early when n is <= 0. Delete unused return statement.
6652 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6653 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6654 * debug/tst-longjmp_chk3.c: New file.
6656 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6657 (test_main): Replace code with set_fortify_handler call.
6658 * debug/test-strcpy_chk.c: Likewise.
6659 * debug/tst-chk1.c: Likewise.
6660 * debug/tst-longjmp_chk.c: Likewise.
6661 * test-skeleton.c: Include fcntl.h & paths.h
6662 (set_fortify_handler): Define.
6664 * debug/tst-longjmp_chk.c: Add header comment and include
6666 (do_test): Mark static.
6667 (TEST_FUNCTION): Define.
6669 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6670 (IP_PMTUDISC_INTERFACE): Likewise.
6671 (IP_MULTICAST_IF): Likewise.
6672 (IP_MULTICAST_TTL): Likewise.
6673 (IP_MULTICAST_LOOP): Likewise.
6674 (IP_ADD_MEMBERSHIP): Likewise.
6675 (IP_DROP_MEMBERSHIP): Likewise.
6676 (IP_UNBLOCK_SOURCE): Likewise.
6677 (IP_BLOCK_SOURCE): Likewise.
6678 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6679 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6680 (IP_MSFILTER): Likewise.
6681 (MCAST_JOIN_GROUP): Likewise.
6682 (MCAST_BLOCK_SOURCE): Likewise.
6683 (MCAST_UNBLOCK_SOURCE): Likewise.
6684 (MCAST_LEAVE_GROUP): Likewise.
6685 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6686 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6687 (MCAST_MSFILTER): Likewise.
6688 (IP_MULTICAST_ALL): Likewise.
6689 (IP_UNICAST_IF): Likewise.
6691 * timezone/Makefile: Delete $(have-ksh) check.
6692 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6693 * timezone/tzselect.ksh: Add +x mode bits.
6695 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6696 (ANON_INODE_FS_MAGIC): Likewise.
6697 (BDEVFS_MAGIC): Likewise.
6698 (BINFMTFS_MAGIC): Likewise.
6699 (BTRFS_TEST_MAGIC): Likewise.
6700 (CRAMFS_MAGIC_WEND): Likewise.
6701 (DEBUGFS_MAGIC): Likewise.
6702 (ECRYPTFS_SUPER_MAGIC): Likewise.
6703 (EXT3_SUPER_MAGIC): Likewise.
6704 (EXT4_SUPER_MAGIC): Likewise.
6705 (FUTEXFS_SUPER_MAGIC): Likewise.
6706 (HOSTFS_SUPER_MAGIC): Likewise.
6707 (HUGETLBFS_MAGIC): Likewise.
6708 (MINIX3_SUPER_MAGIC): Likewise.
6709 (MTD_INODE_FS_MAGIC): Likewise.
6710 (NILFS_SUPER_MAGIC): Likewise.
6711 (OPENPROM_SUPER_MAGIC): Likewise.
6712 (PIPEFS_MAGIC): Likewise.
6713 (PSTOREFS_MAGIC): Likewise.
6714 (QNX6_SUPER_MAGIC): Likewise.
6715 (RAMFS_MAGIC): Likewise.
6716 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6717 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6718 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6719 (SECURITYFS_MAGIC): Likewise.
6720 (SELINUX_MAGIC): Likewise.
6721 (SMACK_MAGIC): Likewise.
6722 (SOCKFS_MAGIC): Likewise.
6723 (SQUASHFS_MAGIC): Likewise.
6724 (STACK_END_MAGIC): Likewise.
6725 (TMPFS_MAGIC): Likewise.
6726 (USBDEVICE_SUPER_MAGIC): Likewise.
6727 (V9FS_MAGIC): Likewise.
6728 (XENFS_SUPER_MAGIC): Likewise.
6729 (CRAMFS_MAGIC): Fix typo in comment.
6730 (EXT2_SUPER_MAGIC): Update comment.
6731 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6733 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6735 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6736 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6737 * sysdeps/unix/sysv/linux/arm: Move directory from
6738 ports/sysdeps/unix/sysv/linux/arm.
6739 * README: Update listing for arm-*-linux-gnueabi.
6741 * README: Remove mention of am33.
6743 2014-02-07 Roland McGrath <roland@hack.frob.com>
6745 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6746 than the comma operator, to avoid "rhs of comma has no effect"
6748 (__sigfillset, __sigandset, __sigorset): Likewise.
6749 * include/signal.h (__sigemptyset): Likewise.
6750 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6752 2014-02-07 Allan McRae <allan@archlinux.org>
6754 * version.h (RELEASE): Set to "development".
6755 (VERSION): Set to "2.19.90"
6756 * NEWS: Add 2.20 section.
6758 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6761 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6763 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6765 * manual/contrib.texi: Update entry for Carlos O'Donell,
6766 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6768 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6770 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6772 * sysdeps/unix/sysv/linux/kernel-features.h
6773 [__LINUX_KERNEL_VERSION >= 0x020621]
6774 (__ASSUME_PROC_PID_TASK_COMM): Define.
6776 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6779 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6780 conversion when destination buffer does not have enough space.
6781 * libio/tst-ftell-partial-wide.c: New test case.
6782 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6784 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6785 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6786 Leonard and Allan McRae.
6788 2014-02-04 David S. Miller <davem@davemloft.net>
6790 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6793 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6822 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6824 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6825 * shlib-versions: Likewise.
6827 2014-02-04 Roland McGrath <roland@hack.frob.com>
6828 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6830 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6831 (abilist-pattern): New variable, set to %-le.abilist.
6833 * Makerules (abilist-pattern): New variable.
6834 (vpath): Use $(abilist-pattern) in place of %.abilist.
6835 (check-abi-% pattern rule): Likewise.
6836 (check-abi, update-abi): Likewise.
6838 2014-02-04 Eric Wong <normalperson@yhbt.net>
6840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6842 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6844 * manual/startup.texi: Add next, previous, and top entries for
6845 the `Program Arguments' and `Environment Variables' nodes.
6847 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6849 * manual/macros.texi: Add comments before MTASC-safety macros.
6851 * manual/users.texi: Document MTASC-safety properties.
6853 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6854 (pthread_getspecific, pthread_setspecific): Format with
6855 @deftypefun, and add @safety note.
6856 * manual/signal.texi: Move comments that analyze the above
6857 functions to their home place.
6859 2014-02-03 Allan McRae <allan@archlinux.org>
6861 * po/sl.po: Update Slovenian translation from translation project.
6863 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6865 * manual/time.texi (timegm): Add missing blank after @c.
6866 Reported by Joseph Myers <joseph@codesourcery.com>.
6868 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6870 * manual/check-safety.sh: New.
6871 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6873 * manual/terminal.texi: Document MTASC-safety properties.
6875 * manual/filesys.texi: Document MTASC-safety properties.
6877 * manual/errno.texi: Document MTASC-safety properties.
6879 * manual/intro.texi: Document safety identifiers and
6882 * manual/string.texi (wcstok): Fix prototype.
6883 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6885 * manual/time.texi: Document MTASC-safety properties.
6887 * manual/string.texi: Document MTASC-safety properties.
6889 * manual/threads.texi: Document MTASC-safety properties.
6891 * manual/stdio.texi: Document MTASC-safety properties.
6893 * manual/syslog.texi: Document MTASC-safety properties.
6895 * manual/sysinfo.texi: Document MTASC-safety properties.
6897 * manual/startup.texi: Document MTASC-safety properties.
6899 * manual/socket.texi: Document MTASC-safety properties.
6901 * manual/signal.texi: Document MTASC-safety properties.
6903 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6905 * manual/setjmp.texi: Document MTASC-safety properties.
6907 * manual/search.texi: Document MTASC-safety properties.
6909 * manual/resource.texi: Document MTASC-safety properties.
6911 * manual/process.texi: Document MTASC-safety properties.
6913 * manual/platform.texi: Document MTASC-safety properties.
6915 * manual/pipe.texi: Document MTASC-safety properties.
6917 * manual/pattern.texi: Document MTASC-safety properties.
6919 * manual/message.texi: Document MTASC-safety properties.
6922 * manual/memory.texi: Document MTASC-safety properties.
6924 * manual/math.texi: Document MTASC-safety properties.
6926 * manual/locale.texi: Document MTASC-safety properties.
6928 * manual/llio.texi: Document MTASC-safety properties.
6930 * manual/libdl.texi: New.
6932 * manual/lang.texi: Document MTASC-safety properties.
6934 * manual/job.texi: Document MTASC-safety properties.
6936 * manual/getopt.texi: Document MTASC-safety properties.
6938 * manual/ctype.texi: Document MTASC-safety properties.
6940 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6943 * csu/libc-tls.c (static_map): Remove variable.
6944 (__libc_setup_tls): Use main executable's link map for TLS data.
6945 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6946 casing for LM_ID_BASE and GL(dl_nns).
6947 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6948 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6949 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6950 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6951 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6953 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6956 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6958 * manual/debug.texi: Document MTASC-safety properties.
6960 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6963 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6964 of __x86_64__ when disabling x87 inline functions.
6966 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6968 * manual/charset.texi: Document MTASC-safety properties.
6970 * manual/crypt.texi: Document MTASC-safety properties.
6972 * manual/conf.texi: Document MTASC-safety properties.
6974 * manual/arith.texi: Document MTASC-safety properties.
6976 * manual/argp.texi: Document MTASC-safety properties.
6978 * manual/macros.texi: Introduce macros to document multi
6979 thread, asynchronous signal and asynchronous cancellation
6981 * manual/intro.texi: Introduce the properties themselves.
6983 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6985 * sysdeps/sh/sh4/Makefile: New file.
6987 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6989 * math/gen-libm-test.pl ($srcdir): New variable.
6990 ($auto_input): Use it.
6992 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6995 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6996 access beyond array bounds when parsing netgroups file.
6998 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6999 the old buffer before realloc.
7001 2014-01-27 Allan McRae <allan@archlinux.org>
7003 * po/fr.po: Update French translation from translation project.
7005 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7007 * sysdeps/sh/libm-test-ulps: Regenerate.
7009 2014-01-24 David S. Miller <davem@davemloft.net>
7011 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7013 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7015 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7016 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7018 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7021 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7022 string pointers after reallocation.
7024 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7026 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7027 __SH4A__ instead of __SH_FPU_ANY__.
7029 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7031 * sysdeps/sh/fpu_control.h: New file.
7032 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7033 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7034 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7035 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7036 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7037 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7038 * sysdeps/sh/sys/ucontext.h: Remove.
7039 * sysdeps/sh/sys: Remove directory.
7041 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7043 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7044 s390/sys/ucontext.h.
7045 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7046 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7048 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7051 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7053 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7056 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7057 Adjust the vDSO correctly for internal calls.
7058 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7060 2014-01-20 Allan McRae <allan@archlinux.org>
7062 * po/ca.po: Update Catalan translation from translation project.
7064 2014-01-16 Mike Frysinger <vapier@gentoo.org>
7066 * sysdeps/s390/sotruss-lib.c: New file.
7068 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7071 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7072 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7073 local calls issues by not having a PLT stub required for IFUNC calls.
7074 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7076 2014-01-16 Joseph Myers <joseph@codesourcery.com>
7078 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7079 * math/test-fpucw-static.c: Likewise.
7081 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7084 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7086 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7089 implementation for powerpc.
7091 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
7094 * sysdeps/posix/system.c (__libc_system): Do not enable
7095 asynchronous cancellation.
7097 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7100 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7101 handling only for numbers special also in the IEEE case.
7103 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7105 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7107 2014-01-11 Allan McRae <allan@archlinux.org>
7109 * po/bg.po: Update Bulgarian translation from translation project.
7111 * po/de.po: Update German translation from translation project.
7113 2014-01-10 Roland McGrath <roland@hack.frob.com>
7115 * sysdeps/generic/gcc-compat.h: New file.
7117 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7119 * benchtests/asin-inputs: Correct slow inputs.
7120 * benchtests/acos-inputs: Likewise.
7122 2014-01-10 Allan McRae <allan@archlinux.org>
7124 * po:sv.po: Update Swedish translation from translation project.
7126 * po/vi.po: Update Vietnamese translation from translation project.
7128 * po/eo.po: Update Esperanto translation from translation project.
7130 * po/cs.po: Update Czech translation from translation project.
7132 * po/nl.po: Update Dutch translation from translation project.
7134 * po/pl.po: Update Polish translation from translation project.
7136 * po/ru.po: Update Russian translation from translation project.
7138 * po/uk.po: Update Ukrainian translation from translation project.
7140 2014-01-08 Brooks Moses <bmoses@google.com>
7142 * elf/dl-load.c: Fix comment typo.
7144 2014-01-08 Carlos O'Donell <carlos@redhat.com>
7146 * po/header.pot: Rename to...
7147 * po/pot.header: ... this.
7148 * po/Makefile: Use pot.header.
7150 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7151 Maxim Kuvyrkov <maxim@kugelworks.com>
7154 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7155 SRC and DEST against LEN.
7157 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7160 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7162 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7164 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7168 2014-01-08 Joseph Myers <joseph@codesourcery.com>
7171 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7172 for large positive arguments.
7174 2014-01-07 Joseph Myers <joseph@codesourcery.com>
7176 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7178 * math/auto-libm-test-in: Mark various tests with
7179 xfail-rounding:ldbl-128ibm.
7180 * math/auto-libm-test-out: Regenerated.
7183 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7184 Increase overflow threshold.
7186 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
7189 * stdio-common/vfprintf.c: Check for integer overflow.
7191 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7193 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7194 the first argument and return value of __tls_get_addr_internal.
7196 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7198 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7199 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7201 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7203 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7204 * sysdeps/s390/rtld-global-offsets.sym: New file.
7205 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7207 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7208 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7209 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7211 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7212 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7218 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7219 halfs of GPRs for high_gprs contexts.
7220 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7221 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7223 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7225 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7227 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7228 for high GPRs (uc_high_gprs) and for future extensions
7230 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7231 for future extensions (__reserved).
7232 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7234 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7235 SC_HIGHGPRS offset definition.
7236 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7237 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7239 * Versions.def: Add GLIBC_2.19 for libpthread.
7240 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7241 siglongjmp for libpthread with GLIBC_2.19 symver.
7242 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7243 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7244 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7245 * sysdeps/s390/__longjmp.c: New file.
7246 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7247 * sysdeps/s390/longjmp.c: New file.
7248 * sysdeps/s390/setjmp.S: New file.
7249 * sysdeps/s390/sigjmp.S: New file.
7250 * sysdeps/s390/v1-longjmp.c: New file.
7251 * sysdeps/s390/v1-setjmp.h: New file.
7252 * sysdeps/s390/v1-sigjmp.c: New file.
7253 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7254 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7256 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7257 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7258 versioned symbols for ____longjmp_chk.
7259 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7269 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7270 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7271 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7272 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7273 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7274 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7275 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7276 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7277 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7278 * sysdeps/s390/rtld-__longjmp.c: New file.
7279 * sysdeps/s390/rtld-setjmp.S: New file.
7281 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7284 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7285 Return -__logl (x) for small positive arguments without evaluating
7288 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7290 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7292 (__ptrace_peeksiginfo_args): ... this.
7293 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7294 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7295 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7297 2014-01-06 Allan McRae <allan@archlinux.org>
7299 * inet/netinet/in.h: Fix typo in comment.
7301 2014-01-05 Andreas Jaeger <aj@suse.de>
7303 * sysdeps/i386/fpu/libm-test-ulps: Update.
7305 2014-01-05 Allan McRae <allan@archlinux.org>
7307 * po/libc.pot: Regenerated.
7309 * malloc/memusagestat.c: Fix gettext call formatting.
7311 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7313 * nscd/nscd.c: Improve usage() output.
7315 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7317 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7318 * sysdeps/unix/sysv/linux/configure: Regenerated.
7319 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7320 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7322 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7325 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7326 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7328 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7330 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7331 extra tokens at end of #undef directive.
7332 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7333 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7334 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7336 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7338 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7340 * math/auto-libm-test-in: Mark various tests with
7341 xfail-rounding:ldbl-128ibm.
7342 * math/auto-libm-test-out: Regenerated.
7344 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7347 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7348 numbers with subnormal high part when calculating exponent.
7351 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7355 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7357 (__ieee754_acoshl): Use __log1pl not __log1p.
7359 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7361 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7362 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7363 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7364 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7365 (reused_arena, arena_get2): Convert to GNU style.
7366 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7367 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7368 (memalign_check, __malloc_set_state): Likewise.
7369 * malloc/mallocbug.c (main): Likewise.
7370 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7371 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7372 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7373 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7374 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7375 (__posix_memalign, malloc_info): Likewise.
7376 * malloc/malloc.h: Likewise.
7377 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7378 (mallochook, memalignhook, reallochook, mabort): Likewise.
7379 * malloc/mcheck.h: Likewise.
7380 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7381 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7382 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7383 * malloc/morecore.c (__default_morecore): Likewise.
7384 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7385 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7386 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7387 (print_and_abort): Likewise.
7388 * malloc/obstack.h: Likewise.
7389 * malloc/set-freeres.c (__libc_freeres): Likewise.
7390 * malloc/tst-mallocstate.c (main): Likewise.
7391 * malloc/tst-mtrace.c (main): Likewise.
7392 * malloc/tst-realloc.c (do_test): Likewise.
7394 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7397 * nscd/netgroupcache.c (do_notfound): New function.
7398 (addgetnetgrentX): Use it.
7401 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7402 NSS_STATUS_NOTFOUND.
7404 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7406 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7409 2014-01-01 Allan McRae <allan@archlinux.org>
7411 * scripts/update-copyrights: Update configure input file suffix.
7413 * NEWS: Update copyright year.
7414 * catgets/gencat.c: Likewise.
7415 * csu/version.c: Likewise.
7416 * debug/catchsegv.sh: Likewise.
7417 * debug/pcprofiledump.c: Likewise.
7418 * debug/xtrace.sh: Likewise.
7419 * elf/ldconfig.c: Likewise.
7420 * elf/ldd.bash.in: Likewise.
7421 * elf/pldd.c: Likewise.
7422 * elf/sotruss.ksh: Likewise.
7423 * elf/sprof.c: Likewise.
7424 * iconv/iconv_prog.c: Likewise.
7425 * iconv/iconvconfig.c: Likewise.
7426 * locale/programs/locale.c: Likewise.
7427 * locale/programs/localedef.c: Likewise.
7428 * login/programs/pt_chown.c: Likewise.
7429 * malloc/memusage.sh: Likewise.
7430 * malloc/memusagestat.c: Likewise.
7431 * malloc/mtrace.pl: Likewise.
7432 * manual/libc.texinfo: Likewise.
7433 * nscd/nscd.c: Likewise.
7434 * nss/getent.c: Likewise.
7435 * nss/makedb.c: Likewise.
7436 * posix/getconf.c: Likewise.
7437 * scripts/test-installation.pl: Likewise.
7439 * All files with FSF copyright notices: Update copyright dates
7440 using scripts/update-copyrights.
7441 * intl/plural.c: Regenerated.
7442 * locale/programs/charmap-kw.h: Likewise.
7443 * locale/programs/locfile-kw.h: Likewise.
7445 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7447 * sysdeps/unix/sysv/linux/configure: Regenerated.
7448 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7449 the linux/fanotify.h header.
7450 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7451 HAVE_LINUX_FANOTIFY_H is defined.
7453 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7455 * benchtests/cos-inputs: New inputs.
7456 * benchtests/sin-inputs: Likewise.
7458 * benchtests/atan-inputs: New inputs. Fix name of multiple
7459 precision fallback inputs.
7461 * benchtests/atanh-inputs: New inputs.
7462 * benchtests/tanh-inputs: Likewise.
7464 * benchtests/acosh-inputs: New inputs.
7465 * benchtests/asinh-inputs: Likewise.
7467 * benchtests/cosh-inputs: New inputs.
7468 * benchtests/sinh-inputs: Likewise.
7470 * benchtests/acos-inputs: Add more inputs.
7471 * benchtests/asin-inputs: Likewise.
7473 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7476 * manual/arith.texi: Fix spelling.
7477 * manual/charset.texi: Likewise.
7478 * manual/errno.texi: Likewise.
7479 * manual/filesys.texi: Likewise.
7480 * manual/lang.texi: Likewise.
7481 * manual/llio.texi: Likewise.
7482 * manual/locale.texi: Likewise.
7483 * manual/message.texi: Likewise.
7484 * manual/resource.texi: Likewise.
7485 * manual/search.texi: Likewise.
7486 * manual/setjmp.texi: Likewise.
7487 * manual/stdio.texi: Likewise.
7488 * manual/string.texi: Likewise.
7489 * manual/sysinfo.texi: Likewise.
7490 * manual/time.texi: Likewise.
7492 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7494 * po/sl.po: New file.
7496 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7498 * .gitignore: Add core/.gdbinit/.gdb_history.
7500 2013-12-27 Allan McRae <allan@archlinux.org>
7503 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7504 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7506 2013-12-24 Brooks Moses <bmoses@google.com>
7508 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7509 all compilers that claim C++98 compliance, not just GCC.
7510 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7513 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7515 * NEWS: Restore accidentally deleted bug-fix entries.
7517 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7518 Ondřej Bílka <neleai@seznam.cz>
7521 * malloc/malloc.c (_int_free): Perform sanity check only if we
7524 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7527 * manual/stdio.texi (String Input Conversions): Clarify that character
7528 classes are not supported.
7530 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7534 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7537 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7538 Calculate results for small negative arguments directly rather
7539 than using reflection formula with special underflow handling.
7541 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7542 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7543 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7544 (fchflags): Likewise.
7546 (setlogin): Likewise.
7547 (sigaltstack): Likewise.
7550 (sigsetmask): Likewise.
7552 (waitpid): Likewise.
7553 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7554 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7556 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7557 * sysdeps/unix/bsd/Makefile: ... here.
7558 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7559 * sysdeps/unix/bsd/Versions: ... here.
7560 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7561 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7562 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7563 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7564 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7565 * sysdeps/unix/bsd/sigblock.c: ... here.
7566 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7567 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7568 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7569 * sysdeps/unix/bsd/sigvec.c: ... here.
7570 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7571 * sysdeps/unix/bsd/tcdrain.c: ... here.
7572 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7573 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7574 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7575 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7576 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7577 * sysdeps/unix/bsd/wait.c: ... here.
7578 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7579 * sysdeps/unix/bsd/wait3.c: ... here.
7580 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7581 * sysdeps/unix/bsd/waitpid.c: ... here.
7583 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7586 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7587 round-to-nearest for [!USE_AS_EXPM1L].
7588 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7589 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7590 more tests of exp and exp10. Expect some exp10 tests to miss
7591 exceptions or fail in directed rounding modes.
7592 * math/auto-libm-test-out: Regenerated.
7593 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7594 (exp10_test_tonearest): New function.
7595 (exp10_towardzero_test_data): New array.
7596 (exp10_test_towardzero): New function.
7597 (exp10_downward_test_data): New array.
7598 (exp10_test_downward): New function.
7599 (exp10_upward_test_data): New array.
7600 (exp10_test_upward): New function.
7601 (main): Call the new functions.
7602 * sysdeps/i386/fpu/libm-test-ulps: Update.
7603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7605 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7607 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7608 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7609 * math/auto-libm-test-out: Regenerated.
7610 * math/libm-test.inc (acosh_test_data): Add more tests.
7611 (atanh_test_data): Likewise.
7612 (ceil_test_data): Likewise.
7613 (copysign_test_data): Likewise.
7614 * sysdeps/i386/fpu/libm-test-ulps: Update.
7615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7617 * timezone/checktab.awk: Update from tzcode 2013i.
7618 * timezone/private.h: Likewise.
7619 * timezone/scheck.c: Likewise.
7620 * timezone/tzfile.h: Likewise.
7621 * timezone/tzselect.ksh: Likewise.
7622 * timezone/zdump.c: Likewise.
7623 * timezone/zic.c: Likewise.
7625 * math/auto-libm-test-in: Add tests of cpow.
7626 * math/auto-libm-test-out: Regenerated.
7627 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7628 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7630 (func_calc_desc): Add mpc_cc_c union field.
7631 (test_functions): Add cpow.
7632 (special_fill_2pi): New function.
7633 (special_real_inputs): Add 2pi.
7634 (calc_generic_results): Handle mpc_cc_c.
7635 * sysdeps/i386/fpu/libm-test-ulps: Update.
7636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7638 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7639 csqrt, ctan and ctanh.
7640 * math/auto-libm-test-out: Regenerated.
7641 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7642 (TEST_COND_x86): Likewise.
7643 (ccos_test_data): Use AUTO_TESTS_c_c.
7644 (ccosh_test_data): Likewise.
7645 (cexp_test_data): Likewise.
7646 (clog_test_data): Likewise.
7647 (csqrt_test_data): Likewise.
7648 (ctan_test_data): Likewise.
7649 (ctan_tonearest_test_data): Likewise.
7650 (ctan_towardzero_test_data): Likewise.
7651 (ctan_downward_test_data): Likewise.
7652 (ctan_upward_test_data): Likewise.
7653 (ctanh_test_data): Likewise.
7654 (ctanh_tonearest_test_data): Likewise.
7655 (ctanh_towardzero_test_data): Likewise.
7656 (ctanh_downward_test_data): Likewise.
7657 (ctanh_upward_test_data): Likewise.
7658 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7660 (func_calc_desc): Add mpc_c_c union field.
7661 (FUNC_mpc_c_c): New macro.
7662 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7663 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7665 (special_fill_min_subnorm_p120): New function.
7666 (special_real_inputs): Add min_subnorm_p120.
7667 (calc_generic_results): Handle mpc_c_c.
7668 * sysdeps/i386/fpu/libm-test-ulps: Update.
7669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7671 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7673 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7674 (do_sin_slow): New functions.
7675 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7676 (cslow2, csloww1, csloww2): Use the new functions.
7678 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7679 Use M to change sign of result instead of X. Assume X is
7681 (csloww1): Likewise.
7685 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7690 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7692 (sloww1): Don't adjust sign of DX.
7693 (csloww1): Likewise.
7694 (sloww2): Use X directly and don't adjust sign of DX.
7695 (csloww2): Likewise.
7697 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7699 * math/auto-libm-test-in: Add tests of cabs and carg.
7700 * math/auto-libm-test-out: Regenerated.
7701 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7702 (carg_test_data): Likewise.
7703 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7705 (func_calc_desc): Add mpc_c_f union field.
7706 (test_functions): Add cabs and carg.
7707 (calc_generic_results): Handle mpc_c_f.
7709 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7710 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7711 as a macro and a compat symbol.
7712 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7713 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7714 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7715 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7716 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7717 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7719 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7721 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7723 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7725 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7727 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7729 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7730 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7733 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7737 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7739 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7740 trailing whitespace removed.
7741 * scripts/config.guess: Update to version 2013-11-29.
7742 * scripts/config.sub: Update to version 2013-10-01.
7744 * math/auto-libm-test-in: Add tests of sincos.
7745 * math/auto-libm-test-out: Regenerated.
7746 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7747 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7749 (func_calc_desc): Add mpfr_f_11 union field.
7750 (test_functions): Add sincos.
7751 (calc_generic_results): Handle mpfr_f_11.
7752 * sysdeps/i386/fpu/libm-test-ulps: Update.
7753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7755 2013-12-19 Andreas Schwab <schwab@suse.de>
7757 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7759 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7760 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7761 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7763 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7765 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7766 * sysdeps/i386/fpu/libm-test-ulps: Update.
7767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7770 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7771 round-to-nearest mode when using frndint.
7772 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7773 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7774 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7776 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7778 * math/auto-libm-test-out: Regenerated.
7779 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7780 (TEST_COND_x86): Likewise.
7781 (expm1_tonearest_test_data): New array.
7782 (expm1_test_tonearest): New function.
7783 (expm1_towardzero_test_data): New array.
7784 (expm1_test_towardzero): New function.
7785 (expm1_downward_test_data): New array.
7786 (expm1_test_downward): New function.
7787 (expm1_upward_test_data): New array.
7788 (expm1_test_upward): New function.
7789 (main): Run the new test functions.
7790 * sysdeps/i386/fpu/libm-test-ulps: Update.
7791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7793 * include/features.h: Update comment documenting feature test
7794 macros. Mention _DEFAULT_SOURCE in comment.
7795 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7796 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7797 _BSD_SOURCE and _SVID_SOURCE.
7798 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7799 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7800 !_SVID_SOURCE]: Likewise.
7801 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7802 (__USE_POSIX_IMPLICITLY): Define.
7803 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7804 (_POSIX_SOURCE): Undefine and redefine.
7805 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7806 (_POSIX_C_SOURCE): Likewise.
7807 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7808 (Feature Test Macros): Update documentation of default features.
7810 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7812 * benchtests/Makefile: Add bench-strtok.
7813 * benchtests/bench-strtok.c: New file: strtok benchtest.
7815 2013-12-19 Allan McRae <allan@archlinux.org>
7817 * manual/install.texi: Suppress menu for plain text output.
7818 * INSTALL: Regenerated.
7820 2013-12-18 Brooks Moses <bmoses@google.com>
7823 * misc/getauxval.c: Include errno.h.
7824 (__getauxval): Set errno to ENOENT if the requested type is not
7826 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7827 don't declare with __attribute_const__.
7828 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7829 * manual/startup.texi: Document that getauxval sets errno.
7831 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7833 * math/auto-libm-test-in: Add tests of jn and yn.
7834 * math/auto-libm-test-out: Regenerated.
7835 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7836 (yn_test_data): Likewise.
7837 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7839 (func_calc_desc): Add mpfr_if_f union field.
7840 (FUNC_mpfr_if_f): New macro.
7841 (test_functions): Add jn and yn.
7842 (calc_generic_results): Assert type of second input for
7843 mpfr_ff_f. Handle mpfr_if_f.
7844 (output_for_one_input_case): Disable all checking for arguments
7845 fitting floating-point types in case of an integer argument.
7846 * sysdeps/i386/fpu/libm-test-ulps: Update.
7847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7850 Don't expect fegetround reference in libm.so.
7852 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7854 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7855 $(config-cflags-nofma).
7857 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7859 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7860 * math/auto-libm-test-out: Regenerated.
7863 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7864 to determine exponent and adjust argument to have exponent of -1.
7865 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7867 * math/auto-libm-test-out: Regenerated.
7868 * sysdeps/i386/fpu/libm-test-ulps: Update.
7869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7871 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7873 * manual/probes.texi: Remove cases when per-thread arenas are
7876 2013-12-18 Andreas Schwab <schwab@suse.de>
7878 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7879 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7880 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7881 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7882 * sysdeps/i386/i686/multiarch/Makefile: Update.
7883 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7885 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7887 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7888 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7890 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7893 Support TZ transition times < 00:00:00.
7894 This is needed for version-3 tz-format files; it supports time
7895 stamps past 2037 for America/Godthab (the only entry in the tz
7896 database for which this change is relevant).
7897 * manual/time.texi (TZ Variable): Document transition times
7898 from -167:59:59 through -00:00:01.
7899 * time/tzset.c (tz_rule): Time of day is now signed.
7900 (__tzset_parse_tz): Parse negative time of day.
7902 Document TZ transition times >= 25:00:00.
7903 * manual/time.texi (TZ Variable): Document transition times from
7904 25:00:00 through 167:59:59. These are already supported, and this
7905 support will help with version-3 tz-format files.
7907 * manual/time.texi (TZ Variable): Modernize North America example
7908 to reflect current (i.e., 2007-and-later) daylight saving rules.
7910 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7912 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7914 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7915 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7916 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7918 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7919 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7920 * sysdeps/unix/bsd/clock.c: Likewise.
7921 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7922 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7923 * sysdeps/unix/bsd/init-posix.c: Likewise.
7924 * sysdeps/unix/bsd/poll.c: Likewise.
7925 * sysdeps/unix/bsd/ptsname.c: Likewise.
7926 * sysdeps/unix/bsd/seekdir.c: Likewise.
7927 * sysdeps/unix/bsd/setegid.c: Likewise.
7928 * sysdeps/unix/bsd/seteuid.c: Likewise.
7929 * sysdeps/unix/bsd/setgid.c: Likewise.
7930 * sysdeps/unix/bsd/setrgid.c: Likewise.
7931 * sysdeps/unix/bsd/setruid.c: Likewise.
7932 * sysdeps/unix/bsd/setsid.c: Likewise.
7933 * sysdeps/unix/bsd/setuid.c: Likewise.
7934 * sysdeps/unix/bsd/sigaction.c: Likewise.
7935 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7936 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7937 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7938 * sysdeps/unix/bsd/telldir.c: Likewise.
7939 * sysdeps/unix/bsd/times.c: Likewise.
7940 * sysdeps/unix/bsd/usleep.c: Likewise.
7942 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7943 ($(objpfx)libbsd-compat.a): Remove rule.
7945 * include/features.h (__FAVOR_BSD): Do not define.
7946 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7947 features conflicting with POSIX.
7948 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7949 (_BSD_SOURCE): Remove description of not being a subset of other
7950 feature test macros.
7951 * manual/job.texi (getpgrp): Do not document BSD version.
7952 (getpgid): Do not document by reference to BSD getpgrp.
7953 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7954 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7955 * signal/signal.h [__FAVOR_BSD]: Likewise.
7956 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7957 instead of making contents conditional on [__FAVOR_BSD].
7958 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7960 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7964 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7967 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7968 values below 2**-450, not 2**-500.
7969 * math/auto-libm-test-in: Don't allow spurious underflow from
7971 * math/auto-libm-test-out: Regenerated.
7975 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7976 values of ha and hb and sort them after adjusting subnormal
7978 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7980 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7981 values of ea and eb and sort them after adjusting subnormal
7983 * math/auto-libm-test-in: Do not expect some hypot tests of
7984 subnormals to fail. Add more hypot tests.
7985 * math/auto-libm-test-out: Regenerated.
7987 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7990 * sysdeps/sh/s_fma.c: New file.
7991 * sysdeps/sh/s_fmaf.c: New file.
7992 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7994 * sysdeps/sh/Implies: Add sh/soft-fp.
7996 2013-12-16 Roland McGrath <roland@hack.frob.com>
7998 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7999 level of indirection to members `objname', `errstring', `malloced'.
8000 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8001 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8002 it as the __longjmp argument (just pass 1 instead).
8003 (_dl_catch_error): Initialize C with argument pointers and address of
8004 volatile local ERRCODE rather than copying values out of C at return.
8006 2013-12-16 Joseph Myers <joseph@codesourcery.com>
8008 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8009 * math/auto-libm-test-out: Regenerated.
8010 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8011 (hypot_test_data): Likewise.
8012 (pow_test_data): Likewise.
8013 (pow_tonearest_test_data): Likewise.
8014 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8016 (func_calc_desc): Add mpfr_ff_f union field.
8017 (FUNC_mpfr_ff_f): New macro.
8018 (test_functions): Add atan2, hypot and pow.
8019 (special_fill_min): New function.
8020 (special_fill_minus_min): Likewise.
8021 (special_fill_min_subnorm): Likewise.
8022 (special_fill_minus_min_subnorm): Likewise.
8023 (special_real_inputs): Add min, -min, min_subnorm and
8025 (calc_generic_results): Handle mpfr_ff_f.
8026 * sysdeps/i386/fpu/libm-test-ulps: Update.
8027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8029 2013-12-16 Will Newton <will.newton@linaro.org>
8031 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8032 (Aligned Memory Blocks): Add documentation for aligned_alloc
8033 and suggest it as an alternative to posix_memalign.
8034 (Hooks for Malloc): Document __memalign_hook is also called
8035 for aligned_alloc. (Summary of Malloc): Add summary for
8036 aligned alloc. Document __memalign_hook is also called
8039 2013-12-16 Will Newton <will.newton@linaro.org>
8041 * manual/memory.texi (Malloc Examples): Clarify default
8042 alignment documentation. Suggest posix_memalign rather
8043 than memalign or valloc.
8044 (Aligned Memory Blocks): Remove suggestion to use memalign
8045 or valloc. Remove obsolete comment about BSD.
8046 Document memalign errno values and mark the function obsolete.
8047 Document posix_memalign returned error codes. Mark valloc
8048 as obsolete. (Hooks for Malloc): __memalign_hook is also
8049 called for posix_memalign and valloc.
8050 (Summary of Malloc): Add posix_memalign to function summary.
8051 __memalign_hook is also called for posix_memalign and valloc.
8053 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8055 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8059 (sloww): Use mynumber union. Expand ternary operator into
8061 (cslow): use mynumber union.
8063 2013-12-16 Allan McRae <allan@archlinux.org>
8065 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8066 * configure: Regenerated.
8068 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8071 * configure.ac: Added --enable-maintainer-mode. Check for
8072 autoconf when enabled.
8073 * configure: Regenerated.
8075 * nscd/nscd.service: New file.
8076 * nscd/nscd.tmpfiles: New file.
8078 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
8081 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8082 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8083 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8084 (strstr): Add __strstr_sse2_unaligned ifunc.
8085 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8086 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8087 (strcasestr): Remove __strcasestr_sse42 ifunc.
8088 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8092 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8094 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8095 * sysdeps/sh/bits/fenv.h: ... here.
8096 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8098 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8100 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8102 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8103 hypotf multiarch implementations.
8104 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8105 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8106 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8107 multiarch hypot for PPC64.
8108 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8109 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8110 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8111 multiarch hypotf for PPC64.
8113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8114 modff multiarch implementations.
8115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8118 multiarch modf for PPC64.
8119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8122 multiarch modff for PPC64.
8124 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8125 and logl multiarch implementations.
8126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8129 multiarch logb for PPC64.
8130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8133 multiarch logb for PPC64.
8134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8137 multiarch logb for PPC64.
8139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8140 isinff multiarch implementation.
8141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8145 multiarch isinf for PPC64.
8146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8149 multiarch isinff for PPC64.
8151 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8152 finitef multiarch implementation.
8153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8157 multiarch finite for PPC64.
8158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8161 multiarch finitef for PPC64.
8163 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8164 lrint multiarch implementation.
8165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8169 multiarch llrint for PPC64.
8170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8171 multiarch lrint for PPC64.
8173 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8174 copysignf multiarch implementation.
8175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8180 multiarch copysign for PPC64.
8181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8182 multiarch copysignf for PPC64.
8184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8185 multiarch implementation.
8186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8194 multiarch llround for PPC64.
8195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8196 multiarch trunc for PPC64.
8197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8198 multiarch truncf for PPC64.
8200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8201 multiarch implementation.
8202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8210 multiarch llround for PPC64.
8211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8212 multiarch round for PPC64.
8213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8214 multiarch roundf for PPC64.
8216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8217 multiarch implementation.
8218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8226 multiarch llround for PPC64.
8227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8228 multiarch floor for PPC64.
8229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8230 multiarch floorf for PPC64.
8232 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8233 multiarch implementation.
8234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8242 multiarch llround for PPC64.
8243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8244 multiarch ceil for PPC64.
8245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8246 multiarch ceilf for PPC64.
8248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8249 multiarch implementation.
8250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8257 multiarch llround for PPC64.
8258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8259 multiarch lround for PPC64.
8261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8262 multiarch implementation.
8263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8270 multiarch isnan for PPC64.
8271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8272 multiarch isnanf for PPC64.
8274 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8275 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8276 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8277 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8278 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8281 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8282 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8283 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8284 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8287 multiarch implementations.
8288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8289 (__libc_ifunc_impl_list): Likewise.
8290 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8291 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8292 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8293 multiarch stpcpy for PPC64.
8295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8296 multiarch implementations.
8297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8298 (__libc_ifunc_impl_list): Likewise.
8299 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8300 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8301 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8302 multiarch strcpy for PPC64.
8304 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8305 redefine function name.
8306 (_wordcopy_fwd_dest_aligned): Likewise.
8307 (_wordcopy_bwd_aligned): Likewise.
8308 (_wordcopy_bwd_dest_aligned): Likewise.
8309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8310 multiarch implementations.
8311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8312 (__libc_ifunc_impl_list): Likewise.
8313 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8314 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8315 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8316 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8317 multiarch wcscpy for PPC64.
8319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8320 multiarch implementations.
8321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8322 (__libc_ifunc_impl_list): Likewise.
8323 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8324 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8325 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8326 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8327 multiarch wcscpy for PPC64.
8329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8330 multiarch implementations.
8331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8332 (__libc_ifunc_impl_list): Likewise.
8333 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8334 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8335 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8336 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8337 multiarch wcsrchr for PPC64.
8339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8340 multiarch implementations.
8341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8342 (__libc_ifunc_impl_list): Likewise.
8343 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8344 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8345 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8346 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8347 multiarch wcschr for PPC64.
8349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8350 multiarch implementations.
8351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8352 (__libc_ifunc_impl_list): Likewise.
8353 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8354 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8355 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8356 multiarch strchrnul for PPC64.
8358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8361 (__libc_ifunc_impl_list): Likewise.
8362 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8363 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8364 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8365 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8371 (__libc_ifunc_impl_list): Likewise.
8372 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8373 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8374 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8375 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8379 multiarch implementations.
8380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8381 (__libc_ifunc_impl_list): Likewise.
8382 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8383 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8384 strncasecmp for PPC64.
8385 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8386 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8387 multiarch strncasecmp_l for PPC64.
8389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8390 multiarch implementations.
8391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8392 (__libc_ifunc_impl_list): Likewise.
8393 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8394 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8395 multiarch strcasecmp for PPC64.
8396 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8398 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8399 multiarch strcasecmp_l for PPC64.
8401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8404 (__libc_ifunc_impl_list): Likewise.
8405 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8406 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8407 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8413 (__libc_ifunc_impl_list): Likewise.
8414 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8415 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8416 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8422 (__libc_ifunc_impl_list): Likewise.
8423 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8424 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8425 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8426 rawmemrchr for PPC64.
8428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8431 (__libc_ifunc_impl_list): Likewise.
8432 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8433 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8434 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8440 (__libc_ifunc_impl_list): Likewise.
8441 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8442 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8443 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8449 (__libc_ifunc_impl_list): Likewise.
8450 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8451 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8452 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8455 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8456 avoid cretion of __bzero symbol.
8457 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8459 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8461 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8464 multiarch implementations.
8465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8466 (__libc_ifunc_impl_list): Likewise.
8467 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8468 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8469 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8470 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8472 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8473 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8474 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8475 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8476 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8478 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8480 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8484 (__libc_ifunc_impl_list): Likewise.
8485 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8486 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8487 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8488 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8492 multiarch for POWER/PPC64.
8493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8494 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8495 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8496 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8497 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8498 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8499 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8500 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8501 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8504 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8505 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8506 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8507 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8508 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8509 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8510 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8511 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8512 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8513 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8514 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8515 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8516 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8517 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8518 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8527 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8529 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8531 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8533 * benchtests/Makefile (bench): Add exp2 and log2.
8534 (LDLIBS-bench-exp2): Add -lm.
8535 (LDLIBS-bench-log2): Likewise.
8536 * benchtests/exp2-inputs: New inputs file.
8537 * benchtests/log2-inputs: New inputs file.
8538 * benchtests/log-inputs: Add new inputs.
8539 * benchtests/tan-inputs: Likewise.
8541 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8543 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8545 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8546 (csloww2): ... from here.
8548 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8549 instead of structures.
8550 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8551 (POLYNOMIAL): Likewise.
8552 (TAYLOR_SLOW): Likewise.
8560 (bsloww1): Likewise.
8561 (bsloww2): Likewise.
8564 (csloww1): Likewise.
8565 (csloww2): Likewise.
8567 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8569 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8570 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8571 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8572 * malloc/hooks.c (realloc_check): Likewise.
8574 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8575 * malloc/arena.c: Remove PER_THREAD conditional.
8576 [!PER_THREAD]: Remove code.
8577 (ptmalloc_unlock_all2): Likewise.
8578 (ptmalloc_init): Likewise.
8579 (_int_new_arena): Likewise.
8580 (arena_get2): Likewise.
8581 * malloc/hooks.c (__malloc_get_state): Likewise.
8582 (__malloc_set_state): Likewise.
8583 * malloc/malloc.c: Likewise.
8584 (struct malloc_state): Likewise.
8585 (struct malloc_par): Likewise.
8586 (__libc_realloc): Likewise.
8587 (__libc_mallopt): Likewise.
8589 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8591 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8593 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8595 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8596 macro to a function. Check for zero perturb_byte.
8597 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8599 * malloc/malloc.c: (force_reg): Remove.
8600 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8601 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8602 force_reg by atomic_forced_read.
8603 * malloc/arena.c (ptmalloc_init): Likewise.
8604 * malloc/hooks.c (top_check): Likewise.
8606 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8610 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8614 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8616 * math/auto-libm-test-in: Add tests of lgamma.
8617 * math/auto-libm-test-out: Regenerated.
8618 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8619 (M_LOG_2_SQRT_PIl): Likewise.
8620 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8621 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8623 (func_calc_desc): Add mpfr_f_f1 union field.
8632 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8633 (test_functions): Add lgamma.
8634 (calc_generic_results): Handle mpfr_f_f1.
8635 * sysdeps/i386/fpu/libm-test-ulps: Update.
8636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8638 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8640 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8641 __mpn_add_n for PowerPC64/POWER7.
8642 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8643 __mpn_sub_n for PowerPC64/POWER7.
8645 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8646 __mpn_addmul_1 for PowerPC64.
8647 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8648 __mpn_submul_1 for PowerPC64.
8649 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8651 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8654 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8657 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8659 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8661 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8663 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8664 add multiarch folders.
8665 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8666 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8667 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8668 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8669 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8670 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8671 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8672 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8673 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8674 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8675 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8684 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8690 multiarch __ieee754_hypot for PowerPC32.
8691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8696 multiarch __ieee754_hypotf for PowerPC32.
8698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8699 long_double_symbol only if __logbl is defined.
8700 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8701 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8702 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8703 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8704 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8705 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8706 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8707 path for implementation.
8708 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8709 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8711 logb, and logbl multiarch implementations for PowerPC32.
8712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8717 multiarch logb for PowerPC32.
8718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8723 multiarch logbf for PowerPC32.
8724 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8728 multiarch logbl implementation for PowerPC32.
8730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8731 and modff multiarch implementations.
8732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8737 multiarch modf for PowerPC32.
8738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8743 multiarch modff for PowerPC32.
8745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8746 and lrintf multiarch implementations.
8747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8752 multiarch lrint for PowerPC32.
8753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8754 file: multiarch lrintf for PowerPC32.
8756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8757 and lroundf multiarch implementations.
8758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8765 multiarch lround for PowerPC32.
8766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8767 file: multiarch lroundf for PowerPC32.
8769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8770 copysign and copysignf multiarch implementations.
8771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8776 file: multiarch copysign for PowerPC32.
8777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8778 file: multiarch copysignf for PowerPC32.
8780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8781 and truncf multiarch implementations.
8782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8787 multiarch trunc for PowerPC32.
8788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8793 multiarch truncf for PowerPC32.
8795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8796 and roundf multiarch implementations.
8797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8802 multiarch round for PowerPC32.
8803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8808 multiarch roundf for PowerPC32.
8810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8811 and floorf multiarch implementations.
8812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8817 multiarch floor for PowerPC32.
8818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8823 multiarch floorf for PowerPC32.
8825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8826 and ceilf multiarch implementations.
8827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8832 multiarch ceil for PowerPC32.
8833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8838 multiarch ceilf for PowerPC32.
8840 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8842 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8845 and finitef multiarch implementations.
8846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8851 multiarch finite for PowerPC32.
8852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8855 file: multiarch finitef for PowerPC32.
8857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8858 and isinff multiarch implementations.
8859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8864 multiarch isinf for PowerPC32.
8865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8868 multiarch isinff for PowerPC32.
8870 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8871 alias when __isnan is defined.
8872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8873 and isnanf multiarch implementations.
8874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8883 multiarch isnan for PowerPC32.
8884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8889 multiarch isnanf for PowerPC32.
8891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8892 and sqrtf multiarch implementations.
8893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8898 multiarch sqrt for PowerPC32.
8899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8904 multiarch sqrtf for PowerPC32.
8906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8907 and llroundf multiarch implementations.
8908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8915 file: multiarch llround for PowerPC32.
8916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8917 file: multiarch llroundf for PowerPC32.
8919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8920 multiarch PowerPC32 fpu implementations.
8921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8926 multiarch llrint for PowerPC32.
8927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8936 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8938 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8940 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8942 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8943 multiarch wordcopy for PPC32.
8944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8947 (__libc_ifunc_impl_list): Likewise.
8948 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8949 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8950 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8951 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8952 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8953 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8955 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8956 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8958 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8963 multiarch wcscpy for PPC32.
8964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8967 (__libc_ifunc_impl_list): Likewise.
8968 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8969 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8970 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8971 sysdeps/powerpc/power6/wcscpy.c.
8973 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8974 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8976 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8978 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8981 multiarch wcsrchr for PPC32.
8982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8985 (__libc_ifunc_impl_list): Likewise.
8986 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8987 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8988 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8989 sysdeps/powerpc/power6/wcsrchr.c.
8991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8993 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8996 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8997 multiarch wcschr for PPc32.
8998 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9000 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9001 (__libc_ifunc_impl_list): Likewise.
9002 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9003 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9004 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9005 sysdeps/powerpc/power6/wcschr.c.
9007 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9008 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9010 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9011 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9012 file: multiarch strchr for PPC32.
9013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9016 (__libc_ifunc_impl_list): Likewise.
9018 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9020 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9022 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9024 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9025 multiarch strchrnul for PPC32.
9026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9029 (__libc_ifunc_impl_list): Likewise.
9031 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9033 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9034 multiarch strncasecmp for PPC32.
9035 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9037 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9038 multiarch strncasecmp_l for PPC32.
9039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9040 strncasecmp multiarch objects.
9041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9042 (__libc_ifunc_impl_list): Likewise.
9044 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9046 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9047 multiarch strncasecmp for PPC32.
9048 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9050 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9051 multiarch strcasecmp_l for PPC32.
9052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9055 (__libc_ifunc_impl_list): Likewise.
9057 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9059 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9061 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9062 multiarch strncmp for PPC32.
9063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9066 (__libc_ifunc_impl_list): Likewise.
9068 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9069 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9071 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9072 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9076 (__libc_ifunc_impl_list): Likewise.
9078 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9080 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9082 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9086 (__libc_ifunc_impl_list): Likewise.
9088 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9090 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9092 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9093 multiarch rawmemchr for PPC32.
9094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9096 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9097 (__libc_ifunc_impl_list): Likewise.
9099 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9101 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9103 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9104 file: memrchr multiarch for PPC32.
9105 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9107 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9108 (__libc_ifunc_impl_list): Likewise.
9110 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9111 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9113 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9114 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9115 multiarch memchr for PPC32.
9116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9118 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9119 (__libc_ifunc_impl_list): Likewise.
9121 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9122 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9124 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9126 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9127 file: multiarch mempcpy for PPC32.
9128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9131 (__libc_ifunc_impl_list): Likewise.
9133 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9134 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9135 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9136 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9137 multiarch bzero for PPC32.
9138 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9140 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9142 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9143 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9144 file: multiarch memset for PPC32.
9145 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9147 memset multiarch objects.
9148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9149 (__libc_ifunc_impl_list): Likewise.
9151 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9153 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9154 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9156 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9160 (__libc_ifunc_impl_list): Likewise.
9162 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9163 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9164 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9166 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9168 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9170 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9171 multiarch memcpy for PPC32.
9172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9175 (__libc_ifunc_impl_list): Likewise.
9177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9178 support multiarch for POWER/PPC32.
9179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9181 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9183 Implies file to make multiarch folder appers before the fpu and
9184 default folder for power4 configuration.
9186 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9188 * scripts/bench.pl: Append volatile keyword to type.
9190 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9192 * sysdeps/sh/sotruss-lib.c: New file.
9193 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9195 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9199 2013-12-05 Joseph Myers <joseph@codesourcery.com>
9202 * math/w_tgamma.c: Include <errno.h>.
9203 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9204 * math/w_tgammaf.c: Include <errno.h>.
9205 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9206 * math/w_tgammal.c: Include <errno.h>.
9207 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9208 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9209 underflow. Add more tgamma tests.
9210 * math/auto-libm-test-out: Regenerated.
9211 * sysdeps/i386/fpu/libm-test-ulps: Update.
9212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9214 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9215 sin, sinh, tan, tanh, tgamma, y0 and y1.
9216 * math/auto-libm-test-out: Regenerated.
9217 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9218 (TEST_COND_x86): Likewise.
9219 (M_E2l): Remove macro.
9221 (M_2_SQRT_PIl): Likewise.
9222 (M_SQRT_PIl): Likewise.
9223 (M_1_DIV_El): Likewise.
9224 (log_test_data): Use AUTO_TESTS_f_f.
9225 (log10_test_data): Likewise.
9226 (log1p_test_data): Likewise.
9227 (log2_test_data): Likewise.
9228 (sin_test_data): Likewise.
9229 (sin_tonearest_test_data): Likewise.
9230 (sin_towardzero_test_data): Likewise.
9231 (sin_downward_test_data): Likewise.
9232 (sin_upward_test_data): Likewise.
9233 (sinh_test_data): Likewise.
9234 (sinh_tonearest_test_data): Likewise.
9235 (sinh_towardzero_test_data): Likewise.
9236 (sinh_downward_test_data): Likewise.
9237 (sinh_upward_test_data): Likewise.
9238 (tan_test_data): Likewise.
9239 (tan_tonearest_test_data): Likewise.
9240 (tan_towardzero_test_data): Likewise.
9241 (tan_downward_test_data): Likewise.
9242 (tan_upward_test_data): Likewise.
9243 (tanh_test_data): Likewise.
9244 (tgamma_test_data): Likewise.
9245 (y0_test_data): Likewise.
9246 (y1_test_data): Likewise.
9247 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9248 (special_real_inputs): Add pi/4.
9249 * sysdeps/i386/fpu/libm-test-ulps: Update.
9250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9252 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9254 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9255 "longjmp_target" static probes.
9256 (__longjmp): Rename to __longjmp_symbol.
9257 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9258 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9259 on which longjmp to generate.
9260 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9261 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9263 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9264 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9265 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9266 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9267 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9268 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9270 __longjmp_symbol based on which __longjmp to generate.
9271 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9273 (setjmp): Rename to setjmp_symbol.
9274 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9275 (_setjmp): Rename to _setjmp_symbol.
9276 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9277 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9278 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9279 which setjmp to generate.
9280 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9281 "longjmp_target" static probes.
9283 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9285 * benchtests/README: Add note about output arguments.
9286 * benchtests/bench-sincos.c: Remove file.
9287 * benchtests/sincos-inputs: New file.
9288 * scripts/bench.pl: Identify output arguments and define
9289 static variables for them.
9291 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9294 * Makefile (INSTALL): Add install-plain.texi as the primary
9296 * manual/install-plain.texi: New file.
9297 * manual/install.texi: Include node directive only for
9298 non-plaintext output.
9300 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9302 * stdlib/longlong.h: Update from GCC.
9306 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9307 * math/w_j0f.c (y0f): Likewise.
9308 * math/w_j0l.c (__y0l): Likewise.
9309 * math/w_j1.c (y1): Likewise.
9310 * math/w_j1f.c (y1f): Likewise.
9311 * math/w_j1l.c (__y1l): Likewise
9312 * math/w_jn.c (yn): Likewise.
9313 * math/w_jnf.c (ynf): Likewise.
9314 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9315 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9316 value for Bessel function domain errors outside _SVID_ mode.
9317 Adjust sign of return value for yn (negative integer, 0).
9318 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9319 by zero in return for negative x and set sign appropriately for
9321 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9322 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9323 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9324 expectations in error cases.
9325 (y1_test_data): Likewise.
9326 (yn_test_data): Likewise.
9327 * sysdeps/i386/fpu/libm-test-ulps: Update.
9328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9330 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9332 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9333 "64" to "64-v1". Add "64-v2".
9334 (abi-64-options): Rename to ...
9335 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9336 (abi-64-condition): Rename to ...
9337 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9338 (abi-64-ld-soname): Rename to ...
9339 (abi-64-v1-ld-soname): ... this.
9340 (abi-64-v2-options): Define.
9341 (abi-64-v2-condition): Likewise.
9342 (abi-64-v2-ld-soname): Likewise.
9343 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9344 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9349 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9350 Alan Modra <amodra@gmail.com>
9352 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9353 New versions for use with the ELFv2 ABI.
9354 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9355 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9357 (struct La_ppc64v2_retval): Likewise.
9358 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9359 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9360 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9361 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9362 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9363 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9364 Do not save or restore CR.
9365 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9366 (_dl_profile_resolve): Do no save or restore CR. Support extended
9367 return values for ELFv2 ABI. Fix location of FPR return registers.
9368 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9369 updated values for _CALL_ELF == 2.
9370 (La_regs, La_retval, int_retval): Likewise.
9372 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9374 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9375 (FRAME_MIN_SIZE_PARM): Likewise.
9376 (FRAME_BACKCHAIN): Likewise.
9377 (FRAME_CR_SAVE): Likewise.
9378 (FRAME_LR_SAVE): Likewise.
9379 (FRAME_TOC_SAVE): Likewise.
9380 (FRAME_PARM_SAVE): Likewise.
9381 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9382 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9383 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9384 (call_mcount_parm_offset): New macro.
9385 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9386 (PROF): Use symbolic stack frame offsets.
9387 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9388 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9389 Redefine in terms of FRAME_MIN_SIZE.
9390 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9391 (_dl_profile_resolve): Likewise. Update comment.
9392 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9393 symbols stack frame offsets.
9394 (__sigsetjmp): Likewise.
9395 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9396 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9397 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9398 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9401 (FRAME_BACKCHAIN): Remove.
9402 (FRAME_CR_SAVE): Likewise.
9403 (FRAME_LR_SAVE): Likewise.
9404 (FRAME_COMPILER_DW): Likewise.
9405 (FRAME_LINKER_DW): Likewise.
9406 (FRAME_TOC_SAVE): Likewise.
9407 (FRAME_PARM_SAVE): Likewise.
9408 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9409 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9410 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9412 (CHECK_SP): Use symbolic stack frame offsets.
9413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9414 zone" instead of caller's parameter save area for temp storage.
9415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9416 Likewise. Also, use symbolic stack frame offsets.
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9418 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9419 our own stack frame instead of the caller's.
9420 (__socket): Use symbolic stack frame offsets.
9422 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9423 Alan Modra <amodra@gmail.com>
9425 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9427 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9428 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9429 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9431 (elf_machine_fixup_plt): Call it.
9432 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9434 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9435 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9436 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9437 r2 before calling target.
9439 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9440 Alan Modra <amodra@gmail.com>
9442 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9443 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9444 versions of macros to support ELFv2 ABI.
9445 (LOCALENTRY): New macro.
9446 (ENTRY, EALIGN): Use it.
9447 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9448 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9449 fall through into ENTRY entry point.
9450 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9451 Only define if _CALL_ELF != 2.
9453 (elf_machine_matches_host): Verify ABI version matches.
9454 (RTLD_START): Use LOCALENTRY.
9455 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9456 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9457 (PLT_ENTRY_WORDS): New macro.
9458 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9459 (elf_machine_runtime_setup): Support ELFv2 ABI.
9460 (elf_machine_fixup_plt): Likewise.
9461 (elf_machine_plt_conflict): Likewise.
9462 (resolve_ifunc): Likewise.
9463 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9464 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9467 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9469 (makecontext): Support ELFv2 ABI.
9470 * elf/elf.h (EF_PPC64_ABI): Define.
9472 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9474 * sysdeps/powerpc/powerpc64/sysdep.h
9475 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9476 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9477 (ENTRY) [ASSEMBLER]: ... but instead here ...
9478 (EALIGN) [ASSEMBLER]: ... and here.
9479 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9480 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9481 (ENTRY_2) [!ASSEMBLER]: Use it.
9482 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9483 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9484 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9485 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9486 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9488 Use PPC64_LOAD_FUNCPTR.
9490 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9492 2013-12-04 Alan Modra <amodra@gmail.com>
9494 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9495 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9496 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9497 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9500 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9501 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9502 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9503 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9504 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9506 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9509 (__makecontext): Fix incorrect CFI when backtracing out of
9510 context created via makecontext.
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9512 (__setcontext): Fix incorrect CFI during switch to new context.
9513 (__novec_setcontext): Likewise.
9515 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9518 * time/strptime_l.c (__strptime_internal): Allow modifiers
9520 * time/tst-strptime.c (day_tests): Add testcase.
9522 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9524 * scripts/bench.pl: Skip over blank lines.
9526 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9529 * manual/time.texi (Calendar Time): Clarify what timezone functions
9532 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9536 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9538 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9540 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9541 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9542 * debug/memset_chk.c (__memset_chk): Likewise.
9543 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9544 * debug/strncpy_chk.c: Likewise.
9546 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9550 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9551 (__ieee754_exp): For possibly underflowing results, check size of
9552 result and force underflow exception if required.
9553 * math/auto-libm-test-in: Add more tests of exp.
9554 * math/auto-libm-test-out: Regenerated.
9555 * sysdeps/i386/fpu/libm-test-ulps: Update.
9556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9559 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9560 * math/w_exp2f.c (__exp2f): Likewise.
9561 * math/w_exp2l.c (__exp2l): Likewise.
9562 * math/auto-libm-test-in: Do not allow missing errno on exp2
9564 * math/auto-libm-test-out: Regenerated.
9566 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9569 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9570 handle filename validation.
9571 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9574 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9577 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9578 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9579 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9581 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9582 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9583 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9584 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9585 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9586 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9587 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9588 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9589 Add more erfc tests.
9590 * math/auto-libm-test-out: Regenerated.
9591 * sysdeps/i386/fpu/libm-test-ulps: Update.
9592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9594 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9595 exp2, expm1, j0 and j1.
9596 * math/auto-libm-test-out: Regenerated.
9597 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9598 (erfc_test_data): Likewise.
9599 (exp_test_data): Likewise.
9600 (exp_tonearest_test_data): Likewise.
9601 (exp_towardzero_test_data): Likewise.
9602 (exp_downward_test_data): Likewise.
9603 (exp_upward_test_data): Likewise.
9604 (exp10_test_data): Likewise.
9605 (exp2_test_data): Likewise.
9606 (expm1_test_data): Likewise.
9607 (j0_test_data): Likewise.
9608 (j1_test_data): Likewise.
9609 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9610 (input_flag_type): Add flag_xfail_rounding.
9611 (input_flags): Add xfail-rounding.
9612 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9613 (output_for_one_input_case): Handle flag_xfail_rounding.
9614 * sysdeps/i386/fpu/libm-test-ulps: Update.
9615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9617 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9620 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9623 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9626 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9627 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9628 (STAP_PROBE0): New macro.
9629 (STAP_PROBE1): Likewise.
9630 (STAP_PROBE2): Likewise.
9631 (STAP_PROBE3): Likewise.
9632 (STAP_PROBE4): Likewise.
9634 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9636 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9638 2013-12-02 Steve Ellcey <sellcey@mips.com>
9640 * benchtests/Makefile (bench): Add sqrt.
9641 (LDLIBS-bench-sqrt): New.
9642 * benchtests/sqrt-input: New.
9644 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9646 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9647 (GAIH_EAI): Likewise.
9648 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9649 (gaih_inet): Likewise.
9650 (getaddrinfo): Don't use GAIH_EAI.
9652 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9653 (struct gaih): Remove definition.
9655 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9657 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9658 Use HERRNOP directly.
9660 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9664 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9666 * math/gen-auto-libm-tests.c (test_functions): Add more
9667 single-argument functions.
9668 (special_fill_pi_2): New function.
9669 (special_fill_minus_pi_2): Likewise.
9670 (special_fill_pi_6): Likewise.
9671 (special_fill_minus_pi_6): Likewise.
9672 (special_fill_pi_3): Likewise.
9673 (special_fill_2pi_3): Likewise.
9674 (special_fill_e): Likewise.
9675 (special_fill_1_e): Likewise.
9676 (special_fill_e_minus_1): Likewise.
9677 (special_real_inputs): Add more special inputs.
9678 (output_for_one_input_case): Do not require ERANGE on underflow to
9679 zero if round-to-nearest result does not underflow to zero, unless
9680 exact results required.
9681 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9682 atan, atanh, cbrt, cos and cosh.
9683 * math/auto-libm-test-out: Regenerated.
9684 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9685 (acos_tonearest_test_data): Likewise.
9686 (acos_towardzero_test_data): Likewise.
9687 (acos_downward_test_data): Likewise.
9688 (acos_upward_test_data): Likewise.
9689 (acosh_test_data): Likewise.
9690 (asin_test_data): Likewise.
9691 (asin_tonearest_test_data): Likewise.
9692 (asin_towardzero_test_data): Likewise.
9693 (asin_upward_test_data): Likewise.
9694 (asinh_test_data): Likewise.
9695 (atan_test_data): Likewise.
9696 (atanh_test_data): Likewise.
9697 (cbrt_test_data): Likewise.
9698 (cos_test_data): Likewise.
9699 (cos_tonearest_test_data): Likewise.
9700 (cos_towardzero_test_data): Likewise.
9701 (cos_downward_test_data): Likewise.
9702 (cos_upward_test_data): Likewise.
9703 (cosh_test_data): Likewise.
9704 (cosh_tonearest_test_data): Likewise.
9705 (cosh_towardzero_test_data): Likewise.
9706 (cosh_downward_test_data): Likewise.
9707 (cosh_upward_test_data): Likewise.
9708 * sysdeps/i386/fpu/libm-test-ulps: Update.
9709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9711 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9714 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9715 * math/w_exp10f.c (__exp10f): Likewise.
9716 * math/w_exp10l.c (__exp10l): Likewise.
9717 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9718 errno settings in existing tests.
9721 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9722 precision control set to double precision.
9723 * sysdeps/i386/fpu/w_sqrt.c: New file.
9724 * math/auto-libm-test-in: Add more tests.
9725 * math/auto-libm-test-out: Update.
9727 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9728 (sqrt_test_tonearest): New function.
9729 (sqrt_towardzero_test_data): New variable.
9730 (sqrt_test_towardzero): New function.
9731 (sqrt_downward_test_data): New variable.
9732 (sqrt_test_downward): New function.
9733 (sqrt_upward_test_data): New variable.
9734 (sqrt_test_upward): New function.
9735 (main): Call the new functions.
9737 * math/gen-auto-libm-tests.c: New file.
9738 * math/auto-libm-test-in: Likewise.
9739 * math/auto-libm-test-out: New generated file.
9740 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9742 (%beautify): Add generated representations of zero.
9743 (top level): Set $auto_input and call parse_auto_input.
9744 (beautify): Remove trailing "f" from hex float constants.
9745 (parse_args): Handle XFAIL_TEST.
9746 (convert_condition): New function.
9747 (or_value): Likewise.
9748 (or_cond_value): Likewise.
9749 (generate_testfile): Handle AUTO_TESTS_* lines.
9750 (parse_auto_input): New function.
9751 * math/libm-test.inc (XFAIL_TEST): New macro.
9752 (ERRNO_UNCHANGED): Update value.
9753 (ERRNO_EDOM): Likewise.
9754 (ERRNO_ERANGE): Likewise.
9755 (IGNORE_RESULT): Likewise.
9756 (TEST_COND_flt_32): New macro.
9757 (TEST_COND_dbl_64): Likewise.
9758 (TEST_COND_ldbl_96_intel): Likewise.
9759 (TEST_COND_ldbl_96_m68k): Likewise.
9760 (TEST_COND_ldbl_128): Likewise.
9761 (TEST_COND_ldbl_128ibm): Likewise.
9762 (TEST_COND_long32): Likewise.
9763 (TEST_COND_long64): Likewise.
9764 (TEST_COND_before_rounding): Likewise.
9765 (TEST_COND_after_rounding): Likewise.
9766 (enable_test): Handle XFAIL_TEST flag.
9767 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9768 with finite results.
9769 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9772 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9773 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9776 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9777 __tls_get_addr_internal instead of __tls_get_offset in order to
9778 avoid GOT pointer dependency. Make rtld export
9779 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9780 __tls_get_addr since we are a __tls_get_offset platform.
9781 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9782 GOT pointer being set up before.
9783 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9785 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9787 * manual/math.texi (Errors in Math Functions): Document accuracy
9791 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9792 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9795 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9796 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9797 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9802 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9803 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9808 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9809 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9810 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9811 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9812 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9814 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9816 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9818 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9819 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9820 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9821 atomic-feupdateenv and flt-rounds.
9822 * sysdeps/powerpc/nofpu/Versions (libc): Add
9823 __atomic_feholdexcept, __atomic_feclearexcept,
9824 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9825 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9826 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9827 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9828 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9833 * manual/arith.texi (FP Exceptions): Document that exceptions may
9834 not be raised when matherr is used.
9835 (Math Error Reporting): Document overflow in directed rounding
9836 modes. Document that errno may not be set when finite values are
9837 returned on overflow. Document intent to set errno on underflow
9838 only for underflow to zero.
9841 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9842 round-to-nearest then adjust result for other rounding modes.
9843 * include/fenv.h (fegetround): Use libm_hidden_proto.
9844 * math/fegetround.c (fegetround): Use libm_hidden_def.
9845 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9846 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9847 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9848 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9850 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9851 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9852 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9853 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9855 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9858 * nss/Versions (libnss_files): Add
9859 _nss_files_gethostbyname3_r.
9860 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9862 (HOST_DB_LOOKUP): Remove macro.
9863 (_nss_files_gethostbyname_r): Implement function without the
9864 HOST_DB_LOOKUP macro.
9865 (_nss_files_gethostbyname2_r): Likewise.
9867 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9869 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9871 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9873 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9874 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9877 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9879 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9880 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9881 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9882 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9883 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9884 __fe_nomask_env_priv and attribute_hidden.
9885 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9886 (libc_feupdateenv_test_ppc): Likewise.
9887 (libc_feresetround_ppc): Likewise.
9888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9889 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9890 compat_symbol macro.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9892 (__fe_nomask_env): Likewise.
9893 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9895 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9897 * string/Makefile: Remove ifunc tests.
9898 * string/test-string.h: Define TEST_IFUNC.
9899 * string/test-bcopy-ifunc.c: Remove.
9900 * string/test-bzero-ifunc.c: Likewise.
9901 * string/test-memccpy-ifunc.c: Likewise.
9902 * string/test-memchr-ifunc.c: Likewise.
9903 * string/test-memcmp-ifunc.c: Likewise.
9904 * string/test-memcpy-ifunc.c: Likewise.
9905 * string/test-memmem-ifunc.c: Likewise.
9906 * string/test-memmove-ifunc.c: Likewise.
9907 * string/test-mempcpy-ifunc.c: Likewise.
9908 * string/test-memrchr-ifunc.c: Likewise.
9909 * string/test-memset-ifunc.c: Likewise.
9910 * string/test-rawmemchr-ifunc.c: Likewise.
9911 * string/test-stpcpy-ifunc.c: Likewise.
9912 * string/test-stpncpy-ifunc.c: Likewise.
9913 * string/test-strcasecmp-ifunc.c: Likewise.
9914 * string/test-strcasestr-ifunc.c: Likewise.
9915 * string/test-strcat-ifunc.c: Likewise.
9916 * string/test-strchr-ifunc.c: Likewise.
9917 * string/test-strchrnul-ifunc.c: Likewise.
9918 * string/test-strcmp-ifunc.c: Likewise.
9919 * string/test-strcpy-ifunc.c: Likewise.
9920 * string/test-strcspn-ifunc.c: Likewise.
9921 * string/test-strlen-ifunc.c: Likewise.
9922 * string/test-strncasecmp-ifunc.c: Likewise.
9923 * string/test-strncat-ifunc.c: Likewise.
9924 * string/test-strncmp-ifunc.c: Likewise.
9925 * string/test-strncpy-ifunc.c: Likewise.
9926 * string/test-strnlen-ifunc.c: Likewise.
9927 * string/test-strpbrk-ifunc.c: Likewise.
9928 * string/test-strrchr-ifunc.c: Likewise.
9929 * string/test-strspn-ifunc.c: Likewise.
9930 * string/test-strstr-ifunc.c: Likewise.
9932 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9934 * benchtests/Makefile: Remove ifunc tests.
9935 * benchtests/bench-string.h: Define TEST_IFUNC.
9936 * benchtests/bench-bcopy-ifunc.c: Remove.
9937 * benchtests/bench-bzero-ifunc.c: Likewise.
9938 * benchtests/bench-memccpy-ifunc.c: Likewise.
9939 * benchtests/bench-memchr-ifunc.c: Likewise.
9940 * benchtests/bench-memcmp-ifunc.c: Likewise.
9941 * benchtests/bench-memcpy-ifunc.c: Likewise.
9942 * benchtests/bench-memmem-ifunc.c: Likewise.
9943 * benchtests/bench-memmove-ifunc.c: Likewise.
9944 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9945 * benchtests/bench-memrchr-ifunc.c: Likewise.
9946 * benchtests/bench-memset-ifunc.c: Likewise.
9947 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9948 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9949 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9950 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9951 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9952 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9953 * benchtests/bench-strcat-ifunc.c: Likewise.
9954 * benchtests/bench-strchr-ifunc.c: Likewise.
9955 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9956 * benchtests/bench-strcmp-ifunc.c: Likewise.
9957 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9958 * benchtests/bench-strcpy-ifunc.c: Likewise.
9959 * benchtests/bench-strcspn-ifunc.c: Likewise.
9960 * benchtests/bench-strlen-ifunc.c: Likewise.
9961 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9962 * benchtests/bench-strncat-ifunc.c: Likewise.
9963 * benchtests/bench-strncmp-ifunc.c: Likewise.
9964 * benchtests/bench-strncpy-ifunc.c: Likewise.
9965 * benchtests/bench-strnlen-ifunc.c: Likewise.
9966 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9967 * benchtests/bench-strrchr-ifunc.c: Likewise.
9968 * benchtests/bench-strsep-ifunc.c: Likewise.
9969 * benchtests/bench-strspn-ifunc.c: Likewise.
9970 * benchtests/bench-strstr-ifunc.c: Likewise.
9972 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9974 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9976 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9978 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9979 * rt/aio.h: Likewise.
9980 * sysdeps/gnu/bits/utmp.h: Likewise.
9981 * sysdeps/gnu/bits/utmpx.h: Likewise.
9982 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9983 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9984 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9985 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9986 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9987 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9988 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9989 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9990 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9991 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9992 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9993 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9994 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9996 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9997 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9998 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9999 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10000 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10001 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10002 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10003 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10004 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10005 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10006 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10008 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10009 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10010 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10011 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10012 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10013 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10014 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10015 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10016 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10017 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10018 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10019 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10020 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10021 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10022 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10023 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10025 2013-11-25 Carlos O'Donell <carlos@redhat.com>
10028 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10029 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10031 2013-11-25 Joseph Myers <joseph@codesourcery.com>
10033 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10034 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10037 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10039 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10040 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10041 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10042 (__fesetround): Remove define.
10043 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10044 rounding and exceptions handling.
10045 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10046 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10047 (__fe_nomask_env): Likewise.
10048 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10049 __fegetround instead of fegetround.
10050 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10051 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10053 2013-11-21 Roland McGrath <roland@hack.frob.com>
10055 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10058 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10060 2013-11-21 Meador Inge <meadori@codesourcery.com>
10063 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10064 (encrypt_r): Likewise.
10065 * malloc/obstack.h (obstack_free): Likewise.
10066 * posix/unistd.h (encrypt): Likewise.
10068 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10070 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10071 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10072 DL_CALL_DT_FINI() that call the functions directly.
10073 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10074 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10075 * elf/dl-fini.c: Likewise.
10077 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
10079 * malloc/hooks.c (memalign_check): Add alignment rounding.
10080 * malloc/malloc.c (_mid_memalign): New function.
10081 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10082 Implement by calling _mid_memalign.
10083 * manual/probes.texi (Memory Allocation Probes): Remove
10084 memory_valloc_retry and memory_pvalloc_retry.
10086 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10088 * locale/programs/locarchive.c (open_archive): Add const
10089 qualifier to ARCHIVEFNAME and copy default fname to
10093 * libio/tst-widetext.input: Rename Oriya to Odia.
10094 * locale/iso-639.def: Likewise.
10096 * manual/probes.texi (Mathematical Function Probes): Add
10097 documentation for sin, cos, asin and acos probes.
10098 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10099 (__sin32): Add slowasin probe.
10100 (__cos32): Add slowacos probe.
10101 (__mpsin): Add slowsin probe.
10102 (__mpcos): Add slowcos probe.
10104 2013-11-19 Joseph Myers <joseph@codesourcery.com>
10107 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10108 thread-local __sim_exceptions_thread and global
10109 __sim_exceptions_global.
10110 (__sim_disabled_exceptions): Change to thread-local
10111 __sim_disabled_exceptions_thread and global
10112 __sim_disabled_exceptions_global.
10113 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10114 and global __sim_round_mode_global.
10115 (__simulate_exceptions): Use thread-local floating-point state and
10116 set global state from it as needed.
10117 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10118 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10119 __sim_round_mode_thread.
10120 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10121 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10122 and global __sim_exceptions_global.
10123 (__sim_disabled_exceptions): Change to thread-local
10124 __sim_disabled_exceptions_thread and global
10125 __sim_disabled_exceptions_global.
10126 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10127 and global __sim_round_mode_global.
10128 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10129 (SIM_SET_GLOBAL): Likewise.
10130 * sysdeps/powerpc/soft-fp/sfp-machine.h
10131 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10132 __sim_round_mode_thread.
10133 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10134 __sim_disabled_exceptions_thread.
10135 (__sim_exceptions): Change to __sim_exceptions_thread.
10136 (__sim_disabled_exceptions): Change to
10137 __sim_disabled_exceptions_thread.
10138 (__sim_round_mode): Change to __sim_round_mode_thread.
10139 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10140 thread-local floating-point state and set global state from it as
10142 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10143 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10144 (__sim_disabled_exceptions): Remove extern declaration.
10145 (feenableexcept): Use thread-local floating-point state and set
10146 global state from it as needed.
10147 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10148 extern declaration.
10149 (__sim_disabled_exceptions): Likewise.
10150 (__sim_round_mode): Likewise.
10151 (__fegetenv): Use thread-local floating-point state.
10152 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10153 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10154 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10155 floating-point state and set global state from it as needed.
10156 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10157 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10158 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10160 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10161 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10163 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10164 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10165 Use __sim_round_mode_thread.
10166 * math/test-fenv-tls.c: New file.
10167 * math/Makefile (tests): Add test-fenv-tls.
10168 ($(objpfx)test-fenv-tls): Depend on
10169 $(common-objpfx)nptl/libpthread.so.
10171 2013-11-19 Andreas Schwab <schwab@suse.de>
10173 * locale/programs/locale.c (show_info): Decode wordarray elements.
10174 * locale/categories.def (LC_MONETARY): Add element for
10175 _NL_MONETARY_CRNCYSTR.
10176 * locale/C-monetary.c (conversion_rate): New variable.
10177 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10180 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10182 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10183 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10185 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10187 * elf/Makefile (tst-auxv): New test.
10188 * elf/tst-auxv.c: New
10189 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10191 2013-11-18 Joseph Myers <joseph@codesourcery.com>
10193 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10194 (hidden_proto): Caller changed.
10195 (hidden_tls_proto): New macro.
10196 (libc_hidden_tls_proto): Likewise.
10197 (rtld_hidden_tls_proto): Likewise.
10198 (libm_hidden_tls_proto): Likewise.
10199 (libresolv_hidden_tls_proto): Likewise.
10200 (librt_hidden_tls_proto): Likewise.
10201 (libdl_hidden_tls_proto): Likewise.
10202 (libnss_files_hidden_tls_proto): Likewise.
10203 (libnsl_hidden_tls_proto): Likewise.
10204 (libnss_nisplus_hidden_tls_proto): Likewise.
10205 (libutil_hidden_tls_proto): Likewise.
10207 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
10210 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10211 (decompose_rpath): Defer expansion to fillin_rpath.
10212 (_dl_init_paths): Pass linkmap to fillin_rpath.
10214 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10216 * benchtests/Makefile: Add strsep.
10217 * benchtests/bench-strsep.c: New file: strsep benchtest.
10218 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10220 2013-11-18 Andreas Schwab <schwab@suse.de>
10222 * locale/programs/locale.c (show_info) [case byte]: Check for
10223 '\377' instead of '\177'.
10224 * locale/C-monetary.c (not_available): Always use "\377".
10225 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10226 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10227 detect unavailable sign_posn locale elements.
10228 * locale/localeconv.c (__localeconv): For grouping and
10229 mon_grouping handle "\177" and "\377" like no grouping.
10230 (INT_ELEM): New macro. Use it to set all numeric members.
10231 * locale/programs/ld-monetary.c (monetary_read)
10232 <tok_mon_grouping>: Normalize single -1 to the empty string.
10233 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10236 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10239 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10240 when we match (nil).
10241 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10243 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10245 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10246 (NO_TEST_INLINE): Update value.
10247 (ERRNO_UNCHANGED): Likewise.
10248 (ERRNO_EDOM): Likewise.
10249 (ERRNO_ERANGE): Likewise.
10250 (IGNORE_RESULT): Likewise.
10251 (check_float_internal): Check signs of NaN results if
10252 TEST_NAN_SIGN used.
10253 (check_complex): Pass TEST_NAN_SIGN flag through to second
10254 check_float_internal call.
10255 (copysign_test_data): Add tests with quiet NaNs as second
10256 argument. Use TEST_NAN_SIGN.
10257 (fabs_test_data): Add test of negative quiet NaN argument. Use
10259 (signbit_test_data): Add tests of quiet NaN argument.
10260 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10262 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10264 (parse_args): Handle function results specified as IGNORE.
10265 * math/libm-test.inc (IGNORE_RESULT): New macro.
10266 (check_float_internal): Do not check numerical result if flag
10268 (check_complex): Pass through IGNORE_RESULT to second
10269 check_float_internal call.
10270 (check_int): Do not check numerical result if flag IGNORE_RESULT
10272 (check_long): Likewise.
10273 (check_bool): Likewise.
10274 (check_longlong): Likewise.
10275 (lrint_test_data): Add tests of infinite and NaN arguments.
10276 (lrint_tonearest_test_data): Likewise.
10277 (lrint_towardzero_test_data): Likewise.
10278 (lrint_downward_test_data): Likewise.
10279 (lrint_upward_test_data): Likewise.
10280 (llrint_test_data): Likewise.
10281 (llrint_tonearest_test_data): Likewise.
10282 (llrint_towardzero_test_data): Likewise.
10283 (llrint_downward_test_data): Likewise.
10284 (llrint_upward_test_data): Likewise.
10285 (lround_test_data): Likewise.
10286 (llround_test_data): Likewise.
10288 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10289 (ERRNO_UNCHANGED): Update value.
10290 (ERRNO_EDOM): Likewise.
10291 (ERRNO_ERANGE): Likewise.
10292 (NO_TEST_INLINE_FLOAT): New macro.
10293 (NO_TEST_INLINE_DOUBLE): Likewise.
10294 (enable_test): New function.
10295 (RUN_TEST_f_f): Check enable_test before running test.
10296 (RUN_TEST_2_f): Likewise.
10297 (RUN_TEST_fff_f): Likewise.
10298 (RUN_TEST_c_f): Likewise.
10299 (RUN_TEST_f_f1): Likewise.
10300 (RUN_TEST_fF_f1): Likewise.
10301 (RUN_TEST_fI_f1): Likewise.
10302 (RUN_TEST_ffI_f1): Likewise.
10303 (RUN_TEST_c_c): Likewise.
10304 (RUN_TEST_cc_c): Likewise.
10305 (RUN_TEST_f_i): Likewise.
10306 (RUN_TEST_f_i_tg): Likewise.
10307 (RUN_TEST_ff_i_tg): Likewise.
10308 (RUN_TEST_f_b): Likewise.
10309 (RUN_TEST_f_b_tg): Likewise.
10310 (RUN_TEST_f_l): Likewise.
10311 (RUN_TEST_f_L): Likewise.
10312 (RUN_TEST_fFF_11): Likewise.
10313 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10315 (cosh_test_data): Likewise.
10316 (exp_test_data): Likewise.
10317 (expm1_test_data): Likewise.
10318 (hypot_test_data): Likewise.
10319 (pow_test_data): Likewise.
10320 (sinh_test_data): Likewise.
10321 (tanh_test_data): Likewise.
10322 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10325 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10326 tests with quiet NaN input and output.
10327 (acosh_test_data): Likewise.
10328 (asin_test_data): Likewise.
10329 (asinh_test_data): Likewise.
10330 (atan_test_data): Likewise.
10331 (atanh_test_data): Likewise.
10332 (atan2_test_data): Likewise.
10333 (cbrt_test_data): Likewise.
10334 (cos_test_data): Likewise.
10335 (cosh_test_data): Likewise.
10336 (erf_test_data): Likewise.
10337 (erfc_test_data): Likewise.
10338 (exp_test_data): Likewise.
10339 (exp10_test_data): Likewise.
10340 (exp2_test_data): Likewise.
10341 (expm1_test_data): Likewise.
10342 (hypot_test_data): Likewise.
10343 (j0_test_data): Likewise.
10344 (j1_test_data): Likewise.
10345 (jn_test_data): Likewise.
10346 (lgamma_test_data): Likewise.
10347 (log_test_data): Likewise.
10348 (log10_test_data): Likewise.
10349 (log1p_test_data): Likewise.
10350 (log2_test_data): Likewise.
10351 (pow_test_data): Likewise.
10352 (scalb_test_data): Likewise.
10353 (sin_test_data): Likewise.
10354 (sincos_test_data): Likewise.
10355 (sinh_test_data): Likewise.
10356 (tan_test_data): Likewise.
10357 (tanh_test_data): Likewise.
10358 (tgamma_test_data): Likewise.
10359 (y0_test_data): Likewise.
10360 (y1_test_data): Likewise.
10361 (yn_test_data): Likewise.
10364 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10365 argument being NaN and avoid computations with second argument in
10367 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10368 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10369 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10371 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10373 * locale/iso-639.def: Add Chitwani Tharu (the).
10375 2013-11-14 Andreas Schwab <schwab@suse.de>
10377 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10378 word instead of empty string.
10380 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10383 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10385 (__fe_nomask_env): Likewise.
10387 2013-11-13 Steve Ellcey <sellcey@mips.com>
10389 * benchtests/bench-timing.h: Include time.h.
10391 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10394 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10396 * sysdeps/unix/sysv/linux/configure: Regenerated.
10398 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10401 * stdlib/strtod_l.c (round_and_return): Do not consider
10402 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10403 exponent one less than half the least subnormal exponent.
10404 * stdlib/test-strtod-round-data: Add more tests.
10405 * stdlib/tst-strtod-round.c (tests): Regenerated.
10407 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10410 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10411 (__fe_mask_env): Likewise.
10412 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10413 libm_hidden_proto and add function prototype.
10414 (__fe_mask_env): Add function prototype.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10416 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10418 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10420 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10422 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10424 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10425 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10427 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10429 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10430 of htab_find_slot().
10432 2013-11-11 David S. Miller <davem@davemloft.net>
10435 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10436 symbol in the non-vis3 case in static builds.
10437 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10438 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10439 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10440 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10442 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10445 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10448 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10450 * benchtests/Makefile: Add bench-strtod.
10451 * benchtests/bench-strtod.c: New file: strtod benchtest
10453 2013-11-11 Andreas Schwab <schwab@suse.de>
10456 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10457 terminating NUL in key length.
10459 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10461 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10462 Add artificial ODP entry for vDSO symbol for PPC64.
10463 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10464 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10466 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10469 * nss/getent.c (services_keys): Recognize services starting with digit.
10471 2013-11-06 David S. Miller <davem@davemloft.net>
10474 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10475 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10477 2013-11-06 Will Newton <will.newton@linaro.org>
10479 * manual/memory.texi (Malloc Examples): Remove register
10480 keyword from examples.
10482 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10484 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10486 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10489 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10490 depending on [__GCC_IEC_559 > 0].
10491 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10492 depending on [__GCC_IEC_559_COMPLEX > 0].
10494 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10496 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10499 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10501 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10503 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10506 * malloc/malloc (malloc_info): Do not handle first bin as
10509 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10511 * locale/iso-639.def: Add Central Nahuatl (nhn).
10513 2013-11-01 Bruno Haible <bruno@clisp.org>
10516 * manual/math.texi (BSD Random): Specify range upper bound as
10519 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10521 * locale/iso-639.def: Add Meadow Mari (mhr).
10523 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10525 [BZ #14752], [BZ #15763]
10526 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10528 * rt/tst_shm.c: Add test for escaping directory.
10530 2013-10-31 Andreas Schwab <schwab@suse.de>
10533 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10534 followed by 'x' as part of digit sequence.
10535 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10537 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10540 * configure.ac: allow GNU Make 4.0 and greater.
10541 * configure: Regenerated.
10543 2013-10-30 Will Newton <will.newton@linaro.org>
10546 * malloc/hooks.c (memalign_check): Limit alignment to the
10547 maximum representable power of two.
10548 * malloc/malloc.c (__libc_memalign): Likewise.
10549 * malloc/tst-memalign.c (do_test): Add test for very
10550 large alignment values.
10551 * malloc/tst-posix_memalign.c (do_test): Likewise.
10553 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10556 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10557 (munmap_chunk): Likewise.
10558 (mremap_chunk): Likewise.
10560 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10563 * stdlib/div.c (div): Remove obsolete code.
10564 * stdlib/ldiv.c (ldiv): Likewise.
10565 * stdlib/lldiv.c (lldiv): Likewise.
10567 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10570 * nss/nss_files/files-XXX.c (get_contents_ret): New
10572 (get_contents): New function.
10573 (internal_getent): Use it. Expand size of LINEBUFLEN.
10575 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10577 * configure.in: Moved to ...
10578 * configure.ac: ... here. Change reference to configure.in
10580 * sysdeps/arm/preconfigure.ac: ... here.
10581 configure.in to configure.ac.
10582 * sysdeps/gnu/configure.in: Moved to ...
10583 * sysdeps/gnu/configure.ac: ... here.
10584 * sysdeps/i386/configure.in: Moved to ...
10585 * sysdeps/i386/configure.ac: ... here.
10586 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10587 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10588 * sysdeps/mach/configure.in: Moved to ...
10589 * sysdeps/mach/configure.ac: ... here.
10590 * sysdeps/mach/hurd/configure.in: Moved to ...
10591 * sysdeps/mach/hurd/configure.ac: ... here.
10592 * sysdeps/powerpc/configure.in: Moved to ...
10593 * sysdeps/powerpc/configure.ac: ... here.
10594 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10595 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10596 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10597 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10598 * sysdeps/s390/s390-32/configure.in: Moved to ...
10599 * sysdeps/s390/s390-32/configure.ac: ... here.
10600 * sysdeps/s390/s390-64/configure.in: Moved to ...
10601 * sysdeps/s390/s390-64/configure.ac: ... here.
10602 * sysdeps/sh/configure.in: Moved to ...
10603 * sysdeps/sh/configure.ac: ... here.
10604 * sysdeps/sparc/configure.in: Moved to ...
10605 * sysdeps/sparc/configure.ac: ... here.
10606 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10607 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10608 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10609 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10610 * sysdeps/x86_64/configure.in: Moved to ...
10611 * sysdeps/x86_64/configure.ac: ... here.
10612 * sysdeps/x86_64/preconfigure.in: Moved to ...
10613 * sysdeps/x86_64/preconfigure.ac: ... here.
10614 * aclocal.m4: Change reference to configure.in to configure.ac.
10615 * config.h.in: Likewise.
10616 * manual/install.texi: Likewise.
10617 * manual/maint.texi: Likewise.
10618 * Makefile: Likewise.
10619 * malloc/Makefile: Likewise.
10620 * nscd/Makefile: Likewise.
10621 * Makeconfig: Change reference to configure.in and
10622 preconfigure.in to configure.ac and preconfigure.ac
10624 * INSTALL: Regenerated.
10625 * configure: Likewise.
10626 * sysdeps/gnu/configure: Likewise.
10627 * sysdeps/i386/configure: Likewise.
10628 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10629 * sysdeps/mach/configure: Likewise.
10630 * sysdeps/mach/hurd/configure: Likewise.
10631 * sysdeps/powerpc/configure: Likewise.
10632 * sysdeps/powerpc/powerpc32/configure: Likewise.
10633 * sysdeps/powerpc/powerpc64/configure: Likewise.
10634 * sysdeps/s390/s390-32/configure: Likewise.
10635 * sysdeps/s390/s390-64/configure: Likewise.
10636 * sysdeps/sh/configure: Likewise.
10637 * sysdeps/sparc/configure: Likewise.
10638 * sysdeps/unix/sysv/linux/configure: Likewise.
10639 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10640 * sysdeps/x86_64/configure: Likewise.
10641 * sysdeps/x86_64/preconfigure: Likewise.
10643 2013-10-29 Andreas Schwab <schwab@suse.de>
10645 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10647 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10649 * benchtests/pow-inputs: Add new inputs.
10651 * benchtests/exp-inputs: Add new inputs.
10653 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10654 conditional check for return value.
10655 (__cos32): Likewise.
10657 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10659 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10660 to provide a boost for large inputs with word alignment.
10661 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10662 implementation based on optimized PPC64 strcpy.
10663 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10664 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10665 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10666 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10668 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10671 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10673 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10676 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10677 * time/tst-strptime.c (day_tests): Add testcase.
10679 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10682 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10684 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10687 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10688 MAP_FAILED on error.
10690 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10693 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10694 heap for large requests.
10696 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10699 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10700 result if the result has no associated interface.
10701 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10702 interface for all 127.X.Y.Z addresses.
10704 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10706 * locale/iso-639.def: Add Ligurian (lij)
10708 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10711 * sunrpc/rpc_main.c: Document rpcgen -5.
10713 2013-10-19 Michael Stahl <mstahl@redhat.com>
10715 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10717 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10720 * posix/glob.c: Match only directories when trailing slash is present.
10721 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10722 (main): Add testcase.
10724 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10727 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10729 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10731 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10732 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10733 AUTH_DES and cindex for FIPS 140-2.
10734 (DES Encryption): Add cindex FIPS 46-3.
10736 * locale/locarchive.h (struct locarhandle): Add fname.
10737 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10738 if an optional argument was specified to --list-archive,
10740 * locale/programs/locarchive.c (show_archive_content): Take new
10741 argument fname and pass it via ah.fname to open_archive.
10742 * locale/programs/localedef.h: Update decl.
10743 (open_archive): If AH->fname is non-null, open that file
10744 rather than the default file name, and don't ignore ENOENT.
10745 (create_archive): Set AH.fname to NULL.
10746 (delete_locales_from_archive): Likewise.
10747 (add_locales_to_archive): Likewise.
10748 * locale/programs/locfile.c (write_all_categories): Likewise.
10750 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10751 Aldy Hernandez <aldyh@redhat.com>
10753 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10754 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10755 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10756 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10757 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10758 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10759 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10760 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10761 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10762 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10763 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10764 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10765 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10766 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10767 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10769 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10771 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10773 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10775 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10776 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10778 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10779 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10780 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10781 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10783 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10784 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10785 * sysdeps/powerpc/preconfigure: Likewise.
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10788 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10789 Replace contents of file by #include of <fenv_libc.h>.
10790 * sysdeps/powerpc/soft-fp/sfp-machine.h
10791 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10793 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10794 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10795 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10796 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10797 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10798 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10800 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10801 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10802 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10803 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10804 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10806 Allow copysignl PLT reference to be missing.
10808 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10809 Joseph Myers <joseph@codesourcery.com
10812 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10814 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10816 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10818 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10819 * elf/tst-tls1.c: Likewise.
10820 * elf/tst-tls10.h: Likewise.
10821 * elf/tst-tls14.c: Likewise.
10822 * elf/tst-tls2.c: Likewise.
10823 * elf/tst-tls3.c: Likewise.
10824 * elf/tst-tls4.c: Likewise.
10825 * elf/tst-tls5.c: Likewise.
10826 * elf/tst-tls6.c: Likewise.
10827 * elf/tst-tls7.c: Likewise.
10828 * elf/tst-tls8.c: Likewise.
10829 * elf/tst-tls9.c: Likewise.
10830 * elf/tst-tlsmod1.c: Likewise.
10831 * elf/tst-tlsmod13.c: Likewise.
10832 * elf/tst-tlsmod13a.c: Likewise.
10833 * elf/tst-tlsmod14a.c: Likewise.
10834 * elf/tst-tlsmod16a.c: Likewise.
10835 * elf/tst-tlsmod16b.c: Likewise.
10836 * elf/tst-tlsmod2.c: Likewise.
10837 * elf/tst-tlsmod3.c: Likewise.
10838 * elf/tst-tlsmod4.c: Likewise.
10839 * elf/tst-tlsmod5.c: Likewise.
10840 * elf/tst-tlsmod6.c: Likewise.
10842 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10845 * malloc/malloc.c: remove checks for statistics.
10847 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10850 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10851 * inet/tst-network.c: Add testcase.
10853 2013-10-17 Andreas Schwab <schwab@suse.de>
10856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10857 to determine canonical name.
10859 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10861 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10862 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10864 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10866 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10867 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10868 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10869 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10870 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10871 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10872 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10873 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10876 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10879 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10885 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10886 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10890 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10891 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10893 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10895 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10896 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10897 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10898 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10899 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10900 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10901 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10902 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10903 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10920 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10923 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10924 make result into a quiet NaN.
10926 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10928 * soft-fp/adddf3.c: Fix horizontal whitespace.
10929 * soft-fp/addsf3.c: Likewise.
10930 * soft-fp/addtf3.c: Likewise.
10931 * soft-fp/divdf3.c: Likewise.
10932 * soft-fp/divsf3.c: Likewise.
10933 * soft-fp/divtf3.c: Likewise.
10934 * soft-fp/double.h: Likewise.
10935 * soft-fp/eqdf2.c: Likewise.
10936 * soft-fp/eqsf2.c: Likewise.
10937 * soft-fp/eqtf2.c: Likewise.
10938 * soft-fp/extenddftf2.c: Likewise.
10939 * soft-fp/extended.h: Likewise.
10940 * soft-fp/extendsfdf2.c: Likewise.
10941 * soft-fp/extendsftf2.c: Likewise.
10942 * soft-fp/extendxftf2.c: Likewise.
10943 * soft-fp/fixdfdi.c: Likewise.
10944 * soft-fp/fixdfsi.c: Likewise.
10945 * soft-fp/fixdfti.c: Likewise.
10946 * soft-fp/fixsfdi.c: Likewise.
10947 * soft-fp/fixsfsi.c: Likewise.
10948 * soft-fp/fixsfti.c: Likewise.
10949 * soft-fp/fixtfdi.c: Likewise.
10950 * soft-fp/fixtfsi.c: Likewise.
10951 * soft-fp/fixtfti.c: Likewise.
10952 * soft-fp/fixunsdfdi.c: Likewise.
10953 * soft-fp/fixunsdfsi.c: Likewise.
10954 * soft-fp/fixunsdfti.c: Likewise.
10955 * soft-fp/fixunssfdi.c: Likewise.
10956 * soft-fp/fixunssfsi.c: Likewise.
10957 * soft-fp/fixunssfti.c: Likewise.
10958 * soft-fp/fixunstfdi.c: Likewise.
10959 * soft-fp/fixunstfsi.c: Likewise.
10960 * soft-fp/fixunstfti.c: Likewise.
10961 * soft-fp/floatdidf.c: Likewise.
10962 * soft-fp/floatdisf.c: Likewise.
10963 * soft-fp/floatditf.c: Likewise.
10964 * soft-fp/floatsidf.c: Likewise.
10965 * soft-fp/floatsisf.c: Likewise.
10966 * soft-fp/floatsitf.c: Likewise.
10967 * soft-fp/floattidf.c: Likewise.
10968 * soft-fp/floattisf.c: Likewise.
10969 * soft-fp/floattitf.c: Likewise.
10970 * soft-fp/floatundidf.c: Likewise.
10971 * soft-fp/floatundisf.c: Likewise.
10972 * soft-fp/floatunditf.c: Likewise.
10973 * soft-fp/floatunsidf.c: Likewise.
10974 * soft-fp/floatunsisf.c: Likewise.
10975 * soft-fp/floatunsitf.c: Likewise.
10976 * soft-fp/floatuntidf.c: Likewise.
10977 * soft-fp/floatuntisf.c: Likewise.
10978 * soft-fp/floatuntitf.c: Likewise.
10979 * soft-fp/fmadf4.c: Likewise.
10980 * soft-fp/fmasf4.c: Likewise.
10981 * soft-fp/fmatf4.c: Likewise.
10982 * soft-fp/gedf2.c: Likewise.
10983 * soft-fp/gesf2.c: Likewise.
10984 * soft-fp/getf2.c: Likewise.
10985 * soft-fp/ledf2.c: Likewise.
10986 * soft-fp/lesf2.c: Likewise.
10987 * soft-fp/letf2.c: Likewise.
10988 * soft-fp/muldf3.c: Likewise.
10989 * soft-fp/mulsf3.c: Likewise.
10990 * soft-fp/multf3.c: Likewise.
10991 * soft-fp/negdf2.c: Likewise.
10992 * soft-fp/negsf2.c: Likewise.
10993 * soft-fp/negtf2.c: Likewise.
10994 * soft-fp/op-1.h: Likewise.
10995 * soft-fp/op-2.h: Likewise.
10996 * soft-fp/op-4.h: Likewise.
10997 * soft-fp/op-8.h: Likewise.
10998 * soft-fp/op-common.h: Likewise.
10999 * soft-fp/quad.h: Likewise.
11000 * soft-fp/single.h: Likewise.
11001 * soft-fp/soft-fp.h: Likewise.
11002 * soft-fp/sqrtdf2.c: Likewise.
11003 * soft-fp/sqrtsf2.c: Likewise.
11004 * soft-fp/sqrttf2.c: Likewise.
11005 * soft-fp/subdf3.c: Likewise.
11006 * soft-fp/subsf3.c: Likewise.
11007 * soft-fp/subtf3.c: Likewise.
11008 * soft-fp/truncdfsf2.c: Likewise.
11009 * soft-fp/trunctfdf2.c: Likewise.
11010 * soft-fp/trunctfsf2.c: Likewise.
11011 * soft-fp/trunctfxf2.c: Likewise.
11012 * soft-fp/unorddf2.c: Likewise.
11013 * soft-fp/unordsf2.c: Likewise.
11014 * soft-fp/unordtf2.c: Likewise.
11016 2013-10-15 Joseph Myers <joseph@codesourcery.com>
11018 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11019 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11021 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
11023 * elf/dl-libc.c: Clear initfini list after freeing.
11025 2013-10-14 Joseph Myers <joseph@codesourcery.com>
11027 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11028 * soft-fp/addsf3.c: Likewise.
11029 * soft-fp/addtf3.c: Likewise.
11030 * soft-fp/divdf3.c: Likewise.
11031 * soft-fp/divsf3.c: Likewise.
11032 * soft-fp/divtf3.c: Likewise.
11033 * soft-fp/double.h: Likewise.
11034 * soft-fp/eqdf2.c: Likewise.
11035 * soft-fp/eqsf2.c: Likewise.
11036 * soft-fp/eqtf2.c: Likewise.
11037 * soft-fp/extenddftf2.c: Likewise.
11038 * soft-fp/extended.h: Likewise.
11039 * soft-fp/extendsfdf2.c: Likewise.
11040 * soft-fp/extendsftf2.c: Likewise.
11041 * soft-fp/extendxftf2.c: Likewise.
11042 * soft-fp/fixdfdi.c: Likewise.
11043 * soft-fp/fixdfsi.c: Likewise.
11044 * soft-fp/fixdfti.c: Likewise.
11045 * soft-fp/fixsfdi.c: Likewise.
11046 * soft-fp/fixsfsi.c: Likewise.
11047 * soft-fp/fixsfti.c: Likewise.
11048 * soft-fp/fixtfdi.c: Likewise.
11049 * soft-fp/fixtfsi.c: Likewise.
11050 * soft-fp/fixtfti.c: Likewise.
11051 * soft-fp/fixunsdfdi.c: Likewise.
11052 * soft-fp/fixunsdfsi.c: Likewise.
11053 * soft-fp/fixunsdfti.c: Likewise.
11054 * soft-fp/fixunssfdi.c: Likewise.
11055 * soft-fp/fixunssfsi.c: Likewise.
11056 * soft-fp/fixunssfti.c: Likewise.
11057 * soft-fp/fixunstfdi.c: Likewise.
11058 * soft-fp/fixunstfsi.c: Likewise.
11059 * soft-fp/fixunstfti.c: Likewise.
11060 * soft-fp/floatdidf.c: Likewise.
11061 * soft-fp/floatdisf.c: Likewise.
11062 * soft-fp/floatditf.c: Likewise.
11063 * soft-fp/floatsidf.c: Likewise.
11064 * soft-fp/floatsisf.c: Likewise.
11065 * soft-fp/floatsitf.c: Likewise.
11066 * soft-fp/floattidf.c: Likewise.
11067 * soft-fp/floattisf.c: Likewise.
11068 * soft-fp/floattitf.c: Likewise.
11069 * soft-fp/floatundidf.c: Likewise.
11070 * soft-fp/floatundisf.c: Likewise.
11071 * soft-fp/floatunsidf.c: Likewise.
11072 * soft-fp/floatunsisf.c: Likewise.
11073 * soft-fp/floatuntidf.c: Likewise.
11074 * soft-fp/floatuntisf.c: Likewise.
11075 * soft-fp/floatuntitf.c: Likewise.
11076 * soft-fp/fmadf4.c: Likewise.
11077 * soft-fp/fmasf4.c: Likewise.
11078 * soft-fp/fmatf4.c: Likewise.
11079 * soft-fp/gedf2.c: Likewise.
11080 * soft-fp/gesf2.c: Likewise.
11081 * soft-fp/getf2.c: Likewise.
11082 * soft-fp/ledf2.c: Likewise.
11083 * soft-fp/lesf2.c: Likewise.
11084 * soft-fp/letf2.c: Likewise.
11085 * soft-fp/muldf3.c: Likewise.
11086 * soft-fp/mulsf3.c: Likewise.
11087 * soft-fp/multf3.c: Likewise.
11088 * soft-fp/negdf2.c: Likewise.
11089 * soft-fp/negsf2.c: Likewise.
11090 * soft-fp/negtf2.c: Likewise.
11091 * soft-fp/op-1.h: Likewise.
11092 * soft-fp/op-2.h: Likewise.
11093 * soft-fp/op-4.h: Likewise.
11094 * soft-fp/op-8.h: Likewise.
11095 * soft-fp/op-common.h: Likewise.
11096 * soft-fp/quad.h: Likewise.
11097 * soft-fp/single.h: Likewise.
11098 * soft-fp/soft-fp.h: Likewise.
11099 * soft-fp/sqrtdf2.c: Likewise.
11100 * soft-fp/sqrtsf2.c: Likewise.
11101 * soft-fp/sqrttf2.c: Likewise.
11102 * soft-fp/subdf3.c: Likewise.
11103 * soft-fp/subsf3.c: Likewise.
11104 * soft-fp/subtf3.c: Likewise.
11105 * soft-fp/truncdfsf2.c: Likewise.
11106 * soft-fp/trunctfdf2.c: Likewise.
11107 * soft-fp/trunctfsf2.c: Likewise.
11108 * soft-fp/trunctfxf2.c: Likewise.
11109 * soft-fp/unorddf2.c: Likewise.
11110 * soft-fp/unordsf2.c: Likewise.
11111 * soft-fp/unordtf2.c: Likewise.
11113 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
11116 * misc/error.c (error_tail): Fix possible buffer overflow.
11118 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11121 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11124 2013-10-14 P. J. McDermott <pj@pehjota.net>
11127 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11128 testing pipefail option.
11130 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11132 * soft-fp/double.h: Indent preprocessor directives inside #if.
11133 * soft-fp/extended.h: Likewise.
11134 * soft-fp/op-2.h: Likewise.
11135 * soft-fp/op-4.h: Likewise.
11136 * soft-fp/op-common.h: Likewise.
11137 * soft-fp/quad.h: Likewise.
11138 * soft-fp/single.h: Likewise.
11139 * soft-fp/soft-fp.h: Likewise.
11141 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11143 * iconv/iconv_prog.c: Fix typos.
11144 * stdio-common/psiginfo-data.h: Likewise.
11146 2013-10-12 Reuben Thomas <rrt@sc3d.org>
11149 * locale/setlocale.c: Fix typo.
11151 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11154 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11155 signaling NaN arguments.
11156 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11157 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11160 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11161 unordered operands.
11162 * soft-fp/gesf2.c (__gesf2): Likewise.
11163 * soft-fp/getf2.c (__getf2): Likewise.
11164 * soft-fp/ledf2.c (__ledf2): Likewise.
11165 * soft-fp/lesf2.c (__lesf2): Likewise.
11166 * soft-fp/letf2.c (__letf2): Likewise.
11168 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11169 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11170 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11171 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11172 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11173 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11174 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11175 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11176 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11177 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11178 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11179 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11180 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11181 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11182 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11183 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11184 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11185 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11186 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11187 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11188 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11189 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11190 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11191 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11192 * soft-fp/floattidf.c (__floattidf): Likewise.
11193 * soft-fp/floattisf.c (__floattisf): Likewise.
11194 * soft-fp/floattitf.c (__floattitf): Likewise.
11195 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11196 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11197 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11198 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11199 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11200 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11201 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11202 * soft-fp/gesf2.c (__gesf2): Likewise.
11203 * soft-fp/getf2.c (__getf2): Likewise.
11204 * soft-fp/ledf2.c (__ledf2): Likewise.
11205 * soft-fp/lesf2.c (__lesf2): Likewise.
11206 * soft-fp/letf2.c (__letf2): Likewise.
11208 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11209 Undefine and redefine.
11210 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11211 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11212 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11213 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11214 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11215 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11216 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11217 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11218 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11219 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11220 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11221 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11222 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11223 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11224 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11227 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11228 without decrementing exponent if mantissa >= that for the
11229 denominator, not >.
11230 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11231 denominator, not >. Decrement exponent in < case instead of
11232 incrementing in >= case.
11233 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11234 without decrementing exponent if mantissa >= that for the
11235 denominator, not >.
11237 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11238 computing saturated result for unsigned overflow.
11240 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11241 Jeff Law <law@redhat.com>
11243 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11244 (atan2Mp): Add systemtap probe marker.
11245 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11246 (__ieee754_log): Add systemtap probe marker.
11247 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11248 (atanMp): Add systemtap probe marker.
11249 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11250 (tanMp): Add systemtap probe marker.
11251 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11252 (__slowexp): Add systemtap probe marker.
11253 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11254 (__slowpow): Add systemtap probe marker.
11255 * manual/probes.texi: Document probes.
11257 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11260 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11262 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11264 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11265 written to buffer but not flushed.
11266 * libio/iofwrite_u.c: Likewise.
11267 * libio/iopadn.c: Return bytes returned even if EOF was
11269 * libio/iowpadn.c: Likewise.
11270 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11271 if _IO_padn does not write the whole buffer.
11272 [!COMPILE_WPRINTF] (PAD): Likewise.
11274 2013-10-10 David S. Miller <davem@davemloft.net>
11276 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11279 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11281 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11282 instead of FSF address.
11283 * soft-fp/fixdfti.c: Likewise.
11284 * soft-fp/fixsfti.c: Likewise.
11285 * soft-fp/fixtfti.c: Likewise.
11286 * soft-fp/fixunsdfti.c: Likewise.
11287 * soft-fp/fixunssfti.c: Likewise.
11288 * soft-fp/fixunstfti.c: Likewise.
11289 * soft-fp/floattidf.c: Likewise.
11290 * soft-fp/floattisf.c: Likewise.
11291 * soft-fp/floattitf.c: Likewise.
11292 * soft-fp/floatuntidf.c: Likewise.
11293 * soft-fp/floatuntisf.c: Likewise.
11294 * soft-fp/floatuntitf.c: Likewise.
11295 * soft-fp/trunctfxf2.c: Likewise.
11297 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11298 * soft-fp/fixdfti.c: Likewise.
11299 * soft-fp/fixsfti.c: Likewise.
11300 * soft-fp/fixtfti.c: Likewise.
11301 * soft-fp/fixunsdfti.c: Likewise.
11302 * soft-fp/fixunssfti.c: Likewise.
11303 * soft-fp/fixunstfti.c: Likewise.
11304 * soft-fp/floattidf.c: Likewise.
11305 * soft-fp/floattisf.c: Likewise.
11306 * soft-fp/floattitf.c: Likewise.
11307 * soft-fp/floatuntidf.c: Likewise.
11308 * soft-fp/floatuntisf.c: Likewise.
11309 * soft-fp/floatuntitf.c: Likewise.
11310 * soft-fp/trunctfxf2.c: Likewise.
11312 2013-10-10 David S. Miller <davem@davemloft.net>
11314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11316 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11318 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11319 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11320 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11321 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11322 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11323 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11324 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11326 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11327 for NaNs before doing comparisons on argument.
11328 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11331 2013-10-10 Will Newton <will.newton@linaro.org>
11333 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11334 passed to _int_memalign does not overflow.
11336 2013-10-10 Torvald Riegel <triegel@redhat.com>
11338 * scripts/bench.pl: Add include-sources directive.
11339 * benchtests/README: Update documentation.
11341 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11343 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11344 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11345 instead of FP_INIT_ROUNDMODE.
11346 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11347 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11350 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11351 copy class of input value.
11352 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11353 not handle exceptions.
11354 * soft-fp/negsf2.c (__negsf2): Likewise.
11355 * soft-fp/negtf2.c (__negtf2): Likewise.
11356 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11358 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11360 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11361 semicolon. From Linux kernel.
11363 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11365 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11367 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11370 * manual/socket.texi: Added statement about buffer
11371 for gethostbyname2_r.
11373 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11375 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11376 Use .p2align directive instead, throughout.
11377 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11378 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11379 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11380 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11381 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11382 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11383 * sysdeps/x86_64/strchr.S: Likewise.
11384 * sysdeps/x86_64/strrchr.S: Likewise.
11386 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11388 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11390 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11392 * sysdeps/generic/math_private.h (__mpsin1): Remove
11394 (__mpcos1): Likewise.
11395 (__mpsin): New argument __range_reduce.
11396 (__mpcos): Likewise.
11397 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11398 (slow): Use __mpsin and __mpcos.
11402 (sloww1): Likewise.
11403 (sloww2): Likewise.
11404 (bsloww): Likewise.
11405 (bsloww1): Likewise.
11406 (bsloww2): Likewise.
11407 (cslow2): Likewise.
11408 (csloww): Likewise.
11409 (csloww1): Likewise.
11410 (csloww2): Likewise.
11411 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11412 range_reduce. Merge in __mpsin1.
11413 (__mpcos): Likewise.
11414 (__mpsin1): Remove.
11415 (__mpcos1): Likewise.
11417 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11419 * locale/loadlocale.c (_nl_intern_locale_data): Use
11421 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11422 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11423 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11424 obstack data is appropriately aligned.
11425 (obstack_int32_grow_fast): Likewise.
11426 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11427 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11428 (add_locale_uint32_array): Likewise.
11430 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11432 * benchtests/Makefile: Remove ARGLIST and RET variables.
11433 ($(objpfx)bench-%.c): Pass only function name to the script.
11434 * benchtests/README: Update documentation.
11435 * benchtests/acos-inputs: Add new directives.
11436 * benchtests/acosh-inputs: Likewise.
11437 * benchtests/asin-inputs: Likewise.
11438 * benchtests/asinh-inputs: Likewise.
11439 * benchtests/atan-inputs: Likewise.
11440 * benchtests/atanh-inputs: Likewise.
11441 * benchtests/cos-inputs: Likewise.
11442 * benchtests/cosh-inputs: Likewise.
11443 * benchtests/exp-inputs: Likewise.
11444 * benchtests/log-inputs: Likewise.
11445 * benchtests/pow-inputs: Likewise.
11446 * benchtests/rint-inputs: Likewise.
11447 * benchtests/sin-inputs: Likewise.
11448 * benchtests/sinh-inputs: Likewise.
11449 * benchtests/tan-inputs: Likewise.
11450 * benchtests/tanh-inputs: Likewise.
11451 * scripts/bench.pl: Add support for new directives.
11453 2013-10-07 Alan Modra <amodra@gmail.com>
11455 * README: Fix careless merge.
11457 2013-10-05 Alan Modra <amodra@gmail.com>
11459 * NEWS: Mention powerpc64le support and bugs fixed.
11460 * README: Both big-endian and little-endian powerpc64 supported.
11462 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11464 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11465 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11466 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11467 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11469 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11471 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11474 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11476 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11477 Move -mhard-float appending from
11478 ports/sysdeps/powerpc/powerpc32/Makefile.
11479 [$(with-fp) = yes] (ASFLAGS): Likewise.
11480 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11481 * sysdeps/powerpc/nofpu: Move directory from
11482 ports/sysdeps/powerpc/nofpu.
11483 * sysdeps/powerpc/soft-fp: Move directory from
11484 ports/sysdeps/powerpc/soft-fp.
11485 * sysdeps/powerpc/powerpc32/405: Move directory from
11486 ports/sysdeps/powerpc/powerpc32/405.
11487 * sysdeps/powerpc/powerpc32/440: Move directory from
11488 ports/sysdeps/powerpc/powerpc32/440.
11489 * sysdeps/powerpc/powerpc32/464: Move directory from
11490 ports/sysdeps/powerpc/powerpc32/464.
11491 * sysdeps/powerpc/powerpc32/476: Move directory from
11492 ports/sysdeps/powerpc/powerpc32/476.
11493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11494 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11496 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11498 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11500 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11502 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11503 * README: Update for powerpc-*-linux-gnu software floating point
11506 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11507 case to powerpc/powerpc32*.
11508 * sysdeps/unix/sysv/linux/configure: Regenerated.
11510 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11511 (_FPU_MASK_OM): Define as 0x04.
11512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11515 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11520 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11523 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11526 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11527 and setcontext_e500.
11529 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11531 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11533 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11535 * manual/threads.texi (Default Thread Attributes): Fix typo.
11537 2013-10-04 Will Newton <will.newton@linaro.org>
11539 * malloc/Makefile: Add tst-memalign.
11540 * malloc/tst-memalign.c: New file.
11542 * malloc/tst-posix_memalign.c: Add comments.
11543 (do_test): Add comments and call free on all potentially
11544 allocated pointers. Add space after cast.
11546 * malloc/tst-pvalloc.c: Add comments.
11547 (do_test): Add comments and call free on all potentially
11548 allocated pointers. Remove duplicate check for NULL pointer.
11549 Add space after cast.
11551 * malloc/tst-valloc.c: Add comments.
11552 (do_test): Add comments and call free on all potentially
11553 allocated pointers. Remove duplicate check for NULL pointer.
11554 Add space after cast.
11556 2013-10-04 Alan Modra <amodra@gmail.com>
11558 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11559 Use stdint types in rather than __attribute__((mode())).
11560 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11562 2013-10-04 Alan Modra <amodra@gmail.com>
11564 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11565 Correct handling of unaligned relocs for little-endian.
11566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11568 2013-10-04 Alan Modra <amodra@gmail.com>
11570 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11571 * configure: Regenerate.
11572 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11573 * shlib-versions: Likewise.
11575 2013-10-04 Alan Modra <amodra@gmail.com>
11577 * string/tester.c (test_memrchr): Increment reported test cycle.
11579 2013-10-04 Alan Modra <amodra@gmail.com>
11581 * string/test-memcpy.c (do_one_test): When reporting errors, print
11582 string address and don't overrun end of string.
11584 2013-10-04 Alan Modra <amodra@gmail.com>
11586 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11587 insrdi. Make better use of reg selection to speed exit slightly.
11588 Schedule entry path a little better. Remove useless "are we done"
11589 checks on entry to main loop. Handle wrapping around zero address.
11590 Correct main loop count. Handle single left-over word from main
11591 loop inline rather than by using loop_small. Remove extra word
11592 case in loop_small caused by wrong loop count. Add little-endian
11594 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11595 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11597 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11598 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11599 support. Avoid rlwimi.
11600 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11602 2013-10-04 Alan Modra <amodra@gmail.com>
11604 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11605 insrdi. Formatting.
11606 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11607 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11608 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11609 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11610 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11611 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11613 2013-10-04 Alan Modra <amodra@gmail.com>
11615 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11616 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11617 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11618 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11619 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11620 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11621 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11622 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11623 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11624 use of regs. Use power7 mtocrf. Tidy function tails.
11626 2013-10-04 Alan Modra <amodra@gmail.com>
11628 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11629 Formatting. Consistently use rXXX register defines or rN defines.
11630 Use early exit labels that avoid restoring unused non-volatile regs.
11631 Make cr field use more consistent with rWORDn compares. Rename
11632 regs used as shift registers for unaligned loop, using rN defines
11633 for short lifetime/multiple use regs.
11634 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11635 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11636 addi 1,1,64 to pop stack frame. Simplify return value code.
11637 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11639 2013-10-04 Alan Modra <amodra@gmail.com>
11641 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11642 support. Correct typos, formatting. Optimize tail. Use insrdi
11643 rather than rlwimi.
11644 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11645 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11646 little-endian support. Correct typos.
11647 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11648 rather than rlwimi.
11649 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11650 in loop and entry code to keep "and." results.
11651 (strchr): Add little-endian support. Comment. Move cntlzd
11653 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11655 2013-10-04 Alan Modra <amodra@gmail.com>
11657 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11658 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11659 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11660 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11662 2013-10-04 Alan Modra <amodra@gmail.com>
11664 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11665 (rTMP): Define as r11.
11666 (strcmp): Add little-endian support. Optimise tail.
11667 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11668 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11669 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11670 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11671 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11672 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11673 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11675 2013-10-04 Alan Modra <amodra@gmail.com>
11677 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11678 little-endian support. Remove unnecessary "are we done" tests.
11679 Handle "s" wrapping around zero and extremely large "size".
11680 Correct main loop count. Handle single left-over word from main
11681 loop inline rather than by using small_loop. Correct comments.
11682 Delete "zero" tail, use "end_max" instead.
11683 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11685 2013-10-04 Alan Modra <amodra@gmail.com>
11687 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11688 support. Don't branch over align.
11689 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11690 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11691 support. Rearrange tmp reg use to suit. Comment.
11692 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11694 2013-10-04 Alan Modra <amodra@gmail.com>
11696 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11698 2013-10-04 Alan Modra <amodra@gmail.com>
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11701 conditional form of branch and link when obtaining pc.
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11704 2013-10-04 Alan Modra <amodra@gmail.com>
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11711 2013-10-04 Alan Modra <amodra@gmail.com>
11713 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11714 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11715 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11716 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11717 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11718 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11719 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11720 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11721 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11722 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11724 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11725 Alistair Popple <alistair@ozlabs.au.ibm.com>
11726 Alan Modra <amodra@gmail.com>
11729 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11730 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11731 _dl_hwcap access for little-endian.
11732 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11733 destroy vmx regs when saving unaligned.
11734 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11735 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11736 destroy vmx regs when saving unaligned.
11738 2013-10-04 Alan Modra <amodra@gmail.com>
11740 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11741 Don't use a union to pack hi/low value.
11743 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11745 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11747 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11749 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11750 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11751 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11753 2013-10-04 Alan Modra <amodra@gmail.com>
11755 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11756 constants to usual value for .cst8 section, and remove redundant
11758 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11759 constant for 0x1p52. Load little-endian words of double from
11760 correct stack offsets.
11762 2013-10-04 Alan Modra <amodra@gmail.com>
11764 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11765 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11766 words of double from correct stack offsets.
11767 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11768 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11769 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11770 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11771 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11772 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11773 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11774 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11775 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11776 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11777 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11778 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11779 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11780 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11781 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11782 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11783 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11785 2013-10-04 Alan Modra <amodra@gmail.com>
11787 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11788 64-bit int/double union.
11789 (_FPU_SETCW): Likewise.
11790 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11791 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11793 2013-10-04 Alan Modra <amodra@gmail.com>
11795 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11796 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11798 2013-10-04 Alan Modra <amodra@gmail.com>
11800 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11801 use vector int constants.
11802 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11804 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11806 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11807 array with long long.
11808 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11809 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11810 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11811 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11812 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11813 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11814 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11815 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11816 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11817 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11818 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11819 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11820 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11822 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11824 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11825 (__signbit): Likewise. Correct for little-endian.
11826 (__signbitl): Call __signbit.
11827 (lrint): Correct for little-endian.
11828 (lrintf): Call lrint.
11830 2013-10-04 Alan Modra <amodra@gmail.com>
11832 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11833 union 32-bit int array member with 64-bit int array.
11834 (t515, tm256): Double rather than long double.
11835 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11837 2013-10-04 Alan Modra <amodra@gmail.com>
11839 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11841 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11842 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11843 version of math_ldbl.h.
11845 2013-10-04 Alan Modra <amodra@gmail.com>
11847 [BZ #15734], [BZ #15735]
11848 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11849 all uses of ieee875 long double macros and unions. Simplify test
11850 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11851 ldbl_extract_mantissa value for ix,iy exponents. Properly
11852 normalize after ldbl_extract_mantissa, and don't add hidden bit
11853 already handled. Don't treat low word of ieee854 mantissa like
11854 low word of IBM long double and mask off bit when testing for
11856 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11857 all uses of ieee875 long double macros and unions. Simplify tests
11858 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11859 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11860 two1022, instead use their values. Recognise that tests for large
11861 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11862 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11863 Rewrite all uses of ieee875 long double macros and unions. Simplify
11864 test for 0.0L and nan. Correct negation.
11865 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11866 ieee875 long double macros and unions. Correct output for large
11867 magnitude x. Correct absolute value calculation.
11868 (__erfcl): Likewise.
11869 * math/libm-test.inc: Add tests for errors discovered in IBM long
11870 double versions of fmodl, remainderl, erfl and erfcl.
11872 2013-10-04 Alan Modra <amodra@gmail.com>
11874 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11875 all uses of ieee854 long double macros and unions. Simplify tests
11876 for long doubles that are fully specified by the high double.
11877 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11879 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11880 Remove dead code too.
11881 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11882 (__ieee754_ynl): Likewise.
11883 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11884 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11886 Remove dead code too.
11887 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11888 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11889 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11890 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11892 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11894 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11895 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11896 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11897 Comment on variable precision.
11898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11899 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11901 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11902 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11903 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11904 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11905 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11907 2013-10-04 Alan Modra <amodra@gmail.com>
11909 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11910 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11911 all uses of ieee854 long double macros and unions.
11912 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11913 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11914 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11915 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11916 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11917 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11919 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11920 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11921 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11922 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11923 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11924 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11925 Simplify sign and nan test too.
11926 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11927 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11928 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11929 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11931 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11932 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11935 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11936 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11937 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11938 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11939 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11941 2013-10-04 Alan Modra <amodra@gmail.com>
11943 * stdio-common/printf_size.c (__printf_size): Don't use
11944 union ieee854_long_double in fpnum union.
11945 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11946 signbit macro to retrieve sign from long double.
11947 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11948 retrieve sign from long double.
11949 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11950 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11951 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11952 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11953 * math/test-misc.c (main): Don't use union ieee854_long_double.
11955 2013-10-04 Alan Modra <amodra@gmail.com>
11958 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11959 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11960 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11961 calculation. Remove unnecessary test for denormal exponent.
11962 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11963 Correct handling of denormals. Avoid undefined shift behaviour.
11964 Correct normalisation of low mantissa when low double is denormal.
11965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11966 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11967 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11968 Correct normalisation of low mantissa. Test for overflow of high
11969 mantissa and normalise.
11970 (ldbl_nearbyint): Use more readable constant for two52.
11971 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11972 (__mpn_construct_long_double): Fix test for overflow of high
11973 mantissa and correct normalisation. Avoid undefined shift.
11975 2013-10-04 Alan Modra <amodra@gmail.com>
11977 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11978 (union ibm_extended_long_double): Define as an array of ieee754_double.
11979 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11980 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11981 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11982 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11983 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11984 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11985 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11986 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11987 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11988 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11989 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11991 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11993 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11994 page size instead of calling getpagesize.
11996 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11997 (LOCFILE_ALIGN_MASK): Likewise.
11998 (LOCFILE_ALIGN_UP): Likewise.
11999 (LOCFILE_ALIGNED_P): Likewise.
12000 * locale/programs/ld-collate.c (collate_output): Use the new
12001 macros instead of __alignof__ (int32_t).
12002 * locale/weight.h (findidx): Likewise.
12004 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
12007 * manual/string.texi: Fix strncat and wcsncat.
12009 2013-10-03 Brooks Moses <bmoses@google.com>
12012 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12013 * Makerules: ...here, and adjust associated comments.
12015 2013-10-02 Will Newton <will.newton@linaro.org>
12017 * malloc/Makefile: Add tst-pvalloc.
12018 * malloc/tst-pvalloc.c: New file.
12020 2013-10-02 Will Newton <will.newton@linaro.org>
12022 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12023 improve test coverage.
12025 2013-10-02 Will Newton <will.newton@linaro.org>
12027 * malloc/Makefile: Add tst-posix_memalign.
12028 * malloc/tst-posix_memalign.c: New file.
12030 2013-10-01 Eric Blake <eblake@redhat.com>
12032 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12033 Use __THROWNL rather than __THROW on static functions.
12035 2013-09-30 Petr Machata <pmachata@redhat.com>
12037 * elf/elf.h (R_AARCH64_ABS16): New macro.
12038 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12039 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12040 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12041 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12042 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12043 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12044 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12045 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12046 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12047 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12048 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12049 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12050 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12051 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12052 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12053 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12054 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12055 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12056 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12057 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12058 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12059 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12060 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12061 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12062 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12063 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12064 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12065 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12066 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12067 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12068 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12069 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12070 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12071 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12072 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12073 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12074 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12075 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12076 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12077 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12078 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12079 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12080 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12081 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12082 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12083 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12084 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12085 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12086 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12087 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12088 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12089 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12090 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12091 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12092 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12093 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12094 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12095 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12096 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12097 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12098 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12099 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12100 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12101 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12102 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12103 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12104 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12105 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12106 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12107 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12108 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12109 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12110 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12111 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12112 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12113 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12114 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12115 (R_AARCH64_TLSDESC_LDR): Likewise.
12116 (R_AARCH64_TLSDESC_ADD): Likewise.
12117 (R_AARCH64_TLSDESC_CALL): Likewise.
12119 2013-09-30 Andreas Schwab <schwab@suse.de>
12122 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12123 the nss database lookup.
12124 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12127 2013-09-28 Mike Frysinger <vapier@gentoo.org>
12129 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12131 2013-09-28 P. J. McDermott <pj@pehjota.net>
12133 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12134 ${Bash-specific parameter/pattern/string} parameter expansion.
12135 * sysdeps/unix/make-syscalls.sh: Likewise.
12137 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12139 * sysdeps/sh/stackguard-macros.h: New file.
12141 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
12143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12144 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12145 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12146 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12147 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12148 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12150 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12152 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12153 Fix thread ID register.
12155 2013-09-25 Joseph Myers <joseph@codesourcery.com>
12157 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12158 [POSIX || UNIX98]: Require rather than permitting all symbols from
12160 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12161 element of struct sched_param.
12162 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12163 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12164 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12165 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12168 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12170 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12171 argument calculation.
12173 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12175 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12177 [POSIX] (pthread_attr_t): Do not require type.
12178 [POSIX] (pthread_cond_t): Likewise.
12179 [POSIX] (pthread_condattr_t): Likewise.
12180 [POSIX] (pthread_key_t): Likewise.
12181 [POSIX] (pthread_mutex_t): Likewise.
12182 [POSIX] (pthread_mutexattr_t): Likewise.
12183 [POSIX] (pthread_once_t): Likewise.
12184 [POSIX] (pthread_t): Likewise.
12185 [POSIX-based standards] (pthread_atfork): Expect function.
12187 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12188 Richard Sandiford <richard@codesourcery.com>
12190 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12191 (swap_endianness_p): New extern variable.
12192 (set_big_endian): New inline function.
12193 (maybe_swap_uint32): Likewise.
12194 (maybe_swap_uint32_array): Likewise.
12195 (maybe_swap_uint32_obstack): Likewise.
12196 * locale/programs/locfile.c: Include <stdbool.h>.
12197 (swap_endianness_p): New variable.
12198 (add_locale_uint32): Call maybe_swap_uint32.
12199 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12200 (write_locale_data): Call maybe_swap_uint32_array.
12201 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12203 (obstack_int32_grow_fast): Likewise.
12204 (output_weightwc): Call maybe_swap_uint32_obstack.
12205 (collate_output): Likewise.
12206 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12207 (OPT_LITTLE_ENDIAN): Likewise.
12208 (options): Add --little-endian and --big-endian options.
12209 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12210 * locale/programs/locarchive.c: Include "locfile.h".
12214 (create_archive): Use the new macros to access fields of
12215 structures directly mapped from or written to locale archives.
12216 (oldlocrecentcmp): Likewise.
12217 (enlarge_archive): Likewise.
12218 (insert_name): Likewise.
12219 (add_alias): Likewise.
12220 (add_locale): Likewise.
12221 (delete_locales_from_archive): Likewise.
12222 (show_archive_content): Likewise.
12223 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12226 2013-09-24 Roland McGrath <roland@hack.frob.com>
12228 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12229 http://www.gnu.org/doc/freemanuals.texi.
12230 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12232 2013-09-24 Will Newton <will.newton@linaro.org>
12234 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12237 2013-09-23 Joseph Myers <joseph@codesourcery.com>
12239 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12242 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12244 * manual/threads.texi (POSIX Threads): Fix a typo.
12246 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12249 * string/tst-strcoll-overflow.c: New test case.
12250 * string/Makefile (xtests): Add tst-strcoll-overflow.
12251 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12252 cache if string sizes may cause integer overflow.
12255 * string/strcoll_l.c (coll_seq): New members rule, idx,
12256 save_idx and back_us.
12257 (get_next_seq_nocache): New function.
12258 (do_compare_nocache): New function.
12259 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12262 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12265 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12266 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12267 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12270 * elf/Makefile (tests): Add tst-ptrguard1.
12271 (tests-static): Add tst-ptrguard1-static.
12272 (tst-ptrguard1-ARGS): Define.
12273 (tst-ptrguard1-static-ARGS): Define.
12274 * elf/tst-ptrguard1.c: New file.
12275 * elf/tst-ptrguard1-static.c: New file.
12276 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12277 * sysdeps/i386/stackguard-macros.h: Likewise.
12278 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12279 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12280 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12281 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12282 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12283 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12285 2013-09-23 Hector Marco <hecmargi@upv.es>
12286 Ismael Ripoll <iripoll@disca.upv.es>
12287 Carlos O'Donell <carlos@redhat.com>
12290 * sysdeps/generic/stackguard-macros.h: Define
12291 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12292 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12293 Define __pointer_chk_guard_local.
12294 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12295 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12297 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12300 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12302 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12304 * include/string.h (__ffs): Declare as hidden.
12305 * string/ffs.c (__ffs): Define as hidden.
12306 * sysdeps/i386/ffs.c (__ffs): Likewise.
12307 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12308 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12309 * sysdeps/s390/ffs.c (__ffs): Likewise.
12310 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12312 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12314 * NEWS: Mention malloc probes.
12316 * malloc/arena.c (new_heap): New memory_heap_new probe.
12317 (grow_heap): New memory_heap_more probe.
12318 (shrink_heap): New memory_heap_less probe.
12319 (heap_trim): New memory_heap_free probe.
12320 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12321 (systrim): New memory_sbrk_less probe.
12322 * manual/probes.texi: Document them.
12324 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12325 * manual/probes.texi: Document it.
12327 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12328 (__libc_realloc): Add memory_realloc_retry probe.
12329 (__libc_memalign): Add memory_memalign_retry probe.
12330 (__libc_valloc): Add memory_valloc_retry probe.
12331 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12332 (__libc_calloc): Add memory_calloc_retry probe.
12333 * manual/probes.texi: Document them.
12335 * malloc/arena.c (get_free_list): Add probe
12336 memory_arena_reuse_free_list.
12337 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12338 and memory_arena_reuse.
12339 (arena_get2) [!PER_THREAD]: Likewise.
12340 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12341 memory_arena_reuse_realloc.
12342 * manual/probes.texi: Document them.
12344 * malloc/malloc.c (__libc_free): Add
12345 memory_mallopt_free_dyn_thresholds probe.
12346 (__libc_mallopt): Add multiple memory_mallopt probes.
12347 * manual/probes.texi: Document them.
12349 * malloc/malloc.c: Include stap-probe.h.
12350 (__libc_mallopt): Add memory_mallopt probe.
12351 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12352 * manual/probes.texi: New.
12353 * manual/Makefile (chapters): Add probes.
12354 * manual/threads.texi: Set next node.
12356 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12358 [BZ #15963, #13985]
12359 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12360 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12361 Add `Chinese' to `nan' entry name.
12363 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12365 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12366 (POLYNOMIAL): Likewise.
12367 (TAYLOR_SINCOS): Likewise.
12368 (TAYLOR_SLOW): Likewise.
12369 (__sin): Use TAYLOR_SINCOS.
12371 (slow): Use TAYLOR_SLOW.
12373 (bsloww): Likewise.
12374 (csloww): Likewise.
12376 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12378 * stdlib/strtod_l.c: Fix buffer overrun.
12380 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12382 * benchtests/Makefile (bench): Add sincos.
12383 * benchtests/bench-sincos.c: New file.
12385 * math/libm-test.inc (cos_test_data): New test inputs.
12386 (sin_test_data): Likewise.
12388 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12394 (sloww1): Likewise.
12395 (sloww2): Likewise.
12396 (bsloww1): Likewise.
12397 (bsloww2): Likewise.
12398 (cslow2): Likewise.
12399 (csloww1): Likewise.
12400 (csloww2): Likewise.
12402 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12407 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12411 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12413 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12414 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12415 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12416 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12417 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12418 * elf/cache.c (print_entry): Handle the new cache flags.
12420 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12421 Aldy Hernandez <aldyh@redhat.com>
12423 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12424 Change condition to [_SOFT_FLOAT].
12425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12437 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12440 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12443 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12445 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12446 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12447 (__longjmp): Use LOAD_GP to load saved GPRs.
12448 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12449 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12450 (__sigsetjmp): Use SAVE_GP to save GPRs.
12452 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12453 Do not append -msoft-float.
12454 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12456 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12458 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12460 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12463 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12464 (_FPU_GETCW): Use initial "__" on variable and field names but not
12465 on macro parameter name.
12466 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12467 parentheses around reference to macro parameter.
12469 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12471 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12473 (ctype_startup): Use uint32_t in cast and sizeof for
12476 2013-09-11 Jia Liu <proljc@gmail.com>
12478 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12480 [__FreeBSD__]: Likewise.
12482 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12484 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12485 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12486 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12487 (strchr): Remove __strchr_sse42 ifunc selection.
12488 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12489 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12491 2013-09-11 Will Newton <will.newton@linaro.org>
12493 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12494 parameter to RES. Remove hardcoded 1000 value.
12495 * benchtests/bench-skeleton.c (main): Pass RES parameter
12496 to TIMING_INIT and multiply result by 1000.
12498 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12502 2013-09-11 Andreas Schwab <schwab@suse.de>
12504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12506 (O_TMPFILE) [__USE_GNU]: Define.
12507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12510 2013-09-11 Will Newton <will.newton@linaro.org>
12513 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12516 2013-09-11 Will Newton <will.newton@linaro.org>
12519 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12522 2013-09-11 Will Newton <will.newton@linaro.org>
12525 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12528 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12530 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12531 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12532 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12533 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12534 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12536 2013-09-10 Allan McRae <allan@archlinux.org>
12539 * manual/arith.texi (Parsing of Floats): Clarify
12543 * manual/install.texi (Running make install): Mention
12545 * INSTALL: Regenerated.
12547 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12549 * csu/init-first.c (_init): Remove the !SHARED condition around
12550 FPU control word initialization.
12551 * elf/dl-support.c (_dl_fpu_control): New variable.
12552 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12553 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12554 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12555 * math/test-fpucw-static.c: New file.
12556 * math/test-fpucw-ieee.c: New file.
12557 * math/test-fpucw-ieee-static.c: New file.
12558 * math/Makefile (tests): Add `test-fpucw-ieee' and
12560 (tests-static): New variable.
12561 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12563 [($(build-shared),yes)]
12564 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12566 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12569 2013-09-09 Allan McRae <allan@archlinux.org>
12572 * manual/string.texi (Collation Functions): Fix typo in
12574 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12577 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12580 * libio/memstream.c (open_memstream): Fix memory leak.
12581 * libio/wmemstream.c (open_wmemstream): Likewise.
12584 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12586 2013-09-09 Will Newton <will.newton@linaro.org>
12588 * malloc/Makefile: Add tst-realloc to tests.
12589 * malloc/tst-realloc.c: New file.
12591 2013-09-09 Allan McRae <allan@archlinux.org>
12594 * COPYING: Update from GNU website to fix FSF address.
12595 * COPYING.LIB: Likewise.
12597 2013-09-06 David S. Miller <davem@davemloft.net>
12599 * po/zh_TW.po: Update Chinese (traditional) translation from
12600 translation project.
12602 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12603 Joseph Myers <joseph@codesourcery.com>
12605 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12607 (obstack_chunk_alloc): New macro.
12608 (obstack_chunk_free): Likewise.
12609 (record_offset): New function.
12610 (init_locale_data): Likewise.
12611 (align_locale_data): Likewise.
12612 (add_locale_empty): Likewise.
12613 (add_locale_raw_data): Likewise.
12614 (add_locale_raw_obstack): Likewise.
12615 (add_locale_string): Likewise.
12616 (add_locale_wstring): Likewise.
12617 (add_locale_uint32): Likewise.
12618 (add_locale_uint32_array): Likewise.
12619 (add_locale_char): Likewise.
12620 (start_locale_structure): Likewise.
12621 (end_locale_structure): Likewise.
12622 (start_locale_prelude): Likewise.
12623 (end_locale_prelude): Likewise.
12624 (write_locale_data): Take locale_file structure rather than an
12626 * locale/programs/locfile.h: Include "obstack.h".
12627 (struct locale_file): Change to store locale file contents instead
12629 (init_locale_data): New prototype.
12630 (align_locale_data): Likewise.
12631 (add_locale_empty): Likewise.
12632 (add_locale_raw_data): Likewise.
12633 (add_locale_raw_obstack): Likewise.
12634 (add_locale_string): Likewise.
12635 (add_locale_wstring): Likewise.
12636 (add_locale_uint32): Likewise.
12637 (add_locale_uint32_array): Likewise.
12638 (add_locale_char): Likewise.
12639 (start_locale_structure): Likewise.
12640 (end_locale_structure): Likewise.
12641 (start_locale_prelude): Likewise.
12642 (end_locale_prelude): Likewise.
12643 (write_locale_data): Update prototype.
12644 * locale/programs/3level.h (struct TABLE): Remove result field.
12645 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12646 Use new locale_file interface.
12647 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12648 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12649 * locale/programs/ld-address.c (address_output): Use new
12650 locale_file interface.
12651 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12653 (collate_finish): Don't call collseq_table_finalize.
12654 (collate_output): Use new locale_file interface.
12655 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12657 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12658 (TABLE): Move defines earlier in file.
12659 (ELEMENT): Likewise.
12660 (DEFAULT): Likewise.
12661 (wctrans_table_add): Move macro and inline function earlier in
12663 (struct wctype_table): Move type earlier in file.
12664 (add_locale_wctype_table): New static prototype.
12665 (struct locale_ctype_t): Use logical types instead of struct iovec
12666 pointers for members.
12667 (ctype_output): Use new locale_file interface.
12668 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12669 new locale_file interface.
12670 (allocate_arrays): Update for use of new locale_file interface.
12671 * locale/programs/ld-identification.c (identification_output): Use
12672 new locale_file interface.
12673 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12674 * locale/programs/ld-messages.c (messages_output): Likewise.
12675 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12676 * locale/programs/ld-name.c (name_output): Likewise.
12677 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12678 * locale/programs/ld-paper.c (paper_output): Likewise.
12679 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12680 * locale/programs/ld-time.c (time_output): Likewise.
12682 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12684 * benchtests/Makefile: Add memrchr benchmark.
12685 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12686 benchmark as memrchr.
12687 * benchtests/bench-memrchr-ifunc.c: New file.
12688 * benchtests/bench-memrchr.c: New file.
12690 2013-09-06 Will Newton <will.newton@linaro.org>
12692 * benchtests/Makefile (string-bench): Add memcpy.
12694 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12695 Cong Wang <amwang@redhat.com>
12698 * sysdeps/unix/sysv/linux/bits/in.h
12699 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12700 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12701 before __USE_KERNEL_IPV6_DEFS uses.
12702 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12704 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12705 sockaddr_in6, or ipv6_mreq.
12707 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12709 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12710 memory access for final bytes in some large inputs.
12711 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12713 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12715 * string/test-memrchr.c: New file.
12716 * string/test-memrchr-ifunc.c: New file.
12717 * string/Makefile: Add new memrchr testcase.
12719 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12721 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12722 fanotify_init returns EPERM.
12724 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12726 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12728 (top level): Treat second token from macro or constant entries for
12729 allowed headers as allowed.
12730 * include/complex.h: Condition internal declarations on
12732 * include/fenv.h: Condition include of <stdbool.h> and internal
12733 declarations on [!_ISOMAC].
12735 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12738 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12740 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12742 * configure.in (--enable-versioning): Remove configure option.
12743 (libc_cv_asm_symver_directive): Remove configure test.
12744 (libc_cv_ld_version_script_option): Likewise.
12745 (VERSIONING): Remove variable and AC_SUBST.
12746 (DO_VERSIONING): Remove AC_DEFINE.
12747 * configure: Regenerated.
12748 * config.h.in (DO_VERSIONING): Remove macro.
12749 * Makerules [$(versioning) = yes]: Change conditionals to
12750 [$(build-shared) = yes].
12751 * config.make.in (versioning): Remove variable.
12752 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12753 [$(build-shared) = yes].
12754 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12755 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12756 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12757 [$(build-shared) = yes].
12758 * extra-lib.mk [$(versioning) = yes]: Likewise.
12759 * hurd/Makefile [$(versioning) = yes]: Likewise.
12760 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12762 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12764 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12765 [SHARED && !NO_HIDDEN].
12766 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12768 [SHARED && DO_VERSIONING]: Likewise..
12769 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12770 [$(build-shared) = yes].
12771 * manual/install.texi (--disable-versioning): Remove
12773 * INSTALL: Regenerated.
12774 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12776 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12777 [$(build-shared) = yes].
12778 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12779 * sysdeps/i386/i686/multiarch/strstr-c.c
12780 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12781 [SHARED && !NO_HIDDEN].
12782 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12783 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12784 * sysdeps/powerpc/powerpc32/dl-machine.c
12785 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12786 * sysdeps/powerpc/powerpc32/sysdep.h
12787 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12788 to [SHARED && PIC && !NO_HIDDEN].
12789 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12790 conditional to [SHARED].
12792 2013-09-04 Will Newton <will.newton@linaro.org>
12794 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12795 * benchtests/bench-string.h: Include bench-timing.h instead
12796 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12797 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12798 call to HP_TIMING_DIFF_INIT.
12799 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12800 instead of hp-timing.h macros.
12801 * benchtests/bench-memchr.c: Likewise.
12802 * benchtests/bench-memcmp.c: Likewise.
12803 * benchtests/bench-memcpy.c: Likewise.
12804 * benchtests/bench-memmem.c: Likewise.
12805 * benchtests/bench-memmove.c: Likewise.
12806 * benchtests/bench-memset.c: Likewise.
12807 * benchtests/bench-rawmemchr.c: Likewise.
12808 * benchtests/bench-strcasecmp.c: Likewise.
12809 * benchtests/bench-strcasestr.c: Likewise.
12810 * benchtests/bench-strcat.c: Likewise.
12811 * benchtests/bench-strchr.c: Likewise.
12812 * benchtests/bench-strcmp.c: Likewise.
12813 * benchtests/bench-strcpy.c: Likewise.
12814 * benchtests/bench-strcpy_chk.c: Likewise.
12815 * benchtests/bench-strlen.c: Likewise.
12816 * benchtests/bench-strncasecmp.c: Likewise.
12817 * benchtests/bench-strncat.c: Likewise.
12818 * benchtests/bench-strncmp.c: Likewise.
12819 * benchtests/bench-strncpy.c: Likewise.
12820 * benchtests/bench-strnlen.c: Likewise.
12821 * benchtests/bench-strpbrk.c: Likewise.
12822 * benchtests/bench-strrchr.c: Likewise.
12823 * benchtests/bench-strspn.c: Likewise.
12824 * benchtests/bench-strstr.c: Likewise.
12826 2013-09-04 Will Newton <will.newton@linaro.org>
12828 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12830 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12833 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12834 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12835 * math/libm-test.inc (lgamma_test_data): Add more tests.
12836 * sysdeps/i386/fpu/libm-test-ulps: Update.
12837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12839 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12841 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12842 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12845 Add strcmp-sse2-unaligned
12846 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12848 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12850 * Versions.def (libc): Add GLIBC_2.19.
12852 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12854 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12855 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12857 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12860 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12861 intermediate calculations in recurrence.
12862 (__ieee754_ynf): Likewise.
12863 * math/libm-test.inc (jn_test_data): Do not allow spurious
12864 underflow exception. Add more tests.
12865 (yn_test_data): Add more tests.
12866 * sysdeps/i386/fpu/libm-test-ulps: Update.
12867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12869 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12871 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12873 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12875 * csu/init-first.c: Fix then/than typos.
12876 * locale/programs/ld-collate.c: Likewise.
12877 * locale/programs/linereader.h: Likewise.
12878 * manual/charset.texi: Likewise.
12879 * manual/filesys.texi: Likewise.
12880 * manual/stdio.texi: Likewise.
12881 * manual/string.texi: Likewise.
12882 * stdlib/fmtmsg.c: Likewise.
12883 * sysdeps/i386/stpncpy.S: Likewise.
12884 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12885 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12886 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12887 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12889 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12891 * elf/dl-open.c: Fix typos.
12892 * iconvdata/gbbig5.c: Likewise.
12893 * iconvdata/iso-2022-jp.c: Likewise.
12894 * iconv/gconv_int.h: Likewise.
12895 * iconv/loop.c: Likewise.
12896 * nis/rpcsvc/nis.h: Likewise.
12897 * resolv/ns_name.c: Likewise.
12898 * stdio-common/vfscanf.c: Likewise.
12899 * streams/stropts.h: Likewise.
12900 * sunrpc/rpc_thread.c: Likewise.
12901 * sysdeps/i386/strpbrk.S: Likewise.
12902 * sysdeps/ieee754/k_standard.c: Likewise.
12903 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12905 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12906 * sysdeps/mach/hurd/profil.c: Likewise.
12907 * sysdeps/s390/dl-procinfo.h: Likewise.
12908 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12909 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12910 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12911 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12912 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12914 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12916 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12917 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12919 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12921 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12922 aix specific files.
12923 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12924 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12925 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12926 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12927 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12928 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12929 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12930 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12932 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12933 Roland McGrath <roland@hack.frob.com>
12935 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12936 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12938 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12940 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12941 __executable_start symbol instead of _start.
12943 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12945 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12946 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12948 * sysdeps/gnu/ldsodefs.h: ... this new file.
12950 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12951 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12952 instead of ELFOSABI_LINUX.
12954 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12955 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12956 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12957 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12959 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12960 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12961 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12963 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12964 (ibm_extended_long_double): Add ieee_nan member.
12965 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12966 (do_test): New function.
12968 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12970 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12971 functions, renamed from truncdfsf_test, trunctfsf_test,
12973 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12975 (do_test): Run all these.
12977 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12979 * argp/argp-help.c: Fix typos.
12980 * argp/argp-parse.c: Likewise.
12981 * debug/backtracesyms.c: Likewise.
12982 * elf/elf.h: Likewise.
12983 * malloc/malloc.c: Likewise.
12984 * nis/nis_print.c: Likewise.
12985 * resolv/res_comp.c: Likewise.
12986 * stdlib/stdlib.h: Likewise.
12987 * sunrpc/clnt_tcp.c: Likewise.
12988 * sunrpc/clnt_udp.c: Likewise.
12989 * sunrpc/clnt_unix.c: Likewise.
12990 * sysdeps/unix/bsd/ptsname.c: Likewise.
12991 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12992 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12999 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13001 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13003 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13006 2013-08-27 Mike Frysinger <vapier@gentoo.org>
13009 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13010 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13011 ($(objpfx)bug-dl-leaf): New rule.
13012 ($(objpfx)bug-dl-leaf.so): Likewise.
13013 ($(objpfx)bug-dl-leaf.out): Likewise.
13014 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13015 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13016 * dlfcn/bug-dl-leaf.c: New test.
13017 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13018 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13019 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13020 (dlclose): Likewise.
13021 (dlmopen): Likewise.
13023 2013-08-27 Roland McGrath <roland@hack.frob.com>
13025 * include/netdb.h [!_ISOMAC]:
13026 Don't include <tls.h>.
13027 (h_errno, __libc_h_errno): Move declaration and macros out of
13030 * include/resolv.h [_RESOLV_H_]:
13031 Don't include <tls.h>.
13032 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13033 * resolv/res_libc.c: Don't include <tls.h>.
13034 (_res): Use __attribute__ ((nocommon)) in place of
13035 __attribute__ ((section (".bss"))).
13037 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13038 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13040 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13042 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13043 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13045 * resolv/res_mkquery.c: Include <sys/time.h>.
13047 * inet/ifreq.c: Moved to ...
13048 * sysdeps/unix/ifreq.c: ... here.
13049 * inet/ifreq.c: New file, true stub version.
13051 * socket/sa_len.c: New file.
13052 * socket/Makefile (aux): Add it.
13053 * sysdeps/unix/sysv/linux/Makefile
13054 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13055 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13056 and #include <socket/sa_len.c>.
13057 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13058 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13060 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13061 * bits/socket.h: ... here.
13063 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13064 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13065 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13067 2013-08-27 Andreas Schwab <schwab@suse.de>
13070 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13071 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13072 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13073 * string/test-strcasecmp.c (test_main): Run tests in several
13075 * string/test-strncasecmp.c (test_main): Likewise.
13077 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13078 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13079 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13081 (__strncasecmp_ssse3) [PIC]: Likewise.
13083 2013-08-26 Roland McGrath <roland@hack.frob.com>
13085 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13087 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13088 instead of explicitly declaring xdecrypt.
13089 * nis/nss_nis/nis-publickey.c: Likewise.
13091 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13094 * nscd/aicache.c: Include res_hconf.h.
13095 (addhstaiX): Initialize res_hconf.
13097 2013-08-26 Andreas Schwab <schwab@suse.de>
13099 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13100 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13102 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13104 * nscd/aicache.c (addhstaiX): Fix indentation.
13106 2013-08-25 Mike Frysinger <vapier@gentoo.org>
13108 * configure.ac: Quote $build_pt_chown test.
13109 * configure: Regenerated.
13111 2013-08-23 Joseph Myers <joseph@codesourcery.com>
13114 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13115 * math/s_cexpf.c (__cexpf): Likewise.
13116 * math/s_cexpl.c (__cexpl): Likewise.
13117 * math/libm-test.inc (cexp_test_data): Correct expected return
13118 value for NaN + i0. Add another test.
13120 2013-08-22 David S. Miller <davem@davemloft.net>
13122 * po/ca.po: Update Catalan translation from translation project.
13123 * po/uk.po: Add Ukrainian translations from translation project.
13125 2013-08-21 Joseph Myers <joseph@codesourcery.com>
13128 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13129 is infinite, not alongside NaN test.
13130 * math/s_fdimf.c (__fdimf): Likewise.
13131 * math/s_fdiml.c (__fdiml): Likewise.
13132 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13133 errno is unchanged.
13135 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
13137 * argp/argp-help.c: Fix typos.
13138 * crypt/speeds.c: Likewise.
13139 * csu/check_fds.c: Likewise.
13140 * elf/dl-load.c: Likewise.
13141 * elf/dl-open.c: Likewise.
13142 * elf/reldep3.c: Likewise.
13143 * elf/reldep.c: Likewise.
13144 * elf/sprof.c: Likewise.
13145 * iconv/iconv_charmap.c: Likewise.
13146 * iconv/skeleton.c: Likewise.
13147 * iconv/strtab.c: Likewise.
13148 * io/lockf64.c: Likewise.
13149 * libio/libioP.h: Likewise.
13150 * resolv/gai_notify.c: Likewise.
13151 * resolv/ns_name.c: Likewise.
13152 * resolv/ns_samedomain.c: Likewise.
13153 * resolv/res_send.c: Likewise.
13154 * stdlib/random.c: Likewise.
13155 * sunrpc/rpc/xdr.h: Likewise.
13156 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13157 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13158 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13159 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13160 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13161 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13162 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13163 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13164 * sysdeps/mach/hurd/check_fds.c: Likewise.
13165 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13166 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13167 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13168 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13169 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13170 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13171 * sysdeps/pthread/aio_notify.c: Likewise.
13172 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13173 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13174 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13175 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13176 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13178 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13180 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13181 version if bit_Slow_SSE4_2 is set.
13182 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13183 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13185 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13188 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13189 trampoline stack frame information.
13190 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13191 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13192 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13193 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13194 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13195 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13196 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13197 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13199 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13200 interrupting a syscall and set with option SA_SIGINFO.
13202 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13205 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13206 argument is infinite.
13207 * math/s_cprojf.c (__cprojf): Likewise.
13208 * math/s_cprojl.c (__cprojl): Likewise.
13209 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13210 * math/libm-test.inc (cproj_test_data): Add more tests.
13212 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13214 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13215 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13216 size. Use __ffs to determine corresponding shift.
13218 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13219 Roland McGrath <roland@hack.frob.com>
13221 * Makefile (INSTALL): Remove trailing blank lines from output of
13224 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13226 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13227 Align 32 bit compat elf_greg to 8 bytes.
13229 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13231 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13233 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13235 * string/strcoll_l.c (coll_seq): New structure.
13236 (get_next_seq_cached): New function.
13237 (get_next_seq): New function.
13238 (do_compare): New function.
13239 (STRCOLL): Use GNU style definition. Simplify implementation
13240 by using get_next_seq, get_next_seq_cached and do_compare.
13242 2013-08-16 Florian Weimer <fweimer@redhat.com>
13246 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13248 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13250 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13251 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13252 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13254 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13255 GETDENTS_64BIT_ALIGNED.
13256 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13257 * manual/filesys.texi (Reading/Closing Directory): Document
13258 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13260 * manual/conf.texi (Limits for Files): Add portability note to
13261 NAME_MAX, PATH_MAX.
13262 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13264 2013-08-13 Andreas Schwab <schwab@suse.de>
13267 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13269 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13270 LDBL_MAX_EXP >= 16384]: Add tests for it.
13272 2013-08-12 David S. Miller <davem@davemloft.net>
13274 * version.h (RELEASE): Set to "development".
13275 (VERSION): Set to "2.18.90".
13276 * NEWS: Add 2.19 section.
13278 2013-08-03 David S. Miller <davem@davemloft.net>
13280 * po/ko.po: Update Korean translation from translation project.
13282 2013-08-01 David S. Miller <davem@davemloft.net>
13284 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13285 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13288 2013-07-30 David S. Miller <davem@davemloft.net>
13290 * po/fr.po: Update French translation from translation project.
13292 2013-07-28 David S. Miller <davem@davemloft.net>
13294 * po/cs.po: Update Czech translation from translation project.
13296 * po/sv.po: Update Swedish translation from translation project.
13298 2013-07-27 David S. Miller <davem@davemloft.net>
13300 * po/eo.po: Update Esperanto translation from translation project.
13302 * po/vi.po: Update Vietnamese translation from translation project.
13304 * po/de.po: Update German translation from translation project.
13306 2013-07-26 David S. Miller <davem@davemloft.net>
13308 * po/bg.po: Update Bulgarian translation from translation project.
13310 * po/nl.po: Update Dutch translation from translation project.
13311 * po/pl.po: Update Polish translation from translation project.
13312 * po/ru.po: Update Russian translation from translation project.
13314 2013-07-24 David S. Miller <davem@davemloft.net>
13316 * po/libc.pot: Update.
13318 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13320 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13321 variable page size.
13322 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13323 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13324 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13326 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13328 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13330 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13331 Andreas Schwab <schwab@suse.de>
13332 Roland McGrath <roland@hack.frob.com>
13333 Joseph Myers <joseph@codesourcery.com>
13334 Carlos O'Donell <carlos@redhat.com>
13337 * config.h.in: Define HAVE_PT_CHOWN.
13338 * config.make.in (build-pt-chown): New variable.
13339 * configure.in (--enable-pt_chown): New configure option.
13340 * configure: Regenerate.
13341 * login/Makefile: Include Makeconfig. Build pt_chown only if
13342 build-pt-chown is enabled.
13343 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13344 pt_chown to fix pty ownership.
13345 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13347 * manual/install.texi (Configuring and compiling): Mention
13348 --enable-pt_chown. Add @findex for grantpt.
13349 * INSTALL: Regenerate.
13351 2013-07-20 David S. Miller <davem@davemloft.net>
13353 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13354 difference between 32-bit and 64-bit.
13356 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13359 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13360 Avoid system header dependency with -ffreestanding.
13361 ($(objpfx)bits/syscall%d): Likewise.
13363 2013-07-13 David S. Miller <davem@davemloft.net>
13365 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13366 underflows from atanl/atan2l due to bug 15319.
13367 (casinh_test_data): Likewise.
13369 2013-07-07 David S. Miller <davem@davemloft.net>
13371 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13373 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13375 * sysdeps/i386/fpu/libm-test-ulps: Update.
13376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13378 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13380 * configure.in (--enable-lock-elision): Fix message text.
13381 * INSTALL: Regenerate.
13382 * configure: Regenerate.
13384 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13388 2013-07-03 Andreas Jaeger <aj@suse.de>
13390 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13392 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13393 (ptrace_peeksiginfo_args): Add.
13394 (__ptrace_peeksiginfo_flags): Add.
13395 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13397 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13399 2013-07-03 Allan McRae <allan@archlinux.org>
13401 * sysdeps/i386/fpu/libm-test-ulps: Update.
13403 2013-07-02 David S. Miller <davem@davemloft.net>
13405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13407 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13411 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13413 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13416 2013-07-02 Andi Kleen <ak@linux.intel.com>
13418 * config.h.in (ENABLE_LOCK_ELISION): Add.
13419 * configure.in (--enable-lock-elision): Add option.
13420 * manual/install.texi: Document --enable lock elision.
13421 * configure: Regenerate
13422 * INSTALL: Regenerate.
13424 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13426 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13427 SSE4.2 strcasecmp for libc.a.
13428 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13430 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13433 * soft-fp/op-common.h (_FP_FMA): New macro.
13434 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13435 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13436 (_FP_MUL_MEAT_1_imm): ... here.
13437 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13438 (_FP_MUL_MEAT_1_wide): ... here.
13439 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13440 (_FP_MUL_MEAT_1_hard): ... here.
13441 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13442 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13443 (_FP_MUL_MEAT_2_wide): ... here.
13444 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13445 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13446 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13447 (_FP_MUL_MEAT_2_gmp): ... here.
13448 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13449 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13450 (_FP_MUL_MEAT_4_wide): ... here.
13451 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13452 (_FP_MUL_MEAT_4_gmp): ... here.
13453 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13454 (_FP_WFRACBITS_DW_S): Likewise.
13455 (_FP_WFRACXBITS_DW_S): Likewise.
13456 (_FP_HIGHBIT_DW_S): Likewise.
13457 (FP_FMA_S): Likewise.
13458 (_FP_FRAC_HIGH_DW_S): Likewise.
13459 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13460 (_FP_WFRACBITS_DW_D): Likewise.
13461 (_FP_WFRACXBITS_DW_D): Likewise.
13462 (_FP_HIGHBIT_DW_D): Likewise.
13463 (FP_FMA_D): Likewise.
13464 (_FP_FRAC_HIGH_DW_D): Likewise.
13465 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13466 (_FP_WFRACBITS_DW_E): Likewise.
13467 (_FP_WFRACXBITS_DW_E): Likewise.
13468 (_FP_HIGHBIT_DW_E): Likewise.
13469 (FP_FMA_E): Likewise.
13470 (_FP_FRAC_HIGH_DW_E): Likewise.
13471 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13472 (_FP_WFRACBITS_DW_Q): Likewise.
13473 (_FP_WFRACXBITS_DW_Q): Likewise.
13474 (_FP_HIGHBIT_DW_Q): Likewise.
13475 (FP_FMA_Q): Likewise.
13476 (_FP_FRAC_HIGH_DW_Q): Likewise.
13477 * soft-fp/fmasf4.c: New file.
13478 * soft-fp/fmadf4.c: Likewise.
13479 * soft-fp/fmatf4.c: Likewise.
13481 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13484 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13486 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13488 (index_Slow_SSE4_2): Likewise.
13489 (index_Prefer_PMINUB_for_stringop): Likewise.
13490 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13491 bit_Slow_SSE4_2 is set.
13492 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13493 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13495 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13497 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13498 rtld_global._dl_hwcap2.
13499 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13501 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13502 POWER8 feature descriptions defined in _dl_hwcap2.
13503 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13504 string handling for POWER8 feature bits.
13505 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13506 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13507 _dl_powerpc_cap_flags.
13508 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13509 * sysdeps/powerpc/rtld-global-offsets.sym
13510 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13511 _dl_hwcap2 in the rtld_global_ro structure.
13513 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13515 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13516 hardware capabilities in support of AT_HWCAP2.
13517 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13518 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13520 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13521 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13522 explicitly the unknown a_type display mechanism is used.
13523 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13524 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13526 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13527 to macro prototype for AT_HWCAP2 support.
13528 * sysdeps/i386/dl-procinfo.h: Likewise.
13529 * sysdeps/s390/dl-procinfo.h: Likewise.
13530 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13531 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13532 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13533 return -1 for unknown a_type display fallback.
13534 * sysdeps/sparc/dl-procinfo.h: Likewise.
13535 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13536 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13538 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13540 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13541 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13543 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13546 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13547 mprotect making __stack_prot writable.
13549 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13550 Joseph Myers <joseph@codesourcery.com>
13552 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13553 as being properly aligned.
13555 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13557 * dlfcn/modstatic5.c: New file.
13558 * dlfcn/tststatic5.c: New file.
13559 * dlfcn/Makefile (tests): Add tststatic5.
13560 (tests-static): Likewise.
13561 (modules-names): Add modstatic5.
13562 (tststatic5-ENV): New variable.
13563 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13566 * elf/dl-support.c (_dl_main_map): New variable.
13567 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13568 (_dl_nns, _dl_load_adds): Set to 1.
13569 (_dl_initial_searchlist): Refer to _dl_main_map.
13570 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13571 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13572 call to _dl_get_origin.
13573 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13575 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13576 * dlfcn/modstatic3.c: New file.
13577 * dlfcn/tststatic3.c: New file.
13578 * dlfcn/tststatic4.c: New file.
13579 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13580 (tests-static): Likewise.
13581 (modules-names): Add modstatic3.
13582 (tststatic3-ENV, tststatic4-ENV): New variables.
13583 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13584 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13586 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13588 * configure.in (CC): Require GCC version 4.4 or later.
13589 * configure: Regenerated.
13590 * manual/install.texi (Tools for Compilation): Update GCC version
13592 * INSTALL: Regenerated.
13594 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13597 * string/test-memcmp.c (check2): New.
13598 (main): Call check2.
13600 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13602 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13605 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13607 (dl_open_worker) [!SHARED]: ... here.
13609 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13611 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13613 2013-06-25 Richard Henderson <rth@redhat.com>
13615 * locale/programs/locarchive.c: Include <libc-internal.h>
13617 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13619 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13620 trailing whitespace removed.
13622 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13625 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13626 * locale/programs/locarchive.c: Include libc-mmap.h.
13627 (prepare_address_space): Take two new outputs (the mmap base and len).
13628 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13630 (create_archive): Declare new mmap base and len values for
13631 prepare_address_space, and store the result in ah.
13632 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13633 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13634 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13635 Declare new mmap base and len values for
13636 prepare_address_space, and store the result in new_ah.
13637 (open_archive): Declare new mmap base and len values for
13638 prepare_address_space, and store the result in ah.
13639 (close_archive): If ah->mmap_base is not NULL, use that and
13640 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13641 * sysdeps/generic/libc-mmap.h: New file.
13643 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13645 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13646 (ALIGN_UP): Likewise.
13647 (PTR_ALIGN_DOWN): Likewise.
13648 (PTR_ALIGN_UP): Likewise.
13650 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13652 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13653 entry mapped to PPC_PLATFORM_POWER8.
13654 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13656 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13657 (_dl_string_platform): Add case for exporting platform position for
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13660 search path to sysdeps/powerpc/powerpc32/power8 directory.
13661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13662 search path to sysdeps/powerpc/powerpc64/power8 directory.
13663 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13664 power7 directories.
13665 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13666 power7 directories.
13668 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13670 * INSTALL: Regenerate.
13672 * nscd/connections.c (nscd_init): Fix comment.
13674 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13676 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13679 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13680 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13682 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13684 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13686 (DL_DST_REQ_STATIC): Remove macro.
13688 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13691 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13692 with a shift of 0 bits.
13694 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13696 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13699 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13702 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13704 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13706 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13707 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13708 accepts -fno-tree-loop-distribute-patterns.
13709 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13710 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13712 * string/memset.c (memset): Likewise.
13713 * string/test-memmove.c (simple_memmove): Disable loop transformation
13715 * string/test-memset.c (simple_memset): Likewise.
13716 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13717 * benchtests/bench-memset.c (simple_memset): Likewise.
13718 * configure: Regenerated.
13720 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13722 * math/test-misc.c (main): Ignore fesetround failure when failures
13723 of subsequent rounding tests would be ignored.
13726 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13727 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13728 * math/fegetenv.c (__fegetenv): Return 0.
13729 * math/fegetexcept.c (fegetexcept): Return 0.
13730 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13732 * math/feholdexcpt.c (feholdexcept): Return 0.
13733 * math/fesetenv.c (__fesetenv): Return 0.
13734 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13735 argument FE_TONEAREST.
13736 * math/feupdateenv.c (__feupdateenv): Return 0.
13737 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13739 2013-06-18 Roland McGrath <roland@hack.frob.com>
13741 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13742 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13743 ($(objpfx)rtld-%.os rules): Use them.
13745 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13747 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13750 2013-06-17 Roland McGrath <roland@hack.frob.com>
13752 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13753 length of target pattern, then descending length of dependency pattern.
13754 * configure.in (AWK): Require gawk 3.1.2 or newer.
13755 * manual/install.texi (Tools for Compilation): Say that we do.
13756 * configure: Regenerated.
13758 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13759 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13760 * scripts/sysd-rules.awk: ... this new script.
13761 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13762 than a glob-style pattern.
13764 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13766 * math/test-misc.c (main): Do not treat incorrectly rounded
13767 conversions as failure unless ROUNDING_TESTS passes.
13769 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13772 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13773 restore exception state around main square root computation, then
13774 check for inexactness explicitly.
13776 * math/libm-test.inc (fma_test_data): Add another test.
13778 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13780 * manual/threads.texi (Non-POSIX Extensions): New document
13781 node. Document pthread_getattr_default_np and
13782 pthread_setattr_default_np.
13784 * Versions.def (libpthread): Add GLIBC_2.18.
13785 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13794 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13805 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13808 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13810 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13811 H.J. Lu <hjl.tools@gmail.com>
13814 * sysdeps/x86_64/rtld-memset.c: Remove file.
13815 * sysdeps/x86_64/rtld-memset.S: New file.
13817 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13819 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13820 (test_in_one_mode): Take arguments for whether the rounding mode
13821 is supported for each floating-point type.
13822 (do_test): Pass new arguments to test_in_one_mode using
13825 2013-06-13 Roland McGrath <roland@hack.frob.com>
13827 * posix/tst-waitid.c (do_test): Distinguish different instances of
13828 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13829 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13830 before entering the kernel for waitpid.
13832 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13834 * NEWS: Fix note on clock function precision. Text by Roland
13837 2013-06-13 Roland McGrath <roland@hack.frob.com>
13839 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13840 it into place only when and if the sanity check passes.
13842 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13844 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13845 output for whether conversion result is exact. Take argument
13846 indicating whether type is IBM long double.
13847 (round_for_all): Change need_exact field to ibm_ld.
13848 * stdlib/tst-strtod-round.c (struct exactness): New type.
13849 (struct test): Change bool ld_ok field to struct exactness exact.
13850 (TEST): Update all definitions for change to field.
13851 (tests): Regenerate array contents.
13852 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13853 field value. Check for IBM long double here.
13854 (do_test): Update calls to test_in_one_mode.
13856 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13859 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13860 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13862 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13865 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13866 generated by the compiler on loop optimizations.
13867 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13868 general definitions.
13870 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13872 * math/bug-nextafter.c: Include <math-tests.h>.
13873 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13875 * math/bug-nexttoward.c: Include <math-tests.h>.
13876 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13878 * math/test-misc.c: Include <math-tests.h>.
13879 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13882 2013-06-12 Andreas Jaeger <aj@suse.de>
13884 * po/ia.po: Update Interlingua translation from translation
13887 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13889 * include/fenv.h: Include stdbool.h.
13890 (struct rm_ctx): New structure.
13891 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13893 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13894 (SET_RESTORE_ROUNDF): Likewise.
13895 (SET_RESTORE_ROUNDL): Likewise.
13896 (SET_RESTORE_ROUND_NOEX): Likewise.
13897 (SET_RESTORE_ROUND_NOEXF): Likewise.
13898 (SET_RESTORE_ROUND_NOEXL): Likewise.
13899 (SET_RESTORE_ROUND_53BIT): Likewise.
13900 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13901 (libc_feresetround_noexf_ctx): Likewise.
13902 (libc_feresetround_noexl_ctx): Likewise.
13903 (libc_feholdsetround_53bit_ctx): Likewise.
13904 (libc_feresetround_53bit_ctx): Likewise.
13905 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13906 (libc_feholdexcept_setround_sse_ctx): New function.
13907 (libc_fesetenv_sse_ctx): Likewise.
13908 (libc_feupdateenv_sse_ctx): Likewise.
13909 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13910 (libc_feholdexcept_setround_387_ctx): Likewise.
13911 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13912 (libc_feholdsetround_387_prec_ctx): Likewise.
13913 (libc_feholdsetround_387_ctx): Likewise.
13914 (libc_feholdsetround_387_53bit_ctx): Likewise.
13915 (libc_feholdsetround_sse_ctx): Likewise.
13916 (libc_feresetround_sse_ctx): Likewise.
13917 (libc_feresetround_387_ctx): Likewise.
13918 (libc_feupdateenv_387_ctx): Likewise.
13919 (libc_feholdexcept_setroundf_ctx): Define macro.
13920 (libc_fesetenvf_ctx): Likewise.
13921 (libc_feupdateenvf_ctx): Likewise.
13922 (libc_feholdsetroundf_ctx): Likewise.
13923 (libc_feresetroundf_ctx): Likewise.
13924 (libc_feholdexcept_setround_ctx): Likewise.
13925 (libc_fesetenv_ctx): Likewise.
13926 (libc_feupdateenv_ctx): Likewise.
13927 (libc_feholdsetround_ctx): Likewise.
13928 (libc_feresetround_ctx): Likewise.
13929 (libc_feholdexcept_setroundl_ctx): Likewise.
13930 (libc_feupdateenvl_ctx): Likewise.
13931 (libc_feholdsetroundl_ctx): Likewise.
13932 (libc_feresetroundl_ctx): Likewise.
13933 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13934 (libc_feresetround_53bit_ctx): Likewise.
13936 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13938 * locale/iso-639.def: Convert to UTF-8.
13940 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13942 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13943 (EXCEPTION_TESTS_double): Likewise.
13944 (EXCEPTION_TESTS_long_double): Likewise.
13945 (EXCEPTION_TESTS): Likewise.
13946 * math/libm-test.inc (test_exceptions): Only test exceptions if
13947 EXCEPTION_TESTS (FLOAT).
13949 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13951 * benchtests/Makefile (string-bench): Add strcpy_chk and
13953 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13954 * benchtests/bench-stpcpy_chk.c: New file.
13955 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13956 * benchtests/bench-strcpy_chk.c: New file.
13957 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13959 (do_test): Likewise.
13961 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13963 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13964 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13965 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13966 with tabs where appropriate.
13967 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13969 [PPC_PLATFORM_PPC440]: Likewise.
13970 [PPC_PLATFORM_PPC464]: Likewise.
13971 [PPC_PLATFORM_PPC476]: Likewise.
13972 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13973 ppc464, and ppc476 platform strings merging from ports/
13976 2013-06-11 Andreas Schwab <schwab@suse.de>
13979 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13980 (from_ucs4_idx): Regenerate.
13981 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13982 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13983 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13984 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13985 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13986 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13987 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13988 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13989 from FROM_LOOP and TO_LOOP specific macros.
13990 (BODY): Handle combining characters.
13991 * iconvdata/BIG5HKSCS.irreversible: Update.
13992 * iconvdata/BIG5HKSCS.precomposed: New file.
13993 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13995 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13997 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13999 * include/sys/time.h: Fix indentation and add copyright header.
14001 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14002 (do_test): Likewise.
14003 * string/test-memchr.c (do_one_test): Likewise.
14004 (do_test): Likewise.
14005 * string/test-memcmp.c (do_one_test): Likewise.
14006 (do_test): Likewise.
14007 * string/test-memcpy.c (do_one_test): Likewise.
14008 (do_test): Likewise.
14009 * string/test-memmem.c (do_one_test): Likewise.
14010 (do_test): Likewise.
14011 (do_random_tests): Likewise.
14012 * string/test-memmove.c (do_one_test): Likewise.
14013 (do_test): Likewise.
14014 * string/test-memset.c (do_one_test): Likewise.
14015 (do_test): Likewise.
14016 * string/test-rawmemchr.c (do_one_test): Likewise.
14017 (do_test): Likewise.
14018 * string/test-strcasecmp.c (do_one_test): Likewise.
14019 (do_test): Likewise.
14020 * string/test-strcasestr.c (do_one_test): Likewise.
14021 (do_test): Likewise.
14022 * string/test-strcat.c (do_one_test): Likewise.
14023 (do_test): Likewise.
14024 * string/test-strchr.c (do_one_test): Likewise.
14025 (do_test): Likewise.
14026 * string/test-strcmp.c (do_one_test): Likewise.
14027 (do_test): Likewise.
14028 * string/test-strcpy.c (do_one_test): Likewise.
14029 (do_test): Likewise.
14030 * string/test-string.h: Likewise.
14031 (test_init): Likewise.
14032 * string/test-strlen.c (do_one_test): Likewise.
14033 (do_test): Likewise.
14034 * string/test-strncasecmp.c (do_one_test): Likewise.
14035 (do_test): Likewise.
14036 * string/test-strncat.c (do_one_test): Likewise.
14037 (do_test): Likewise.
14038 * string/test-strncmp.c (do_one_test): Likewise.
14039 (do_test_limit): Likewise.
14040 (do_test): Likewise.
14041 * string/test-strncpy.c (do_one_test): Likewise.
14042 (do_test): Likewise.
14043 * string/test-strnlen.c (do_one_test): Likewise.
14044 (do_test): Likewise.
14045 * string/test-strpbrk.c (do_one_test): Likewise.
14046 (do_test): Likewise.
14047 * string/test-strrchr.c (do_one_test): Likewise.
14048 (do_test): Likewise.
14049 * string/test-strspn.c (do_one_test): Likewise.
14050 (do_test): Likewise.
14051 * string/test-strstr.c (do_one_test): Likewise.
14052 (do_test): Likewise.
14054 * benchtests/Makefile (string-bench): Add string benchmarks.
14055 * benchtests/bench-bcopy-ifunc.c: New file.
14056 * benchtests/bench-bcopy.c: New file.
14057 * benchtests/bench-bzero-ifunc.c: New file.
14058 * benchtests/bench-bzero.c: New file.
14059 * benchtests/bench-memccpy-ifunc.c: New file.
14060 * benchtests/bench-memccpy.c: New file.
14061 * benchtests/bench-memchr-ifunc.c: New file.
14062 * benchtests/bench-memchr.c: New file.
14063 * benchtests/bench-memcmp-ifunc.c: New file.
14064 * benchtests/bench-memcmp.c: New file.
14065 * benchtests/bench-memmem-ifunc.c: New file.
14066 * benchtests/bench-memmem.c: New file.
14067 * benchtests/bench-memmove-ifunc.c: New file.
14068 * benchtests/bench-memmove.c: New file.
14069 * benchtests/bench-mempcpy-ifunc.c: New file.
14070 * benchtests/bench-mempcpy.c: New file.
14071 * benchtests/bench-memset-ifunc.c: New file.
14072 * benchtests/bench-memset.c: New file.
14073 * benchtests/bench-rawmemchr-ifunc.c: New file.
14074 * benchtests/bench-rawmemchr.c: New file.
14075 * benchtests/bench-stpcpy-ifunc.c: New file.
14076 * benchtests/bench-stpcpy.c: New file.
14077 * benchtests/bench-stpncpy-ifunc.c: New file.
14078 * benchtests/bench-stpncpy.c: New file.
14079 * benchtests/bench-strcasecmp-ifunc.c: New file.
14080 * benchtests/bench-strcasecmp.c: New file.
14081 * benchtests/bench-strcasestr-ifunc.c: New file.
14082 * benchtests/bench-strcasestr.c: New file.
14083 * benchtests/bench-strcat-ifunc.c: New file.
14084 * benchtests/bench-strcat.c: New file.
14085 * benchtests/bench-strchr-ifunc.c: New file.
14086 * benchtests/bench-strchr.c: New file.
14087 * benchtests/bench-strchrnul-ifunc.c: New file.
14088 * benchtests/bench-strchrnul.c: New file.
14089 * benchtests/bench-strcmp-ifunc.c: New file.
14090 * benchtests/bench-strcmp.c: New file.
14091 * benchtests/bench-strcpy-ifunc.c: New file.
14092 * benchtests/bench-strcpy.c: New file.
14093 * benchtests/bench-strcspn-ifunc.c: New file.
14094 * benchtests/bench-strcspn.c: New file.
14095 * benchtests/bench-strlen-ifunc.c: New file.
14096 * benchtests/bench-strlen.c: New file.
14097 * benchtests/bench-strncasecmp-ifunc.c: New file.
14098 * benchtests/bench-strncasecmp.c: New file.
14099 * benchtests/bench-strncat-ifunc.c: New file.
14100 * benchtests/bench-strncat.c: New file.
14101 * benchtests/bench-strncmp-ifunc.c: New file.
14102 * benchtests/bench-strncmp.c: New file.
14103 * benchtests/bench-strncpy-ifunc.c: New file.
14104 * benchtests/bench-strncpy.c: New file.
14105 * benchtests/bench-strnlen-ifunc.c: New file.
14106 * benchtests/bench-strnlen.c: New file.
14107 * benchtests/bench-strpbrk-ifunc.c: New file.
14108 * benchtests/bench-strpbrk.c: New file.
14109 * benchtests/bench-strrchr-ifunc.c: New file.
14110 * benchtests/bench-strrchr.c: New file.
14111 * benchtests/bench-strspn-ifunc.c: New file.
14112 * benchtests/bench-strspn.c: New file.
14113 * benchtests/bench-strstr-ifunc.c: New file.
14114 * benchtests/bench-strstr.c: New file.
14116 * benchtests/Makefile: Disable parallel execution of targets.
14117 (string-bench): Add memcpy.
14118 (benchset): New variable to store a list of benchmark sets.
14119 (bench-func): Renamed from bench.
14120 (bench-set): New target.
14121 (bench): Depend on bench-func and bench-set.
14122 * benchtests/README: Add section on benchmark sets.
14123 * benchtests/bench-memcpy-ifunc.c: New file.
14124 * benchtests/bench-memcpy.c: New file.
14125 * benchtests/bench-string.h: New file.
14127 2013-06-11 Andreas Schwab <schwab@suse.de>
14130 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14131 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14132 values in the triple.
14133 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14134 terminator in the group key.
14136 2013-06-11 Andreas Jaeger <aj@suse.de>
14138 * po/zh_TW.po: Update Chinese (traditional) translation from
14139 translation project.
14141 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14143 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14144 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14145 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14146 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14147 (clock_getcpuclockid): Likewise.
14148 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14149 Add weak_alias and libc_hidden_def.
14150 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14151 * rt/clock_gettime.c (clock_gettime): Rename to
14152 __clock_gettime. Add weak_alias and libc_hidden_def.
14153 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14154 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14155 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14156 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14157 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14159 * rt/clock_settime.c (clock_settime): Rename to
14160 __clock_settime. Add weak_alias and libc_hidden_def.
14161 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14163 2013-06-10 Joseph Myers <joseph@codesourcery.com>
14165 * mach/err_boot.sub: Remove trailing whitespace.
14166 * mach/err_ipc.sub: Likewise.
14167 * mach/err_mach.sub: Likewise.
14169 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14170 (ROUNDING_TESTS_double): Likewise.
14171 (ROUNDING_TESTS_long_double): Likewise.
14172 (ROUNDING_TESTS): Likewise.
14173 * math/libm-test.inc: Include <math-tests.h>.
14174 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14175 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14176 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14177 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14179 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14181 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14184 2013-06-08 Joseph Myers <joseph@codesourcery.com>
14186 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14187 otherwise empty TRANS lines.
14188 * sysdeps/gnu/errlist.c: Regenerated.
14190 * catgets/gencat.c (error_print): Use (void) in function
14192 * crypt/crypt_util.c (__init_des): Likewise.
14193 * crypt/speeds.c (Stop): Likewise.
14195 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14196 * inet/ruserpass.c (token): Likewise.
14197 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14198 * intl/localealias.c (extend_alias_table): Likewise.
14199 * intl/plural-exp.c (init_germanic_plural): Likewise.
14200 * libio/fcloseall.c (__fcloseall): Likewise.
14201 * libio/genops.c (_IO_flush_all): Likewise.
14202 (_IO_flush_all_linebuffered): Likewise.
14203 (_IO_cleanup): Likewise.
14204 (_IO_iter_begin): Likewise.
14205 (_IO_iter_end): Likewise.
14206 (_IO_list_lock): Likewise.
14207 (_IO_list_unlock): Likewise.
14208 (_IO_list_resetlock): Likewise.
14209 * libio/getchar.c (getchar): Likewise.
14210 * libio/getchar_u.c (getchar_unlocked): Likewise.
14211 * libio/getwchar.c (getwchar): Likewise.
14212 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14213 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14214 * login/getpt.c (__getpt): Likewise.
14215 * login/tst-utmp.c (main): Likewise.
14216 * malloc/hooks.c (__malloc_check_init): Likewise.
14217 * malloc/malloc.c (__malloc_stats): Likewise.
14218 * malloc/mtrace.c (tr_break): Likewise.
14219 (mtrace): Likewise.
14220 (muntrace): Likewise.
14221 * misc/fstab.c (endfsent): Likewise.
14222 * misc/getclktck.c (__getclktck): Likewise.
14223 * misc/getdtsz.c (__getdtablesize): Likewise.
14224 * misc/gethostid.c (gethostid): Likewise.
14225 * misc/getpagesize.c (__getpagesize): Likewise.
14226 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14227 (__get_nprocs): Likewise.
14228 (__get_phys_pages): Likewise.
14229 (__get_avphys_pages): Likewise.
14230 * misc/getttyent.c (getttyent): Likewise.
14231 (setttyent): Likewise.
14232 (endttyent): Likewise.
14233 * misc/getusershell.c (getusershell): Likewise.
14234 (endusershell): Likewise.
14235 (setusershell): Likewise.
14236 (initshells): Likewise.
14237 * misc/hsearch.c (__hdestroy): Likewise.
14238 * misc/sync.c (sync): Likewise.
14239 * misc/syslog.c (closelog_internal): Likewise.
14240 (closelog): Likewise.
14241 * misc/ttyslot.c (ttyslot): Likewise.
14242 * misc/vhangup.c (vhangup): Likewise.
14243 * posix/fork.c (__fork): Likewise.
14244 * posix/getegid.c (__getegid): Likewise.
14245 * posix/geteuid.c (__geteuid): Likewise.
14246 * posix/getgid.c (__getgid): Likewise.
14247 * posix/getpid.c (__getpid): Likewise.
14248 * posix/getppid.c (__getppid): Likewise.
14249 * posix/getuid.c (__getuid): Likewise.
14250 * posix/pause.c (pause): Likewise.
14251 * posix/setpgrp.c (setpgrp): Likewise.
14252 * posix/setsid.c (__setsid): Likewise.
14253 * posix/test-vfork.c (noop): Likewise.
14254 * resolv/gethnamaddr.c (_endhtent): Likewise.
14255 (_gethtent): Likewise.
14256 (ht_endhostent): Likewise.
14257 (gethostent): Likewise.
14258 (dns_service): Likewise.
14259 * stdlib/drand48.c (drand48): Likewise.
14260 * stdlib/lrand48.c (lrand48): Likewise.
14261 * stdlib/mrand48.c (mrand48): Likewise.
14262 * stdlib/rand.c (rand): Likewise.
14263 * stdlib/random.c (__random): Likewise.
14264 * stdlib/setenv.c (clearenv): Likewise.
14265 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14266 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14267 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14268 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14269 (__get_nprocs): Likewise.
14270 (__get_phys_pages): Likewise.
14271 (__get_avphys_pages): Likewise.
14272 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14273 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14274 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14275 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14276 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14277 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14278 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14279 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14280 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14281 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14282 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14283 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14284 * sysdeps/posix/clock.c (clock): Likewise.
14285 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14286 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14287 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14288 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14289 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14290 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14291 (__get_nprocs_conf): Likewise.
14292 (__get_phys_pages): Likewise.
14293 (__get_avphys_pages): Likewise.
14294 * time/clock.c (clock): Likewise.
14295 * time/tzset.c (__tzname_max): Likewise.
14297 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14299 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14300 (__bswap_32): Do not use "register".
14301 * crypt/crypt.c (_ufc_doit_r): Likewise.
14302 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14303 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14304 * gmon/gmon.c (__monstartup): Likewise.
14305 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14306 * hurd/hurdmalloc.c (more_memory): Likewise.
14307 (malloc): Likewise.
14309 (realloc): Likewise.
14310 (malloc_fork_prepare): Likewise.
14311 (malloc_fork_parent): Likewise.
14312 (malloc_fork_child): Likewise.
14313 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14314 (_svcauth_des): Likewise.
14315 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14316 * inet/inet_net.c (inet_network): Likewise.
14317 * inet/inet_netof.c (inet_netof): Likewise.
14318 * inet/rcmd.c (__validuser2_sa): Likewise.
14319 * io/fts.c (fts_open): Likewise.
14320 (fts_load): Likewise.
14321 (fts_close): Likewise.
14322 (fts_read): Likewise.
14323 (fts_children): Likewise.
14324 (fts_build): Likewise.
14325 (fts_stat): Likewise.
14326 (fts_sort): Likewise.
14327 (fts_alloc): Likewise.
14328 (fts_lfree): Likewise.
14329 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14330 (_IO_file_xsgetn): Likewise.
14331 (_IO_file_xsgetn_mmap): Likewise.
14332 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14333 (_IO_cookie_write): Likewise.
14334 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14335 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14336 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14337 * malloc/obstack.c (_obstack_begin): Likewise.
14338 (_obstack_begin_1): Likewise.
14339 (_obstack_newchunk): Likewise.
14340 (_obstack_allocated_p): Likewise.
14341 (obstack_free): Likewise.
14342 (_obstack_memory_used): Likewise.
14343 * misc/getttyent.c (getttynam): Likewise.
14344 (getttyent): Likewise.
14347 * misc/getusershell.c (initshells): Likewise.
14348 * misc/syslog.c (__vsyslog_chk): Likewise.
14349 * misc/ttyslot.c (ttyslot): Likewise.
14350 * nis/nis_hash.c (__nis_hash): Likewise.
14351 * posix/fnmatch_loop.c (FCT): Likewise.
14352 * posix/getconf.c (print_all): Likewise.
14354 * posix/getopt.c (exchange): Likewise.
14355 * posix/glob.c (globfree): Likewise.
14356 (prefix_array): Likewise.
14357 (__glob_pattern_type): Likewise.
14358 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14359 (NS_GET32): Likewise.
14360 (NS_PUT16): Likewise.
14361 (NS_PUT32): Likewise.
14362 * resolv/gethnamaddr.c (getanswer): Likewise.
14363 (gethostbyname2): Likewise.
14364 (gethostbyaddr): Likewise.
14365 (_gethtent): Likewise.
14366 (_gethtbyname2): Likewise.
14367 (_gethtbyaddr): Likewise.
14368 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14369 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14370 * resolv/res_init.c (__res_vinit): Likewise.
14371 (net_mask): Likewise.
14372 * resolv/res_mkquery.c (outchar): Likewise.
14374 * stdio-common/printf_fp.c (outchar): Likewise.
14376 * stdio-common/printf_fphex.c (outchar): Likewise.
14378 * stdio-common/printf_size.c (outchar): Likewise.
14380 * stdio-common/test_rdwr.c (main): Likewise.
14381 * stdio-common/tfformat.c (matches): Likewise.
14382 * stdio-common/vfprintf.c (outchar): Likewise.
14383 (printf_unknown): Likewise.
14384 (buffered_vfprintf): Likewise.
14385 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14386 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14387 (ReadFile): Likewise.
14388 * stdlib/qsort.c (SWAP): Likewise.
14389 (_quicksort): Likewise.
14390 * stdlib/setenv.c (__add_to_environ): Likewise.
14391 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14392 * stdlib/strtol_l.c (__strtol_l): Likewise.
14393 * stdlib/tst-strtod.c (main): Likewise.
14394 * stdlib/tst-strtol.c (main): Likewise.
14395 * stdlib/tst-strtoll.c (main): Likewise.
14396 * string/bits/string2.h (__strcmp_cc): Likewise.
14397 (__strcmp_cg): Likewise.
14398 (__strcspn_c1): Likewise.
14399 (__strcspn_c2): Likewise.
14400 (__strcspn_c3): Likewise.
14401 (__strspn_c1): Likewise.
14402 (__strspn_c2): Likewise.
14403 (__strspn_c3): Likewise.
14404 (__strsep_1c): Likewise.
14405 (__strsep_2c): Likewise.
14406 (__strsep_3c): Likewise.
14407 * string/memccpy.c (__memccpy): Likewise.
14408 * string/stpcpy.c (__stpcpy): Likewise.
14409 * string/strcmp.c (strcmp): Likewise.
14410 * string/strrchr.c (strrchr): Likewise.
14411 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14413 * sysdeps/mach/hurd/getcwd.c
14414 (_hurd_canonicalize_directory_name_internal): Likewise.
14415 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14416 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14417 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14418 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14419 Likewise, in both definitions.
14420 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14422 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14423 64] (__bswap_64): Likewise.
14424 * time/test_time.c (main): Likewise.
14425 * time/tzfile.c (__tzfile_read): Likewise.
14426 (__tzfile_compute): Likewise.
14427 * time/tzset.c (__tzset_parse_tz): Likewise.
14428 (tzset_internal): Likewise.
14429 (compute_change): Likewise.
14430 * wcsmbs/wcscat.c (__wcscat): Likewise.
14431 * wcsmbs/wcschr.c (wcschr): Likewise.
14432 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14433 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14434 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14435 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14436 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14437 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14438 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14439 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14440 * wcsmbs/wmemset.c (wmemset): Likewise.
14442 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14444 * scripts/config.guess: Update to version 2013-05-16.
14445 * scripts/config.sub: Update to version 2013-04-24.
14446 * scripts/install-sh: Update to version 2011-11-20.07.
14447 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14448 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14450 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14452 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14453 * elf/sln.c: Likewise.
14454 * hurd/hurd/ioctl.h: Likewise.
14455 * hurd/hurdmalloc.c: Likewise.
14456 * hurd/xattr.c: Likewise.
14457 * include/shlib-compat.h: Likewise.
14458 * inet/ruserpass.c: Likewise.
14459 * libio/iofgets_u.c: Likewise.
14460 * libio/iofgetws_u.c: Likewise.
14461 * locale/programs/ld-identification.c: Likewise.
14462 * locale/programs/ld-time.c: Likewise.
14463 * mach/msg-destroy.c: Likewise.
14464 * nss/nss_files/files-netgrp.c: Likewise.
14465 * resolv/res_data.c: Likewise.
14466 * soft-fp/op-1.h: Likewise.
14467 * soft-fp/op-2.h: Likewise.
14468 * soft-fp/op-4.h: Likewise.
14469 * soft-fp/op-common.h: Likewise.
14470 * stdio-common/printf_fphex.c: Likewise.
14471 * stdlib/strtod_l.c: Likewise.
14472 * sunrpc/rpc/clnt.h: Likewise.
14473 * sysdeps/generic/framestate.c: Likewise.
14474 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14475 * sysdeps/i386/bsd-setjmp.S: Likewise.
14476 * sysdeps/i386/__longjmp.S: Likewise.
14477 * sysdeps/i386/setjmp.S: Likewise.
14478 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14479 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14480 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14481 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14482 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14483 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14484 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14485 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14486 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14487 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14488 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14489 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14490 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14491 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14492 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14493 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14494 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14495 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14496 * sysdeps/ieee754/support.c: Likewise.
14497 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14498 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14499 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14500 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14501 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14502 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14503 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14504 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14505 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14506 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14507 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14508 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14509 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14510 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14511 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14512 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14513 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14516 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14518 * posix/transbug.c: Remove executable mode.
14520 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14522 * crypt/speeds.c: Remove trailing whitespace.
14523 * dlfcn/default.c: Likewise.
14524 * elf/ifuncdep2.c: Likewise.
14525 * elf/ifuncmain1.c: Likewise.
14526 * elf/ifuncmain1vis.c: Likewise.
14527 * elf/testobj.h: Likewise.
14528 * elf/tst-stackguard1.c: Likewise.
14529 * gmon/sys/gmon.h: Likewise.
14530 * hurd/hurdmsg.c: Likewise.
14531 * hurd/new-fd.c: Likewise.
14532 * hurd/ports-get.c: Likewise.
14533 * iconvdata/ibm1008_420.c: Likewise.
14534 * inet/tst-getni1.c: Likewise.
14535 * inet/tst-getni2.c: Likewise.
14536 * libio/ioungetc.c: Likewise.
14537 * libio/wfiledoalloc.c: Likewise.
14538 * manual/libm-err-tab.pl: Likewise.
14539 * math/w_dremf.c: Likewise.
14540 * misc/ftruncate.c: Likewise.
14541 * posix/bug-glob2.c: Likewise.
14542 * posix/tst-pcre.c: Likewise.
14543 * posix/wait4.c: Likewise.
14544 * resolv/README: Likewise.
14545 * resolv/res_debug.h: Likewise.
14546 * resolv/tst-inet_ntop.c: Likewise.
14547 * setjmp/bug269-setjmp.c: Likewise.
14548 * soft-fp/extended.h: Likewise.
14549 * soft-fp/op-1.h: Likewise.
14550 * soft-fp/op-2.h: Likewise.
14551 * soft-fp/op-4.h: Likewise.
14552 * soft-fp/op-8.h: Likewise.
14553 * soft-fp/testit.c: Likewise.
14554 * stdio-common/bug16.c: Likewise.
14555 * stdlib/random.c: Likewise.
14556 * sunrpc/rpcsvc/rquota.x: Likewise.
14557 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14558 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14559 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14560 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14561 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14562 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14563 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14564 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14565 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14566 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14567 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14568 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14569 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14570 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14571 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14572 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14573 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14574 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14575 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14576 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14577 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14578 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14579 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14580 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14581 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14586 * sysdeps/ieee754/s_lib_version.c: Likewise.
14587 * sysdeps/mach/hurd/check_fds.c: Likewise.
14588 * sysdeps/mach/hurd/getsockname.c: Likewise.
14589 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14590 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14591 * sysdeps/powerpc/bits/link.h: Likewise.
14592 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14593 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14594 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14595 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14596 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14597 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14598 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14599 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14600 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14601 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14602 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14603 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14604 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14605 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14606 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14607 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14608 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14609 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14610 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14611 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14612 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14613 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14614 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14615 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14616 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14617 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14618 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14619 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14620 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14621 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14622 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14623 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14624 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14625 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14626 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14627 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14628 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14629 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14630 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14631 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14632 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14633 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14634 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14635 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14636 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14637 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14638 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14639 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14640 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14641 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14643 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14644 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14645 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14646 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14647 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14648 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14649 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14650 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14651 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14652 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14653 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14654 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14655 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14656 * sysdeps/powerpc/sysdep.h: Likewise.
14657 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14658 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14659 * sysdeps/sh/dl-trampoline.S: Likewise.
14660 * sysdeps/sh/memset.S: Likewise.
14661 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14662 * sysdeps/sh/strlen.S: Likewise.
14663 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14664 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14665 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14666 * sysdeps/sparc/sparc32/rem.S: Likewise.
14667 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14668 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14669 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14670 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14671 * sysdeps/sparc/sparc32/urem.S: Likewise.
14672 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14673 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14674 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14675 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14676 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14677 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14678 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14679 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14680 * sysdeps/unix/bsd/times.c: Likewise.
14681 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14682 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14686 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14687 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14688 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14689 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14690 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14691 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14692 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14693 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14694 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14695 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14696 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14697 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14698 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14699 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14700 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14701 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14702 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14703 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14704 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14705 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14706 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14707 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14708 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14709 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14710 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14711 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14712 * sysdeps/x86_64/strcspn.S: Likewise.
14714 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14716 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14717 generated file. Regenerate properly from gen-translit.pl.
14718 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14719 locale/C-translit.h.
14721 2013-06-05 Andreas Schwab <schwab@suse.de>
14724 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14725 week as 6 instead of -1.
14726 * time/tst-strptime.c (day_tests): Add test case.
14728 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14730 * sysdeps/generic/math_private.h
14731 (libc_feholdexcept_setround_53bit): Replace with
14732 libc_feholdsetround_53bit.
14733 (libc_feupdateenv_53bit): Replace with
14734 libc_feresetround_53bit.
14735 (SET_RESTORE_ROUND_53BIT): Adjust.
14737 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14739 * string/test-strchrnul.c: Add copyright header.
14741 * posix/tst-getaddrinfo4.c: Increase test timeout.
14743 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14746 * math/libm-test.inc (MAX_EXP): Remove
14748 (ulp): Use MIN_EXP - MANT_DIG.
14749 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14751 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14753 * po/be.po: Revert last change.
14754 * po/zh_CN.po: Likewise.
14755 * po/header.pot: Likewise.
14757 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14759 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14760 link-libc-deps to empty as target-specific variable.
14761 * Makerules (link-libc-args): New variable.
14762 (libc-for-link): Likewise.
14763 (link-libc-deps): Likewise.
14764 (lib%.so): Depend on $(link-libc-deps). Link with
14766 (build-module): Link with $(link-libc-args).
14767 (build-module-asneeded): Likewise.
14768 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14770 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14771 target-specific variable.
14772 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14773 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14774 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14776 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14778 ($(objpfx)libpcprofile.so): Likewise.
14779 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14781 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14782 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14783 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14785 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14786 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14787 * login/Makefile ($(objpfx)libutil.so): Likewise.
14788 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14789 * math/Makefile ($(objpfx)libm.so): Likewise.
14790 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14791 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14792 variable instead of depending directly on libc.
14793 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14794 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14796 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14798 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14799 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14800 ($(objpfx)libanl.so): Likewise.
14801 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14803 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14805 * sysdeps/i386/fpu/Makefile: Remove file.
14806 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14807 ($(objpfx)libm.so): Remove dependency on ld.so.
14809 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14812 * nis/yp_xdr.c (XDRMAXNAME): Define.
14813 (XDRMAXRECORD): Define.
14814 (xdr_domainname): Use XDRMAXNAME.
14815 (xdr_mapname): Likewise.
14816 (xdr_peername): Likewise.
14817 (xdr_keydat): Use XDRMAXRECORD.
14818 (xdr_valdat): Likewise.
14820 2013-05-30 Jeff Law <law@redhat.com>
14823 * manual/errno.texi (ESTALE): Update to account for more than
14824 just NFS file systems.
14825 * sysdeps/gnu/errlist.c: Regenerated.
14827 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14830 * elf/Makefile (tests): Add tst-null-argv.
14831 (modules-names): Add tst-null-argv-lib.
14832 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14833 (tst-null-argv-ENV): Set environment for tst-null-argv.
14834 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14835 (RTLD_PROGNAME): New macro.
14836 * elf/tst-null-argv.c: New test case.
14837 * elf/tst-null-argv-lib.c: Library for test case.
14838 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14839 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14840 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14841 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14842 * elf/dl-init.c (call_init): Likewise.
14843 (_dl_init): Likewise.
14844 * elf/dl-load.c (print_search_path): Likewise.
14845 (_dl_map_object): Likewise.
14846 * elf/dl-lookup.c (do_lookup_x): Likewise.
14847 (add_dependency): Likewise.
14848 (_dl_lookup_symbol_x): Likewise.
14849 (_dl_debug_bindings): Likewise.
14850 * elf/dl-open.c (_dl_show_scope): Likewise.
14851 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14852 * elf/dl-version.c (match_symbol): Likewise.
14853 (_dl_check_map_versions): Likewise.
14854 * elf/rtld.c (dl_main): Likewise.
14855 (print_unresolved): Use RTLD_PROGNAME.
14856 (print_missing_version): Likewise.
14857 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14858 (elf_machine_rela): Likewise.
14859 * sysdeps/powerpc/powerpc32/dl-machine.c
14860 (__process_machine_rela): Likewise.
14861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14863 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14865 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14867 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14868 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14870 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14872 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14874 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14876 * po/be.po: Add descriptive title.
14877 * po/zh_CN.po: Likewise.
14878 * po/header.pot: Likewise.
14880 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14882 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14884 (enlarge_archive): Likewise.
14886 2013-05-28 Ben North <ben@redfrontdoor.org>
14888 * manual/arith.texi (frexp): It is the magnitude of the return
14889 value which lies in [0.5, 1), not the return value itself.
14891 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14895 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14897 * stdio-common/bug26.c (main): Correct fscanf template.
14899 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14900 declare _dl_skip_args.
14902 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14905 * manual/platform.texi: Add missing @end deftypefun.
14907 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14910 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14911 bit of mantissa of 2^16382.
14912 * math/libm-test.inc (hypot_test_data): Add more tests.
14914 * math/libm-test.inc: Add drem and pow10 to list of tested
14916 (pow10_test): New function.
14917 (drem_test): Likewise.
14918 (drem_test_tonearest): Likewise.
14919 (drem_test_towardzero): Likewise.
14920 (drem_test_downward): Likewise.
14921 (drem_test_upward): Likewise.
14922 (main): Call the new functions.
14924 * math/libm-test.inc (finite_test_data): Remove.
14925 (finite_test): Run tests from isfinite_test_data.
14926 (gamma_test_data): Remove.
14927 (gamma_test): Run tests from lgamma_test_data.
14928 * sysdeps/i386/fpu/libm-test-ulps: Update.
14929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14931 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14933 * manual/platform.texi: Add PowerPC PPR function set documentation.
14934 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14937 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14939 * math/libm-test.inc (MAX_EXP): Define.
14941 (ulp): New function.
14942 (check_float_internal): Use ULPDIFF.
14943 (cpow_test): Disable failing test.
14944 (check_ulp): Test ulp() implemetnation.
14945 (main): Call check_ulp before starting tests.
14947 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14949 * math/gen-libm-test.pl (generate_testfile): Do not handle
14950 START_DATA and END_DATA.
14951 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14953 (acos_tonearest_test_data): Likewise.
14954 (acos_towardzero_test_data): Likewise.
14955 (acos_downward_test_data): Likewise.
14956 (acos_upward_test_data): Likewise.
14957 (acosh_test_data): Likewise.
14958 (asin_test_data): Likewise.
14959 (asin_tonearest_test_data): Likewise.
14960 (asin_towardzero_test_data): Likewise.
14961 (asin_downward_test_data): Likewise.
14962 (asin_upward_test_data): Likewise.
14963 (asinh_test_data): Likewise.
14964 (atan_test_data): Likewise.
14965 (atanh_test_data): Likewise.
14966 (atan2_test_data): Likewise.
14967 (cabs_test_data): Likewise.
14968 (cacos_test_data): Likewise.
14969 (cacosh_test_data): Likewise.
14970 (carg_test_data): Likewise.
14971 (casin_test_data): Likewise.
14972 (casinh_test_data): Likewise.
14973 (catan_test_data): Likewise.
14974 (catanh_test_data): Likewise.
14975 (cbrt_test_data): Likewise.
14976 (ccos_test_data): Likewise.
14977 (ccosh_test_data): Likewise.
14978 (ceil_test_data): Likewise.
14979 (cexp_test_data): Likewise.
14980 (cimag_test_data): Likewise.
14981 (clog_test_data): Likewise.
14982 (clog10_test_data): Likewise.
14983 (conj_test_data): Likewise.
14984 (copysign_test_data): Likewise.
14985 (cos_test_data): Likewise.
14986 (cos_tonearest_test_data): Likewise.
14987 (cos_towardzero_test_data): Likewise.
14988 (cos_downward_test_data): Likewise.
14989 (cos_upward_test_data): Likewise.
14990 (cosh_test_data): Likewise.
14991 (cosh_tonearest_test_data): Likewise.
14992 (cosh_towardzero_test_data): Likewise.
14993 (cosh_downward_test_data): Likewise.
14994 (cosh_upward_test_data): Likewise.
14995 (cpow_test_data): Likewise.
14996 (cproj_test_data): Likewise.
14997 (creal_test_data): Likewise.
14998 (csin_test_data): Likewise.
14999 (csinh_test_data): Likewise.
15000 (csqrt_test_data): Likewise.
15001 (ctan_test_data): Likewise.
15002 (ctan_tonearest_test_data): Likewise.
15003 (ctan_towardzero_test_data): Likewise.
15004 (ctan_downward_test_data): Likewise.
15005 (ctan_upward_test_data): Likewise.
15006 (ctanh_test_data): Likewise.
15007 (ctanh_tonearest_test_data): Likewise.
15008 (ctanh_towardzero_test_data): Likewise.
15009 (ctanh_downward_test_data): Likewise.
15010 (ctanh_upward_test_data): Likewise.
15011 (erf_test_data): Likewise.
15012 (erfc_test_data): Likewise.
15013 (exp_test_data): Likewise.
15014 (exp_tonearest_test_data): Likewise.
15015 (exp_towardzero_test_data): Likewise.
15016 (exp_downward_test_data): Likewise.
15017 (exp_upward_test_data): Likewise.
15018 (exp10_test_data): Likewise.
15019 (exp2_test_data): Likewise.
15020 (expm1_test_data): Likewise.
15021 (fabs_test_data): Likewise.
15022 (fdim_test_data): Likewise.
15023 (finite_test_data): Likewise.
15024 (floor_test_data): Likewise.
15025 (fma_test_data): Likewise.
15026 (fma_towardzero_test_data): Likewise.
15027 (fma_downward_test_data): Likewise.
15028 (fma_upward_test_data): Likewise.
15029 (fmax_test_data): Likewise.
15030 (fmin_test_data): Likewise.
15031 (fmod_test_data): Likewise.
15032 (fpclassify_test_data): Likewise.
15033 (frexp_test_data): Likewise.
15034 (gamma_test_data): Likewise.
15035 (hypot_test_data): Likewise.
15036 (ilogb_test_data): Likewise.
15037 (isfinite_test_data): Likewise.
15038 (isgreater_test_data): Likewise.
15039 (isgreaterequal_test_data): Likewise.
15040 (isinf_test_data): Likewise.
15041 (isless_test_data): Likewise.
15042 (islessequal_test_data): Likewise.
15043 (islessgreater_test_data): Likewise.
15044 (isnan_test_data): Likewise.
15045 (isnormal_test_data): Likewise.
15046 (issignaling_test_data): Likewise.
15047 (isunordered_test_data): Likewise.
15048 (j0_test_data): Likewise.
15049 (j1_test_data): Likewise.
15050 (jn_test_data): Likewise.
15051 (ldexp_test_data): Likewise.
15052 (lgamma_test_data): Likewise.
15053 (lrint_test_data): Likewise.
15054 (lrint_tonearest_test_data): Likewise.
15055 (lrint_towardzero_test_data): Likewise.
15056 (lrint_downward_test_data): Likewise.
15057 (lrint_upward_test_data): Likewise.
15058 (llrint_test_data): Likewise.
15059 (llrint_tonearest_test_data): Likewise.
15060 (llrint_towardzero_test_data): Likewise.
15061 (llrint_downward_test_data): Likewise.
15062 (llrint_upward_test_data): Likewise.
15063 (log_test_data): Likewise.
15064 (log10_test_data): Likewise.
15065 (log1p_test_data): Likewise.
15066 (log2_test_data): Likewise.
15067 (logb_test_data): Likewise.
15068 (logb_downward_test_data): Likewise.
15069 (lround_test_data): Likewise.
15070 (llround_test_data): Likewise.
15071 (modf_test_data): Likewise.
15072 (nearbyint_test_data): Likewise.
15073 (nextafter_test_data): Likewise.
15074 (nexttoward_test_data): Likewise.
15075 (pow_test_data): Likewise.
15076 (pow_tonearest_test_data): Likewise.
15077 (pow_towardzero_test_data): Likewise.
15078 (pow_downward_test_data): Likewise.
15079 (pow_upward_test_data): Likewise.
15080 (remainder_test_data): Likewise.
15081 (remainder_tonearest_test_data): Likewise.
15082 (remainder_towardzero_test_data): Likewise.
15083 (remainder_downward_test_data): Likewise.
15084 (remainder_upward_test_data): Likewise.
15085 (remquo_test_data): Likewise.
15086 (rint_test_data): Likewise.
15087 (rint_tonearest_test_data): Likewise.
15088 (rint_towardzero_test_data): Likewise.
15089 (rint_downward_test_data): Likewise.
15090 (rint_upward_test_data): Likewise.
15091 (round_test_data): Likewise.
15092 (scalb_test_data): Likewise.
15093 (scalbn_test_data): Likewise.
15094 (scalbln_test_data): Likewise.
15095 (signbit_test_data): Likewise.
15096 (sin_test_data): Likewise.
15097 (sin_tonearest_test_data): Likewise.
15098 (sin_towardzero_test_data): Likewise.
15099 (sin_downward_test_data): Likewise.
15100 (sin_upward_test_data): Likewise.
15101 (sincos_test_data): Likewise.
15102 (sinh_test_data): Likewise.
15103 (sinh_tonearest_test_data): Likewise.
15104 (sinh_towardzero_test_data): Likewise.
15105 (sinh_downward_test_data): Likewise.
15106 (sinh_upward_test_data): Likewise.
15107 (sqrt_test_data): Likewise.
15108 (tan_test_data): Likewise.
15109 (tan_tonearest_test_data): Likewise.
15110 (tan_towardzero_test_data): Likewise.
15111 (tan_downward_test_data): Likewise.
15112 (tan_upward_test_data): Likewise.
15113 (tanh_test_data): Likewise.
15114 (tgamma_test_data): Likewise.
15115 (trunc_test_data): Likewise.
15116 (y0_test_data): Likewise.
15117 (y1_test_data): Likewise.
15118 (yn_test_data): Likewise.
15119 (significand_test_data): Likewise.
15121 * math/gen-libm-test.pl (@functions): Remove variable.
15122 (generate_testfile): Don't handle START and END lines.
15123 * math/libm-test.inc (START): New macro.
15125 (END_COMPLEX): Likewise.
15126 (acos_test): Use END macro without arguments.
15127 (acos_test_tonearest): Likewise.
15128 (acos_test_towardzero): Likewise.
15129 (acos_test_downward): Likewise.
15130 (acos_test_upward): Likewise.
15131 (acosh_test): Likewise.
15132 (asin_test): Likewise.
15133 (asin_test_tonearest): Likewise.
15134 (asin_test_towardzero): Likewise.
15135 (asin_test_downward): Likewise.
15136 (asin_test_upward): Likewise.
15137 (asinh_test): Likewise.
15138 (atan_test): Likewise.
15139 (atanh_test): Likewise.
15140 (atan2_test): Likewise.
15141 (cabs_test): Likewise.
15142 (cacos_test): Use END_COMPLEX macro without arguments.
15143 (cacosh_test): Likewise.
15144 (carg_test): Use END macro without arguments.
15145 (casin_test): Use END_COMPLEX macro without arguments.
15146 (casinh_test): Likewise.
15147 (catan_test): Likewise.
15148 (catanh_test): Likewise.
15149 (cbrt_test): Use END macro without arguments.
15150 (ccos_test): Use END_COMPLEX macro without arguments.
15151 (ccosh_test): Likewise.
15152 (ceil_test): Use END macro without arguments.
15153 (cexp_test): Use END_COMPLEX macro without arguments.
15154 (cimag_test): Use END macro without arguments.
15155 (clog_test): Use END_COMPLEX macro without arguments.
15156 (clog10_test): Likewise.
15157 (conj_test): Likewise.
15158 (copysign_test): Use END macro without arguments.
15159 (cos_test): Likewise.
15160 (cos_test_tonearest): Likewise.
15161 (cos_test_towardzero): Likewise.
15162 (cos_test_downward): Likewise.
15163 (cos_test_upward): Likewise.
15164 (cosh_test): Likewise.
15165 (cosh_test_tonearest): Likewise.
15166 (cosh_test_towardzero): Likewise.
15167 (cosh_test_downward): Likewise.
15168 (cosh_test_upward): Likewise.
15169 (cpow_test): Use END_COMPLEX macro without arguments.
15170 (cproj_test): Likewise.
15171 (creal_test): Use END macro without arguments.
15172 (csin_test): Use END_COMPLEX macro without arguments.
15173 (csinh_test): Likewise.
15174 (csqrt_test): Likewise.
15175 (ctan_test): Likewise.
15176 (ctan_test_tonearest): Likewise.
15177 (ctan_test_towardzero): Likewise.
15178 (ctan_test_downward): Likewise.
15179 (ctan_test_upward): Likewise.
15180 (ctanh_test): Likewise.
15181 (ctanh_test_tonearest): Likewise.
15182 (ctanh_test_towardzero): Likewise.
15183 (ctanh_test_downward): Likewise.
15184 (ctanh_test_upward): Likewise.
15185 (erf_test): Use END macro without arguments.
15186 (erfc_test): Likewise.
15187 (exp_test): Likewise.
15188 (exp_test_tonearest): Likewise.
15189 (exp_test_towardzero): Likewise.
15190 (exp_test_downward): Likewise.
15191 (exp_test_upward): Likewise.
15192 (exp10_test): Likewise.
15193 (exp2_test): Likewise.
15194 (expm1_test): Likewise.
15195 (fabs_test): Likewise.
15196 (fdim_test): Likewise.
15197 (finite_test): Likewise.
15198 (floor_test): Likewise.
15199 (fma_test): Likewise.
15200 (fma_test_towardzero): Likewise.
15201 (fma_test_downward): Likewise.
15202 (fma_test_upward): Likewise.
15203 (fmax_test): Likewise.
15204 (fmin_test): Likewise.
15205 (fmod_test): Likewise.
15206 (fpclassify_test): Likewise.
15207 (frexp_test): Likewise.
15208 (gamma_test): Likewise.
15209 (hypot_test): Likewise.
15210 (ilogb_test): Likewise.
15211 (isfinite_test): Likewise.
15212 (isgreater_test): Likewise.
15213 (isgreaterequal_test): Likewise.
15214 (isinf_test): Likewise.
15215 (isless_test): Likewise.
15216 (islessequal_test): Likewise.
15217 (islessgreater_test): Likewise.
15218 (isnan_test): Likewise.
15219 (isnormal_test): Likewise.
15220 (issignaling_test): Likewise.
15221 (isunordered_test): Likewise.
15222 (j0_test): Likewise.
15223 (j1_test): Likewise.
15224 (jn_test): Likewise.
15225 (ldexp_test): Likewise.
15226 (lgamma_test): Likewise.
15227 (lrint_test): Likewise.
15228 (lrint_test_tonearest): Likewise.
15229 (lrint_test_towardzero): Likewise.
15230 (lrint_test_downward): Likewise.
15231 (lrint_test_upward): Likewise.
15232 (llrint_test): Likewise.
15233 (llrint_test_tonearest): Likewise.
15234 (llrint_test_towardzero): Likewise.
15235 (llrint_test_downward): Likewise.
15236 (llrint_test_upward): Likewise.
15237 (log_test): Likewise.
15238 (log10_test): Likewise.
15239 (log1p_test): Likewise.
15240 (log2_test): Likewise.
15241 (logb_test): Likewise.
15242 (logb_test_downward): Likewise.
15243 (lround_test): Likewise.
15244 (llround_test): Likewise.
15245 (modf_test): Likewise.
15246 (nearbyint_test): Likewise.
15247 (nextafter_test): Likewise.
15248 (nexttoward_test): Likewise.
15249 (pow_test): Likewise.
15250 (pow_test_tonearest): Likewise.
15251 (pow_test_towardzero): Likewise.
15252 (pow_test_downward): Likewise.
15253 (pow_test_upward): Likewise.
15254 (remainder_test): Likewise.
15255 (remainder_test_tonearest): Likewise.
15256 (remainder_test_towardzero): Likewise.
15257 (remainder_test_downward): Likewise.
15258 (remainder_test_upward): Likewise.
15259 (remquo_test): Likewise.
15260 (rint_test): Likewise.
15261 (rint_test_tonearest): Likewise.
15262 (rint_test_towardzero): Likewise.
15263 (rint_test_downward): Likewise.
15264 (rint_test_upward): Likewise.
15265 (round_test): Likewise.
15266 (scalb_test): Likewise.
15267 (scalbn_test): Likewise.
15268 (scalbln_test): Likewise.
15269 (signbit_test): Likewise.
15270 (sin_test): Likewise.
15271 (sin_test_tonearest): Likewise.
15272 (sin_test_towardzero): Likewise.
15273 (sin_test_downward): Likewise.
15274 (sin_test_upward): Likewise.
15275 (sincos_test): Likewise.
15276 (sinh_test): Likewise.
15277 (sinh_test_tonearest): Likewise.
15278 (sinh_test_towardzero): Likewise.
15279 (sinh_test_downward): Likewise.
15280 (sinh_test_upward): Likewise.
15281 (sqrt_test): Likewise.
15282 (tan_test): Likewise.
15283 (tan_test_tonearest): Likewise.
15284 (tan_test_towardzero): Likewise.
15285 (tan_test_downward): Likewise.
15286 (tan_test_upward): Likewise.
15287 (tanh_test): Likewise.
15288 (tgamma_test): Likewise.
15289 (trunc_test): Likewise.
15290 (y0_test): Likewise.
15291 (y1_test): Likewise.
15292 (yn_test): Likewise.
15293 (significand_test): Likewise.
15295 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15298 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15300 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15303 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15304 __ppc_mdoio and __ppc_mdoom.
15305 * manual/platform.texi: Document new functions __ppc_yield,
15306 __ppc_mdoio and __ppc_mdoom.
15308 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15310 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15311 (main): Mention "tls" pseudo-hwcap is legacy.
15312 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15314 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15316 * math/gen-libm-test.pl (parse_args): Output only string of
15317 arguments as text for test name, not full call or descriptions of
15318 tests for extra outputs.
15319 (generate_testfile): Do not pass function name to parse_args.
15320 Generate this_func variable from START.
15321 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15323 (struct test_ff_f_data): Likewise.
15324 (test_ff_f_data_nexttoward): Likewise.
15325 (struct test_fi_f_data): Likewise.
15326 (struct test_fl_f_data): Likewise.
15327 (struct test_if_f_data): Likewise.
15328 (struct test_fff_f_data): Likewise.
15329 (struct test_c_f_data): Likewise.
15330 (struct test_f_f1_data): Likewise. Remove field extra_name.
15331 (struct test_fF_f1_data): Likewise.
15332 (struct test_ffI_f1_data): Likewise.
15333 (struct test_c_c_data): Rename test_name field to arg_str.
15334 (struct test_cc_c_data): Likewise.
15335 (struct test_f_i_data): Likewise.
15336 (struct test_ff_i_data): Likewise.
15337 (struct test_f_l_data): Likewise.
15338 (struct test_f_L_data): Likewise.
15339 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15341 (COMMON_TEST_SETUP): New macro.
15342 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15343 (COMMON_TEST_CLEANUP): Likewise.
15344 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15345 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15347 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15348 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15350 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15351 (RUN_TEST_fff_f): Take argument string. Call new setup and
15353 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15354 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15356 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15357 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15359 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15360 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15362 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15363 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15365 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15366 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15368 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15369 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15371 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15372 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15374 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15375 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15377 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15378 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15380 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15381 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15383 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15384 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15386 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15387 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15389 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15390 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15392 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15393 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15395 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15396 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15398 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15400 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15402 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15403 to _sifields.sigfault.
15404 (si_addr_lsb): Define new macro.
15405 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15406 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15407 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15409 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15412 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15414 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15416 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15417 loading the domain.
15419 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15421 * math/gen-libm-test.pl (parse_args): Do not include expected
15422 result in test name.
15423 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15424 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15425 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15426 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15427 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15430 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15432 * benchtests/Makefile: Sort function entries.
15434 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15435 tanh, asinh, acosh, atanh.
15436 * benchtests/acos-inputs: New file.
15437 * benchtests/acosh-inputs: New file.
15438 * benchtests/asin-inputs: New file.
15439 * benchtests/asinh-inputs: New file.
15440 * benchtests/atanh-inputs: New file.
15441 * benchtests/cosh-inputs: New file.
15442 * benchtests/log-inputs: New file.
15443 * benchtests/sinh-inputs: New file.
15444 * benchtests/tanh-inputs: New file.
15446 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15449 * posix/tst-getaddrinfo4.c: New test.
15450 * posix/Makefile (tests): Add it.
15452 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15455 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15456 when no services were used.
15457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15458 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15460 2013-05-21 Andreas Schwab <schwab@suse.de>
15463 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15464 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15466 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15467 redundant variable declarations and reallocation of buffer when
15468 parsing as IPv6 address. Always set NSS status when called from
15469 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15470 buffer too small. Correct computation of needed size.
15471 * nss/Makefile (tests): Add test-digits-dots.
15472 * nss/test-digits-dots.c: New test.
15474 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15476 * benchtests/Makefile: Remove instructions for adding
15478 * benchtests/README: New file to explain how to execute and
15479 enhance the benchmark tests.
15481 2013-05-21 Andreas Schwab <schwab@suse.de>
15484 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15485 * setjmp/tst-sigsetjmp.c: New test.
15487 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15489 * sysdeps/x86_64/memset.S (memset): New implementation.
15490 (__bzero): Likewise.
15491 (__memset_tail): New function.
15493 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15495 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15496 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15497 __memcpy_sse2_unaligned ifunc selection.
15498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15499 Add memcpy-sse2-unaligned.S.
15500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15501 Add: __memcpy_sse2_unaligned.
15503 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15506 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15507 math_force_eval before restoring floating-point envrionment.
15508 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15509 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15511 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15513 (__nearbyintl): Use math_force_eval before restoring
15514 floating-point environment.
15515 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15517 * math/gen-libm-test.pl (special_functions): Remove.
15518 (parse_args): Don't handle TEST_extra. Handle functions with no
15520 * math/libm-test.inc (struct test_sincos_data): Replace with
15521 struct test_fFF_11_data.
15522 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15523 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15524 (sincos_test_data): Change element type to struct
15525 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15526 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15527 RUN_TEST_LOOP_sincos.
15528 * math/README.libm-test: Don't mention special handling of
15529 individual functions.
15530 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15531 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15532 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15533 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15534 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15537 * math/gen-libm-test.pl (get_variable): Remove function.
15538 (parse_args): Don't show pointer parameters to call in test
15539 names. Use "extra output N" in test names for extra outputs
15540 rather than naming variables.
15542 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15545 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15546 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15547 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15549 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15551 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15554 * math/gen-libm-test.pl (@tests): Remove variable.
15555 ($count): Likewise.
15556 (new_test): Remove function.
15557 (show_exceptions): New function.
15558 (special_functions): Use show_exceptions instead of new_test.
15559 (parse_args): Likewise.
15560 (generate_testfile): Pass only function name in generated call to
15561 print_max_error or print_complex_max_error.
15562 (get_ulps): Do not handle complex tests specially.
15563 (output_test): Rename to ...
15564 (get_all_ulps_for_test): ... this. Return a string rather than
15565 printing to a file. Require ulps to be present.
15566 (output_ulps): Generate arrays rather than #defines.
15567 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15568 (struct ulp_data): New type.
15569 (BUILD_COMPLEX_ULP): Remove macro.
15570 (compare_ulp_data): New function.
15571 (find_ulps): Likewise.
15572 (find_test_ulps): Likewise.
15573 (find_function_ulps): Likewise.
15574 (find_complex_function_ulps): Likewise.
15575 (print_max_error): Determine allowed ulps using
15576 find_function_ulps.
15577 (print_complex_max_error): Determine allowed ulps using
15578 find_complex_function_ulps.
15579 (check_float_internal): Determine max ulps using find_test_ulps.
15580 (check_float): Do not take max_ulp parameter. Update call to
15581 check_float_internal.
15582 (check_complex): Likewise.
15583 (check_int): Do not take max_ulp parameter.
15584 (check_long): Likewise.
15585 (check_bool): Likewise.
15586 (check_longlong): Likewise.
15587 (struct test_f_f_data): Remove max_ulp field.
15588 (struct test_ff_f_data): Likewise.
15589 (struct test_ff_f_data_nexttoward): Likewise.
15590 (struct test_fi_f_data): Likewise.
15591 (struct test_fl_f_data): Likewise.
15592 (struct test_if_f_data): Likewise.
15593 (struct test_fff_f_data): Likewise.
15594 (struct test_c_f_data): Likewise.
15595 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15596 (struct test_fF_f1_data): Likewise.
15597 (struct test_ffI_f1_data): Likewise.
15598 (struct test_c_c_data): Remove max_ulp field.
15599 (struct test_cc_c_data): Likewise.
15600 (struct test_f_i_data): Likewise.
15601 (struct test_ff_i_data): Likewise.
15602 (struct test_f_l_data): Likewise.
15603 (struct test_f_L_data): Likewise.
15604 (struct test_sincos_data): Likewise.
15605 (RUN_TEST_f_f): Do not handle ulps.
15606 (RUN_TEST_LOOP_f_f): Likewise.
15607 (RUN_TEST_2_f): Likewise.
15608 (RUN_TEST_LOOP_2_f): Likewise.
15609 (RUN_TEST_fff_f): Likewise.
15610 (RUN_TEST_LOOP_fff_f): Likewise.
15611 (RUN_TEST_c_f): Likewise.
15612 (RUN_TEST_LOOP_c_f): Likewise.
15613 (RUN_TEST_f_f1): Likewise.
15614 (RUN_TEST_LOOP_f_f1): Likewise.
15615 (RUN_TEST_fF_f1): Likewise.
15616 (RUN_TEST_LOOP_fF_f1): Likewise.
15617 (RUN_TEST_fI_f1): Likewise.
15618 (RUN_TEST_LOOP_fI_f1): Likewise.
15619 (RUN_TEST_ffI_f1): Likewise.
15620 (RUN_TEST_LOOP_ffI_f1): Likewise.
15621 (RUN_TEST_c_c): Likewise.
15622 (RUN_TEST_LOOP_c_c): Likewise.
15623 (RUN_TEST_cc_c): Likewise.
15624 (RUN_TEST_LOOP_cc_c): Likewise.
15625 (RUN_TEST_f_i): Likewise.
15626 (RUN_TEST_LOOP_f_i): Likewise.
15627 (RUN_TEST_f_i_tg): Likewise.
15628 (RUN_TEST_LOOP_f_i_tg): Likewise.
15629 (RUN_TEST_ff_i_tg): Likewise.
15630 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15631 (RUN_TEST_f_b): Likewise.
15632 (RUN_TEST_LOOP_f_b): Likewise.
15633 (RUN_TEST_f_b_tg): Likewise.
15634 (RUN_TEST_LOOP_f_b_tg): Likewise.
15635 (RUN_TEST_f_l): Likewise.
15636 (RUN_TEST_LOOP_f_l): Likewise.
15637 (RUN_TEST_f_L): Likewise.
15638 (RUN_TEST_LOOP_f_L): Likewise.
15639 (RUN_TEST_sincos): Likewise.
15640 (RUN_TEST_LOOP_sincos): Likewise.
15642 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15646 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15647 main case of finite arguments, set rounding mode to FE_TONEAREST
15648 and discard exceptions.
15649 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15651 (remainder_tonearest_test_data): New variable.
15652 (remainder_test_tonearest): New function.
15653 (remainder_towardzero_test_data): New variable.
15654 (remainder_test_towardzero): New function.
15655 (remainder_downward_test_data): New variable.
15656 (remainder_test_downward): New function.
15657 (remainder_upward_test_data): New variable.
15658 (remainder_test_upward): New function.
15659 (main): Call the new test functions.
15661 * math/libm-test.inc (struct test_f_f1_data): Remove field
15663 (struct test_fF_f1_data): Likewise.
15664 (struct test_ffI_f1_data): Likewise.
15665 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15666 based on value of EXTRA_EXPECTED.
15667 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15668 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15669 EXTRA_VAR based on value of EXTRA_EXPECTED.
15670 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15671 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15672 EXTRA_VAR based on value of EXTRA_EXPECTED.
15673 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15674 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15675 EXTRA_VAR based on value of EXTRA_EXPECTED.
15676 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15677 * math/gen-libm-test.pl (parse_args): Don't output initializers
15678 for extra output values.
15680 * math/libm-test.inc (check_int): Expect result to be exactly
15681 equal to expected value and do not handle ulps.
15682 (check_long): Likewise.
15683 (check_longlong): Likewise.
15685 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15687 (cimag_test_data): Likewise.
15688 (conj_test_data): Likewise.
15689 (copysign_test_data): Likewise.
15690 (cproj_test_data): Likewise.
15691 (creal_test_data): Likewise.
15692 (fabs_test_data): Likewise.
15693 (fdim_test_data): Likewise.
15694 (finite_test_data): Likewise.
15695 (floor_test_data): Likewise.
15696 (fmax_test_data): Likewise.
15697 (fmin_test_data): Likewise.
15698 (fmod_test_data): Likewise.
15699 (fpclassify_test_data): Likewise.
15700 (frexp_test_data): Likewise.
15701 (ilogb_test_data): Likewise.
15702 (isfinite_test_data): Likewise.
15703 (isgreater_test_data): Likewise.
15704 (isgreaterequal_test_data): Likewise.
15705 (isinf_test_data): Likewise.
15706 (isless_test_data): Likewise.
15707 (islessequal_test_data): Likewise.
15708 (islessgreater_test_data): Likewise.
15709 (isnan_test_data): Likewise.
15710 (isnormal_test_data): Likewise.
15711 (issignaling_test_data): Likewise.
15712 (isunordered_test_data): Likewise.
15713 (ldexp_test_data): Likewise.
15714 (lrint_test_data): Likewise.
15715 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15716 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15717 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15718 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15719 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15720 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15722 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15723 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15724 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15725 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15727 (lrint_downward_test_data): Test for "inexact" exceptions.
15728 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15729 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15730 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15732 (lrint_upward_test_data): Test for "inexact" exceptions.
15733 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15735 (llrint_test_data): Test for "inexact" exceptions.
15736 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15737 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15738 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15739 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15740 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15741 (llrint_downward_test_data): Test for "inexact" exceptions.
15742 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15743 (llrint_upward_test_data): Test for "inexact" exceptions.
15744 (logb_test_data): Likewise.
15745 (logb_downward_test_data): Likewise.
15746 (nextafter_test_data): Likewise.
15747 (nexttoward_test_data): Likewise.
15748 (remainder_test_data): Likewise.
15749 (remquo_test_data): Likewise.
15750 (scalbn_test_data): Likewise.
15751 (scalbln_test_data): Likewise.
15752 (signbit_test_data): Likewise.
15753 (sqrt_test_data): Likewise.
15754 (significand_test_data): Likewise.
15756 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15759 * benchtests/bench-modf.c (struct args): Mark arg0 as
15761 * scripts/bench.pl: Mark members of struct args as volatile.
15763 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15766 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15767 negative infinity on POWER6 or lower.
15768 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15770 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15773 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15774 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15775 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15776 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15777 (_FP_SETQNAN): New macro.
15778 (_FP_SETQNAN_SEMIRAW): Likewise.
15779 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15780 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15781 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15782 (FP_EXTEND): Use _FP_FRAC_SNANP.
15783 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15784 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15786 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15788 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15791 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15793 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15794 with DIVIDE_BY_ZERO_EXCEPTION.
15795 (gamma_test_data): Likewise.
15796 (lgamma_test_data): Likewise.
15797 (log_test_data): Likewise.
15798 (log10_test_data): Likewise.
15799 (log2_test_data): Likewise.
15800 (tgamma_test_data): Likewise.
15802 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15803 (acos_test_tonearest): Likewise.
15804 (acos_test_towardzero): Likewise.
15805 (acos_test_downward): Likewise.
15806 (acos_test_upward): Likewise.
15807 (acosh_test): Likewise.
15808 (asin_test): Likewise.
15809 (asin_test_tonearest): Likewise.
15810 (asin_test_towardzero): Likewise.
15811 (asin_test_downward): Likewise.
15812 (asin_test_upward): Likewise.
15813 (asinh_test): Likewise.
15814 (atan_test): Likewise.
15815 (atanh_test): Likewise.
15816 (atan2_test): Likewise.
15817 (cabs_test): Likewise.
15818 (cacos_test): Likewise.
15819 (cacosh_test): Likewise.
15820 (casin_test): Likewise.
15821 (casinh_test): Likewise.
15822 (catan_test): Likewise.
15823 (catanh_test): Likewise.
15824 (cbrt_test): Likewise.
15825 (ccos_test): Likewise.
15826 (ccosh_test): Likewise.
15827 (cexp_test): Likewise.
15828 (clog_test): Likewise.
15829 (clog10_test): Likewise.
15830 (cos_test): Likewise.
15831 (cos_test_tonearest): Likewise.
15832 (cos_test_towardzero): Likewise.
15833 (cos_test_downward): Likewise.
15834 (cos_test_upward): Likewise.
15835 (cosh_test): Likewise.
15836 (cosh_test_tonearest): Likewise.
15837 (cosh_test_towardzero): Likewise.
15838 (cosh_test_downward): Likewise.
15839 (cosh_test_upward): Likewise.
15840 (cpow_test): Likewise.
15841 (csin_test): Likewise.
15842 (csinh_test): Likewise.
15843 (csqrt_test): Likewise.
15844 (ctan_test): Likewise.
15845 (ctan_test_tonearest): Likewise.
15846 (ctan_test_towardzero): Likewise.
15847 (ctan_test_downward): Likewise.
15848 (ctan_test_upward): Likewise.
15849 (ctanh_test): Likewise.
15850 (ctanh_test_tonearest): Likewise.
15851 (ctanh_test_towardzero): Likewise.
15852 (ctanh_test_downward): Likewise.
15853 (ctanh_test_upward): Likewise.
15854 (erf_test): Likewise.
15855 (erfc_test): Likewise.
15856 (exp_test): Likewise.
15857 (exp_test_tonearest): Likewise.
15858 (exp_test_towardzero): Likewise.
15859 (exp_test_downward): Likewise.
15860 (exp_test_upward): Likewise.
15861 (exp10_test): Likewise.
15862 (exp2_test): Likewise.
15863 (expm1_test): Likewise.
15864 (fmod_test): Likewise.
15865 (gamma_test): Likewise.
15866 (hypot_test): Likewise.
15867 (j0_test): Likewise.
15868 (j1_test): Likewise.
15869 (jn_test): Likewise.
15870 (lgamma_test): Likewise.
15871 (log_test): Likewise.
15872 (log10_test): Likewise.
15873 (log1p_test): Likewise.
15874 (log2_test): Likewise.
15875 (logb_test_downward): Likewise.
15876 (pow_test): Likewise.
15877 (pow_test_tonearest): Likewise.
15878 (pow_test_towardzero): Likewise.
15879 (pow_test_downward): Likewise.
15880 (pow_test_upward): Likewise.
15881 (remainder_test): Likewise.
15882 (remquo_test): Likewise.
15883 (sin_test): Likewise.
15884 (sin_test_tonearest): Likewise.
15885 (sin_test_towardzero): Likewise.
15886 (sin_test_downward): Likewise.
15887 (sin_test_upward): Likewise.
15888 (sincos_test): Likewise.
15889 (sinh_test): Likewise.
15890 (sinh_test_tonearest): Likewise.
15891 (sinh_test_towardzero): Likewise.
15892 (sinh_test_downward): Likewise.
15893 (sinh_test_upward): Likewise.
15894 (sqrt_test): Likewise.
15895 (tan_test): Likewise.
15896 (tan_test_tonearest): Likewise.
15897 (tan_test_towardzero): Likewise.
15898 (tan_test_downward): Likewise.
15899 (tan_test_upward): Likewise.
15900 (tanh_test): Likewise.
15901 (tgamma_test): Likewise.
15902 (y0_test): Likewise.
15903 (y1_test): Likewise.
15904 (yn_test): Likewise.
15906 * math/gen-libm-test.pl (adjust_arg): Remove function.
15907 (special_function): Remove argument $in_func. Only handle
15908 generating output for tables of tests, not inside functions.
15909 (parse_args): Likewise.
15910 (generate_testfile): Remove variable $in_func. Update call to
15912 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15913 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15914 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15915 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15916 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15917 (MAX_VALUE_INIT): Rename macro to max_value.
15918 (MIN_VALUE_INIT): Rename macro to min_value.
15919 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15920 (plus_zero): Remove variable.
15921 (minus_zero): Likewise.
15922 (plus_infty): Likewise.
15923 (minus_infty): Likewise.
15924 (qnan_value): Likewise.
15925 (max_value): Likewise.
15926 (min_value): Likewise.
15927 (min_subnorm_value): Likewise.
15929 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15931 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15932 uint64_t or uint32_t usage.
15933 * crypt/sha256-block.c: Likewise.
15934 * crypt/sha256-crypt.c: Likewise.
15935 * crypt/sha256.c: Likewise.
15936 * crypt/sha512-block.c: Likewise.
15937 * crypt/sha512-crypt.c: Likewise.
15938 * crypt/sha512.c: Likewise.
15939 * debug/backtrace-tst.c: Likewise.
15940 * debug/pcprofiledump.c: Likewise.
15941 * elf/cache.c: Likewise.
15942 * elf/dl-cache.c: Likewise.
15943 * elf/dl-misc.c: Likewise.
15944 * elf/dl-profile.c: Likewise.
15945 * elf/dl-support.c: Likewise.
15946 * elf/ldconfig.c: Likewise.
15947 * elf/sprof.c: Likewise.
15948 * iconv/dummy-repertoire.c: Likewise.
15949 * iconv/iconv_charmap.c: Likewise.
15950 * iconv/skeleton.c: Likewise.
15951 * iconvdata/8bit-generic.c: Likewise.
15952 * iconvdata/cp737.h: Likewise.
15953 * iconvdata/cp775.h: Likewise.
15954 * iconvdata/ibm1008.h: Likewise.
15955 * iconvdata/ibm1025.h: Likewise.
15956 * iconvdata/ibm1046.h: Likewise.
15957 * iconvdata/ibm1097.h: Likewise.
15958 * iconvdata/ibm1112.h: Likewise.
15959 * iconvdata/ibm1122.h: Likewise.
15960 * iconvdata/ibm1123.h: Likewise.
15961 * iconvdata/ibm1124.h: Likewise.
15962 * iconvdata/ibm1129.h: Likewise.
15963 * iconvdata/ibm1130.h: Likewise.
15964 * iconvdata/ibm1132.h: Likewise.
15965 * iconvdata/ibm1133.h: Likewise.
15966 * iconvdata/ibm1137.h: Likewise.
15967 * iconvdata/ibm1140.h: Likewise.
15968 * iconvdata/ibm1141.h: Likewise.
15969 * iconvdata/ibm1142.h: Likewise.
15970 * iconvdata/ibm1143.h: Likewise.
15971 * iconvdata/ibm1144.h: Likewise.
15972 * iconvdata/ibm1145.h: Likewise.
15973 * iconvdata/ibm1146.h: Likewise.
15974 * iconvdata/ibm1147.h: Likewise.
15975 * iconvdata/ibm1148.h: Likewise.
15976 * iconvdata/ibm1149.h: Likewise.
15977 * iconvdata/ibm1153.h: Likewise.
15978 * iconvdata/ibm1154.h: Likewise.
15979 * iconvdata/ibm1155.h: Likewise.
15980 * iconvdata/ibm1156.h: Likewise.
15981 * iconvdata/ibm1157.h: Likewise.
15982 * iconvdata/ibm1158.h: Likewise.
15983 * iconvdata/ibm1160.h: Likewise.
15984 * iconvdata/ibm1161.h: Likewise.
15985 * iconvdata/ibm1162.h: Likewise.
15986 * iconvdata/ibm1163.h: Likewise.
15987 * iconvdata/ibm1164.h: Likewise.
15988 * iconvdata/ibm1166.h: Likewise.
15989 * iconvdata/ibm1167.h: Likewise.
15990 * iconvdata/ibm12712.h: Likewise.
15991 * iconvdata/ibm1390.h: Likewise.
15992 * iconvdata/ibm1399.h: Likewise.
15993 * iconvdata/ibm16804.h: Likewise.
15994 * iconvdata/ibm4517.h: Likewise.
15995 * iconvdata/ibm4899.h: Likewise.
15996 * iconvdata/ibm4909.h: Likewise.
15997 * iconvdata/ibm4971.h: Likewise.
15998 * iconvdata/ibm5347.h: Likewise.
15999 * iconvdata/ibm803.h: Likewise.
16000 * iconvdata/ibm856.h: Likewise.
16001 * iconvdata/ibm901.h: Likewise.
16002 * iconvdata/ibm902.h: Likewise.
16003 * iconvdata/ibm9030.h: Likewise.
16004 * iconvdata/ibm9066.h: Likewise.
16005 * iconvdata/ibm921.h: Likewise.
16006 * iconvdata/ibm922.h: Likewise.
16007 * iconvdata/ibm9448.h: Likewise.
16008 * iconvdata/isiri-3342.h: Likewise.
16009 * iconvdata/jis0201.h: Likewise.
16010 * include/link.h: Likewise.
16011 * include/netdb.h: Likewise.
16012 * inet/check_native.c: Likewise.
16013 * inet/check_pf.c: Likewise.
16014 * inet/getipv4sourcefilter.c: Likewise.
16015 * inet/getnameinfo.c: Likewise.
16016 * inet/getsourcefilter.c: Likewise.
16017 * inet/htonl.c: Likewise.
16018 * inet/setipv4sourcefilter.c: Likewise.
16019 * inet/setsourcefilter.c: Likewise.
16020 * inet/test-inet6_opt.c: Likewise.
16021 * inet/tst-network.c: Likewise.
16022 * locale/C-collate.c: Likewise.
16023 * locale/C-ctype.c: Likewise.
16024 * locale/C-time.c: Likewise.
16025 * locale/C-translit.h: Likewise.
16026 * locale/loadarchive.c: Likewise.
16027 * locale/programs/3level.h: Likewise.
16028 * locale/programs/charmap.c: Likewise.
16029 * locale/programs/charmap.h: Likewise.
16030 * locale/programs/ld-address.c: Likewise.
16031 * locale/programs/ld-collate.c: Likewise.
16032 * locale/programs/ld-ctype.c: Likewise.
16033 * locale/programs/ld-identification.c: Likewise.
16034 * locale/programs/ld-measurement.c: Likewise.
16035 * locale/programs/ld-messages.c: Likewise.
16036 * locale/programs/ld-monetary.c: Likewise.
16037 * locale/programs/ld-name.c: Likewise.
16038 * locale/programs/ld-numeric.c: Likewise.
16039 * locale/programs/ld-paper.c: Likewise.
16040 * locale/programs/ld-telephone.c: Likewise.
16041 * locale/programs/ld-time.c: Likewise.
16042 * locale/programs/linereader.c: Likewise.
16043 * locale/programs/locale.c: Likewise.
16044 * locale/programs/locarchive.c: Likewise.
16045 * locale/programs/locfile.h: Likewise.
16046 * locale/programs/repertoire.c: Likewise.
16047 * locale/programs/simple-hash.c: Likewise.
16048 * locale/programs/simple-hash.h: Likewise.
16049 * malloc/memusage.c: Likewise.
16050 * malloc/memusagestat.c: Likewise.
16051 * nis/nis_defaults.c: Likewise.
16052 * nis/nis_hash.c: Likewise.
16053 * nis/nis_print.c: Likewise.
16054 * nis/nis_xdr.c: Likewise.
16055 * nscd/connections.c: Likewise.
16056 * nscd/hstcache.c: Likewise.
16057 * nscd/nscd_gethst_r.c: Likewise.
16058 * nscd/nscd_getserv_r.c: Likewise.
16059 * nscd/nscd_helper.c: Likewise.
16060 * nscd/servicescache.c: Likewise.
16061 * nss/makedb.c: Likewise.
16062 * nss/nss_db/db-XXX.c: Likewise.
16063 * nss/nss_db/db-initgroups.c: Likewise.
16064 * nss/nss_db/db-netgrp.c: Likewise.
16065 * nss/nss_files/files-network.c: Likewise.
16066 * nss/nss_files/files-parse.c: Likewise.
16067 * posix/bug-regex5.c: Likewise.
16068 * posix/fnmatch_loop.c: Likewise.
16069 * posix/regcomp.c: Likewise.
16070 * posix/regexec.c: Likewise.
16071 * posix/tst-rfc3484-2.c: Likewise.
16072 * posix/tst-rfc3484-3.c: Likewise.
16073 * posix/tst-rfc3484.c: Likewise.
16074 * resolv/nss_dns/dns-canon.c: Likewise.
16075 * resolv/nss_dns/dns-network.c: Likewise.
16076 * resolv/res_init.c: Likewise.
16077 * resolv/res_mkquery.c: Likewise.
16078 * resolv/tst-aton.c: Likewise.
16079 * stdlib/cxa_atexit.c: Likewise.
16080 * stdlib/cxa_finalize.c: Likewise.
16081 * stdlib/gen-fpioconst.c: Likewise.
16082 * stdlib/strtol_l.c: Likewise.
16083 * string/tst-endian.c: Likewise.
16084 * sunrpc/auth_des.c: Likewise.
16085 * sunrpc/clnt_udp.c: Likewise.
16086 * sunrpc/rtime.c: Likewise.
16087 * sunrpc/svcauth_des.c: Likewise.
16088 * sunrpc/xdr.c: Likewise.
16089 * sunrpc/xdr_intXX_t.c: Likewise.
16090 * sunrpc/xdr_rec.c: Likewise.
16091 * sysdeps/generic/ldconfig.h: Likewise.
16092 * sysdeps/generic/ldsodefs.h: Likewise.
16093 * sysdeps/generic/memusage.h: Likewise.
16094 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16095 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16096 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16097 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16098 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16099 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16100 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16101 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16102 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16103 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16104 * sysdeps/posix/getaddrinfo.c: Likewise.
16105 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16106 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16107 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16108 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16109 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16110 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16111 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16112 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16113 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16114 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16115 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16116 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16117 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16118 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16119 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16120 * sysdeps/x86_64/dl-tls.h: Likewise.
16121 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16122 * time/alt_digit.c: Likewise.
16123 * time/era.c: Likewise.
16124 * wcsmbs/tst-c16c32-1.c: Likewise.
16126 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16128 * math/libm-test.inc (struct test_sincos_data): New type.
16129 (RUN_TEST_LOOP_sincos): New macro.
16130 (sincos_test_data): New variable.
16131 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16133 2013-05-16 Richard Henderson <rth@redhat.com>
16135 * math/atest-exp2.c (LIMB64): New macro.
16136 (CONSTSZ): New macro.
16137 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16139 (print_mpn_fp): ... to function scope.
16140 (read_mpn_hex): Remove.
16141 (get_log2): Remove.
16142 (exp2_mpn): Use mp_log2.
16143 (main): Use mp_exp1.
16145 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16147 * math/libm-test.inc: Remove comment about not testing "inexact"
16149 (INEXACT_EXCEPTION): New macro.
16150 (NO_INEXACT_EXCEPTION): Likewise.
16151 (INVALID_EXCEPTION_OK): Update value.
16152 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16153 (OVERFLOW_EXCEPTION_OK): Likewise.
16154 (UNDERFLOW_EXCEPTION_OK): Likewise.
16155 (IGNORE_ZERO_INF_SIGN): Likewise.
16156 (ERRNO_UNCHANGED): Likewise.
16157 (ERRNO_EDOM): Likewise.
16158 (ERRNO_ERANGE): Likewise.
16159 (test_exceptions): Handle testing "inexact" exceptions.
16160 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16161 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16162 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16163 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16165 (rint_towardzero_test_data): Likewise.
16166 (rint_downward_test_data): Likewise.
16167 (rint_upward_test_data): Likewise.
16169 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16170 with OVERFLOW_EXCEPTION.
16171 (exp10_test_data): Likewise.
16172 (exp2_test_data): Likewise.
16173 (expm1_test_data): Likewise.
16174 (lgamma_test_data): Likewise.
16175 (pow_test_data): Likewise.
16176 (tgamma_test_data): Likewise.
16177 (yn_test_data): Remove duplicate test of overflow.
16179 * math/libm-test.inc (struct test_cc_c_data): New type.
16180 (RUN_TEST_LOOP_cc_c): New macro.
16181 (cpow_test_data): New variable.
16182 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16184 * math/libm-test.inc (struct test_f_L_data): New type.
16185 (RUN_TEST_LOOP_f_L): New macro.
16186 (llrint_test_data): New variable.
16187 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16188 (llrint_tonearest_test_data): New variable.
16189 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16190 (llrint_towardzero_test_data): New variable.
16191 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16192 (llrint_downward_test_data): New variable.
16193 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16194 (llrint_upward_test_data): New variable.
16195 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16196 (llround_test_data): New variable.
16197 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16199 2013-05-13 Peter Collingbourne <pcc@google.com>
16201 * math/atest-exp2.c (get_log2): Remove const attribute.
16203 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16205 * math/libm-test.inc (struct test_f_l_data): New type.
16206 (RUN_TEST_LOOP_f_l): New macro.
16207 (lrint_test_data): New variable.
16208 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16209 (lrint_tonearest_test_data): New variable.
16210 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16211 (lrint_towardzero_test_data): New variable.
16212 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16213 (lrint_downward_test_data): New variable.
16214 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16215 (lrint_upward_test_data): New variable.
16216 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16217 (lround_test_data): New variable.
16218 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16220 2013-05-15 Peter Collingbourne <pcc@google.com>
16222 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16223 (EXTRACT_WORDS64) Use where appropriate.
16224 (INSERT_WORDS64) Likewise.
16226 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16227 constraints with x constraints.
16228 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16230 * malloc/obstack.c (_obstack_compat): Add initializer.
16232 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16234 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16235 si_trapno and add si_addr_lsb to _sifields.sigfault.
16236 (si_trapno): Remove macro.
16237 (si_addr_lsb): Define new macro.
16238 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16240 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16242 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16243 instead of TEST_f_l.
16244 (llrint_test_tonearest): Likewise.
16245 (llrint_test_towardzero): Likewise.
16246 (llrint_test_downward): Likewise.
16247 (llrint_test_upward): Likewise.
16248 (llround_test): Likewise.
16250 * math/libm-test.inc (struct test_f_i_data): Add comment.
16251 (RUN_TEST_LOOP_f_b): New macro.
16252 (RUN_TEST_LOOP_f_b_tg): Likewise.
16253 (finite_test_data): New variable.
16254 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16255 (isfinite_test_data): New variable.
16256 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16257 (isinf_test_data): New variable.
16258 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16259 (isnan_test_data): New variable.
16260 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16261 (isnormal_test_data): New variable.
16262 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16263 (issignaling_test_data): New variable.
16264 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16265 (signbit_test_data): New variable.
16266 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16268 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16269 with INVALID_EXCEPTION.
16270 (acosh_test_data): Likewise.
16271 (asin_test_data): Likewise.
16272 (atanh_test_data): Likewise.
16273 (fmod_test_data): Likewise.
16274 (log_test_data): Likewise.
16275 (log10_test_data): Likewise.
16276 (log2_test_data): Likewise.
16277 (pow_test_data): Likewise.
16278 (sqrt_test_data): Likewise.
16279 (y0_test_data): Likewise.
16280 (y1_test_data): Likewise.
16281 (yn_test_data): Likewise.
16283 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16286 * math/libm-test.inc (struct test_ff_i_data): New type.
16287 (RUN_TEST_LOOP_ff_i_tg): New macro.
16288 (isgreater_test_data): New variable.
16289 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16290 (isgreaterequal_test_data): New variable.
16291 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16292 (isless_test_data): New variable.
16293 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16294 (islessequal_test_data): New variable.
16295 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16296 (islessgreater_test_data): New variable.
16297 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16298 (isunordered_test_data): New variable.
16299 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16301 2013-05-14 David S. Miller <davem@davemloft.net>
16303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16305 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16307 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16309 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16311 (struct test_f_i_data): Change type of max_ulp to int.
16313 * math/libm-test.inc (test_ffI_f1_data): New type.
16314 (RUN_TEST_LOOP_ffI_f1): New macro.
16315 (remquo_test_data): New variable.
16316 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16318 * setjmp/tst-setjmp-fp.c: New file.
16319 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16320 (link-libm): New variable.
16321 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16323 * math/libm-test.inc (struct test_f_i_data): New type.
16324 (RUN_TEST_LOOP_f_i): New macro.
16325 (RUN_TEST_LOOP_f_i_tg): Likewise.
16326 (fpclassify_test_data): New variable.
16327 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16328 (ilogb_test_data): New variable.
16329 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16331 * math/libm-test.inc (scalbln_test): Correct function name in END
16334 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16335 (RUN_TEST_LOOP_fI_f1): New macro.
16336 (frexp_test_data): New variable.
16337 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16339 * math/libm-test.inc (struct test_fF_f1_data): New type.
16340 (RUN_TEST_LOOP_fF_f1): New macro.
16341 (modf_test_data): New variable.
16342 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16344 * math/libm-test.inc (struct test_f_f1_data): New type.
16345 (RUN_TEST_LOOP_f_f1): New macro.
16346 (gamma_test_data): New variable.
16347 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16348 (lgamma_test_data): New variable.
16349 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16351 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16353 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16354 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16355 (main): Comment "tls" pseudo-hwcap.
16357 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16359 * math/libm-test.inc (struct test_fl_f_data): New type.
16360 (RUN_TEST_LOOP_fl_f): New variable.
16361 (scalbln_test_data): New variable.
16362 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16364 * math/libm-test.inc (struct test_fi_f_data): New type.
16365 (RUN_TEST_LOOP_fi_f): New macro.
16366 (ldexp_test_data): New variable.
16367 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16368 (scalbn_test_data): New variable.
16369 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16371 * math/libm-test.inc (struct test_c_f_data): New type.
16372 (RUN_TEST_LOOP_c_f): New macro.
16373 (cabs_test_data): New variable.
16374 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16375 (carg_test_data): New variable.
16376 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16377 (cimag_test_data): New variable.
16378 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16379 (creal_test_data): New variable.
16380 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16382 * math/libm-test.inc (struct test_if_f_data): New type.
16383 (RUN_TEST_LOOP_if_f): New macro.
16384 (jn_test_data): New variable.
16385 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16386 (yn_test_data): New variable.
16387 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16389 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16391 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16393 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16394 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16396 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16398 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16399 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16400 (bench-deps): Add bench-timing.h.
16401 * benchtests-bench-skeleton.c: Include bench-timing.h.
16402 (main): Use TIMING_* macros instead of clock_gettime.
16403 * benchtests/bench-timing.h: New file.
16406 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16407 Renamed from _LIB_VERSION.
16408 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16410 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16412 * math/libm-test.inc (struct test_fff_f_data): New type.
16413 (RUN_TEST_LOOP_fff_f): New macro.
16414 (fma_test_data): New variable.
16415 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16416 (fma_towardzero_test_data): New variable.
16417 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16418 (fma_downward_test_data): New variable.
16419 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16420 (fma_upward_test_data): New variable.
16421 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16423 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16424 (struct test_c_c_data): New type.
16425 (RUN_TEST_LOOP_c_c): New macro.
16426 (cacos_test_data): New variable.
16427 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16428 (cacosh_test_data): New variable.
16429 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16430 (casin_test_data): New variable.
16431 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16432 (casinh_test_data): New variable.
16433 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16434 (catan_test_data): New variable.
16435 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16436 (catanh_test_data): New variable.
16437 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16438 (ccos_test_data): New variable.
16439 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16440 (ccosh_test_data): New variable.
16441 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16442 (cexp_test_data): New variable.
16443 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16444 (clog_test_data): New variable.
16445 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16446 (clog10_test_data): New variable.
16447 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16448 (conj_test_data): New variable.
16449 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16450 (cproj_test_data): New variable.
16451 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16452 (csin_test_data): New variable.
16453 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16454 (csinh_test_data): New variable.
16455 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16456 (csqrt_test_data): New variable.
16457 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16458 (ctan_test_data): New variable.
16459 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16460 (ctan_tonearest_test_data): New variable.
16461 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16462 (ctan_towardzero_test_data): New variable.
16463 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16464 (ctan_downward_test_data): New variable.
16465 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16466 (ctan_upward_test_data): New variable.
16467 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16468 (ctanh_test_data): New variable.
16469 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16470 (ctanh_tonearest_test_data): New variable.
16471 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16472 (ctanh_towardzero_test_data): New variable.
16473 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16474 (ctanh_downward_test_data): New variable.
16475 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16476 (ctanh_upward_test_data): New variable.
16477 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16478 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16481 * math/libm-test.inc (struct test_ff_f_data): New type.
16482 (struct test_ff_f_data_nexttoward): Likewise.
16483 (RUN_TEST_LOOP_2_f): New macro.
16484 (RUN_TEST_LOOP_ff_f): Likewise.
16485 (atan2_test_data): New variable.
16486 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16487 (copysign_test_data): New variable.
16488 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16489 (fdim_test_data): New variable.
16490 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16491 (fmax_test_data): New variable.
16492 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16493 (fmin_test_data): New variable.
16494 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16495 (fmod_test_data): New variable.
16496 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16497 (hypot_test_data): New variable.
16498 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16499 (nextafter_test_data): New variable.
16500 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16501 (nexttoward_test_data): New variable.
16502 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16503 (pow_test_data): New variable.
16504 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16505 (pow_tonearest_test_data): New variable.
16506 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16507 (pow_towardzero_test_data): New variable.
16508 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16509 (pow_downward_test_data): New variable.
16510 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16511 (pow_upward_test_data): New variable.
16512 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16513 (remainder_test_data): New variable.
16514 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16515 (scalb_test_data): New variable.
16516 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16517 * sysdeps/i386/fpu/libm-test-ulps: Update.
16519 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16521 * math/libm-test.inc (fma_test): Use max_value instead of local
16523 (nextafter_test): Likewise.
16525 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16526 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16527 (acos_downward_test_data): New variable.
16528 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16529 (acos_upward_test_data): New variable.
16530 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16531 (acosh_test_data): New variable.
16532 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16533 (asin_test_data): New variable.
16534 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16535 (asin_tonearest_test_data): New variable.
16536 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16537 (asin_towardzero_test_data): New variable.
16538 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16539 (asin_downward_test_data): New variable.
16540 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16541 (asin_upward_test_data): New variable.
16542 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16543 (asinh_test_data): New variable.
16544 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16545 (atan_test_data): New variable.
16546 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16547 (atanh_test_data): New variable.
16548 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16549 (cbrt_test_data): New variable.
16550 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16551 (ceil_test_data): New variable.
16552 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16553 (cos_test_data): New variable.
16554 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16555 (cos_tonearest_test_data): New variable.
16556 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16557 (cos_towardzero_test_data): New variable.
16558 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16559 (cos_downward_test_data): New variable.
16560 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16561 (cos_upward_test_data): New variable.
16562 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16563 (cosh_test_data): New variable.
16564 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16565 (cosh_tonearest_test_data): New variable.
16566 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16567 (cosh_towardzero_test_data): New variable.
16568 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16569 (cosh_downward_test_data): New variable.
16570 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16571 (cosh_upward_test_data): New variable.
16572 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16573 (erf_test_data): New variable.
16574 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16575 (erfc_test_data): New variable.
16576 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16577 (exp_test_data): New variable.
16578 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16579 (exp_tonearest_test_data): New variable.
16580 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16581 (exp_towardzero_test_data): New variable.
16582 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16583 (exp_downward_test_data): New variable.
16584 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16585 (exp_upward_test_data): New variable.
16586 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16587 (exp10_test_data): New variable.
16588 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16589 (exp2_test_data): New variable.
16590 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16591 (expm1_test_data): New variable.
16592 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16593 (fabs_test_data): New variable.
16594 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16595 (floor_test_data): New variable.
16596 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16597 (j0_test_data): New variable.
16598 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16599 (j1_test_data): New variable.
16600 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16601 (log_test_data): New variable.
16602 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16603 (log10_test_data): New variable.
16604 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16605 (log1p_test_data): New variable.
16606 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16607 (log2_test_data): New variable.
16608 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16609 (logb_test_data): New variable.
16610 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16611 (logb_downward_test_data): New variable.
16612 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16613 (nearbyint_test_data): New variable.
16614 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16615 (rint_test_data): New variable.
16616 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16617 (rint_tonearest_test_data): New variable.
16618 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16619 (rint_towardzero_test_data): New variable.
16620 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16621 (rint_downward_test_data): New variable.
16622 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16623 (rint_upward_test_data): New variable.
16624 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16625 (round_test_data): New variable.
16626 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16627 (sin_test_data): New variable.
16628 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16629 (sin_tonearest_test_data): New variable.
16630 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16631 (sin_towardzero_test_data): New variable.
16632 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16633 (sin_downward_test_data): New variable.
16634 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16635 (sin_upward_test_data): New variable.
16636 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16637 (sinh_test_data): New variable.
16638 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16639 (sinh_tonearest_test_data): New variable.
16640 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16641 (sinh_towardzero_test_data): New variable.
16642 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16643 (sinh_downward_test_data): New variable.
16644 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16645 (sinh_upward_test_data): New variable.
16646 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16647 (sqrt_test_data): New variable.
16648 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16649 (tan_test_data): New variable.
16650 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16651 (tan_tonearest_test_data): New variable.
16652 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16653 (tan_towardzero_test_data): New variable.
16654 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16655 (tan_downward_test_data): New variable.
16656 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16657 (tan_upward_test_data): New variable.
16658 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16659 (tanh_test_data): New variable.
16660 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16661 (tgamma_test_data): New variable.
16662 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16663 (trunc_test_data): New variable.
16664 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16665 (y0_test_data): New variable.
16666 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16667 (y1_test_data): New variable.
16668 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16669 (significand_test_data): New variable.
16670 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16672 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16675 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16677 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16679 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16681 2013-05-10 Andreas Jaeger <aj@suse.de>
16684 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16685 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16687 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16689 * math/gen-libm-test.pl (adjust_arg): New function.
16690 (special_functions): Handle generating output in both functions
16692 (parse_args): Likewise.
16693 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16694 $in_func argument to parse_args.
16695 * math/libm-test.inc (struct test_f_f_data): New type.
16696 (IF_ROUND_INIT_): New macro.
16697 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16698 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16699 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16700 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16701 (ROUND_RESTORE_): Likewise.
16702 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16703 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16704 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16705 (ROUND_RESTORE_FE_UPWARD): Likewise.
16706 (RUN_TEST_LOOP_f_f): New macro.
16707 (acos_test_data): New variable.
16708 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16709 (acos_tonearest_test_data): New variable.
16710 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16712 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16714 * benchtests/bench-skeleton.c (startup): Fix coding style.
16716 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16719 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16720 negative infinity argument.
16721 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16722 negative infinity argument.
16723 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16724 negative infinity argument.
16725 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16728 2013-05-10 Florian Weimer <fweimer@redhat.com>
16730 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16731 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16732 * iconv/iconv_prog.c (main): Likewise.
16733 * locale/programs/charmap-dir.c (charmap_readdir)
16734 (fopen_uncompressed): Likewise.
16735 * locale/programs/locfile.c (siblings_uncached)
16736 (write_locale_data): Use lstat64 instead of lstat.
16737 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16740 2013-05-10 Andreas Jaeger <aj@suse.de>
16743 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16745 Include <locale.h>.
16747 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16749 * elf/dl-close.c (_dl_close_worker): Add comments.
16751 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16754 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16756 (__ieee754_rem_pio2l): Update comments.
16759 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16761 (__ieee754_rem_pio2l): Update comments.
16763 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16764 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16766 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16769 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16770 (M_PI_34_LOG10El): Likewise.
16771 (M_PI2_LOG10El): Likewise.
16772 (M_PI4_LOG10El): Likewise.
16773 (M_PI_LOG10El): Likewise.
16775 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16779 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16781 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16782 (MINUS_ZERO_INIT): Likewise.
16783 (PLUS_INFTY_INIT): Likewise.
16784 (MINUS_INFTY_INIT): Likewise.
16785 (QNAN_VALUE_INIT): Likewise.
16786 (MAX_VALUE_INIT): Likewise.
16787 (MIN_VALUE_INIT): Likewise.
16788 (MIN_SUBNORM_VALUE_INIT): Likewise.
16789 (plus_zero): Initialize with PLUS_ZERO_INIT.
16790 (minus_zero): Initialize with MINUS_ZERO_INIT.
16791 (plus_infty): Initialize with PLUS_INFTY_INIT.
16792 (minus_infty): Initialize with MINUS_INFTY_INIT.
16793 (qnan_value): Initialize with QNAN_VALUE_INIT.
16794 (max_value): Initialize with MAX_VALUE_INIT.
16795 (min_value): Initialize with MIN_VALUE_INIT.
16796 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16798 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16799 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16800 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16801 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16803 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16804 (RUN_TEST_2_f): Likewise.
16805 (RUN_TEST_ff_f): Likewise.
16806 (RUN_TEST_fi_f): Likewise.
16807 (RUN_TEST_fl_f): Likewise.
16808 (RUN_TEST_fff_f): Likewise.
16809 (RUN_TEST_c_f): Likewise.
16810 (RUN_TEST_f_f1): Likewise.
16811 (RUN_TEST_fF_f1): Likewise.
16812 (RUN_TEST_fI_f1): Likewise.
16813 (RUN_TEST_ffI_f1): Likewise.
16814 (RUN_TEST_c_c): Likewise.
16815 (RUN_TEST_cc_c): Likewise.
16816 (RUN_TEST_f_i): Likewise.
16817 (RUN_TEST_f_i_tg): Likewise.
16818 (RUN_TEST_ff_i_tg): Likewise.
16819 (RUN_TEST_f_b): Likewise.
16820 (RUN_TEST_f_b_tg): Likewise.
16821 (RUN_TEST_f_l): Likewise.
16822 (RUN_TEST_f_L): Likewise.
16823 (RUN_TEST_sincos): Likewise.
16824 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16825 whether to show exceptions. Do not include ");\n" in return
16827 (special_functions): Output call to RUN_TEST_sincos instead of
16828 check_float calls. Update calls to new_test.
16829 (parse_args): Output call to single RUN_TEST_* macro instead of
16830 check_* calls and other assignments. Update calls to new_test.
16836 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16837 input to result for tgamma overflow.
16838 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16839 (gamma_coeff): New variable.
16840 (NCOEFF): New macro.
16841 (gamma_positive): New function.
16842 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16843 underflow here. Use gamma_positive instead of exp (lgamma) for
16845 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16846 (gamma_coeff): New variable.
16847 (NCOEFF): New macro.
16848 (gammaf_positive): New function.
16849 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16850 underflow here. Use gamma_positive instead of exp (lgamma) for
16852 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16853 (gamma_coeff): New variable.
16854 (NCOEFF): New macro.
16855 (gammal_positive): New function.
16856 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16857 underflow here. Use gamma_positive instead of exp (lgamma) for
16859 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16860 (gamma_coeff): New variable.
16861 (NCOEFF): New macro.
16862 (gammal_positive): New function.
16863 (__ieee754_gammal_r): Handle positive infinity, overflow and
16864 underflow here. Handle NaN the same as positive infinity. Remove
16865 check x < 0xffffffff for negative integers. Use gamma_positive
16866 instead of exp (lgamma) for other arguments.
16867 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16868 (gamma_coeff): New variable.
16869 (NCOEFF): New macro.
16870 (gammal_positive): New function.
16871 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16872 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16873 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16874 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16875 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16876 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16877 * sysdeps/generic/math_private.h (__gamma_productf): New
16879 (__gamma_product): Likewise.
16880 (__gamma_productl): Likewise.
16881 * math/Makefile (libm-calls): Add gamma_product.
16882 * math/libm-test.inc (tgamma_test): Add more tests.
16883 * sysdeps/i386/fpu/libm-test-ulps: Update.
16884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16886 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16888 * benchtests/bench-skeleton.c (main): Preheat CPU.
16890 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16892 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16894 2013-05-07 Roland McGrath <roland@hack.frob.com>
16896 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16897 and _dl_skip_args_internal.
16899 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16901 * manual/message.texi (Message Translation): Talk about users.
16902 Message to key mapping impacts design.
16904 2013-05-06 Roland McGrath <roland@hack.frob.com>
16906 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16908 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16910 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16911 * sysdeps/wordsize-64/glob64.c: ... here.
16913 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16914 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16917 * debug/getlogin_r_chk.c: Moved to ...
16918 * login/getlogin_r_chk.c: ... here.
16919 * debug/Makefile (routines): Move getlogin_r_chk to ...
16920 * login/Makefile (routines): ... here.
16921 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16922 * login/Versions (libc: GLIBC_2.4): ... here.
16924 * io/poll.c (__poll): Renamed from poll.
16925 Add libc_hidden_def.
16926 (poll): Define as weak alias.
16928 * debug/ptsname_r_chk.c: Moved to ...
16929 * login/ptsname_r_chk.c: ... here.
16930 * debug/Makefile (routines): Move ptsname_r_chk to ...
16931 * login/Makefile (routines): ... here.
16932 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16933 * login/Versions (libc: GLIBC_2.4): ... here.
16935 * posix/getlogin.c: Moved to ...
16936 * login/getlogin.c: ... here.
16937 * posix/getlogin_r.c: Moved to ...
16938 * login/getlogin_r.c: ... here.
16939 * posix/getlogin_r.c: Moved to ...
16940 * login/getlogin_r.c: ... here.
16941 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16942 * login/Makefile (routines): ... here.
16943 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16944 * login/Versions (libc: GLIBC_2.0): ... here.
16946 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16947 (setrlimit): Define as weak alias.
16949 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16950 Call __ names for open, ftruncate, and close.
16951 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16952 (truncate): Define as weak alias.
16954 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16956 * math/gen-libm-test.pl (parse_args): Initialize x before each
16957 test of frexp, modf and remquo.
16959 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16960 test signgam value.
16962 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16966 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16968 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16970 2013-05-06 Roland McGrath <roland@hack.frob.com>
16972 * elf/dl-writev.h: New file.
16973 * elf/dl-misc.c: Include it.
16974 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16975 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16977 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16979 * math/libm-test.inc (noXFails): Remove variable.
16980 (noXPasses): Likewise.
16981 (BUILD_COMPLEX_INT): Remove macro.
16982 (print_screen): Remove xfail argument.
16983 (print_screen_max_error): Likewise.
16984 (update_stats): Likewise.
16985 (print_max_error): Likewise. Update calls to other affected
16987 (print_complex_max_error): Likewise.
16988 (test_single_exception): Update calls to print_screen.
16989 (test_single_errno): Likewise.
16990 (check_float_internal): Remove xfail argument. Update calls to
16991 other affected functions.
16992 (check_float): Likewise.
16993 (check_complex): Likewise.
16994 (check_int): Likewise.
16995 (check_long): Likewise.
16996 (check_bool): Likewise.
16997 (check_longlong): Likewise.
16998 (main): Don't print noXFails and noXPasses.
16999 * math/gen-libm-test.pl (top level): Don't mention expected
17000 failure handling in comment.
17001 (new_test): Don't handle expected failures.
17002 (parse_args): Don't mention expected failure handling in comment.
17003 (generate_testfile): Don't handle expected failures.
17004 (parse_ulps): Likewise.
17005 (print_ulps_file): Likewise.
17006 (get_failure): Remove function.
17007 (output_test): Don't handle expected failures.
17008 * make/README.libm-test: Don't mention expected failure handling.
17010 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17011 (minus_zero): Likewise.
17012 (plus_infty): Likewise.
17013 (minus_infty): Likewise.
17014 (qnan_value): Likewise.
17015 (max_value): Likewise.
17016 (min_value): Likewise.
17017 (min_subnorm_value): Likewise.
17018 (initialize): Do not initialize those variables dynamically.
17020 2013-05-03 Roland McGrath <roland@hack.frob.com>
17022 * io/open.c (__open_2): Moved to ...
17023 * io/open_2.c: ... this new file.
17024 * io/open64.c (__open64_2): Moved to ...
17025 * io/open64_2.c: ... this new file.
17026 * io/openat.c (__openat_2): Moved to ...
17027 * io/openat_2.c: ... this new file.
17028 * io/openat64.c (__openat64_2): Moved to ...
17029 * io/openat64_2.c: ... this new file.
17030 * io/Makefile (routines): Add them.
17031 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17032 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17033 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17034 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17035 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17036 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17037 (__openat64): Add hidden_ver.
17038 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17039 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17041 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17042 Separately conditionalize setting of GLRO(dl_sysinfo) so
17043 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17044 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17046 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17048 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17049 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17051 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17052 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17053 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17054 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17055 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17057 2013-05-03 Joseph Myers <joseph@codesourcery.com>
17059 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17060 test signgam value.
17062 * math/libm-test.inc (hypot_test): Do not use
17063 IGNORE_ZERO_INF_SIGN.
17065 2013-05-03 Andreas Jaeger <aj@suse.de>
17067 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17069 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17070 (PF_MAX): Adjust for VSOCK change.
17072 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17076 2013-05-02 Carlos O'Donell <carlos@redhat.com>
17079 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17080 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17081 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17083 2013-05-02 David S. Miller <davem@davemloft.net>
17085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17087 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
17089 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17091 2013-05-01 Roland McGrath <roland@hack.frob.com>
17093 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17095 2013-05-01 Richard Smith <richard@metafoo.co.uk>
17098 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17099 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17100 Use __attribute__ ((__gnu_inline__)).
17101 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17102 Don't use __attribute__ ((__gnu_inline__)).
17104 2013-05-01 Joseph Myers <joseph@codesourcery.com>
17107 * math/s_catan.c (__catan): Handle small real or imaginary part of
17108 input specially to avoid spurious underflow.
17109 * math/s_catanf.c (__catanf): Likewise.
17110 * math/s_catanh.c (__catanh): Likewise.
17111 * math/s_catanhf.c (__catanhf): Likewise.
17112 * math/s_catanhl.c (__catanhl): Likewise.
17113 * math/s_catanl.c (__catanl): Likewise.
17114 * math/libm-test.inc (catan_test): Add more tests.
17115 (catanh_test): Likewise.
17116 * sysdeps/i386/fpu/libm-test-ulps: Update.
17117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17119 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17123 2013-04-30 Joseph Myers <joseph@codesourcery.com>
17126 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17127 accurately for denominator in atan2.
17128 * math/s_catanf.c (__catanf): Likewise.
17129 * math/s_catanh.c (__catanh): Likewise.
17130 * math/s_catanhf.c (__catanhf): Likewise.
17131 * math/s_catanhl.c (__catanhl): Likewise.
17132 * math/s_catanl.c (__catanl): Likewise.
17133 * math/libm-test.inc (catan_test): Add more tests.
17134 (catanh_test): Likewise.
17135 * sysdeps/i386/fpu/libm-test-ulps: Update.
17136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17138 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17140 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17142 * benchtests/Makefile (bench): Remove slow benchmarks.
17143 * benchtests/atan-inputs: Add slow benchmark inputs.
17144 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17145 (BENCH_FUNC): Accept variant offset.
17147 * benchtests/bench-skeleton.c (main): Run benchmark for each
17149 * benchtests/cos-inputs: Add slow benchmark inputs.
17150 * benchtests/exp-inputs: Likewise.
17151 * benchtests/pow-inputs: Likewise.
17152 * benchtests/sin-inputs: Likewise.
17153 * benchtests/slowatan-inputs: Remove.
17154 * benchtests/slowatan.c: Remove.
17155 * benchtests/slowcos-inputs: Remove.
17156 * benchtests/slowcos.c: Remove.
17157 * benchtests/slowexp-inputs: Remove.
17158 * benchtests/slowexp.c: Remove.
17159 * benchtests/slowpow-inputs: Remove.
17160 * benchtests/slowpow.c: Remove.
17161 * benchtests/slowsin-inputs: Remove.
17162 * benchtests/slowsin.c: Remove.
17163 * benchtests/slowtan-inputs: Remove.
17164 * benchtests/slowtan.c: Remove.
17165 * benchtests/tan-inputs: Add slow benchmark inputs.
17166 * scripts/bench.pl: Parse comments and directives.
17168 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17170 ($(objpfx)bench-%.c): Remove *-ITER.
17171 * benchtests/bench-modf.c: Remove definition of ITER.
17172 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17173 (main): Loop for DURATION seconds instead of fixed number of
17175 * scripts/bench.pl: Don't expect iterations in parameters.
17177 2013-04-29 Roland McGrath <roland@hack.frob.com>
17179 * io/fchdir.c (__fchdir): Renamed from fchdir.
17180 (fchdir): Define as weak alias.
17182 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17184 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17185 (ERRNO_EDOM): Likewise.
17186 (ERRNO_ERANGE): Likewise.
17187 (noErrnoTests): New variable.
17188 (init_max_error): Set errno to 0.
17189 (test_single_errno): New function.
17190 (test_errno): Likewise.
17191 (check_float_internal): Call test_errno. Set errno to 0.
17192 (check_complex): Refer to errno tests in comment.
17193 (check_int): Call test_errno. Set errno to 0.
17194 (check_long): Likewise.
17195 (check_bool): Likewise.
17196 (check_longlong): Likewise.
17197 (cos_test): Use ERRNO_* flags for errno tests instead of
17199 (expm1_test): Likewise.
17200 (fmod_test): Likewise.
17201 (ilogb_test): Likewise.
17202 (lgamma_test): Likewise.
17203 (pow_test): Likewise.
17204 (remainder_test): Likewise.
17205 (sin_test): Likewise.
17206 (tan_test): Likewise.
17207 (yn_test): Likewise.
17208 (initialize): Set errno to 0.
17209 (main): Print number of errno tests.
17210 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17212 2013-04-29 Andreas Jaeger <aj@suse.de>
17215 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17219 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17220 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17224 * stdlib/random.c (__initstate): Return NULL if
17228 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17229 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17232 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17236 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17238 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17239 of individual tests.
17240 (casin_test): Likewise.
17241 (casinh_test): Likewise.
17243 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17246 * math/s_catan.c (__catan): Handle arguments with large real or
17247 imaginary part separately without squaring.
17248 * math/s_catanf.c (__catanf): Likewise.
17249 * math/s_catanh.c (__catanh): Likewise.
17250 * math/s_catanhf.c (__catanhf): Likewise.
17251 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17253 (__catanhl): Handle arguments with large real or imaginary part
17254 separately without squaring.
17255 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17257 (__catanl): Handle arguments with large real or imaginary part
17258 separately without squaring.
17259 * math/libm-test.inc (catan_test): Add more tests.
17260 (catanh_test): Likewise.
17261 * sysdeps/i386/fpu/libm-test-ulps: Update.
17262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17264 2013-04-27 Andreas Jaeger <aj@suse.de>
17267 * stdlib/stdlib.h: Update guards for qecvt.
17268 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17271 2013-04-27 Allan McRae <allan@archlinux.org>
17273 * sysdeps/i386/fpu/libm-test-ulps: Update.
17275 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17278 * math/s_catan.c: Include <float.h>.
17279 (__catan): Ensure underflow exception occurs for underflowed
17281 * math/s_catanf.c: Include <float.h>.
17282 (__catanf): Ensure underflow exception occurs for underflowed
17284 * math/s_catanh.c: Include <float.h>.
17285 (__catanh): Ensure underflow exception occurs for underflowed
17287 * math/s_catanhf.c: Include <float.h>.
17288 (__catanhf): Ensure underflow exception occurs for underflowed
17290 * math/s_catanhl.c: Include <float.h>.
17291 (__catanhl): Ensure underflow exception occurs for underflowed
17293 * math/s_catanl.c: Include <float.h>.
17294 (__catanl): Ensure underflow exception occurs for underflowed
17296 * math/libm-test.inc (catan_test): Add more tests.
17297 (catanh_test): Likewise.
17300 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17301 underflowed result.
17302 * math/s_ccoshf.c (__ccoshf): Likewise.
17303 * math/s_ccoshl.c (__ccoshl): Likewise.
17304 * math/s_csin.c (__csin): Likewise.
17305 * math/s_csinf.c (__csinf): Likewise.
17306 * math/s_csinh.c (__csinh): Likewise.
17307 * math/s_csinhf.c (__csinhf): Likewise.
17308 * math/s_csinhl.c (__csinhl): Likewise.
17309 * math/s_csinl.c (__csinl): Likewise.
17310 * math/libm-test.inc (ccos_test): Add more tests.
17311 (ccosh_test): Likewise.
17312 (csin_test): Likewise.
17313 (csinh_test): Likewise.
17315 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17317 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17318 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17319 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17320 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17321 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17322 powerpc/power5+/fpu folders.
17323 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17326 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17330 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17332 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17333 additions to variable.
17334 [$(config-machine) = x86_64] (modules-names): Likewise.
17335 ($(objpfx)tst-audit3): Remove dependency.
17336 ($(objpfx)tst-audit3.out): Likewise.
17337 ($(objpfx)tst-audit4): Likewise.
17338 ($(objpfx)tst-audit4.out): Likewise.
17339 ($(objpfx)tst-audit5): Likewise.
17340 ($(objpfx)tst-audit5.out): Likewise.
17341 ($(objpfx)tst-audit6): Likewise.
17342 ($(objpfx)tst-audit6.out): Likewise.
17343 ($(objpfx)tst-audit7): Likewise.
17344 ($(objpfx)tst-audit7.out): Likewise.
17345 (tst-audit3-ENV): Remove variable.
17346 (tst-audit4-ENV): Likewise.
17347 (tst-audit5-ENV): Likewise.
17348 (tst-audit6-ENV): Likewise.
17349 (tst-audit7-ENV): Likewise.
17350 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17351 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17352 addition to variable.
17353 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17354 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17355 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17356 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17357 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17358 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17359 tst-audit3, tst-audit4 and tst-audit5.
17360 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17361 tst-audit6 and tst-audit7.
17362 [$(subdir) = elf] (modules-names): Add audit modules for those
17364 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17365 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17366 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17367 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17368 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17369 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17370 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17371 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17372 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17373 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17374 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17375 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17376 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17377 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17378 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17379 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17381 [$(subdir) = elf && $(config-cflags-avx) = yes]
17382 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17383 [$(subdir) = elf && $(config-cflags-avx) = yes]
17384 (CFLAGS-tst-auditmod4a.c): Likewise.
17385 [$(subdir) = elf && $(config-cflags-avx) = yes]
17386 (CFLAGS-tst-auditmod4b.c): Likewise.
17387 [$(subdir) = elf && $(config-cflags-avx) = yes]
17388 (CFLAGS-tst-auditmod6b.c): Likewise.
17389 [$(subdir) = elf && $(config-cflags-avx) = yes]
17390 (CFLAGS-tst-auditmod6c.c): Likewise.
17391 [$(subdir) = elf && $(config-cflags-avx) = yes]
17392 (CFLAGS-tst-auditmod7b.c): Likewise.
17393 * elf/tst-audit3.c: Move to ...
17394 * sysdeps/x86_64/tst-audit3.c: ... here.
17395 * elf/tst-audit4.c: Move to ...
17396 * sysdeps/x86_64/tst-audit4.c: ... here.
17397 * elf/tst-audit5.c: Move to ...
17398 * sysdeps/x86_64/tst-audit5.c: ... here.
17399 * elf/tst-audit6.c: Move to ...
17400 * sysdeps/x86_64/tst-audit6.c: ... here.
17401 * elf/tst-audit7.c: Move to ...
17402 * sysdeps/x86_64/tst-audit7.c: ... here.
17403 * elf/tst-auditmod3a.c: Move to ...
17404 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17405 * elf/tst-auditmod3b.c: Move to ...
17406 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17407 * elf/tst-auditmod4a.c: Move to ...
17408 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17409 * elf/tst-auditmod4b.c: Move to ...
17410 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17411 * elf/tst-auditmod5a.c: Move to ...
17412 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17413 * elf/tst-auditmod5b.c: Move to ...
17414 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17415 * elf/tst-auditmod6a.c: Move to ...
17416 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17417 * elf/tst-auditmod6b.c: Move to ...
17418 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17419 * elf/tst-auditmod6c.c: Move to ...
17420 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17421 * elf/tst-auditmod7a.c: Move to ...
17422 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17423 * elf/tst-auditmod7b.c: Move to ...
17424 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17426 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17429 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17430 define unconditionally.
17431 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17432 define unconditionally.
17433 (INT8_C, INT16_C, etc.): Likewise.
17435 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17437 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17438 __ehdr_start with hidden visibility.
17440 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17442 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17444 * math/libm-test.inc (cos_test): Use accurate hex constants.
17445 (sincost_test): Likewise.
17447 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17449 * math/libm-test.inc (catan_test): Add more tests.
17450 (catanh_test): Likewise.
17452 * math/s_catanf.c (__catanf): Use suffixed floating-point
17454 * math/s_catanhf.c (__catanhf): Likewise.
17455 * math/s_catanhl.c (__catanhl): Likewise.
17456 * math/s_catanl.c (__catanl): Likewise.
17459 * math/s_catan.c (__catan): Calculate imaginary part of result
17460 with log1p not log unless computing log of number close to 0.
17461 * math/s_catanf.c (__catanf): Likewise.
17462 * math/s_catanl.c (__catanl): Likewise.
17463 * math/s_catanh.c (__catanh): Calculate real part of result with
17464 log1p not log unless computing log of number close to 0.
17465 * math/s_catanhf.c (__catanhf): Likewise.
17466 * math/s_catanhl.c (__catanhl): Likewise.
17467 * math/libm-test.inc (catan_test): Add more tests.
17468 (catanh_test): Likewise.
17469 * sysdeps/i386/fpu/libm-test-ulps: Update.
17470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17472 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17474 * benchtests/Makefile: Mention files in which fast and slow
17475 paths of math functions are implemented.
17477 2013-04-23 Roland McGrath <roland@hack.frob.com>
17479 * sysdeps/posix/timespec_get.c: New file.
17481 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17483 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17485 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17487 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17488 powerpc/power5/fpu folders.
17489 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17490 * benchtests/Makefile: Add modf testcase.
17491 * benchtests/bench-modf.c: New file: Benchmark test for mo
17493 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17496 * time/Makefile (tests): Add tst-strptime-whitespace.
17497 * time/strptime_l.c (get_number): Use ISSPACE.
17498 (__strptime_internal): Likewise.
17499 * time/tst-strptime-whitespace.c: New test case.
17501 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17503 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17505 (_nss_files_init): Set it here.
17507 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17509 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17510 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17513 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17515 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17517 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17519 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17522 2013-04-21 David S. Miller <davem@davemloft.net>
17524 * po/ru.po: Update Russion translation from translation project.
17526 2013-04-17 Adam Conrad <adconrad@0c3.net>
17528 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17531 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17533 * configure.in: Remove i386 configure warning. Remove i386 case.
17534 * configure: Regenerate.
17535 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17536 Add example to error message.
17537 * sysdeps/i386/configure: Regenerate.
17539 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17541 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17543 * benchtests/cos-inputs: New file.
17544 * benchtests/slowcos-inputs: New file.
17545 * benchtests/slowcos.c: New file.
17546 * benchtests/slowtan-inputs: New file.
17547 * benchtests/slowtan.c: New file.
17548 * benchtests/tan-inputs: New file.
17550 2013-04-16 Roland McGrath <roland@hack.frob.com>
17552 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17555 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17557 * benchtests/Makefile: Include cppflags-iterator.mk to add
17558 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17560 * Makefile.in (bench-clean): New target.
17561 * benchtests/Makefile (bench-clean): Likewise.
17563 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17565 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17567 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17569 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17571 2013-04-15 Andreas Schwab <schwab@suse.de>
17573 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17575 * nscd/pwdcache.c (cache_addpw): Likewise.
17576 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17579 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17581 * benchtests/Makefile (bench): Write all output to
17582 bench-out.tmp together.
17584 2013-04-15 Andreas Schwab <schwab@suse.de>
17586 * nscd/nscd.c (main): Don't fork again after closing files.
17588 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17590 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17592 * benchtests/Rules (bench-deps): Collect dependencies into a
17593 single variable. Add Makefile to dependencies.
17594 ($(objpfx)bench-%.c): Depend on bench-deps.
17596 2013-04-12 Roland McGrath <roland@hack.frob.com>
17597 Xavier Roche <roche+kml2@exalead.com>
17600 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17601 just that it's a file descriptor.
17602 * manual/llio.texi (Synchronizing AIO Operations): Update description
17603 for EBADF error from aio_fsync.
17605 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17607 * Rules (bench): Move target definition...
17608 * benchtests/Makefile: ... here.
17610 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17612 * math/libm-test.inc (cos_test): Fix PI/2 test.
17613 (sincos_test): Likewise.
17614 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17615 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17617 2013-04-11 Andreas Schwab <schwab@suse.de>
17620 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17621 accept exponent character only when digits were seen.
17622 * stdio-common/Makefile (tests): Add bug26.
17623 * stdio-common/bug26.c: New file.
17626 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17629 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17631 * Makeconfig (rtld-prefix): Define built linker prefix.
17632 * Rules (run-bench): Use it.
17633 * math/Makefile (run-regen-ulps): Likewise.
17635 * Rules (bench): Remove eval.
17637 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17638 Roland McGrath <roland@hack.frob.com>
17639 Ondrej Bilka <neleai@seznam.cz>
17642 * time/getdate.c: Include ctype.h and alloca.h.
17643 (__getdate_r): Trim leading and trailing spaces of input.
17644 * time/tst-getdate.c (tests): Add tests with leading and
17647 2013-04-08 Roland McGrath <roland@hack.frob.com>
17650 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17651 when computing value.
17653 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17655 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17656 Use testrun.sh to run libm tests.
17659 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17661 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17664 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17666 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17668 * Makefile.in (regen-ulps): New target.
17669 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17670 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17671 [ifneq (no,$(PERL)] (regen-ulps): New target.
17672 [ifeq (no,$(PERL)] (regen-ulps): New target.
17673 * math/libm-test.inc (ulps_file_name): Define.
17674 (output_dir): New variable.
17675 (options): Add "output-dir" option.
17676 (parse_opt): Handle 'o' case.
17677 (main): If output_dir is non-NULL use it as a prefix
17679 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17681 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17683 [BZ #10060, #10062]
17684 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17685 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17686 fail configure if __sync_val_compare_and_swap is not inlined.
17687 * sysdeps/i386/configure: Regenerate.
17688 * configure.in: Build for i686 when configured for i386.
17689 * configure: Regenerate.
17690 * README: Remove i386 reference.
17692 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17694 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17695 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17697 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17699 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17700 (lmsnanval): New variables.
17701 (F): Add conversion tests.
17702 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17703 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17705 * stdio-common/tstdiomisc.c (F): Properly collect individual
17708 [BZ #14686, #15336]
17709 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17710 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17711 Instead, use input NaN values or generate a qNaN by arithmetic
17712 operation. Also fix bugs to comply with the standard.
17713 * math/libm-test.inc (remainder_test): Add more tests.
17715 [BZ #15335, #15342]
17716 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17718 input NaN values or generate a qNaN by arithmetic operation.
17720 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17723 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17726 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17729 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17730 underflowed result.
17731 * math/s_cexpf.c (__cexpf): Likewise.
17732 * math/s_cexpl.c (__cexpl): Likewise.
17733 * math/libm-test.inc (cexp_test): Add more tests.
17735 2013-04-03 Andreas Schwab <schwab@suse.de>
17738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17739 order arrays from heap if bigger than alloca cutoff.
17741 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17743 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17744 (SNAN_TESTS_double): Refer to GCC PR56831.
17745 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17748 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17750 * Rules (bench): Move bench.out after the run is complete.
17752 * Rules (bench): Echo currently running benchmark.
17754 * benchtests/Makefile (bench): Add atan and slowatan.
17755 * benchtests/atan-inputs: New file.
17756 * benchtests/slowatan-inputs: New file.
17757 * benchtests/slowatan.c: New file.
17759 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17760 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17764 * sysdeps/unix/sysv/linux/kernel-features.h
17765 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17766 __ASSUME_XFS_RESTRICTED_CHOWN.
17767 * sysdeps/unix/sysv/linux/pathconf.c
17768 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17769 Save and restore errno.
17771 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17774 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17775 arguments using __kernel_casinh.
17776 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17777 arguments using __kernel_casinhf.
17778 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17779 arguments using __kernel_casinhl.
17780 * math/libm-test.inc (cacosh_test): Add more tests.
17781 * sysdeps/i386/fpu/libm-test-ulps: Update.
17782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17784 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17786 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17789 * bench/Makefile (bench): Add sin and slowsin.
17790 * benchtests/sin-inputs: New file.
17791 * benchtests/slowsin-inputs: New file.
17792 * benchtests/slowsin.c: New file.
17794 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17795 (bench): Add slowexp and slowpow.
17796 (exp-ITER): Increase iterations.
17797 (pow-ITER): Likewise.
17798 * benchtests/exp-inputs: Change input.
17799 * benchtests/pow-inputs: Likewise.
17800 * benchtests/slowexp-inputs: New file.
17801 * benchtests/slowexp.c: New file.
17802 * benchtests/slowpow-inputs: New file.
17803 * benchtests/slowpow.c: New file.
17805 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17807 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17809 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17810 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17811 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17812 * benchtests/Makefile: Add rint benchtest.
17813 * benchtests/rint-inputs: Input for rint benchtest.
17815 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17817 * Versions.def (libm): Add GLIBC_2.18.
17818 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17819 hidden libm prototypes.
17820 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17821 * math/Makefile (libm-calls): Add s_issignaling.
17822 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17823 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17824 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17826 * math/math.h [__USE_GNU] (issignaling): New macro.
17827 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17828 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17829 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17830 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17832 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17833 * manual/arith.texi (issignaling): New section.
17834 * manual/libm-err-tab.pl (@all_functions): Update comment.
17835 * math/gen-libm-test.pl (parse_args): Apply special handling for
17837 * math/libm-test.inc (print_float, issignaling_test): New
17839 (check_float_internal): Add issignaling checks.
17840 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17841 default definition.
17842 * sysdeps/powerpc/math-tests.h: New file.
17843 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17845 * math/test-snan.c (TEST_FUNC): Likewise.
17847 2013-03-30 David S. Miller <davem@davemloft.net>
17849 * po/de.po: Update from translation team.
17851 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17854 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17855 imaginary part less than 1.0 and real part less than 0.5
17857 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17858 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17859 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17860 (cacos_test): Add more tests.
17861 (casin_test): Likewise.
17862 (casinh_test): Likewise.
17863 * sysdeps/i386/fpu/libm-test-ulps: Update.
17864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17866 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17868 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17869 ONE with its value.
17871 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17872 (__pow_mp): Replace ONE and MONE with their values.
17873 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17874 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17875 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17876 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17877 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17878 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17880 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17882 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17883 (__pow_mp): Replace ZERO and MZERO with their values.
17884 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17885 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17886 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17888 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17889 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17892 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17894 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17896 2013-03-28 Roland McGrath <roland@hack.frob.com>
17898 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17899 Declare with __attribute__ ((weak)).
17900 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17901 Call __call_tls_dtors only if it's not NULL.
17903 2013-03-28 Roland McGrath <roland@hack.frob.com>
17905 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17906 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17907 magic __ehdr_start linker symbol if it's defined.
17908 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17909 them up here if it was already done.
17911 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17912 (_dl_aux_init): Use const in cast when setting it.
17913 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17914 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17915 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17917 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17919 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17920 * csu/libc-tls.c: Nor here.
17921 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17923 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17924 (__libc_message): Never call vsyslog.
17926 2013-03-28 Alan Modra <amodra@gmail.com>
17928 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17930 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17933 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17936 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17940 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17943 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17944 Don't add gid passed as argument.
17946 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17948 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17951 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17952 imaginary part between 1.0 and 1.5 and real part less than 0.5
17954 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17955 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17956 * math/libm-test.inc (cacos_test): Add more tests.
17957 (casin_test): Likewise.
17958 (casinh_test): Likewise.
17959 * sysdeps/i386/fpu/libm-test-ulps: Update.
17960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17962 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17964 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17967 (denorm): Likewise.
17968 (__dbl_mp): Likewise.
17969 (add_magnitudes): Likewise.
17970 (sub_magnitudes): Likewise.
17978 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17980 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17981 (__dubcos): Likewise.
17982 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17983 (__ieee754_acos): Likewise.
17984 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17985 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17986 (__exp1): Likewise.
17987 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17988 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17990 (my_log2): Likewise.
17991 (checkint): Likewise.
17992 * sysdeps/ieee754/dbl-64/e_remainder.c
17993 (__ieee754_remainder): Likewise.
17994 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17995 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17996 (bsloww): Likewise.
17997 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17999 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18000 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18001 MANTISSA_STORE_T to store computations on mantissa. Use
18002 macros for rounding and division.
18003 (denorm): Likewise.
18004 (__dbl_mp): Likewise.
18005 (add_magnitudes): Likewise.
18006 (sub_magnitudes): Likewise.
18009 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18010 powers of two in terms of TWOPOW macro.
18011 (mp_no): Make type of mantissa as MANTISSA_T.
18012 [!RADIXI]: Define RADIXI.
18013 [!TWO52]: Define TWO52.
18014 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18016 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18018 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18019 llroundl symbol when building for PPC32.
18021 2013-03-24 Mark H Weaver <mhw@netris.org>
18023 * manual/arith.texi (Normalization Functions): Fix prototypes for
18024 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18026 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18029 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18030 high value to check if expl overflow.
18031 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18032 to check for underflow and overflow.
18033 * math/libm-test.inc: Add exp test.
18035 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18038 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18041 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18043 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18046 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18048 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18049 wrap blocks consisting of several statements.
18051 * sysdeps/generic/math-tests.h: New file.
18052 * sysdeps/i386/fpu/math-tests.h: Likewise.
18053 * math/test-snan.c: Include it.
18054 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18056 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18059 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18060 (__ieee754_j0l): Do not improve calculations using cos of twice
18061 input for inputs above LDBL_MAX / 2.0L.
18062 (__ieee754_y0l): Likewise.
18063 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18064 (__ieee754_j1l): Do not improve calculations using cos of twice
18065 input for inputs above LDBL_MAX / 2.0L.
18066 (__ieee754_y1l): Likewise.
18067 * math/libm-test.inc (j0_test): Add another test.
18068 (j1_test): Likewise.
18069 (y0_test): Likewise.
18070 (y1_test): Likewise.
18071 * sysdeps/i386/fpu/libm-test-ulps: Update.
18073 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18075 * Rules ($(objpfx)bench-%.c): Include code from a C source
18078 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18081 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18082 imaginary part 1.0 and real part less than 0.5 specially.
18083 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18084 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18085 * math/libm-test.inc (cacos_test): Add more tests.
18086 (casin_test): Likewise.
18087 (casinh_test): Likewise.
18088 * sysdeps/i386/fpu/libm-test-ulps: Update.
18089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18091 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18093 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18094 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18096 2013-03-20 Joseph Myers <joseph@codesourcery.com>
18098 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18099 * config.make.in (config-cflags-sse4): Remove variable.
18100 (config-cflags-avx): Likewise.
18101 (config-cflags-sse2avx): Likewise.
18102 (config-cflags-novzeroupper): Likewise.
18103 (config-asflags-i686): Likewise.
18104 (have-mfma4): Likewise.
18105 (have-as-vis3): Likewise.
18107 * configure.in (MIG): Do not AC_SUBST.
18108 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18109 (libc_cv_cc_sse4): Do not AC_SUBST.
18110 (libc_cv_cc_avx): Likewise.
18111 (libc_cv_cc_sse2avx): Likewise.
18112 (libc_cv_cc_novzeroupper): Likewise.
18113 (libc_cv_cc_fma4): Likewise.
18114 (libc_cv_as_i686): Likewise.
18115 (libc_cv_sparc_as_vis3): Likewise.
18116 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18118 (config-asflags-i686): Likewise.
18119 (config-cflags-avx): Likewise.
18120 (config-cflags-sse2avx): Likewise.
18121 (have-mfma4): Likewise.
18122 (config-cflags-novzeroupper): Likewise.
18123 * sysdeps/mach/configure.in (MIG): Likewise.
18124 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18125 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18127 (config-cflags-avx): Likewise.
18128 (config-cflags-sse2avx): Likewise.
18129 (have-mfma4): Likewise.
18130 (config-cflags-novzeroupper): Likewise.
18131 * configure: Regenerated.
18132 * sysdeps/i386/configure: Likewise.
18133 * sysdeps/mach/configure: Likewise.
18134 * sysdeps/sparc/configure: Likewise.
18135 * sysdeps/x86_64/configure: Likewise.
18137 2013-03-20 Roland McGrath <roland@hack.frob.com>
18140 * locale/programs/localedef.c (options): Put N_ translation marker
18141 on argument names, not just descriptions.
18143 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18145 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18147 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
18150 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18152 2013-03-19 Roland McGrath <roland@hack.frob.com>
18154 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18155 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18156 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18157 [!BEFORE_ABORT] (before_abort): New function.
18158 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18159 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18160 (writev_for_fatal): New function.
18161 (WRITEV_FOR_FATAL): New macro; call that.
18162 (backtrace_and_maps): New function.
18163 (BEFORE_ABORT): New macro; call that.
18164 (struct str_list): Type removed.
18165 (__libc_message, __libc_fatal): Functions removed.
18166 Include <sysdeps/posix/libc_fatal.c> instead.
18168 2013-03-19 Joseph Myers <joseph@codesourcery.com>
18170 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18172 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18175 2013-03-19 Andreas Schwab <schwab@suse.de>
18177 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18178 * sysdeps/gnu/configure: Regenerate.
18180 * configure.in: Substitute libc_cv_rtlddir.
18181 * configure: Regenerate.
18182 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18183 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18184 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18185 * elf/Makefile (install-others, CFLAGS-interp.c)
18186 (ldso_install, common-ldd-rewrite): Likewise.
18187 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18188 $(inst_slibdir)/$(rtld-installed-name).
18189 * scripts/rellns-sh: Add -p option.
18190 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18193 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18195 * manual/nptl.texi: Renamed to ...
18196 * manual/threads.texi: ... this.
18197 * manual/Makefile (chapters): Update.
18199 2013-03-18 Roland McGrath <roland@hack.frob.com>
18202 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18203 on argument names, not just descriptions.
18204 * malloc/memusagestat.c (options): Likewise.
18205 * nss/getent.c (options): Likewise.
18207 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
18210 * iconv/iconv_prog.c (options): Put N_ translation marker
18211 on argument names, not just descriptions.
18212 * iconv/iconvconfig.c (options): Likewise.
18214 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
18216 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18217 implementation which is faster on all x86_64 architectures.
18218 Tested on AMD, Intel Nehalem, SNB, IVB.
18219 * sysdeps/x86_64/strnlen.S: Likewise.
18221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18222 Remove all multiarch strlen and strnlen versions.
18223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18224 Remove strlen and strnlen related parts.
18226 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18227 Inline strlen part.
18228 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18230 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18231 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18232 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18233 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18234 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18235 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18237 2013-03-17 Carlos O'Donell <carlos@redhat.com>
18239 * manual/memory.texi (Malloc Tunable Parameters):
18240 Sort parameters alphabetically. Add comments for missing entries.
18242 2013-03-17 David S. Miller <davem@davemloft.net>
18244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18246 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18249 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18250 for arguments at most half maximum finite value.
18251 * math/libm-test.inc (j0_test): Add more tests.
18252 (j1_test): Likewise.
18253 (y0_test): Likewise.
18254 (y1_test): Likewise.
18255 * sysdeps/i386/fpu/libm-test-ulps: Update.
18256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18259 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18260 1 / x and functions P and Q for arguments above 0x1p256L.
18261 (__ieee754_y0l): Likewise.
18262 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18263 (__ieee754_y1l): Likewise.
18264 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18265 (j1_test): Likewise.
18266 (y0_test): Likewise.
18267 (y1_test): Likewise.
18269 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18271 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18274 2013-03-15 Roland McGrath <roland@hack.frob.com>
18276 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18277 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18278 zero since it's initialized to EXEC_PAGESIZE.
18280 * sysdeps/unix/sysv/linux/ldsodefs.h
18281 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18282 * sysdeps/generic/ldsodefs.h: ... here.
18284 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18286 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18288 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18290 * math/test-snan.c: Renamed from
18291 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18292 * math/Makefile (tests): Add test-snan.
18293 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18296 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18297 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18299 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18300 __builtin_nan family of functions.
18301 * math/libm-test.inc (initialize): Initialize qnan_value with
18302 __builtin_nan family of functions.
18303 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18305 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18307 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18308 storage class. Initialize qNaN_var and sNaN_var with
18309 __builtin_nan and __builtin_nans families of functions,
18312 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18313 (sqrt_test): Remove duplicate test with qNaN input.
18314 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18315 (round_test, signbit_test, significand_test): Note missing +/-Inf
18316 as well as qNaN tests.
18318 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18319 qNaN_var. Fix a few strings, too.
18320 * math/libm-test.inc (nan_value): Rename to qnan_value.
18321 * math/gen-libm-test.pl (%beautify): Adjust to that.
18322 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18323 * math/test-misc.c (main): Likewise.
18324 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18325 to __qnan_bytes, and __qnan_union, respectively.
18326 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18328 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18329 and lqnanval, respectively.
18330 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18331 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18332 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18333 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18335 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18336 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18339 * math/test-misc.c (main): Fix copy'n'pastos.
18340 * misc/tst-efgcvt.c (special): Likewise.
18342 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18343 Remove declarations.
18345 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18347 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18348 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18349 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18350 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18352 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18354 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18355 macro to return vdso values correctly in IFUNC implementations.
18356 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18357 Optimization by using IFUNC.
18359 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18360 Richard Henderson <rth@redhat.com>
18361 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18363 * Makefile.in (bench): New target.
18364 * NEWS: Mention the benchmark framework.
18365 * Rules (bench): Likewise.
18366 (binaries-bench): Generate binaries for functions to
18368 * benchtests/Makefile: New makefile for benchmark tests.
18369 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18371 * benchtests/exp-inputs: New input file for EXP function.
18372 * benchtests/pow-inputs: New input file for POW function.
18373 * scripts/bench.pl: New script to generate source files for
18374 benchmark programs.
18376 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18378 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18379 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18380 computations on mantissa. Use macros for rounding and
18382 (denorm): Likewise.
18383 (__dbl_mp): Likewise.
18384 (add_magnitudes): Likewise.
18385 (sub_magnitudes): Likewise.
18388 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18389 powers of two in terms of TWOPOW macro.
18390 (mp_no): Make type of mantissa as MANTISSA_T.
18391 [!RADIXI]: Define RADIXI.
18392 [!TWO52]: Define TWO52.
18393 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18395 * manual/nptl.texi (cindex): Modify threads to pthreads.
18397 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18399 * sysdeps/x86_64/preconfigure: Regenerated.
18401 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18404 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18406 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18407 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18409 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18410 * math/libm-test.inc (j0_test): Do not allow one spurious
18411 underflow exception.
18412 (y1_test): Likewise.
18414 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18416 * manual/Makefile (chapters): Add nptl.
18417 * manual/debug.texi (Debugging Support): Add link to Threads
18419 * manual/nptl.texi: New file.
18421 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18423 2013-03-14 Petr Baudis <pasky@ucw.cz>
18425 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18426 for non-NULL pointer before the memory validity test. Pointed
18427 out by Holger Brunck <holger.brunck@keymile.com>.
18429 2013-03-13 Andreas Schwab <schwab@suse.de>
18431 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18434 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18436 * timezone/zic.c: Update from tzcode 2013b.
18438 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18440 * manual/install.texi (Configuring and compiling):
18441 Mention i686 and i586.
18442 * INSTALL: Regenerate.
18444 2013-03-12 Roland McGrath <roland@hack.frob.com>
18446 * sysdeps/init_array/elf-init.c: New file.
18448 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18449 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18451 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18452 __gmon_start__ as global, but as static with a .preinit_array pointer.
18453 * sysdeps/init_array/gmon-start.c: New file. Use that.
18454 * sysdeps/init_array/crti.S: New file, empty except for comments.
18455 * sysdeps/init_array/crtn.S: Likewise.
18457 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18459 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18462 Remove Prefer_SSE_for_memop.
18463 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18464 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18465 HAS_PREFER_SSE_FOR_MEMOP.
18466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18469 Remove bzero, memset ifunc support.
18470 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18471 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18472 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18473 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18475 2013-03-11 Andreas Schwab <schwab@suse.de>
18478 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18481 (GLIBC_2.16): Remove pthread_atfork.
18483 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18485 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18486 (ptestcases.h): Likewise.
18488 2013-03-08 Roland McGrath <roland@hack.frob.com>
18490 * Makeconfig ($(common-objpfx)config.status): Depend on
18491 sysdeps/*/preconfigure{,.in} too.
18493 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18495 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18496 (__free_hook): Use void * instead of __malloc_ptr_t.
18497 (__malloc_hook): Likewise.
18498 (__realloc_hook): Likewise.
18499 (__memalign_hook): Likewise.
18500 (__after_morecore_hook): Likewise.
18501 * malloc/arena.c (save_malloc_hook): Likewise.
18502 (save_free_hook): Likewise.
18503 * malloc/hooks.c (malloc_hook_ini): Likewise.
18504 (realloc_hook_ini): Likewise.
18505 (memalign_hook_ini): Likewise.
18506 * malloc/malloc.c (malloc_hook_ini): Likewise.
18507 (realloc_hook_ini): Likewise.
18508 (memalign_hook_ini): Likewise.
18509 (__free_hook): Likewise.
18510 (__malloc_hook): Likewise.
18511 (__realloc_hook): Likewise.
18512 (__memalign_hook): Likewise.
18513 (__libc_malloc): Likewise.
18514 (__libc_free): Likewise.
18515 (__libc_realloc): Likewise.
18516 (__libc_memalign): Likewise.
18517 (__libc_valloc): Likewise.
18518 (__libc_pvalloc): Likewise.
18519 (__libc_calloc): Likewise.
18520 (__posix_memalign): Likewise.
18521 * malloc/morecore.c (__sbrk): Likewise.
18522 (__default_morecore): Likewise.
18524 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18526 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18527 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18528 __malloc_ptrdiff_t.
18530 * malloc/malloc.h (__malloc_size_t): Remove macro.
18531 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18533 (old_memalign_hook): Likewise.
18534 (old_realloc_hook): Likewise.
18535 (struct hdr): Likewise.
18537 (mallochook): Likewise.
18538 (memalignhook): Likewise.
18539 (reallochook): Likewise.
18540 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18541 (tr_old_realloc_hook): Likewise.
18542 (tr_old_memalign_hook): Likewise.
18543 (tr_mallochook): Likewise.
18544 (tr_reallochook): Likewise.
18545 (tr_memalignhook): Likewise.
18547 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18549 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18550 default_ldbl_pack and using as default implementation.
18551 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18553 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18554 redundant definition.
18555 (ldbl_insert_mantissa): Likewise.
18556 (ldbl_canonicalize): Likewise.
18557 (ldbl_nearbyint): Likewise.
18558 (ldbl_pack): Rename to ldbl_pack_ppc.
18559 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18560 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18561 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18563 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18566 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18567 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18568 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18570 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18571 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18572 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18574 2013-03-07 Andreas Jaeger <aj@suse.de>
18576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18579 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18581 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18582 Include mpa.h and declare __MPEXP.
18583 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18584 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18585 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18586 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18587 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18588 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18589 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18591 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18592 (__slowpow): Use long double EXPL and LOGL functions to
18594 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18595 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18596 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18597 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18598 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18599 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18602 intermediate variable to calculate exponent.
18604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18608 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18609 [!NO__SQR]: Define __sqr.
18610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18611 and NO__SQR. Remove all code except __mul and __sqr. Include
18612 sysdeps/ieee754/dbl-64/mpa.c.
18613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18616 * posix/Makefile (tests): Add tst-pathconf.
18617 * posix/tst-pathconf.c: New test case.
18618 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18620 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18622 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18624 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18626 2013-03-06 Andreas Jaeger <aj@suse.de>
18628 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18629 definition via __MAP_ANONYMOUS.
18631 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18632 it's not part of Linux headers.
18634 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18635 (MAP_HUGE_MASK): Define.
18637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18639 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18640 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18642 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18643 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18645 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18646 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18648 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18650 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18651 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18652 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18653 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18654 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18655 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18657 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18660 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18661 Handle f2fs and efivarfs.
18663 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18666 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18667 (EFIVARFS_MAGIC): Add.
18668 (F2FS_LINK_MAX): Add.
18670 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18672 * stdio-common/vfprintf.c: Replace __builtin_expect with
18675 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18678 * sysdeps/generic/bp-sym.h: Remove file.
18679 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18680 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18681 <bp-sym.h> and <bp-asm.h>.
18682 (__longjmp): Don't use BP_SYM.
18683 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18685 (memcpy): Don't use BP_SYM.
18686 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18687 <bp-sym.h> and <bp-asm.h>.
18688 (memcpy): Don't use BP_SYM.
18689 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18691 (memcpy): Don't use BP_SYM.
18692 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18694 (memset): Don't use BP_SYM.
18695 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18696 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18697 (__bzero): Don't use BP_SYM.
18698 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18699 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18700 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18701 <bp-sym.h> and <bp-asm.h>.
18702 (memcmp): Don't use BP_SYM. Remove comment about bounded
18704 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18705 <bp-sym.h> and <bp-asm.h>.
18706 (memcpy): Don't use BP_SYM.
18707 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18708 <bp-sym.h> and <bp-asm.h>.
18709 (memset): Don't use BP_SYM.
18710 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18711 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18712 (__bzero): Don't use BP_SYM.
18713 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18714 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18715 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18716 <bp-sym.h> and <bp-asm.h>.
18717 (strncmp): Don't use BP_SYM. Remove comment about bounded
18719 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18720 <bp-sym.h> and <bp-asm.h>.
18721 (memcpy): Don't use BP_SYM.
18722 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18723 <bp-sym.h> and <bp-asm.h>.
18724 (memset): Don't use BP_SYM.
18725 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18726 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18727 (__bzero): Don't use BP_SYM.
18728 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18729 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18730 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18731 <bp-sym.h> and <bp-asm.h>.
18732 (__memchr): Don't use BP_SYM.
18733 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18734 <bp-sym.h> and <bp-asm.h>.
18735 (memcmp): Don't use BP_SYM. Remove comment about bounded
18737 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18738 <bp-sym.h> and <bp-asm.h>.
18739 (memcpy): Don't use BP_SYM.
18740 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18741 <bp-sym.h> and <bp-asm.h>.
18742 (__mempcpy): Don't use BP_SYM.
18743 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18744 <bp-sym.h> and <bp-asm.h>.
18745 (__memrchr): Don't use BP_SYM.
18746 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18747 <bp-sym.h> and <bp-asm.h>.
18748 (memset): Don't use BP_SYM.
18749 (__bzero): Likewise.
18750 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18751 <bp-sym.h> and <bp-asm.h>.
18752 (__rawmemchr): Don't use BP_SYM.
18753 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18754 <bp-sym.h> and <bp-asm.h>.
18755 (__STRCMP): Don't use BP_SYM.
18756 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18757 <bp-sym.h> and <bp-asm.h>.
18758 (strchr): Don't use BP_SYM.
18759 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18760 <bp-sym.h> and <bp-asm.h>.
18761 (__strchrnul): Don't use BP_SYM.
18762 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18763 <bp-sym.h> and <bp-asm.h>.
18764 (strlen): Don't use BP_SYM.
18765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18766 <bp-sym.h> and <bp-asm.h>.
18767 (strncmp): Don't use BP_SYM. Remove comment about bounded
18769 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18770 <bp-sym.h> and <bp-asm.h>.
18771 (__strnlen): Don't use BP_SYM.
18772 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18773 <bp-sym.h> and <bp-asm.h>.
18774 (__GI__setjmp): Don't use BP_SYM.
18775 (_setjmp): Likewise.
18776 (__sigsetjmp): Likewise.
18777 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18778 (L(start_addresses)): Don't use BP_SYM.
18779 (_start): Likewise.
18780 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18782 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18783 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18784 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18785 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18786 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18788 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18789 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18790 about bounded pointers.
18791 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18792 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18793 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18795 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18796 about bounded pointers. Remove GKM FIXME comments.
18797 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18798 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18800 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18801 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18802 Remove GKM FIXME comments.
18803 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18804 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18805 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18807 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18808 about bounded pointers. Remove GKM FIXME comment.
18809 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18811 (strncmp): Don't use BP_SYM. Remove comment about bounded
18813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18814 <bp-sym.h> and <bp-asm.h>.
18815 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18817 <bp-sym.h> and <bp-asm.h>.
18818 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18821 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18823 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18826 2013-03-05 David S. Miller <davem@davemloft.net>
18828 * po/es.po: Update from translation team.
18830 2013-03-05 Andreas Jaeger <aj@suse.de>
18832 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18833 <bits/mman-linux.h>.
18834 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18836 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18837 <bits/mman-linux.h> to end of file.
18838 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18840 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18841 <bits/mman-linux.h> to end of file.
18842 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18844 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18845 <bits/mman-linux.h> to end of file.
18847 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18848 (MCL_CURRENT, MCL_FUTURE): Define here.
18850 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18853 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18855 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18857 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18859 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18860 fourth parameter needed for rt_sigprocmask syscall.
18861 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18862 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18863 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18864 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18865 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18866 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18868 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18871 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18872 comment about bounded pointers.
18873 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18874 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18876 2013-03-04 Andreas Jaeger <aj@suse.de>
18878 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18879 common definitions.
18881 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18882 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18883 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18884 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18885 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18886 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18888 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18891 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18892 __ieee754_sqrl instead of __sqrl.
18894 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18896 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18897 * sysdeps/powerpc/fpu_control.h: ... here.
18898 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18899 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18900 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18901 * sysdeps/powerpc/bits/mathinline.h: ... here.
18903 2013-03-01 Roland McGrath <roland@hack.frob.com>
18905 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18906 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18907 to just [NEED_DL_SYSINFO_DSO].
18908 * elf/dl-support.c: Likewise.
18909 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18910 * elf/rtld.c (dl_main): Likewise.
18911 * elf/setup-vdso.h (setup_vdso): Likewise.
18912 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18913 * sysdeps/unix/sysv/linux/dl-sysdep.c
18914 (_dl_discover_osversion): Likewise.
18916 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18918 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18919 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18921 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18923 * NEWS: Mention libm performance improvements and non-x86 PI
18926 * csu/libc-start.c (__pthread_initialize_minimal): Change
18927 function arguments.
18928 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18930 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18933 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18934 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18935 <bp-sym.h> and <bp-asm.h>.
18936 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18937 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18939 (memcpy): Don't use BP_SYM.
18940 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18942 (__mpn_add_n): Don't use BP_SYM.
18943 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18944 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18946 (__mpn_addmul_1): Don't use BP_SYM.
18947 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18948 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18950 (_setjmp): Don't use BP_SYM.
18951 (__novmx_setjmp): Likewise.
18952 (__GI__setjmp): Likewise.
18953 (__vmx_setjmp): Likewise.
18954 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18956 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18957 (__bzero): Don't use BP_SYM.
18958 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18959 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18960 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18961 <bp-sym.h> and <bp-asm.h>.
18962 (memcpy): Don't use BP_SYM.
18963 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18964 <bp-sym.h> and <bp-asm.h>.
18965 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18966 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18967 <bp-sym.h> and <bp-asm.h>.
18968 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18969 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18971 (__mpn_lshift): Don't use BP_SYM.
18972 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18973 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18975 (memset): Don't use BP_SYM.
18976 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18977 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18978 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18980 (__mpn_mul_1): Don't use BP_SYM.
18981 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18982 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18983 <bp-sym.h> and <bp-asm.h>.
18984 (memcmp): Don't use BP_SYM.
18985 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18986 <bp-sym.h> and <bp-asm.h>.
18987 (memcpy): Don't use BP_SYM.
18988 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18989 <bp-sym.h> and <bp-asm.h>.
18990 (memset): Don't use BP_SYM.
18991 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18992 <bp-sym.h> and <bp-asm.h>.
18993 (strncmp): Don't use BP_SYM.
18994 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18995 <bp-sym.h> and <bp-asm.h>.
18996 (memcpy): Don't use BP_SYM.
18997 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18998 <bp-sym.h> and <bp-asm.h>.
18999 (memset): Don't use BP_SYM.
19000 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19001 <bp-sym.h> and <bp-asm.h>.
19002 (__memchr): Don't use BP_SYM.
19003 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19004 <bp-sym.h> and <bp-asm.h>.
19005 (memcmp): Don't use BP_SYM.
19006 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19007 <bp-sym.h> and <bp-asm.h>.
19008 (memcpy): Don't use BP_SYM.
19009 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19010 <bp-sym.h> and <bp-asm.h>.
19011 (__mempcpy): Don't use BP_SYM.
19012 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19013 <bp-sym.h> and <bp-asm.h>.
19014 (__memrchr): Don't use BP_SYM.
19015 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19016 <bp-sym.h> and <bp-asm.h>.
19017 (memset): Don't use BP_SYM.
19018 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19019 <bp-sym.h> and <bp-asm.h>.
19020 (__rawmemchr): Don't use BP_SYM.
19021 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19022 <bp-sym.h> and <bp-asm.h>.
19023 (__STRCMP): Don't use BP_SYM.
19024 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19025 <bp-sym.h> and <bp-asm.h>.
19026 (strchr): Don't use BP_SYM.
19027 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19028 <bp-sym.h> and <bp-asm.h>.
19029 (__strchrnul): Don't use BP_SYM.
19030 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19031 <bp-sym.h> and <bp-asm.h>.
19032 (strlen): Don't use BP_SYM.
19033 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19034 <bp-sym.h> and <bp-asm.h>.
19035 (strncmp): Don't use BP_SYM.
19036 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19037 <bp-sym.h> and <bp-asm.h>.
19038 (__strnlen): Don't use BP_SYM.
19039 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19041 (__mpn_rshift): Don't use BP_SYM.
19042 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19043 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19044 <bp-sym.h> and <bp-asm.h>.
19045 (__sigsetjmp): Don't use BP_SYM.
19046 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19047 (L(start_addresses)): Don't use BP_SYM.
19048 (_start): Likewise.
19049 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19051 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19052 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19053 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19054 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19056 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19057 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19058 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19059 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19061 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19063 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19064 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19066 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19068 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19069 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19070 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19072 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19074 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19076 (strncmp): Don't use BP_SYM,
19077 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19079 (__mpn_sub_n): Don't use BP_SYM.
19080 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19081 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19083 (__mpn_submul_1): Don't use BP_SYM.
19084 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19086 <bp-sym.h> and <bp-asm.h>.
19087 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19089 <bp-sym.h> and <bp-asm.h>.
19090 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19093 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19096 Use ZK to minimize writes to Z.
19097 (sub_magnitudes): Simplify code a bit.
19098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19099 Use ZK to minimize writes to Z.
19100 (sub_magnitudes): Simplify code a bit.
19102 2013-02-27 Roland McGrath <roland@hack.frob.com>
19104 * csu/gmon-start.c: Add special exception to license text.
19106 2013-02-27 Richard Henderson <rth@redhat.com>
19108 * scripts/config.guess: Update from config.git.
19109 * scripts/config.sub: Likewise.
19111 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19113 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19115 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19117 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19119 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19121 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19123 2013-02-26 Roland McGrath <roland@hack.frob.com>
19125 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19126 [$(build-shared = yes].
19128 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19130 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19131 (__mul): Reduce iterations for calculating mantissa.
19133 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19135 (__mpranred): Likewise.
19138 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19139 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19141 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19143 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19144 Define __attribute__.
19146 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19148 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19150 * posix/regex_internal.h (__attribute): Remove.
19151 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19152 (re_string_context_at): Likewise.
19153 (bitset_not): Use __attribute__ and mark function as possibly
19155 (bitset_merge): Likewise.
19156 (bitset_mask): Likewise.
19157 (re_string_char_size_at): Likewise.
19158 (re_string_wchar_at): Likewise.
19159 (re_string_elem_size_at): Likewise.
19161 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19163 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19167 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19171 (denorm): Likewise.
19172 (__dbl_mp): Likewise.
19173 (add_magnitudes): Likewise.
19174 (sub_magnitudes): Likewise.
19178 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19181 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19184 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19188 up changes with default code.
19189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19192 2013-02-24 Allan McRae <allan@archlinux.org>
19194 * manual/socket.texi (The Internet Namespace): Order menu items
19195 to match that in the file.
19197 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19198 node listing of the info page menu.
19200 2013-02-21 Joseph Myers <joseph@codesourcery.com>
19203 * sysdeps/i386/bp-asm.h: Remove file.
19204 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19205 (PARMS): Do not use macros from bp-asm.h.
19209 (__mpn_add_n): Do not use BP_SYM
19210 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19212 (PARMS): Do not use macros from bp-asm.h.
19215 (__mpn_addmul_1): Do not use BP_SYM
19216 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19218 (PARMS): Do not use macros from bp-asm.h.
19219 (SIGMSK): Likewise.
19220 (_setjmp): Likewise. Do not use BP_SYM.
19221 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19223 (PARMS): Do not use macros from bp-asm.h.
19224 (SIGMSK): Likewise.
19225 (setjmp): Likewise. Do not use BP_SYM.
19226 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19228 (PARMS): Do not use macros from bp-asm.h.
19229 (__frexp): Do not use BP_SYM.
19231 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19233 (PARMS): Do not use macros from bp-asm.h.
19234 (__frexpf): Do not use BP_SYM.
19235 (frexpf): Likewise.
19236 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19238 (PARMS): Do not use macros from bp-asm.h.
19239 (__frexpl): Do not use BP_SYM.
19240 (frexpl): Likewise.
19241 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19243 (PARMS): Do not use macros from bp-asm.h.
19244 (__remquo): Do not use BP_SYM.
19245 (remquo): Likewise.
19246 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19248 (PARMS): Do not use macros from bp-asm.h.
19249 (__remquof): Do not use BP_SYM.
19250 (remquof): Likewise.
19251 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19253 (PARMS): Do not use macros from bp-asm.h.
19254 (__remquol): Do not use BP_SYM.
19255 (remquol): Likewise.
19256 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19258 (PARMS): Do not use macros from bp-asm.h.
19261 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19262 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19264 (PARMS): Do not use macros from bp-asm.h.
19265 (strlen): Do not use BP_SYM.
19266 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19268 (PARMS): Do not use macros from bp-asm.h.
19272 (__mpn_add_n): Do not use BP_SYM.
19273 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19275 (PARMS): Do not use macros from bp-asm.h.
19278 (__mpn_addmul_1): Do not use BP_SYM.
19279 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19282 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19284 (PARMS): Do not use macros from bp-asm.h.
19287 (__mpn_lshift): Do not use BP_SYM.
19288 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19290 (PARMS): Do not use macros from bp-asm.h.
19294 (memcpy): Likewise. Do not use BP_SYM.
19295 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19296 libc_hidden_def and weak_alias.
19297 (mempcpy): Do not use BP_SYM in weak_alias.
19298 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19300 (PARMS): Do not use macros from bp-asm.h.
19303 [!BZERO_P] (CHR): Likewise.
19304 (memset): Likewise. Do not use BP_SYM.
19305 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19307 (PARMS): Do not use macros from bp-asm.h.
19310 (__mpn_mul_1): Do not use BP_SYM.
19311 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19313 (PARMS): Do not use macros from bp-asm.h.
19316 (__mpn_rshift): Do not use BP_SYM.
19317 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19319 (PARMS): Do not use macros from bp-asm.h.
19322 (strchr): Likewise. Do not use BP_SYM.
19323 (index): Do not use BP_SYM in weak_alias.
19324 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19326 (PARMS): Do not use macros from bp-asm.h.
19329 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19330 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19332 (PARMS): Do not use macros from bp-asm.h.
19333 (strlen): Do not use BP_SYM.
19334 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19336 (PARMS): Do not use macros from bp-asm.h.
19340 (__mpn_sub_n): Do not use BP_SYM.
19341 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19343 (PARMS): Do not use macros from bp-asm.h.
19346 (__mpn_submul_1): Do not use BP_SYM.
19347 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19349 (PARMS): Do not use macros from bp-asm.h.
19353 (__mpn_add_n): Do not use BP_SYM.
19354 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19357 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19359 (PARMS): Do not use macros from bp-asm.h.
19362 (memcmp): Do not use BP_SYM.
19363 (bcmp): Do not use BP_SYM in weak_alias.
19364 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19366 (PARMS): Do not use macros from bp-asm.h.
19370 (memcpy): Likewise. Do not use BP_SYM.
19371 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19373 (PARMS): Do not use macros from bp-asm.h.
19377 (memmove): Likewise. Do not use BP_SYM.
19378 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19380 (PARMS): Do not use macros from bp-asm.h.
19384 (__mempcpy): Likewise. Do not use BP_SYM.
19385 (mempcpy): Do not use BP_SYM in weak_alias.
19386 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19388 (PARMS): Do not use macros from bp-asm.h.
19391 [!BZERO_P] (CHR): Likewise.
19392 (memset): Likewise. Do not use BP_SYM.
19393 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19395 (PARMS): Do not use macros from bp-asm.h.
19397 (strcmp): Do not use BP_SYM.
19398 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19400 (PARMS): Do not use macros from bp-asm.h.
19403 [USE_AS_STRTOK_R] (SAVE): Likewise.
19404 (FUNCTION): Likewise. Do not use BP_SYM.
19405 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19407 (strtok_r): Likewise.
19408 (__GI___strtok_r): Likewise.
19409 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19410 (PARMS): Do not use macros from bp-asm.h.
19413 (__mpn_lshift): Do not use BP_SYM.
19414 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19415 (PARMS): Do not use macros from bp-asm.h.
19418 (__memchr): Do not use BP_SYM.
19419 (memchr): Do not use BP_SYM in weak_alias.
19420 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19421 (PARMS): Do not use macros from bp-asm.h.
19424 (memcmp): Do not use BP_SYM.
19425 (bcmp): Do not use BP_SYM in weak_alias.
19426 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19427 (PARMS): Do not use macros from bp-asm.h.
19430 (__mpn_mul_1): Do not use BP_SYM.
19431 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19433 (PARMS): Do not use macros from bp-asm.h.
19436 (__rawmemchr): Do not use BP_SYM.
19437 (rawmemchr): Do not use BP_SYM in weak_alias.
19438 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19439 (PARMS): Do not use macros from bp-asm.h.
19442 (__mpn_rshift): Do not use BP_SYM.
19443 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19444 (PARMS): Do not use macros from bp-asm.h.
19445 (SIGMSK): Likewise.
19446 (__sigsetjmp): Likewise. Do not use BP_SYM.
19447 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19448 (_start): Do not use BP_SYM.
19449 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19450 (PARMS): Do not use macros from bp-asm.h.
19453 (__stpcpy): Likewise. Do not use BP_SYM.
19454 (stpcpy): Do not use BP_SYM in weak_alias.
19455 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19457 (PARMS): Do not use macros from bp-asm.h.
19461 (__stpncpy): Likewise. Do not use BP_SYM.
19462 (stpncpy): Do not use BP_SYM in weak_alias.
19463 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19464 (PARMS): Do not use macros from bp-asm.h.
19467 (strchr): Likewise. Do not use BP_SYM.
19468 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19470 (PARMS): Do not use macros from bp-asm.h.
19473 (__strchrnul): Likewise. Do not use BP_SYM.
19474 (strchrnul): Do not use BP_SYM in weak_alias.
19475 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19477 (PARMS): Do not use macros from bp-asm.h.
19479 (strcspn): Do not use BP_SYM.
19480 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19482 (PARMS): Do not use macros from bp-asm.h.
19485 (strpbrk): Likewise. Do not use BP_SYM.
19486 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19488 (PARMS): Do not use macros from bp-asm.h.
19491 (strrchr): Likewise. Do not use BP_SYM.
19492 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19493 (PARMS): Do not use macros from bp-asm.h.
19495 (strspn): Do not use BP_SYM.
19496 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19497 (PARMS): Do not use macros from bp-asm.h.
19501 (FUNCTION): Likewise. Do not use BP_SYM.
19502 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19504 (strtok_r): Likewise.
19505 (__GI___strtok_r): Likewise.
19506 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19507 (PARMS): Do not use macros from bp-asm.h.
19511 (__mpn_sub_n): Do not use BP_SYM.
19512 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19514 (PARMS): Do not use macros from bp-asm.h.
19517 (__mpn_submul_1): Do not use BP_SYM.
19518 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19520 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19522 (PARMS): Do not use macros from bp-asm.h.
19527 (__clone): Do not use BP_SYM.
19528 (clone): Do not use BP_SYM in weak_alias.
19529 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19531 (PARMS): Do not use macros from bp-asm.h.
19533 (__mmap64): Do not use BP_SYM.
19534 (mmap64): Do not use BP_SYM in weak_alias.
19535 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19536 <bp-sym.h> and <bp-asm.h>.
19537 (PARMS): Do not use macros from bp-asm.h.
19538 (__posix_fadvise64_l64): Do not use BP_SYM.
19539 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19540 (PARMS): Do not use macros from bp-asm.h.
19542 (semtimedop): Do not use BP_SYM.
19543 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19546 2013-02-21 Allan McRae <allan@archlinux.org>
19548 * manual/message.texi (Charset conversion in gettext):
19549 Move @end statement to beginning of line.
19551 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19558 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19559 (denorm): Likewise.
19560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19563 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19565 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19566 tail-call to the resolved function if pltexit isn't needed.
19568 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19571 or Y being zero as being unlikely.
19572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19575 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19577 * manual/nss.texi (System Databases and Name Service Switch):
19578 Remove frobnicate @pxref.
19580 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19582 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19583 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19585 2013-02-20 Petr Machata <pmachata@redhat.com>
19587 * elf/elf.h (R_ARM_TARGET1): New macro.
19588 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19589 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19590 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19591 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19592 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19593 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19594 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19595 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19596 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19597 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19598 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19599 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19600 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19601 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19602 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19603 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19604 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19605 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19606 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19607 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19608 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19609 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19610 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19611 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19612 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19613 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19614 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19615 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19616 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19617 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19618 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19619 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19620 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19621 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19622 (R_ARM_THM_GOT_BREL12): Likewise.
19623 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19624 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19625 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19626 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19627 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19628 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19629 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19630 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19631 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19633 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19635 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19636 __attribute_used__ to __attribute__ ((unused)).
19638 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19640 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19643 comment formatting.
19644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19646 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19649 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19651 (ENTER): Remove both macro definitions.
19653 (CHECK_BOUNDS_LOW): Likewise.
19654 (CHECK_BOUNDS_HIGH): Likewise.
19655 (CHECK_BOUNDS_BOTH): Likewise.
19656 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19657 (RETURN_BOUNDED_POINTER): Likewise.
19658 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19659 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19660 (POP_ERRNO_LOCATION_RETURN): Likewise.
19661 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19662 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19663 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19665 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19666 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19667 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19668 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19669 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19670 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19671 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19672 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19673 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19674 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19675 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19676 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19677 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19678 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19680 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19681 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19683 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19684 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19685 * sysdeps/i386/i586/memset.S (memset): Likewise.
19686 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19687 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19688 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19690 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19691 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19692 Change uses of L(2) to L(out).
19693 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19694 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19695 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19696 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19697 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19699 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19700 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19702 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19703 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19704 (RETURN): Do not use macro LEAVE.
19705 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19706 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19707 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19708 * sysdeps/i386/i686/memset.S (memset): Likewise.
19709 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19710 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19711 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19712 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19714 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19715 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19716 L(1_2) and L(1_3) into L(1).
19717 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19718 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19719 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19720 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19721 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19722 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19723 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19724 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19725 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19727 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19728 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19729 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19730 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19731 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19732 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19733 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19734 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19735 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19736 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19737 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19738 * sysdeps/i386/strspn.S (strspn): Likewise.
19739 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19741 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19742 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19743 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19744 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19745 L(1_3) into L(1_1).
19746 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19747 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19748 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19750 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19752 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19754 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19757 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19759 * math/atest-exp.c (exp_mpn): Remove ROUND.
19760 * math/atest-exp2.c (exp_mpn): Likewise.
19761 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19763 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19764 * stdlib/tst-tls-atexit-lib.c: Likewise.
19765 * stdlib/tst-tls-atexit.c: Likewise.
19767 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19769 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19770 and __attribute_alloc_size__.
19772 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19774 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19775 __attribute_alloc_size__.
19776 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19777 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19779 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19781 * include/programs/xmalloc.h: New file.
19782 * catgets/gencat.c: Include it.
19783 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19784 * elf/pldd.c: Likewise.
19785 * iconv/iconv_charmap.c: Likewise.
19786 * iconv/iconvconfig.c: Likewise.
19787 * iconv/strtab.c: Likewise.
19788 * locale/programs/locale.c: Likewise.
19789 * locale/programs/localedef.h: Likewise.
19790 * locale/programs/simple-hash.c: Likewise.
19791 * nscd/nscd.h: Likewise.
19792 * nss/makedb.c: Likewise.
19793 * sysdeps/generic/ldconfig.h: Likewise.
19795 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19797 * Versions.def: Add GLIBC_2.18.
19798 * include/link.h (struct link_map): New member l_tls_dtor_count.
19799 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19800 (__call_tls_dtors): Likewise.
19801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19802 __cxa_thread_atexit_impl.
19803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19811 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19819 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19820 (tests): Add test case tst-tls-atexit.
19821 (modules-names): Add shared library for tst-tls-atexit.
19822 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19823 (GLIBC_PRIVATE): Add __call_tls_dtors.
19824 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19826 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19827 * stdlib/tst-tls-atexit.c: New test case.
19828 * stdlib/tst-tls-atexit-lib.c: New test case.
19830 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19832 * elf/Versions (ld): Add _dl_find_dso_for_object.
19833 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19834 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19835 (dl_open_worker): Use _dl_find_dso_for_object.
19836 * elf/dl-sym.c (do_sym): Likewise.
19837 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19839 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19841 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19842 Syntactic changes only.
19843 (_dl_runtime_profile): Do a tail-call to the resolved function.
19845 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19848 * sysdeps/x86_64/bp-asm.h: Remove file.
19849 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19850 <bp-sym.h> and <bp-asm.h>.
19851 (__clone): Do not use BP_SYM.
19852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19853 <bp-sym.h> and <bp-asm.h>.
19854 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19855 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19857 (_setjmp): Do not use BP_SYM.
19858 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19860 (setjmp): Do not use BP_SYM.
19861 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19863 (mempcpy): Do not use BP_SYM in weak_alias.
19864 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19866 (strchr): Do not use BP_SYM.
19867 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19869 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19870 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19871 (_start): Do not use BP_SYM.
19872 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19874 (strcat): Do not use BP_SYM.
19875 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19877 (STRCMP): Do not use BP_SYM.
19878 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19880 (STRCPY): Do not use BP_SYM.
19881 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19883 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19885 (FUNCTION): Do not use BP_SYM.
19886 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19888 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19890 2013-02-17 Andreas Jaeger <aj@suse.de>
19892 * time/Versions: Sort entries.
19893 * string/Versions: Likewise.
19894 * resolv/Versions: Likewise.
19895 * posix/Versions: Likewise.
19896 * iconv/Versions: Likewise.
19897 * elf/Versions: Likewise.
19898 * wcsmbs/Versions: Likewise.
19900 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19902 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19903 loop termination condition.
19905 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19906 variable to calculate EZ.
19909 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19910 the lower precision input.
19912 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19915 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19916 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19917 (run-via-rtld-prefix): Do not handle %-bp tests.
19918 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19919 (all-object-suffixes): Remove .ob.
19920 (bppfx): Remove variable.
19921 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19922 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19923 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19924 [$(build-bounded) = yes] (libtype.ob): Likewise.
19925 * Makerules (elide-routines.ob): Remove variable.
19926 (do-tests-clean): Do not handle *-bp.out.
19927 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19928 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19929 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19930 (tests): Do not include $(tests-bp.out).
19931 (xtests): Do not include $(xtests-bp.out).
19932 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19933 [$(build-bounded) = yes] ($(addprefix
19934 $(objpfx),$(binaries-bounded))): Remove rule.
19935 ($(objpfx)%-bp.out): Remove rule.
19936 * config.make.in (build-bounded): Remove variable.
19937 * crypt/Makefile [$(build-bounded) = yes]
19938 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19939 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19940 append to variable.
19941 [$(build-bounded) = yes] (install-lib): Likewise.
19942 [$(build-bounded) = yes] (generated): Likewise.
19943 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19945 * intl/Makefile [$(build-bounded) = yes]
19946 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19947 * math/Makefile [$(build-bounded) = yes]
19948 ($(tests:%=$(objpfx)%-bp): Likewise.
19949 * misc/Makefile [$(build-bounded) = yes]
19950 ($(objpfx)tst-tsearch-bp): Likewise.
19951 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19952 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19954 * string/Makefile (o-objects.ob): Remove variable.
19955 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19956 (CFLAGS-.ob): Remove variable.
19957 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19958 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19959 both definitions of variable.
19960 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19961 (ASFLAGS-.ob): Remove variable.
19963 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19966 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19967 Remove __BOUNDED_POINTERS__ from condition.
19968 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19969 * string/bits/string2.h [!__NO_STRING_INLINES &&
19970 !__BOUNDED_POINTERS__]: Likewise.
19971 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19973 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19974 Remove conditional code.
19975 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19976 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19977 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19981 * csu/libc-start.c: Do not include <bp-sym.h>.
19982 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19983 * elf/dl-open.c: Do not include <bp-sym.h>.
19984 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19985 * math/fegetenv.c: Do not include <bp-sym.h>.
19986 (fegetenv): Do not use BP_SYM in versioned symbols.
19987 * nptl/sysdeps/pthread/bits/libc-lockP.h
19988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19991 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19993 (__pthread_mutex_destroy): Likewise.
19994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19995 (__pthread_mutex_lock): Likewise.
19996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19997 (__pthread_mutex_trylock): Likewise.
19998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19999 (__pthread_mutex_unlock): Likewise.
20000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20001 (__pthread_mutexattr_init): Likewise.
20002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20003 (__pthread_mutexattr_destroy): Likewise.
20004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20005 (__pthread_mutexattr_settype): Likewise.
20006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20007 (__pthread_rwlock_init): Likewise.
20008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20009 (__pthread_rwlock_destroy): Likewise.
20010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20011 (__pthread_rwlock_rdlock): Likewise.
20012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20013 (__pthread_rwlock_tryrdlock): Likewise.
20014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20015 (__pthread_rwlock_wrlock): Likewise.
20016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20017 (__pthread_rwlock_trywrlock): Likewise.
20018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20019 (__pthread_rwlock_unlock): Likewise.
20020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20021 (__pthread_key_create): Likewise.
20022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20023 (__pthread_setspecific): Likewise.
20024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20025 (__pthread_getspecific): Likewise.
20026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20029 (_pthread_cleanup_push_defer): Likewise.
20030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20031 (_pthread_cleanup_pop_restore): Likewise.
20032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20033 (pthread_setcancelstate): Likewise.
20034 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20036 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20037 (memchr): Do not use BP_SYM in weak_alias.
20038 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20039 (fegetenv): Do not use BP_SYM in versioned symbols.
20040 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20041 (fesetenv): Do not use BP_SYM in versioned symbols.
20042 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20043 (feupdateenv): Do not use BP_SYM in versioned symbols.
20044 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20045 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20046 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20047 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20048 (open64): Do not use BP_SYM in weak_alias.
20049 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20050 (fegetenv): Do not use BP_SYM in versioned symbols.
20051 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20052 (fesetenv): Do not use BP_SYM in versioned symbols.
20053 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20054 (feupdateenv): Do not use BP_SYM in versioned symbols.
20055 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20056 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20057 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20058 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20059 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20060 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20061 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20063 (__libc_start_main): Do not use BP_SYM.
20065 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20068 redundant return line.
20070 (denorm): Likewise.
20071 (dbl_mp): Likewise.
20072 (sub_magnitudes): Likewise.
20078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20080 (denorm): Likewise.
20081 (dbl_mp): Likewise.
20082 (sub_magnitudes): Likewise.
20089 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20091 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20092 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20095 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20096 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20097 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20098 of __mul for squares.
20099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20103 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20104 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20106 2013-02-13 Joseph Myers <joseph@codesourcery.com>
20109 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20111 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20112 prototype or function definition. Rename ubp_* variables and
20113 parameters. Remove argv definitions conditional on
20114 [__BOUNDED_POINTERS__].
20115 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20116 * elf/dl-runtime.c (_dl_fixup): Likewise.
20117 * include/set-hooks.h (RUN_HOOK): Likewise.
20118 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20120 * string/strcpy.c (strcpy): Do not use __unbounded.
20121 * sysdeps/generic/frame.h (struct layout): Likewise.
20122 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20123 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20124 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20125 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20126 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20127 (__backtrace): Likewise.
20128 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20130 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20131 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20132 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20134 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20135 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20136 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20137 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20138 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20139 Do not use __unbounded.
20140 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20141 Rename __unboundedrlimits parameter to rlimits in prototype.
20142 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20143 Do not use __unbounded.
20144 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20145 not use __ptrvalue.
20146 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20147 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20148 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20149 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20150 __ptrvalue or __unbounded.
20151 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20152 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20154 (__new_msgctl): Do not use __ptrvalue.
20155 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20157 (__libc_msgrcv): Do not use __ptrvalue.
20158 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20159 startup_info): Do not use __unbounded.
20160 (__libc_start_main): Likewise. Rename ubp_* variables and
20161 parameters. Remove argv definitions conditional on
20162 [__BOUNDED_POINTERS__].
20163 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20165 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20167 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20169 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20171 (__new_shmctl): Do not use __ptrvalue.
20172 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20173 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20175 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20176 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20177 (__libc_sigaction): Likewise.
20178 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20179 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20181 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20183 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
20185 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20187 * string/mempcpy.c: Implement by calling memcpy.
20189 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20196 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20197 values in the mantissa.
20199 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20200 minimize writes to Z.
20201 (sub_magnitudes): Simplify code a bit.
20203 2013-02-12 Roland McGrath <roland@hack.frob.com>
20205 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20206 from the message. The linker prefixes all warnings with that already.
20208 2013-02-12 Andreas Schwab <schwab@suse.de>
20211 * posix/regexec.c (extend_buffers): Add parameter min_len.
20212 (check_matching): Pass minimum needed length.
20213 (clean_state_log_if_needed): Likewise.
20214 (get_subexp): Likewise.
20215 * posix/Makefile (tests): Add bug-regex34.
20216 (bug-regex34-ENV): Define.
20217 * posix/bug-regex34.c: New file.
20220 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20221 elements compare against the byte sequence of it, not its name.
20222 * posix/Makefile (tests): Add bug-regex35.
20223 (bug-regex35-ENV): Define.
20224 * posix/bug-regex35.c: New file.
20226 2013-02-11 Tom de Vries <tom@codesourcery.com>
20228 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20230 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20231 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20232 (CHECK_EOL): Add undef.
20234 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
20236 * bits/stdlib-bsearch.h: New file.
20237 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20238 * stdlib/stdlib.h: Likewise.
20240 2013-02-11 Roland McGrath <roland@hack.frob.com>
20242 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20243 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20245 * manual/search.texi (Array Search Function): Add missing const in
20247 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20248 declaration to use rlim_t.
20249 (Basic Scheduling Functions): Remove erroneous const from
20250 sched_getparam prototype. Remove erroneous * from
20251 sched_get_priority_max and sched_get_priority_min prototypes.
20252 (Resource Usage): Fix summary @comment on vtimes to refer to
20253 sys/vtimes.h rather than vtimes.h.
20254 Add missing *s in vtimes prototype.
20255 (Limits on Resources): Fix ulimit prototype to return long int.
20256 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20257 prototypes to use long int rather than double.
20258 (BSD Random): Fix initstate and setstate to use char *, not void *.
20259 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20260 prototype to make second argument 'struct aiocb64 *const[]'.
20261 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20262 (Status of AIO Operations): Remove erroneous const in aio_return and
20263 aio_return64 prototypes.
20264 (Synchronizing I/O): Fix sync prototype to return void.
20265 * manual/startup.texi (Suboptions): Remove an erroneous const in
20266 getsubopt prototype.
20267 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20268 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20269 use size_t rather than int.
20270 (Scanning All Users): Likewise for getpwent_r.
20271 (Setting Groups): Add missing const to setgroups prototype.
20272 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20273 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20274 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20275 'const void *' rather than 'const char *'.
20276 (Host Address Functions): Likewise for inet_ntop.
20277 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20278 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20279 ssize_t for return value.
20280 (Sending Data): Likewise for send, sendto, sendmsg.
20281 (Socket Option Functions): Add a missing const in setsockopt prototype.
20282 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20283 use wchar_t for the argument.
20284 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20285 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20287 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20288 double/float/long double for second argument.
20289 Fix return types of significand, significandf, significandl.
20290 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20291 argument in fchmod prototype.
20292 (File Owner): Use uid_t and gid_t in fchown prototype.
20293 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20294 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20295 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20296 use 'const struct dirent **' as argument types to CMP function pointer
20298 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20299 (File Times): Fix summary magic @comment for struct utimbuf and utime
20300 to refer to utime.h, not time.h.
20301 * manual/string.texi (Argz Functions): Add missing const in
20302 argz_extract and argz_next prototypes.
20303 (Finding Tokens in a String): Likewise for basename.
20304 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20305 (Copying and Concatenation): Fix typo in wmemmove prototype.
20306 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20307 (Signal Stack): Remove erroneous const in sigstack prototype.
20308 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20310 (Simple Calendar Time): Likewise for stime.
20311 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20313 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20314 say sys/sysctl.h instead.
20315 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20316 and vsyslog prototypes.
20318 2013-02-11 Tom de Vries <tom@codesourcery.com>
20320 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20323 2013-02-11 Roland McGrath <roland@hack.frob.com>
20325 * misc/sys/mman.h: Fix typo in mremap comment.
20327 2013-02-08 Roland McGrath <roland@hack.frob.com>
20329 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20330 the '\0' terminator.
20332 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20335 * debug/segfault.c: Don't include <bp-checks.h>.
20336 * sysdeps/generic/bp-checks.h: Remove file.
20337 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20338 (__GETDENTS): Don't use CHECK_N.
20339 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20340 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20341 (__getgroups): Don't use CHECK_N.
20342 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20343 (setgroups): Don't use CHECK_N.
20344 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20345 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20346 (__libc_msgrcv): Don't use CHECK_N.
20347 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20348 (__libc_msgsnd): Don't use CHECK_N.
20349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20351 (__libc_pread): Don't use CHECK_N.
20352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20353 include <bp-checks.h>.
20354 (__libc_pread64): Don't use CHECK_N.
20355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20356 include <bp-checks.h>.
20357 (__libc_pwrite): Don't use CHECK_N.
20358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20359 include <bp-checks.h>.
20360 (__libc_pwrite64): Don't use CHECK_N.
20361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20363 (__libc_pread): Don't use CHECK_N.
20364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20365 include <bp-checks.h>.
20366 (__libc_pread64): Don't use CHECK_N.
20367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20368 include <bp-checks.h>.
20369 (__libc_pwrite): Don't use CHECK_N.
20370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20371 include <bp-checks.h>.
20372 (__libc_pwrite64): Don't use CHECK_N.
20373 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20374 (do_pread): Don't use CHECK_N.
20375 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20376 (do_pread64): Don't use CHECK_N.
20377 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20378 (do_pwrite): Don't use CHECK_N.
20379 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20380 (do_pwrite64): Don't use CHECK_N.
20381 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20382 (__libc_readv): Don't use CHECK_N.
20383 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20384 (semop): Don't use CHECK_N.
20385 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20387 (semtimedop): Don't use CHECK_N.
20388 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20389 (__libc_pread): Don't use CHECK_N.
20390 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20392 (__libc_pread64): Don't use CHECK_N.
20393 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20395 (__libc_pwrite): Don't use CHECK_N.
20396 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20398 (__libc_pwrite64): Don't use CHECK_N.
20399 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20401 (__libc_msgrcv): Don't use CHECK_N.
20402 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20403 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20404 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20405 (__libc_writev): Don't use CHECK_N.
20407 2013-02-08 Roland McGrath <roland@hack.frob.com>
20409 * string/strcpy.c: Removed unused variable.
20411 * Makeconfig (+sysdep-includes): Define with := rather than =.
20412 Use an existing include/ subdir of each sysdeps dir before it.
20414 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20416 * nscd/connection.c (register_traced_file): Comment function.
20417 [HAVE_INOTIFY] (union __inev): Define.
20418 [HAVE_INOTIFY] (inotify_check_files): New function.
20419 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20420 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20422 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20424 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20426 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20427 loaded if not already and that a failure is permanent.
20429 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20432 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20433 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20435 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20438 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20439 (CHECK_1_NULL_OK): Likewise.
20440 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20441 (__fxstat): Do not use CHECK_1.
20442 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20444 (___fxstat64): Do not use CHECK_1.
20445 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20447 (__fxstatat): Do not use CHECK_1.
20448 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20450 (__fxstatat64): Do not use CHECK_1.
20451 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20453 (__fxstat): Do not use CHECK_1.
20454 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20456 (__fxstatat): Do not use CHECK_1.
20457 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20459 (__getresgid): Do not use CHECK_1.
20460 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20462 (__getresuid): Do not use CHECK_1.
20463 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20465 (__lxstat): Do not use CHECK_1.
20466 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20468 (__old_msgctl): Do not use CHECK_1.
20469 (__new_msgctl): Likewise.
20470 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20472 (__new_setrlimit): Do not use CHECK_1.
20473 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20475 (__old_shmctl): Do not use CHECK_1.
20476 (__new_shmctl): Likewise.
20477 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20479 (__xstat): Do not use CHECK_1.
20480 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20481 (__lxstat): Do not use CHECK_1.
20482 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20484 (___lxstat64): Do not use CHECK_1.
20485 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20486 (__old_msgctl): Do not use CHECK_1.
20487 (__new_msgctl): Likewise.
20488 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20490 (__gettimeofday): Do not use CHECK_1.
20491 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20492 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20493 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20495 (__gettimeofday): Do not use CHECK_1.
20496 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20497 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20498 (__new_shmctl): Do not use CHECK_1.
20499 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20501 (do_sigtimedwait): Do not use CHECK_1.
20502 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20504 (do_sigwaitinfo): Do not use CHECK_1.
20505 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20507 (msgctl): Do not use CHECK_1.
20508 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20510 (shmctl): Do not use CHECK_1.
20511 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20512 (ustat): Do not use CHECK_1.
20513 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20515 (__fxstat): Do not use CHECK_1.
20516 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20518 (__fxstatat): Do not use CHECK_1.
20519 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20521 (__lxstat): Do not use CHECK_1.
20522 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20524 (__xstat): Do not use CHECK_1.
20525 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20526 (__xstat): Do not use CHECK_1.
20527 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20528 (___xstat64): Do not use CHECK_1.
20531 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20533 (CHECK_BOUNDS_HIGH): Likewise.
20534 * string/strcpy.c: Do not include <bp-checks.h>.
20535 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20537 2013-02-07 Roland McGrath <roland@hack.frob.com>
20539 * nscd/nscd-client.h (__nscd_drop_map_ref):
20540 Add __attribute__ ((unused)).
20541 * nis/nss-nisplus.h (niserr2nss): Likewise.
20543 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20544 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20546 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20547 Remove inline keyword.
20548 * include/rounding-mode.h (round_away): Likewise.
20549 * libio/wfileops.c (adjust_wide_data): Likewise.
20550 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20551 (__m128i_strloadu_tolower): Likewise.
20552 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20553 (__m128i_strloadu_tolower): Likewise.
20554 * time/mktime.c (ydhms_diff): Likewise.
20555 * locale/elem-hash.h (elem_hash): Likewise.
20556 * locale/setlocale.c (setdata): Likewise.
20557 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20558 (re_string_wchar_at): Likewise.
20559 (bitset_not, bitset_merge, bitset_mask): Likewise.
20560 [!(__GNUC__ > 3)] (inline): Remove macro.
20561 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20562 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20563 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20564 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20565 * string/memcmp.c (memcmp_bytes): Likewise.
20566 * locale/programs/locarchive.c (compute_hashval): Likewise.
20567 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20568 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20569 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20570 * nss/getent.c (print_rpc, print_protocols): Likewise.
20571 (print_passwd, print_group, print_aliases): Likewise.
20572 * nis/nss-nisplus.h (niserr2nss): Likewise.
20573 * nscd/connections.c (restart_p): Likewise.
20574 Change return type to bool.
20576 2013-02-05 Roland McGrath <roland@hack.frob.com>
20578 * Makeconfig (all-Depend-files): Add existing
20579 $(sorted-subdirs:=/Depend) files.
20580 (all-subdirs): Remove nss.
20581 * sysdeps/unix/inet/Subdirs: Add it here instead.
20582 * hesiod/Depend: New file.
20584 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20585 instead of calling alloca.
20587 * io/lseek.c (__lseek): Rename to __libc_lseek.
20588 Define __lseek as an alias.
20590 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20592 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20594 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20595 else clause and remove check for non-standard endianness.
20597 2013-02-04 David S. Miller <davem@davemloft.net>
20599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20601 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20604 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20605 (__ubp_memchr): Remove prototype.
20606 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20607 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20608 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20609 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20610 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20612 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20613 (__ubp_memchr): Likewise.
20614 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20615 (__ubp_memchr): Likewise.
20616 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20617 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20618 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20619 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20621 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20622 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20623 (__getcwd): Do not use CHECK_STRING.
20624 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20626 (__real_chown): Do not use CHECK_STRING.
20627 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20629 (fchownat): Do not use CHECK_STRING.
20630 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20632 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20634 (__lchown): Do not use CHECK_STRING.
20635 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20636 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20637 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20638 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20640 include <bp-checks.h>.
20641 (truncate64): Do not use CHECK_STRING.
20642 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20644 (__real_chown): Do not use CHECK_STRING.
20645 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20647 (__lchown): Do not use CHECK_STRING.
20648 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20650 (__chown): Do not use CHECK_STRING.
20651 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20653 (truncate64): Do not use CHECK_STRING.
20654 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20656 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20657 (__xmknod): Do not use CHECK_STRING.
20658 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20660 (__xmknodat): Do not use CHECK_STRING.
20661 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20662 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20664 2013-02-04 Andreas Schwab <schwab@suse.de>
20667 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20668 * include/netdb.h: Likewise for h_errno.
20669 * elf/tst-stackguard1.c: Include <tls.h>.
20671 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20673 * elf/link.h (struct link_map): Extend the l_addr comment.
20674 * include/link.h (struct link_map): Likewise.
20676 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20679 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20680 (BOUNDED_1): Remove macro.
20681 * debug/backtrace.c: Don't include <bp-checks.h>.
20682 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20683 (__backtrace): Likewise.
20684 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20686 (__backtrace): Don't use BOUNDED_1.
20687 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20689 (__backtrace): Don't use BOUNDED_1.
20690 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20691 (__backtrace): Don't use BOUNDED_1.
20692 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20693 (shmat): Don't use BOUNDED_N.
20695 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20698 * sysdeps/generic/bp-start.h: Remove file.
20699 * csu/libc-start.c: Don't include <bp-start.h>.
20700 (LIBC_START_MAIN): Set up __environ directly instead of using
20701 INIT_ARGV_and_ENVIRON.
20702 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20706 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20708 (CHECK_FCNTL): Likewise.
20709 (CHECK_N_PAGES): Likewise.
20712 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20714 (CHECK_SIGSET_NULL_OK): Likewise.
20715 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20717 (sigpending): Don't use CHECK_SIGSET.
20718 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20720 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20721 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20723 (do_sigsuspend): Don't use CHECK_SIGSET.
20724 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20726 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20727 (do_sigwait): Don't use CHECK_SIGSET.
20728 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20730 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20731 include <bp-checks.h>.
20732 (sigpending): Don't use CHECK_SIGSET.
20733 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20734 include <bp-checks.h>.
20735 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20736 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20738 (sigpending): Don't use CHECK_SIGSET.
20739 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20741 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20744 * sysdeps/generic/bp-semctl.h: Remove file.
20745 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20746 <bp-checks.h> and <bp-semctl.h>.
20747 (__old_semctl): Don't use CHECK_SEMCTL.
20748 (__new_semctl): Likewise.
20749 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20751 (__old_semctl): Don't use CHECK_SEMCTL.
20752 (__new_semctl): Likewise.
20753 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20754 <bp-checks.h> and <bp-semctl.h>.
20755 (__old_semctl): Don't use CHECK_SEMCTL.
20756 (__new_semctl): Likewise.
20757 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20758 <bp-checks.h> and <bp-semctl.h>.
20759 (semctl): Don't use CHECK_SEMCTL.
20762 * Makerules (elide-bp-thunks): Remove variable.
20763 (elide-routines.oS): Don't use $(elide-bp-thunks).
20764 (elide-routines.os): Likewise.
20765 (elide-routines.o): Likewise.
20766 (elide-routines.op): Likewise.
20767 (elide-routines.og): Likewise.
20768 (objects): Don't use $(bp-thunks).
20769 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20771 (common-generated): Do not add s-proto-bp.d.
20772 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20775 Do not generate makefile rules for bounded-pointer thunks.
20776 * sysdeps/generic/bp-thunks.h: Remove file.
20777 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20778 * sysdeps/unix/s-proto-bp.S: Likewise.
20781 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20782 parts of result separately when argument is not close to line from
20783 -i to i and one part of argument is small.
20784 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20785 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20786 * math/libm-test.inc (cacos_test): Add more tests.
20787 (casin_test): Likewise.
20788 (casinh_test): Likewise.
20789 * sysdeps/i386/fpu/libm-test-ulps: Update.
20790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20792 2013-01-31 David S. Miller <davem@davemloft.net>
20794 * po/de.po: Update from translation team.
20796 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20798 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20800 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20802 * configure.in (_AC_PROG_CC_C89): New definition.
20803 * configure: Regenerate.
20805 * configure.in (AC_PROG_CPP): New definition.
20806 * configure: Regenerate.
20808 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20810 * debug/tst-backtrace.h: New file.
20811 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20812 (ret): Remove variable.
20814 (FAIL): Remove macro.
20815 (NO_INLINE): Likewise.
20816 (fn1): Use match function instead of strstr.
20817 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20818 (ret): Remove variable.
20820 (FAIL): Remove macro.
20821 (NO_INLINE): Likewise.
20822 (fn): Use match function instead of strstr.
20823 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20824 (ret): Remove variable.
20826 (FAIL): Remove macro.
20827 (NO_INLINE): Likewise.
20828 (handle_signal): Use match function instead of strstr.
20829 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20830 (ret): Remove variable.
20832 (FAIL): Remove macro.
20833 (NO_INLINE): Likewise.
20834 (handle_signal): Use match function instead of strstr.
20836 2013-01-23 Roland McGrath <roland@hack.frob.com>
20838 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20840 2013-01-23 David S. Miller <davem@davemloft.net>
20842 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20843 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20844 argument of CAS if possible.
20845 * sysdeps/sparc/sparc64/bits/atomic.h
20846 (__arch_compare_and_exchange_val_32_acq): Likewise.
20847 (__arch_compare_and_exchange_val_64_acq): Likewise.
20849 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20851 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20852 * sysdeps/posix/ulimit.c: ... this.
20853 Include <limits.h>.
20854 * sysdeps/unix/bsd/ulimit.c: Remove file.
20856 2013-01-23 Adam Conrad <adconrad@0c3.net>
20858 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20859 (LDFLAGS-tst-array5): Likewise.
20861 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20864 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20865 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20866 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20867 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20869 2013-01-21 David S. Miller <davem@davemloft.net>
20871 * sysdeps/sparc/backtrace.c: New file.
20872 * sysdeps/sparc/sparc32/backtrace.h: New file.
20873 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20874 * sysdeps/sparc/sparc64/backtrace.h: New file.
20875 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20876 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20879 2013-01-21 Andreas Schwab <schwab@suse.de>
20882 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20885 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20891 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20892 Mark Mitchell <mark@codesourcery.com>
20893 Tom de Vries <tom@codesourcery.com>
20894 Paul Pluzhnikov <ppluzhnikov@google.com>
20896 * debug/tst-backtrace2.c: New file.
20897 * debug/tst-backtrace3.c: Likewise.
20898 * debug/tst-backtrace4.c: Likewise.
20899 * debug/tst-backtrace5.c: Likewise.
20900 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20901 (CFLAGS-tst-backtrace3.c): Likewise.
20902 (CFLAGS-tst-backtrace4.c): Likewise.
20903 (CFLAGS-tst-backtrace5.c): Likewise.
20904 (LDFLAGS-tst-backtrace2): Likewise.
20905 (LDFLAGS-tst-backtrace3): Likewise.
20906 (LDFLAGS-tst-backtrace4): Likewise.
20907 (LDFLAGS-tst-backtrace5): Likewise.
20908 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20909 tst-backtrace4 and tst-backtrace5.
20911 2013-01-18 Anton Blanchard <anton@samba.org>
20912 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20914 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20915 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20916 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20917 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20919 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20920 "+r" and remove output regs list as redundant. Add explicit inline
20921 asm to specify register of return val to work around compiler codegen
20922 bug. Remove (int) cast on return value. Add return type parameter to
20923 use in macro so that this macro does not truncate return value for
20925 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20926 pass to INTERNAL_VSYSCALL_NCS.
20927 (INLINE_VSYSCALL): Add 'long int' as return type to
20928 INTERNAL_VSYSCALL_NCS macro invocation.
20929 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20930 INTERNAL_VSYSCALL_NCS macro invocation.
20931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20933 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20936 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20937 Fix application of SIMD FP exception mask.
20939 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20940 mp_no from a power of two.
20941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20942 __mpexp_twomm1. Use __pow_mp.
20944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20947 2013-01-17 David S. Miller <davem@davemloft.net>
20949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20951 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20954 * include/complex.h: Condition contents on [!_COMPLEX_H].
20955 (__kernel_casinhf): New prototype.
20956 (__kernel_casinh): Likewise.
20957 (__kernel_casinhl): Likewise.
20958 * math/Makefile (libm_calls): Add k_casinh.
20959 * math/k_casinh.c: New file.
20960 * math/k_casinhf.c: Likewise.
20961 * math/k_casinhl.c: Likewise.
20962 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20963 finite nonzero arguments.
20964 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20965 finite nonzero arguments.
20966 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20967 finite nonzero arguments.
20968 * math/s_casinh.c: Do not include <float.h>.
20969 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20970 * math/s_casinhf.c: Do not include <float.h>.
20971 (__casinhf): Move code for finite nonzero arguments to
20973 * math/s_casinhl.c: Do not include <float.h>.
20974 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20976 (__casinhl): Move code for finite nonzero arguments to
20978 * math/libm-test.inc (cacos_test): Add more tests.
20979 * sysdeps/i386/fpu/libm-test-ulps: Update.
20980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20982 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20984 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20985 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20986 [!HAVE_MREMAP]: Remove [defined linux] case.
20987 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20989 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20991 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20993 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20995 * elf/elf.h (R_386_SIZE32): New relocation.
20996 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20998 (elf_machine_rela): Likewise.
20999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21000 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21002 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21004 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21005 (FP_FAST_FMA): Do not define.
21006 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21007 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21008 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21009 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21010 !_SOFT_FLOAT]: Likewise.
21011 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21012 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21014 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21015 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21016 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21017 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21018 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21019 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21022 2013-01-16 Andreas Schwab <schwab@suse.de>
21025 * include/stdlib.h (__mktemp): Add declaration.
21026 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21027 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21029 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21031 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21033 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21034 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21035 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21037 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21038 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21040 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21042 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21043 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21044 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21046 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21047 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21049 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21051 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21053 2013-01-15 David S. Miller <davem@davemloft.net>
21055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21056 trunc{,f} to libm-sysdep_routes.
21057 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21067 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21068 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21069 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21070 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21071 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21072 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21075 nearbyint{,f} to libm-sysdep_routes.
21076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21087 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21089 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21090 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21092 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21093 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21094 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21096 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21097 libc_feholdexcept and libc_fesetenv.
21099 2013-01-15 Mike Frysinger <vapier@gentoo.org>
21101 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21103 2013-01-14 David S. Miller <davem@davemloft.net>
21105 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21106 (SPARC_ASM_VIS2_IFUNC): Likewise.
21107 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21109 use of 'siam' instruction.
21110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21116 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21117 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21143 routines to libm-sysdep_routines.
21144 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21147 fdim/fdimf to libm-sysdep_routines.
21148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21156 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21157 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21158 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21159 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21161 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21163 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21164 to optimize copies.
21166 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21171 local variable MPTWO.
21172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21175 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21177 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21180 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21182 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21184 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21186 * manual/pattern.texi (glob_t): Document gl_flags.
21187 (glob64_t): Likewise.
21189 2013-01-11 David S. Miller <davem@davemloft.net>
21191 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21192 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21193 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
21194 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21195 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21196 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21197 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21198 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21199 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21200 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21201 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21202 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21203 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21205 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21206 sparc V9 rather than using V8 code.
21207 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21208 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21210 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21212 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21215 2013-01-11 Roland McGrath <roland@hack.frob.com>
21217 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21218 not in the main loop.
21219 * configure: Regenerated.
21221 2013-01-11 Joseph Myers <joseph@codesourcery.com>
21223 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21224 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21226 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21227 [!__GLIBC_HAVE_LONG_LONG] case.
21228 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21229 condition to just #else.
21230 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21231 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21232 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21233 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21235 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21236 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21237 #elif condition to just #else.
21238 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21239 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21240 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21241 #elif condition to just #else.
21243 2013-01-11 Steve Ellcey <sellcey@mips.com>
21245 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21246 (EF_MIPS_ARCH_64): Fix value.
21247 (EF_MIPS_ARCH_32R2): New.
21248 (EF_MIPS_ARCH_64R2): New.
21250 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21252 * Makeconfig (+link-pie-before-libc): New.
21253 (+link-pie-after-libc): Likewise.
21254 (+link-pie-tests): Likewise.
21255 (+link-pie): Rewritten.
21256 (link-before-libc): Remove $(config-LDFLAGS).
21257 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21258 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21259 (config-LDFLAGS): Renamed to ...
21260 (rtld-LDFLAGS): This.
21261 (rtld-tests-LDFLAGS): New macro.
21262 (link-libc-rpath-link): Likewise.
21263 (link-libc-tests-rpath-link): Likewise.
21264 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21265 (link-libc): Prepand $(link-libc-rpath-link).
21266 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21267 (test-program-prefix): New macro.
21268 (test-via-rtld-prefix): Likewise.
21269 (test-program-cmd): Likewise.
21270 (host-test-program-cmd): Likewise.
21271 * Makefile ($(common-objpfx)testrun.sh): Replace
21272 $(run-program-prefix) with $(test-program-prefix).
21273 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21275 ($(common-objpfx)shlib.lds): Likewise.
21276 (build-module-helper): Likewise.
21277 ($(common-objpfx)format.lds): Likewise.
21278 * Rules (binaries-pie-tests): New.
21279 (binaries-pie-notests): Likewise.
21280 (binaries-pie): Rewritten.
21281 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21282 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21283 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21284 (make-test-out): Replace $(host-built-program-cmd) with
21285 $(host-test-program-cmd).
21286 * config.make.in (build-hardcoded-path-in-tests): New variable.
21287 * configure.in (--enable-hardcoded-path-in-tests): New configure
21289 (hardcoded_path_in_tests): New AC_SUBST.
21290 * configure: Regenerated.
21291 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21292 $(built-program-cmd) with $(test-program-cmd).
21293 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21294 (test_program_cmd): This.
21295 * elf/Makefile ($(objpfx)order.out): Run test with
21296 $(test-program-prefix).
21297 ($(objpfx)order2.out): Likewise.
21298 ($(objpfx)tst-initorder.out): Likewise.
21299 ($(objpfx)tst-initorder2.out): Likewise.
21300 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21301 $(test-program-cmd).
21302 ($(objpfx)tst-array1-static.out): Likewise.
21303 ($(objpfx)tst-array2.out): Likewise.
21304 ($(objpfx)tst-array3.out): Likewise.
21305 ($(objpfx)tst-array4.out): Likewise.
21306 ($(objpfx)tst-array5.out): Likewise.
21307 ($(objpfx)tst-array5-static.out): Likewise.
21308 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21309 $(test-program-cmd).
21310 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21311 $(run-program-prefix) with $(test-program-prefix).
21312 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21313 (test_program_prefix): This.
21314 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21315 $(run-program-prefix) with $(test-program-prefix).
21316 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21317 (test_program_prefix): This.
21318 * iconvdata/tst-tables.sh: Likewise.
21319 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21320 $(run-program-prefix) with $(test-program-prefix).
21321 ($(objpfx)tst-translit.out): Likewise.
21322 ($(objpfx)tst-gettext2.out): Likewise.
21323 ($(objpfx)tst-gettext4.out): Likewise.
21324 ($(objpfx)tst-gettext6.out): Likewise.
21325 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21326 (test_program_prefix): This.
21327 * intl/tst-gettext2.sh: Likewise.
21328 * intl/tst-gettext4.sh Likewise.
21329 * intl/tst-gettext6.sh: Likewise.
21330 * intl/tst-translit.sh: Likewise.
21331 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21332 with $(test-program-cmd).
21333 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21334 $(run-program-prefix) with $(test-program-prefix).
21335 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21336 (test_program_prefix): This.
21337 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21338 $(run-program-prefix) with $(test-program-prefix).
21339 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21340 (test_program_prefix): This.
21341 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21342 * posix/Makefile ($(objpfx)globtest.out): Replace
21343 $(run-via-rtld-prefix) and $(test-wrapper) with
21344 $(test-program-prefix) and $(test-via-rtld-prefix).
21345 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21346 $(test-program-prefix).
21347 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21348 $(host-test-program-cmd).
21349 (tst-spawn-ARGS): Likewise.
21350 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21351 $(test-program-prefix).
21352 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21353 (test_via_rtld_prefix): This.
21354 (test_wrapper): Renamed to ...
21355 (test_program_prefix): This.
21356 (run_program_prefix): Replaced by test_program_prefix.
21357 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21358 (test_program_prefix): This.
21359 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21360 with $(host-test-program-cmd).
21361 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21362 $(run-program-prefix) with $(test-program-prefix).
21363 ($(objpfx)tst-printf.out): Likewise.
21364 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21365 $(test-program-cmd).
21366 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21367 (test_program_prefix): This.
21368 * stdio-common/tst-unbputc.sh: Likewise.
21369 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21370 $(run-program-prefix) with $(test-program-prefix).
21371 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21372 (test_program_prefix): This.
21373 * string/Makefile ($(objpfx)tst-svc.out): Replace
21374 $(built-program-cmd) with $(test-program-cmd).
21376 2013-01-11 Andreas Jaeger <aj@suse.de>
21379 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21380 value. Sync with Linux 3.7.
21382 2013-01-10 David S. Miller <davem@davemloft.net>
21384 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21385 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21386 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21388 2013-01-10 Roland McGrath <roland@hack.frob.com>
21390 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21392 * configure: Regenerated.
21394 2013-01-10 David S. Miller <davem@davemloft.net>
21396 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21397 sparc V9 rather than using V8 code.
21398 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21399 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21401 2013-01-10 Roland McGrath <roland@hack.frob.com>
21403 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21404 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21405 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21406 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21407 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21408 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21409 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21410 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21411 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21412 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21413 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21414 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21415 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21416 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21417 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21418 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21419 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21420 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21421 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21422 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21423 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21424 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21425 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21426 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21427 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21428 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21429 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21431 2013-01-10 David S. Miller <davem@davemloft.net>
21433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21435 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21437 * posix/Makefile (tests-static): New variable.
21438 (tests): Add $(tests-static).
21439 (tst-exec-static-ARGS): New variable.
21440 (tst-spawn-static-ARGS): Likewise.
21441 * posix/tst-exec-static.c: New file.
21442 * posix/tst-spawn-static.c: Likewise.
21443 * posix/tst-exec.c: Support run directly.
21444 * posix/tst-spawn.c: Likewise.
21446 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21448 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21450 * math/bits/mathcalls.h (llrint): Likewise.
21451 (llround): Likewise.
21452 * stdlib/stdlib.h (struct drand48_data): Likewise.
21453 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21454 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21455 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21457 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21459 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21460 (elf_greg_t): Likewise.
21461 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21462 (__jmp_buf): Likewise.
21463 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21465 (llrint): Likewise, for all definitions.
21466 (llrintl): Likewise.
21468 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21469 Remove [__GNUC__] condition.
21470 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21471 condition to just [__USE_ISOC99].
21472 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21474 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21477 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21478 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21480 (_POSIX_V6_ILP32_OFF32): Likewise.
21481 (_XBS5_ILP32_OFF32): Likewise.
21482 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21483 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21485 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21487 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21490 doubles __mpexp_twomm1. Adjust usage.
21491 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21494 2013-01-10 Andreas Schwab <schwab@suse.de>
21497 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21498 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21500 2013-01-09 David S. Miller <davem@davemloft.net>
21503 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21504 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21505 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21506 (TCP_FASTOPEN): Define.
21507 (tcp_repair_opt): New structure.
21508 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21510 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21511 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21512 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21513 (tcp_cookie_transactions): New structure.
21515 2013-01-09 Anton Blanchard <anton@samba.org>
21517 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21518 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21519 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21520 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21522 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21524 * include/features.h (__USE_ANSI): Remove.
21526 2013-01-09 Roland McGrath <roland@hack.frob.com>
21528 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21530 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21532 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21534 * sysdeps/s390/fpu/libm-test-ulps: Update.
21536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21538 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21542 (denorm): Likewise.
21543 (__mp_dbl): Likewise.
21544 (__dbl_mp): Likewise.
21545 (add_magnitudes): Likewise.
21546 (sub_magnitudes): Likewise.
21552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21556 (denorm): Likewise.
21557 (__mp_dbl): Likewise.
21558 (__dbl_mp): Likewise.
21559 (add_magnitudes): Likewise.
21560 (sub_magnitudes): Likewise.
21566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21570 (denorm): Likewise.
21571 (__mp_dbl): Likewise.
21572 (__dbl_mp): Likewise.
21573 (add_magnitudes): Likewise.
21574 (sub_magnitudes): Likewise.
21581 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21583 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21584 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21585 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21586 2 && __USE_EXTERN_INLINES]: Likewise.
21588 2013-01-08 Andreas Jaeger <aj@suse.de>
21591 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21593 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21594 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21596 2013-01-07 Anton Blanchard <anton@samba.org>
21598 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21599 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21600 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21601 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21602 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21603 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21604 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21605 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21607 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21609 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21610 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21611 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21612 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21613 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21614 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21615 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21616 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21617 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21618 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21619 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21621 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21622 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21623 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21624 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21625 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21626 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21627 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21628 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21630 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21631 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21632 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21633 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21634 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21635 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21636 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21637 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21638 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21639 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21640 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21642 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21644 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21645 (__MALLOC_PMT): Likewise.
21646 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21647 [__GNUC__], only on [_LIBC].
21648 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21649 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21650 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21651 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21652 forward declaration.
21653 (realloc_hook_ini): Likewise.
21654 (memalign_hook_ini): Likewise.
21655 (__libc_memalign): Do not use __MALLOC_PMT in variable
21657 (__libc_valloc): Likewise.
21658 (__libc_pvalloc): Likewise.
21659 (__libc_calloc): Likewise.
21660 (__posix_memalign): Likewise.
21663 * math/s_casinh.c: Include <float.h>.
21664 (__casinh): Do not do computation with squaring and square root
21665 for large arguments.
21666 * math/s_casinhf.c: Include <float.h>.
21667 (__casinhf): Do not do computation with squaring and square root
21668 for large arguments.
21669 * math/s_casinhl.c: Include <float.h>.
21670 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21671 (__casinhl): Do not do computation with squaring and square root
21672 for large arguments.
21673 * math/libm-test.inc (casin_test): Add more tests.
21674 (casinh_test): Likewise.
21675 * sysdeps/i386/fpu/libm-test-ulps: Update.
21676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21678 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21680 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21681 (__x86_64_raw_data_cache_size): Likewise.
21682 (__x86_64_data_cache_size_half): Likewise.
21683 (__x86_64_raw_data_cache_size_half): Likewise.
21684 (__x86_64_shared_cache_size): Likewise.
21685 (__x86_64_raw_shared_cache_size): Likewise.
21686 (__x86_64_shared_cache_size_half): Likewise.
21687 (__x86_64_raw_shared_cache_size_half): Likewise.
21688 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21690 (__x86_data_cache_size): This.
21691 (__x86_64_raw_data_cache_size): Renamed to ...
21692 (__x86_raw_data_cache_size): This.
21693 (__x86_64_data_cache_size_half): Renamed to ...
21694 (__x86_data_cache_size_half): This.
21695 (__x86_64_raw_data_cache_size_half): Renamed to ...
21696 (__x86_raw_data_cache_size_half): This.
21697 (__x86_64_shared_cache_size): Renamed to ...
21698 (__x86_shared_cache_size): This.
21699 (__x86_64_raw_shared_cache_size): Renamed to ...
21700 (__x86_raw_shared_cache_size): This.
21701 (__x86_64_shared_cache_size_half): Renamed to ...
21702 (__x86_shared_cache_size_half): This.
21703 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21704 (__x86_raw_shared_cache_size_half): This.
21705 * sysdeps/x86_64/memcpy.S: Updated.
21706 * sysdeps/x86_64/memset.S: Likewise.
21707 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21708 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21709 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21711 2013-01-04 David S. Miller <davem@davemloft.net>
21713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21715 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21717 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21718 1 to avoid redefinition warning.
21719 (__USE_GNU): Don't define.
21720 (init_signaling_nan): Protoize.
21722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21724 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21726 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21728 (__cpymn): Likewise.
21729 (norm): Remove commented code.
21730 (denorm): Likewise.
21731 (__mp_dbl): Likewise.
21733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21734 (__cpymn): Likewise.
21735 (norm): Remove commented code.
21736 (denorm): Likewise.
21737 (__mp_dbl): Likewise.
21740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21741 mp_no value for 1.0 and 2.0.
21742 (norm): Use RADIXI instead of radixi.d.
21743 (denorm): Likewise.
21744 (__mul): Use 0.0 instead of zero.d.
21745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21746 mp_no value for 1.0 and 2.0.
21747 (norm): Use RADIXI instead of radixi.d.
21748 (denorm): Likewise.
21749 (__mul): Use 0.0 instead of zero.d.
21751 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21754 * math/s_casinh.c (__casinh): Reduce finite argument to first
21755 quadrant then set signs of results at the end.
21756 * math/s_casinhf.c (__casinhf): Likewise.
21757 * math/s_casinhl.c (__casinhl): Likewise.
21758 * math/libm-test.inc (casin_test): Add more tests.
21759 (casinh_test): Likewise.
21760 * sysdeps/i386/fpu/libm-test-ulps: Update.
21761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21763 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21765 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21767 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21769 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21771 (denorm): Likewise.
21772 (__mp_dbl): Likewise.
21775 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21776 and adjust the header comment.
21778 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21779 variable name from declaration.
21781 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21784 Initialize COMMON_CPUID_INDEX_7 element.
21785 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21786 (CPUID_RTM): Likewise.
21787 (HAS_RTM): Likewise.
21788 (COMMON_CPUID_INDEX_7): New enum.
21790 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21793 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21794 size is zero, record memory as freed.
21796 2013-01-03 Andreas Jaeger <aj@suse.de>
21798 * po/ia.po: Add new Interlingua translation.
21800 2012-01-03 Allan McRae <allan@archlinux.org>
21802 * locale/programs/localedef.c: Fix description of '--posix' flag.
21804 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21806 * NEWS: Update dates in second copyright notice.
21807 * README: Update copyright dates in example.
21808 * manual/libc.texinfo: Update copyright dates.
21809 * scripts/test-installation.pl: Update copyright date in --version
21812 * hurd/ctty-input.c: Fix copyright notice formatting.
21813 * hurd/ctty-output.c: Likewise.
21814 * hurd/dtable.c: Likewise.
21815 * hurd/hurd-raise.c: Likewise.
21816 * hurd/hurdprio.c: Likewise.
21817 * hurd/msgportdemux.c: Likewise.
21818 * misc/sys/file.h: Likewise.
21819 * misc/sys/ioctl.h: Likewise.
21820 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21821 * sysdeps/mach/hurd/chdir.c: Likewise.
21822 * sysdeps/mach/hurd/fchdir.c: Likewise.
21823 * sysdeps/mach/hurd/rename.c: Likewise.
21824 * sysdeps/mach/hurd/rmdir.c: Likewise.
21825 * sysdeps/mach/hurd/seekdir.c: Likewise.
21826 * sysdeps/mach/hurd/setsid.c: Likewise.
21827 * sysdeps/posix/wait3.c: Likewise.
21829 * All files with FSF copyright notices: Update copyright dates
21830 using scripts/update-copyrights.
21831 * intl/plural.c: Regenerated.
21832 * locale/programs/charmap-kw.h: Likewise.
21833 * locale/programs/locfile-kw.h: Likewise.
21835 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21837 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21840 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21841 calculation loop and add branch prediction.
21843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21844 check access beyond bounds of m1np.
21846 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21848 (__inv): Remove local variable MPTWO to use the global
21850 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21851 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21853 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21854 MP3HALFS static const.
21856 2013-01-01 David S. Miller <davem@davemloft.net>
21858 * po/ca.po: Update from translation team.
21860 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21862 * scripts/update-copyrights: New file.
21863 * Makeconfig: Reformat copyright notice.
21864 * ctype/ctype.h: Likewise.
21865 * debug/swprintf_chk.c: Likewise.
21866 * elf/dl-cache.c: Likewise.
21867 * elf/dl-debug.c: Likewise.
21868 * elf/dl-object.c: Likewise.
21869 * grp/initgroups.c: Likewise.
21870 * hurd/Makefile: Likewise.
21871 * hurd/hurd/signal.h: Likewise.
21872 * hurd/hurdfault.c: Likewise.
21873 * hurd/hurdioctl.c: Likewise.
21874 * hurd/hurdlookup.c: Likewise.
21875 * hurd/intr-msg.c: Likewise.
21876 * iconv/gconv_open.c: Likewise.
21877 * libio/swprintf.c: Likewise.
21878 * locale/lc-ctype.c: Likewise.
21879 * locale/nl_langinfo.c: Likewise.
21880 * mach/Machrules: Likewise.
21881 * mach/Makefile: Likewise.
21882 * malloc/obstack.h: Likewise.
21883 * manual/Makefile: Likewise.
21884 * manual/tsort.awk: Likewise.
21885 * misc/bits/stab.def: Likewise.
21886 * nis/nis_print_group_entry.c: Likewise.
21887 * nis/nis_table.c: Likewise.
21888 * nis/nss_compat/compat-pwd.c: Likewise.
21889 * nis/nss_compat/compat-spwd.c: Likewise.
21890 * po/Makefile: Likewise.
21891 * posix/fnmatch.c: Likewise.
21892 * posix/regex.h: Likewise.
21893 * resolv/Makefile: Likewise.
21894 * resolv/nss_dns/dns-network.c: Likewise.
21895 * resolv/res_hconf.c: Likewise.
21896 * scripts/gen-sorted.awk: Likewise.
21897 * soft-fp/soft-fp.h: Likewise.
21898 * stdio-common/printf.h: Likewise.
21899 * stdlib/monetary.h: Likewise.
21900 * stdlib/random.c: Likewise.
21901 * stdlib/random_r.c: Likewise.
21902 * sysdeps/generic/Makefile: Likewise.
21903 * sysdeps/gnu/Makefile: Likewise.
21904 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21906 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21908 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21911 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21912 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21913 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21914 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21915 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21916 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21917 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21918 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21919 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21920 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21926 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21927 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21928 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21929 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21930 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21931 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21932 * sysdeps/mach/hurd/errnos.awk: Likewise.
21933 * sysdeps/mach/hurd/fork.c: Likewise.
21934 * sysdeps/mach/hurd/getcwd.c: Likewise.
21935 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21936 * sysdeps/mach/hurd/mmap.c: Likewise.
21937 * sysdeps/mach/hurd/utimes.c: Likewise.
21938 * sysdeps/mach/hurd/xmknod.c: Likewise.
21939 * sysdeps/posix/profil.c: Likewise.
21940 * sysdeps/posix/readdir_r.c: Likewise.
21941 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21942 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21943 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21944 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21946 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21947 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21948 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21950 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21951 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21952 * sysdeps/pthread/lio_listio.c: Likewise.
21953 * sysdeps/sparc/dl-procinfo.h: Likewise.
21954 * sysdeps/unix/i386/sysdep.S: Likewise.
21955 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21956 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21957 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21958 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21960 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21961 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21962 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21963 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21964 * sysdeps/wordsize-32/divdi3.c: Likewise.
21965 * time/sys/time.h: Likewise.
21966 * wcsmbs/Makefile: Likewise.
21968 2013-01-01 David S. Miller <davem@davemloft.net>
21970 * po/fr.po: Update from translation team.
21972 * catgets/gencat.c: Update copyright year.
21973 * csu/version.c: Likewise.
21974 * debug/catchsegv.sh: Likewise.
21975 * debug/pcprofiledump.c: Likewise.
21976 * debug/xtrace.sh: Likewise.
21977 * elf/ldconfig.c: Likewise.
21978 * elf/ldd.bash.in: Likewise.
21979 * elf/pldd.c: Likewise.
21980 * elf/sotruss.ksh: Likewise.
21981 * elf/sprof.c: Likewise.
21982 * iconv/iconv_prog.c: Likewise.
21983 * iconv/iconvconfig.c: Likewise.
21984 * locale/programs/locale.c: Likewise.
21985 * locale/programs/localedef.c: Likewise.
21986 * login/programs/pt_chown.c: Likewise.
21987 * malloc/memusage.sh: Likewise.
21988 * malloc/memusagestat.c: Likewise.
21989 * malloc/mtrace.pl: Likewise.
21990 * nscd/nscd.c: Likewise.
21991 * nss/getent.c: Likewise.
21992 * nss/makedb.c: Likewise.
21993 * posix/getconf.c: Likewise.
21995 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21997 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22000 2012-12-30 Mike Frysinger <vapier@gentoo.org>
22002 * math/bits/mathcalls.h (modf): Use __nonnull.
22004 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22006 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22007 (split): Use macro CN instead of the bare value.
22008 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22011 instead of the bare value.
22012 (power1): Likewise.
22014 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22016 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22018 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22020 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22022 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22023 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22024 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22025 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22027 2012-12-28 Andreas Jaeger <aj@suse.de>
22029 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22030 values are from Linux 3.7.
22032 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22033 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22035 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22037 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22040 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22042 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22043 variables with preprocessor constants.
22044 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22045 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22046 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22048 2012-12-27 Bruno Haible <bruno@clisp.org>
22051 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22054 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22057 and use variable directly.
22058 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22060 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22062 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22063 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22065 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22067 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22068 include directive. Remove local variable MPONE.
22069 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22070 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22071 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22073 2012-12-25 David S. Miller <davem@davemloft.net>
22075 * version.h (RELEASE): Set to "development".
22076 (VERSION): Set to "2.17.90".
22077 * NEWS: Add 2.18 section.
22079 2012-12-21 David S. Miller <davem@davemloft.net>
22081 * po/hr.po: Update from translation team.
22083 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22085 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22087 2012-12-19 Steve Ellcey <sellcey@mips.com>
22089 * NEWS: Mention new memcpy for MIPS.
22091 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22093 * manual/contrib.texi (Contributors): Spelling correction.
22095 2012-12-15 David S. Miller <davem@davemloft.net>
22097 * po/ru.po: Update from translation team.
22099 2012-12-13 David S. Miller <davem@davemloft.net>
22101 * NEWS: Mention IFUNC testsuite enhancements.
22103 * po/pl.po: Update from translation team.
22104 * po/bg.po: Likewise.
22106 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22107 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22109 2012-12-11 David S. Miller <davem@davemloft.net>
22111 * po/sv.po: Update from translation team.
22113 * po/vi.po: Update from translation team.
22115 * po/cs.po: Update from translation team.
22117 * po/de.po: Update from translation team.
22118 * po/eo.po: Likewise.
22119 * po/nl.po: Likewise.
22121 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22124 * manual/argp.texi (Argp Helper Functions): Move node to follow
22125 Argp Parsing State.
22128 * manual/conf.texi (Limits on File System Capacity): Mention if
22129 terminating null is included in the max size.
22131 2012-12-10 Andreas Jaeger <aj@suse.de>
22133 * po/cs.po: Update from translation team.
22135 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22137 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22138 void pointer and cast to uintptr_t.
22139 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22141 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22142 * sysdeps/s390/s390-64/memset.S: Likewise.
22144 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
22147 * menual/message.texi (Message Translation): Fix typos.
22148 (Helper programs for gettext): Likewise.
22150 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22153 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22156 2012-12-07 David S. Miller <davem@davemloft.net>
22158 * po/libc.pot: Update.
22160 2012-12-07 Richard Henderson <rth@redhat.com>
22163 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22164 normal/normal case to before the switch.
22165 (_FP_DIV): Likewise.
22167 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22168 Mike Frysinger <vapier@gentoo.org>
22170 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22171 check for __NR_fadvise64_64.
22173 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22175 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22176 0, not just to plain "0" as a statement.
22177 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22180 2012-12-06 Joseph Myers <joseph@codesourcery.com>
22182 * NEWS: Use sourceware.org in Bugzilla URL.
22184 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22187 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22189 * stdio-common/tst-put-error.c (do_test): Add newline to the
22190 padded test to ensure flush.
22192 2012-12-05 Jeff Law <law@redhat.com>
22194 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22196 2012-12-05 Joseph Myers <joseph@codesourcery.com>
22198 * README: Don't refer to ports add-on as distributed separately.
22199 Mention AArch64 in list of systems supported in the ports add-on.
22201 * LICENSES: Add more non-FSF copyright and license notices.
22203 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22206 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22208 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22209 10000 as width of padded output.
22211 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22213 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22215 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22216 variable LX with __attribute__ ((unused)).
22217 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22219 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22220 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22221 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22222 with __attribute__ ((unused)).
22224 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
22226 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22228 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22230 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22231 (CFLAGS-nldbl-acos.c): New variable.
22232 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22233 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22234 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22235 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22236 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22237 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22238 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22239 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22240 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22241 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22242 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22243 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22244 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22245 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22246 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22247 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22248 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22249 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22250 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22251 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22252 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22253 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22254 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22255 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22256 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22257 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22258 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22259 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22260 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22261 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22262 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22263 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22264 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22265 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22266 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22267 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22268 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22269 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22270 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22271 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22272 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22273 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22274 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22275 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22276 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22277 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22278 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22279 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22280 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22281 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22282 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22283 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22284 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22285 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22286 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22287 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22288 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22289 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22290 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22291 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22292 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22293 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22294 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22295 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22296 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22297 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22298 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22299 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22300 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22301 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22302 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22303 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22304 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22305 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22306 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22307 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22308 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22309 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22310 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22311 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22312 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22313 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22314 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22315 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22316 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22317 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22318 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22319 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22320 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22321 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22322 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22323 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22324 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22325 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22326 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22327 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22328 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22331 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22334 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22335 whole low double instead of just low 47 bits when splitting values
22338 2012-12-03 Allan McRae <allan@archlinux.org>
22340 * manual/stdio.texi (Predefined Printf Handlers): Remove
22341 @hsep and @vsep usage.
22343 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22345 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22346 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22348 2012-12-03 Jeff Law <law@redhat.com>
22350 * time/sys/time.h (settimeofday): Do not mark TV argument
22353 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22355 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22356 when currently writing and seek to current position when not.
22357 * libio/Makefile (tests): Remove bug-fclose1.
22358 * libio/bug-fclose1.c: Delete.
22360 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22362 * manual/arith.texi (feenableexcept): Fix typo.
22363 (fedisableexcept): Likewise.
22365 2012-11-30 Roland McGrath <roland@hack.frob.com>
22367 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22368 second, differently-typed declaration, rather than a cast.
22370 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22372 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22373 * include/rpc/svc.h: ... here.
22375 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22378 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22379 depending n and resplen2 to catch cases where answer
22382 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22384 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22385 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22387 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22389 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22391 2012-11-29 Roland McGrath <roland@hack.frob.com>
22393 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22395 2012-11-28 Jeff Law <law@redhat.com>
22398 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22399 dataset_temporary. Track alloca usage into alloca_used.
22400 If dataset is large allocate and release it via malloc/free.
22402 2012-06-04 Florian Weimer <fweimer@redhat.com>
22405 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22407 2012-11-28 David S. Miller <davem@davemloft.net>
22409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22411 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22414 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22415 of pi/2 rounded to nearest to 64 bits.
22416 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22417 nearest to 64 bits.
22418 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22421 2012-11-28 Jeff Law <law@redhat.com>
22422 Martin Osvald <mosvald@redhat.com>
22425 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22426 * sunrpc/svc.c: Include time.h.
22427 (__svc_accept_failed): New function.
22428 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22429 any reason other than EINTR, call __svc_accept_failed.
22430 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22431 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22433 2012-11-28 Andreas Schwab <schwab@suse.de>
22435 * scripts/abilist.awk: Also handle indirect functions in .opd
22438 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22441 * sysdeps/x86/fpu/powl_helper.c: New file.
22442 * sysdeps/x86/fpu/Makefile: Likewise.
22443 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22445 (__ieee754_powl): Use __powl_helper for finite arguments except
22446 integer exponents below 8.
22447 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22449 (__ieee754_powl): Use __powl_helper for finite arguments except
22450 integer exponents below 8.
22451 * math/libm-test.inc (pow_test): Add more tests and enable some
22452 previously disabled tests.
22453 * sysdeps/i386/fpu/libm-test-ulps: Update.
22454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22456 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22457 Carlos O'Donell <carlos_odonell@mentor.com>
22459 * nss/makedb.c (is_prime): Assert that input is odd and greater
22460 than 4. Note that fact in a comment too.
22461 (next_prime): Add 4 to input.
22463 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22466 * libio/Makefile (tests): Add test case tst-fwrite-error.
22467 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22468 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22469 * libio/tst-fwrite-error.c: New test case.
22471 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22473 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22474 before casting to void *.
22475 * include/libc-internal.h (__pointer_type): New macro.
22476 (__integer_if_pointer_type_sub): Likewise.
22477 (__integer_if_pointer_type): Likewise.
22478 (cast_to_integer): Likewise.
22479 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22480 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22481 before casting to atomic64_t.
22482 (atomic_exchange_acq): Likewise.
22483 (__arch_exchange_and_add_body): Likewise.
22484 (__arch_add_body): Likewise.
22485 (atomic_add_negative): Likewise.
22486 (atomic_add_zero): Likewise.
22488 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22490 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22491 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22492 (add_fdes): Likewise.
22493 (linear_search_fdes): Likewise.
22494 (binary_search_unencoded_fdes): Likewise.
22496 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22498 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22500 2012-11-24 Adam Conrad <adconrad@0c3.net>
22502 * configure.in: Autodetect C++ header directories.
22503 * configure: Regenerated.
22505 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22507 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22509 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22513 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22515 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22516 LDBL_MANT_DIG == 106]: Disable some tests.
22517 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22519 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22523 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22524 input for small inputs. Return +/- pi/2 for large inputs.
22525 * math/libm-test.inc (atan_test): Add more tests.
22527 * sysdeps/generic/unwind-dw2-fde-glibc.c
22528 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22529 __attribute__ ((unused)).
22532 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22533 x * y if x and y are nonzero and z is zero.
22536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22537 nonzero exponents with absolute value below 0x1p-117 to +/-
22541 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22542 up arguments below 2**-450, not just those below 2**-500.
22543 * math/libm-test.inc (hypot_test): Add another test.
22546 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22547 Return a+b for ratio over 2**120, not 2**60.
22548 * math/libm-test.inc (hypot_test): Add another test.
22550 * math/libm-test.inc (clog_test): Use
22551 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22552 (clog10_test): Likewise.
22555 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22557 2012-11-22 Andreas Schwab <schwab@suse.de>
22559 * sysdeps/i386/fpu/libm-test-ulps: Update.
22561 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22563 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22564 printf output with newline.
22566 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22569 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22570 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22571 -z nodlopen, -z initfirst and -z execstack support.
22572 * configure: Regenerated.
22574 * elf/elf.h (DF_1_NODIRECT): New macro.
22575 (DF_1_IGNMULDEF): Likewise.
22576 (DF_1_NOKSYMS): Likewise.
22577 (DF_1_NOHDR): Likewise.
22578 (DF_1_EDITED): Likewise.
22579 (DF_1_NORELOC): Likewise.
22580 (DF_1_SYMINTPOSE): Likewise.
22581 (DF_1_GLOBAUDIT): Likewise.
22582 (DF_1_SINGLETON): Likewise.
22583 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22584 DT_1_SUPPORTED_MASK bits.
22585 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22587 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22589 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22591 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22593 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22596 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22597 (sendmmsg): Move declarations...
22598 * socket/sys/socket.h: ... here.
22599 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22600 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22602 * socket/recvmmsg.c: ... this new file.
22603 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22604 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22605 definition of __sendmmsg hidden.
22606 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22607 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22608 Move ENOSYS stub into and include it from...
22609 * socket/sendmmsg.c: ... this new file.
22610 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22611 (sysdep_routines): Move recvmmsg and sendmmsg...
22612 * socket/Makefile (routines): ... here.
22613 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22614 (GLIBC_PRIVATE): Add __sendmmsg.
22615 * include/sys/socket.h (__sendmmsg): Add declarations.
22616 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22619 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22621 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22622 variable I1 with __attribute__ ((unused)).
22623 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22625 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22627 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22628 DUMMY variables with __attribute__ ((unused)).
22630 * bits/byteswap.h: Include <bits/types.h>.
22631 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22633 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22635 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22636 string_t. Do not manually set errno.
22637 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22638 length with __strnlen. Make sure to both set errno and return it on
22641 2012-11-19 David S. Miller <davem@davemloft.net>
22643 With help from Joseph Myers.
22644 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22645 very large arguments properly.
22646 * math/libm-test.inc (atan_test): New tests.
22647 (atan2_test): New tests.
22648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22651 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22654 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22657 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22658 [POSIX] (EADDRNOTAVAIL): Likewise.
22659 [POSIX] (EAFNOSUPPORT): Likewise.
22660 [POSIX] (EALREADY): Likewise.
22661 [POSIX] (ECONNABORTED): Likewise.
22662 [POSIX] (ECONNREFUSED): Likewise.
22663 [POSIX] (ECONNRESET): Likewise.
22664 [POSIX] (EDESTADDRREQ): Likewise.
22665 [POSIX] (EDQUOT): Likewise.
22666 [POSIX] (EHOSTUNREACH): Likewise.
22667 [POSIX] (EIDRM): Likewise.
22668 [POSIX] (EISCONN): Likewise.
22669 [POSIX] (ELOOP): Likewise.
22670 [POSIX] (EMULTIHOP): Likewise.
22671 [POSIX] (ENETDOWN): Likewise.
22672 [POSIX] (ENETUNREACH): Likewise.
22673 [POSIX] (ENOBUFS): Likewise.
22674 [POSIX] (ENODATA): Likewise.
22675 [POSIX] (ENOLINK): Likewise.
22676 [POSIX] (ENOMSG): Likewise.
22677 [POSIX] (ENOPROTOOPT): Likewise.
22678 [POSIX] (ENOSR): Likewise.
22679 [POSIX] (ENOSTR): Likewise.
22680 [POSIX] (ENOTCONN): Likewise.
22681 [POSIX] (ENOTSOCK): Likewise.
22682 [POSIX] (EOPNOTSUPP): Likewise.
22683 [POSIX] (EOVERFLOW): Likewise.
22684 [POSIX] (EPROTO): Likewise.
22685 [POSIX] (EPROTONOSUPPORT): Likewise.
22686 [POSIX] (EPROTOTYPE): Likewise.
22687 [POSIX] (ESTALE): Likewise.
22688 [POSIX] (ETIME): Likewise.
22689 [POSIX] (ETXTBSY): Likewise.
22690 [POSIX] (EWOULDBLOCK): Likewise.
22691 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22692 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22693 [POSIX] (SEEK_CUR): Likewise.
22694 [POSIX] (SEEK_END): Likewise.
22695 [POSIX || UNIX98] (mode_t): Do not require.
22696 [POSIX] (off_t): Likewise.
22697 [POSIX] (pid_t): Likewise.
22698 [POSIX] (sys/stat.h): Do not allow header.
22699 [POSIX] (unistd.h): Likewise.
22700 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22701 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22702 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22703 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22705 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22706 sigevent): Specify elements.
22707 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22709 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22710 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22712 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22713 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22714 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22715 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22716 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22717 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22718 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22719 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22720 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22721 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22722 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22723 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22724 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22725 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22727 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22729 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22731 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22733 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22734 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22735 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22736 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22737 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22738 Specify lower bound on value.
22739 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22740 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22741 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22742 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22743 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22744 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22745 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22746 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22748 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22750 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22751 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22752 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22753 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22754 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22755 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22756 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22757 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22758 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22759 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22760 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22761 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22762 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22763 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22764 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22765 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22767 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22769 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22770 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22771 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22772 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22773 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22774 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22776 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22777 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22778 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22779 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22780 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22781 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22782 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22784 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22785 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22786 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22787 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22788 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22789 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22790 specify as optional.
22791 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22792 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22793 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22794 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22795 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22796 [XPG3] (NL_LANGMAX): Likewise.
22797 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22798 [POSIX || XPG3] (NL_NMAX): Likewise.
22799 [POSIX || XPG3] (NL_SETMAX): Likewise.
22800 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22801 [XPG3] (NZERO): Likewise.
22802 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22803 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22804 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22805 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22806 (REG_ERANGE): Expect.
22807 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22809 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22810 Use (void) in prototype.
22811 [POSIX] (*_t): Allow.
22812 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22813 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22814 (WRDE_BADVAL): Expect.
22816 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22818 [XPG3 || XPG4] (O_RSYNC): Likewise.
22819 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22821 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22822 [XPG3 || XPG4] (sigqueue): Likewise.
22823 [XPG3 || XPG4] (sigtimedwait): Likewise.
22824 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22825 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22826 [XPG3 || XPG4] (vsnprintf): Likewise.
22827 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22829 [XPG3 || XPG4] (blksize_t): Likewise.
22830 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22832 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22833 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22834 [XPG3 || XPG4] (struct itimerspec): Likewise.
22835 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22836 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22837 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22838 [XPG3 || XPG4] (clockid_t): Likewise.
22839 [XPG3 || XPG4] (timer_t): Likewise.
22840 [XPG3 || XPG4] (clock_getres): Likewise.
22841 [XPG3 || XPG4] (clock_gettime): Likewise.
22842 [XPG3 || XPG4] (clock_settime): Likewise.
22843 [XPG3 || XPG4] (nanosleep): Likewise.
22844 [XPG3 || XPG4] (timer_create): Likewise.
22845 [XPG3 || XPG4] (timer_delete): Likewise.
22846 [XPG3 || XPG4] (timer_gettime): Likewise.
22847 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22848 [XPG3 || XPG4] (timer_settime): Likewise.
22849 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22850 [XPG3 || XPG4] (getlogin_r): Likewise.
22851 [XPG3 || XPG4] (pread): Likewise.
22852 [XPG3 || XPG4] (pthread_atfork): Likewise.
22853 [XPG3 || XPG4] (pwrite): Likewise.
22856 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22859 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22861 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22862 finalizing MALLSTREAM.
22864 * sysdeps/mach/hurd/syncfs.c: New file.
22866 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22869 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22870 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22871 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22872 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22873 (_nss_dns_gethostbyname4_r): Likewise.
22874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22875 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22877 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22880 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22882 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22884 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22885 * elf/cache.c (print_entry): Print ",AArch64" for
22888 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22889 * elf/cache.c (print_entry): Print ",hard-float" for
22892 2012-11-18 David S. Miller <davem@davemloft.net>
22894 With help from Joseph Myers.
22895 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22897 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22899 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22900 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22902 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22903 * math/libm-test.inc (y0_test): New tests.
22904 (y1_test): New tests.
22905 * sysdeps/i386/fpu/libm-test-ulps: Update.
22906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22909 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22911 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22913 * configure: Regenerated.
22915 2012-11-17 David S. Miller <davem@davemloft.net>
22918 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22919 nonzero exponents with absolute value below 0x1p-128 to +/-
22922 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22924 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22926 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22928 * posix/getconf-speclist.c: New file.
22929 * posix/posix-envs.def: Likewise.
22930 * posix/confstr.c (START_ENV_GROUP): New macro.
22931 (END_ENV_GROUP): Likewise.
22932 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22933 (KNOWN_PRESENT_ENV_STRING): Likewise.
22934 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22935 (UNKNOWN_ENVIRONMENT): Likewise.
22936 (confstr): Include posix-envs.def instead of handling
22937 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22938 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22939 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22940 (END_ENV_GROUP): Likewise.
22941 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22942 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22943 (UNKNOWN_ENVIRONMENT): Likewise.
22944 (__sysconf): Include posix-envs.def instead of handling associated
22945 cases directly here.
22946 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22947 preprocessing getconf-speclist.c rather than running getconf or
22948 generating empty file.
22950 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22952 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22954 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22957 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22959 2012-11-16 David S. Miller <davem@davemloft.net>
22961 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22962 smaller than LDBL_EPSILON/2.0L, just return xm1.
22964 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22966 * elf/tst-array1.c (init): Set constructor priority to 1000.
22967 (fini): Set destructor priority to 1000.
22968 * elf/tst-array2dep.c: Likewise.
22970 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22973 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22974 (_IO_new_file_xsputn): Also return EOF if none of the input
22975 data was written when overflow failed.
22976 * libio/iopadn.c (_IO_padn): Likewise.
22977 * libio/iowpadn.c (_IO_wpadn): Likewise.
22978 * stdio-common/tst-put-error.c: Add copyright notice.
22979 (do_test): Add case for printing padded string.
22980 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22981 _IO_padn returned error.
22982 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22983 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22986 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22988 * libio/libioP.h: Add comment note that the references to C++
22989 bits are now obsolete.
22991 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22993 * math/libm-test.inc (check_complex): Use asprintf.
22995 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22997 * debug/pcprofiledump.c (print_version): Update copyright year.
22998 * malloc/memusagestat.c (print_version): Likewise.
23000 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23003 * elf/Makefile (tests): Add tst-audit8.
23004 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23005 ($(objpfx)tst-audit8.out): New target.
23006 (tst-audit8-ENV): New variable.
23007 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23008 audit if l_reloc_result is NULL.
23009 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23010 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23011 * elf/tst-audit8.c: New file.
23013 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23015 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23016 * misc/Makefile (CFLAGS-select.c): Define.
23017 * posix/Makefile (CFLAGS-pause.c): Define.
23019 2012-11-13 David S. Miller <davem@davemloft.net>
23021 * crypt/Makefile: Move test targets after toplevel Rules
23022 inclusion. Grab any necessary sysdep routines when linking.
23023 * crypt/md5.c (md5_process_block): Remove define, we will always
23024 name it __md5_process_block.
23025 (md5_finish_ctx): Update md5_process_block call.
23026 (md5_stream): Likewise.
23027 (md5_process_bytes): Likewise.
23028 (md5_process_block): Rename to __md5_process_block and move to ...
23029 * crypt/md5-block.c: ... here.
23030 * crypt/sha256.c (sha256_process_block): Move to ...
23031 * crypt/sha256-block.c: ... here.
23032 * crypt/sha512.c (sha512_process_block): Move to ...
23033 * crypt/sha512-block.c: ... here.
23034 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23036 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23037 * sysdeps/sparc/sparc64/multiarch/Makefile
23038 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23040 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23041 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23043 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23044 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23045 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23046 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23047 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23048 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23049 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23050 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23051 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23053 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23054 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23056 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23058 2012-11-13 Joseph Myers <joseph@codesourcery.com>
23060 * timezone/tzselect.ksh: Update from tzcode git revision
23061 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23062 * timezone/zdump.c: Likewise.
23063 * timezone/zic.c: Likewise.
23064 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23065 in TZVERSION setting, not $(PKGVERSION).
23066 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23067 REPORT_BUGS_TO settings.
23070 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23073 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23075 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23076 detection to immediately after _FP_ROUND().
23077 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23080 2012-11-11 David S. Miller <davem@davemloft.net>
23082 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23084 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23085 __close rather than their public counterparts.
23087 2012-11-10 Joseph Myers <joseph@codesourcery.com>
23089 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23091 [UNIX98] (sem_timedwait): Do not expect.
23092 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23093 [XPG4 || UNIX98] (sockatmark): Do not expect.
23094 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23095 (clock_getcpuclockid): Do not expect.
23096 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23097 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23099 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23100 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23101 [UNIX98] (vwscanf): Likewise.
23102 [UNIX98] (vswscanf): Likewise.
23104 2012-11-09 Joseph Myers <joseph@codesourcery.com>
23106 * timezone/version.h: Remove file.
23107 * timezone/README: Do not refer to version.h.
23108 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23109 $(objpfx)version.h.
23110 ($(objpfx)zdump.o): Likewise.
23111 ($(objpfx)version.h): New target.
23113 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23115 * timezone/README: Don't mention modification to tzselect.ksh.
23116 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23117 work on unmodified tzselect.ksh. Substitute version numbers in
23120 * Makefile (format-me): Remove.
23121 (INSTALL): Adjust indentation. Use commands directly instead of
23122 using $(format-me).
23124 * aclocal.m4 (ACX_PKGVERSION): New macro.
23125 (ACX_BUGURL): Likewise.
23126 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23127 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23128 (REPORT_BUGS_TO): Likewise.
23129 * configure: Regenerated.
23130 * config.h.in (PKGVERSION): New macro.
23131 (REPORT_BUGS_TO): Likewise.
23132 * config.make.in (PKGVERSION): New variable.
23133 (PKGVERSION_TEXI): Likewise.
23134 (REPORT_BUGS_TO): Likewise.
23135 (REPORT_BUGS_TEXI): Likewise.
23136 * Makefile (format-me): Use -I$(common-objpfx)manual.
23137 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23138 ($(common-objpfx)manual/%): New target.
23139 (manual/%): Remove target.
23140 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23141 (print_version): Use PKGVERSION.
23142 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23143 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23144 and REPORT_BUGS_TO.
23145 ($(objpfx)xtrace): Likewise.
23146 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23147 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23148 (print_version): Use PKGVERSION.
23149 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23150 (do_version): Use PKGVERSION.
23151 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23153 (common-ldd-rewrite): Likewise.
23154 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23155 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23156 (print_version): Use PKGVERSION.
23157 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23158 * elf/pldd.c (argp_program_bug_address): Remove variable.
23159 (more_help): New function.
23160 (argp): Use more_help.
23161 (print_version): Use PKGVERSION.
23162 * elf/sln.c (main): Use PKGVERSION.
23163 (usage): Use REPORT_BUGS_TO.
23164 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23165 (top level): Use PKGVERSION.
23166 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23167 (print_version): Use PKGVERSION.
23168 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23169 (print_version): Use PKGVERSION.
23170 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23171 (print_version): Use PKGVERSION.
23172 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23173 (print_version): Use PKGVERSION.
23174 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23175 (print_version): Use PKGVERSION.
23176 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23177 (print_version): Use PKGVERSION.
23178 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23180 ($(objpfx)memusage): Likewise.
23181 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23182 (do_version): Use PKGVERSION.
23183 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23184 (print_version): Use PKGVERSION.
23185 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23186 ($PKGVERSION): New variable.
23187 ($REPORT_BUGS_TO): Likewise.
23188 (usage): Use $REPORT_BUGS_TO.
23189 (top level): Use $PKGVERSION.
23190 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23191 ($(objpfx)pkgvers.texi): New rule.
23192 ($(objpfx)stamp-pkgvers): Likewise.
23193 * manual/install.texi: Include pkgvers.texi.
23194 (--with-pkgversion): Document new configure option.
23195 (--with-bugurl): Likewise.
23196 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23197 than necessarily for this particular distribution. Use
23198 REPORT_BUGS_TO for where to report bugs.
23199 * INSTALL: Regenerated.
23200 * manual/libc.texinfo: Include pkgvers.texi.
23201 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23202 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23203 (print_version): Use PKGVERSION.
23204 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23205 (print_version): Use PKGVERSION.
23206 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23207 (print_version): Use PKGVERSION.
23208 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23209 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23211 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23212 (print_version): Use PKGVERSION.
23213 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23214 (print_version): Use PKGVERSION.
23215 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23218 * timezone/checktab.awk: Update from tzcode 2012i.
23219 * timezone/ialloc.c: Likewise.
23220 * timezone/private.h: Likewise.
23221 * timezone/scheck.c: Likewise.
23222 * timezone/tzfile.h: Likewise.
23223 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23224 (TZVERSION): Hardcode tzcode version number.
23225 * timezone/zdump.c: Update from tzcode 2012i.
23226 * timezone/zic.c: Likewise.
23227 * timezone/version.h: New file.
23228 * timezone/README: Describe version.h. Update upstream location.
23231 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23232 (mktemp): Enable declaration.
23233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23234 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23235 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23236 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23238 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23240 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23242 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23244 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23250 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23251 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23252 for copies of such integer values.
23253 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23254 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23256 2012-11-09 Andreas Jaeger <aj@suse.de>
23258 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23259 definitions and declarations that are provided by
23260 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23262 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23264 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23265 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23266 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23269 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23271 * elf/elf.h: Update comment before AArch64 relocations.
23273 2012-11-07 David S. Miller <davem@davemloft.net>
23275 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23276 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23277 (__start_context): Declare.
23278 (__makecontext_ret): Delete.
23279 (__makecontext): Hook up __start_context instead of
23281 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23282 (sysdep_routines): Add __start_context when in stdlib.
23284 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23286 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23287 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23288 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23290 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23291 (READELF): New variable. Use it instead of hardcoded "readelf".
23293 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23295 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23296 * sysdeps/x86/Makefile: Here.
23297 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23298 * sysdeps/x86/tst-xmmymm.sh: This.
23300 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23302 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23304 [UNIX98] (pthread_barrier_t): Do not expect.
23305 [UNIX98] (pthread_barrierattr_t): Likewise.
23306 [UNIX98] (pthread_spinlock_t): Likewise.
23307 [UNIX98] (pthread_barrier_destroy): Likewise.
23308 [UNIX98] (pthread_barrier_init): Likewise.
23309 [UNIX98] (pthread_barrier_wait): Likewise.
23310 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23311 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23312 [UNIX98] (pthread_barrierattr_init): Likewise.
23313 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23314 [UNIX98] (pthread_getcpuclockid): Likewise.
23315 [UNIX98] (pthread_mutex_timedlock): Likewise.
23316 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23317 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23318 [UNIX98] (pthread_sigmask): Likewise.
23319 [UNIX98] (pthread_spin_destroy): Likewise.
23320 [UNIX98] (pthread_spin_init): Likewise.
23321 [UNIX98] (pthread_spin_lock): Likewise.
23322 [UNIX98] (pthread_spin_trylock): Likewise.
23323 [UNIX98] (pthread_spin_unlock): Likewise.
23324 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23326 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23327 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23328 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23329 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23330 [XPG3 || XPG4] (pthread_key_t): Likewise.
23331 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23332 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23333 [XPG3 || XPG4] (pthread_once_t): Likewise.
23334 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23335 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23336 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23337 [XPG3 || XPG4] (pthread_t): Likewise.
23339 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23341 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23343 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23344 Change function return type to int.
23346 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23347 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23348 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23349 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23350 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23351 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23352 [!POSIX] (posix_madvise): Likewise.
23353 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23355 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23356 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23357 (mode_t): Likewise.
23358 (posix_mem_offset): Likewise.
23359 (posix_typed_mem_get_info): Likewise.
23360 (posix_typed_mem_open): Likewise.
23362 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23363 Change condition to [XOPEN2K8].
23365 * conform/conformtest.pl: Preprocess allow-header data with -x c
23366 instead of from stdin.
23367 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23368 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23369 [C99-based standards] (cerfc): Likewise.
23370 [C99-based standards] (cexp2): Likewise.
23371 [C99-based standards] (cexpm1): Likewise.
23372 [C99-based standards] (clog10): Likewise.
23373 [C99-based standards] (clog1p): Likewise.
23374 [C99-based standards] (clog2): Likewise.
23375 [C99-based standards] (clgamma): Likewise.
23376 [C99-based standards] (ctgamma): Likewise.
23377 [C99-based standards] (cerff): Likewise.
23378 [C99-based standards] (cerfcf): Likewise.
23379 [C99-based standards] (cexp2f): Likewise.
23380 [C99-based standards] (cexpm1f): Likewise.
23381 [C99-based standards] (clog10f): Likewise.
23382 [C99-based standards] (clog1pf): Likewise.
23383 [C99-based standards] (clog2f): Likewise.
23384 [C99-based standards] (clgammaf): Likewise.
23385 [C99-based standards] (ctgammaf): Likewise.
23386 [C99-based standards] (cerfl): Likewise.
23387 [C99-based standards] (cerfcl): Likewise.
23388 [C99-based standards] (cexp2l): Likewise.
23389 [C99-based standards] (cexpm1l): Likewise.
23390 [C99-based standards] (clog10l): Likewise.
23391 [C99-based standards] (clog1pl): Likewise.
23392 [C99-based standards] (clog2l): Likewise.
23393 [C99-based standards] (clgammal): Likewise.
23394 [C99-based standards] (ctgammal): Likewise.
23395 * conform/data/inttypes.h-data [C99-based standards]: Include
23396 stdint.h-data. Remove all expectations for stdint.h contents.
23397 [C99-based standards] (PRI*): Do not allow.
23398 [C99-based standards] (SCN*): Likewise.
23399 [C99-based standards] (*_t): Likewise.
23400 [C99-based-standards] (PRId8): Expect macro.
23401 [C99-based-standards] (PRIi8): Likewise.
23402 [C99-based-standards] (PRIo8): Likewise.
23403 [C99-based-standards] (PRIu8): Likewise.
23404 [C99-based-standards] (PRIx8): Likewise.
23405 [C99-based-standards] (PRIX8): Likewise.
23406 [C99-based-standards] (SCNd8): Likewise.
23407 [C99-based-standards] (SCNi8): Likewise.
23408 [C99-based-standards] (SCNo8): Likewise.
23409 [C99-based-standards] (SCNu8): Likewise.
23410 [C99-based-standards] (SCNx8): Likewise.
23411 [C99-based-standards] (PRIdLEAST8): Likewise.
23412 [C99-based-standards] (PRIiLEAST8): Likewise.
23413 [C99-based-standards] (PRIoLEAST8): Likewise.
23414 [C99-based-standards] (PRIuLEAST8): Likewise.
23415 [C99-based-standards] (PRIxLEAST8): Likewise.
23416 [C99-based-standards] (PRIXLEAST8): Likewise.
23417 [C99-based-standards] (SCNdLEAST8): Likewise.
23418 [C99-based-standards] (SCNiLEAST8): Likewise.
23419 [C99-based-standards] (SCNoLEAST8): Likewise.
23420 [C99-based-standards] (SCNuLEAST8): Likewise.
23421 [C99-based-standards] (SCNxLEAST8): Likewise.
23422 [C99-based-standards] (PRIdFAST8): Likewise.
23423 [C99-based-standards] (PRIiFAST8): Likewise.
23424 [C99-based-standards] (PRIoFAST8): Likewise.
23425 [C99-based-standards] (PRIuFAST8): Likewise.
23426 [C99-based-standards] (PRIxFAST8): Likewise.
23427 [C99-based-standards] (PRIXFAST8): Likewise.
23428 [C99-based-standards] (SCNdFAST8): Likewise.
23429 [C99-based-standards] (SCNiFAST8): Likewise.
23430 [C99-based-standards] (SCNoFAST8): Likewise.
23431 [C99-based-standards] (SCNuFAST8): Likewise.
23432 [C99-based-standards] (SCNxFAST8): Likewise.
23433 [C99-based-standards] (PRId16): Likewise.
23434 [C99-based-standards] (PRIi16): Likewise.
23435 [C99-based-standards] (PRIo16): Likewise.
23436 [C99-based-standards] (PRIu16): Likewise.
23437 [C99-based-standards] (PRIx16): Likewise.
23438 [C99-based-standards] (PRIX16): Likewise.
23439 [C99-based-standards] (SCNd16): Likewise.
23440 [C99-based-standards] (SCNi16): Likewise.
23441 [C99-based-standards] (SCNo16): Likewise.
23442 [C99-based-standards] (SCNu16): Likewise.
23443 [C99-based-standards] (SCNx16): Likewise.
23444 [C99-based-standards] (PRIdLEAST16): Likewise.
23445 [C99-based-standards] (PRIiLEAST16): Likewise.
23446 [C99-based-standards] (PRIoLEAST16): Likewise.
23447 [C99-based-standards] (PRIuLEAST16): Likewise.
23448 [C99-based-standards] (PRIxLEAST16): Likewise.
23449 [C99-based-standards] (PRIXLEAST16): Likewise.
23450 [C99-based-standards] (SCNdLEAST16): Likewise.
23451 [C99-based-standards] (SCNiLEAST16): Likewise.
23452 [C99-based-standards] (SCNoLEAST16): Likewise.
23453 [C99-based-standards] (SCNuLEAST16): Likewise.
23454 [C99-based-standards] (SCNxLEAST16): Likewise.
23455 [C99-based-standards] (PRIdFAST16): Likewise.
23456 [C99-based-standards] (PRIiFAST16): Likewise.
23457 [C99-based-standards] (PRIoFAST16): Likewise.
23458 [C99-based-standards] (PRIuFAST16): Likewise.
23459 [C99-based-standards] (PRIxFAST16): Likewise.
23460 [C99-based-standards] (PRIXFAST16): Likewise.
23461 [C99-based-standards] (SCNdFAST16): Likewise.
23462 [C99-based-standards] (SCNiFAST16): Likewise.
23463 [C99-based-standards] (SCNoFAST16): Likewise.
23464 [C99-based-standards] (SCNuFAST16): Likewise.
23465 [C99-based-standards] (SCNxFAST16): Likewise.
23466 [C99-based-standards] (PRId32): Likewise.
23467 [C99-based-standards] (PRIi32): Likewise.
23468 [C99-based-standards] (PRIo32): Likewise.
23469 [C99-based-standards] (PRIu32): Likewise.
23470 [C99-based-standards] (PRIx32): Likewise.
23471 [C99-based-standards] (PRIX32): Likewise.
23472 [C99-based-standards] (SCNd32): Likewise.
23473 [C99-based-standards] (SCNi32): Likewise.
23474 [C99-based-standards] (SCNo32): Likewise.
23475 [C99-based-standards] (SCNu32): Likewise.
23476 [C99-based-standards] (SCNx32): Likewise.
23477 [C99-based-standards] (PRIdLEAST32): Likewise.
23478 [C99-based-standards] (PRIiLEAST32): Likewise.
23479 [C99-based-standards] (PRIoLEAST32): Likewise.
23480 [C99-based-standards] (PRIuLEAST32): Likewise.
23481 [C99-based-standards] (PRIxLEAST32): Likewise.
23482 [C99-based-standards] (PRIXLEAST32): Likewise.
23483 [C99-based-standards] (SCNdLEAST32): Likewise.
23484 [C99-based-standards] (SCNiLEAST32): Likewise.
23485 [C99-based-standards] (SCNoLEAST32): Likewise.
23486 [C99-based-standards] (SCNuLEAST32): Likewise.
23487 [C99-based-standards] (SCNxLEAST32): Likewise.
23488 [C99-based-standards] (PRIdFAST32): Likewise.
23489 [C99-based-standards] (PRIiFAST32): Likewise.
23490 [C99-based-standards] (PRIoFAST32): Likewise.
23491 [C99-based-standards] (PRIuFAST32): Likewise.
23492 [C99-based-standards] (PRIxFAST32): Likewise.
23493 [C99-based-standards] (PRIXFAST32): Likewise.
23494 [C99-based-standards] (SCNdFAST32): Likewise.
23495 [C99-based-standards] (SCNiFAST32): Likewise.
23496 [C99-based-standards] (SCNoFAST32): Likewise.
23497 [C99-based-standards] (SCNuFAST32): Likewise.
23498 [C99-based-standards] (SCNxFAST32): Likewise.
23499 [C99-based-standards] (PRId64): Likewise.
23500 [C99-based-standards] (PRIi64): Likewise.
23501 [C99-based-standards] (PRIo64): Likewise.
23502 [C99-based-standards] (PRIu64): Likewise.
23503 [C99-based-standards] (PRIx64): Likewise.
23504 [C99-based-standards] (PRIX64): Likewise.
23505 [C99-based-standards] (SCNd64): Likewise.
23506 [C99-based-standards] (SCNi64): Likewise.
23507 [C99-based-standards] (SCNo64): Likewise.
23508 [C99-based-standards] (SCNu64): Likewise.
23509 [C99-based-standards] (SCNx64): Likewise.
23510 [C99-based-standards] (PRIdLEAST64): Likewise.
23511 [C99-based-standards] (PRIiLEAST64): Likewise.
23512 [C99-based-standards] (PRIoLEAST64): Likewise.
23513 [C99-based-standards] (PRIuLEAST64): Likewise.
23514 [C99-based-standards] (PRIxLEAST64): Likewise.
23515 [C99-based-standards] (PRIXLEAST64): Likewise.
23516 [C99-based-standards] (SCNdLEAST64): Likewise.
23517 [C99-based-standards] (SCNiLEAST64): Likewise.
23518 [C99-based-standards] (SCNoLEAST64): Likewise.
23519 [C99-based-standards] (SCNuLEAST64): Likewise.
23520 [C99-based-standards] (SCNxLEAST64): Likewise.
23521 [C99-based-standards] (PRIdFAST64): Likewise.
23522 [C99-based-standards] (PRIiFAST64): Likewise.
23523 [C99-based-standards] (PRIoFAST64): Likewise.
23524 [C99-based-standards] (PRIuFAST64): Likewise.
23525 [C99-based-standards] (PRIxFAST64): Likewise.
23526 [C99-based-standards] (PRIXFAST64): Likewise.
23527 [C99-based-standards] (SCNdFAST64): Likewise.
23528 [C99-based-standards] (SCNiFAST64): Likewise.
23529 [C99-based-standards] (SCNoFAST64): Likewise.
23530 [C99-based-standards] (SCNuFAST64): Likewise.
23531 [C99-based-standards] (SCNxFAST64): Likewise.
23532 [C99-based-standards] (PRIdMAX): Likewise.
23533 [C99-based-standards] (PRIiMAX): Likewise.
23534 [C99-based-standards] (PRIoMAX): Likewise.
23535 [C99-based-standards] (PRIuMAX): Likewise.
23536 [C99-based-standards] (PRIxMAX): Likewise.
23537 [C99-based-standards] (PRIXMAX): Likewise.
23538 [C99-based-standards] (SCNdMAX): Likewise.
23539 [C99-based-standards] (SCNiMAX): Likewise.
23540 [C99-based-standards] (SCNoMAX): Likewise.
23541 [C99-based-standards] (SCNuMAX): Likewise.
23542 [C99-based-standards] (SCNxMAX): Likewise.
23543 [C99-based-standards] (PRIdPTR): Likewise.
23544 [C99-based-standards] (PRIiPTR): Likewise.
23545 [C99-based-standards] (PRIoPTR): Likewise.
23546 [C99-based-standards] (PRIuPTR): Likewise.
23547 [C99-based-standards] (PRIxPTR): Likewise.
23548 [C99-based-standards] (PRIXPTR): Likewise.
23549 [C99-based-standards] (SCNdPTR): Likewise.
23550 [C99-based-standards] (SCNiPTR): Likewise.
23551 [C99-based-standards] (SCNoPTR): Likewise.
23552 [C99-based-standards] (SCNuPTR): Likewise.
23553 [C99-based-standards] (SCNxPTR): Likewise.
23554 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23556 * conform/data/stdint.h-data: Update comments to clarify
23558 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23560 [C99-based standards] (INT8_MAX): Likewise.
23561 [C99-based standards] (INT16_MIN): Likewise.
23562 [C99-based standards] (INT16_MAX): Likewise.
23563 [C99-based standards] (INT32_MIN): Likewise.
23564 [C99-based standards] (INT32_MAX): Likewise.
23565 [C99-based standards] (INT64_MIN): Likewise.
23566 [C99-based standards] (INT64_MAX): Likewise.
23567 [C99-based standards] (UINT8_MAX): Likewise.
23568 [C99-based standards] (UINT16_MAX): Likewise.
23569 [C99-based standards] (UINT32_MAX): Likewise.
23570 [C99-based standards] (UINT64_MAX): Likewise.
23571 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23572 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23573 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23574 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23575 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23576 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23577 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23578 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23579 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23580 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23581 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23582 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23583 [C99-based standards] (INT_FAST8_MIN): Likewise.
23584 [C99-based standards] (INT_FAST8_MAX): Likewise.
23585 [C99-based standards] (INT_FAST16_MIN): Likewise.
23586 [C99-based standards] (INT_FAST16_MAX): Likewise.
23587 [C99-based standards] (INT_FAST32_MIN): Likewise.
23588 [C99-based standards] (INT_FAST32_MAX): Likewise.
23589 [C99-based standards] (INT_FAST64_MIN): Likewise.
23590 [C99-based standards] (INT_FAST64_MAX): Likewise.
23591 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23592 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23593 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23594 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23595 [C99-based standards] (INTPTR_MIN): Likewise.
23596 [C99-based standards] (INTPTR_MAX): Likewise.
23597 [C99-based standards] (UINTPTR_MAX): Likewise.
23598 [C99-based standards] (INTMAX_MIN): Likewise.
23599 [C99-based standards] (INTMAX_MAX): Likewise.
23600 [C99-based standards] (UINTMAX_MAX): Likewise.
23601 [C99-based standards] (PTRDIFF_MIN): Likewise.
23602 [C99-based standards] (PTRDIFF_MAX): Likewise.
23603 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23604 [C99-based standards] (SIZE_MAX): Likewise.
23605 [C99-based standards] (WCHAR_MAX): Likewise.
23606 [C99-based standards] (WINT_MAX): Likewise.
23607 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23608 constraint on value.
23609 [C99-based standards] (WCHAR_MIN): Likewise.
23610 [C99-based standards] (WINT_MIN): Likewise.
23611 [C99-based standards] (*_t): Allow.
23612 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23613 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23614 Include math.h-data and complex.h-data. Remove all expectations
23615 of math.h and complex.h contents.
23616 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23618 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23619 (struct tm): Expect tag.
23620 [C99-based-standards] (wcstof): Expect function.
23621 [C99-based-standards] (wcstold): Likewise.
23622 [C99-based-standards] (wcstoll): Likewise.
23623 [C99-based-standards] (wcstoull): Likewise.
23624 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23625 macro-int-constant. Specify type.
23626 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23627 constraint on value.
23628 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23630 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23632 [ISO C standards]: Do not allow headers.
23633 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23634 wcs[abcdefghijklmnopqrstuvwxyz]*.
23635 [ISO C standards] (*_t): Do not allow.
23636 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23638 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23639 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23641 [ISO C standards]: Do not allow headers.
23642 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23643 is[abcdefghijklmnopqrstuvwxyz]*.
23644 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23645 to[abcdefghijklmnopqrstuvwxyz]*.
23646 [ISO C standards] (*_t): Do not allow.
23647 * conform/data/stdalign.h-data: New file.
23648 * conform/data/stdbool.h-data: Likewise.
23649 * conform/data/stdnoreturn.h-data: Likewise.
23651 2012-11-07 Roland McGrath <roland@hack.frob.com>
23654 * manual/filesys.texi (Directory Entries): Typo fix.
23655 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23657 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23659 * elf/elf.h (EM_AARCH64): New macro.
23660 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23661 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23662 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23663 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23664 (R_AARCH64_TLSDESC): Likewise.
23665 (NT_ARM_TLS): Likewise.
23666 (NT_ARM_HW_BREAK): Likewise.
23667 (NT_ARM_HW_WATCH): Likewise.
23669 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23672 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23673 (__ieee754_powl): Saturate nonzero exponents with absolute value
23674 below 0x1p-79 to +/- 0x1p-79.
23675 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23676 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23677 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23678 nonzero exponents with absolute value below 0x1p-32 to +/-
23680 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23681 (__ieee754_powl): Saturate nonzero exponents with absolute value
23682 below 0x1p-79 to +/- 0x1p-79.
23683 * math/libm-test.inc (pow_test): Add more tests.
23685 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23687 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23688 _dl_s390_cap_flags with kernel. Increase string length.
23689 (_dl_s390_platforms): Add z196 and zEC12.
23691 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23693 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23694 Change XOPEN21K to XOPEN2K.
23696 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23698 * string/memmove.c: Use memcpy when possible.
23700 2012-11-06 Andreas Jaeger <aj@suse.de>
23702 * po/eo.po: Update from translation team.
23704 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23707 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23708 exponent and small x and y exponents, scale x or y up. Increase
23709 by 2 the exponent used in scaling up.
23710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23711 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23712 * math/libm-test.inc (fma_test): Add more tests.
23713 (fma_test_towardzero): Likewise.
23714 (fma_test_downward): Likewise.
23715 (fma_test_upward): Likewise.
23717 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23720 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23724 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23725 namespace for names of struct fields.
23726 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23728 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23729 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23731 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23734 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23736 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23738 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23742 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23745 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23749 definitely overflow as x * y not x * y + z.
23750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23752 * math/libm-test.inc (fma_test): Add more tests.
23753 (fma_test_towardzero): Likewise.
23754 (fma_test_downward): Likewise.
23755 (fma_test_upward): Likewise.
23757 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23761 * include/stub-tag.h: Remove file.
23762 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23764 * manual/maint.texi (Porting): Don't reference it.
23765 * Makerules ($(objpfx)stubs): Likewise.
23766 * dirent/closedir.c: Don't include <stub-tag.h>.
23767 * dirent/dirfd.c: Likewise.
23768 * dirent/fdopendir.c: Likewise.
23769 * dirent/getdents.c: Likewise.
23770 * dirent/getdents64.c: Likewise.
23771 * dirent/opendir.c: Likewise.
23772 * dirent/readdir.c: Likewise.
23773 * dirent/readdir64.c: Likewise.
23774 * dirent/readdir64_r.c: Likewise.
23775 * dirent/readdir_r.c: Likewise.
23776 * dirent/rewinddir.c: Likewise.
23777 * dirent/seekdir.c: Likewise.
23778 * dirent/telldir.c: Likewise.
23779 * gmon/profil.c: Likewise.
23780 * grp/setgroups.c: Likewise.
23781 * inet/if_index.c: Likewise.
23782 * io/access.c: Likewise.
23783 * io/chdir.c: Likewise.
23784 * io/chmod.c: Likewise.
23785 * io/chown.c: Likewise.
23786 * io/close.c: Likewise.
23787 * io/dup.c: Likewise.
23788 * io/dup2.c: Likewise.
23789 * io/dup3.c: Likewise.
23790 * io/euidaccess.c: Likewise.
23791 * io/faccessat.c: Likewise.
23792 * io/fchdir.c: Likewise.
23793 * io/fchmod.c: Likewise.
23794 * io/fchmodat.c: Likewise.
23795 * io/fchown.c: Likewise.
23796 * io/fchownat.c: Likewise.
23797 * io/fcntl.c: Likewise.
23798 * io/flock.c: Likewise.
23799 * io/fstatfs.c: Likewise.
23800 * io/fstatfs64.c: Likewise.
23801 * io/fstatvfs.c: Likewise.
23802 * io/fstatvfs64.c: Likewise.
23803 * io/futimens.c: Likewise.
23804 * io/fxstat.c: Likewise.
23805 * io/fxstat64.c: Likewise.
23806 * io/fxstatat.c: Likewise.
23807 * io/fxstatat64.c: Likewise.
23808 * io/getcwd.c: Likewise.
23809 * io/isatty.c: Likewise.
23810 * io/lchmod.c: Likewise.
23811 * io/lchown.c: Likewise.
23812 * io/link.c: Likewise.
23813 * io/linkat.c: Likewise.
23814 * io/lseek.c: Likewise.
23815 * io/lseek64.c: Likewise.
23816 * io/lxstat64.c: Likewise.
23817 * io/mkdir.c: Likewise.
23818 * io/mkdirat.c: Likewise.
23819 * io/mkfifo.c: Likewise.
23820 * io/mkfifoat.c: Likewise.
23821 * io/open.c: Likewise.
23822 * io/open64.c: Likewise.
23823 * io/openat.c: Likewise.
23824 * io/openat64.c: Likewise.
23825 * io/pipe.c: Likewise.
23826 * io/pipe2.c: Likewise.
23827 * io/poll.c: Likewise.
23828 * io/posix_fadvise.c: Likewise.
23829 * io/posix_fadvise64.c: Likewise.
23830 * io/posix_fallocate.c: Likewise.
23831 * io/posix_fallocate64.c: Likewise.
23832 * io/read.c: Likewise.
23833 * io/readlink.c: Likewise.
23834 * io/readlinkat.c: Likewise.
23835 * io/rmdir.c: Likewise.
23836 * io/sendfile.c: Likewise.
23837 * io/sendfile64.c: Likewise.
23838 * io/statfs.c: Likewise.
23839 * io/statfs64.c: Likewise.
23840 * io/statvfs.c: Likewise.
23841 * io/statvfs64.c: Likewise.
23842 * io/symlink.c: Likewise.
23843 * io/symlinkat.c: Likewise.
23844 * io/ttyname.c: Likewise.
23845 * io/ttyname_r.c: Likewise.
23846 * io/umask.c: Likewise.
23847 * io/unlink.c: Likewise.
23848 * io/unlinkat.c: Likewise.
23849 * io/utime.c: Likewise.
23850 * io/utimensat.c: Likewise.
23851 * io/write.c: Likewise.
23852 * io/xmknod.c: Likewise.
23853 * io/xmknodat.c: Likewise.
23854 * io/xstat.c: Likewise.
23855 * io/xstat64.c: Likewise.
23856 * login/getpt.c: Likewise.
23857 * login/grantpt.c: Likewise.
23858 * login/unlockpt.c: Likewise.
23859 * math/e_acoshl.c: Likewise.
23860 * math/e_acosl.c: Likewise.
23861 * math/e_asinl.c: Likewise.
23862 * math/e_atan2l.c: Likewise.
23863 * math/e_atanhl.c: Likewise.
23864 * math/e_coshl.c: Likewise.
23865 * math/e_expl.c: Likewise.
23866 * math/e_fmodl.c: Likewise.
23867 * math/e_gammal_r.c: Likewise.
23868 * math/e_hypotl.c: Likewise.
23869 * math/e_j0l.c: Likewise.
23870 * math/e_j1l.c: Likewise.
23871 * math/e_jnl.c: Likewise.
23872 * math/e_lgammal_r.c: Likewise.
23873 * math/e_log10l.c: Likewise.
23874 * math/e_log2l.c: Likewise.
23875 * math/e_logl.c: Likewise.
23876 * math/e_powl.c: Likewise.
23877 * math/e_rem_pio2l.c: Likewise.
23878 * math/e_sinhl.c: Likewise.
23879 * math/e_sqrtl.c: Likewise.
23880 * math/fclrexcpt.c: Likewise.
23881 * math/fedisblxcpt.c: Likewise.
23882 * math/feenablxcpt.c: Likewise.
23883 * math/fegetenv.c: Likewise.
23884 * math/fegetexcept.c: Likewise.
23885 * math/fegetround.c: Likewise.
23886 * math/feholdexcpt.c: Likewise.
23887 * math/fesetenv.c: Likewise.
23888 * math/fesetround.c: Likewise.
23889 * math/feupdateenv.c: Likewise.
23890 * math/fgetexcptflg.c: Likewise.
23891 * math/fraiseexcpt.c: Likewise.
23892 * math/fsetexcptflg.c: Likewise.
23893 * math/ftestexcept.c: Likewise.
23894 * math/k_cosl.c: Likewise.
23895 * math/k_rem_pio2l.c: Likewise.
23896 * math/k_sinl.c: Likewise.
23897 * math/k_tanl.c: Likewise.
23898 * math/s_asinhl.c: Likewise.
23899 * math/s_atanl.c: Likewise.
23900 * math/s_cbrtl.c: Likewise.
23901 * math/s_erfl.c: Likewise.
23902 * math/s_expm1l.c: Likewise.
23903 * math/s_log1pl.c: Likewise.
23904 * math/s_tanhl.c: Likewise.
23905 * misc/acct.c: Likewise.
23906 * misc/brk.c: Likewise.
23907 * misc/chflags.c: Likewise.
23908 * misc/chroot.c: Likewise.
23909 * misc/fchflags.c: Likewise.
23910 * misc/fgetxattr.c: Likewise.
23911 * misc/flistxattr.c: Likewise.
23912 * misc/fremovexattr.c: Likewise.
23913 * misc/fsetxattr.c: Likewise.
23914 * misc/fsync.c: Likewise.
23915 * misc/ftruncate.c: Likewise.
23916 * misc/futimes.c: Likewise.
23917 * misc/futimesat.c: Likewise.
23918 * misc/getdomain.c: Likewise.
23919 * misc/getdtsz.c: Likewise.
23920 * misc/gethostid.c: Likewise.
23921 * misc/gethostname.c: Likewise.
23922 * misc/getloadavg.c: Likewise.
23923 * misc/getpagesize.c: Likewise.
23924 * misc/getsysstats.c: Likewise.
23925 * misc/getxattr.c: Likewise.
23926 * misc/gtty.c: Likewise.
23927 * misc/ioctl.c: Likewise.
23928 * misc/lgetxattr.c: Likewise.
23929 * misc/listxattr.c: Likewise.
23930 * misc/llistxattr.c: Likewise.
23931 * misc/lremovexattr.c: Likewise.
23932 * misc/lsetxattr.c: Likewise.
23933 * misc/lutimes.c: Likewise.
23934 * misc/madvise.c: Likewise.
23935 * misc/mincore.c: Likewise.
23936 * misc/mlock.c: Likewise.
23937 * misc/mlockall.c: Likewise.
23938 * misc/mmap.c: Likewise.
23939 * misc/mprotect.c: Likewise.
23940 * misc/msync.c: Likewise.
23941 * misc/munlock.c: Likewise.
23942 * misc/munlockall.c: Likewise.
23943 * misc/munmap.c: Likewise.
23944 * misc/preadv.c: Likewise.
23945 * misc/preadv64.c: Likewise.
23946 * misc/ptrace.c: Likewise.
23947 * misc/pwritev.c: Likewise.
23948 * misc/pwritev64.c: Likewise.
23949 * misc/readv.c: Likewise.
23950 * misc/reboot.c: Likewise.
23951 * misc/remap_file_pages.c: Likewise.
23952 * misc/removexattr.c: Likewise.
23953 * misc/revoke.c: Likewise.
23954 * misc/select.c: Likewise.
23955 * misc/setdomain.c: Likewise.
23956 * misc/setegid.c: Likewise.
23957 * misc/seteuid.c: Likewise.
23958 * misc/sethostid.c: Likewise.
23959 * misc/sethostname.c: Likewise.
23960 * misc/setregid.c: Likewise.
23961 * misc/setreuid.c: Likewise.
23962 * misc/setxattr.c: Likewise.
23963 * misc/sstk.c: Likewise.
23964 * misc/stty.c: Likewise.
23965 * misc/swapoff.c: Likewise.
23966 * misc/swapon.c: Likewise.
23967 * misc/sync.c: Likewise.
23968 * misc/syncfs.c: Likewise.
23969 * misc/syscall.c: Likewise.
23970 * misc/truncate.c: Likewise.
23971 * misc/ualarm.c: Likewise.
23972 * misc/usleep.c: Likewise.
23973 * misc/ustat.c: Likewise.
23974 * misc/utimes.c: Likewise.
23975 * misc/vhangup.c: Likewise.
23976 * misc/writev.c: Likewise.
23977 * posix/_exit.c: Likewise.
23978 * posix/alarm.c: Likewise.
23979 * posix/execve.c: Likewise.
23980 * posix/fexecve.c: Likewise.
23981 * posix/fork.c: Likewise.
23982 * posix/fpathconf.c: Likewise.
23983 * posix/getaddrinfo.c: Likewise.
23984 * posix/getegid.c: Likewise.
23985 * posix/geteuid.c: Likewise.
23986 * posix/getgid.c: Likewise.
23987 * posix/getgroups.c: Likewise.
23988 * posix/getlogin.c: Likewise.
23989 * posix/getlogin_r.c: Likewise.
23990 * posix/getpgid.c: Likewise.
23991 * posix/getpid.c: Likewise.
23992 * posix/getppid.c: Likewise.
23993 * posix/getresgid.c: Likewise.
23994 * posix/getresuid.c: Likewise.
23995 * posix/getsid.c: Likewise.
23996 * posix/getuid.c: Likewise.
23997 * posix/glob64.c: Likewise.
23998 * posix/nanosleep.c: Likewise.
23999 * posix/pathconf.c: Likewise.
24000 * posix/pause.c: Likewise.
24001 * posix/posix_madvise.c: Likewise.
24002 * posix/pread.c: Likewise.
24003 * posix/pread64.c: Likewise.
24004 * posix/pwrite.c: Likewise.
24005 * posix/pwrite64.c: Likewise.
24006 * posix/sched_getaffinity.c: Likewise.
24007 * posix/sched_getp.c: Likewise.
24008 * posix/sched_gets.c: Likewise.
24009 * posix/sched_primax.c: Likewise.
24010 * posix/sched_primin.c: Likewise.
24011 * posix/sched_rr_gi.c: Likewise.
24012 * posix/sched_setaffinity.c: Likewise.
24013 * posix/sched_setp.c: Likewise.
24014 * posix/sched_sets.c: Likewise.
24015 * posix/sched_yield.c: Likewise.
24016 * posix/setgid.c: Likewise.
24017 * posix/setlogin.c: Likewise.
24018 * posix/setpgid.c: Likewise.
24019 * posix/setresgid.c: Likewise.
24020 * posix/setresuid.c: Likewise.
24021 * posix/setsid.c: Likewise.
24022 * posix/setuid.c: Likewise.
24023 * posix/sleep.c: Likewise.
24024 * posix/spawni.c: Likewise.
24025 * posix/sysconf.c: Likewise.
24026 * posix/times.c: Likewise.
24027 * posix/wait.c: Likewise.
24028 * posix/wait3.c: Likewise.
24029 * posix/wait4.c: Likewise.
24030 * posix/waitpid.c: Likewise.
24031 * resolv/gai_sigqueue.c: Likewise.
24032 * resource/getpriority.c: Likewise.
24033 * resource/getrlimit.c: Likewise.
24034 * resource/getrusage.c: Likewise.
24035 * resource/nice.c: Likewise.
24036 * resource/setpriority.c: Likewise.
24037 * resource/setrlimit.c: Likewise.
24038 * resource/ulimit.c: Likewise.
24039 * rt/aio_cancel.c: Likewise.
24040 * rt/aio_fsync.c: Likewise.
24041 * rt/aio_read.c: Likewise.
24042 * rt/aio_sigqueue.c: Likewise.
24043 * rt/aio_suspend.c: Likewise.
24044 * rt/aio_write.c: Likewise.
24045 * rt/clock_getres.c: Likewise.
24046 * rt/clock_gettime.c: Likewise.
24047 * rt/clock_nanosleep.c: Likewise.
24048 * rt/clock_settime.c: Likewise.
24049 * rt/lio_listio.c: Likewise.
24050 * rt/mq_close.c: Likewise.
24051 * rt/mq_getattr.c: Likewise.
24052 * rt/mq_notify.c: Likewise.
24053 * rt/mq_open.c: Likewise.
24054 * rt/mq_receive.c: Likewise.
24055 * rt/mq_send.c: Likewise.
24056 * rt/mq_setattr.c: Likewise.
24057 * rt/mq_timedreceive.c: Likewise.
24058 * rt/mq_timedsend.c: Likewise.
24059 * rt/mq_unlink.c: Likewise.
24060 * rt/shm_open.c: Likewise.
24061 * rt/shm_unlink.c: Likewise.
24062 * rt/timer_create.c: Likewise.
24063 * rt/timer_delete.c: Likewise.
24064 * rt/timer_getoverr.c: Likewise.
24065 * rt/timer_gettime.c: Likewise.
24066 * rt/timer_settime.c: Likewise.
24067 * setjmp/__longjmp.c: Likewise.
24068 * setjmp/setjmp.c: Likewise.
24069 * signal/kill.c: Likewise.
24070 * signal/killpg.c: Likewise.
24071 * signal/raise.c: Likewise.
24072 * signal/sigaction.c: Likewise.
24073 * signal/sigaltstack.c: Likewise.
24074 * signal/sigblock.c: Likewise.
24075 * signal/sigignore.c: Likewise.
24076 * signal/sigintr.c: Likewise.
24077 * signal/signal.c: Likewise.
24078 * signal/sigpause.c: Likewise.
24079 * signal/sigpending.c: Likewise.
24080 * signal/sigqueue.c: Likewise.
24081 * signal/sigreturn.c: Likewise.
24082 * signal/sigset.c: Likewise.
24083 * signal/sigsetmask.c: Likewise.
24084 * signal/sigstack.c: Likewise.
24085 * signal/sigsuspend.c: Likewise.
24086 * signal/sigtimedwait.c: Likewise.
24087 * signal/sigvec.c: Likewise.
24088 * signal/sigwait.c: Likewise.
24089 * signal/sigwaitinfo.c: Likewise.
24090 * signal/sysv_signal.c: Likewise.
24091 * socket/accept.c: Likewise.
24092 * socket/accept4.c: Likewise.
24093 * socket/bind.c: Likewise.
24094 * socket/connect.c: Likewise.
24095 * socket/getpeername.c: Likewise.
24096 * socket/getsockname.c: Likewise.
24097 * socket/getsockopt.c: Likewise.
24098 * socket/isfdtype.c: Likewise.
24099 * socket/listen.c: Likewise.
24100 * socket/recv.c: Likewise.
24101 * socket/recvfrom.c: Likewise.
24102 * socket/recvmsg.c: Likewise.
24103 * socket/send.c: Likewise.
24104 * socket/sendmsg.c: Likewise.
24105 * socket/sendto.c: Likewise.
24106 * socket/setsockopt.c: Likewise.
24107 * socket/shutdown.c: Likewise.
24108 * socket/sockatmark.c: Likewise.
24109 * socket/socket.c: Likewise.
24110 * socket/socketpair.c: Likewise.
24111 * stdio-common/ctermid.c: Likewise.
24112 * stdio-common/cuserid.c: Likewise.
24113 * stdio-common/remove.c: Likewise.
24114 * stdio-common/rename.c: Likewise.
24115 * stdio-common/renameat.c: Likewise.
24116 * stdio-common/tempname.c: Likewise.
24117 * stdlib/getcontext.c: Likewise.
24118 * stdlib/makecontext.c: Likewise.
24119 * stdlib/setcontext.c: Likewise.
24120 * stdlib/swapcontext.c: Likewise.
24121 * stdlib/system.c: Likewise.
24122 * streams/fattach.c: Likewise.
24123 * streams/fdetach.c: Likewise.
24124 * streams/getmsg.c: Likewise.
24125 * streams/getpmsg.c: Likewise.
24126 * streams/putmsg.c: Likewise.
24127 * streams/putpmsg.c: Likewise.
24128 * sysdeps/unix/bsd/getpt.c: Likewise.
24129 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24130 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24131 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24134 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24135 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24136 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24137 * sysvipc/msgctl.c: Likewise.
24138 * sysvipc/msgget.c: Likewise.
24139 * sysvipc/msgrcv.c: Likewise.
24140 * sysvipc/msgsnd.c: Likewise.
24141 * sysvipc/semctl.c: Likewise.
24142 * sysvipc/semget.c: Likewise.
24143 * sysvipc/semop.c: Likewise.
24144 * sysvipc/semtimedop.c: Likewise.
24145 * sysvipc/shmat.c: Likewise.
24146 * sysvipc/shmctl.c: Likewise.
24147 * sysvipc/shmdt.c: Likewise.
24148 * sysvipc/shmget.c: Likewise.
24149 * termios/tcdrain.c: Likewise.
24150 * termios/tcflow.c: Likewise.
24151 * termios/tcflush.c: Likewise.
24152 * termios/tcgetattr.c: Likewise.
24153 * termios/tcgetpgrp.c: Likewise.
24154 * termios/tcsendbrk.c: Likewise.
24155 * termios/tcsetattr.c: Likewise.
24156 * termios/tcsetpgrp.c: Likewise.
24157 * time/adjtime.c: Likewise.
24158 * time/clock.c: Likewise.
24159 * time/getitimer.c: Likewise.
24160 * time/gettimeofday.c: Likewise.
24161 * time/setitimer.c: Likewise.
24162 * time/settimeofday.c: Likewise.
24163 * time/stime.c: Likewise.
24164 * time/time.c: Likewise.
24166 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
24168 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24171 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24173 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24175 2012-11-03 Joseph Myers <joseph@codesourcery.com>
24178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24179 FE_TONEAREST before applying Dekker multiplication and Knuth
24180 addition. Clear inexact exceptions and check for exact zero
24181 results afterwards.
24182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24183 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24184 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24185 * math/libm-test.inc (fma_test): Add more tests.
24186 (fma_test_towardzero): Likewise.
24187 (fma_test_downward): Likewise.
24188 (fma_test_upward): Likewise.
24189 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24191 (libc_fesetround): New macro.
24192 (libc_fesetroundf): Likewise.
24193 (libc_fesetroundl): Likewise.
24194 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24196 (libc_fesetround_387): Likewise.
24197 (libc_fesetroundf): New macro.
24198 (libc_fesetround): Likewise.
24199 (libc_fesetroundl): Likewise.
24200 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24202 (libc_fesetroundf): New macro.
24203 (libc_fesetround): Likewise.
24204 (libc_fesetroundl): Likewise.
24205 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24206 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24207 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24209 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24210 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24212 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24213 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24215 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24219 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24220 integer constant usable in #if and use that to give value to enum
24222 (FE_DIVBYZERO): Likewise.
24223 (FE_UNDERFLOW): Likewise.
24224 (FE_OVERFLOW): Likewise.
24225 (FE_INVALID): Likewise.
24226 (FE_INVALID_SNAN): Likewise.
24227 (FE_INVALID_ISI): Likewise.
24228 (FE_INVALID_IDI): Likewise.
24229 (FE_INVALID_ZDZ): Likewise.
24230 (FE_INVALID_IMZ): Likewise.
24231 (FE_INVALID_COMPARE): Likewise.
24232 (FE_INVALID_SOFTWARE): Likewise.
24233 (FE_INVALID_SQRT): Likewise.
24234 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24235 (FE_TONEAREST): Likewise.
24236 (FE_TOWARDZERO): Likewise.
24237 (FE_UPWARD): Likewise.
24238 (FE_DOWNWARD): Likewise.
24239 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24240 (FE_DIVBYZERO): Likewise.
24241 (FE_OVERFLOW): Likewise.
24242 (FE_UNDERFLOW): Likewise.
24243 (FE_INEXACT): Likewise.
24244 (FE_TONEAREST): Likewise.
24245 (FE_DOWNWARD): Likewise.
24246 (FE_UPWARD): Likewise.
24247 (FE_TOWARDZERO): Likewise.
24248 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24249 (FE_UNDERFLOW): Likewise.
24250 (FE_OVERFLOW): Likewise.
24251 (FE_DIVBYZERO): Likewise.
24252 (FE_INVALID): Likewise.
24253 (FE_TONEAREST): Likewise.
24254 (FE_TOWARDZERO): Likewise.
24255 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24256 (FE_OVERFLOW): Likewise.
24257 (FE_UNDERFLOW): Likewise.
24258 (FE_DIVBYZERO): Likewise.
24259 (FE_INEXACT): Likewise.
24260 (FE_TONEAREST): Likewise.
24261 (FE_TOWARDZERO): Likewise.
24262 (FE_UPWARD): Likewise.
24263 (FE_DOWNWARD): Likewise.
24264 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24265 (FE_DIVBYZERO): Likewise.
24266 (FE_OVERFLOW): Likewise.
24267 (FE_UNDERFLOW): Likewise.
24268 (FE_INEXACT): Likewise.
24269 (FE_TONEAREST): Likewise.
24270 (FE_DOWNWARD): Likewise.
24271 (FE_UPWARD): Likewise.
24272 (FE_TOWARDZERO): Likewise.
24274 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24276 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24278 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24280 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24281 commands. Quote $PWD.
24282 (blacklist_exports): Don't use remove_newlines. Replace "declare
24284 (remove_newlines): Remove.
24286 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24288 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24289 * stdlib/stdlib.h (atof): Moved to ...
24290 * include/bits/stdlib-float.h: Here. New file.
24291 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24292 * stdlib/bits/stdlib-float.h: New file.
24293 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24298 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24300 * conform/conformtest.pl (@headers): Add fenv.h.
24301 * conform/data/fenv.h-data: New file.
24302 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24303 include of <math/fenv.h>.
24305 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24306 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24307 && !UNIX98]. Enables tests for XOPEN2K8.
24308 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24309 POSIX2008]: Likewise.
24311 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24312 (struct rusage): Do not expect type or its members.
24315 * math/math.h (FP_NAN): Define macro to integer constant usable in
24316 #if and use that to give value to enum constant.
24317 (FP_INFINITE): Likewise.
24318 (FP_ZERO): Likewise.
24319 (FP_SUBNORMAL): Likewise.
24320 (FP_NORMAL): Likewise.
24322 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24324 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24325 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24328 2012-11-02 Roland McGrath <roland@hack.frob.com>
24330 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24331 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24332 autoconf-time if not.
24333 * configure.in: Remove AC_PREREQ.
24335 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24337 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24338 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24339 of the internal implementation.
24341 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24343 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24344 except include of <misc/sys/syslog.h>.
24346 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24349 function returns with a NULL context exit with zero.
24351 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24353 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24355 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24357 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24358 (run_program_cmd): This.
24359 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24360 (tst_langinfo): New variable. Use it.
24362 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24364 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24365 floating point opcodes.
24367 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24369 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24372 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24374 * sysdeps/mach/hurd/powerpc: Remove directory.
24375 * sysdeps/mach/powerpc: Likewise.
24377 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24379 * scripts/check-local-headers.sh: Ignore c++ headers.
24381 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24383 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24384 __libc_cleanup_region_start argument.
24386 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24391 x * y using scaling, not as x * y + z.
24392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24394 * math/libm-test.inc (fma_test): Add more tests.
24395 (fma_test_towardzero): Likewise.
24396 (fma_test_downward): Likewise.
24397 (fma_test_upward): Likewise.
24399 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24401 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24403 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24405 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24408 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24410 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24412 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24419 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24422 Fix the order of the list for glibc 2.17.
24423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24426 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24430 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24433 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24434 for low part of x being zero before using __atanl (y).
24435 * math/libm-test.inc (atan2_test): Add another test.
24437 * manual/install.texi (Configuring and compiling): Document
24438 general use of test-wrapper and test-wrapper-env.
24439 * INSTALL: Regenerated.
24441 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24442 (__fma): Do not extract and scale down low bits on after-rounding
24443 systems when result rounded to normal precision would have normal
24445 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24446 (__fmal): Do not extract and scale down low bits on after-rounding
24447 systems when result rounded to normal precision would have normal
24449 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24450 (__fmal): Do not extract and scale down low bits on after-rounding
24451 systems when result rounded to normal precision would have normal
24453 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24455 (fma_test): Add more tests.
24456 (fma_test_towardzero): Likewise.
24457 (fma_test_downward): Likewise.
24458 (fma_test_upward): Likewise.
24460 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24462 * sysdeps/i386/tininess.h: Renamed to ...
24463 * sysdeps/x86/tininess.h: This.
24464 * sysdeps/x86_64/tininess.h: Removed.
24466 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24468 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24469 input. Use $(build-program-cmd).
24470 ($(objpfx)tst-array1-static.out): Likewise.
24471 ($(objpfx)tst-array2.out): Likewise.
24472 ($(objpfx)tst-array3.out): Likewise.
24473 ($(objpfx)tst-array4.out): Likewise.
24474 ($(objpfx)tst-array5.out): Likewise.
24475 ($(objpfx)tst-array5-static.out): Likewise.
24477 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24479 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24482 * nss/nsswitch.h (nss_interface_function): Provide new
24483 macro for use with NSS functions.
24484 * grp/initgroups.c: Use new macro.
24485 * nss/getXXbyYY.c: Likewise.
24486 * nss/getXXbyYY_r.c: Likewise.
24487 * nss/getXXent.c: Likewise.
24488 * nss/getXXent_r.c: Likewise.
24489 * sysdeps/posix/getaddrinfo.c: Likewise.
24491 2012-10-30 Andreas Jaeger <aj@suse.de>
24493 * po/ru.po: Update Russion translation from translation project.
24495 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24500 result and shift together with sticky bit instead of replicating
24501 round-to-nearest rounding.
24502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24504 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24505 missing underflow exceptions.
24506 (fma_test_towardzero): Add more tests.
24507 (fma_test_downward): Likewise.
24508 (fma_test_upward): Likewise.
24511 * sysdeps/generic/tininess.h: New file.
24512 * sysdeps/i386/tininess.h: Likewise.
24513 * sysdeps/sh/tininess.h: Likewise.
24514 * sysdeps/x86_64/tininess.h: Likewise.
24515 * stdlib/tst-strtod-underflow.c: Likewise.
24516 * stdlib/tst-tininess.c: Likewise.
24517 * stdlib/strtod_l.c: Include <tininess.h>.
24518 (round_and_return): Do not set errno for exact underflow cases.
24519 Force an underflow exception when setting errno for underflow.
24520 Determine underflow based on rounding to normal precision if
24521 TININESS_AFTER_ROUNDING.
24522 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24523 ERANGE for exact underflow cases.
24524 * stdlib/Makefile (tests): Add tst-tininess and
24525 tst-strtod-underflow.
24526 ($(objpfx)tst-tininess): Use $(link-libm).
24527 ($(objpfx)tst-strtod-underflow): Likewise.
24529 2012-10-30 Andreas Jaeger <aj@suse.de>
24532 * elf/Makefile (tests): Remove conditional for have-initfini-array
24533 since this is now always required and the variable does not exist
24535 (tests-static): Likewise.
24536 (modules-names): Likewise.
24538 * po/eo.po: Add Esperanto translation from translation project.
24540 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24541 merged with constructor/destructor.
24542 (init_array): Likewise.
24543 * elf/tst-array2dep.c (fini_array): Likewise.
24544 (init_array): Likewise.
24546 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24548 * manual/message.texi: Delete @cartouche tags.
24550 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24552 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24554 * sysdeps/mach/hurd/fsync.c: Likewise.
24556 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24557 [_POSIX_REALTIME_SIGNALS]: Change condition to
24558 [_POSIX_REALTIME_SIGNALS > 0].
24560 2012-10-27 Andreas Jaeger <aj@suse.de>
24562 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24563 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24565 [__WORDSIZE != 64]: Likewise.
24567 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24569 * iconvdata/tst-table.sh: Remove ${SHELL}.
24570 * iconvdata/tst-tables.sh: Likewise.
24572 2012-10-25 David S. Miller <davem@davemloft.net>
24574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24575 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24580 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24581 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24582 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24585 2012-10-25 Roland McGrath <roland@hack.frob.com>
24587 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24588 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24591 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24592 Jim Blandy <jimb@codesourcery.com>
24594 * scripts/cross-test-ssh.sh: New file.
24595 * manual/install.texi (Configuring and compiling): Document use of
24597 * INSTALL: Regenerated.
24599 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24601 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24604 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24606 * Makeconfig (run-program-prefix): Fix comment.
24608 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24609 Jim Blandy <jimb@codesourcery.com>
24611 * Makeconfig (test-wrapper): New variable,
24612 (test-wrapper-env): Likewise.
24613 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24614 (run-built-tests): Define to yes.
24615 (run-program-prefix): Use $(test-wrapper).
24616 (built-program-cmd): Likewise.
24617 * Rules (make-test-out): Use $(test-wrapper-env) and
24618 $(host-built-program-cmd).
24619 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24620 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24622 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24623 $(test-wrapper-env) to tst-rtld-load-self.sh.
24624 ($(objpfx)order2.out): Use $(test-wrapper).
24625 ($(objpfx)tst-initorder.out): Likewise.
24626 ($(objpfx)tst-initorder2.out): Likewise.
24627 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24628 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24629 (test_wrapper_env): New variable. Use it to run ld.so.
24630 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24631 Use it to run ld.so.
24632 (test_wrapper_env): Likewise.
24633 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24634 $(test-wrapper) to run-iconv-test.sh.
24635 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24636 (ICONV): Use $test_wrapper.
24637 * posix/Makefile ($(objpfx)globtest.out): Pass
24638 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24639 globtest.sh, not $(run-program-prefix).
24640 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24641 (test_wrapper): Likewise.
24642 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24643 set together with run_via_rtld_prefix.
24644 (run_program_prefix): Define in terms of test_wrapper and
24645 run_via_rtld_prefix.
24647 2012-10-24 Roland McGrath <roland@hack.frob.com>
24649 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24650 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24654 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24655 Declare __clock_getres, __clock_gettime, __clock_settime,
24656 __clock_nanosleep, and __clock_getcpuclockid.
24657 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24658 Remove librt_hidden_def (clock_gettime).
24659 * sysdeps/unix/clock_gettime.c: Likewise.
24660 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24661 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24662 * rt/clock_getres.c: Define __clock_getres as an alias.
24663 * sysdeps/posix/clock_getres.c: Likewise.
24664 * rt/clock_settime.c: Define __clock_settime as an alias.
24665 * sysdeps/unix/clock_settime.c: Likewise.
24666 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24667 * sysdeps/unix/clock_nanosleep.c: Likewise.
24668 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24669 * rt/clock-compat.c: New file.
24670 * rt/Makefile (librt-routines): Add clock-compat and move
24671 $(clock-routines) to ...
24672 (routines): ... here, new variable.
24673 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24674 Don't add get_clockfreq here.
24675 * rt/Versions (libc: GLIBC_2.17): New version set.
24676 Add clock_* symbols here.
24677 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24678 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24679 (GLIBC_2.17): Add clock_* symbols.
24680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24682 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24691 * NEWS: Mention the move.
24693 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24694 Use __open, __read, __close rather than their public counterparts.
24695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24696 (__get_clockfreq_via_cpuinfo): Likewise.
24697 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24698 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24700 * config.h.in (HAVE_IFUNC): New #undef.
24701 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24703 * configure: Regenerated.
24705 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24707 * configure.in: Move READELF check to start of file.
24708 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24709 libc_cv_asm_gnu_indirect_function in the process.
24710 * configure: Regenerated.
24712 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24714 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24715 send the output to /dev/null.
24716 (libc_cv_cc_with_libunwind): Likewise.
24717 (libc_cv_as_noexecstack): Likewise.
24718 * configure: Regenerate.
24720 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24722 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24724 * posix/globtest.sh (TMPDIR): Do not set.
24725 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24726 (testout): Likewise.
24728 2012-10-24 Andreas Jaeger <aj@suse.de>
24730 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24731 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24732 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24733 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24734 posix_fadvise64, posix_fallocate64.
24736 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24737 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24738 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24740 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24742 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24745 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24746 <bits/fcntl-linux.h>.
24747 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24750 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24751 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24752 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24753 [__WORDSIZE != 64]: Likewise.
24755 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24757 * Makeconfig (run-built-tests): New variable.
24758 * Rules [$(cross-compiling) = yes]: Change condition to
24759 [$(run-built-tests) = no].
24760 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24761 to [$(run-built-tests) = yes].
24762 * elf/Makefile [$(cross-compiling) = no]: Likewise
24763 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24764 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24765 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24766 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24767 * io/Makefile [$(cross-compiling) = no]: Likewise.
24768 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24769 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24770 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24771 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24772 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24773 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24774 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24775 * string/Makefile [$(cross-compiling) = no]: Likewise.
24777 * posix/Makefile ($(objpfx)globtest.out): Pass
24778 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24779 $(rtld-installed-name).
24780 * posix/globtest.sh (elf_objpfx): Remove variable.
24781 (rtld_installed_name): Likewise.
24782 (library_path): Likewise.
24783 (run_program_prefix): New variable. Use for running globtest
24786 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24787 Joseph Myers <joseph@codesourcery.com>
24789 * Makeconfig (host-built-program-cmd): New variable.
24790 * elf/Makefile (tst-stackguard1-ARGS): Use
24791 $(host-built-program-cmd).
24792 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24793 (tst-spawn-ARGS): Likewise.
24794 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24796 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24797 Jim Blandy <jimb@codesourcery.com>
24799 * Makeconfig (run-via-rtld-prefix): New variable.
24800 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24801 (built-program-cmd): Likewise.
24803 2012-10-22 Andreas Jaeger <aj@suse.de>
24805 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24806 __O_RSYNC if it exists, otherwise to O_SYNC.
24808 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24809 Joseph Myers <joseph@codesourcery.com>
24811 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24813 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24815 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24818 2012-10-22 Andreas Jaeger <aj@suse.de>
24820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24822 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24825 bits/fcntl-linux.h.
24827 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24828 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24835 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24836 Joseph Myers <joseph@codesourcery.com>
24838 * config.make.in (NM): New variable.
24840 2012-10-21 Andreas Jaeger <aj@suse.de>
24842 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24843 definitions and declarations that are provided by
24844 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24846 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24849 * elf/Makefile (tests-static): Add tst-leaks1-static.
24850 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24851 ($(objpfx)tst-leaks1-static): New rule.
24852 ($(objpfx)tst-leaks1-static-mem): Likewise.
24853 (tst-leaks1-static-ENV): New macro.
24854 * elf/dl-open.c (dl_open_worker): Check the main application
24855 only if SHARED is defined.
24856 * elf/tst-leaks1-static.c: New file.
24858 2012-10-20 Andreas Jaeger <aj@suse.de>
24860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24861 generic values for Linux.
24862 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24863 and declarations that are provided by <bits/fcntl-linux.h> and
24864 include <bits/fcntl-linux.h>.
24865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24866 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24868 2012-10-20 Roland McGrath <roland@hack.frob.com>
24870 * io/fcntl.h: Move include of <bits/types.h> to the top and
24871 include it unconditionally.
24873 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24875 * wcsmbs/Makefile (tests-ifunc): New variable.
24876 (tests): Add $(tests-ifunc).
24877 * wcsmbs/test-wcschr-ifunc.c: New file.
24878 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24879 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24880 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24881 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24882 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24884 * string/Makefile (tests-ifunc): New variable.
24885 (tests): Add $(tests-ifunc).
24886 * string/test-memccpy.c (TEST_NAME): New macro.
24887 * string/test-memchr.c (TEST_NAME): Likewise.
24888 * string/test-memcmp.c (TEST_NAME): Likewise.
24889 * string/test-memcpy.c (TEST_NAME): Likewise.
24890 * string/test-memmem.c (TEST_NAME): Likewise.
24891 * string/test-memmove.c (TEST_NAME): Likewise.
24892 * string/test-memset.c (TEST_NAME): Likewise.
24893 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24894 * string/test-stpcpy.c (TEST_NAME): Likewise.
24895 * string/test-stpncpy.c (TEST_NAME): Likewise.
24896 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24897 * string/test-strcasestr.c (TEST_NAME): Likewise.
24898 * string/test-strcat.c (TEST_NAME): Likewise.
24899 * string/test-strchr.c (TEST_NAME): Likewise.
24900 * string/test-strcmp.c(TEST_NAME): Likewise.
24901 * string/test-strcpy.c (TEST_NAME): Likewise.
24902 * string/test-strcspn.c (TEST_NAME): Likewise.
24903 * string/test-strlen.c (TEST_NAME): Likewise.
24904 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24905 * string/test-strncmp.c (TEST_NAME): Likewise.
24906 * string/test-strncpy.c (TEST_NAME): Likewise.
24907 * string/test-strnlen.c (TEST_NAME): Likewise.
24908 * string/test-strpbrk.c (TEST_NAME): Likewise.
24909 * string/test-strrchr.c (TEST_NAME): Likewise.
24910 * string/test-strspn.c (TEST_NAME): Likewise.
24911 * string/test-strstr.c (TEST_NAME): Likewise.
24912 * string/test-bcopy-ifunc.c: New file.
24913 * string/test-bzero-ifunc.c: Likewise.
24914 * string/test-memccpy-ifunc.c: Likewise.
24915 * string/test-memchr-ifunc.c: Likewise.
24916 * string/test-memcmp-ifunc.c: Likewise.
24917 * string/test-memcpy-ifunc.c: Likewise.
24918 * string/test-memmem-ifunc.c: Likewise.
24919 * string/test-memmove-ifunc.c: Likewise.
24920 * string/test-mempcpy-ifunc.c: Likewise.
24921 * string/test-memset-ifunc.c: Likewise.
24922 * string/test-rawmemchr-ifunc.c: Likewise.
24923 * string/test-stpcpy-ifunc.c: Likewise.
24924 * string/test-stpncpy-ifunc.c: Likewise.
24925 * string/test-strcasecmp-ifunc.c: Likewise.
24926 * string/test-strcasestr-ifunc.c: Likewise.
24927 * string/test-strcat-ifunc.c: Likewise.
24928 * string/test-strchr-ifunc.c: Likewise.
24929 * string/test-strchrnul-ifunc.c: Likewise.
24930 * string/test-strcmp-ifunc.c: Likewise.
24931 * string/test-strcpy-ifunc.c: Likewise.
24932 * string/test-strcspn-ifunc.c: Likewise.
24933 * string/test-strlen-ifunc.c: Likewise.
24934 * string/test-strncasecmp-ifunc.c: Likewise.
24935 * string/test-strncat-ifunc.c: Likewise.
24936 * string/test-strncmp-ifunc.c: Likewise.
24937 * string/test-strncpy-ifunc.c: Likewise.
24938 * string/test-strnlen-ifunc.c: Likewise.
24939 * string/test-strpbrk-ifunc.c: Likewise.
24940 * string/test-strrchr-ifunc.c: Likewise.
24941 * string/test-strspn-ifunc.c: Likewise.
24942 * string/test-strstr-ifunc.c: Likewise.
24944 * debug/Makefile (tests-ifunc): New variable.
24945 (tests): Add $(tests-ifunc).
24946 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24947 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24948 * debug/test-stpcpy_chk-ifunc.c: New file.
24949 * debug/test-strcpy_chk-ifunc.c: Likewise.
24951 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24954 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24955 header is not read in.
24957 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24959 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24960 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24961 directly. Pass built executable to script as
24962 $(built-program-cmd).
24963 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24964 $testprogram without using LD_LIBRARY_PATH and $ldso.
24966 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24967 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24968 $(rtld-installed-name).
24969 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24970 (rtld_installed_name): Likewise.
24971 (library_path): Likewise.
24972 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24973 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24974 $(run-program-prefix) to tst-tables.sh.
24975 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24976 it to run tst-table-from and tst-table-to.
24977 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24978 Pass it to tst-table.sh.
24979 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24980 $(run-program-prefix) to tst-gettext.sh.
24981 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24983 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24985 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24986 to run tst-gettext.
24987 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24988 to run tst-gettext2.
24989 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24990 to run tst-translit.
24991 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24992 $(run-program-prefix) to tst-mtrace.sh.
24993 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24995 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24996 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24997 $(rtld-installed-name).
24998 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24999 (rtld_installed_name): Likewise.
25000 (run_program_prefix): New variable. Use it to run wordexp-test.
25002 * Makeconfig (ARCH): Remove all definitions.
25003 (machine): Likewise.
25004 [ARCH]: Remove conditional code.
25005 [!objdir]: Give error.
25006 [!objdir] (objpfx): Remove.
25007 [!objdir] (common-objpfx): Likewise.
25008 [!objdir] (common-objdir): Likewise.
25009 * configure.in (config_makefile): Remove. Hardcode Makefile in
25010 AC_CONFIG_FILES call.
25011 * configure: Regenerated.
25014 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25016 (testout): Likewise.
25018 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25019 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25020 $(rtld-installed-name).
25021 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25022 (rtld_installed_name): Likwise.
25023 (runit): Remove function.
25024 (run_getconf): New variable, Use it for running getconf binary.
25026 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25029 * string/test-memmem.c (check_result): New function.
25030 (do_one_test): Use it.
25031 (check1): New function.
25032 (test_main): Use it.
25034 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25036 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25038 2012-10-18 Joseph Myers <joseph@codesourcery.com>
25040 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25041 (_G_LSEEK64): Likewise.
25042 (_G_MMAP64): Likewise.
25043 (_G_FSTAT64): Likewise.
25044 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25045 (_G_LSEEK64): Likewise.
25046 (_G_MMAP64): Likewise.
25047 (_G_FSTAT64): Likewise.
25048 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25049 unconditional. Call __mmap64 directly.
25050 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25051 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25052 __lseek64 directly.
25053 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25054 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25056 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25057 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25058 __lseek64 directly.
25059 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25060 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25061 __lseek64 directly.
25062 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25063 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25064 __lseek64 directly.
25065 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25066 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25067 __fxstat64 directly.
25068 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25069 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25071 (freopen64) [!_G_OPEN64]: Remove conditional code.
25072 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25074 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25075 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25077 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25078 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25080 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25081 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25083 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25084 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25086 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25087 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25089 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25090 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25092 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25094 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25097 * manual/memory.texi (Malloc Tunable Parameters): Add note
25098 about free list pointers overwriting some perturb bytes.
25099 Wording suggested by Roland McGrath.
25101 2012-10-17 Joseph Myers <joseph@codesourcery.com>
25103 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25104 (lgamma_test): Likewise.
25105 (tgamma_test): Likewise.
25107 2012-10-16 Florian Weimer <fweimer@redhat.com>
25110 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25111 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25113 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25115 * NEWS: Mention BZ #14716.
25116 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25117 when removing AVAILABLE1_USES_J macro.
25119 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25121 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25122 (__bswap_64): __uint64_t for unsigned 64-bit int.
25124 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25126 * include/string.h (memmem): Declare libc hidden alias.
25127 * string/memmem.c (memmem): Define libc hidden alias.
25128 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25129 __read, __close instead of open, read, close.
25131 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25133 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25134 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25136 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25137 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25138 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25140 (__rawmemchr_sse2): Likewise.
25141 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25142 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25143 (__strchr_sse2): Likewise.
25144 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25145 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25146 (__strcasecmp_sse2): Likewise.
25147 (__strncasecmp_sse2): Likewise.
25148 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25149 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25150 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25151 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25152 (__strrchr_sse2): Likewise.
25153 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25155 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25156 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25157 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25158 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25159 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25160 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25161 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25162 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25163 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25164 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25165 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25166 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25167 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25168 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25169 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25170 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25171 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25172 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25173 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25174 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25175 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25176 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25177 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25178 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25179 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25180 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25181 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25182 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25183 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25184 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25186 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25188 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25189 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25190 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25191 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25193 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25195 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25196 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25197 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25198 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25200 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25201 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25202 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25203 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25204 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25205 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25206 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25207 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25208 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25209 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25210 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25211 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25212 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25213 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25214 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25215 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25216 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25217 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25218 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25219 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25220 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25221 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25222 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25223 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25224 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25225 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25226 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25227 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25228 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25229 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25230 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25231 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25232 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25233 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25234 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25235 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25236 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25237 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25238 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25239 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25240 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25242 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25243 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25244 * include/ifunc-impl-list.h: New file.
25245 * misc/ifunc-impl-list.c: Likewise.
25246 * misc/Makefile (routines): Add ifunc-impl-list.
25247 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25248 * string/test-string.h: Include <ifunc-impl-list.h>.
25249 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25250 TEST_NAME]: New variables.
25251 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25253 (test_init): Call __libc_ifunc_impl_list to initialize
25254 func_list if TEST_IFUNC and TEST_NAME are defined.
25256 * string/Makefile (strop-tests): Add bcopy and bzero.
25257 * string/test-bcopy.c: New file.
25258 * string/test-bzero.c: Likewise.
25259 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25261 * string/test-memset.c: Support bzero test if TEST_BZERO is
25263 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25265 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25267 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25270 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25272 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25273 * configure: Regenerated.
25275 * Makeconfig (+link-static-before-libc): Don't include
25276 $(link-static-libc).
25278 * libio/libio.h (_IO_pos_t): Remove.
25280 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25282 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25285 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25287 * crypt/crypt-entry.c: Include fips-private.h.
25288 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25289 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25290 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25291 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25293 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25295 * crypt/crypt-private.h: Include stdbool.h.
25296 (_ufc_setup_salt_r): Return bool.
25297 * crypt/crypt-entry.c: Include errno.h.
25298 (__crypt_r): Return NULL with EINVAL for bad salt.
25299 * crypt/crypt_util.c (bad_for_salt): New.
25300 (_ufc_setup_salt_r): Check that salt is long enough and within
25301 the specified alphabet.
25302 * crypt/badsalttest.c: New file.
25303 * crypt/Makefile (tests): Add it.
25304 ($(objpfx)badsalttest): New.
25306 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25308 * NEWS: Add entry for BZ #14602.
25310 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25312 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25314 * math/libm-test.inc: Update comment listing what functions and
25316 (isgreater_test): New function.
25317 (isgreaterequal_test): Likewise.
25318 (isless_test): Likewise.
25319 (islessequal_test): Likewise.
25320 (islessgreater_test): Likewise.
25321 (isunordered_test): Likewise.
25322 (main): Call the new functions.
25324 2012-10-09 Roland McGrath <roland@hack.frob.com>
25326 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25327 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25328 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25329 * sysdeps/i386/configure: Regenerated.
25330 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25331 * sysdeps/mach/configure: Regenerated.
25332 * sysdeps/mach/hurd/configure: Regenerated.
25333 * sysdeps/powerpc/configure: Regenerated.
25334 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25335 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25336 * sysdeps/s390/s390-32/configure: Regenerated.
25337 * sysdeps/s390/s390-64/configure: Regenerated.
25338 * sysdeps/sh/configure: Regenerated.
25339 * sysdeps/sparc/configure: Regenerated.
25340 * sysdeps/unix/sysv/linux/configure: Regenerated.
25341 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25342 * sysdeps/x86_64/configure: Regenerated.
25344 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25345 defined. Don't check if MAP is NULL.
25347 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25349 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25350 (_G_stat64): Likewise.
25351 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25352 (_G_stat64): Likewise.
25353 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25354 instead of struct _G_stat64.
25355 * libio/fileops.c (mmap_remap_check): Likewise.
25356 (decide_maybe_mmap): Likewise.
25357 (_IO_new_file_seekoff): Likewise.
25358 (_IO_file_stat): Likewise.
25359 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25361 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25362 instead of struct _G_stat64.
25363 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25365 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25368 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25370 (CHECK_EOL): New macro.
25371 (two_way_short_needle): Check beginning of haystack for EOL. Use
25373 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25374 Replace with CHECK_EOL.
25375 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25376 Replace with CHECK_EOL.
25378 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25380 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25382 * math/libm-test.inc: Update comment listing what functions and
25384 (finite_test): New function.
25385 (isinf_test): Likewise.
25386 (isnan_test): Likewise.
25387 (fpclassify_test): Test subnormal input.
25388 (isfinite_test): Likewise.
25389 (isnormal_test): Likewise.
25390 (main): Call the new functions.
25392 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25395 * Makerules (%.dynsym): Force C locale when running
25396 $(OBJDUMP) --dynamic-syms.
25398 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25400 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25403 2012-10-06 David S. Miller <davem@davemloft.net>
25405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25406 upper 32-bits of the length value in %o2 since we use branch-on-register
25407 tests which consider the entire 64-bit register.
25409 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25411 * string/test-strstr.c (check2): Add a test for page boundary.
25413 2012-10-05 David S. Miller <davem@davemloft.net>
25415 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25416 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25418 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25420 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25421 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25422 and bzero when HWCAP_SPARC_CRYPTO is present.
25424 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25427 * string/test-strstr.c (check2): New function.
25428 (test_main): Call check2.
25430 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25432 * string/bug-strcasestr1.c (do_test): Moved to ...
25433 * string/test-strcasestr.c (check1): Here. New function.
25434 (do_one_test): Break out result checking code into ...
25435 (check_result): This. New function.
25436 (do_one_test): Call check_result.
25437 (test_main): Call check1.
25438 * string/bug-strchr1.c (do_test): Moved to ...
25439 * string/test-strchr.c (check1): Here. New function.
25440 (do_one_test): Break out result checking code into ...
25441 (check_result): This. New function.
25442 (do_one_test): Call check_result.
25443 (test_main): Call check1.
25444 * string/bug-strstr1.c (main): Moved to ...
25445 * string/test-strstr.c (check1): Here. New function.
25446 (do_one_test): Break out result checking code into ...
25447 (check_result): This. New function.
25448 (do_one_test): Call check_result.
25449 (test_main): Call check1.
25450 * string/bug-strcasestr1.c: Removed.
25451 * string/bug-strchr1.c: Likewise.
25452 * string/bug-strstr1.c: Likewise.
25454 * elf/Makefile (dl-routines): Add hwcaps.
25455 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25456 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25457 (_dl_important_hwcaps): Moved to ...
25458 * elf/dl-hwcaps.c: Here. New file.
25459 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25462 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25463 if IS_IN_rtld isn't defined.
25465 * elf/dl-support.c (_dl_sysinfo_map): New.
25466 Include "get-dynamic-info.h" and "setup-vdso.h".
25467 (_dl_non_dynamic_init): Call setup_vdso.
25468 * elf/dynamic-link.h: Don't include <assert.h>.
25469 (elf_get_dynamic_info): Moved to ...
25470 * elf/get-dynamic-info.h: Here. New file.
25471 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25472 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25473 * elf/setup-vdso.h: Here. New file.
25474 * elf/rtld.c: Include "setup-vdso.h".
25475 (dl_main): Call setup_vdso.
25477 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25479 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25480 creal in comment listing functions tested. List finite, isinf,
25481 isnan, isless, islessequal, isgreater, isgreaterequal,
25482 islessgreater, isunordered, lgamma_r and pow10 as functions and
25483 macros not tested. Mention which functions not tested are aliases
25484 for other functions. Fix typo. Note that signs of NaNs are not
25487 * scripts/config.guess: Update from config.git.
25488 * scripts/config.sub: Likewise.
25490 2012-10-04 Roland McGrath <roland@hack.frob.com>
25492 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25493 * misc/madvise.c (madvise): Renamed to __madvise.
25494 Make madvise a weak alias.
25495 * include/sys/mman.h: Declare __madvise.
25496 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25497 * sysdeps/unix/syscalls.list
25498 (madvise): Make __madvise the strong name, and madvise a weak alias.
25499 * sysdeps/unix/sysv/linux/syscalls.list
25500 (madvise, mmap): Remove redundant entries.
25501 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25502 * malloc/malloc.c (mtrim): Likewise.
25503 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25505 2012-10-03 Roland McGrath <roland@hack.frob.com>
25507 * sysdeps/mach/hurd/dl-cache.c: File removed.
25508 * config.h.in (USE_LDCONFIG): New #undef.
25509 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25510 * configure: Regenerated.
25511 * elf/Makefile (dl-routines): Add dl-cache only under
25512 [$(use-ldconfig) = yes].
25513 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25514 cache on [USE_LDCONFIG].
25515 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25517 * elf/rtld.c (dl_main): Likewise.
25519 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25521 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25522 _SC_LEVEL4_CACHE_LINESIZE.
25524 2012-10-03 Roland McGrath <roland@hack.frob.com>
25526 * sysdeps/unix/bsd/confstr.h: File removed.
25528 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25530 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25533 2012-10-02 Roland McGrath <roland@hack.frob.com>
25535 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25536 Make 'mapoff' field ElfW(Off) rather than off_t.
25538 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25540 * nscd/Makefile: Remove nscd-cflags and all its users.
25541 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25542 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25545 * malloc.c (malloc_printerr): Clarify error message.
25547 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25551 Set bit_FMA_Usable if FMA is supported.
25552 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25554 (bit_FMA4_Usable): Updated.
25555 (index_FMA_Usable): New macro.
25556 (CPUID_FMA): Likewise
25557 (HAS_FMA): Defined with bit_FMA_Usable.
25559 2012-10-01 Roland McGrath <roland@hack.frob.com>
25561 * bits/types.h (__swblk_t): Type removed.
25562 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25563 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25564 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25565 (__SWBLK_T_TYPE): Likewise.
25566 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25567 (__SWBLK_T_TYPE): Likewise.
25568 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25569 (__SWBLK_T_TYPE): Likewise.
25570 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25571 (__SWBLK_T_TYPE): Likewise.
25573 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25574 Honza Horak <hhorak@redhat.com>
25576 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25577 (xdr_mapname): Use YPMAXMAP as maxsize.
25578 (xdr_peername): Use YPMAXPEER as maxsize.
25579 (xdr_keydat): Use YPAXRECORD as maxsize.
25580 (xdr_valdat): Use YPMAXRECORD as maxsize.
25582 2012-10-01 Roland McGrath <roland@hack.frob.com>
25584 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25586 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25587 * csu/init-first.c: ... here.
25588 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25589 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25590 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25591 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25592 * sysdeps/i386/init-first.c: File removed.
25593 * sysdeps/sh/init-first.c: File removed.
25595 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25599 if x * y might underflow to zero and z is zero.
25600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25601 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25602 * math/libm-test.inc (min_subnorm_value): New variable.
25603 (fma_test): Add more tests.
25604 (fma_test_towardzero): Likewise.
25605 (fma_test_downward): Likewise
25606 (fma_test_upward): Likewise.
25607 (initialize): Set min_subnorm_value.
25609 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25614 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25615 mode for addition resulting in exact zero.
25616 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25619 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25620 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25621 * math/libm-test.inc (fma_test): Add more tests.
25622 (fma_test_towardzero): New function.
25623 (fma_test_downward): Likewise.
25624 (fma_test_upward): Likewise.
25625 (main): Call the new functions.
25627 2012-09-28 David S. Miller <davem@davemloft.net>
25629 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25631 2012-09-28 Roland McGrath <roland@hack.frob.com>
25633 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25634 instead of SIGALRM.
25636 * sysdeps/gnu/_G_config.h: Moved to ...
25637 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25638 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25639 * sysdeps/generic/_G_config.h: ... here.
25641 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25643 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25645 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25646 Conditionalize target on [libnss_test1.so-version].
25648 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25650 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25651 (elfobjdir): Move out of conditionals.
25653 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25654 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25655 (__nss_lookup_function): Conditionalize label remove_from_tree on
25656 [!DO_STATIC_NSS || SHARED], matching its only use.
25658 2012-09-28 David S. Miller <davem@davemloft.net>
25660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25661 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25663 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25665 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25666 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25667 when HWCAP_SPARC_CRYPTO is present.
25669 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25671 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25673 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25676 * stdio-common/vfprintf.c (process_string_arg): Revert
25679 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25681 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25683 * stdio-common/tst-sprintf.c: Include <locale.h>
25684 (main): Test sprintf's handling of incomplete multibyte
25687 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25689 * elf/dl-runtime.c (VERSYMIDX): Removed.
25690 * elf/dl-version.c (VERSYMIDX): Likewise.
25691 * elf/do-rel.h (VERSYMIDX): Likewise.
25692 (VALIDX): Likewise.
25693 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25694 * elf/rtld.c (VALIDX): Likewise.
25695 (ADDRIDX): Likewise.
25696 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25697 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25698 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25699 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25700 (VALIDX): Likewise.
25701 (ADDRIDX): Likewise.
25703 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25705 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25707 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25710 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25712 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25713 addresses are in the same scope as 192.0.2/24.
25714 * posix/gai.conf: Document new scope table defaults.
25716 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25719 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25720 for ftell. Compute offsets from write pointers instead.
25721 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25723 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25726 * libio/Makefile (tests): New test case tst-fseek.
25727 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25728 combination works in wide mode.
25729 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25730 state when the external buffer state changes.
25732 2012-09-27 David S. Miller <davem@davemloft.net>
25735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25736 pass reloc->r_addend in as the 'high' argument to
25737 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25741 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25743 * rt/tst-aio2.c: Include <pthread.h>.
25744 * rt/tst-aio3.c: Likewise.
25746 2012-09-27 Steve Ellcey <sellcey@mips.com>
25748 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25750 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25752 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25753 contents on [SHARED].
25755 2012-09-26 Marek Polacek <polacek@redhat.com>
25759 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25760 for C++ and GCC <4.3 as well as for non GCC compilers.
25762 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25766 2012-09-25 Roland McGrath <roland@hack.frob.com>
25768 * Makefile.in (all, install): Declare with .PHONY.
25769 Reported by Michael Hope <michael.hope@linaro.org>.
25771 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25773 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25774 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25776 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25778 (sydep_routines): Add the new and the internal functions.
25779 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25780 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25782 (GLIBC_2.17): Add the new function.
25783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25784 (GLIBC_2.17): Likewise.
25785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25786 (GLIBC_2.17): Likewise.
25787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25788 (GLIBC_2.17): Likewise.
25789 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25791 2012-09-25 Alan Modra <amodra@gmail.com>
25793 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25794 Add release barrier before setting once_control to say
25795 initialisation is done. Add hints on lwarx. Use macro in
25797 (clear_once_control): Add release barrier.
25799 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25802 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25804 * math/s_clog10.c (__clog10): Likewise.
25805 * math/s_clog10f.c (__clog10f): Likewise.
25806 * math/s_clog10l.c (__clog10l): Likewise.
25807 * math/s_clogf.c (__clogf): Likewise.
25808 * math/s_clogl.c (__clogl): Likewise.
25809 * math/Makefile (libm-calls): Add x2y2m1.
25810 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25811 (__x2y2m1): Likewise.
25812 (__x2y2m1l): Likewise.
25813 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25814 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25815 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25816 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25817 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25818 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25819 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25820 * sysdeps/i386/fpu/libm-test-ulps: Update.
25821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25824 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25825 int as type of variable DEPTH.
25826 (glob): Use size_t instead of int as type of variables NEWCOUNT
25829 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25831 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25832 Add s_sincosf-sse2.
25833 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25834 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25835 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25836 macros for using routine as __sincosf_ia32.
25837 Use macro for function declaration and weak_alias.
25838 * sysdeps/i386/fpu/libm-test-ulps: Update.
25840 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25843 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25844 subnormal argument.
25845 * math/s_cexpf.c (__cexpf): Likewise.
25846 * math/s_csinf.c (__csinf): Likewise.
25847 * math/s_csinhf.c (__csinhf): Likewise.
25848 * math/s_ctanf.c (__ctanf): Likewise.
25849 * math/s_ctanhf.c (__ctanhf): Likewise.
25850 * math/s_ccosh.c (__ccoshf): Likewise.
25851 * math/s_cexp.c (__cexpl): Likewise.
25852 * math/s_csin.c (__csin): Likewise.
25853 * math/s_csinh.c (__csinh): Likewise.
25854 * math/s_ctan.c (__ctan): Likewise.
25855 * math/s_ctanh.c (ctanh): Likewise.
25856 * math/s_ccoshl.c (__ccoshl): Likewise.
25857 * math/s_cexpl.c (__cexpl): Likewise.
25858 * math/s_csinl.c (__csinl): Likewise.
25859 * math/s_csinhl.c (__csinhl): Likewise.
25860 * math/s_ctanl.c (__ctanl): Likewise.
25861 * math/s_ctanhl.c (__ctanhl): Likewise.
25863 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25865 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25866 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25867 (_IO_off_t): Define to __off_t, not _G_off_t.
25868 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25869 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25870 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25871 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25872 type of __dummy and __dummy2 fields.
25873 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25874 (_G_ssize_t): Likewise.
25875 (_G_off_t): Likewise.
25876 (_G_pid_t): Likewise.
25877 (_G_uid_t): Likewise.
25878 (_G_wchar_t): Likewise.
25879 (_G_wint_t): Likewise.
25880 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25881 (_G_ssize_t): Likewise.
25882 (_G_off_t): Likewise.
25883 (_G_pid_t): Likewise.
25884 (_G_uid_t): Likewise.
25885 (_G_wchar_t): Likewise.
25886 (_G_wint_t): Likewise.
25887 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25888 (_G_ssize_t): Likewise.
25889 (_G_off_t): Likewise.
25890 (_G_pid_t): Likewise.
25891 (_G_uid_t): Likewise.
25892 (_G_wchar_t): Likewise.
25893 (_G_wint_t): Likewise.
25895 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25897 * malloc/arena.c: Include malloc-sysdep.h.
25898 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25899 is sufficient to shrink the heap or an unmap is needed.
25900 * sysdeps/generic/malloc-sysdep.h: New file. Define
25901 new function check_may_shrink_heap.
25902 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25903 new function check_may_shrink_heap.
25905 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25907 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25910 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25912 * catgets/test-gencat.sh: Add "set -e".
25913 * elf/tst-pathopt.sh: Likewise.
25914 * grp/tst_fgetgrent.sh: Likewise.
25915 * iconvdata/run-iconv-test.sh: Likewise.
25916 * intl/tst-gettext.sh: Likewise.
25917 * intl/tst-gettext2.sh: Likewise.
25918 * intl/tst-gettext4.sh: Likewise.
25919 * intl/tst-gettext6.sh: Likewise.
25920 * intl/tst-translit.sh: Likewise.
25921 * io/ftwtest-sh: Likewise.
25922 * libio/test-freopen.sh: Likewise.
25923 * malloc/tst-mtrace.sh: Likewise.
25924 * posix/globtest.sh: Likewise.
25925 * posix/tst-getconf.sh: Likewise.
25926 * posix/wordexp-tst.sh: Likewise.
25927 * stdio-common/tst-printf.sh: Likewise.
25928 * stdio-common/tst-unbputc.sh: Likewise.
25929 * stdlib/tst-fmtmsg.sh: Likewise.
25930 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25931 * catgets/Makefile: Do not specify -e option when running
25932 testsuite shell scripts.
25933 * elf/Makefile: Likewise.
25934 * grp/Makefile: Likewise.
25935 * iconvdata/Makefile: Likewise.
25936 * intl/Makefile: Likewise.
25937 * io/Makefile: Likewise.
25938 * libio/Makefile: Likewise.
25939 * malloc/Makefile: Likewise.
25940 * posix/Makefile: Likewise.
25941 * stdio-common/Makefile: Likewise.
25942 * stdlib/Makefile: Likewise.
25943 * sysdeps/x86_64/Makefile: Likewise.
25945 * io/ftwtest-sh: Add copyright header.
25946 * posix/globtest.sh: Likewise.
25947 * posix/tst-getconf.sh: Likewise.
25948 * posix/wordexp-tst.sh: Likewise.
25949 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25951 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25954 * Makeconfig (+link): Defined as $(+link-static) if
25955 $(build-shared) isn't yes.
25956 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25958 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25960 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25963 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25964 new chunk size with MALLOC_ALIGN_MASK.
25966 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25969 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25971 (__printf_fphex): Determine rounding using get_rounding_mode and
25973 * stdio-common/tst-printf-round.c (struct hex_test): New
25975 (hex_tests): New variable.
25976 (test_hex_in_one_mode): New function.
25977 (do_test): Also run tests for hex float output.
25979 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25981 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25982 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25983 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25984 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25985 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25986 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25987 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25988 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25990 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25992 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25993 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25994 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25995 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25997 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26000 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26002 * elf/tst-rtld-load-self.sh: New test.
26003 * elf/Makefile: Run it.
26005 2012-09-18 Joseph Myers <joseph@codesourcery.com>
26007 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26008 (tst-writev-ENV): Remove.
26009 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26011 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26013 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26015 2012-09-17 Joseph Myers <joseph@codesourcery.com>
26017 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26019 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26021 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26022 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26023 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26026 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26029 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26030 * config.make.in (have-cpp-asm-debuginfo): Removed.
26031 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26032 * configure: Regenerated.
26034 2012-09-14 Joseph Myers <joseph@codesourcery.com>
26037 * stdio-common/printf_fp.c: Include <stdbool.h> and
26039 (___printf_fp): Determine rounding using get_rounding_mode and
26041 * stdio-common/tst-printf-round.c: New file.
26042 * stdio-common/Makefile (tests): Add tst-printf-round.
26043 (link-libm): New variable.
26044 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26046 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26049 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26050 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26052 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26055 2012-09-13 Joseph Myers <joseph@codesourcery.com>
26057 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26058 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26059 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26060 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26062 2012-09-12 Joseph Myers <joseph@codesourcery.com>
26065 * include/rounding-mode.h: New file.
26066 * sysdeps/generic/get-rounding-mode.h: Likewise.
26067 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26068 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26069 (MAX_VALUE): New macro.
26070 (MIN_VALUE): Likewise.
26071 (overflow_value): New function.
26072 (underflow_value): Likewise.
26073 (round_and_return): Use overflow_value and underflow_value to
26074 determine return values in overflow and underflow cases. Use
26075 round_away to determine rounding depending on rounding mode.
26076 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26077 determine return values in overflow and underflow cases.
26078 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26079 (struct test_results): New structure.
26080 (struct test): Use struct test_results to store expected results
26081 for all rounding modes.
26082 (TEST): Include expected results for all rounding modes.
26083 (test_in_one_mode): New function.
26084 (do_test): Use test_in_one_mode to compute and check results.
26085 Check results for all rounding modes.
26086 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26089 2012-12-09 Allan McRae <allan@archlinux.org>
26091 * sysdeps/i386/fpu/libm-test-ulps: Update
26093 2012-09-11 Joseph Myers <joseph@codesourcery.com>
26095 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26096 (_G_int32_t): Likewise.
26097 (_G_uint16_t): Likewise.
26098 (_G_uint32_t): Likewise.
26099 (_G_HAVE_BOOL): Likewise.
26100 (_G_HAVE_ATEXIT): Likewise.
26101 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26102 (_G_HAVE_IO_FILE_OPEN): Likewise.
26103 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26104 (_G_int32_t): Likewise.
26105 (_G_uint16_t): Likewise.
26106 (_G_uint32_t): Likewise.
26107 (_G_HAVE_BOOL): Likewise.
26108 (_G_HAVE_ATEXIT): Likewise.
26109 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26110 (_G_HAVE_IO_FILE_OPEN): Likewise.
26111 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26112 (_G_int32_t): Likewise.
26113 (_G_uint16_t): Likewise.
26114 (_G_uint32_t): Likewise.
26115 (_G_HAVE_BOOL): Likewise.
26116 (_G_HAVE_ATEXIT): Likewise.
26117 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26118 (_G_HAVE_IO_FILE_OPEN): Likewise.
26120 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26122 * csu/libc-tls.c: Update copyright years.
26124 2012-09-10 Joseph Myers <joseph@codesourcery.com>
26126 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26127 [!_G_USING_THUNKS]: Remove conditional code.
26128 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26129 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26131 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26132 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26133 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26134 (_G_VTABLE_LABEL_PREFIX): Likewise.
26135 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26136 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26137 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26138 (_G_VTABLE_LABEL_PREFIX): Likewise.
26139 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26140 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26141 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26142 (_G_VTABLE_LABEL_PREFIX): Likewise.
26143 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26145 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26147 * libio/Makefile: Include ../Makeconfig before tests.
26148 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26149 only if $(build-shared) is yes.
26151 * iconv/gconv_db.c: Update copyright years.
26153 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26155 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26156 unwind info if defined PIC. Fix special cases description.
26157 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26159 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26161 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26163 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26165 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26167 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26170 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26171 (LDLIBS-tst-chk4): This.
26172 (LDFLAGS-tst-chk5): Renamed to ...
26173 (LDLIBS-tst-chk5): This.
26174 (LDFLAGS-tst-chk6): Renamed to ...
26175 (LDLIBS-tst-chk6): This.
26176 (LDFLAGS-tst-lfschk4): Renamed to ...
26177 (LDLIBS-tst-lfschk4): This.
26178 (LDFLAGS-tst-lfschk5): Renamed to ...
26179 (LDLIBS-tst-lfschk5): This.
26180 (LDFLAGS-tst-lfschk6): Renamed to ...
26181 (LDLIBS-tst-lfschk6): This.
26183 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26184 on $(common-objpfx)soversions.mk.
26186 2012-09-07 Joseph Myers <joseph@codesourcery.com>
26189 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26192 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26194 * malloc/arena.c (arena_get_retry): New function that gets
26195 another arena for the caller to try its request on.
26196 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26197 current arena cannot fulfill the request.
26198 (__libc_memalign): Likewise.
26199 (__libc_memalign): Likewise.
26200 (__libc_pvalloc): Likewise.
26201 (__libc_calloc): Likewise.
26203 2012-09-05 John Tobey <john.tobey@gmail.com>
26206 * manual/arith.texi (Operations on Complex): Fix description
26207 of carg branch cut.
26209 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26212 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26216 * manual/memory.texi (Memory): Make order of menu items match
26219 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26221 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26222 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26223 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26225 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26227 * csu/libc-tls.c (static_dtv): Renamed to ...
26228 (_dl_static_dtv): This. Make it global.
26229 (_dl_initial_dtv): Removed.
26230 (__libc_setup_tls): Updated.
26231 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26232 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26235 2012-09-06 Petr Machata <pmachata@redhat.com>
26237 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26238 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26239 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26240 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26242 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26245 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26246 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26249 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26252 * Makeconfig (link-static-before-libc): Replace $(+prector)
26254 (link-static-after-libc): Replace $(+postctor) with
26256 (link-bounded): Replace $(+prector)/$(+postctor) with
26257 $(+prectorT)/$(+postctorT).
26258 (+prectorT): New macro.
26259 (+postctorT): Likewise.
26261 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26263 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26264 (round_str): Handle values above the maximum for IBM long double
26266 * stdlib/tst-strtod-round.c (tests): Regenerated.
26268 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26270 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26272 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26273 zarch_nohighgprs around the zarch optimized routines.
26274 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26275 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26276 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26279 2012-09-05 David S. Miller <davem@davemloft.net>
26281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26283 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26284 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26285 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26286 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26289 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26291 * malloc/arena.c: Fold copyright years.
26292 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26294 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26296 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26298 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26300 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26302 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26304 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26305 change internal state upon failure.
26307 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26309 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26310 * malloc/memusage.c (mmap): Likewise.
26311 (mmap64, mremap): Likewise. Adjust name in comment.
26313 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26315 * libio/fileops.c: Fix typos in comments.
26316 * libio/oldfileops.c: Likewise.
26317 * libio/wfileops.c: Likewise.
26319 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26322 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26323 (tst-malloc-usable-ENV): Set environment for test case.
26324 * malloc/hooks.c (malloc_check_get_size): New function to get
26326 * malloc/malloc.c (musable): Use malloc_check_get_size.
26327 * malloc/tst-malloc-usable.c: New test case.
26329 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26331 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26333 2012-09-05 Allan McRae <allan@archlinux.org>
26336 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26337 determine header location.
26338 * configure: Regenerated.
26340 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26342 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26344 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26345 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26347 (test): Regenerate.
26349 2012-09-04 David S. Miller <davem@davemloft.net>
26351 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26352 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26353 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26355 2012-09-04 Florian Weimer <fweimer@redhat.com>
26357 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26360 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26362 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26365 * libio/iogetdelim.c: Include <limits.h>.
26366 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26367 + len + 1 would overflow.
26369 2012-09-03 Andreas Jaeger <aj@suse.de>
26371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26372 * sysdeps/i386/fpu/libm-test-ulps: Update.
26374 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26376 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26377 Add s_sinf-sse2, s_conf-sse2.
26379 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26380 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26381 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26382 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26384 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26385 for using routine as __sinf_ia32.
26386 Use macro for function declaration and weak_alias.
26387 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26388 for using routine as __cosf_ia32.
26389 Use macro for function declaration and weak_alias.
26391 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26392 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26394 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26395 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26398 * math/libm-test.inc (cos_test): Add more test cases.
26399 (sin_test): Likewise.
26400 (sincos_test): Likewise.
26402 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26404 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26405 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26407 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26409 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26412 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26413 first element of the GOT.
26414 (elf_machine_load_address): Return the difference between
26415 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26417 2012-09-01 Allan McRae <allan@archlinux.org>
26420 * configure.in (AWK): Require gawk version 3.0 or later.
26421 * configure: Regenerated.
26423 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26425 * sysdeps/unix/sysv/linux/kernel-features.h
26426 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26427 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26428 [__NR_clock_getres]: Make code unconditional.
26429 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26430 (clock_getcpuclockid): Remove code left unreachable by removal of
26432 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26433 code unconditional.
26434 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26435 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26436 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26437 Make code unconditional.
26438 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26439 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26440 * sysdeps/unix/sysv/linux/clock_settime.c
26441 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26443 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26444 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26446 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26449 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26450 scripts/test-installation.pl.
26452 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26453 and $ld_so_version if it is set.
26455 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26458 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26459 failure if reading from procfs failed.
26460 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26462 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26464 * sysdeps/unix/sysv/linux/kernel-features.h
26465 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26466 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26467 Remove conditional code.
26468 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26469 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26470 Remove conditional code.
26471 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26472 * sysdeps/unix/sysv/linux/i386/fxstat.c
26473 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26474 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26475 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26476 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26477 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26478 * sysdeps/unix/sysv/linux/i386/lxstat.c
26479 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26480 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26481 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26482 Remove conditional code.
26483 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26484 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26485 Remove conditional code.
26486 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26487 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26488 <kernel-features.h>.
26489 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26491 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26492 Remove conditional code.
26493 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26494 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26495 Remove conditional.
26497 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26500 * NEWS: Add fixed bug number.
26502 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26505 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26506 underflowing exponent in case of negative sign.
26507 * stdlib/tst-strtod-round-data: Add more tests.
26508 * stdlib/tst-strtod-round.c (tests): Regenerated.
26511 * stdlib/strtod_l.c (NDIG): Remove.
26512 (HEXNDIG): Likewise.
26513 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26514 smallest representable value.
26515 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26516 lie within an exact representation of 1/2 ulp of the result.
26517 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26519 (TENS_P9_IDX): Define unconditionally.
26520 (TENS_P9_SIZE): Likewise.
26521 (TENS_P10_IDX): Likewise.
26522 (TENS_P10_SIZE): Likewise.
26523 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26524 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26525 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26526 entries for 10^2^13 and 10^2^14.
26527 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26528 (TENS_P13_IDX): Define.
26529 (TENS_P13_SIZE): Likewise.
26530 (TENS_P14_IDX): Likewise.
26531 (TENS_P14_SIZE): Likewise.
26532 (_fpioconst_pow10): Change array size to
26533 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26535 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26536 1024]: Add entries for 10^2^13 and 10^2^14.
26537 [LAST_POW10 > _LAST_POW10]: Remove #error.
26538 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26539 (_fpioconst_pow10): Change array size to
26540 FPIOCONST_POW10_ARRAY_SIZE.
26541 * stdlib/gen-fpioconst.c: New file.
26542 * stdlib/gen-tst-strtod-round.c: Likewise.
26543 * stdlib/tst-strtod-round-data: Likewise.
26544 * stdlib/tst-strtod-round.c: Likewise.
26545 * stdlib/Makefile (tests): Add tst-strtod-round.
26548 * stdlib/strtod_l.c: Include <stdint.h>.
26549 (NDEBUG): Do not define.
26550 (round_and_return): Change EXPONENT parameter to type intmax_t.
26551 Rearrange calculations to avoid internal overflow possibilities.
26552 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26553 Rearrange calculations to avoid internal overflow possibilities.
26554 Assert that number fits inside MPNSIZE limbs.
26555 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26556 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26557 calculations and add assertions to avoid internal overflow
26558 possibilities. Add casts to avoid signed/unsigned operations.
26559 * stdlib/tst-strtod-overflow.c: New file.
26560 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26562 2012-08-25 Marek Polacek <polacek@redhat.com>
26564 * time/time.h: Fix some typos in comments.
26566 2012-08-23 Roland McGrath <roland@hack.frob.com>
26568 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26569 * posix/tst-rfc3484-2.c: Likewise.
26570 * posix/tst-rfc3484-3.c: Likewise.
26572 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26574 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26575 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26577 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26579 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26580 #include of fxstatat64.c.
26582 2012-08-22 Roland McGrath <roland@hack.frob.com>
26584 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26585 * shadow/getspent_r.c: Likewise.
26586 * shadow/getspnam.c: Likewise.
26587 * shadow/getspnam_r.c: Likewise.
26588 * gshadow/getsgent.c: Likewise.
26589 * gshadow/getsgent_r.c: Likewise.
26590 * gshadow/getsgnam.c: Likewise.
26591 * gshadow/getsgnam_r.c: Likewise.
26592 * inet/getnetbyad.c: Likewise.
26593 * inet/getnetbyad_r.c: Likewise.
26594 * inet/getnetbynm.c: Likewise.
26595 * inet/getnetbynm_r.c: Likewise.
26596 * inet/getnetent.c: Likewise.
26597 * inet/getnetent_r.c: Likewise.
26598 * inet/getproto.c: Likewise.
26599 * inet/getproto_r.c: Likewise.
26600 * inet/getprtent.c: Likewise.
26601 * inet/getprtent_r.c: Likewise.
26602 * inet/getprtname.c: Likewise.
26603 * inet/getprtname_r.c: Likewise.
26604 * inet/getrpcbyname.c: Likewise.
26605 * inet/getrpcbyname_r.c: Likewise.
26606 * inet/getrpcbynumber.c: Likewise.
26607 * inet/getrpcbynumber_r.c: Likewise.
26608 * inet/getrpcent.c: Likewise.
26609 * inet/getrpcent_r.c: Likewise.
26610 * inet/getaliasent.c: Likewise.
26611 * inet/getaliasent_r.c: Likewise.
26612 * inet/getaliasname.c: Likewise.
26613 * inet/getaliasname_r.c: Likewise.
26614 * nscd/getgrgid_r.c: Likewise.
26615 * nscd/getgrnam_r.c: Likewise.
26616 * nscd/gethstbyad_r.c: Likewise.
26617 * nscd/gethstbynm3_r.c: Likewise.
26618 * nscd/getpwnam_r.c: Likewise.
26619 * nscd/getpwuid_r.c: Likewise.
26620 * nscd/getsrvbynm_r.c: Likewise.
26621 * nscd/getsrvbypt_r.c: Likewise.
26622 * nscd/gai.c: Likewise.
26624 * configure.in (build_nscd): New substituted variable, set
26625 by --disable-build-nscd and defaults to $use_nscd.
26626 * configure: Regenerated.
26627 * config.make.in (build-nscd): New substituted variable.
26628 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26629 Change conditional to require [$(build-nscd) = yes] as well.
26630 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26633 * configure.in (use_nscd): New substituted variable, set by
26634 --disable-nscd. If enabled, define USE_NSCD.
26635 * configure: Regenerated.
26636 * config.h.in: Add USE_NSCD.
26637 * config.make.in (use-nscd): New substituted variable.
26638 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26639 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26640 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26641 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26642 (CFLAGS-getgrnam_r.c): Likewise.
26643 (CFLAGS-initgroups.c): Likewise.
26644 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26645 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26647 * inet/getnetgrent_r.c
26648 (nscd_setnetgrent): New function, broken out of ...
26649 (setnetgrent): ... here. Call it.
26650 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26651 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26652 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26653 * nscd/Makefile (routines, aux): Move definitions after include of
26654 Makeconfig. Conditionalize on [$(use-nscd) != no].
26655 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26656 Conditionalize on [USE_NSCD].
26657 (is_nscd, nscd_init_cb): Likewise.
26658 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26659 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26660 * nss/nss_db/db-init.c: Likewise.
26661 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26663 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26664 (make_request): Use it.
26665 (cache_valid_p): New function.
26666 (__check_pf): Use it.
26667 * NEWS: Add item for --disable-nscd.
26669 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26671 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26672 to support sed >= 4.2.1-20-ga9bf076.
26673 * configure: Regenerated.
26675 2012-08-22 Roland McGrath <roland@hack.frob.com>
26677 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26678 Conditionalize whole body on [IREL].
26680 2012-08-22 Jeff Law <law@redhat.com>
26683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26684 if the family is PF_UNSPEC.
26686 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26688 * Makerules (lib-version): Rename from V.
26689 (install-lib-nosubdir): Change V to lib-version.
26691 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26694 * powerpc32/power6/wcschr.c: New file.
26695 * powerpc32/power6/wcscpy.c: New file.
26696 * powerpc32/power6/wcsrchr.c: New file.
26697 * powerpc64/power6/wcschr.c: New file.
26698 * powerpc64/power6/wcscpy.c: New file.
26699 * powerpc64/power6/wcsrchr.c: New file.
26701 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26703 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26704 (two_way_short_needle): Use it.
26705 * string/strstr.c (AVAILABLE1_USES_J): Define.
26706 * string/strcasestr.c: Likewise.
26708 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26710 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26713 * NEWS: Add an entry.
26714 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26715 define their defaults.
26716 (two_way_short_needle): Detect end-of-string on-the-fly.
26717 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26718 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26719 * string/bug-strcasestr1.c: New test.
26720 * string/Makefile: Run it.
26722 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26725 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26726 the first character.
26728 2012-08-21 Roland McGrath <roland@hack.frob.com>
26730 * csu/elf-init.c (__libc_csu_irel): Function removed.
26731 * csu/libc-start.c (apply_irel): New function.
26732 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26734 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26736 * sysdeps/unix/sysv/linux/kernel-features.h
26737 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26738 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26739 <kernel-features.h>.
26740 [__NR_fadvise64_64]: Make code unconditional.
26741 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26742 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26743 !__NR_fadvise64_64)]: Likewise.
26744 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26745 !__NR_fadvise64_64))]: Likewise.
26746 [__NR_fadvise64]: Make code unconditional.
26747 [!__NR_fadvise64]: Remove conditional code.
26748 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26749 <kernel-features.h>.
26750 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26752 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26755 not include <kernel-features.h>.
26756 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26758 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26760 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26761 include <kernel-features.h>.
26762 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26764 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26767 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26769 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26770 slight instruction rearrangements per scrollpipe analysis.
26771 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26773 2012-08-20 Roland McGrath <roland@hack.frob.com>
26775 * manual/syslog.texi (syslog; vsyslog, closelog):
26776 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26777 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26779 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26780 DSOCAPS to match condition on defining it.
26782 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26784 * sysdeps/unix/sysv/linux/kernel-features.h
26785 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26787 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26788 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26790 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26791 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26793 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26794 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26796 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26797 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26799 * sysdeps/unix/sysv/linux/kernel-features.h
26800 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26801 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26803 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26804 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26805 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26806 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26807 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26808 Make code unconditional.
26809 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26810 (__mmap64) [!__NR_mmap2]: Likewise.
26811 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26812 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26813 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26814 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26815 [__NR_mmap2]: Make code unconditional.
26816 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26817 (__mmap64) [!__NR_mmap2]: Likewise.
26819 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26821 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26823 2012-08-18 Andreas Jaeger <aj@suse.de>
26825 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26827 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26829 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26830 * include/unistd.h (__have_sock_cloexec): Likewise.
26831 (__have_pipe2): Likewise.
26832 (__have_dup3): Likewise.
26834 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26837 * include/unistd.h (__have_pipe2): Change define into an extern int.
26838 (__have_dup3): Likewise.
26839 * socket/have_sock_cloexec.c: Include fcntl.h.
26840 (__have_pipe2): New variable.
26841 (__have_dup3): Likewise.
26843 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26845 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26847 2012-08-17 Marek Polacek <polacek@redhat.com>
26849 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26850 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26852 2012-08-17 Roland McGrath <roland@hack.frob.com>
26854 * configure.in: Add AC_SUBST for sysheaders.
26855 * configure: Regenerated.
26856 * config.make.in (sysheaders): New substituted variable.
26858 * sysdeps/unix/mkfifo.c: Moved ...
26859 * sysdeps/posix/mkfifo.c: ... here.
26860 * sysdeps/unix/mkfifoat.c: Moved ...
26861 * sysdeps/posix/mkfifoat.c: ... here.
26863 * sysdeps/unix/utime.c: Moved ...
26864 * sysdeps/posix/utime.c: ... here.
26866 * sysdeps/unix/time.c: Moved ...
26867 * sysdeps/posix/time.c: ... here.
26868 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26869 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26871 * sysdeps/unix/nice.c: Moved ...
26872 * sysdeps/posix/nice.c: ... here.
26874 * sysdeps/unix/alarm.c: Moved ...
26875 * sysdeps/posix/alarm.c: ... here.
26877 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26879 2012-08-17 Jeff Law <law@redhat.com>
26881 * intl/Makefile (codeset_mo): New variable.
26882 ($(codeset_mo)): New target.
26883 (tst-codeset.out): Depend on that. Remove explicit rule.
26884 (tst-gettext3.out, tst-gettext5.out): Likewise.
26885 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26886 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26887 * intl/tst-codeset.sh: Remove.
26888 * intl/tst-gettext3.sh: Likewise.
26889 * intl/tst-gettext5.sh: Likewise.
26891 2012-08-17 Roland McGrath <roland@hack.frob.com>
26893 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26894 * sysdeps/unix/syscalls.list: ... here.
26896 * sysdeps/posix/getaddrinfo.c
26897 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26898 (gaiconf_init, gaiconf_reload): Use them.
26899 [!_STATBUF_ST_NSEC]
26900 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26901 Define using time_t rather than struct timespec.
26903 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26904 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26906 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26908 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26909 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26912 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26913 __libc_cleanup_push argument.
26915 * bits/param.h: New file.
26916 * misc/sys/param.h: New file.
26917 * include/sys/param.h: New file.
26918 * misc/Makefile (headers): Add bits/param.h.
26919 * sysdeps/generic/sys/param.h: File removed.
26920 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26921 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26922 * sysdeps/mach/hurd/bits/param.h: New file.
26923 * sysdeps/mach/hurd/sys/param.h: File removed.
26925 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26928 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26930 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26931 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26934 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26935 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26936 rather than -D_IO_MTSAFE_IO conditionally.
26937 * stdio-common/Makefile (CPPFLAGS): Likewise.
26938 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26939 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26940 Use $(libio-mtsafe).
26941 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26942 of -D_IO_MTSAFE_IO.
26943 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26944 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26945 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26946 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26947 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26948 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26949 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26950 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26951 (CFLAGS-fread_u_chk.c): Likewise.
26952 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26953 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26954 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26955 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26956 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26957 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26958 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26959 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26960 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26962 * libio/Makefile: Test [$(libc-reentrant) = yes]
26963 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26966 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26967 * sysdeps/pthread/configure: File removed.
26968 * sysdeps/pthread/Makeconfig: New file.
26969 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26970 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26972 2012-08-16 Gary Benson <gbenson@redhat.com>
26974 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26975 unmapping the first object in a namespace.
26977 2012-08-16 Roland McGrath <roland@hack.frob.com>
26979 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26980 (__internal_setnetgrent): ... this. Add internal_function to
26981 definition. Add libc_hidden_def.
26982 (setnetgrent): Update caller.
26983 (internal_endnetgrent): Renamed to ...
26984 (__internal_endnetgrent): ... this. Add internal_function to
26985 definition. Add libc_hidden_def.
26986 (endnetgrent): Update caller.
26987 (internal_getnetgrent_r): Renamed to ...
26988 (__internal_getnetgrent_r): ... this. Add internal_function to
26989 definition. Add libc_hidden_def.
26990 (__getnetgrent_r): Update caller.
26991 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26993 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26995 * stdlib/longlong.h: Update from GCC.
26997 2012-08-16 Roland McGrath <roland@hack.frob.com>
26999 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27000 on _QL, which is set by umul_ppmm but never used.
27001 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27002 variables, which are set by GMP macros but never used.
27003 * stdio-common/_itowa.c (_itowa): Likewise.
27004 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27005 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27007 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27009 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27010 struct La_sh_regs is not constant.
27011 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27012 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27013 and struct La_sparc64_regs are not constant.
27015 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27017 * sysdeps/unix/sysv/linux/kernel-features.h
27018 (__ASSUME_POSIX_TIMERS): Remove.
27019 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27020 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27021 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27022 Make code unconditional.
27023 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27024 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27025 Make code unconditional.
27026 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27027 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27028 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27029 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27030 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27031 Make code unconditional.
27032 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27033 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27034 (__libc_missing_posix_timers): Remove.
27036 2012-08-15 Roland McGrath <roland@hack.frob.com>
27038 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27039 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27041 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27043 * elf/dl-sym.c: Include <stdlib.h>.
27045 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27046 constants, which avoids warnings in 32-bit builds.
27048 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27049 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27051 * misc/lseek.c: File moved to ...
27052 * io/lseek.c: ... here.
27054 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27056 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27057 shifting LEN more than 31 bits at once.
27059 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27062 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27063 segmentation fault for a case of two empty input strings.
27064 * string/test-strncasecmp.c (check1): Renamed to...
27065 (bz12205): ...this.
27066 (bz14195): Add new testcase for two empty input strings and N > 0.
27067 (test_main): Call new testcase, adapt for renamed function.
27069 2012-08-15 Andreas Jaeger <aj@suse.de>
27072 * crypt/md5test2.c: New test, based on test supplied by Serge
27073 Belyshev <belyshev@depni.sinp.msu.ru>.
27074 * crypt/Makefile (xtests): Add md5test-giant..
27075 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27077 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27080 * crypt/md5.c (md5_process_block): Don't assume the buffer
27081 length is less than 2**32.
27082 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27083 length is less than 2**64.
27085 2012-08-15 Roland McGrath <roland@hack.frob.com>
27087 * string/str-two-way.h: Include <sys/param.h>.
27088 (MAX): Macro removed.
27090 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27091 Move #define and #undef of memmove to just before and after
27092 including <string.h>.
27094 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27095 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27096 and after including <string.h>. Move declarations of
27097 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27098 to before #include "string/memmove.c".
27100 * include/dirent.h: Declare __getdirentries.
27102 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27103 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27105 2012-08-14 Mike Frysinger <vapier@gentoo.org>
27107 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27108 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27109 * sysdeps/i386/configure: Regenerated.
27110 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27111 STABS_CURRENT_FILE, and STABS_FUN.
27112 (END): Remove call to STABS_FUN_END.
27113 (STABS_CURRENT_FILE1): Delete.
27114 (STABS_CURRENT_FILE): Likewise.
27115 (STABS_FUN): Likewise.
27116 (STABS_FUN_END): Likewise.
27117 (STABS_FUN2): Likewise.
27118 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27119 * sysdeps/x86_64/configure: Regenerated.
27121 2012-08-14 Roland McGrath <roland@hack.frob.com>
27123 * elf/dl-open.c: Include <atomic.h>.
27124 * elf/dl-lookup.c: Likewise.
27126 2012-08-14 Joseph Myers <joseph@codesourcery.com>
27128 * sysdeps/unix/sysv/linux/kernel-features.h
27129 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27130 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27132 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27134 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27135 condition on __ASSUME_CLONE_THREAD_FLAGS.
27137 2012-08-14 Andreas Jaeger <aj@suse.de>
27139 * sysdeps/i386/fpu/libm-test-ulps: Update.
27141 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27143 * include/atomic.h (atomic_exchange_and_add): Split into ...
27144 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27147 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27151 2012-08-13 Jeff Law <law@redhat.com>
27153 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27154 null byte in the output string.
27156 2012-08-10 Joseph Myers <joseph@codesourcery.com>
27158 * sysdeps/unix/sysv/linux/kernel-features.h
27159 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27160 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27161 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27162 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27163 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27164 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27165 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27167 2012-08-09 Jeff Law <law@redhat.com>
27170 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27171 When avoid_arena is set, don't retry in the that arena. Pick the
27172 next one, whatever it might be.
27173 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27174 (arena_lock): Pass in new parameter to arena_get2.
27175 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27177 (__libc_malloc): Unify retrying after main arena failure with
27178 __libc_memalign version.
27179 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27181 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27184 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27185 to __redirect_strstr.
27186 (__strstr_sse42): Use typeof __redirect_strstr.
27187 (__strstr_ia32): Likewise.
27188 (__libc_strstr): New prototype.
27189 (strstr): Renamed to ...
27190 (__libc_strstr): This.
27191 (strstr): New strong alias of __libc_strstr.
27192 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27193 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27196 (__libc_time): New prototype.
27197 (time_ifunc): Replace time with __libc_time.
27198 (time): New strong alias and hidden definition of __libc_time.
27199 (__GI_time): Remove strong alias.
27200 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27201 Include <stddef.h>.
27202 (memmove): Redefined to __redirect_memmove.
27203 (__memmove_sse2): Use typeof __redirect_memmove.
27204 (__memmove_ssse3): Likewise.
27205 (__memmove_ssse3_back): Likewise.
27206 (__libc_memmove): New prototype.
27207 (memmove): Renamed to ...
27208 (__libc_memmove): This.
27209 (memmove): New strong alias of __libc_memmove.
27211 2012-08-08 Mark Salter <msalter@redhat.com>
27214 (R_MN10300_TLS_GD): Define.
27215 (R_MN10300_TLS_LD): Likewise.
27216 (R_MN10300_TLS_LDO): Likewise.
27217 (R_MN10300_TLS_GOTIE): Likewise.
27218 (R_MN10300_TLS_IE): Likewise.
27219 (R_MN10300_TLS_LE): Likewise.
27220 (R_MN10300_TLS_DTPMOD): Likewise.
27221 (R_MN10300_TLS_DTPOFF): Likewise.
27222 (R_MN10300_TLS_TPOFF): Likewise.
27223 (R_MN10300_SYM_DIFF): Likewise.
27224 (R_MN10300_ALIGN): Likewise.
27225 (R_MN10300_NUM): Update.
27227 2012-08-08 Joseph Myers <joseph@codesourcery.com>
27229 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27232 2012-08-08 Roland McGrath <roland@hack.frob.com>
27234 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27236 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27237 sysdeps/unix -> sysdeps/posix move.
27238 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27240 2012-08-07 Allan McRae <allan@archlinux.org>
27243 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27244 (SUNOS_CPP): Likewise.
27245 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27247 (open_input): Call CPP using execvp.
27249 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27251 * sysdeps/unix/sysv/linux/kernel-features.h
27252 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27253 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27254 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27255 (__ASSUME_WAITID_SYSCALL): Likewise.
27256 * sysdeps/unix/sysv/linux/dl-execstack.c
27257 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27258 code unconditional.
27259 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27261 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27262 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27263 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27265 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27267 [__ASSUME_WAITID_SYSCALL]: Likewise.
27268 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27270 2012-08-07 Roland McGrath <roland@hack.frob.com>
27272 * sysdeps/unix/closedir.c: Renamed to ...
27273 * sysdeps/posix/closedir.c: ... here.
27274 * sysdeps/unix/dirfd.c: Renamed to ...
27275 * sysdeps/posix/dirfd.c: ... here.
27276 * sysdeps/unix/dirstream.h: Renamed to ...
27277 * sysdeps/posix/dirstream.h: ... here.
27278 * sysdeps/unix/fdopendir.c: Renamed to ...
27279 * sysdeps/posix/fdopendir.c: ... here.
27280 * sysdeps/unix/opendir.c: Renamed to ...
27281 * sysdeps/posix/opendir.c: ... here.
27282 * sysdeps/unix/readdir.c: Renamed to ...
27283 * sysdeps/posix/readdir.c: ... here.
27284 * sysdeps/unix/readdir_r.c: Renamed to ...
27285 * sysdeps/posix/readdir_r.c: ... here.
27286 * sysdeps/unix/rewinddir.c: Renamed to ...
27287 * sysdeps/posix/rewinddir.c: ... here.
27288 * sysdeps/unix/seekdir.c: Renamed to ...
27289 * sysdeps/posix/seekdir.c: ... here.
27290 * sysdeps/unix/telldir.c: Renamed to ...
27291 * sysdeps/posix/telldir.c: ... here.
27292 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27293 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27294 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27295 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27297 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27298 * bits/fcntl.h: ... here.
27300 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27302 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27303 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27304 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27305 (struct flock): Move l_start, l_len to the beginning.
27306 Use __pid_t for l_pid.
27307 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27308 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27309 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27310 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27311 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27312 [__USE_LARGEFILE64] (struct flock64): New type.
27313 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27315 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27316 * bits/dirent.h: ... here.
27318 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27319 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27321 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27323 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27324 Change from 2.6.0 to 2.6.16.
27325 * sysdeps/unix/sysv/linux/configure: Regenerated.
27326 * sysdeps/unix/sysv/linux/kernel-features.h
27327 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27328 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27330 (__ASSUME_UTIMES): Likewise.
27331 (__ASSUME_CLONE_STOPPED): Remove.
27332 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27333 architectures, not kernel version.
27334 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27335 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27336 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27337 (__ASSUME_WAITID_SYSCALL): Likewise.
27338 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27339 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27340 * README: State 2.6.16 as minimum Linux kernel version. Do not
27341 refer to older versions.
27343 2012-08-06 Roland McGrath <roland@hack.frob.com>
27345 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27346 Define alphasort64 as an alias.
27347 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27348 Define versionsort64 as an alias.
27349 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27350 Define scandir64 as an alias.
27351 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27352 Define scandirat64 as an alias.
27353 * dirent/alphasort64.c (alphasort64):
27354 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27355 * dirent/versionsort64.c: Likewise.
27356 * dirent/scandir64.c: Likewise.
27357 * dirent/scandirat64.c: Likewise.
27358 * sysdeps/wordsize-64/alphasort.c: File removed.
27359 * sysdeps/wordsize-64/alphasort64.c: File removed.
27360 * sysdeps/wordsize-64/scandir.c: File removed.
27361 * sysdeps/wordsize-64/scandir64.c: File removed.
27362 * sysdeps/wordsize-64/scandirat.c: File removed.
27363 * sysdeps/wordsize-64/scandirat64.c: File removed.
27364 * sysdeps/wordsize-64/versionsort.c: File removed.
27365 * sysdeps/wordsize-64/versionsort64.c: File removed.
27366 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27367 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27368 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27369 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27370 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27371 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27372 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27373 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27375 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27376 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27377 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27378 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27379 [defined __arch64__ || defined __sparcv9]
27380 (__INO_T_MATCHES_INO64_T): New macro.
27381 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27382 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27383 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27384 * sysdeps/unix/sysv/linux/bits/dirent.h
27385 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27386 (_DIRENT_MATCHES_DIRENT64): New macro.
27388 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27389 Define lockf64 as an alias.
27390 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27391 Define fseeko64 as an alias.
27392 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27393 Define ftello64 as an alias.
27394 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27395 Define _IO_fgetpos64 and fgetpos64 as aliases.
27396 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27397 Define _IO_fsetpos64 and fsetpos64 as aliases.
27398 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27399 Conditionalize body on this.
27400 * libio/fseeko64.c: Likewise.
27401 * libio/ftello64.c: Likewise.
27402 * libio/iofgetpos64.c: Likewise.
27403 * libio/iofsetpos64.c: Likewise.
27404 * sysdeps/wordsize-64/lockf.c: File removed.
27405 * sysdeps/wordsize-64/lockf64.c: File removed.
27406 * sysdeps/wordsize-64/fseeko.c: File removed.
27407 * sysdeps/wordsize-64/fseeko64.c: File removed.
27408 * sysdeps/wordsize-64/ftello.c: File removed.
27409 * sysdeps/wordsize-64/ftello64.c: File removed.
27410 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27411 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27412 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27413 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27414 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27415 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27416 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27417 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27418 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27419 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27420 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27421 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27422 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27423 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27425 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27427 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27429 [defined __arch64__ || defined __sparcv9]
27430 (__OFF_T_MATCHES_OFF64_T): New macro.
27431 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27432 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27434 (__OFF_T_MATCHES_OFF64_T): New macro.
27436 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27438 * stdlib/secure-getenv.c (__secure_getenv): Replace
27439 GLIBC_2_16 with GLIBC_2_17.
27441 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27443 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27444 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27446 2012-08-03 David S. Miller <davem@davemloft.net>
27448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27450 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27452 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27454 (__ASSUME_CORRECT_SI_PID): Likewise.
27455 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27456 (__ASSUME_TMPFS_NAME): Likewise.
27457 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27458 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27459 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27460 (HAVE_AUX_SECURE): Make definition unconditional.
27461 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27462 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27464 2012-08-03 Roland McGrath <roland@hack.frob.com>
27466 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27467 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27468 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27469 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27470 __eloop_threshold instead of SYMLOOP_MAX.
27472 * sysdeps/generic/eloop-threshold.h: New file.
27473 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27475 * elf/chroot_canon.c (chroot_canon): Likewise.
27477 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27480 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27481 Change to 2.6.0 everywhere.
27482 * sysdeps/unix/sysv/linux/configure: Regenerated.
27483 * sysdeps/unix/sysv/linux/kernel-features.h
27484 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27485 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27487 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27488 (__ASSUME_FUTEX_REQUEUE): Remove.
27489 (__ASSUME_STATFS64): Define unconditionally.
27490 (__ASSUME_AT_SECURE): Likewise.
27491 (__ASSUME_CORRECT_SI_PID): Likewise.
27492 (__ASSUME_TGKILL): Define without depending on kernel version for
27494 (__ASSUME_UTIMES): Likewise.
27495 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27497 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27498 (__ASSUME_TMPFS_NAME): Likewise.
27499 * README: Update reference to Linux kernel versions.
27501 2012-08-02 Marek Polacek <polacek@redhat.com>
27504 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27505 libc_cv_asm_type_prefix with %.
27506 * configure: Regenerated.
27507 * include/libc-symbols.h: Remove comment about
27508 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27509 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27510 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27511 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27512 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27513 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27514 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27515 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27516 * elf/tst-unique2mod1.c: Likewise.
27517 * elf/tst-unique1mod2.c: Likewise.
27518 * elf/tst-unique1mod1.c: Likewise.
27519 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27520 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27521 Replace ASM_TYPE_DIRECTIVE with .type.
27522 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27523 * sysdeps/i386/sysdep.h: Likewise.
27524 * sysdeps/x86_64/sysdep.h: Likewise.
27525 * sysdeps/sh/sysdep.h: Likewise.
27526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27527 Do not define ASM_TYPE_DIRECTIVE.
27528 * sysdeps/powerpc/sysdep.h: Likewise.
27529 * sysdeps/powerpc/powerpc32/sysdep.h:
27530 Replace ASM_TYPE_DIRECTIVE with .type.
27531 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27532 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27533 * sysdeps/i386/fpu/e_powf.S: Likewise.
27534 * sysdeps/i386/fpu/e_expl.S: Likewise.
27535 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27536 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27537 * sysdeps/i386/fpu/e_pow.S: Likewise.
27538 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27539 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27540 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27541 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27542 * sysdeps/i386/fpu/e_log2.S: Likewise.
27543 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27544 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27545 * sysdeps/i386/fpu/e_powl.S: Likewise.
27546 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27547 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27548 * sysdeps/i386/fpu/e_logl.S: Likewise.
27549 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27550 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27551 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27552 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27553 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27554 * sysdeps/i386/fpu/e_log.S: Likewise.
27555 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27556 * sysdeps/i386/fpu/e_logf.S: Likewise.
27557 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27558 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27559 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27560 * sysdeps/i386/fpu/e_log10.S: Likewise.
27561 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27562 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27563 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27564 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27565 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27566 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27567 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27568 * sysdeps/i386/i686/strtok.S: Likewise.
27569 * sysdeps/i386/i386-mcount.S: Likewise.
27570 * sysdeps/i386/strtok.S: Likewise.
27571 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27572 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27573 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27574 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27575 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27576 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27577 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27578 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27579 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27580 * sysdeps/x86_64/_mcount.S: Likewise.
27581 * sysdeps/x86_64/strtok.S: Likewise.
27582 * sysdeps/sh/_mcount.S: Likewise.
27584 2012-08-01 Roland McGrath <roland@hack.frob.com>
27586 * libio/iofopen.c: Include <fcntl.h>.
27587 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27588 (_IO_fopen64, fopen64): Define as aliases.
27589 * libio/iofopen64.c: Include <fcntl.h>.
27590 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27591 Conditionalize body on this.
27592 * sysdeps/wordsize-64/iofopen.c: File removed.
27593 * sysdeps/wordsize-64/iofopen64.c: File removed.
27595 2012-08-01 Marek Polacek <polacek@redhat.com>
27597 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27598 Use dlfcn directly instead of a variable.
27599 (binfmt-subdir): Do not define.
27602 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27604 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27605 Remove all definitions.
27606 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27607 <kernel-features.h>.
27608 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27609 (miss_F_GETOWN_EX): Remove all definitions.
27610 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27612 [!__ASSUME_FCNTL64]: Remove conditional code.
27613 [__ASSUME_FCNTL64]: Make code unconditional.
27614 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27615 <kernel-features.h>.
27616 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27617 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27618 (lockf64) [__NR_fcntl64]: Make code unconditional.
27619 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27621 * sysdeps/unix/sysv/linux/kernel-features.h
27622 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27623 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27624 Make code unconditional.
27625 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27626 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27628 [__NR_vfork]: Make code unconditional.
27629 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27630 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27632 [__NR_vfork]: Make code unconditional.
27633 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27634 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27636 2012-08-01 Roland McGrath <roland@hack.frob.com>
27638 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27639 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27641 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27642 Define mkstemp64 as an alias.
27643 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27644 Define mkstemps64 as an alias.
27645 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27646 Define mkostemp64 as an alias.
27647 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27648 Define mkostemps64 as an alias.
27649 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27650 Conditionalize body on this.
27651 * misc/mkostemp64.c: Likewise.
27652 * misc/mkostemps64.c: Likewise.
27653 * misc/mkstemps64.c: Likewise.
27654 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27655 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27656 * sysdeps/wordsize-64/mkostemp.c: File removed.
27657 * sysdeps/wordsize-64/mkstemp.c: File removed.
27658 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27659 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27660 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27661 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27664 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27665 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27666 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27667 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27669 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27670 compat_symbol macros from <shlib-compat.h> rather than the underlying
27671 default_symbol_version and symbol_version macros, so that DEFAULT
27672 lines in shlib-versions are respected.
27673 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27675 2012-08-01 Florian Weimer <fweimer@redhat.com>
27677 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27678 Declare with warn_unused_result.
27679 (setgid, setregid, setegid, setresgid): Likewise.
27680 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27682 * WUR-REPORT: Remove set*id functions.
27684 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27686 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27688 2012-07-31 Roland McGrath <roland@hack.frob.com>
27691 * include/sys/socket.h (__libc_accept, __libc_accept4):
27692 Add attribute_hidden.
27693 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27695 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27697 * inet/getnetgrent_r.c (setup): Likewise.
27699 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27701 2012-07-31 David S. Miller <davem@davemloft.net>
27703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27705 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27708 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27709 value between 1.0 and 2.0 and smaller part has absolute value less
27711 * math/s_clog10.c (__clog10): Likewise.
27712 * math/s_clog10f.c (__clog10f): Likewise.
27713 * math/s_clog10l.c (__clog10l): Likewise.
27714 * math/s_clogf.c (__clogf): Likewise.
27715 * math/s_clogl.c (__clogl): Likewise.
27716 * math/libm-test.inc (clog_test): Add more tests.
27717 (clog10_test): Likewise.
27718 * sysdeps/i386/fpu/libm-test-ulps: Update.
27719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27721 2012-07-31 Florian Weimer <fweimer@redhat.com>
27723 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27724 Exit with zero in case no suitable GID is found, and write a
27725 message to standard error.
27727 2012-07-30 Roland McGrath <roland@hack.frob.com>
27729 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27731 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27732 (MAXPATHLEN): Removed.
27733 (NOGROUP, NODEV): New macros.
27734 (setbit, clrbit, isset, isclr): New macros.
27735 (howmany, roundup, powerof2): New macros.
27736 (DEV_BSIZE): New macro.
27738 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27739 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27741 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27742 definition on [!__NO_LONG_DOUBLE_MATH].
27744 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27745 PTR_MANGLE and PTR_DEMANGLE.
27747 * socket/accept4.c (accept4): Rename to __libc_accept4.
27748 Define accept4 as a weak alias.
27750 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27751 on [_DIRENT_HAVE_D_TYPE].
27752 * io/ftw.c (ftw_dir): Likewise.
27754 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27756 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27758 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27759 Use the BSD numbers rather than the arbitrary ones we had.
27760 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27761 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27762 (SIGXCPU, SIGXFSZ): New macros.
27765 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27766 initializer on [_LIBC_REENTRANT].
27768 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27769 definitions inside [_POSIX_MAPPED_FILES].
27771 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27773 * dirent/opendir.c: Include <fcntl.h>.
27775 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27776 (__libc_getspecific): Likewise.
27777 (__libc_key_create): Likewise.
27779 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27780 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27781 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27782 (tmpfile64): Define as alias.
27783 * sysdeps/wordsize-64/tmpfile.c: File removed.
27784 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27785 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27786 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27788 * stdio-common/vfscanf.c: Include <stdbool.h>.
27789 * nss/makedb.c: Likewise.
27790 * stdio-common/_i18n_number.h: Likewise.
27791 * argp/argp-help.c: Likewise.
27792 * posix/wordexp.c: Likewise.
27793 * sysdeps/posix/spawni.c: Likewise.
27794 * nss/nss_files/files-initgroups.c: Likewise.
27795 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27796 * nss/nss_files/files-initgroups.c: Likewise.
27797 * nss/nss_db/db-netgrp.c: Likewise.
27798 * nss/nss_db/db-initgroups.c: Likewise.
27799 * io/fchmodat.c: Include <sys/stat.h>.
27801 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27802 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27804 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27807 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27808 Add multiple inclusion protection.
27810 2012-07-27 David S. Miller <davem@davemloft.net>
27812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27814 2012-07-27 Gary Benson <gbenson@redhat.com>
27817 * elf/rtld.c: Include <stap-probe.h>.
27818 (dl_main): Added static probes "init_start" and "init_complete".
27819 * elf/dl-load.c: Include <stap-probe.h>.
27820 (lose): Take new parameter "nsid".
27821 Added static probe "map_failed".
27822 (_dl_map_object_from_fd): Pass namespace id to lose.
27823 Added static probe "map_start".
27824 (open_verify): Pass namespace id to lose.
27825 * elf/dl-open.c: Include <stap-probe.h>.
27826 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27827 and "reloc_complete".
27828 * elf/dl-close.c: Include <stap-probe.h>.
27829 (_dl_close_worker): Added static probes "unmap_start" and
27831 * elf/rtld-debugger-interface.txt: New file documenting the above.
27833 2012-07-26 Roland McGrath <roland@hack.frob.com>
27835 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27836 rather than a string variable.
27837 * sunrpc/rpc_main.c (h_output): Likewise.
27838 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27840 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27842 * inet/check_native.c: New file.
27844 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27847 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27848 if larger part has absolute value 1.0.
27849 * math/s_clog10.c (__clog10): Likewise.
27850 * math/s_clog10f.c (__clog10f): Likewise.
27851 * math/s_clog10l.c (__clog10l): Likewise.
27852 * math/s_clogf.c (__clogf): Likewise.
27853 * math/s_clogl.c (__clogl): Likewise.
27854 * math/libm-test.inc (clog_test): Add more tests.
27855 (clog10_test): Likewise.
27856 * sysdeps/i386/fpu/libm-test-ulps: Update.
27857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27859 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27860 (pltexit): Likewise.
27861 (La_regs): Likewise.
27862 (La_retval): Likewise.
27863 (int_retval): Likewise.
27864 Update #error for removed macros to refer only to definitions in
27866 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27868 (pltexit): Likewise.
27869 (La_regs): Likewise.
27870 (La_retval): Likewise.
27871 (int_retval): Likewise.
27872 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27874 (pltexit): Likewise.
27875 (La_regs): Likewise.
27876 (La_retval): Likewise.
27877 (int_retval): Likewise.
27878 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27880 (pltexit): Likewise.
27881 (La_regs): Likewise.
27882 (La_retval): Likewise.
27883 (int_retval): Likewise.
27884 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27886 (pltexit): Likewise.
27887 (La_regs): Likewise.
27888 (La_retval): Likewise.
27889 (int_retval): Likewise.
27890 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27892 (pltexit): Likewise.
27893 (La_regs): Likewise.
27894 (La_retval): Likewise.
27895 (int_retval): Likewise.
27896 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27898 (pltexit): Likewise.
27899 (La_regs): Likewise.
27900 (La_retval): Likewise.
27901 (int_retval): Likewise.
27902 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27903 macro definitions in tst-audit.h.
27904 * sysdeps/i386/tst-audit.h: New file.
27905 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27906 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27907 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27908 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27909 * sysdeps/sh/tst-audit.h: Likewise.
27910 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27911 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27912 * sysdeps/x86_64/tst-audit.h: Likewise.
27914 2012-07-26 Andreas Jaeger <aj@suse.de>
27916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27919 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27920 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27921 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27923 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27924 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27925 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27927 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27930 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27932 (si_call_addr, si_syscall, si_arch): Define new macro.
27933 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27935 (si_call_addr, si_syscall, si_arch): Define new marcro.
27936 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27938 (si_call_addr, si_syscall, si_arch): Define new macro.
27939 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27941 (si_call_addr, si_syscall, si_arch): Define new macro.
27943 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27946 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27947 Change to 2.4.21 where previously 2.4.1.
27948 * sysdeps/unix/sysv/linux/configure: Regenerated.
27949 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27950 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27951 Linux kernel version.
27952 (__ASSUME_STD_AUXV): Remove.
27953 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27955 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27956 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27957 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27958 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27959 (__ASSUME_NETLINK_SUPPORT): Likewise.
27960 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27961 (__no_netlink_support): Remove conditional definition.
27962 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27964 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27965 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27966 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27967 (if_nameindex_ioctl): Remove.
27968 (if_nameindex_netlink): Do not handle __no_netlink_support.
27969 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27971 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27972 Remove conditional code.
27973 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27975 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27977 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27978 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27979 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27981 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27982 [!__ASSUME_STD_AUXV]: Remove conditional code.
27983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27984 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27985 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27987 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27988 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27990 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27992 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27993 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27995 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27997 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28000 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28003 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28004 code unconditional.
28005 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28007 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28009 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28012 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28014 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28017 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28018 code unconditional.
28019 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28021 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28023 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28026 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28027 code unconditional.
28028 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28030 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28032 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28035 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28037 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28038 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28039 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28040 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28041 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28042 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28043 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28044 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28045 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28046 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28047 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28048 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28049 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28050 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28051 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28052 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28053 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28054 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28055 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28057 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28058 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28059 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28061 2012-07-25 Florian Weimer <fweimer@redhat.com>
28063 * Versions.def: Add GLIBC_2.17.
28064 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28065 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28066 Introduce __libc_secure_getenv.
28067 * stdlib/Versions (2.17): Add secure_getenv
28068 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28069 * stdlib/secure-getenv.c: Rename __secure_getenv to
28070 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28071 symbol __secure_getenv for GLIBC_2.0.
28072 * stdlib/tst-secure-getenv.c: New.
28073 * stdlib/Makefile (tests): Add testcase.
28074 * manual/startup.texi (Environment Access): Document
28076 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28077 __libc_secure_getenv.
28078 * inet/ruserpass.c (ruserpass): Likewise.
28079 * malloc/mtrace.c (mtrace): Likewise.
28080 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28081 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28082 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28083 * sysdeps/posix/tempname.c: Likewise. Evaluate
28084 HAVE_SECURE_GETENV.
28085 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28086 __secure_getenv to __libc_secure_getenv.
28087 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28094 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28100 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28102 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28103 (struct La_i86_retval): Likewise.
28104 (struct La_x86_64_regs): Likewise.
28105 (struct La_x86_64_retval): Likewise.
28106 (struct La_x32_regs): Likewise.
28107 (struct La_x32_retval): Likewise.
28108 (struct La_ppc32_regs): Likewise.
28109 (struct La_ppc32_retval): Likewise.
28110 (struct La_ppc64_regs): Likewise.
28111 (struct La_ppc64_retval): Likewise.
28112 (struct La_sh_regs): Likewise.
28113 (struct La_sh_retval): Likewise.
28114 (struct La_s390_32_regs): Likewise.
28115 (struct La_s390_32_retval): Likewise.
28116 (struct La_s390_64_regs): Likewise.
28117 (struct La_s390_64_retval): Likewise.
28118 (struct La_sparc32_regs): Likewise.
28119 (struct La_sparc32_retval): Likewise.
28120 (struct La_sparc64_regs): Likewise.
28121 (struct La_sparc64_retval): Likewise.
28122 (struct audit_ifaces): Remove architecture-specific pltenter and
28124 * sysdeps/i386/ldsodefs.h: New file.
28125 * sysdeps/powerpc/ldsodefs.h: Likewise.
28126 * sysdeps/s390/ldsodefs.h: Likewise.
28127 * sysdeps/sh/ldsodefs.h: Likewise.
28128 * sysdeps/sparc/ldsodefs.h: Likewise.
28129 * sysdeps/x86_64/ldsodefs.h: Likewise.
28131 2012-07-25 Marek Polacek <polacek@redhat.com>
28134 * math/libm-test.inc (yn_test): Add another test.
28135 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28136 to ERANGE when the result is +-Inf.
28137 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28138 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28139 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28140 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28142 2012-07-24 Joseph Myers <joseph@codesourcery.com>
28144 * conform/data/time.h-data (NULL): Use macro-constant. Require
28146 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28148 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28150 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28152 * configure.in <sysdeps resolving>: Correct printing
28154 * configure: Regenerate.
28156 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28158 * math/w_ilogb.c: Include <limits.h>.
28159 * math/w_ilogbl.c: Likewise.
28161 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28163 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28164 va_copy. Document allowing for unavailable va_copy only as
28165 pre-C99 compatibility.
28166 * manual/string.texi (Copying and Concatenation): Use va_copy
28167 instead of __va_copy in concat example.
28169 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28171 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28172 (__sendto): Use create_address_port. Initialize APORT and deallocate
28175 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28176 with O_NOLINK passed to __file_name_lookup.
28178 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28179 with O_NOLINK passed to __file_name_lookup.
28181 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28182 negative N or less than NGIDS.
28184 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28185 type to string_t. Set ERANGE as errno and return it if NAME is not big
28186 enough. Use memcpy instead of strncpy.
28188 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28190 * elf/Makefile (check-data): Remove.
28191 (localplt.data): New vpath directive.
28192 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28193 instead of $(check-data).
28194 * scripts/data/localplt-generic.data: Move to ...
28195 * sysdeps/generic/localplt.data: ... here.
28196 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28197 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28198 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28201 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28204 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28207 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28210 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28213 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28217 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28219 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28220 PPC32 and PPC64 files.
28221 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28222 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28224 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28226 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28227 __makecontext_ret to ...
28228 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28229 ... here and call exit if uc_link is NULL. New file.
28230 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28231 __makecontext_ret.S.
28232 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28233 __makecontext_ret to ...
28234 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28235 ... here and call exit if uc_link is NULL. New file.
28236 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28237 __makecontext_ret.S.
28239 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28241 * elf/elf.h (R_390_IRELATIVE): New definition.
28242 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28243 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28244 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28245 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28246 (elf_machine_lazy_rel): Likewise.
28247 * sysdeps/s390/dl-irel.h: New file.
28248 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28249 * sysdeps/s390/s390-64/memset.S: New asm code.
28250 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28251 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28252 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28253 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28254 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28255 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28256 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28257 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28258 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28259 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28260 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28261 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28262 * sysdeps/s390/s390-32/memset.S: New asm code.
28263 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28265 2012-07-17 Marek Polacek <polacek@redhat.com>
28268 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28269 * sysdeps/s390/s390-64/configure.in: Likewise.
28270 * sysdeps/sparc/configure.in: Likewise.
28271 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28272 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28273 * sysdeps/i386/configure.in: Likewise.
28274 * sysdeps/x86_64/configure.in: Likewise.
28275 * sysdeps/sh/configure.in: Likewise.
28276 * sysdeps/s390/s390-32/configure: Regenerated.
28277 * sysdeps/s390/s390-64/configure: Likewise.
28278 * sysdeps/x86_64/configure: Likewise.
28279 * sysdeps/sh/configure: Likewise.
28280 * sysdeps/powerpc/powerpc64/configure: Likewise.
28281 * sysdeps/powerpc/powerpc32/configure: Likewise.
28282 * sysdeps/sparc/configure: Likwise.
28283 * sysdeps/i386/configure: Likewise.
28285 * elf/dl-open.c: Comment fixes.
28287 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28289 * Makefile [CXX] (check-data): Remove.
28290 [CXX] (c++-types.data): New vpath directive.
28291 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28292 vpath. Do not allow for C++ type data being missing.
28293 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28294 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28295 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28296 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28297 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28298 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28299 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28302 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28305 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28308 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28311 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28314 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28317 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28320 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28323 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28324 definitions to architecture-specific files.
28325 (TLS_IE): Likewise.
28326 (TLS_LD): Likewise.
28327 (TLS_GD): Likewise.
28328 * sysdeps/i386/tls-macros.h: New file.
28329 * sysdeps/powerpc/tls-macros.h: Likewise.
28330 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28331 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28332 * sysdeps/sh/tls-macros.h: Likewise.
28333 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28334 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28335 * sysdeps/x86_64/tls-macros.h: Likewise.
28337 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28339 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28340 zero value for regular exit case.
28342 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28343 (__start_context): Preserve zero value for regular exit case.
28345 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28346 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28348 * manual/setjmp.texi (setcontext): Clarify normal process
28349 termination when uc_link is the null pointer.
28350 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28353 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28355 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28356 preprocessor. Test for each exception mask separately.
28358 2012-07-16 Andreas Jaeger <aj@suse.de>
28360 * po/ru.po: Update from translation team.
28362 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28364 * conform/data/string.h-data (NULL): Use macro-constant. Require
28366 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28367 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28368 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28369 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28370 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28372 2012-07-13 Andreas Jaeger <aj@suse.de>
28374 * po/fr.po: Update from translation team.
28376 2012-07-12 Marek Polacek <polacek@redhat.com>
28379 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28380 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28383 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28386 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28387 Change to 2.4.1 where previously 2.4.0.
28388 * sysdeps/unix/sysv/linux/configure: Regenerated.
28389 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28390 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28392 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28393 (__ASSUME_AT_CLKTCK): Remove.
28394 (__ASSUME_AT_PAGESIZE): Likewise.
28395 (__ASSUME_AT_XID): Likewise.
28396 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28397 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28398 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28400 (HAVE_AUX_PAGESIZE): Likewise.
28401 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28402 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28403 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28405 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28409 the temporary buffer used to invoke __gethostbyname2_r,
28410 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28411 host_data / struct gaih_addrtuple.
28412 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28413 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28414 header file nss/nsswitch.h.
28415 * nss/nsswitch.h (global scope): Add definition of implementation
28416 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28417 resolv/nss_dns/dns-host.c).
28419 2012-07-11 Andreas Jaeger <aj@suse.de>
28421 * po/fr.po: Update from translation team.
28423 * po/sv.po: Update from translation team
28424 * po/fr.po: Another update from translation team.
28426 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28428 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28429 for subnormals or multiply small sinh result by itself.
28430 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28433 2012-07-11 David S. Miller <davem@davemloft.net>
28435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28437 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28440 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28441 (INTERNAL_MARK): Shift it here.
28443 2012-07-10 Marek Polacek <polacek@redhat.com>
28446 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28447 libc_cv_asm_global_directive with .globl.
28448 * configure: Regenerated.
28449 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28451 * sysdeps/i386/configure: Regenerated.
28452 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28454 * sysdeps/x86_64/configure: Regenerated.
28455 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28456 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28457 * elf/tst-unique2mod2.c: Likewise.
28458 * elf/tst-unique2mod1.c: Likewise.
28459 * elf/tst-unique1mod2.c: Likewise.
28460 * elf/tst-unique1mod1.c: Likewise.
28461 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28462 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28463 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28464 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28465 * sysdeps/mach/sysdep.h: Likewise.
28466 * sysdeps/i386/sysdep.h: Likewise.
28467 * sysdeps/i386/i386-mcount.S: Likewise.
28468 * sysdeps/x86_64/_mcount.S: Likewise.
28469 * sysdeps/x86_64/sysdep.h: Likewise.
28470 * sysdeps/sh/_mcount.S: Likewise.
28471 * sysdeps/sh/sysdep.h: Likewise.
28472 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28473 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28474 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28475 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28476 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28477 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28478 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28479 * locale/localeinfo.h: Likewise.
28480 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28481 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28483 2012-07-09 Roland McGrath <roland@hack.frob.com>
28486 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28488 * manual/message.texi (The Uniforum approach): Likewise.
28489 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28490 (glibc iconv Implementation): Likewise.
28492 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28495 * math/s_clog.c (__clog): Avoid scaling a value down where that
28496 could result in underflow.
28497 * math/s_clog10.c (__clog10): Likewise.
28498 * math/s_clog10f.c (__clog10f): Likewise.
28499 * math/s_clog10l.c (__clog10l): Likewise.
28500 * math/s_clogf.c (__clogf): Likewise.
28501 * math/s_clogl.c (__clogl): Likewise.
28502 * math/libm-test.inc (clog_test): Add more tests.
28503 (clog10_test): Likewise.
28504 * sysdeps/i386/fpu/libm-test-ulps: Update.
28505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28507 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28510 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28511 by 7 not 8 to examine high bit of fractional part.
28514 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28515 for call to __mcount_internal.
28516 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28517 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28518 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28520 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28523 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28524 approximation for values within 0x1p-13f of an odd multiple of
28526 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28527 exception. Add more tests.
28528 * sysdeps/i386/fpu/libm-test-ulps: Update.
28531 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28532 inputs and return -1 for them. Do not check for +Inf in case not
28533 reachable for +Inf.
28534 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28535 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28536 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28537 and return -1 for them. Do not check for +Inf in case not
28538 reachable for +Inf.
28539 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28541 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28542 and return -1 for them. Do not check for +Inf in case not
28543 reachable for +Inf.
28544 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28545 spurious underflow.
28546 * sysdeps/i386/fpu/libm-test-ulps: Update.
28547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28549 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28551 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28553 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28557 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28558 could result in spurious underflow. Scale down values above
28559 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28560 * math/s_csqrtf.c (__csqrtf): Likewise.
28561 * math/s_csqrtl.c (__csqrtl): Likewise.
28562 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28563 spurious underflow.
28564 * sysdeps/i386/fpu/libm-test-ulps: Update.
28565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28567 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28569 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28571 * catgets/xopen-msg.awk: New file.
28572 * catgets/xopen-msg.sed: Removed.
28574 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28576 * intl/po2test.awk: New file.
28577 * intl/po2test.sed: Removed.
28579 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28582 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28583 or multiply small sinh result by itself.
28584 * math/s_ctanf.c (__ctanf): Likewise.
28585 * math/s_ctanh.c (__ctanh): Likewise.
28586 * math/s_ctanhf.c (__ctanhf): Likewise.
28587 * math/s_ctanhl.c (__ctanhl): Likewise.
28588 * math/s_ctanl.c (__ctanl): Likewise.
28589 * math/libm-test.inc (ctan_test_tonearest): New function.
28590 (ctan_test_towardzero): Likewise.
28591 (ctan_test_downward): Likewise.
28592 (ctan_test_upward): Likewise.
28593 (ctanh_test_tonearest): Likewise.
28594 (ctanh_test_towardzero): Likewise.
28595 (ctanh_test_downward): Likewise.
28596 (ctanh_test_upward): Likewise.
28597 (main): Call these new functions.
28598 * sysdeps/i386/fpu/libm-test-ulps: Update.
28599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28601 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28603 * .gitignore: Delete /ports entry.
28605 2012-07-03 Andreas Jaeger <aj@suse.de>
28607 * po/bg.po: Update from translation team.
28608 * po/cs.po: Likewise.
28609 * po/de.po: Likewise.
28610 * po/hr.po: Likewise.
28611 * po/nl.pl: Likewise.
28612 * po/pl.po: Likewise.
28613 * po/vi.po: Likewise.
28615 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28617 * Makeconfig [!+link] (+link-before-libc): New variable.
28618 [!+link] (+link-after-libc): Likewise.
28619 [!+link] (+link-tests): Likewise.
28620 [!+link] (+link): Define in terms of $(+link-before-libc) and
28621 $(+link-after-libc).
28622 [!+link-static] (+link-static-before-libc): New variable.
28623 [!+link-static] (+link-static-after-libc): Likewise.
28624 [!+link-static] (+link-static-tests): Likewise.
28625 [!+link-static] (+link-static): Define in terms of
28626 $(+link-static-before-libc) and $(+link-static-after-libc).
28627 [build-shared] (link-libc-before-gnulib): New variable.
28628 [build-shared] (link-libc-tests): Likewise.
28629 [build-shared] (link-libc): Define in terms of
28630 $(link-libc-before-gnulib).
28631 [!build-shared] (link-libc-tests): New variable.
28632 (link-libc-static-tests): New variable.
28633 [!gnulib] (gnulib-arch): New variable.
28634 [!gnulib] (gnulib-tests): Likewise.
28635 [!gnulib] (static-gnulib-arch): Likewise.
28636 [!gnulib] (static-gnulib-tests): Likewise.
28637 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28638 Define with "=" instead of ":=".
28639 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28640 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28641 * Rules (binaries-all-notests): New variable.
28642 (binaries-all-tests): Likewise.
28643 (binaries-static-notests): Likewise.
28644 (binaries-static-tests): Likewise.
28645 (binaries-all): Define using $(binaries-all-notests) and
28646 $(binaries-all-tests).
28647 (binaries-static): Define using $(binaries-static-notests) and
28648 $(binaries-static-tests).
28649 (binaries-shared-tests): New variable.
28650 (binaries-shared-notests): Likewise.
28651 (binaries-shared): Remove variable.
28652 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28653 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28654 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28655 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28656 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28657 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28658 * elf/Makefile (sln-modules): New variable.
28659 (extra-objs): Add $(sln-modules:=.o).
28660 (ldconfig-modules): Add static-stubs.
28661 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28662 * elf/static-stubs.c: New file.
28665 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28666 by 7 not 8 to examine high bit of fractional part. Use volatile
28667 variables when splitting into final array of floats if
28668 __FLT_EVAL_METHOD__ != 0.
28669 * math/libm-test.inc (cos_test): Add another test.
28670 (sin_test): Likewise.
28671 * sysdeps/i386/fpu/libm-test-ulps: Update.
28674 * math/libm-test.inc (cosh_test): Add more tests.
28676 * version.h (RELEASE): Set to "development".
28677 (VERSION): Set to "2.16.90".
28679 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28681 * NEWS: Update copyright. Remove last-updated date.
28682 Mention math library bug fixes and timezone data changes.
28683 * README: Mention GNU/Hurd, x32, and HPPA support status.
28685 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28687 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28689 2012-06-27 Andreas Jaeger <aj@suse.de>
28691 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28693 2012-06-25 Andreas Jaeger <aj@suse.de>
28695 * sysdeps/s390/fpu/libm-test-ulps: Update.
28697 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28698 Thomas Schwinge <thomas@codesourcery.com>
28700 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28701 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28705 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28707 * sysdeps/mach/start.c: Remove file.
28708 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28709 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28710 * sysdeps/sh/init-first.c: Likewise.
28712 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28713 registers for frame unwinding purposes, add CFI directives.
28714 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28715 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28716 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28719 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28720 __fortify_fail returning.
28721 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28723 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28724 sysdeps/sh/____longjmp_chk.S.
28725 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28726 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28727 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28728 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28730 * sysdeps/sh/abort-instr.h: New file.
28731 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28732 process in case exit returns.
28734 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28735 initialize the GOT register before use.
28737 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28738 calculation of ARGC > 4.
28740 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28741 meaningful names to some local labels.
28743 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28744 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28746 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28747 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28748 (__arch_compare_and_exchange_val_16_acq): Likewise.
28749 (__arch_compare_and_exchange_val_32_acq): Likewise.
28750 (atomic_exchange_and_add): Fix gUSA sequence.
28751 (atomic_add): Likewise.
28752 (atomic_add_negative): Likewise.
28753 (atomic_add_zero): Likewise.
28754 (atomic_bit_test_set): Likewise.
28756 2012-06-22 Andreas Schwab <schwab@redhat.com>
28759 * include/link.h (struct link_map): Add l_free_initfini.
28760 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28762 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28763 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28764 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28767 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28769 * configure.in: Use AC_LANG_SOURCE.
28770 * configure: Regenerate.
28772 2012-06-22 Roland McGrath <roland@hack.frob.com>
28774 * configure.in (libc_cv_localstatedir): New substituted variable.
28775 * configure: Regenerated.
28776 * config.make.in (localstatedir): New variable, substituted from
28777 libc_cv_localstatedir.
28778 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28779 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28780 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28781 * sysdeps/gnu/configure: Regenerated.
28783 2012-06-21 Jeff Law <law@redhat.com>
28786 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28787 free. Simplify list management for _LIBC case.
28789 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28792 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28793 Clear sign bit of 64-bit integer value before comparing against
28796 * sysdeps/mach/configure: Regenerated.
28798 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28801 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28803 2012-06-21 Jeff Law <law@redhat.com>
28806 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28807 uint16_t for elements in the "seen" array to avoid char overflows.
28808 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28809 * elf/dl-open.c (dl_open_worker): Likewise.
28811 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28813 * scripts/list-sources.sh: Scan PORTS for translations.
28814 * po/libc.pot: Regenerated.
28816 2012-06-21 Andreas Jaeger <aj@suse.de>
28819 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28821 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28822 * bits/byteswap-16.h (__bswap_16): Likewise.
28823 * bits/byteswap.h (__bswap_constant_16): Likewise.
28825 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28828 * sysdeps/i386/fpu_control.h: Removed.
28829 * sysdeps/x86_64/fpu_control.h: Moved to ...
28830 * sysdeps/x86/fpu_control.h: Here.
28832 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28833 (_FPU_SETCW): Likewise.
28835 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28838 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28839 * sysdeps/x86/fpu/bits/mathinline.h: This.
28840 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28844 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28845 functions if __x86_64__ is defined.
28847 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28849 * string/endian.h: Add !__ASSEMBLER__ condition for including
28850 conversion interfaces.
28852 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28855 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28856 of ABS(x) in calculating zero to negative powers other than odd
28858 * math/libm-test.inc (pow_test): Add more tests.
28860 2012-06-15 Andreas Jaeger <aj@suse.de>
28862 * manual/contrib.texi (Contributors): Update entry of Liubov
28863 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28866 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28868 * string/string.h: Add __wur to GNU version of strerror_r.
28870 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28873 * string/Makefile (tests): Add tst-strtok_r.
28874 * string/tst-strtok_r.c: New file.
28875 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28876 RAX_LP/RDX_LP on SAVE_PTR.
28878 2012-06-14 Roland McGrath <roland@hack.frob.com>
28880 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28882 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28884 * libm_test.inc (csqrt_test): Allow more spurious underflow
28886 (j0_test): Likewise.
28887 (j1_test): Likewise.
28888 (y0_test): Likewise.
28889 (y1_test): Likewise.
28891 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28893 * po/Makefile (libc.pot): Use UTF-8 charset.
28895 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28898 Suppress sign-conversion warning from FD_SET.
28899 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28900 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28901 not unsigned long int.
28902 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28904 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28908 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28909 __extern_always_inline instead of __extern_inline.
28910 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28911 (__signbit): Likewise.
28912 (__signbitl): Support C++ namespace.
28913 (lrintf): New inline function.
28915 (llrintf): Likewise.
28916 (llrint): Likewise.
28926 (floorf): Likewise.
28927 (nearbyint): Likewise.
28928 (nearbyintf): Likewise.
28930 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28932 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28933 non-default versions.
28935 2012-06-11 Roland McGrath <roland@hack.frob.com>
28938 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28940 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28942 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28943 (FE_UPWARD, FE_DOWNWARD): Don't define.
28944 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28945 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28947 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28949 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28950 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28952 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28954 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28955 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28956 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28957 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28959 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28962 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28963 * sysdeps/i386/fpu/Implies: New file.
28964 * sysdeps/x86_64/fpu/Implies: Likewise.
28965 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28966 * sysdeps/x86/fpu/bits/fenv.h: This.
28968 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28971 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28974 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28975 character 0xffff that matches the last element of the
28978 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28980 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28983 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28985 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28986 values higher than 25.6283.
28988 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28991 subnormal exponent extraction and add some __builtin_expect.
28992 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28993 Fix for subnormal mantissa calculation.
28995 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28997 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28998 cpu2 is -1 and errno is not ENOSYS.
29000 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29003 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29004 * sysdeps/x86/bits/string.h: This.
29005 * sysdeps/x86_64/bits/string.h: Removed.
29007 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29008 if not compiling for x86-64, but compiling for >= i486.
29010 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29011 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29013 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29014 New macro from Linux kernel 3.4.0.
29015 (FP_XSTATE_MAGIC2): Likewise.
29016 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29017 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29018 (struct _fpx_sw_bytes): New struct.
29019 (struct _xsave_hdr): Likewise.
29020 (struct _ymmh_state): Likewise.
29021 (struct _xstate): Likewise.
29023 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29024 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29025 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29026 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29027 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29028 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29030 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29031 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29032 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29033 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29034 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29035 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29037 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29040 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29041 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29042 (sysdep_headers): Include sys/platform/ppc.h.
29043 * sysdeps/powerpc/test-gettimebase.c: Test for
29044 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29045 * manual/Makefile (appendices): Include platform.texi.
29046 * manual/contrib.texi (Contributors): Update @node pointers.
29047 * manual/maint.texi (Maintenance): Likewise.
29048 (Platform): New node.
29049 * manual/platform.texi: New file. Document the new features.
29051 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29052 Jakub Jelinek <jakub@redhat.com>
29055 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29056 where __builtin_expect is unavailable.
29058 2012-06-03 David S. Miller <davem@davemloft.net>
29060 * stdlib/longlong.h: Updated from GCC.
29062 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29065 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29066 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29069 (GLIBC_2.16): Likewise.
29071 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29073 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29075 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29078 (default-abi): New variable.
29079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29080 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29082 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29084 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29086 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29089 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29090 definition. Document in comment.
29092 2012-06-01 David S. Miller <davem@davemloft.net>
29094 * stdlib/longlong.h: Updated from GCC.
29096 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29099 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29100 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29101 sys/debugreg.h sys/io.h here.
29102 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29103 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29105 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29106 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29107 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29108 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29109 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29110 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29112 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29113 Define only if __x86_64__ is defined.
29115 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29118 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29119 Use int64_t for variable i.
29120 * math/libm-test.inc (fmod_test): Add more tests.
29122 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29123 z computation is not scheduled after fetestexcept.
29124 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29125 Use math_force_eval instead of asm to ensure calculation scheduled
29126 before exception test.
29127 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29128 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29130 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29133 computation is not scheduled after fetestexcept.
29135 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29138 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29139 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29141 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29143 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29144 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29146 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29149 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29151 (__WCHAR_MIN): Support __WORDSIZE == 64.
29152 (__WCHAR_MAX): Likewise.
29154 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29155 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29158 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29159 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29162 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29163 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29165 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29166 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29168 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29169 Defined to 1 if __x86_64__ isn't defined.
29170 (_STAT_VER_LINUX_OLD): New.
29171 (st_atime): Remove duplicate.
29172 (st_mtime): Likewise.
29173 (st_ctime): Likewise.
29175 2012-05-31 David S. Miller <davem@davemloft.net>
29177 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29180 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29182 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29186 * elf/dl-reloc.c: Include <_itoa.h>.
29187 (_dl_reloc_bad_type): Remove use of INTUSE.
29188 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29189 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29190 * stdio-common/psiginfo.c (psiginfo): Likewise.
29191 * stdio-common/psignal.c (psignal): Likewise.
29192 * string/strsignal.c (strsignal): Likewise.
29193 * include/signal.h (_sys_siglist): Declare hidden proto.
29194 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29195 INTVARDEF with libc_hidden_data_def.
29196 * stdio-common/itoa-udigits.c: Likewise.
29197 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29198 (_itoa_lower_digits_internal): Remove declaration.
29199 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29200 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29201 (_sys_sigabbrev_internal): Remove aliases.
29202 (_sys_siglist): Define hidden alias.
29204 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29209 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29212 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29213 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29215 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29216 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29217 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29218 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29219 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29220 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29222 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29223 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29224 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29226 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29234 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29235 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29236 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29238 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29239 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29240 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29241 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29242 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29243 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29245 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29246 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29248 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29249 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29251 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29252 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29253 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29255 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29256 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29258 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29260 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29261 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29262 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29264 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29266 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29268 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29270 * math/math.h (M_El): Use two more decimal places.
29271 (M_LOG2El): Likewise.
29272 (M_LOG10El): Likewise.
29273 (M_LN2l): Likewise.
29274 (M_LN10l): Likewise.
29276 (M_PI_2l): Likewise.
29277 (M_PI_4l): Likewise.
29278 (M_1_PIl): Likewise.
29279 (M_2_PIl): Likewise.
29280 (M_2_SQRTPIl): Likewise.
29281 (M_SQRT2l): Likewise.
29282 (M_SQRT1_2l): Likewise.
29284 2012-05-31 David S. Miller <davem@davemloft.net>
29286 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29287 values between float registers.
29288 * sysdeps/sparc/sparc64/memset.S: Likewise.
29289 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29291 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29293 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29294 -D_FORTIFY_SOURCE=1.
29295 (CPPFLAGS-tst-longjmp_chk.c): Define.
29296 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29297 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29298 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29299 CFLAGS-tst-wchar-h.c.
29301 2012-05-31 Marek Polacek <polacek@redhat.com>
29304 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29305 __endmntent_internal): Remove declaration.
29306 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29307 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29308 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29310 2012-05-30 David S. Miller <davem@davemloft.net>
29312 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29313 (___Q_simulate_exceptions): Use real FP ops rather than writing
29315 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29318 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29321 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29322 * sysdeps/x86/bits/xtitypes.h: This.
29324 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29325 * sysdeps/x86/bits/wordsize.h: This.
29327 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29328 * sysdeps/x86/bits/huge_vall.h: This.
29330 * sysdeps/i386/bits/select.h: Removed.
29331 * sysdeps/x86_64/bits/select.h: Renamed to ...
29332 * sysdeps/x86/bits/select.h: This.
29334 * sysdeps/i386/bits/setjmp.h: Removed.
29335 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29336 * sysdeps/x86/bits/setjmp.h: This.
29338 * sysdeps/i386/bits/mathdef.h: Removed.
29339 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29340 * sysdeps/x86/bits/mathdef.h: This.
29342 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29345 * include/sys/socket.h (__connect_internal)
29346 (__libc_sa_len_internal): Remove declaration.
29347 (__connect, __libc_sa_len): Declare hidden_proto.
29348 (SA_LEN): Remove use of INTUSE.
29349 * socket/connect.c: Add libc_hidden_def.
29350 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29351 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29352 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29354 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29355 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29356 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29357 of adding _internal alias.
29359 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29362 * sysdeps/i386/bits/link.h: Removed.
29363 * sysdeps/i386/bits/linkmap.h: Likewise.
29364 * sysdeps/x86_64/bits/link.h: Renamed to ...
29365 * sysdeps/x86/bits/link.h: This.
29366 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29367 * sysdeps/x86/bits/linkmap.h: This.
29369 * sysdeps/i386/bits/endian.h: Removed.
29370 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29371 * sysdeps/x86/bits/endian.h: This.
29373 * sysdeps/i386/bits/byteswap.h: Removed.
29374 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29375 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29376 * sysdeps/x86/bits/byteswap.h: This.
29377 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29378 * sysdeps/x86/bits/byteswap-16.h: This.
29379 * sysdeps/i386/Implies: Add x86.
29380 * sysdeps/x86_64/Implies: Likewise.
29382 2012-05-30 David S. Miller <davem@davemloft.net>
29384 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29385 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29386 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29387 (FP_TRAPPING_EXCEPTIONS): Define.
29388 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29389 (FP_TRAPPING_EXCEPTIONS): Define.
29390 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29391 subnormals only when inexact has been signalled or underflow
29392 exceptions are enabled.
29393 (_FP_PACK_CANONICAL): Likewise.
29395 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29398 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29399 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29401 2012-05-30 Richard Henderson <rth@twiddle.net>
29403 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29404 with #ifndef NOT_IN_libc.
29406 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29407 marked to avoid plt entry.
29409 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29412 * Makeconfig (default-abi): New macro.
29413 (abi-includes): Likewise.
29414 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29415 $(abi-$(default-abi)-lib-soname) for soname if defined.
29416 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29418 * Makefile (installed-stubs): Likewise.
29419 * include/stubs-biarch.h: Removed.
29420 * scripts/lib-names.awk: Only handle one library at a time.
29421 * scripts/soversions.awk: Remove WORDSIZE support.
29422 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29424 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29426 (syscall-list-default-condition): Likewise.
29427 (syscall-list-default-condition): Likewise.
29428 (syscall-list-includes): Likewise.
29429 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29430 syscall-list-* with abi-*. Handle undefined abi-variants.
29431 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29432 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29433 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29434 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29435 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29436 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29438 (syscall-list-32-options): Likewise.
29439 (syscall-list-32-condition): Likewise.
29440 (syscall-list-64-options): Likewise.
29441 (syscall-list-64-condition): Likewise.
29442 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29444 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29447 (abi-64-ld-soname): New macro.
29448 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29449 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29452 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29453 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29455 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29457 * sysdeps/unix/sysv/linux/kernel-features.h
29458 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29459 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29460 include <kernel-features.h>.
29461 [!__NR_ftruncate64]: Remove conditional code.
29462 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29463 [__NR_ftruncate64]: Make code unconditional.
29464 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29465 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29466 include <kernel-features.h>.
29467 [!__NR_ftruncate64]: Remove conditional code.
29468 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29469 [__NR_ftruncate64]: Make code unconditional.
29470 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29472 include <kernel-features.h>.
29473 [!__NR_ftruncate64]: Remove conditional code.
29474 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29475 [__NR_ftruncate64]: Make code unconditional.
29476 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29478 include <kernel-features.h>.
29479 [!__NR_ftruncate64]: Remove conditional code.
29480 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29481 [__NR_ftruncate64]: Make code unconditional.
29482 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29484 * configure.in (libc_cv_fpie): Weaken to a compile test using
29485 LIBC_TRY_CC_OPTION.
29486 * configure: Regenerated.
29488 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29503 2012-05-27 David S. Miller <davem@davemloft.net>
29505 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29507 (__Q_simulate_exceptions): Return void. Change to simulate
29508 exceptions by writing into the %fsr.
29509 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29510 (__Qp_handle_exceptions): Likewise.
29512 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29513 __Qp_handle_exceptions.
29514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29515 __Qp_handle_exceptions.
29516 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29517 as unused and give dummy FP_RND_NEAREST initializer.
29518 (FP_INHIBIT_RESULTS): Define.
29519 (___Q_simulate_exceptions): Update declaration.
29520 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29522 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29523 as unused and give dummy FP_RND_NEAREST initializer.
29524 (__Qp_handle_exceptions): Update declaration.
29525 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29528 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29530 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29531 the temporary FPU control word.
29532 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29533 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29534 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29535 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29536 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29537 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29538 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29539 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29540 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29541 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29542 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29544 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29546 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29549 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29551 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29552 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29553 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29554 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29556 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29557 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29560 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29562 * po/h.po: Update from translation team.
29564 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29566 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29568 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29569 handling of denormals.
29570 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29571 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29572 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29573 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29574 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29575 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29579 2012-05-26 Marek Polacek <polacek@redhat.com>
29582 * math/libm-test.inc (fma_test): Don't always expect underflow
29585 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29588 * elf/tst-execstack.c: Include stackinfo.h.
29589 (do_test): Adjust test case to ensure that pthread_getattr_np
29590 behaviour remains the same after marking stack executable.
29592 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29594 * sysdeps/unix/sysv/linux/kernel-features.h
29595 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29596 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29598 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29599 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29600 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29602 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29603 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29605 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29607 * configure.in: Define the default includes to being none.
29608 * configure: Regenerated.
29610 2012-05-25 Roland McGrath <roland@hack.frob.com>
29612 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29613 * sysdeps/x86_64/setjmp.S: Likewise.
29614 * sysdeps/i386/bsd-setjmp.S: Likewise.
29615 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29616 * sysdeps/i386/setjmp.S: Likewise.
29617 * sysdeps/i386/__longjmp.S: Likewise.
29618 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29619 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29621 * include/stap-probe.h: New file.
29622 * configure.in: Handle --enable-systemtap.
29623 * configure: Regenerated.
29624 * config.h.in (USE_STAP_PROBE): New #undef.
29625 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29626 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29627 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29629 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29632 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29633 to 2.4.0 where earlier.
29634 * sysdeps/unix/sysv/linux/configure: Regenerated.
29635 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29636 <kernel-features.h>.
29637 [__ASSUME_32BITUIDS]: Make code unconditional.
29638 [!__ASSUME_32BITUIDS]: Remove conditional code.
29639 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29640 <kernel-features.h>.
29641 [__ASSUME_32BITUIDS]: Make code unconditional.
29642 [!__ASSUME_32BITUIDS]: Remove conditional code.
29643 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29644 [__ASSUME_32BITUIDS]: Make code unconditional.
29645 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29646 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29647 <kernel-features.h>.
29648 [__ASSUME_32BITUIDS]: Make code unconditional.
29649 [!__ASSUME_32BITUIDS]: Remove conditional code.
29650 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29651 <kernel-features.h>.
29652 [__ASSUME_32BITUIDS]: Make code unconditional.
29653 [!__ASSUME_32BITUIDS]: Remove conditional code.
29654 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29655 <kernel-features.h>.
29656 [__ASSUME_32BITUIDS]: Make code unconditional.
29657 [!__ASSUME_32BITUIDS]: Remove conditional code.
29658 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29659 <kernel-features.h>.
29660 [__ASSUME_32BITUIDS]: Make code unconditional.
29661 [!__ASSUME_32BITUIDS]: Remove conditional code.
29662 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29663 <kernel-features.h>.
29664 [__ASSUME_32BITUIDS]: Make code unconditional.
29665 [!__ASSUME_32BITUIDS]: Remove conditional code.
29666 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29667 <kernel-features.h>.
29668 [__ASSUME_32BITUIDS]: Make code unconditional.
29669 [!__ASSUME_32BITUIDS]: Remove conditional code.
29670 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29671 <kernel-features.h>.
29672 [__ASSUME_32BITUIDS]: Make code unconditional.
29673 [!__ASSUME_32BITUIDS]: Remove conditional code.
29674 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29675 <kernel-features.h>.
29676 [__ASSUME_32BITUIDS]: Make code unconditional.
29677 [!__ASSUME_32BITUIDS]: Remove conditional code.
29678 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29679 <kernel-features.h>.
29680 [__ASSUME_32BITUIDS]: Make code unconditional.
29681 [!__ASSUME_32BITUIDS]: Remove conditional code.
29682 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29683 <kernel-features.h>.
29684 [__ASSUME_32BITUIDS]: Make code unconditional.
29685 [!__ASSUME_32BITUIDS]: Remove conditional code.
29686 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29687 <kernel-features.h>.
29688 [__NR_setresgid] (__setresgid): Do not declare.
29689 [__ASSUME_32BITUIDS]: Make code unconditional.
29690 [!__ASSUME_32BITUIDS]: Remove conditional code.
29691 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29692 <kernel-features.h>.
29693 [__NR_setresuid] (__setresuid): Do not declare.
29694 [__ASSUME_32BITUIDS]: Make code unconditional.
29695 [!__ASSUME_32BITUIDS]: Remove conditional code.
29696 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29697 <kernel-features.h>.
29698 [__ASSUME_32BITUIDS]: Make code unconditional.
29699 [!__ASSUME_32BITUIDS]: Remove conditional code.
29700 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29701 <kernel-features.h>.
29702 [__ASSUME_32BITUIDS]: Make code unconditional.
29703 [!__ASSUME_32BITUIDS]: Remove conditional code.
29704 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29705 <kernel-features.h>.
29706 [__ASSUME_32BITUIDS]: Make code unconditional.
29707 [!__ASSUME_32BITUIDS]: Remove conditional code.
29708 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29709 <kernel-features.h>.
29710 [__ASSUME_32BITUIDS]: Make code unconditional.
29711 [!__ASSUME_32BITUIDS]: Remove conditional code.
29712 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29713 <kernel-features.h>.
29714 [__ASSUME_32BITUIDS]: Make code unconditional.
29715 [!__ASSUME_32BITUIDS]: Remove conditional code.
29716 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29717 <kernel-features.h>.
29718 [__ASSUME_32BITUIDS]: Make code unconditional.
29719 [!__ASSUME_32BITUIDS]: Remove conditional code.
29720 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29721 <kernel-features.h>.
29722 [__ASSUME_32BITUIDS]: Make code unconditional.
29723 [!__ASSUME_32BITUIDS]: Remove conditional code.
29724 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29725 <kernel-features.h>.
29726 [__ASSUME_32BITUIDS]: Make code unconditional.
29727 [!__ASSUME_32BITUIDS]: Remove conditional code.
29728 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29729 <kernel-features.h>.
29730 [__ASSUME_32BITUIDS]: Make code unconditional.
29731 [!__ASSUME_32BITUIDS]: Remove conditional code.
29732 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29733 <kernel-features.h>.
29734 [__ASSUME_32BITUIDS]: Make code unconditional.
29735 [!__ASSUME_32BITUIDS]: Remove conditional code.
29736 * sysdeps/unix/sysv/linux/kernel-features.h
29737 (__ASSUME_SETRESUID_SYSCALL): Remove.
29738 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29739 (__ASSUME_32BITUIDS): Likewise.
29740 (__ASSUME_LDT_WORKS): Likewise.
29741 (__ASSUME_O_DIRECTORY): Likewise.
29742 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29743 architecture but not kernel version.
29744 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29745 (__ASSUME_MMAP2_SYSCALL): Likewise.
29746 (__ASSUME_STAT64_SYSCALL): Likewise.
29747 (__ASSUME_IPC64): Likewise.
29748 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29749 <kernel-features.h>.
29750 [__ASSUME_32BITUIDS]: Make code unconditional.
29751 [!__ASSUME_32BITUIDS]: Remove conditional code.
29752 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29753 <kernel-features.h>.
29754 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29755 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29756 132096]: Remove conditional code.
29757 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29758 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29759 <kernel-features.h>.
29760 [__ASSUME_32BITUIDS]: Make code unconditional.
29761 [!__ASSUME_32BITUIDS]: Remove conditional code.
29762 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29763 <kernel-features.h>.
29764 [__ASSUME_32BITUIDS]: Make code unconditional.
29765 [!__ASSUME_32BITUIDS]: Remove conditional code.
29766 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29767 <kernel-features.h>.
29768 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29770 (__setresgid): Do not declare.
29771 [__ASSUME_32BITUIDS]: Make code unconditional.
29772 [!__ASSUME_32BITUIDS]: Remove conditional code.
29773 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29774 <kernel-features.h>.
29775 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29777 (__setresuid): Do not declare.
29778 [__ASSUME_32BITUIDS]: Make code unconditional.
29779 [!__ASSUME_32BITUIDS]: Remove conditional code.
29780 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29781 <kernel-features.h>.
29782 [__ASSUME_32BITUIDS]: Make code unconditional.
29783 [!__ASSUME_32BITUIDS]: Remove conditional code.
29784 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29785 <kernel-features.h>.
29786 [__ASSUME_32BITUIDS]: Make code unconditional.
29787 [!__ASSUME_32BITUIDS]: Remove conditional code.
29789 2012-05-25 Richard Henderson <rth@twiddle.net>
29791 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29792 dl_hwcap to ifunc resolver.
29793 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29795 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29796 dl_hwcap to ifunc resolver.
29797 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29799 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29802 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29803 for |x| <= 2**-26, not 2**-57.
29804 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29807 2012-05-24 Jeff Law <law@redhat.com>
29809 * stdio-common/Makefile (tests): Add bug25.
29810 * stdio-common/bug25.c: New test.
29812 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29815 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29816 multiple of MALLOC_ALIGNMENT in size.
29817 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29819 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29821 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29823 (FILENAME_MAX): Use macro-int-constant.
29824 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29825 (_IOFBF): Use macro-int-constant.
29826 (_IOLBF): Likewise.
29827 (_IONBF): Likewise.
29828 (SEEK_CUR): Likewise.
29829 (SEEK_END): Likewise.
29830 (SEEK_SET): Likewise.
29831 (TMP_MAX): Likewise.
29832 (EOF): Use macro-int-constant. Require < 0.
29833 (NULL): Use macro-constant. Require == 0.
29834 (stdin): Require type to be FILE *.
29835 (stdout): Likewise.
29836 (stderr): Likewise.
29837 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29838 macro-int-constant.
29839 (EXIT_SUCCESS): Likewise.
29840 (NULL): Use macro-constant. Require == 0.
29841 (RAND_MAX): Use macro-int-constant.
29842 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29843 [C99-based standards] (strtof): Require function.
29844 [C99-based standards] (strtold): Likewise.
29845 [C99-based standards] (strtoll): Likewise.
29846 [C99-based standards] (strtoull): Likewise.
29847 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29848 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29849 [ISO || ISO99 || ISO11] (math.h): Likewise.
29850 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29851 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29852 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29854 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29857 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29858 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29859 * intl/dgettext.c (DCGETTEXT): Likewise.
29860 * intl/gettext.c (DCGETTEXT): Likewise.
29861 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29862 * posix/regex_internal.h (gettext): Likewise.
29863 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29864 Remove declaration.
29865 * include/argz.h (__argz_count_internal)
29866 (__argz_stringify_internal): Remove declaration.
29867 (__argz_count, __argz_stringify): Declare hidden proto.
29868 * intl/dcgettext.c: Remove use of INTDEF.
29869 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29870 * string/argz-stringify.c: Likewise.
29871 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29872 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29873 Declare hidden proto.
29874 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29875 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29876 Declare hidden proto.
29877 * include/stdio.h (__asprintf_internal): Don't declare.
29878 (__asprintf): Don't define as macro. Declare hidden proto.
29879 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29880 (__fsetlocking): Declare hidden proto.
29881 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29882 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29884 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29885 (_IO_setlinebuf): Remove use of INTUSE.
29886 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29887 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29888 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29889 Remove declaration.
29890 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29891 (_IO_do_flush): Remove use of INTUSE.
29892 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29893 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29894 (_IO_adjust_column, _IO_least_wmarker)
29895 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29896 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29897 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29898 (_IO_default_doallocate, _IO_wdefault_doallocate)
29899 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29900 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29901 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29902 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29903 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29904 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29905 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29906 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29907 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29908 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29909 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29910 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29911 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29913 (_IO_flush_all_internal, _IO_adjust_column_internal)
29914 (_IO_default_uflow_internal, _IO_default_finish_internal)
29915 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29916 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29917 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29918 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29919 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29920 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29921 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29922 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29923 (_IO_file_close_internal, _IO_file_close_it_internal)
29924 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29925 (_IO_file_init_internal, _IO_file_attach_internal)
29926 (_IO_file_fopen_internal, _IO_file_read_internal)
29927 (_IO_file_sync_internal, _IO_file_seek_internal)
29928 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29929 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29930 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29931 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29932 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29933 (_IO_list_all_internal, _IO_link_in_internal)
29934 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29935 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29936 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29937 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29938 (_IO_do_write_internal, _IO_padn_internal)
29939 (_IO_getline_info_internal, _IO_getline_internal)
29940 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29941 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29942 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29943 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29944 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29945 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29946 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29947 with libc_hidden_ver, remove use of INTUSE.
29948 * libio/genops.c: Likewise.
29949 * libio/freopen.c: Likewise.
29950 * libio/freopen64.c: Likewise.
29951 * libio/iofclose.c: Likewise.
29952 * libio/iofdopen.c: Likewise.
29953 * libio/iofflush.c: Likewise.
29954 * libio/iofflush_u.c: Likewise.
29955 * libio/iofgets.c: Likewise.
29956 * libio/iofgets_u.c: Likewise.
29957 * libio/iofopen.c: Likewise.
29958 * libio/iofopncook.c: Likewise.
29959 * libio/iofread.c: Likewise.
29960 * libio/iofread_u.c: Likewise.
29961 * libio/ioftell.c: Likewise.
29962 * libio/iofwrite.c: Likewise.
29963 * libio/iogetline.c: Likewise.
29964 * libio/iogets.c: Likewise.
29965 * libio/iogetwline.c: Likewise.
29966 * libio/iopadn.c: Likewise.
29967 * libio/iopopen.c: Likewise.
29968 * libio/ioseekoff.c: Likewise.
29969 * libio/ioseekpos.c: Likewise.
29970 * libio/iosetbuffer.c: Likewise.
29971 * libio/iosetvbuf.c: Likewise.
29972 * libio/ioungetc.c: Likewise.
29973 * libio/ioungetwc.c: Likewise.
29974 * libio/iovdprintf.c: Likewise.
29975 * libio/iovsprintf.c: Likewise.
29976 * libio/iovsscanf.c: Likewise.
29977 * libio/memstream.c: Likewise.
29978 * libio/obprintf.c: Likewise.
29979 * libio/oldfileops.c: Likewise.
29980 * libio/oldiofclose.c: Likewise.
29981 * libio/oldiofdopen.c: Likewise.
29982 * libio/oldiofopen.c: Likewise.
29983 * libio/oldiopopen.c: Likewise.
29984 * libio/oldstdfiles.c: Likewise.
29985 * libio/putc.c: Likewise.
29986 * libio/setbuf.c: Likewise.
29987 * libio/setlinebuf.c: Likewise.
29988 * libio/stdfiles.c: Likewise.
29989 * libio/strops.c: Likewise.
29990 * libio/vasprintf.c: Likewise.
29991 * libio/vscanf.c: Likewise.
29992 * libio/vsnprintf.c: Likewise.
29993 * libio/vswprintf.c: Likewise.
29994 * libio/wfiledoalloc.c: Likewise.
29995 * libio/wfileops.c: Likewise.
29996 * libio/wgenops.c: Likewise.
29997 * libio/wmemstream.c: Likewise.
29998 * libio/wstrops.c: Likewise.
29999 * libio/__fpurge.c: Likewise.
30000 * libio/__fsetlocking.c: Likewise.
30001 * assert/assert.c: Likewise.
30002 * debug/fgets_chk.c: Likewise.
30003 * debug/fgets_u_chk.c: Likewise.
30004 * debug/fread_chk.c: Likewise.
30005 * debug/fread_u_chk.c: Likewise.
30006 * debug/gets_chk.c: Likewise.
30007 * debug/obprintf_chk.c: Likewise.
30008 * debug/vasprintf_chk.c: Likewise.
30009 * debug/vdprintf_chk.c: Likewise.
30010 * debug/vsnprintf_chk.c: Likewise.
30011 * debug/vsprintf_chk.c: Likewise.
30012 * malloc/mtrace.c: Likewise.
30013 * misc/error.c: Likewise.
30014 * misc/syslog.c: Likewise.
30015 * stdio-common/asprintf.c: Likewise.
30016 * stdio-common/fxprintf.c: Likewise.
30017 * stdio-common/getw.c: Likewise.
30018 * stdio-common/isoc99_fscanf.c: Likewise.
30019 * stdio-common/isoc99_scanf.c: Likewise.
30020 * stdio-common/isoc99_vfscanf.c: Likewise.
30021 * stdio-common/isoc99_vscanf.c: Likewise.
30022 * stdio-common/isoc99_vsscanf.c: Likewise.
30023 * stdio-common/printf-prs.c: Likewise.
30024 * stdio-common/printf_fp.c: Likewise.
30025 * stdio-common/printf_fphex.c: Likewise.
30026 * stdio-common/printf_size.c: Likewise.
30027 * stdio-common/putw.c: Likewise.
30028 * stdio-common/scanf.c: Likewise.
30029 * stdio-common/sprintf.c: Likewise.
30030 * stdio-common/tmpfile.c: Likewise.
30031 * stdio-common/vfprintf.c: Likewise.
30032 * stdio-common/vfscanf.c: Likewise.
30033 * stdlib/strfmon_l.c: Likewise.
30034 * sunrpc/openchild.c: Likewise.
30035 * sunrpc/xdr_stdio.c: Likewise.
30036 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30037 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30039 2012-05-24 Roland McGrath <roland@hack.frob.com>
30041 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30043 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30044 in the third column, to generate for the shared library an IFUNC
30045 that uses _dl_vdso_vsym.
30046 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30047 * Makeconfig (object-suffixes-noshared): New variable.
30049 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30050 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30051 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30052 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30055 * include/sys/time.h (__gettimeofday): Remove macro.
30056 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30057 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30059 (__gettimeofday): Add libc_hidden_def.
30060 (gettimeofday): Add libc_hidden_weak.
30061 * sysdeps/mach/gettimeofday.c: Likewise.
30062 * sysdeps/posix/gettimeofday.c: Likewise.
30063 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30064 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30066 (__gettimeofday_internal): Remove strong_alias.
30067 (__gettimeofday): Add libc_hidden_def.
30068 (gettimeofday): Add libc_hidden_weak.
30069 * sysdeps/unix/syscalls.list (gettimeofday):
30070 Remove __gettimeofday_internal alias.
30072 2012-05-24 Daniel Jacobowitz <drow@false.org>
30073 H.J. Lu <hongjiu.lu@intel.com>
30076 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30077 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30078 (largebin_index_32_big): New.
30079 (largebin_index): Use it for 16-byte alignment.
30080 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30081 correction with front_misalign.
30083 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30111 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30112 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30114 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30118 * math/libm-test.inc (exp_test): Add test from bug 14036.
30119 (pow_test): Add test from bug 10846.
30121 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30123 (special_function): Do not include flags in test name.
30124 (parse_args): Likewise.
30125 * sysdeps/i386/fpu/libm-test-ulps: Update.
30126 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30127 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30128 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30131 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30133 * math/libm-test.inc ("Philosophy"): Update comment about
30135 (UNDERFLOW_EXCEPTION): New macro.
30136 (UNDERFLOW_EXCEPTION_OK): Likewise.
30137 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30138 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30139 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30140 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30141 (INVALID_EXCEPTION_OK): Update value.
30142 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30143 (OVERFLOW_EXCEPTION_OK): Likewise.
30144 (IGNORE_ZERO_INF_SIGN): Likewise.
30145 (test_exceptions): Handle underflow exceptions.
30146 (acos_test): Update for underflow exception expectations.
30147 (cexp_test): Likewise.
30148 (clog_test): Likewise.
30149 (clog10_test): Likewise.
30150 (csqrt_test): Likewise.
30151 (ctan_test): Likewise.
30152 (ctanh_test): Likewise.
30153 (exp_test): Likewise.
30154 (exp10_test): Likewise.
30155 (exp2_test): Likewise.
30156 (expm1_test): Likewise.
30157 (fma_test): Likewise.
30158 (j0_test): Likewise.
30159 (jn_test): Likewise.
30160 (nexttoward_test): Likewise.
30161 (pow_test): Likewise.
30162 (scalbn_test): Likewise.
30163 (scalbln_test): Likewise.
30164 (tan_test): Likewise.
30165 (y1_test): Likewise.
30166 * sysdeps/i386/fpu/libm-test-ulps: Update.
30167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30169 2012-05-23 David S. Miller <davem@davemloft.net>
30171 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30172 (__libc_sigaction): Remove unused local variables.
30174 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30176 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30178 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30180 mktime: avoid signed integer overflow
30181 * time/mktime.c (__mktime_internal): Do not mishandle the case
30182 where diff == INT_MIN.
30184 mktime: simplify computation of average
30185 * time/mktime.c (ranged_convert): Use new time_t_avg function
30186 instead of rolling our own (probably-slower) code.
30188 mktime: do not assume signed right shift propagates sign bit
30189 * time/mktime.c (isdst_differ): New static function.
30190 (__mktime_internal): No need to normalize tm_isdst now.
30191 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30194 mktime: merge another wrapv change from gnulib
30195 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30196 from some compilers.
30198 mktime: remove incorrect attempt at unusual arithmetics
30199 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30200 The code didn't really work on such machines anyway.
30201 (TYPE_MINIMUM): Assume two's complement.
30202 (twos_complement_arithmetic): Verify that long_int and time_t
30203 are two's complement (or unsigned, in the latter case).
30205 mktime: check signed shifts on long_int and time_t, too
30206 * time/mktime.c (SHR): Check that shifts work as desired
30207 on the types long_int and time_t too, as SHR is used on
30210 mktime: do not assume 'long' is wide enough
30211 * time/mktime.c (verify): Move decl up.
30212 (long_int): New type.
30213 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30214 to remove assumption in the code that 'long' is wide enough to
30215 store year values. This assumption is not true on x32 and on
30216 some non-glibc platforms.
30218 mktime: merge wrapv change from gnulib
30219 * time/mktime.c (WRAPV): New macro.
30220 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30221 (guess_time_tm, __mktime_internal): Do not assume that signed
30222 integer overflow wraps around; modern compilers generate code
30223 where this assumption is no longer valid.
30225 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30227 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30228 Replace "jmp L(pseudo_end)" with "ret".
30229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30232 2012-05-23 Andreas Jaeger <aj@suse.de>
30234 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30235 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30237 2012-05-23 Andreas Jaeger <aj@suse.de>
30238 Maximilian Attems <max@stro.at>
30240 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30243 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30245 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30246 code so that pseudo_end is just ret and the stack pointer is
30247 correct also for static library in error case.
30249 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30251 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30252 move to syscalls.list.
30253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30258 * manual/install.texi (Running make install): Do not mention Linux
30259 kernel version for which pt_chown is not needed.
30260 (Linux): Do not mention problems with nscd with 2.0 kernels.
30261 * INSTALL: Regenerated.
30263 2012-05-23 Andreas Jaeger <aj@suse.de>
30265 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30266 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30268 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30269 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30270 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30271 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30272 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30273 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30274 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30275 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30276 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30277 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30278 * sysdeps/unix/sysv/linux/bits/in.h
30279 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30281 2012-05-22 Roland McGrath <roland@hack.frob.com>
30283 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30284 (PREPARE_VERSION): Just use assert instead, it will be elided
30285 under [NDEBUG] anyway.
30287 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30289 * sysdeps/unix/sysv/linux/Makefile: Include
30290 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30291 (sysdep_routines): Remove sysctl.
30292 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30293 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30294 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30295 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30296 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30298 2012-05-22 Andreas Jaeger <aj@suse.de>
30300 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30301 that pseudo_end is just ret and the stack pointer is correct also
30302 for static library in error case.
30304 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30307 * nss/nsswitch.c (defconfig_entries): New variable.
30308 (__nss_database_lookup): Don't leak defconfig entries.
30309 (nss_parse_service_list): Don't leak on error paths.
30310 (free_database_entries): New function.
30311 (free_defconfig): New function.
30312 (free_mem): Move common code to free_database_entries.
30314 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30316 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30318 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30320 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30321 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30324 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30325 (INTERNAL_SYSCALL_TYPES): Likewise.
30326 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30327 (LOAD_REGS_TYPES_[1-6]): Likewise.
30328 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30329 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30331 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30333 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30334 copysignl for GLIBC_2_0.
30335 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30336 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30338 logbl for GLIBC_2_0.
30339 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30340 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30342 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30345 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30347 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30350 * time/mktime.c: Update copyright years.
30352 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30354 mktime: merge comment-quoting-style change from gnulib
30355 * time/mktime.c: Quote 'like this' in comments.
30356 The GNU coding standards suggest that we no longer quote `like this',
30357 as "`" and "'" are typically rendered asymmetrically nowadays.
30358 The typical gnulib style is to quote 'like this' when quoting
30359 code, and "like this" when quoting English.
30361 * time/mktime.c (compile-command): Add "-I.".
30363 mktime: merge mktime-internal.h change from gnulib
30364 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30366 mktime: merge time_r change from gnulib
30367 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30369 mktime: merge DEBUG change from gnulib
30370 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30371 case system <time.h> has a #define.
30373 mktime: merge <sys/types.h> change from gnulib
30374 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30375 since <time.t> is now guaranteed to define time_t.
30377 mktime: merge HAVE_CONFIG_H change from gnulib
30378 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30380 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30385 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30387 (struct rusage): Use anonymous union to pad each field to
30390 2012-05-21 David S. Miller <davem@davemloft.net>
30392 * Makefules (o-iterator): Remove .s cases.
30393 (compile-command.s): Delete.
30394 (COMPILE.s): Delete.
30395 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30397 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30399 * configure.in (libc_cv_predef_stack_protector): Only consider
30400 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30401 * configure: Regenerated.
30403 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30406 New macro. Use R*LP on int and pointer.
30407 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30408 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30409 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30410 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30412 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30413 [__WORDSIZE_TIME64_COMPAT32] instead of
30414 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30415 (struct utmp): Likewise.
30416 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30417 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30419 (__WORDSIZE_TIME64_COMPAT32): This.
30420 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30421 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30422 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30423 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30424 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30425 (__WORDSIZE_TIME64_COMPAT32): New macro.
30427 2012-05-21 Andreas Jaeger <aj@suse.de>
30429 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30430 only if [SHARED]. Add prototype for __wcschr_ia32.
30432 2012-05-21 Roland McGrath <roland@hack.frob.com>
30434 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30435 of %rbp unmolested in the jmp_buf while mangling the low bits.
30436 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30437 unmolested high bits of %rbp while demangling the low bits.
30438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30440 2012-05-21 Andreas Jaeger <aj@suse.de>
30442 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30443 * sunrpc/svc_simple.c: Use it for registerrpc.
30444 * sunrpc/xcrypt.c: Use it for passwd2des.
30446 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30448 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30450 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30451 Don't define if [__SYSCALL_WORDSIZE != 32].
30452 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30455 2012-05-21 Bruno Haible <bruno@clisp.org>
30456 Andreas Jaeger <aj@suse.de>
30458 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30459 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30460 inptr and inend for must_buffer_ch.
30461 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30462 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30463 * stdio-common/Makefile (tests): Remove bug15.
30464 (bug15-ENV): Remove macro.
30465 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30468 2012-05-19 Andreas Jaeger <aj@suse.de>
30469 Roland McGrath <roland@hack.frob.com>
30471 * manual/contrib.texi: Completely rewritten. It contains now an
30472 alphabetical list of contributors and their contributions.
30474 2012-05-21 Richard Henderson <rth@twiddle.net>
30476 * misc/getauxval.c (__getauxval): Use unsigned long int.
30477 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30478 (getauxval): Use unsigned long int.
30480 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30482 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30484 2012-05-21 Roland McGrath <roland@hack.frob.com>
30486 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30487 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30488 __alignof__ (long double).
30490 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30494 2012-05-20 Richard Henderson <rth@twiddle.net>
30496 * misc/getauxval.c: New file.
30497 * misc/sys/auxv.h: New file.
30498 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30499 (routines): Add getauxval.
30500 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30501 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30502 * elf/dl-sysdep.c (_dl_auxv): Remove.
30503 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30504 * elf/dl-support.c (_dl_auxv): New variable.
30505 (_dl_aux_init): Initialize it.
30506 * manual/startup.texi (Auxiliary Vector): New node.
30507 * sysdeps/generic/bits/hwcap.h: New file.
30508 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30509 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30510 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30511 * sysdeps/sparc/sysdep.h: ... here. Include it.
30512 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30513 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30525 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30529 2012-05-19 David S. Miller <davem@davemloft.net>
30531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30533 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30536 * math/s_ccosh.c: Include <float.h>
30537 (__ccosh): Avoid internal overflow calculating sinh and cosh
30538 values before multiplying by sin and cos values.
30539 * math/s_ccoshf.c: Likewise.
30540 * math/s_ccoshl.c: Likewise.
30541 * math/s_csin.c: Likewise.
30542 * math/s_csinf.c: Likewise.
30543 * math/s_csinl.c: Likewise.
30544 * math/s_csinh.c: Likewise.
30545 * math/s_csinhf.c: Likewise.
30546 * math/s_csinhl.c: Likewise.
30547 * math/libm-test.inc (ccos_test): Add more tests.
30548 (ccosh_test): Likewise.
30549 (csin_test): Likewise.
30550 (csinh_test): Likewise.
30551 * sysdeps/i386/fpu/libm-test-ulps: Update.
30552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30554 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30556 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30557 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30559 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30561 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30563 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30564 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30565 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30566 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30567 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30568 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30569 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30570 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30571 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30572 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30573 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30574 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30575 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30576 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30577 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30578 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30579 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30580 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30581 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30582 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30583 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30584 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30585 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30586 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30587 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30588 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30589 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30590 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30591 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30592 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30593 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30595 2012-05-18 Andreas Jaeger <aj@suse.de>
30597 * csu/.gitignore: Delete.
30599 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30601 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30602 (timex): Use __syscall_slong_t.
30604 2012-05-18 Andreas Jaeger <aj@suse.de>
30605 Carlos O'Donell <carlos_odonell@mentor.com>
30607 * manual/install.texi (Configuring and compiling): Update
30608 description about files modified in the source directory.
30609 * INSTALL: Regenerated.
30611 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30613 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30614 value. Use "or" to set return value to -1.
30615 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30616 negate return value.
30618 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30620 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30621 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30622 failure if the compiler has Graphite support disabled.
30623 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30625 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30626 (CFLAGS-memmove.c): Likewise.
30627 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30630 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30632 * sysdeps/x86_64/x32/_itoa.h: New file.
30634 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30635 getdents system call only if kernel and user dirents have the
30636 same d_ino and d_off.
30638 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30639 LLONG_MAX != LONG_MAX.
30640 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30641 (_fitoa_word): Likewise.
30643 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30645 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30646 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30647 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30649 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30650 include <bits/wordsize.h>. Check __x86_64__ instead of
30652 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30653 if __x86_64__ is defined. Use anonymous union on fpstate.
30655 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30658 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30660 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30661 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30662 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30663 Refer to _rtld_local_ro instead of _rtld_global_ro.
30664 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30666 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30668 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30670 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30671 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30672 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30674 * sysdeps/powerpc/powerpc32/dl-machine.c
30675 (__elf_machine_runtime_setup) [PROF]: Don't reference
30678 2012-05-18 Andreas Jaeger <aj@suse.de>
30680 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30681 function only available for GCCs before 3.4 since GCC 3.4
30682 introduced a builtin.
30684 (llrintf): Likewise.
30685 (llrint): Likewise.
30692 (nearbyint): Likewise.
30693 (nearbyintf): Likewise.
30697 (floorf): Likewise.
30699 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30701 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30702 on both fields and cast pointer to __syscall_ulong_t.
30704 * bits/types.h (__fsword_t): New type.
30705 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30706 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30708 (__FSWORD_T_TYPE): Likewise.
30709 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30710 (__FSWORD_T_TYPE): Likewise.
30711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30712 (__FSWORD_T_TYPE): Likewise.
30713 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30714 (__FSWORD_T_TYPE): Likewise.
30715 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30716 __SWORD_TYPE with __fsword_t.
30717 (statfs64): Likewise.
30719 2012-05-17 David S. Miller <davem@davemloft.net>
30721 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30723 2012-05-17 Andreas Jaeger <aj@suse.de>
30725 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30728 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30730 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30732 2012-05-17 Andreas Jaeger <aj@suse.de>
30734 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30737 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30739 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30741 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30743 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30744 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30746 2012-05-17 Andreas Jaeger <aj@suse.de>
30747 Carlos O'Donell <carlos_odonell@mentor.com>
30750 * sysdeps/x86_64/multiarch/init-arch.h
30751 (bit_YMM_Usable): Rename to...
30752 (bit_AVX_Usable): ... this.
30753 (bit_FMA4_Usable): New macro.
30754 (bit_XMM_state): New macro.
30755 (bit_YMM_state): New macro.
30756 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30757 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30758 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30759 (CPUID_OSXSAVE): New macro.
30760 (CPUID_AVX): New macro.
30761 (CPUID_FMA4): New macro.
30762 (index_YMM_Usable): Rename to...
30763 (index_AVX_Usable): ... this.
30764 (HAS_AVX): Use HAS_ARCH_FEATURE.
30765 (HAS_FMA4): Likewise.
30766 (HAS_YMM_USABLE): Remove.
30767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30768 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30770 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30771 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30772 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30773 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30774 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30776 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30778 * math/libm-test.c: Support platforms without multiple rounding modes.
30779 * math/bug-nextafter.c: Support platforms without FP exceptions.
30780 * math/bug-nexttoward.c: Likewise.
30781 * math/test-fenv.c: Likewise.
30782 * math/test-misc.c: Likewise.
30783 * stdlib/bug-getcontext.c: Likewise.
30785 2012-05-17 Andreas Jaeger <aj@suse.de>
30787 * manual/examples/search.c (critter_cmp): Change signature to
30789 * manual/string.texi (Collation Functions): Likewise.
30791 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30793 * bits/types.h: Fold copyright years.
30794 * bits/typesizes.h: Likewise.
30795 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30797 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30798 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30799 * time/time.h: Likewise.
30801 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30804 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30805 in instead of returning them. Return void.
30806 (__libc_mallinfo): Accumulate over all arenas.
30807 (__malloc_stats): Adjust for change in int_mallinfo interface.
30809 2012-05-16 Roland McGrath <roland@hack.frob.com>
30812 * configure.in (NM): Add AC_CHECK_TOOL for it.
30813 (libc_extra_cflags): New substituted variable.
30814 Check for -fstack-protector being used implicitly.
30815 * configure: Regenerated.
30816 * config.make.in (config-extra-cflags): New variable,
30817 gets @libc_extra_cflags@.
30818 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30821 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30822 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30823 * configure: Regenerated.
30824 * config.make.in (CPPUNDEFS): New substituted variable.
30825 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30826 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30827 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30829 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30831 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30832 (mq_attr): Use __syscall_slong_t.
30834 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30836 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30837 Check __x86_64__ instead of __WORDSIZE.
30838 (_STAT_VER_LINUX): Likewise.
30839 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30840 __syscall_ulong_t and __syscall_slong_t.
30841 (stat64): Likewise.
30843 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30845 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30847 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30849 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30851 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30853 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30856 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30857 include <bits/wordsize.h>. Check __x86_64__ instead of
30859 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30861 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30863 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30864 include <bits/wordsize.h>. Check __x86_64__ instead of
30866 (user_regs_struct): Use "__extension__ unsigned long long"
30867 instead of "unsigned long" if __x86_64__ is defined.
30868 (user): Likewise. Pad after pointer field if __ILP32__ is
30871 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30873 * configure.in (makeinfo): Require version 4.5 or later. Allow
30875 * configure: Regenerated.
30876 * manual/install.texi (texinfo): Increase version requirement to
30878 * INSTALL: Regenerated.
30880 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30882 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30884 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30886 * sysdeps/x86_64/x32/ffs.c: New file.
30888 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30890 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30891 defined. Use __syscall_ulong_t.
30892 (shminfo): Use __syscall_ulong_t.
30893 (shm_info): Likewise.
30895 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30898 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30900 (msgqnum_t): Use __syscall_ulong_t.
30901 (msglen_t): Likewise.
30902 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30905 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30906 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30908 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30910 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30911 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30913 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30916 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30917 include <bits/wordsize.h>. Check __x86_64__ instead of
30920 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30921 "unsigned long long int" if __x86_64__ is defined.
30922 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30924 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30925 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30926 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30928 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30930 (GET_PC): Cast to uintptr_t first.
30931 (GET_FRAME): Likewise.
30932 (GET_STACK): Likewise.
30934 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30935 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30936 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30937 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30938 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30939 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30940 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30941 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30942 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30943 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30944 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30945 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30946 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30947 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30948 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30949 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30950 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30951 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30952 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30953 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30954 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30955 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30956 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30957 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30958 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30959 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30960 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30961 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30962 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30964 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30966 * Makerules (+depfiles): Also collect depfiles from .oS in
30968 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30969 .oS, $(libnldbl-routines)).
30971 * Makerules (native-compile-mkdep-flags): Define.
30972 * sunrpc/Makefile (extra-objs): Add $(addprefix
30973 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30974 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30975 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30976 calling $(make-target-directory).
30978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30980 * bits/types.h (__snseconds_t): Removed.
30981 * time/time.h (struct timespec): Replace __snseconds_t with
30983 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30984 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30987 (__SNSECONDS_T_TYPE): Likewise.
30988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30989 (__SNSECONDS_T_TYPE): Likewise.
30990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30991 (__SNSECONDS_T_TYPE): Likewise.
30993 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30995 * sysdeps/mach/hurd/bits/typesizes.h
30996 (__SYSCALL_SLONG_TYPE): New macro.
30997 (__SYSCALL_ULONG_TYPE): Likewise.
30999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31001 * bits/types.h (__syscall_slong_t): New type.
31002 (__syscall_ulong_t): Likewise.
31004 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31005 (__SYSCALL_ULONG_TYPE): Likewise.
31006 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31007 (__SYSCALL_SLONG_TYPE): Likewise.
31008 (__SYSCALL_ULONG_TYPE): Likewise.
31009 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31010 (__SYSCALL_SLONG_TYPE): Likewise.
31011 (__SYSCALL_ULONG_TYPE): Likewise.
31012 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31013 (__SYSCALL_SLONG_TYPE): Likewise.
31014 (__SYSCALL_ULONG_TYPE): Likewise.
31016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31018 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31019 Add sigaltstack-offsets.sym.
31020 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31021 <sigaltstack-offsets.h>.
31022 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31023 longjmp_msg pointer.
31024 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31025 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31027 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31029 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31031 * elf/stackguard-macros.h: Remove file.
31032 * sysdeps/generic/stackguard-macros.h: New file.
31033 * sysdeps/i386/stackguard-macros.h: Likewise.
31034 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31035 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31036 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31037 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31038 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31039 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31040 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31041 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31042 <elf/stackguard-macros.h>.
31045 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31046 __aligned__ in attribute.
31047 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31048 (gregset_t): Likewise.
31050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31052 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31053 * sysdeps/x86_64/64/Implies-after: Here. New file.
31054 * sysdeps/x86_64/x32/Implies-after: New file.
31056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31058 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31059 and access return value for _dl_profile_fixup. Use R10_LP to
31062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31064 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31066 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31068 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31069 * sysdeps/x86_64/x32/sysdep.h: New file.
31071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31073 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31074 * sysdeps/x86_64/setjmp.S: Likewise.
31076 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31078 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31079 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31080 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31081 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31082 remove unused global constant.
31084 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31086 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31087 include of <not-cancel.h>.
31089 2012-05-15 Roland McGrath <roland@hack.frob.com>
31091 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31093 2012-05-15 Jeff Law <law@redhat.com>
31094 Andreas Jaeger <aj@suse.de>
31097 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31099 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31100 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31101 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31102 code changing __hst_map_handle.map.
31104 2012-05-15 Roland McGrath <roland@hack.frob.com>
31106 * configure.in (sysnames): Look for Implies-before and Implies-after
31108 * configure: Regenerated.
31110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31112 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31113 8-byte data alignment with LP_SIZE alignment.
31115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31117 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31122 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31126 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31127 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31128 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31130 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31134 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31135 (stackinfo_sub_sp): Likewise.
31137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31144 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31149 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31154 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31158 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31159 into R11_LP and load __x86_64_shared_cache_size_half into
31162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31164 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31167 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31169 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31175 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31176 powerpc32/power7/fpu/s_logb.c via #include.
31177 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31178 powerpc32/power7/fpu/s_logbf.c via #include.
31179 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31180 powerpc32/power7/fpu/s_logbl.c via #include.
31182 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31184 * README.libm: Remove file.
31186 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31188 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31189 count for x32. Use R*_LP and omit operand-size suffix.
31191 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31193 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31194 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31195 * sysdeps/x86_64/x32/shlib-versions: New file.
31197 2012-05-14 Roland McGrath <roland@hack.frob.com>
31199 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31200 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31201 Use _dl_fatal_printf instead.
31203 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31205 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31206 set if not set by the user. Do not allow for being unset.
31207 * sysdeps/unix/sysv/linux/configure: Regenerated.
31209 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31211 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31212 the `q' suffix from lea and replace .quad with ASM_ADDR.
31214 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31217 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31219 (PTR_DEMANGLE): Likewise.
31221 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31223 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31225 (ASM_ADDR): Likewise.
31226 (RAX_LP): Likewise.
31227 (RBP_LP): Likewise.
31228 (RBX_LP): Likewise.
31229 (RCX_LP): Likewise.
31230 (RDI_LP): Likewise.
31231 (RSI_LP): Likewise.
31232 (RSP_LP): Likewise.
31235 (R10_LP): Likewise.
31236 (R10_LP): Likewise.
31237 (R11_LP): Likewise.
31238 (R12_LP): Likewise.
31239 (R13_LP): Likewise.
31240 (R14_LP): Likewise.
31241 (R15_LP): Likewise.
31243 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31245 * sysdeps/x86_64/x32/dl-machine.h: New file.
31247 2012-05-14 Andreas Jaeger <aj@suse.de>
31249 * manual/Makefile (subdir): Remove export of subdir.
31250 (all): Remove target.
31251 (.PHONY): Remove all from list.
31252 (mkinstalldirs): Remove.
31253 (.PHONY): Remove installdirs from list.
31254 ($(inst_infodir)/libc.info): Use make-target-directory.
31255 (installdirs): Remove.
31256 (subdir_%): Remove.
31257 (glibc-targets): Remove.
31260 ($(objpfx)stubs ../po/manual.pot): Remove.
31261 ($(objpfx)stamp%): Remove.
31262 (make-target-directory): Remove.
31263 (subdir_install): Remove.
31264 (routines): Remove.
31271 * manual/.gitignore: Remove, it's not needed anymore.
31272 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31274 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31276 (texis): Renamed to $(objpfx)texis.
31277 (texis-path): New, contains path to generated files.
31278 (chapters.%): Use texis-path for complete path, add extra argument
31280 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31281 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31282 (summary,texi, stamp-summary): Use complete path of
31283 files. Generate files in build dir.
31284 (dir-add.texi): Build in build dir.
31285 (libm-err.texi,stamp-libm-err): Likewise.
31286 (version.texi, stamp-version): Likewise.
31287 (.%c.texi): Likewise.
31288 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31289 (mostlyclean): Remove target.
31290 (realclean): Remove target.
31291 (generated): Add new variable with contents from mostlyclean and
31292 realclean, remove entries duplicated in common-mostlyclean, add
31293 stamp-libm-err and stamp-version.
31294 (generated-dirs): Add libc directory.
31295 ($(inst_infodir)/libc.info): Install files from build dir.
31297 * manual/install.texi (Configuring and compiling): Adjust since
31298 the info files are not part of the tar ball anymore.
31300 2012-05-14 Andreas Jaeger <aj@suse.de>
31302 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31305 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31308 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31309 to 2.2.0 where earlier.
31310 * sysdeps/unix/sysv/linux/configure: Regenerated.
31311 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31312 Remove conditional code.
31313 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31314 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31315 Remove conditional code.
31316 [!__NR_lchown]: Likewise.
31317 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31318 [__NR_lchown]: Likewise.
31319 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31320 comment referencing __ASSUME_LCHOWN_SYSCALL.
31321 * sysdeps/unix/sysv/linux/i386/sigaction.c
31322 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31323 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31324 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31325 Remove conditional code.
31326 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31327 (__protocol_available): Remove #if 0 code.
31328 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31330 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31331 * sysdeps/unix/sysv/linux/kernel-features.h
31332 (__ASSUME_GETCWD_SYSCALL): Don't define.
31333 (__ASSUME_REALTIME_SIGNALS): Likewise.
31334 (__ASSUME_PREAD_SYSCALL): Likewise.
31335 (__ASSUME_PWRITE_SYSCALL): Likewise.
31336 (__ASSUME_POLL_SYSCALL): Likewise.
31337 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31338 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31340 (__ASSUME_SIOCGIFNAME): Don't define.
31341 (__ASSUME_MSG_NOSIGNAL): Likewise.
31342 (__ASSUME_SENDFILE): Define unconditionally.
31343 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31344 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31346 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31347 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31348 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31349 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31350 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31351 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31352 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31354 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31357 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31360 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31363 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31366 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31369 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31370 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31372 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31373 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31375 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31376 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31377 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31378 Remove conditional code.
31379 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31380 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31381 Remove conditional code.
31382 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31383 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31384 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31385 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31386 Remove conditional code.
31387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31388 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31389 Remove conditional code.
31390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31391 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31392 Remove conditional code.
31393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31394 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31395 Remove conditional code.
31396 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31397 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31398 Remove conditional code.
31399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31400 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31401 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31402 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31403 * sysdeps/unix/sysv/linux/sigaction.c
31404 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31405 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31406 * sysdeps/unix/sysv/linux/sigpending.c
31407 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31408 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31409 * sysdeps/unix/sysv/linux/sigprocmask.c
31410 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31411 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31412 * sysdeps/unix/sysv/linux/sigsuspend.c
31413 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31414 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31415 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31416 (__libc_missing_rt_sigs): Remove.
31417 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31418 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31419 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31420 Remove conditional code.
31421 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31422 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31424 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31425 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31426 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31427 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31429 2012-05-14 Andreas Jaeger <aj@suse.de>
31431 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31432 it's not used in glibc.
31433 (__coshm1): Likewise.
31434 (__acosh1p): Likewise.
31437 * manual/string.texi (Copying and Concatenation): Add missing
31438 variable in concat example.
31439 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31441 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31444 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31445 __builtin_clzl with __builtin_clzll.
31447 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31450 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31453 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31455 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31456 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31457 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31458 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31460 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31462 * NEWS: Update ia64 info.
31464 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31466 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31469 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31471 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31472 * sysdeps/unix/syscalls.list (dup3): Likewise.
31473 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31474 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31476 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31478 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31479 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31481 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31483 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31485 (TLS_IE): Use mov/add instead of movq/addq to load thread
31487 (TLS_GD_PREFIX): New.
31490 2012-05-11 David S. Miller <davem@davemloft.net>
31492 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31493 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31494 (_FPU_SETCW): Likewise.
31496 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31498 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31499 is 32-byte aligned.
31501 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31504 * iconvdata/gb18030.c: Update tables.
31505 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31506 characters specially.
31507 (BODY for TO_LOOP): Add encoding of missing ranges.
31509 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31512 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31513 * sysdeps/mach/hurd/dup3.c: Likewise.
31514 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31515 * sysdeps/powerpc/memmove.c:: Likewise.
31517 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31520 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31522 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31524 * elf/elf.h (R_X86_64_RELATIVE64): New.
31525 (R_X86_64_NUM): Updated.
31526 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31527 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31528 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31529 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31530 tst-quad1pie tst-quad2pie
31531 (modules-names): Add tst-quadmod1 tst-quadmod2.
31532 ($(objpfx)tst-quad1): New dependency.
31533 ($(objpfx)tst-quad2): Likewise.
31534 ($(objpfx)tst-quad1pie): Likewise.
31535 ($(objpfx)tst-quad2pie): Likewise.
31536 * sysdeps/x86_64/tst-quad1.c: New file.
31537 * sysdeps/x86_64/tst-quad1pie.c: New file.
31538 * sysdeps/x86_64/tst-quad2.c: Likewise.
31539 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31540 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31541 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31542 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31543 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31545 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31547 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31548 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31549 * streams/stropts.h (t_scalar_t): Define type.
31551 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31552 (_PATH_PRESERVE): Set to "/var/lib".
31553 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31555 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31558 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31559 if __dir_mkfile succeeded.
31561 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31562 checking for _hurd_dtablesize. Unlock it right after having
31563 finished _hurd_dtable allocation.
31565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31567 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31568 * sysdeps/mach/hurd/configure: Regenerated.
31569 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31570 special-casing to...
31571 * sysdeps/gnu/configure.in: ... this new file.
31572 * sysdeps/unix/sysv/linux/configure: Regenerated.
31573 * sysdeps/gnu/configure: New generated file.
31575 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31576 for Linux: use nsec instead of usec, as well as:
31577 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31578 members of type struct timespec.
31579 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31581 (struct stat64): Likewise.
31582 (_STATBUF_ST_NSEC): New macro.
31583 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31585 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31586 __strtoul_internal rather than strtoul.
31588 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31590 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31593 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31595 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31596 which preserves existing values.
31597 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31599 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31601 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31602 TIMEOUT values. Return EINVAL for NFDS values either negative or
31603 greater than FD_SETSIZE.
31605 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31607 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31608 allocated, call __vm_protect to finish enabling the existing space, and
31609 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31610 allocate the remainder.
31612 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31614 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31615 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31617 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31619 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31620 sysdeps/mach/hurd/readlink.c.
31622 * posix/tst-sysconf.c (posix_options): Only use
31623 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31624 _POSIX_SYNCHRONIZED_IO when they are defined
31625 * sysdeps/mach/hurd/bits/posix_opt.h:
31626 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31627 (_XOPEN_REALTIME): Undefine macro.
31628 (_XOPEN_REALTIME_THREADS): Undefine macro.
31629 (_XOPEN_SHM): Undefine macro.
31630 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31632 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31634 (_POSIX_ASYNC_IO): Undefine macro.
31635 (_POSIX_PRIORITIZED_IO): Undefine macro.
31636 (_POSIX_SPIN_LOCKS): Define macro to -1.
31638 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31639 SA_NODEFER, SA_RESETHAND.
31640 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31641 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31644 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31646 * elf/Makefile (pldd-modules): Define unconditionally.
31648 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31650 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31652 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31654 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31655 Return ENOENT when name is empty.
31656 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31658 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31660 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31662 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31664 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31666 Fix mlock in all cases except non-readable pages.
31667 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31668 instead of VM_PROT_ALL as parameter to __vm_wire function.
31670 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31671 (__mkdir): When path is `/', just fail with EEXIST.
31672 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31674 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31676 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31677 <sys/uio.h> (for writev).
31678 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31679 and <sys/param.h> (for MIN).
31681 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31683 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31684 REQUESTED_TIME. Properly set the remaining time and return EINTR
31687 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31689 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31690 Depend on against $(link-rpcuserlibs).
31692 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31694 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31695 (__libc_stack_end): Do not use attribute_relro.
31696 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31697 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31698 to libthread-provided value.
31699 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31705 * bits/libc-lock.h (__libc_once_get): New macro.
31706 * sysdeps/mach/bits/libc-lock.h: Likewise.
31707 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31708 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31709 instead of using implementation details.
31711 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31712 * libio/freopen.c: Likewise.
31713 * libio/freopen64.c: Likewise.
31714 * misc/syslog.c: Likewise.
31715 * nscd/connections.c: Likewise.
31716 * nscd/netgroupcache.c: Likewise.
31717 * sysdeps/posix/getcwd.c: Likewise.
31719 2012-05-10 Roland McGrath <roland@hack.frob.com>
31721 * math/w_ilogbf.c: Add #include <limits.h>.
31723 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31725 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31726 path instead of returning without unlocking.
31728 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31729 immediate-write ioctls.
31730 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31734 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31735 __builtin_frame_address instead of making assumptions about the
31736 location of the return address relative to DATA. Force early load of
31737 the return address.
31738 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31739 __builtin_frame_address.
31742 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31743 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31744 implement dup3 and do some further code clean-ups.
31745 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31746 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31750 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31752 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31753 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31754 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31755 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31756 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31759 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31760 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31761 when handler == SIG_ERR, not when handler != SIG_ERR.
31763 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31765 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31766 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31769 accept4 for GNU Hurd.
31770 * include/sys/socket.h (__libc_accept4): New prototype.
31771 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31772 to implement __libc_accept4.
31773 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31775 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31777 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31778 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31779 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31780 signal-defines.sym.
31782 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31784 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31786 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31788 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31789 assertion on O_CLOEXEC flag.
31790 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31791 * hurd/intern-fd.c: Likewise.
31792 * hurd/port2fd.c: Likewise.
31794 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31797 * bits/in.h (IPV6_PKTINFO): Define new macro.
31798 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31800 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31805 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31806 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31807 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31808 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31809 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31810 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31811 * math/libm-test.inc (logb_test) : Additional logb tests.
31813 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31814 Andreas Jaeger <aj@suse.de>
31816 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31817 * configure: Regenerated.
31818 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31819 * config.make.in (link-obsolete-rpc): New substituted variable.
31820 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31821 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31822 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31823 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31824 so that libc.a contains the symbols.
31825 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31826 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31827 * sunrpc/auth_none.c: Likewise.
31828 * sunrpc/auth_unix.c: Likewise.
31829 * sunrpc/authdes_prot.c: Likewise.
31830 * sunrpc/authuxprot.c: Likewise.
31831 * sunrpc/clnt_gen.c: Likewise.
31832 * sunrpc/clnt_perr.c: Likewise.
31833 * sunrpc/clnt_raw.c: Likewise.
31834 * sunrpc/clnt_simp.c: Likewise.
31835 * sunrpc/clnt_tcp.c: Likewise.
31836 * sunrpc/clnt_udp.c: Likewise.
31837 * sunrpc/clnt_unix.c: Likewise.
31838 * sunrpc/des_crypt.c: Likewise.
31839 * sunrpc/des_soft.c: Likewise.
31840 * sunrpc/get_myaddr.c: Likewise.
31841 * sunrpc/key_call.c: Likewise.
31842 * sunrpc/key_prot.c: Likewise.
31843 * sunrpc/netname.c: Likewise.
31844 * sunrpc/pm_getmaps.c: Likewise.
31845 * sunrpc/pm_getport.c: Likewise.
31846 * sunrpc/pmap_clnt.c: Likewise.
31847 * sunrpc/pmap_prot.c: Likewise.
31848 * sunrpc/pmap_prot2.c: Likewise.
31849 * sunrpc/pmap_rmt.c: Likewise.
31850 * sunrpc/publickey.c: Likewise.
31851 * sunrpc/rpc_cmsg.c: Likewise.
31852 * sunrpc/rpc_common.c: Likewise.
31853 * sunrpc/rpc_dtable.c: Likewise.
31854 * sunrpc/rpc_prot.c: Likewise.
31855 * sunrpc/rpc_thread.c: Likewise.
31856 * sunrpc/rtime.c: Likewise.
31857 * sunrpc/svc.c: Likewise.
31858 * sunrpc/svc_auth.c: Likewise.
31859 * sunrpc/svc_raw.c: Likewise.
31860 * sunrpc/svc_run.c: Likewise.
31861 * sunrpc/svc_tcp.c: Likewise.
31862 * sunrpc/svc_udp.c: Likewise.
31863 * sunrpc/svc_unix.c: Likewise.
31864 * sunrpc/svcauth_des.c: Likewise.
31865 * sunrpc/xcrypt.c: Likewise.
31866 * sunrpc/xdr.c: Likewise.
31867 * sunrpc/xdr_array.c: Likewise.
31868 * sunrpc/xdr_float.c: Likewise.
31869 * sunrpc/xdr_intXX_t.c: Likewise.
31870 * sunrpc/xdr_mem.c: Likewise.
31871 * sunrpc/xdr_rec.c: Likewise.
31872 * sunrpc/xdr_ref.c: Likewise.
31873 * sunrpc/xdr_sizeof.c: Likewise.
31874 * sunrpc/xdr_stdio.c: Likewise.
31876 2012-05-10 Roland McGrath <roland@hack.frob.com>
31878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31879 change. Update copyright years.
31881 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31883 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31885 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31886 Joseph Myers <joseph@codesourcery.com>
31887 Paul Pluzhnikov <ppluzhnikov@google.com>
31890 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31892 [cross-compiling] (extra-libs): Likewise.
31893 [cross-compiling] (extra-libs-others): Likewise.
31894 [cross-compiling] (librpcsvc-routines): Likewise.
31895 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31896 [cross-compiling] (omit-deps): Likewise.
31897 (sunrpc-CPPFLAGS): New variable.
31898 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31899 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31900 (cross-rpcgen-objs): New variable.
31901 (extra-objs): Append $(cross-rpcgen-objs).
31902 ($(cross-rpcgen-objs)): New rule.
31903 ($(objpfx)cross-rpcgen): Likewise.
31904 (rpcgen-cmd): Define to use $(built-program-file). Expand
31906 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31907 ($(objpfx)x%.stmp): Likewise.
31908 * sunrpc/proto.h [IS_IN_build] (_): Define.
31909 [IS_IN_build] (_libc_intl_domainname): Likewise.
31911 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31913 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31914 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31915 and R_X86_64_TPOFF64.
31917 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31919 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31920 sysdeps/unix/sysv/syscalls.list.
31923 * sysdeps/unix/sysv/syscalls.list: Remove file.
31925 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31928 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31929 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31930 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31931 (__LC_IDENTIFICATION): Make these macros useful in #if
31932 expressions, as required by C99.
31934 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31936 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31937 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31940 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31942 * stdlib/longlong.h: Updated from GCC.
31944 2012-05-09 Andreas Jaeger <aj@suse.de>
31946 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31947 default is first entry.
31948 (run_mode): Set type.
31949 (main): Remove informal message about syslog.
31950 (options): Fix typo.
31953 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31956 (llrintf): Likewise.
31957 (llrint): Likewise.
31960 (nearbyint): Likewise.
31961 (nearbyintf): Likewise.
31963 2012-05-09 Andreas Jaeger <aj@suse.de>
31964 Pedro Alves <palves@redhat.com>
31966 * nscd/nscd.c (run_mode): Use enum.
31967 (main): Cleanup coding style issue.
31969 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31970 Andreas Jaeger <aj@suse.de>
31972 * nscd/nscd.c (go_background): Replaced with...
31973 (run_mode): ... this.
31974 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31975 (options): Add -F --foreground.
31976 (main): Implement it.
31977 (parse_opt): Parse it.
31979 2012-05-09 Andreas Jaeger <aj@suse.de>
31982 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31983 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31984 -Wconversion warning.
31985 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31988 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31990 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31992 (LC_ALL): Use macro-int-constant.
31993 (LC_COLLATE): Likewise.
31994 (LC_CTYPE): Likewise.
31995 (LC_MESSAGES): Likewise.
31996 (LC_MONETARY): Likewise.
31997 (LC_NUMERIC): Likewise.
31998 (LC_TIME): Likewise.
31999 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32000 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32002 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32004 [C99-based standards] (float_t): Expect type.
32005 [C99-based standards] (double_t): Expect type.
32006 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32008 [C99-based standards] (HUGE_VALL): Likewise.
32009 [C99-based standards] (INFINITY): Likewise.
32010 [C99-based standards] (NAN): Likewise.
32011 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32012 [C99-based standards] (FP_NAN): Likewise.
32013 [C99-based standards] (FP_NORMAL): Likewise.
32014 [C99-based standards] (FP_SUBNORMAL): Likewise.
32015 [C99-based standards] (FP_ZERO): Likewise.
32016 [C99-based standards] (FP_FAST_FMA): Use
32017 optional-macro-int-constant. Specify type. Require == 1.
32018 [C99-based standards] (FP_FAST_FMAF): Likewise.
32019 [C99-based standards] (FP_FAST_FMAL): Likewise.
32020 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32021 [C99-based standards] (FP_ILOGBNAN): Likewise.
32022 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32024 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32025 [C99-based standards] (math_errhandling): Specify type.
32026 [ISO99 || ISO11] (signgam): Do not allow.
32027 [non-C99-based standards] (copysignf): Do not allow.
32028 [non-C99-based standards] (exp2f): Likewise.
32029 [non-C99-based standards] (log2f): Likewise.
32030 [non-C99-based standards] (modff): Allow.
32031 [non-C99-based standards] (erff): Do not allow.
32032 [non-C99-based standards] (erfcf): Likewise.
32033 [non-C99-based standards] (gammaf): Likewise.
32034 [non-C99-based standards] (hypotf): Likewise.
32035 [non-C99-based standards] (j0f): Likewise.
32036 [non-C99-based standards] (j1f): Likewise.
32037 [non-C99-based standards] (jnf): Likewise.
32038 [non-C99-based standards] (lgammaf): Likewise.
32039 [non-C99-based standards] (tgammaf): Likewise.
32040 [non-C99-based standards] (y0f): Likewise.
32041 [non-C99-based standards] (y1f): Likewise.
32042 [non-C99-based standards] (ynf): Likewise.
32043 [non-C99-based standards] (isnanf): Likewise.
32044 [non-C99-based standards] (acoshf): Likewise.
32045 [non-C99-based standards] (asinhf): Likewise.
32046 [non-C99-based standards] (atanhf): Likewise.
32047 [non-C99-based standards] (cbrtf): Likewise.
32048 [non-C99-based standards] (expm1f): Likewise.
32049 [non-C99-based standards] (ilogbf): Likewise.
32050 [non-C99-based standards] (log1pf): Likewise.
32051 [non-C99-based standards] (logbf): Likewise.
32052 [non-C99-based standards] (nextafterf): Likewise.
32053 [non-C99-based standards] (remainderf): Likewise.
32054 [non-C99-based standards] (rintf): Likewise.
32055 [non-C99-based standards] (scalbf): Likewise.
32056 [non-C99-based standards] (copysignl): Likewise.
32057 [non-C99-based standards] (exp2l): Likewise.
32058 [non-C99-based standards] (log2l): Likewise.
32059 [non-C99-based standards] (modfl): Allow.
32060 [non-C99-based standards] (erfl): Do not allow.
32061 [non-C99-based standards] (erfcl): Likewise.
32062 [non-C99-based standards] (gammal): Likewise.
32063 [non-C99-based standards] (hypotl): Likewise.
32064 [non-C99-based standards] (j0l): Likewise.
32065 [non-C99-based standards] (j1l): Likewise.
32066 [non-C99-based standards] (jnl): Likewise.
32067 [non-C99-based standards] (lgammal): Likewise.
32068 [non-C99-based standards] (tgammal): Likewise.
32069 [non-C99-based standards] (y0l): Likewise.
32070 [non-C99-based standards] (y1l): Likewise.
32071 [non-C99-based standards] (ynl): Likewise.
32072 [non-C99-based standards] (isnanl): Likewise.
32073 [non-C99-based standards] (acoshl): Likewise.
32074 [non-C99-based standards] (asinhl): Likewise.
32075 [non-C99-based standards] (atanhl): Likewise.
32076 [non-C99-based standards] (cbrtl): Likewise.
32077 [non-C99-based standards] (expm1l): Likewise.
32078 [non-C99-based standards] (ilogbl): Likewise.
32079 [non-C99-based standards] (log1pl): Likewise.
32080 [non-C99-based standards] (logbl): Likewise.
32081 [non-C99-based standards] (nextafterl): Likewise.
32082 [non-C99-based standards] (remainderl): Likewise.
32083 [non-C99-based standards] (rintl): Likewise.
32084 [non-C99-based standards] (scalbl): Likewise.
32085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32086 [non-C99-based standards] (FP_*): Do not allow.
32087 [C99-based standards] (FP_*): Change to
32088 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32089 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32091 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32092 (SIG_ERR): Likewise.
32093 [X/Open-based standards] (SIG_HOLD): Likewise.
32094 (SIG_IGN): Likewise.
32095 (SIGABRT): Use macro-int-constant. Specify type. Require
32097 (SIGFPE): Likewise.
32098 (SIGILL): Likewise.
32099 (SIGINT): Likewise.
32100 (SIGSEGV): Likewise.
32101 (SIGTER): Likewise.
32102 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32103 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32104 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32105 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32106 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32107 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32108 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32109 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32110 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32111 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32112 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32113 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32114 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32115 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32116 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32117 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32118 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32119 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32120 [X/Open-based standards] (SIGTRAP): Likewise.
32121 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32122 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32123 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32124 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32125 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32128 2012-05-08 Ian Wienand <ianw@vmware.com>
32131 * time/tzset.c (__tzset_parse_tz): Update default rules for
32132 daylight time changes in the Energy Policy Act of 2005.
32134 2012-05-09 Andreas Jaeger <aj@suse.de>
32137 * elf/ldconfig.c (parse_conf): Change string to make clear that
32138 ldconfig only issued a warning if ld.so.conf does not exist.
32140 2012-05-08 David S. Miller <davem@davemloft.net>
32142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32143 movxtod instead of popping the value on the stack.
32145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32147 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32149 * config.h.in: Add HAVE_ARM_PCS_VFP.
32151 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
32154 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32155 checking but the checks are disabled for any reason.
32157 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32159 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32160 and ELF64_R_TYPE with ELFW(R_TYPE).
32162 2012-05-08 Joseph Myers <joseph@codesourcery.com>
32164 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32165 (ulimit): Likewise.
32167 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32168 (settimeofday): Likewise.
32170 2012-05-08 Mike Frysinger <vapier@gentoo.org>
32172 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32173 a struct th_u2 inside the union, and move tu_block/tu_code into
32174 a new th_u3 union of tu_block/tu_code inside of that. Move
32175 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32176 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32177 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32178 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32179 (th_stuff): Change to th_u1.tu_stuff.
32181 (th_msg): Change to th_u1.th_u2.tu_data.
32183 2012-05-07 David S. Miller <davem@davemloft.net>
32185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32188 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32189 (SETUP_PIC_REG): Use it.
32190 (SETUP_PIC_REG_LEAF): Use it.
32192 2012-05-07 Joseph Myers <joseph@codesourcery.com>
32196 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32198 (EXPL_FINITE): Likewise.
32199 (FLDLOG): Likewise.
32200 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32201 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32203 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32205 (EXPL_FINITE): Likewise.
32206 (FLDLOG): Likewise.
32207 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32208 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32210 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32211 test of -max_value argument for long double.
32212 * sysdeps/i386/fpu/libm-test-ulps: Update.
32213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32215 2012-05-06 David S. Miller <davem@davemloft.net>
32217 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32218 quad soft-float symbols whose references which are compiler
32220 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32222 2012-05-06 Joseph Myers <joseph@codesourcery.com>
32226 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32228 (EXPL_FINITE): Likewise.
32229 (FLDLOG): Likewise.
32232 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32233 Adjust comments for base varying.
32234 (__expl_finite): Change alias to EXPL_FINITE.
32235 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32237 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32238 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32239 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32240 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32241 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32243 (EXPL_FINITE): Likewise.
32244 (FLDLOG): Likewise.
32247 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32248 Adjust comments for base varying.
32249 (__expl_finite): Change alias to EXPL_FINITE.
32250 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32255 * math/libm-test.inc (check_float_internal): Correct ulp
32256 calculation for subnormal expected results.
32258 2012-05-06 Andreas Jaeger <aj@suse.de>
32260 * Makeconfig (+math-flags): New, set to -frounding-math.
32261 (+cflags): Add +math-flags so that all of glibc gets compiled with
32264 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32266 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32268 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32274 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32275 (__ieee754_expl): Allow for and saturate large arguments.
32276 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32277 (u_threshold): Likewise.
32278 (__exp): Call __ieee754_exp before checking for overflow and
32280 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32281 (u_threshold): Likewise.
32282 (__expf): Call __ieee754_expf before checking for overflow and
32284 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32285 (u_threshold): Likewise.
32286 (__expl): Call __ieee754_expl before checking for overflow and
32288 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32289 (__ieee754_expl): Allow for and saturate large arguments.
32290 * math/libm-test.inc (exp_test): Add another test. Do not allow
32291 missing overflow exception on overflow.
32292 (expm1_test): Do not allow missing overflow exception on overflow.
32294 * sysdeps/i386/fpu/e_expl.c: Move to ...
32295 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32296 rather than using inline asm.
32297 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32298 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32299 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32301 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32304 (signal): Likewise.
32308 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32310 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32311 sysdeps/unix/common/syscalls.list.
32312 (fchmod): Likewise.
32313 (fchown): Likewise.
32314 (ftruncate): Likewise.
32315 (getrusage): Likewise.
32316 (gettimeofday): Likewise.
32317 (setpgid): Likewise.
32318 (setregid): Likewise.
32319 (setreuid): Likewise.
32320 (sigaction): Likewise.
32321 (truncate): Likewise.
32322 (vhangup): Likewise.
32323 * sysdeps/unix/common/syscalls.list: Remove file.
32324 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32325 * sysdeps/unix/sysv/linux/Implies: Likewise.
32327 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32329 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32331 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32335 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32338 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32341 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32344 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32347 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32350 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32353 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32357 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32361 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32364 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32368 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32372 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32374 * sysdeps/unix/common/bits/dirent.h: Remove file.
32375 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32377 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32378 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32379 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32380 * sysdeps/unix/bsd/isatty.c: Likewise.
32381 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32382 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32383 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32385 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32389 long double comparison inaccuracies.
32390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32393 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32395 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32396 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32398 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32401 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32402 nonzero digits before rounding a hex value.
32403 * stdlib/tst-strtod.c (tests): Add another test.
32405 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32407 * sysdeps/s390/fpu/libm-test-ulps: Update.
32409 2012-05-03 Andreas Jaeger <aj@suse.de>
32411 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32412 does not get optimized out.
32413 (malloc_opt_barrier): New.
32415 2012-05-03 Andreas Jaeger <aj@suse.de>
32416 Roland McGrath <roland@hack.frob.com>
32418 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32419 intermediate file deletion.
32420 (generated): Add .symlist files.
32422 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32425 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32426 Redirect under this condition.
32427 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32428 [__USE_GNU] (__dprintf_chk): Not under this condition.
32429 [__USE_GNU] (__vdprintf_chk): Likewise.
32430 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32431 under this condition.
32432 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32433 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32434 [__USE_XOPEN2K8] (vdprintf): Likewise.
32435 [__USE_GNU] (__dprintf_chk): Not under this condition.
32436 [__USE_GNU] (__vdprintf_chk): Likewise.
32437 [__USE_GNU] (dprintf): Likewise.
32438 [__USE_GNU] (vdprintf): Likewise.
32440 2012-05-03 Roland McGrath <roland@hack.frob.com>
32442 * elf/Makefile (common-generated): Set this instead of generated for
32443 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32444 $(all-built-dso)-derived lists.
32446 2012-05-03 Andreas Jaeger <aj@suse.de>
32448 * sysdeps/i386/fpu/libm-test-ulps: Update.
32451 * FAQ.in: Likewise.
32452 * scripts/gen-FAQ.pl: Likewise.
32453 * manual/install.texi (Installation): Point to online location of
32455 * Makefile (files-for-dist): Remove FAQ.
32458 2012-05-02 Allan McRae <allan@archlinux.org>
32460 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32461 (LDFLAGS-reldepmod5.so): Likewise.
32462 (LDFLAGS-reldep6mod1.so): Likewise.
32463 (LDFLAGS-reldep6mod4.so): Likewise.
32464 (LDFLAGS-reldep8mod3.so): Likewise.
32465 (LDFLAGS-unload4mod1.so): Likewise.
32466 (LDFLAGS-unload4mod2.so): Likewise.
32467 (LDFLAGS-tst-initorder): Likewise.
32468 (LDFLAGS-tst-initordera2.so): Likewise.
32469 (LDFLAGS-tst-initordera3.so): Likewise.
32470 (LDFLAGS-tst-initordera4.so): Likewise.
32471 (LDFLAGS-tst-initorderb2.so): Likewise.
32472 (LDFLAGS-noload): Likewise.
32473 (LDFLAGS-next): Likewise.
32474 (LDFLAGS-order2mod1.so): Likewise.
32475 (LDFLAGS-order2mod2.so): Likewise.
32476 (LDFLAGS-tst-initorder2): Likewise.
32477 (LDFLAGS-tst-initorder2a.so): Likewise.
32478 (LDFLAGS-tst-initorder2b.so): Likewise.
32479 (LDFLAGS-tst-initorder2c.so): Likewise.
32480 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32482 2012-05-02 David S. Miller <davem@davemloft.net>
32484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32486 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32489 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32491 2012-05-02 Andreas Jaeger <aj@suse.de>
32493 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32494 since we manipulate rounding mode.
32495 (CPPFLAGS-test-idouble.c): Likewise.
32496 (CPPFLAGS-test-ifloat.c): Likewise.
32497 (CFLAGS-test-ldouble.c): Likewise.
32498 (CFLAGS-test-double.c): Likewise.
32499 (CFLAGS-test-float.c): Likewise.
32500 (CFLAGS-test-misc.c): Likewise.
32501 (CFLAGS-test-test-fenv.c): Likewise.
32503 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32507 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32508 comparisons to determine direction to adjust input.
32510 2012-05-01 Roland McGrath <roland@hack.frob.com>
32512 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32513 output to the target.
32515 * scripts/localplt.awk: New file.
32516 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32517 (check-localplt-CFLAGS): Variable removed.
32518 ($(all-built-dso:=.jmprel)): New static pattern rule.
32519 (generated): Add those targets.
32520 (localplt-built-dso): New variable.
32521 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32523 * elf/check-localplt.c: File removed.
32525 * scripts/check-execstack.awk: New file.
32526 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32527 (check-execstack-CFLAGS): Variable removed.
32528 ($(objpfx)check-execstack.h): Target removed.
32529 ($(objpfx)execstack-default): New target.
32530 (generated): Add that instead of check-execstack.h.
32531 ($(all-built-dso:=.phdr)): New static pattern rule.
32532 (generated): Add those targets.
32533 * elf/check-execstack.c: File removed.
32535 * scripts/check-textrel.awk: New file.
32536 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32537 (check-textrel-CFLAGS): Variable removed.
32538 (all-built-dso): Use := to define.o
32539 ($(all-built-dso:=.dyn)): New static pattern rule.
32540 (generated): Add those targets.
32541 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32542 * config.make.in (READELF): New substituted variable.
32543 * elf/check-textrel.c: File removed.
32545 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32547 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32549 * conform/data/ctype.h-data [C99-based standards] (isblank):
32551 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32552 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32553 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32554 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32555 Specify type. Require positive value.
32556 (EILSEQ): Likewise.
32557 (ERANGE): Likewise.
32558 [ISO || POSIX] (EILSEQ): Do not expect.
32559 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32560 Specify type. Require positive value.
32561 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32562 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32563 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32564 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32565 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32566 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32567 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32568 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32569 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32570 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32571 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32572 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32573 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32574 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32575 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32576 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32577 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32578 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32579 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32580 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32581 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32582 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32583 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32584 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32585 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32586 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32587 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32588 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32589 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32590 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32591 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32592 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32593 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32594 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32595 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32596 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32597 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32598 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32599 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32600 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32601 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32602 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32603 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32604 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32605 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32606 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32607 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32608 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32609 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32610 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32611 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32612 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32613 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32614 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32615 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32616 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32617 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32618 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32619 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32620 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32621 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32622 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32623 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32624 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32625 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32626 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32627 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32628 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32629 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32630 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32631 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32632 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32633 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32634 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32635 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32636 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32637 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32639 (FLT_ROUNDS): Expect as macro, not constant.
32640 (FLT_MANT_DIG): Use macro-int-constant.
32641 (DBL_MANT_DIG): Likewise.
32642 (LDBL_MANT_DIG): Likewise.
32643 (FLT_DIG): Likewise.
32644 (DBL_DIG): Likewise.
32645 (LDBL_DIG): Likewise.
32646 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32647 (DBL_MIN_EXP): Likewise.
32648 (LDBL_MIN_EXP): Likewise.
32649 (FLT_MAX_EXP): Use macro-int-constant.
32650 (DBL_MAX_EXP): Likewise.
32651 (LDBL_MAX_EXP): Likewise.
32652 (FLT_MAX_10_EXP): Likewise.
32653 (DBL_MAX_10_EXP): Likewise.
32654 (LDBL_MAX_10_EXP): Likewise.
32655 (FLT_MAX): Use macro-constant.
32656 (DBL_MAX): Likewise.
32657 (LDBL_MAX): Likewise.
32658 (FLT_EPSILON): Use macro-constant. Give upper bound.
32659 (DBL_EPSILON): Likewise.
32660 (LDBL_EPSILON): Likewise.
32661 (FLT_MIN): Likewise.
32662 (DBL_MIN): Likewise.
32663 (LDBL_MIN): Likewise.
32664 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32665 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32666 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32667 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32668 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32669 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32670 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32671 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32672 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32673 [ISO11] (FLT_TRUE_MIN): Likewise.
32674 [ISO11] (LDBL_TRUE_MIN): Likewise.
32675 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32676 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32677 (SCHAR_MIN): Use macro-int-constant. Specify type.
32678 (SCHAR_MAX): Likewise.
32679 (UCHAR_MAX): Likewise.
32680 (CHAR_MIN): Likewise.
32681 (CHAR_MAX): Likewise.
32682 (MB_LEN_MAX): Use macro-int-constant.
32683 (SHRT_MIN): Use macro-int-constant. Specify type.
32684 (SHRT_MAX): Likewise.
32685 (USHRT_MAX): Likewise.
32686 (INT_MAX): Likewise.
32687 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32689 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32691 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32693 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32694 bound negative. Suffix upper bound with "L".
32695 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32697 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32699 [C99-based standards] (LLONG_MAX): Likewise.
32700 [C99-based standards] (ULLONG_MAX): Likewise.
32701 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32703 [ISO11] (max_align_t): Require type.
32704 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32706 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32707 from $CFLAGS, without defining away __attribute__ calls.
32708 (checknamespace): Use $CFLAGS_namespace.
32710 * conform/conformtest.pl (@keywords): Only include C99 keywords
32711 for standards based on C99 or C11.
32713 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32715 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32718 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32719 usability of symbols in #if.
32721 * conform/conformtest.pl: If macro or constant types start
32722 "promoted:", expect the symbol to be of the following type
32723 promoted by the integer promotions.
32725 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32726 in one place. Also handle "macro-constant".
32728 * conform/conformtest.pl: Only accept expected macro values with
32729 "==". Parse all "macro" lines in one place.
32730 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32732 * conform/conformtest.pl: Handle braced types on "constant" lines
32733 instead of handling "typed-constant".
32734 * conform/data/signal.h-data: Use "constant" instead of
32737 * conform/conformtest.pl: Handle "optional-" at start of lines in
32738 one place rather than duplicating several cases. Handle each
32739 format of "macro" line with initial "optional-".
32741 * conform/conformtest.pl: Only accept expected constant or
32742 optional-constant values with "==". Parse all "constant" lines in
32743 one place. Parse all "optional-constant" lines in one place.
32744 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32745 * conform/data/fmtmsg.h-data: Likewise.
32746 * conform/data/netinet/in.h-data: Likewise.
32747 * conform/data/tar.h-data: Likewise.
32748 * conform/data/limits.h-data: Use "==" form on "constant" and
32749 "optional-constant" lines.
32751 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32752 Use -std=c99 for XOPEN2K.
32753 (@knownproblems): Remove.
32754 (newtoken): Don't check %isknown.
32756 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32757 Do not expect macro.
32758 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32759 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32760 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32761 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32762 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32763 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32764 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32765 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32766 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32767 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32768 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32769 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32770 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32771 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32772 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32773 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32774 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32775 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32776 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32777 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32778 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32779 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32780 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32781 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32782 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32783 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32784 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32785 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32786 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32787 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32788 [XPG3] (acosh): Likewise.
32789 [XPG3] (asinh): Likewise.
32790 [XPG3] (atanh): Likewise.
32791 [XPG3] (cbrt): Likewise.
32792 [XPG3] (expm1): Likewise.
32793 [XPG3] (ilogb): Likewise.
32794 [XPG3] (log1p): Likewise.
32795 [XPG3] (logb): Likewise.
32796 [XPG3] (nextafter): Likewise.
32797 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32798 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32799 [XPG3] (remainder): Likewise.
32800 [XPG3] (rint): Likewise.
32801 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32802 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32803 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32804 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32805 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32806 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32807 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32808 [UNIX98 || XOPEN2K] (scalb): Expect.
32809 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32810 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32811 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32812 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32813 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32814 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32815 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32816 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32817 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32818 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32819 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32820 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32821 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32822 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32823 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32824 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32825 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32826 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32827 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32828 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32829 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32830 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32831 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32832 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32833 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32834 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32835 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32836 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32837 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32838 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32839 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32840 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32841 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32842 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32843 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32844 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32845 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32846 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32847 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32848 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32849 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32850 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32851 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32852 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32853 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32854 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32855 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32856 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32857 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32858 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32859 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32860 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32861 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32862 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32863 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32864 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32865 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32866 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32867 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32868 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32869 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32870 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32871 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32872 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32873 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32874 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32875 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32876 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32877 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32878 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32879 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32880 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32881 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32882 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32883 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32884 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32885 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32886 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32887 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32888 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32889 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32890 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32891 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32892 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32893 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32894 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32895 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32896 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32897 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32898 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32899 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32900 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32901 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32902 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32903 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32904 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32905 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32906 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32907 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32908 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32909 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32910 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32911 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32912 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32913 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32914 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32915 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32916 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32917 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32918 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32919 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32920 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32921 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32922 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32923 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32924 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32925 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32926 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32927 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32928 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32929 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32930 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32931 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32932 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32933 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32934 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32935 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32936 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32937 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32938 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32939 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32940 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32941 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32942 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32943 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32944 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32945 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32947 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32948 _XOPEN_SOURCE_EXTENDED for XPG4.
32950 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32952 * Makeconfig (localtime): Remove variable.
32953 (inst_localtime-file): Likewise.
32955 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32976 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32980 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32981 comparisons to determine direction to adjust input.
32982 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32983 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32984 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32986 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32988 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32990 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32991 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32993 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32995 * math/libm-test.inc (nexttoward_test): Add more tests.
32997 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33000 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33001 in version GLIBC_2.1, not GLIBC_2.0.
33002 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33005 2012-04-30 Joseph Myers <joseph@codesourcery.com>
33008 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33010 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33011 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33012 * math/libm-test.inc (acos_test): Add more tests.
33013 (asin_test): Likewise.
33014 * sysdeps/i386/fpu/libm-test-ulps: Update.
33015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33018 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33020 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33021 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33022 * math/libm-test.inc (acos_test_tonearest): New function.
33023 (acos_test_towardzero): Likewise.
33024 (acos_test_downward): Likewise.
33025 (acos_test_upward): Likewise.
33026 (asin_test_tonearest): Likewise.
33027 (asin_test_towardzero): Likewise.
33028 (asin_test_downward): Likewise.
33029 (asin_test_upward): Likewise.
33030 (main): Call the new functions.
33031 * sysdeps/i386/fpu/libm-test-ulps: Update.
33032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33036 * math/e_exp10.c: Include <float.h>.
33037 (__ieee754_exp10): Handle underflow here rather than multiplying
33038 large negative argument by M_LN10.
33039 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33041 * math/e_exp10l.c: Include <float.h>.
33042 (__ieee754_exp10l): Handle underflow here rather than multiplying
33043 large negative argument by M_LN10l.
33044 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33045 spurious overflow exception on underflow.
33047 2012-04-29 Marek Polacek <polacek@redhat.com>
33049 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33050 (__fortify_function): New macro.
33051 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33052 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33053 __extern_always_inline.
33054 * libio/bits/stdio2.h: Likewise.
33055 * libio/bits/stdio.h: Likewise.
33056 * string/string.h: Likewise.
33057 * string/bits/string3.h: Likewise.
33058 * include/stdio.h: Likewise.
33059 * stdlib/bits/stdlib.h: Likewise.
33060 * stdlib/stdlib.h: Likewise.
33061 * rt/bits/mqueue2.h: Likewise.
33062 * rt/mqueue.h: Likewise.
33063 * posix/bits/unistd.h: Likewise.
33064 * posix/unistd.h: Likewise.
33065 * io/bits/poll2.h: Likewise.
33066 * io/bits/fcntl2.h: Likewise.
33067 * io/fcntl.h: Likewise.
33068 * io/sys/poll.h: Likewise.
33069 * misc/bits/syslog.h: Likewise.
33070 * misc/bits/syslog-ldbl.h: Likewise.
33071 * misc/sys/syslog.h: Likewise.
33072 * socket/bits/socket2.h: Likewise.
33073 * socket/sys/socket.h: Likewise.
33074 * debug/tst-chk1.c: Likewise.
33075 * wcsmbs/bits/wchar2.h: Likewise.
33076 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33077 * wcsmbs/wchar.h: Likewise.
33079 2012-04-29 Andreas Jaeger <aj@suse.de>
33081 * Makerules (tests): Remove enable-check-abi protection.
33082 (check-abi-warn): Remove.
33083 (check-abi-%): Remove check-abi-warn usage.
33085 * configure.in: Remove check-abi configure option.
33086 * configure: Regenerated.
33087 * config.make.in (enable-check-abi): Remove.
33089 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33092 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33093 double functions to double *_finite functions.
33096 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33097 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33099 * stdio-common/Makefile (tests): Add tst-sprintf3.
33100 * stdio-common/tst-sprintf3.c: New file.
33102 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33103 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33105 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33107 * conform/conformtest.pl: Remove duplicate typed-constant
33110 2012-04-28 David S. Miller <davem@davemloft.net>
33112 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33113 (check-abi-%): Remove AWK script prerequisite and explicit
33115 (check-abi): Rewrite to just diff the symlist with the abilist.
33116 (config-tls, config-abi-config): Delete, no longer used.
33117 (update-abi-%): Remove AWK script and explicit abilist directory.
33118 (update-abi): Rewrite to simply compare and conditionally copy the
33119 symlist and the sysdep abilist file. Remove update-abi-config
33121 * abilist/ld.abilist: Remove.
33122 * abilist/libBrokenLocale.abilist: Remove.
33123 * abilist/libanl.abilist: Remove.
33124 * abilist/libcrypt.abilist: Remove.
33125 * abilist/libdl.abilist: Remove.
33126 * abilist/librt.abilist: Remove.
33127 * abilist/libthread_db.abilist: Remove.
33128 * abilist/libutil.abilist: Remove.
33129 * scripts/extract-abilist.awk: Remove.
33130 * scripts/merge-abilist.awk: Remove.
33131 * sysdeps/generic/libcidn.abilist: New file.
33132 * sysdeps/generic/libnss_compat.abilist: New file.
33133 * sysdeps/generic/libnss_db.abilist: New file.
33134 * sysdeps/generic/libnss_dns.abilist: New file.
33135 * sysdeps/generic/libnss_files.abilist: New file.
33136 * sysdeps/generic/libnss_hesiod.abilist: New file.
33137 * sysdeps/generic/libnss_nis.abilist: New file.
33138 * sysdeps/generic/libnss_nisplus.abilist: New file.
33139 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33140 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33141 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33143 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33144 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33145 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33146 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33147 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33148 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33149 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33150 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33151 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33153 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33154 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33155 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33156 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33158 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33159 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33160 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33161 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33162 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33163 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33165 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33166 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33167 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33169 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33272 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33273 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33274 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33276 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33277 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33278 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33279 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33280 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33281 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33282 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33283 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33284 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33285 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33337 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33339 * conform/conformtest.pl: Fix typo in handling typed-constant from
33342 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33344 * README: Cut down references to pre-2.6 Linux kernels and
33345 Linuxthreads. Update lists of configurations in libc and ports
33346 and sort alphabetically. Say "or newer" with Linux kernel version
33349 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33351 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33354 * math/libm-test.inc (logb_test_downward): New test to expose
33355 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33358 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33361 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33363 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33364 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33366 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33368 * sysdeps/unix/i386/brk.S: Remove file.
33369 * sysdeps/unix/i386/dl-brk.S: Likewise.
33370 * sysdeps/unix/i386/pipe.S: Likewise.
33371 * sysdeps/unix/i386/sigreturn.S: Likewise.
33372 * sysdeps/unix/i386/syscall.S: Likewise.
33373 * sysdeps/unix/i386/vfork.S: Likewise.
33374 * sysdeps/unix/i386/wait.S: Likewise.
33376 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33377 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33379 * configure.in (arm*-none*): Do not allow without
33380 --enable-hacker-mode.
33381 (netbsd*): Remove case setting base_os.
33382 (386bsd*): Likewise.
33383 (freebsd*): Likewise.
33386 (sunos*): Likewise.
33387 (ultrix*): Likewise.
33388 (newsos*): Likewise.
33389 (dynix*): Likewise.
33395 (minix*): Likewise.
33396 (irix4*): Likewise.
33397 (irix6*): Likewise.
33398 (solaris[2-9]*): Likewise.
33400 * configure: Regenerated.
33402 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33405 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33406 overflow or cancellation in calculating denominator.
33407 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33408 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33409 down expression to avoid unexpected rounding in newer GCCs.
33410 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33412 2012-04-26 David S. Miller <davem@davemloft.net>
33414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33415 long-double compat symbols.
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33430 2012-04-25 David S. Miller <davem@davemloft.net>
33432 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33433 HWCAP_* values only after the memory barriers have been defined.
33434 (atomic_full_barrier): Define.
33435 (atomic_read_barrier): Define.
33436 (atomic_write_barrier): Define.
33438 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33440 * shlib-versions: Add libgcc_s version information.
33441 * sysdeps/generic/libgcc_s.h: Remove.
33442 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33444 * sysdeps/gnu/unwind-resume.c: Likewise.
33445 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33447 2012-04-25 David S. Miller <davem@davemloft.net>
33449 * sysdeps/unix/sparc/brk.S: Delete.
33450 * sysdeps/unix/sparc/dl-brk.S: Delete.
33451 * sysdeps/unix/sparc/pipe.S: Delete.
33452 * sysdeps/unix/sparc/sysdep.S: Delete.
33453 * sysdeps/unix/sparc/sysdep.h: Delete.
33454 * sysdeps/unix/sparc/vfork.S: Delete.
33455 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33456 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33457 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33458 (ret_ERRVAL, r0, r1, MOVE): Define.
33459 (JUMPTARGET): Remove.
33460 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33461 sysdeps/unix/sparc/sysdep.h
33462 (ENTRY, END): Remove.
33463 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33465 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33467 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33468 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33471 * timezone/README: Update upstream location and email address for
33473 * timezone/zdump.c: Update from tzcode 2012b.
33474 * timezone/zic.c: Likewise.
33476 * configure.in (libc_cv_as_needed): Remove test.
33477 * configure: Regenerated.
33478 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33479 conditional definition.
33480 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33481 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33482 * config.make.in (have-as-needed): Remove variable.
33484 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33485 Paul Pluzhnikov <ppluzhnikov@google.com>
33487 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33490 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33492 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33493 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33494 * sysdeps/sh/strlen.S: Likewise.
33496 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33498 * sysdeps/unix/fork.S: Remove file.
33499 * sysdeps/unix/i386/fork.S: Likewise.
33500 * sysdeps/unix/sparc/fork.S: Likewise.
33502 * sysdeps/unix/system.c: Remove file.
33503 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33505 * sysdeps/unix/getegid.S: Remove file.
33506 * sysdeps/unix/geteuid.S: Likewise.
33508 2012-04-24 Roland McGrath <roland@hack.frob.com>
33510 * scripts/check-localplt.awk: New file.
33511 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33513 * scripts/data/localplt-generic.data: Add a comment.
33515 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33516 NODE when __dir_mkfile failed.
33517 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33518 Reported by Ludovic Courtès <ludo@gnu.org>.
33520 2012-04-24 Andreas Jaeger <aj@suse.de>
33522 * Makerules (common-clean): Also remove gen-as-const-headers
33525 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33527 * Makerules (native-compile): Do not change working directory for
33528 build. Use $(OUTPUT_OPTION) in command.
33529 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33531 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33534 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33535 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33536 * math/libm-test.inc (floor_test): Add more tests.
33537 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33539 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33541 * sysdeps/unix/getdents.c: Remove file.
33542 * sysdeps/unix/sysv/getdents.c: Likewise.
33543 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33545 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33546 sysdeps/unix/mman/syscalls.list.
33548 (mprotect): Likewise.
33550 (munmap): Likewise.
33551 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33552 * sysdeps/unix/mman/syscalls.list: Remove.
33553 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33555 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33556 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33557 * configure: Regenerated.
33558 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33559 $(libgcc_s_suffix).
33560 * config.make.in (libgcc_s_suffix): Remove variable.
33562 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33564 * sysdeps/unix/sysv/gethostname.c: Move to ...
33565 * sysdeps/posix/gethostname.c: ... here.
33567 * sysdeps/unix/execve.S: Remove file.
33569 * sysdeps/unix/_exit.S: Remove file.
33571 2012-04-23 Andreas Jaeger <aj@suse.de>
33574 * manual/Makefile: Remove make dist support, there's no
33575 need for a stand-alone documentation tar ball.
33576 (TEXI2DVI): Define always, it's not in Makeconfig.
33579 (edition): Removed.
33580 (glibc-doc-$(edition).tar): Removed
33584 (ETAGS): Remove, it's in Makeconfig.
33585 (move-if-change): Remove, it's in Makeconfig.
33587 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33590 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33591 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33592 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33593 (strtod_l, strtof_l, strtold_l): Remove __wur.
33594 It is not necessarily an error to ignore strtol's return value.
33595 One can reliably look at the stored endptr to decide whether
33596 the number had valid syntax.
33598 2012-04-21 Andreas Jaeger <aj@suse.de>
33601 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33603 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33605 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33606 * sysdeps/unix/sysv/Versions: Remove file.
33608 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33613 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33616 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33617 version from __vm86.
33619 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33621 * sysdeps/unix/common/lxstat.c: Remove file.
33622 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33624 * sysdeps/unix/sysv/Makefile: Remove file.
33626 * sysdeps/unix/sysv/direct.h: Remove file.
33628 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33629 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33630 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33631 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33632 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33633 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33634 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33636 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33638 * sysdeps/unix/xmknod.c: Remove file.
33639 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33641 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33643 * sysdeps/unix/sysv/i386/time.S: Remove file.
33645 * sysdeps/unix/fxstat.c: Remove file.
33646 * sysdeps/unix/xstat.c: Likewise.
33647 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33649 * sysdeps/unix/sysv/sigaction.c: Remove file.
33651 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33652 (sysdep_headers): Remove variable.
33653 [termio.h not in sysdep_headers] (generated): Likewise.
33654 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33655 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33656 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33657 * sysdeps/unix/sysv/tcflow.c: Likewise.
33658 * sysdeps/unix/sysv/tcflush.c: Likewise.
33659 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33660 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33661 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33662 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33663 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33665 * sysdeps/unix/siglist.c: Remove file.
33667 * sysdeps/unix/getppid.S: Remove file.
33669 * sysdeps/unix/mkdir.c: Remove file.
33670 * sysdeps/unix/rmdir.c: Likewise.
33672 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33674 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33676 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33677 errlist-compat value.
33679 2012-04-18 David S. Miller <davem@davemloft.net>
33681 * sysdeps/generic/memcopy.h (reg_char): Delete.
33682 * debug/strcat_chk.c: Use char, not reg_char.
33683 * debug/strcpy_chk.c: Likewise.
33684 * debug/strncat_chk.c: Likewise.
33685 * debug/strncpy_chk.c: Likewise.
33686 * string/memchr.c: Likewise.
33687 * string/memrchr.c: Likewise.
33688 * string/rawmemchr.c: Likewise.
33689 * string/strcat.c: Likewise.
33690 * string/strchr.c: Likewise.
33691 * string/strchrnul.c: Likewise.
33692 * string/strcmp.c: Likewise.
33693 * string/strcpy.c: Likewise.
33694 * string/strncat.c: Likewise.
33695 * string/strncmp.c: Likewise.
33696 * string/strncpy.c: Likewise.
33698 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33700 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33701 __builtin_memcopy is called when src and dest ranges are known to not
33704 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33706 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33707 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33708 fwd_align_merge macro call.
33709 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33710 bwd_align_merge macro call.
33711 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33713 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33715 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33716 bwd_align_merge macros.
33717 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33718 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33719 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33721 2012-04-18 David S. Miller <davem@davemloft.net>
33723 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33725 2012-04-18 Andreas Jaeger <aj@suse.de>
33728 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33729 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33730 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33732 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33733 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33734 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33736 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33737 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33738 Adjust for changed ldbl-128 files.
33740 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33741 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33742 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33744 2012-04-17 David S. Miller <davem@davemloft.net>
33746 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33748 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33750 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33751 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33752 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33753 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33754 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33755 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33757 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33760 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33761 * math/libm-test.inc: Add ilogb errno and exception tests.
33762 * math/w_ilogb.c: New file: ilogb wrapper.
33763 * math/w_ilogbf.c: New file: ilogbf wrapper.
33764 * math/w_ilogbl.c: New file: ilogbl wrapper.
33765 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33766 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33767 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33768 exception being thrown with 0.0 as argument.
33769 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33770 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33771 exception being thrown with 0.0 as argument.
33772 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33773 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33774 exception being thrown with 0.0 as argument.
33775 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33776 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33777 exception being thrown with 0.0 as argument.
33778 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33779 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33780 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33781 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33783 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33784 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33785 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33786 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33788 2012-04-17 Petr Baudis <pasky@ucw.cz>
33790 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33793 2012-04-16 Marek Polacek <polacek@redhat.com>
33795 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33797 2012-04-16 Marek Polacek <polacek@redhat.com>
33799 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33800 operands of fdivp instruction.
33802 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33804 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33805 * elf/tst-auditmod3b.c: Likewise.
33806 * elf/tst-auditmod4b.c: Likewise.
33807 * elf/tst-auditmod5b.c: Likewise.
33808 * elf/tst-auditmod6b.c: Likewise.
33809 * elf/tst-auditmod6c.c: Likewise.
33810 * elf/tst-auditmod7b.c: Likewise.
33811 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33812 * sysdeps/x86_64/preconfigure.in: Likewise.
33813 * sysdeps/x86_64/preconfigure: Regenerated.
33815 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33817 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33820 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33822 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33823 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33825 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33828 * locale/iso-639.def: Fix gl language name. Spotted by
33831 2012-04-12 Roland McGrath <roland@hack.frob.com>
33834 * libio/libio.h (__io_write_fn): Update comment.
33836 2012-04-12 Petr Baudis <pasky@ucw.cz>
33839 * stdio.texi (Hook Functions): The user provided writer function
33840 is not allowed to return -1.
33842 2012-04-11 David S. Miller <davem@davemloft.net>
33844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33846 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33848 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33849 Add a leading slash to rtkaio.
33851 2012-04-11 Jim Meyering <meyering@redhat.com>
33854 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33855 It is not necessarily an error to ignore fwrite's return
33856 value. One can reliably use ferror to test for errors after
33859 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33861 * bits/types.h (__snseconds_t): New type.
33862 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33864 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33866 (__SNSECONDS_T_TYPE): Likewise.
33867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33868 (__SNSECONDS_T_TYPE): Likewise.
33869 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33870 (__SNSECONDS_T_TYPE): Likewise.
33872 2012-04-10 Andreas Jaeger <aj@suse.de>
33875 * manual/time.texi (Processor Time): Return type of times is
33876 elapsed real time since an arbitrary point in the past.
33877 (CPU Time): Move CLK_TCK from here...
33878 (Processor Time): ...to here. Correct description.
33879 * manual/conf.texi (Constants for Sysconf): Correct description of
33882 2012-04-10 David S. Miller <davem@davemloft.net>
33885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33886 where the is a gap between DT_REL(A) and DT_JMPREL.
33888 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33890 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33891 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33892 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33894 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33896 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33897 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33898 (dl_main): Handle --inhibit-cache.
33899 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33901 * elf/dl-load.c (_dl_map_object): Use it.
33902 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33904 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33907 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33908 (__ieee754_powl): Saturate large exponents rather than testing for
33909 overflow of y*log2(x).
33910 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33911 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33915 * math/s_ctan.c: Include <float.h>.
33916 (__ctan): Avoid internal overflow or cancellation in calculating
33918 * math/s_ctanf.c: Likewise.
33919 * math/s_ctanl.c: Likewise.
33920 * math/s_ctanh.c: Likewise.
33921 * math/s_ctanhf.c: Likewise.
33922 * math/s_ctanhl.c: Likewise.
33923 * math/libm-test.inc (ctan_test): Add more tests.
33924 (ctanh_test): Likewise.
33925 * sysdeps/i386/fpu/libm-test-ulps: Update.
33926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33928 2012-04-09 Andreas Jaeger <aj@suse.de>
33931 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33932 is an optional BSD extension.
33935 * manual/stdio.texi (Opening Streams): Document additional fopen
33938 2012-04-09 Roland McGrath <roland@hack.frob.com>
33940 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33941 %eax without telling the compiler.
33943 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33946 * manual/install.texi: Use sourceware.org.
33948 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33951 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33952 (__ieee754_pow): Generate overflow and underflow using huge*huge
33953 and tiny*tiny rather than just returning constant infinity or zero
33954 for large exponents.
33955 * math/libm-test.inc (pow_test): Require overflow exceptions for
33956 applicable cases of large exponents.
33959 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33960 (__ieee754_pow): Use iterative multiplication algorithm only for
33961 integer exponents with absolute value below 1024. Check for odd
33962 integer exponents when using algorithm for real exponents.
33963 * math/libm-test.inc (pow_test): Add more tests.
33964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33966 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33969 * math/libm-test.inc (exp_test): Do not allow overflow exception
33972 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33975 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33976 instead of __kernel_standard_f.
33978 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33980 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33981 * sysdeps/x86_64/memset_chk.S: Likewise.
33983 2012-04-08 Andreas Jaeger <aj@suse.de>
33986 * manual/startup.texi (Environment Access): Describe return value
33987 for putenv and setenv.
33990 * manual/filesys.texi (Directory Entries): Add description for
33994 * manual/filesys.texi (Directory Entries): Clarify that it's file
33995 system not operating system in the description of DT_UNKNOWN.
33998 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34000 2012-04-08 Stephen Compall <s11@member.fsf.org>
34003 * manual/llio.texi (Opening and Closing Files): Add cross
34004 reference to explain mode argument.
34006 2012-04-07 Mike Frysinger <vapier@gentoo.org>
34008 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34009 * sysdeps/x86_64/memset_chk.S: Likewise.
34011 2012-04-07 David S. Miller <davem@davemloft.net>
34013 * elf/elf.h (R_SPARC_WDISP10): Define.
34014 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34016 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34017 R_SPARC_SIZE64 and R_SPARC_H34.
34019 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34021 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34022 conditions and remove no longer applicable assertion.
34024 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34026 * bits/byteswap.h: Include <features.h>.
34027 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34028 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34030 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34032 * bits/byteswap.h (__bswap_16): Removed.
34033 Include <bits/byteswap-16.h> to get __bswap_16.
34034 * sysdeps/i386/bits/byteswap.h: Likewise.
34035 * sysdeps/s390/bits/byteswap.h: Likewise.
34036 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34037 * bits/byteswap-16.h: New file.
34038 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34039 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34040 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34041 * string/Makefile (headers): Add bits/byteswap-16.h.
34043 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34046 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34048 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34049 * nss/tst-nss-static.c: New.
34051 2012-04-06 Robert Millan <rmh@gnu.org>
34054 * manual/llio.texi (File Position Primitive): lseek
34055 refers to WHENCE when it really means OFFSET.
34057 2012-04-06 Andreas Jaeger <aj@suse.de>
34059 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34060 strncmp declarations.
34062 * abilist/libc.abilist: Add __poll and __ppoll.
34064 2012-04-05 David S. Miller <davem@davemloft.net>
34066 * scripts/check-local-headers.sh: Accept a host triplet in the
34067 path matched by the exclude regexp.
34069 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34071 * sysdeps/powerpc/powerpc32/dl-machine.h
34072 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34073 * sysdeps/s390/s390-32/dl-machine.h
34074 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34075 * sysdeps/sparc/sparc32/dl-machine.h
34076 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34077 * sysdeps/sparc/sparc64/dl-machine.h
34078 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34080 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34082 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34083 undefined symbol errors.
34085 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34088 2012-04-05 Michael Matz <matz@suse.de>
34091 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34093 2012-04-05 Andreas Jaeger <aj@suse.de>
34096 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34099 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34101 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34102 which ROUND is no valid rounding mode.
34104 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34106 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34108 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34110 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34112 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34113 an exception using FPU order intentionally.
34115 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34117 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34118 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34119 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34120 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34122 2012-04-05 Simon Josefsson <simon@josefsson.org>
34125 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34126 EINVAL when BUFLEN is too smal.
34128 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34131 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34132 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34134 2012-04-03 Andreas Jaeger <aj@suse.de>
34137 * manual/setjmp.texi (System V contexts): Fix sentence.
34140 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34141 New macro for this case.
34142 [!__GNUC__] (__bswap_64): New inline function for this case.
34143 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34144 * bits/byteswap.h: Likewise.
34145 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34146 ull, guard with __GLIBC_HAVE_LONG_LONG.
34148 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34149 __GLIBC_HAVE_LONG_LONG.
34151 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34152 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34154 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34157 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34158 inptr and inend, rather than using last_ch.
34160 2012-04-02 David S. Miller <davem@davemloft.net>
34162 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34163 * stdio-common/printf-parse.h (read_int): Change return type to
34164 'int', return -1 on INT_MAX overflow.
34165 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34166 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34167 overflows INT_MAX. Check for overflow of in-format-string precision
34168 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34169 SIZE_MAX not INT_MAX for integer overflow test.
34170 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34171 skip the construct in the format string but do not record anything.
34172 * stdio-common/bug22.c: Adjust to test both width/prevision
34173 INT_MAX overflow as well as total length INT_MAX overflow. Check
34174 explicitly for proper errno values.
34176 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34178 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34180 * string/test-strcmp.c [! WIDE]: Likewise.
34181 * time/tst-mktime2.c: Likewise for INT_MAX.
34182 * string/test-string.h: #include <sys/param.h> for MIN.
34184 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34185 * sysdeps/i386/init-first.c (init): Likewise.
34186 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34187 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34188 * sysdeps/sh/init-first.c (init): Likewise.
34190 2012-04-01 Ulrich Drepper <drepper@gmail.com>
34192 * po/ru.po: Update from translation team.
34193 * po/vi.po: Likewise.
34195 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34197 * resolv/nss_dns/dns-host.c: Merge copyright years.
34199 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34201 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34202 Optimize memcpy with prefetch if
34203 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34204 src, dst pointers have unequal 16 byte alignments.
34206 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34209 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34210 from a CNAME entry and return the minimum ttl for the query.
34211 (gaih_getanswer_slice): Likewise.
34213 2012-03-30 Jeff Law <law@redhat.com>
34215 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34217 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34218 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34220 * resolv/nss_dns/dns-host.c: Update copyright year.
34222 2012-03-30 Ulrich Drepper <drepper@gmail.com>
34224 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34225 requests to save a system call. Fix check that all bytes are sent.
34227 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34228 comments for sendmmsg.
34230 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34233 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34234 with only 1 character between 0x0041 and 0x01b0.
34235 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34236 * wcsmbs/tst-mbsnrtowcs.c: New file.
34238 2012-03-29 David S. Miller <davem@davemloft.net>
34240 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34241 small copies by hand.
34243 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34246 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34247 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34250 2012-03-28 David S. Miller <davem@davemloft.net>
34252 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34253 that branches into memcpy.
34254 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34255 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34256 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34257 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34260 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34261 implementation too.
34262 * sysdeps/sparc/mempcpy.S: New file.
34264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34265 the IFUNC routine in the libc case.
34266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34268 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34269 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34270 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34271 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34272 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34273 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34274 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34275 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34277 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34278 loop to 256 bytes instead of 64 bytes and fix test signedness.
34280 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34281 * sysdeps/sparc/sparc32/Makefile: rather than here...
34282 * sysdeps/sparc/sparc64/Makefile: and here.
34284 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34286 * malloc/mallocbug.c: Avoid warnings about unused variables.
34288 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34291 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34292 in the right place. Discard and retry query if response is
34293 larger than input buffer size.
34295 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34300 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34301 x for large integer exponent.
34302 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34303 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34304 sign of result as needed afterwards.
34305 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34306 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34307 result for underflowing pow the same as for overflow.
34308 (__kernel_standard_l): Handle powl overflow and underflow here
34309 rather than calling __kernel_standard.
34310 * math/libm-test.inc (pow_test): Add more tests.
34325 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34326 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34327 (__kernel_standard_l): New function.
34328 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34330 * math/w_acosl.c (__acosl): Likewise.
34331 * math/w_asinl.c (__asinl): Likewise.
34332 * math/w_atan2l.c (__atan2l): Likewise.
34333 * math/w_atanhl.c (__atanhl): Likewise.
34334 * math/w_coshl.c (__coshl): Likewise.
34335 * math/w_exp10l.c (__exp10l): Likewise.
34336 * math/w_exp2l.c (__exp2l): Likewise.
34337 * math/w_fmodl.c (__fmodl): Likewise.
34338 * math/w_hypotl.c (__hypotl): Likewise.
34339 * math/w_j0l.c (__j0l, __y0l): Likewise.
34340 * math/w_j1l.c (__j1l, __y1l): Likewise.
34341 * math/w_jnl.c (__jnl, __ynl): Likewise.
34342 * math/w_lgammal.c (__lgammal): Likewise.
34343 * math/w_log10l.c (__log10l): Likewise.
34344 * math/w_log2l.c (__log2l): Likewise.
34345 * math/w_logl.c (__logl): Likewise.
34346 * math/w_powl.c (__powl): Likewise.
34347 * math/w_remainderl.c (__remainderl): Likewise.
34348 * math/w_scalbl.c (sysv_scalbl): Likewise.
34349 * math/w_sinhl.c (__sinhl): Likewise.
34350 * math/w_sqrtl.c (__sqrtl): Likewise.
34351 * math/w_tgammal.c (__tgammal): Likewise.
34352 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34353 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34354 * math/libm-test.inc (acos_test): Add more tests.
34355 (acosh_test): Likewise.
34356 (asin_test): Likewise.
34357 (atanh_test): Likewise.
34358 (exp_test): Likewise.
34359 (exp10_test): Likewise.
34360 (exp2_test): Likewise.
34361 (expm1_test): Likewise.
34362 (lgamma_test): Likewise.
34363 (log_test): Likewise.
34364 (log10_test): Likewise.
34365 (log1p_test): Likewise.
34366 (log2_test): Likewise.
34367 (pow_test): Do not allow some spurious overflow exceptions.
34368 (sqrt_test): Add more tests.
34369 (tgamma_test): Likewise.
34370 (y0_test): Likewise.
34371 (y1_test): Likewise.
34372 (yn_test): Likewise.
34374 2012-03-27 Anton Blanchard <anton@samba.org>
34376 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34378 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34379 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34380 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34382 2012-03-27 David S. Miller <davem@davemloft.net>
34384 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34386 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34387 have-as-vis3 check.
34389 2012-03-27 Andreas Jaeger <aj@suse.de>
34391 * sysdeps/x86_64/elf/configure.in: Moved to ...
34392 * sysdeps/x86_64/configure.in: ... here.
34393 * sysdeps/x86_64/elf/start.S: Moved to ...
34394 * sysdeps/x86_64/start.S: ... here.
34395 * sysdeps/x86_64/elf/configure: Delete.
34397 * sysdeps/x86_64/configure.in: Merge contents from
34398 sysdeps/i386/configure.in (without i686 check).
34400 * sysdeps/i386/elf/Versions: Merge into ...
34401 * sysdeps/i386/Versions: ... this.
34402 * sysdeps/i386/elf/Versions: Delete file.
34403 * sysdeps/i386/elf/start.S: Moved to ...
34404 * sysdeps/i386/start.S: ...here.
34405 * sysdeps/i386/elf/configure.in: Merge into...
34406 * sysdeps/i386/configure.in: ...here.
34407 * sysdeps/i386/elf/configure.in: Delete file.
34408 * sysdeps/i386/elf/configure: Delete file.
34410 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34411 * debug/backtracesyms.c: ... here.
34412 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34413 * debug/backtracesymsfd.c: ... here.
34414 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34415 * sysdeps/generic/ifunc-sel.h: ... here.
34417 * sysdeps/unix/i386/start.c: Delete file.
34418 * sysdeps/unix/sparc/start.c: Delete file.
34419 * sysdeps/unix/start.c: Delete file.
34421 * sysdeps/sh/elf/configure.in: Moved to ...
34422 * sysdeps/sh/configure.in: ... here.
34423 * sysdeps/sh/elf/start.S: Moved to ...
34424 * sysdeps/sh/start.S: ... here.
34425 * sysdeps/sh/elf/configure: Delete file.
34427 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34428 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34429 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34430 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34431 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34432 * sysdeps/powerpc/powerpc64/start.S: here.
34433 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34434 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34435 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34436 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34437 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34439 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34440 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34441 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34442 * sysdeps/powerpc/powerpc32/start.S: ... here.
34443 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34444 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34445 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34447 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34448 * sysdeps/powerpc/ifunc-sel.h: ... here.
34449 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34450 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34452 * sysdeps/sparc/elf/configure.in: Moved to ...
34453 * sysdeps/sparc/configure.in: ... here.
34454 * sysdeps/sparc/elf/configure: Delete file.
34455 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34456 * sysdeps/sparc/sparc32/start.S: ... here.
34457 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34458 * sysdeps/sparc/sparc64/start.S: ... here.
34459 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34460 * sysdeps/sparc/sparc32/Makefile: ... this.
34461 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34462 * sysdeps/sparc/sparc64/Makefile: ... this.
34464 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34465 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34466 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34467 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34468 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34469 * sysdeps/s390/s390-32/setjmp.S: ... here.
34470 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34471 * sysdeps/s390/s390-32/configure.in: ... here.
34472 * sysdeps/s390/s390-32/elf/configure: Delete file.
34473 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34474 * sysdeps/s390/s390-32/start.S: ... here.
34476 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34477 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34478 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34479 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34480 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34481 * sysdeps/s390/s390-64/setjmp.S: ... here.
34482 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34483 * sysdeps/s390/s390-64/configure.in: ... here
34484 * sysdeps/s390/s390-64/elf/configure: Delete file.
34485 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34486 * sysdeps/s390/s390-64/start.S: ... here.
34487 * sysdeps/s390/s390-64/elf/configure: Delete.
34489 * configure.in: Remove support for elf directories in sysdeps.
34491 * configure: Regenerated.
34492 * sysdeps/i386/configure: Regenerated.
34493 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34494 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34495 * sysdeps/s390/s390-32/configure: Regenerated.
34496 * sysdeps/s390/s390-64/configure: Regenerated.
34497 * sysdeps/sh/configure: Regenerated.
34498 * sysdeps/sparc/configure: Regenerated.
34499 * sysdeps/x86_64/configure: Regenerated.
34501 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34505 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34506 denormal result into account.
34508 2012-03-25 Roland McGrath <roland@hack.frob.com>
34510 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34511 Reported by Allan McRae <allan@archlinux.org>.
34513 2012-03-23 Jeff Law <law@redhat.com>
34515 * nss/getnssent.c (__nss_getent): Fix typo.
34517 2012-03-23 David S. Miller <davem@davemloft.net>
34519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34521 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34523 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34524 to pad to uint64_t for each field.
34525 (dl_tls_index): Replace unsigned long with uint64_t.
34527 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34528 Paul Pluzhnikov <ppluzhnikov@google.com>
34531 * grp/Makefile (otherlibs): Don't set it.
34532 * inet/Makefile (otherlibs): Likewise.
34533 * login/Makefile (otherlibs): Likewise.
34534 * nscd/Makefile (otherlibs): Likewise.
34535 * posix/Makefile (otherlibs): Likewise.
34536 * pwd/Makefile (otherlibs): Likewise.
34537 * rt/Makefile (otherlibs): Likewise.
34538 * sunrpc/Makefile (otherlibs): Likewise.
34539 * nss/Makefile (otherlibs): Likewise.
34540 Add libnss_files to routines and static-only-routines.
34541 ($(objpfx)getent): Remove rule.
34542 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34543 static-only-routines.
34545 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34548 * math/s_cexp.c: Include <float.h>.
34549 (__cexp): Handle exp result overflowing not necessarily
34550 overflowing both real and imaginary parts of result.
34551 * math/s_cexpf.c: Likewise.
34552 * math/s_cexpl.c: Likewise.
34553 * math/libm-test.inc (cexp_test): Add more tests.
34554 * sysdeps/i386/fpu/libm-test-ulps: Update.
34555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34557 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34559 * include/link.h (ELFW): New macro.
34560 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34561 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34563 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34565 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34568 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34570 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34572 (struct La_x32_retval): Likewise.
34574 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34576 * sysdeps/x86_64/preconfigure.in: New file.
34577 * sysdeps/x86_64/preconfigure: New generated file.
34579 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34582 * math/e_exp2l.c: Include <float.h>.
34583 (__ieee754_exp2l): Handle overflow and underflow cases
34584 separately. Only pass fractional part of argument to
34586 * math/libm-test.inc (exp2_test): Add more tests.
34588 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34589 negating x to take absolute value.
34590 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34592 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34593 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34595 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34596 computing low part if x was negated.
34597 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34599 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34601 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34602 la_x32_gnu_pltexit.
34603 (pltexit): Cast int_retval to ptrdiff_t.
34604 * elf/tst-auditmod3b.c: Likewise.
34605 * elf/tst-auditmod4b.c: Likewise.
34606 * elf/tst-auditmod5b.c: Likewise.
34607 * elf/tst-auditmod6b.c: Likewise.
34608 * elf/tst-auditmod6c.c: Likewise.
34609 * elf/tst-auditmod7b.c: Likewise.
34611 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34612 and x32_gnu_pltexit.
34614 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34615 __ELF_NATIVE_CLASS.
34616 (La_x32_regs): New macro.
34617 (La_x32_retval): Likewise.
34618 (la_x32_gnu_pltenter): New function prototype.
34619 (la_x32_gnu_pltexit): Likewise.
34621 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34628 * configure.in (libc_cv_cc_nofma): Check for option to disable
34629 generation of FMA instructions.
34630 * configure: Regenerate.
34631 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34632 * sysdeps/ieee754/dbl-64/Makefile: New file.
34633 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34634 Remove brandred-fma4.
34635 (CFLAGS-brandred-fma4.c): Remove.
34636 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34637 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34639 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34642 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34644 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34645 LLONG_MAX != LONG_MAX.
34646 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34647 (_fitoa_word): Likewise.
34648 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34649 LLONG_MAX != LONG_MAX.
34650 * stdio-common/_itowa.h: Include <_itoa.h>.
34651 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34652 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34653 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34654 only if not defined.
34655 (_ITOA_WORD_TYPE): Likewise.
34656 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34657 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34659 2012-03-21 David S. Miller <davem@davemloft.net>
34661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34663 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34665 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34666 of x86_64 when setting libc_cv_slibdir, libdir and
34668 * sysdeps/unix/sysv/linux/configure: Regenerated.
34670 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34672 * manual/lang.texi (Old Varargs): Remove section.
34673 (How Variadic): Update menu.
34674 (va_start): Do not mention varargs.h.
34676 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34677 Joseph Myers <joseph@codesourcery.com>
34679 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34681 * configure: Regenerated.
34683 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34685 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34686 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34689 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34692 * Makefile (files-for-dist): Remove NOTES.
34693 (NOTES): Remove rule.
34694 * README: Don't refer to NOTES.
34695 * manual/creature.texi: Don't include macros.texi.
34696 * manual/intro.texi (creature.texi): Remove comment referring to
34699 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34700 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34701 * configure: Regenerated.
34702 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34703 LIBC_TRY_CC_OPTION.
34704 (libc_cv_as_i686): Likewise.
34705 (libc_cv_cc_avx): Likewise.
34706 (libc_cv_cc_sse2avx): Likewise.
34707 (libc_cv_cc_fma4): Likewise.
34708 (libc_cv_cc_novzeroupper): Likewise.
34709 * sysdeps/i386/configure: Regenerated.
34712 * sysdeps/i386/fpu/s_cexp.S: Remove.
34713 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34714 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34715 * math/libm-test.inc (cexp_test): Add more tests.
34716 * sysdeps/i386/fpu/libm-test-ulps: Update.
34717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34719 2012-03-21 Allan McRae <allan@archlinux.org>
34721 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34723 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34726 * math/w_exp2.c: Do not include <float.h>.
34727 (o_threshold, u_threshold): Remove.
34728 (__exp2): Calculate result before checking finiteness and calling
34730 * math/w_exp2f.c: Likewise.
34731 * math/w_exp2l.c: Likewise.
34732 * math/libm-test.inc (exp2_test): Require overflow exception for
34736 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34737 range of signed 64-bit integers before using fistpll. Remove
34738 checks for whether integers fit in mantissa bits.
34739 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34740 the range of signed 32-bit integers before using fistpl. Remove
34741 checks for whether integers fit in mantissa bits.
34742 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34743 (__ieee754_powl): Test for y outside the range of signed 64-bit
34744 integers before using fistpll. Reduce 64-bit values to 63-bit
34746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34747 divide-by-zero is raised for zero to large negative powers.
34748 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34749 (__ieee754_powl): Test for y outside the range of signed 64-bit
34750 integers before using fistpll. Reduce 64-bit values to 63-bit
34752 * math/libm-test.inc (pow_test): Add more tests.
34754 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34756 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34757 <stdio-common/_itoa.h>.
34758 * debug/segfault.c: Likewise.
34759 * elf/dl-cache.c: Likewise.
34760 * elf/dl-minimal.c: Likewise.
34761 * elf/dl-misc.c: Likewise.
34762 * elf/dl-sysdep.c: Likewise.
34763 * elf/dl-version.c: Likewise.
34764 * elf/rtld.c: Likewise.
34765 * hurd/hurdsock.c: Likewise.
34766 * hurd/lookup-retry.c: Likewise.
34767 * malloc/malloc.c: Likewise.
34768 * malloc/mtrace.c: Likewise.
34769 * nscd/nscd_getgr_r.c: Likewise.
34770 * nscd/nscd_getpw_r.c: Likewise.
34771 * nscd/nscd_getserv_r.c: Likewise.
34772 * posix/getopt_init.c: Likewise.
34773 * posix/wordexp.c: Likewise.
34774 * stdio-common/_itoa.c: Likewise.
34775 * stdio-common/printf_fphex.c: Likewise.
34776 * stdio-common/vfprintf.c: Likewise.
34777 * string/_strerror.c: Likewise.
34778 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34779 * sysdeps/i386/i686/hp-timing.h: Likewise.
34780 * sysdeps/mach/_strerror.c: Likewise.
34781 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34782 * sysdeps/mach/hurd/sethostid.c: Likewise.
34783 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34784 * sysdeps/mach/xpg-strerror.c: Likewise.
34785 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34786 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34787 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34788 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34789 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34790 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34791 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34792 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34793 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34794 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34795 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34796 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34797 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34798 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34799 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34800 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34801 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34802 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34803 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34804 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34805 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34807 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34809 * stdio-common/_itoa.h: Moved to ...
34810 * sysdeps/generic/_itoa.h: Here.
34812 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34814 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34815 instead of "_itoa.h" and "_itowa.h".
34816 * stdio-common/vfprintf.: Likewise.
34818 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34820 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34822 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34823 (__signbit): Likwise.
34824 (llrintf): Likwise.
34827 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34829 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34832 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34834 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34835 OVERFLOW_EXCEPTION_OK.
34836 * math/libm-test.inc ("Philosophy"): Update comment about
34838 (OVERFLOW_EXCEPTION): Define.
34839 (OVERFLOW_EXCEPTION_OK): Likewise.
34840 (INVALID_EXCEPTION_OK): Renumber.
34841 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34842 (IGNORE_ZERO_INF_SIGN): Likewise.
34843 (test_exceptions): Handle FE_OVERFLOW.
34844 (exp10_test): Expect overflow exceptions.
34845 (exp2_test): Likewise.
34846 (expm1_test): Likewise.
34847 (nextafter_test): Likewise.
34848 (pow_test): Likewise.
34849 (scalbn_test): Likewise.
34850 (scalbln_test): Likewise.
34852 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34854 * sysdeps/x86_64/bits/atomic.h
34855 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34857 (atomic_exchange_acq): Likewise.
34858 (__arch_exchange_and_add_body): Likewise.
34859 (__arch_add_body): Likewise.
34860 (atomic_add_negative): Likewise.
34861 (atomic_add_zero): Likewise.
34863 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34865 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34866 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34868 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34870 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34871 Check __x86_64__ instead of __WORDSIZE.
34873 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34875 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34877 2012-03-19 David S. Miller <davem@davemloft.net>
34879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34881 * sysdeps/sparc/fpu/fenv_private.h: New file.
34882 * sysdeps/sparc/fpu/math_private.h: Use it.
34883 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34885 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34886 (libc_feholdexcept_setroundl): Remove.
34887 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34889 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34890 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34892 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34894 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34895 int64_t instead of long int.
34896 (INSERT_WORDS64): Likwise.
34898 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34900 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34901 _Unwind_GetCFA return to _Unwind_Ptr first.
34903 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34906 * math/s_clog.c: Include <float.h>.
34907 (__clog): Scale large or subnormal inputs.
34908 * math/s_clogf.c: Likewise.
34909 * math/s_clogl.c: Likewise.
34910 * math/s_clog10.c: Include <float.h>.
34911 (M_LOG10_2): Define.
34912 (__clog10): Scale large or subnormal inputs.
34913 * math/s_clog10f.c: Likewise.
34914 * math/s_clog10l.c: Likewise.
34915 * math/libm-test.inc (clog_test): Add more tests.
34916 (clog10_test): Likewise.
34917 * sysdeps/i386/fpu/libm-test-ulps: Update.
34918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34921 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34923 * math/libm-test.inc (atan2_test): Add another test.
34925 * Makerules (common-objdir-compile): Remove.
34926 * sysdeps/unix/Makefile (config-generated): Do not add
34927 $(unix-generated) to variable.
34928 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34929 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34931 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34933 [generic bits/local_lim.h] (before-compile): Do not append to
34935 [generic bits/local_lim.h] (common-generated): Likewise.
34936 [generic sys/param.h] (before-compile): Do not append to variable.
34937 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34938 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34939 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34940 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34942 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34943 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34944 [generic sys/param.h] ($(addprefix
34945 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34946 [generic sys/param.h] (common-generated): Do not append to
34948 [generic sys/param.h] (sysdep_headers): Likewise.
34949 [generic bits/errno.h] (before-compile): Do not append to
34951 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34953 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34954 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34955 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34956 [generic bits/errno.h] (common-generated): Do not append to
34958 [generic bits/ioctls.h] (before-compile): Do not append to
34960 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34962 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34963 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34964 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34966 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34967 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34968 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34969 [generic bits/ioctls.h] (common-generated): Do not append to
34971 [generic sys/syscall.h] (syscall.h): Remove variable.
34972 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34974 [generic sys/syscall.h] (before-compile): Do not append to
34976 [generic sys/syscall.h] (common-generated): Likewise.
34977 * sysdeps/unix/errnos-tmpl.c: Remove file.
34978 * sysdeps/unix/errnos.awk: Likewise.
34979 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34980 * sysdeps/unix/ioctls.awk: Likewise.
34981 * sysdeps/unix/mk-local_lim.c: Likewise.
34982 * sysdeps/unix/snarf-ioctls: Likewise.
34984 2012-03-19 Richard Henderson <rth@twiddle.net>
34986 * sysdeps/i386/fpu/fenv_private.h: New file.
34987 * sysdeps/i386/fpu/math_private.h: Use it.
34988 (math_opt_barrier, math_force_eval): Remove.
34989 (libc_feholdexcept_setround_53bit): Remove.
34990 (libc_feupdateenv_53bit): Remove.
34991 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34992 (math_opt_barrier, math_force_eval): Remove.
34993 (libc_feholdexcept): Remove.
34994 (libc_feholdexcept_setround): Remove.
34995 (libc_fetestexcept, libc_fesetenv): Remove.
34996 (libc_feupdateenv_test): Remove.
34997 (libc_feupdateenv, libc_feholdsetround): Remove.
34998 (libc_feresetround): Remove.
35000 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35001 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35003 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35004 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35005 (libc_feupdateenv_testl): New.
35006 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35007 (libc_feupdateenv_testf): New.
35008 (libc_feupdateenv): Use libc_feupdateenv_test.
35009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35010 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35012 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35013 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35014 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35015 (libc_feresetround_noex): New.
35016 (libc_feresetround_noexf): New.
35017 (libc_feresetround_noexl): New.
35018 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35019 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35020 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35021 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35023 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35024 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35026 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35027 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35028 SET_RESTORE_ROUND_NOEX.
35029 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35030 SET_RESTORE_ROUND_NOEXF.
35031 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35032 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35033 (libc_feholdsetroundf): New.
35034 (libc_feresetround, libc_feresetroundf): New.
35036 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35037 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35038 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35040 * sysdeps/generic/math_private.h: Include <fenv.h>.
35041 (default_libc_feholdexcept): New.
35042 (default_libc_feholdexcept_setround): New.
35043 (default_libc_fesetenv, default_libc_feupdateenv): New.
35044 (libc_feholdexcept): Only define if undefined.
35045 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35046 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35047 (libc_feholdexcept_setroundl): Likewise.
35048 (libc_feholdexcept_setround_53bit): Likewise.
35049 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35050 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35051 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35052 (libc_feupdateenv_53bit): Likewise.
35053 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35054 (libc_feholdexcept): Convert from macro to inline function.
35055 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35056 (libc_fesetenv, libc_feupdateenv): Likewise.
35058 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35059 not previously defined.
35060 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35061 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35062 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35063 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35064 * sysdeps/ieee754/flt-32/math_private.h: New file.
35065 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35066 math_private.h below SET_FLOAT_WORD.
35067 (__isnan, __isinf_ns, __finite): Remove.
35068 (__isnanf, __isinf_nsf, __finitef): Remove.
35070 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35074 2012-03-17 David S. Miller <davem@davemloft.net>
35077 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35080 2012-03-16 David S. Miller <davem@davemloft.net>
35082 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35086 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35088 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35089 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35090 sysdep_routines when subdir is sysvipc.
35091 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35092 __getshmlba helper.
35094 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35096 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35098 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35101 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35103 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35104 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35105 (__lround): Renamed to ...
35106 (__llround): This. Replace long int with long long int.
35107 Define lround functions as aliases of llround functions.
35108 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35110 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35112 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35113 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35114 adresses to uintptr_t. Replace "long int" and "unsigned long
35115 int" with "greg_t" on va_arg.
35117 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35119 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35120 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35122 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35123 Move e_machine check before EI_CLASS check. Handle x32
35124 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35125 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35126 SKIP_EM_IA_64 and include
35127 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35129 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35130 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35131 (add_system_dir): New macro.
35133 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35134 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35136 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35147 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35149 * math/w_j0f.c (j0f): Likewise.
35151 * math/w_j0l.c (__j0l): Likewise.
35153 * math/w_j1.c (j1): Likewise.
35155 * math/w_j1f.c (j1f): Likewise.
35157 * math/w_j1l.c (__j1l): Likewise.
35159 * math/w_jn.c (jn): Likewise.
35161 * math/w_jnf.c (jnf): Likewise.
35163 * math/w_jnl.c (__jnl): Likewise.
35165 * math/libm-test.inc (j0_test): Add more tests.
35166 (j1_test): Likewise.
35167 (jn_test): Likewise. Add trailing semicolon to existing test.
35168 (y0_test): Likewise.
35169 (y1_test): Likewise.
35170 * sysdeps/i386/fpu/libm-test-ulps: Update.
35171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35175 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35176 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35177 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35178 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35179 (__tanl): Set errno for infinite argument.
35180 * sysdeps/i386/fpu/mptan.c: Remove.
35181 * sysdeps/i386/fpu/s_tan.S: Likewise.
35182 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35183 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35184 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35185 * math/libm-test.inc (tan_test): Add more tests and enable more
35186 tests for double and long double.
35187 * sysdeps/i386/fpu/libm-test-ulps: Update.
35188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35190 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35192 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35193 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35195 2012-03-16 Roland McGrath <roland@hack.frob.com>
35197 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35198 * configure.in: Use it for both main tree and add-ons.
35199 * configure: Regenerated.
35201 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35203 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35205 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35207 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35211 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35212 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35217 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35218 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35219 != 0 for prec == 2.
35220 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35221 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35222 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35223 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35224 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35225 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35226 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35227 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35228 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35229 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35230 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35231 * math/libm-test.inc (cos_test): Add more tests and enable more
35232 tests for long double.
35233 (sin_test): Likewise.
35234 (sincos_test): Likewise.
35235 * sysdeps/i386/fpu/libm-test-ulps: Update.
35236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35238 2012-03-16 David S. Miller <davem@davemloft.net>
35240 * sysdeps/sparc/fpu/math_private.h: New file.
35242 2012-03-15 David S. Miller <davem@davemloft.net>
35244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35254 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35258 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35259 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35261 * sysdeps/sparc/sparc-ifunc.h: New file.
35262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35307 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35309 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35313 2012-03-15 Andreas Jaeger <aj@suse.de>
35316 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35317 ieee754/flt-32 implementation for sin, cos and sincos.
35318 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35319 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35320 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35321 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35322 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35323 ieee754/flt-32 implementation for tan.
35325 * math/libm-test.inc (cos_test): Enable some large input tests for
35327 (sin_test): Likewise.
35328 (sincos_test): Likewise.
35329 (tan_test): Add tests for large input.
35331 * sysdeps/i386/fpu/libm-test-ulps: Update.
35333 2012-03-15 Andreas Jaeger <aj@suse.de>
35336 * math/libm-test.inc (cos_test): Add more test cases.
35337 (sin_test): Likewise.
35338 (sincos_test): Likewise.
35340 2012-03-15 Andreas Jaeger <aj@suse.de>
35343 * math/libm-test.inc (cos_test): Add a test case for large input
35345 (sin_test): Likewise.
35346 (sincos_test): Likewise.
35348 2012-03-15 Andreas Jaeger <aj@suse.de>
35349 Joseph Myers <joseph@codesourcery.com>
35352 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35353 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35354 * sysdeps/i386/fpu/branred.c: Likewise.
35355 * sysdeps/i386/fpu/dosincos.c: Likewise.
35356 * sysdeps/i386/fpu/mpa.c: Likewise.
35357 * sysdeps/i386/fpu/s_cos.S: Likewise.
35358 * sysdeps/i386/fpu/s_sin.S: Likewise.
35359 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35360 * sysdeps/i386/fpu/sincos32.c: Likewise.
35362 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35364 (libc_feupdateenv_53bit): Define.
35365 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35367 (libc_feupdateenv_53bit): Define.
35369 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35370 53 bit (without extend i386 double precision).
35372 * math/libm-test.inc (sincos_test): Add tests for large input.
35376 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35378 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35382 2012-03-15 David S. Miller <davem@davemloft.net>
35384 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35385 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35386 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35387 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35412 fmin/fmax sysdep routines.
35413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35415 2012-03-14 David S. Miller <davem@davemloft.net>
35417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35421 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35422 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35437 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35438 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35439 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35440 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35441 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35442 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35443 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35489 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35494 * sysdeps/sparc/configure.in: New file.
35495 * sysdeps/sparc/configure: Generate.
35496 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35497 * configure: Regenerate.
35498 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35499 * config.make.in (have-as-vis3): New.
35500 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35501 available use -Av9d instead of -Av9a.
35502 * sysdeps/sparc/sparc64/Makefile: Likewise.
35503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35513 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35514 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35515 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35518 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35519 fzeros/fnegs to load 0x80000000 into a float register instead of
35521 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35523 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35527 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35528 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35529 ($(inst_includedir)/bits/syscall.h): Remove rule.
35530 ($(objpfx)bits/syscall.d): Include instead of
35531 $(objpfx)syscall-list.d.
35532 (generated): Change syscall-list.h and syscall-list.d to
35533 bits/syscall.h and bits/syscall.d.
35535 2012-03-14 Roland McGrath <roland@hack.frob.com>
35538 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35540 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35543 * math/s_csqrt.c: Include <float.h>.
35544 (__csqrt): Scale large or subnormal inputs.
35545 * math/s_csqrtf.c: Likewise.
35546 * math/s_csqrtl.c: Likewise.
35547 * math/libm-test.inc (csqrt_test): Add more tests.
35548 * sysdeps/i386/fpu/libm-test-ulps: Update.
35549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35552 * math/libm-test.inc (hypot_test): Add more tests.
35554 2012-03-13 David S. Miller <davem@davemloft.net>
35557 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35558 double-precision for the calculation instead of scaling.
35560 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35562 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35563 manipulate bits before adding and subtracting TWO52[sx].
35564 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35565 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35567 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35569 2012-03-13 David S. Miller <davem@davemloft.net>
35571 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35572 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35573 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35574 rtld-global-offsets.h
35575 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35577 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35580 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35582 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35583 'err' in the ifdef scope in which it is actually used.
35585 * nss/nss_db/db-init.c: Include string.h
35587 2012-03-12 David S. Miller <davem@davemloft.net>
35589 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35590 masking out of the most significant byte of random value used.
35591 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35592 Fix coding style in previous change.
35594 * sysdeps/unix/sysv/linux/kernel-features.h
35595 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35596 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35598 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35601 2012-03-11 David S. Miller <davem@davemloft.net>
35603 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35604 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35605 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35606 for 'resultvar' otherwise things get truncated on 64-bit.
35608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35609 Fix masking out of the most significant byte of random value used.
35611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35613 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35617 2012-03-09 David S. Miller <davem@davemloft.net>
35619 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35620 variables with appropriate CPP guards.
35621 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35622 from the frame pointer, not the stack pointer. Correct layout
35623 comments. Fix test on resulting framesize and the management of
35624 the outregs buffer for pltexit. Preserve floating point return
35625 values across _dl_call_pltexit call.
35626 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35627 framesize and the management of the outregs buffer for pltexit.
35628 Preserve floating point return values across _dl_call_pltexit
35630 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35631 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35632 (la_sparc64_gnu_pltexit): New functions.
35633 (print_exit): Fix format string for return register value.
35635 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35637 * sunrpc/Makefile (others): Add rpcgen.
35638 ($(objpfx)rpcgen): Remove special build rule and dependency on
35640 * sunrpc/rpcgen.c: New file.
35642 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35645 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35646 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35647 * sysdeps/i386/crti.S: Likewise.
35648 * sysdeps/i386/crtn.S: Likewise.
35649 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35650 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35651 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35652 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35653 * sysdeps/sh/crti.S: Likewise.
35654 * sysdeps/sh/crtn.S: Likewise.
35655 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35658 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35660 * locale/programs/locfile-kw.gperf: Likewise.
35661 * locale/programs/charmap-kw.h: Regenerated.
35662 * locale/programs/locfile-kw.h: Likewise.
35665 * intl/plural.y: Replace FSF snail mail address with URL.
35666 * intl/plural.c: Regenerated.
35668 2012-03-09 Richard Henderson <rth@twiddle.net>
35670 * include/math_private.h: Remove file.
35671 * math/math_private.h: Move file ...
35672 * sysdeps/generic/math_private.h: ... here.
35674 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35675 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35676 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35678 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35679 and <math_private.h>.
35680 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35681 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35682 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35683 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35684 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35685 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35686 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35688 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35691 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35692 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35694 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35695 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35696 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35697 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35698 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35699 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35702 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35704 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35705 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35706 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35707 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35709 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35710 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35711 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35712 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35713 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35714 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35715 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35716 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35717 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35718 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35719 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35720 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35721 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35722 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35723 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35724 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35725 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35726 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35727 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35728 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35729 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35730 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35731 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35732 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35733 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35734 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35735 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35736 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35737 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35738 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35739 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35740 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35741 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35742 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35743 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35744 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35745 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35746 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35747 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35748 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35749 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35750 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35751 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35752 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35754 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35758 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35759 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35760 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35761 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35762 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35763 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35764 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35767 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35768 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35769 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35770 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35771 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35772 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35773 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35774 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35775 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35776 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35777 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35778 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35779 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35780 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35781 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35782 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35783 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35784 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35785 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35786 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35787 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35788 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35789 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35790 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35791 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35792 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35793 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35794 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35795 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35796 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35797 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35798 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35799 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35800 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35801 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35802 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35803 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35804 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35805 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35806 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35807 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35808 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35809 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35810 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35811 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35812 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35813 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35814 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35815 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35816 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35817 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35818 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35819 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35820 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35821 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35822 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35823 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35824 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35825 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35826 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35827 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35828 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35829 * sysdeps/ieee754/k_standard.c: Likewise.
35830 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35831 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35832 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35833 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35834 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35835 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35836 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35837 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35838 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35839 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35840 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35841 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35842 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35843 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35844 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35845 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35846 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35847 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35848 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35849 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35850 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35851 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35852 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35853 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35854 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35855 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35856 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35857 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35858 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35859 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35860 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35861 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35862 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35863 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35866 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35867 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35868 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35869 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35870 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35871 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35872 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35873 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35874 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35875 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35876 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35877 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35880 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35881 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35882 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35883 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35884 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35885 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35886 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35887 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35890 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35892 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35893 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35894 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35895 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35896 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35897 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35898 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35899 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35900 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35901 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35902 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35903 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35904 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35906 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35907 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35908 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35909 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35910 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35911 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35912 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35913 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35914 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35915 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35916 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35917 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35918 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35920 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35921 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35922 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35923 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35924 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35925 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35926 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35931 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35933 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35934 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35935 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35936 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35937 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35938 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35939 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35940 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35942 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35943 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35944 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35945 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35946 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35947 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35948 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35949 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35950 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35951 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35952 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35953 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35954 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35955 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35956 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35957 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35958 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35959 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35960 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35961 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35962 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35963 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35964 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35965 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35966 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35967 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35968 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35969 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35970 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35971 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35972 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35973 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35974 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35975 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35976 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35977 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35978 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35979 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35980 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35981 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35982 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35983 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35984 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35985 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35986 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35987 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35989 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35990 * sysdeps/ieee754/s_lib_version.c: Likewise.
35991 * sysdeps/ieee754/s_matherr.c: Likewise.
35992 * sysdeps/ieee754/s_signgam.c: Likewise.
35993 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35994 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35995 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35996 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35997 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35998 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35999 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36000 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36001 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36002 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36003 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36004 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36005 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36006 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36007 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36008 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36009 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36010 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36011 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36012 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36013 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36015 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36017 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36018 * sunrpc/rpc_main.c: Likewise.
36019 * sunrpc/rpc_svcout.c: Likewise.
36021 2012-03-09 David S. Miller <davem@davemloft.net>
36023 * include/math_private.h: New file.
36025 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36027 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36028 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36029 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36030 from <bits/socket_type.h>.
36031 (enum __socket_type): Don't define here.
36032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36034 bits/socket_type.h.
36037 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36038 checking __USE_GNU.
36040 * Makerules ($(inst_includedir)/%.h): New rule.
36041 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36042 (install-others): Remove variable setting.
36043 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36045 2012-03-08 Richard Henderson <rth@twiddle.net>
36047 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36048 from macro to inline function; merge with the
36049 !__LIBC_INTERNAL_MATH_INLINES version.
36050 (__ieee754_sqrtf): Likewise.
36052 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36053 to inline function.
36054 (__rintf, __floor, __floorf): Likewise.
36056 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36057 macro to inline function.
36058 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36060 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36061 not <math/math_private.h>.
36063 2012-03-08 David S. Miller <davem@davemloft.net>
36065 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36067 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36069 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36071 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36073 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36074 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36076 2012-03-08 Ulrich Drepper <drepper@gmail.com>
36078 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36079 be defined individually, they must be defined as a block. Define
36080 S for printing a string instead of hidint the different by using a
36081 macro for adding the 'l'.
36082 * stdio-common/tst-fphex-wide.c: Adjust.
36084 2012-03-07 Marek Polacek <polacek@redhat.com>
36086 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36088 2012-03-08 Marek Polacek <polacek@redhat.com>
36091 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36092 * stdio-common/tst-fphex.c: Define a few macros to make the
36093 test reusable. Use them.
36094 * stdio-common/tst-fphex-wide.c: New file.
36096 2012-03-08 Joseph Myers <joseph@codesourcery.com>
36099 * manual/macros.texi (gnusystems): New macro.
36100 (nongnusystems): Likewise.
36101 (gnulinuxhurdsystems): Likewise.
36102 (gnuhurdsystems): Likewise..
36103 (gnulinuxsystems): Likewise.
36104 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36105 variants of the GNU system, not "GNU system".
36106 * manual/conf.texi: Likewise.
36107 * manual/errno.texi: Likewise. Update example of errno macro
36109 * manual/filesys.texi: Likewise.
36110 (getumask): Document as specific to GNU/Hurd.
36111 * manual/install.texi: Likewise. Reword some references to
36113 * manual/intro.texi: Likewise.
36114 * manual/io.texi: Likewise.
36115 (File Name Portability): Detail which constraints are inapplicable
36116 to all GNU systems and which are only inapplicable to GNU/Hurd.
36117 * manual/job.texi: Likewise.
36118 * manual/llio.texi: Likewise.
36119 (O_NOCTTY): Document as present on GNU/Linux.
36120 * manual/maint.texi: Likewise.
36121 * manual/memory.texi: Likewise.
36122 * manual/pattern.texi: Likewise.
36123 * manual/pipe.texi: Likewise.
36124 * manual/process.texi: Likewise.
36125 * manual/resource.texi: Likewise.
36126 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36128 * manual/setjmp.texi: Likewise.
36129 * manual/signal.texi: Likewise.
36130 * manual/startup.texi: Likewise.
36131 * manual/stdio.texi: Likewise.
36132 * manual/terminal.texi: Likewise.
36133 (ONLCR): Document as POSIX.
36134 (OXTABS): Document availability on GNU/Linux as XTABS.
36135 (ONOEOT): Document availability separately from other bits.
36136 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36137 * manual/time.texi: Likewise.
36138 * manual/users.texi: Likewise.
36139 * INSTALL: Regenerated.
36140 * sysdeps/gnu/errlist.c: Regenerated.
36142 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36143 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36144 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36146 * configure: Regenerated.
36148 2012-03-07 Joseph Myers <joseph@codesourcery.com>
36150 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36151 default includes instead of AC_HEADER_CHECK.
36152 * sysdeps/i386/configure: Regenerated.
36155 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36156 * math/s_cacoshf.c (__cacoshf): Likewise.
36157 * math/s_cacoshl.c (__cacoshl): Likewise.
36158 * math/s_casinh.c (__casinh): Set signs of result from argument.
36159 * math/s_casinhf.c (__casinhf): Likewise.
36160 * math/s_casinhl.c (__casinhl): Likewise.
36161 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36162 (casinh_test): Add more tests.
36163 * sysdeps/i386/fpu/libm-test-ulps: Update.
36164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36166 2012-03-07 Ulrich Drepper <drepper@gmail.com>
36168 * po/zh_TW.po: Update from translation team.
36170 * login/Makefile (distribute): Remove variable.
36171 * catgets/Makefile: Likewise.
36172 * mach/Makefile: Likewise.
36173 * malloc/Makefile: Likewise.
36174 * misc/Makefile: Likewise.
36175 * iconv/Makefile: Likewise.
36176 * nscd/Makefile: Likewise.
36177 * hurd/Makefile: Likewise.
36178 * manual/Makefile: Likewise.
36179 * locale/Makefile: Likewise.
36180 * intl/Makefile: Likewise.
36181 * conform/Makefile: Likewise.
36182 * nss/Makefile: Likewise.
36183 * time/Makefile: Likewise.
36184 * soft-fp/Makefile: Likewise.
36185 * dirent/Makefile: Likewise.
36186 * gmon/Makefile: Likewise.
36187 * po/Makefile: Likewise.
36188 * rt/Makefile: Likewise.
36189 * socket/Makefile: Likewise.
36190 * math/Makefile: Likewise.
36191 * signal/Makefile: Likewise.
36192 * debug/Makefile: Likewise.
36193 * elf/Makefile: Likewise.
36194 * timezone/Makefile: Likewise.
36195 * stdlib/Makefile: Likewise.
36196 * iconvdata/Makefile: Likewise.
36197 * sunrpc/Makefile: Likewise.
36198 * io/Makefile: Likewise.
36199 * argp/Makefile: Likewise.
36200 * inet/Makefile: Likewise.
36201 * hesiod/Makefile: Likewise.
36202 * grp/Makefile: Likewise.
36203 * csu/Makefile: Likewise.
36204 * wctype/Makefile: Likewise.
36205 * crypt/Makefile: Likewise.
36206 * libio/Makefile: Likewise.
36207 * string/Makefile: Likewise.
36208 * nis/Makefile: Likewise.
36209 * resolv/Makefile: Likewise.
36210 * stdio-common/Makefile: Likewise.
36211 * wcsmbs/Makefile: Likewise.
36212 * dlfcn/Makefile: Likewise.
36213 * posix/Makefile: Likewise.
36216 * timezone/Makefile: Don't install timezone files, just the programs
36219 2012-03-06 Ulrich Drepper <drepper@gmail.com>
36221 * nss/databases.def: Add missing gshadow entry.
36223 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36225 2012-03-06 Marek Polacek <polacek@redhat.com>
36228 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36229 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36230 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36231 * stdio-common/tst-long-dbl-fphex.c: New file.
36233 2012-03-06 David S. Miller <davem@davemloft.net>
36235 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36236 (set_obp_int): New function.
36237 (get_obp_int): New function.
36238 (__get_clockfreq_via_dev_openprom): Likewise.
36239 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36240 Avoid unused variable warnings on 'val' and use builtin_expect.
36241 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36243 (INLINE_CLONE_SYSCALL): Likewise.
36245 2012-03-05 David S. Miller <davem@davemloft.net>
36247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36249 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36254 only for |x| >= 40.
36255 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36257 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36259 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36260 Replace gettimeofday with __vdso_gettimeofday.
36262 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36263 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36264 __vdso_clock_gettime and __vdso_getcpu.
36266 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36267 time with __vdso_time.
36269 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36271 * manual/lang.texi (size_t): Note types to which size_t may be
36272 equivalent with the GNU C Library, but do not describe when
36273 differences between them are significant.
36275 2012-03-05 Andreas Jaeger <aj@suse.de>
36277 * sysdeps/i386/fpu/libm-test-ulps: Update.
36279 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36282 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36283 (__ieee754_pow): Save and restore rounding mode and use
36284 round-to-nearest for main computations.
36285 * math/libm-test.inc (pow_test_tonearest): New function.
36286 (pow_test_towardzero): Likewise.
36287 (pow_test_downward): Likewise.
36288 (pow_test_upward): Likewise.
36289 (main): Call the new functions.
36290 * sysdeps/i386/fpu/libm-test-ulps: Update.
36291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36294 * math/libm-test.inc (cosh_test_tonearest): New function.
36295 (cosh_test_towardzero): Likewise.
36296 (cosh_test_downward): Likewise.
36297 (cosh_test_upward): Likewise.
36298 (sinh_test_tonearest): Likewise.
36299 (sinh_test_towardzero): Likewise.
36300 (sinh_test_downward): Likewise.
36301 (sinh_test_upward): Likewise.
36302 (main): Call the new functions.
36303 * sysdeps/i386/fpu/libm-test-ulps: Update.
36304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36306 2012-03-05 Tom de Vries <tom@codesourcery.com>
36308 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36309 default stack guard is set in last bytes.
36310 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36312 2012-03-05 Kees Cook <keescook@chromium.org>
36314 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36317 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36318 possibly allocate from heap instead of stack.
36319 * stdio-common/bug-vfprintf-nargs.c: New file.
36320 * stdio-common/Makefile (tests): Add nargs overflow test.
36322 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36326 2012-03-03 Marek Polacek <polacek@redhat.com>
36328 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36329 * math/math_private.h: Likewise.
36330 * stdlib/tst-strtod.c: Likewise.
36331 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36332 * sysdeps/x86_64/bits/atomic.h: Likewise.
36334 2012-03-02 David S. Miller <davem@davemloft.net>
36336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36340 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36341 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36342 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36343 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36345 2012-03-02 Roland McGrath <roland@hack.frob.com>
36348 * manual/examples/README: New file, says the example source files
36349 can be used under GPL>=2.
36350 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36351 line containing just "*/".
36352 * manual/examples/add.c: Add copyright header (GPL>=2).
36353 * manual/examples/argp-ex1.c: Likewise.
36354 * manual/examples/argp-ex2.c: Likewise.
36355 * manual/examples/argp-ex3.c: Likewise.
36356 * manual/examples/argp-ex4.c: Likewise.
36357 * manual/examples/atexit.c: Likewise.
36358 * manual/examples/db.c: Likewise.
36359 * manual/examples/dir.c: Likewise.
36360 * manual/examples/dir2.c: Likewise.
36361 * manual/examples/execinfo.c: Likewise.
36362 * manual/examples/filecli.c: Likewise.
36363 * manual/examples/filesrv.c: Likewise.
36364 * manual/examples/fmtmsgexpl.c: Likewise.
36365 * manual/examples/genpass.c: Likewise.
36366 * manual/examples/inetcli.c: Likewise.
36367 * manual/examples/inetsrv.c: Likewise.
36368 * manual/examples/isockad.c: Likewise.
36369 * manual/examples/longopt.c: Likewise.
36370 * manual/examples/memopen.c: Likewise.
36371 * manual/examples/memstrm.c: Likewise.
36372 * manual/examples/mkfsock.c: Likewise.
36373 * manual/examples/mkisock.c: Likewise.
36374 * manual/examples/mygetpass.c: Likewise.
36375 * manual/examples/pipe.c: Likewise.
36376 * manual/examples/popen.c: Likewise.
36377 * manual/examples/rprintf.c: Likewise.
36378 * manual/examples/search.c: Likewise.
36379 * manual/examples/select.c: Likewise.
36380 * manual/examples/setjmp.c: Likewise.
36381 * manual/examples/sigh1.c: Likewise.
36382 * manual/examples/sigusr.c: Likewise.
36383 * manual/examples/stpcpy.c: Likewise.
36384 * manual/examples/strdupa.c: Likewise.
36385 * manual/examples/strftim.c: Likewise.
36386 * manual/examples/strncat.c: Likewise.
36387 * manual/examples/subopt.c: Likewise.
36388 * manual/examples/swapcontext.c: Likewise.
36389 * manual/examples/termios.c: Likewise.
36390 * manual/examples/testopt.c: Likewise.
36391 * manual/examples/testpass.c: Likewise.
36392 * manual/examples/timeval_subtract.c: Likewise.
36395 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36397 * manual/timeval_subtract.c.texi: ... here, new file.
36399 2012-03-02 David S. Miller <davem@davemloft.net>
36401 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36403 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36406 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36407 (__sin): Save and restore rounding mode and use round-to-nearest
36408 for all computations.
36409 (__cos): Save and restore rounding mode and use round-to-nearest
36410 for all computations.
36411 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36413 (tan): Save and restore rounding mode and use round-to-nearest for
36415 * math/libm-test.inc (cos_test_tonearest): New function.
36416 (cos_test_towardzero): Likewise.
36417 (cos_test_downward): Likewise.
36418 (cos_test_upward): Likewise.
36419 (sin_test_tonearest): Likewise.
36420 (sin_test_towardzero): Likewise.
36421 (sin_test_downward): Likewise.
36422 (sin_test_upward): Likewise.
36423 (tan_test_tonearest): Likewise.
36424 (tan_test_towardzero): Likewise.
36425 (tan_test_downward): Likewise.
36426 (tan_test_upward): Likewise.
36427 (main): Call the new functions.
36428 * sysdeps/i386/fpu/libm-test-ulps: Update.
36429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36432 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36433 small n, then large n, before computing and testing k+n.
36434 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36435 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36439 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36440 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36441 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36442 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36443 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36444 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36445 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36446 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36447 * math/libm-test.inc (scalbn_test): Add more tests.
36448 (scalbln_test): Likewise.
36450 * manual/filesys.texi (mode_t): Describe constraints on size and
36451 signedness, not exact equivalence to a particular type.
36453 (ino64_t): Likewise.
36455 (nlink_t): Likewise.
36456 (blkcnt_t): Likewise.
36457 (blkcnt64_t): Likewise.
36458 * manual/llio.texi (off_t): Likewise.
36461 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36462 (__ieee754_exp): Save and restore rounding mode and use
36463 round-to-nearest for all computations.
36464 * math/libm-test.inc (exp_test_tonearest): New function.
36465 (exp_test_towardzero): Likewise.
36466 (exp_test_downward): Likewise.
36467 (exp_test_upward): Likewise.
36468 (main): Call the new functions.
36469 * sysdeps/i386/fpu/libm-test-ulps: Update.
36470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36472 2012-03-01 Chris Demetriou <cgd@google.com>
36474 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36475 have predictable order.
36477 2012-03-01 David S. Miller <davem@davemloft.net>
36479 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36481 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36482 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36483 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36484 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36486 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36487 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36488 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36490 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36491 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36492 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36493 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36494 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36498 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36499 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36500 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36502 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36503 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36504 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36505 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36506 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36507 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36508 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36509 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36510 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36511 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36512 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36513 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36515 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36516 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36518 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36519 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36520 * sysdeps/sparc/elf/configure: Regenerated.
36522 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36524 * configure.in (AS, LD): Require binutils 2.20 or later.
36525 * configure: Regenerated.
36526 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36527 as required minimum version.
36528 * INSTALL: Regenerated.
36532 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36533 before squaring exponent.
36534 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36535 bottom long double and 27 bits of top long double before squaring
36537 * math/libm-test.inc (erfc_test): Add more tests.
36538 * sysdeps/i386/fpu/libm-test-ulps: Update.
36539 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36542 2012-03-01 Kai Tietz <ktietz@redhat.com>
36544 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36545 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36546 containing bit-fields.
36547 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36548 * soft-fp/single.h (_FP_UNION_S): Likewise.
36549 * soft-fp/double.h (_FP_UNION_D): Likewise.
36551 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36554 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36555 not include ../strcmp.S.
36556 [USE_AS_STRNCASECMP_L]: Likewise.
36557 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36558 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36559 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36560 (__strncasecmp_l_ia32): Define as alias to
36561 __strncasecmp_l_nonascii.
36564 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36565 * sysdeps/i386/fpu/libm-test-ulps: Update.
36566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36568 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36571 2012-02-29 Jeff Law <law@redhat.com>
36573 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36574 out of bounds read.
36576 2012-02-29 Marek Polacek <polacek@redhat.com>
36579 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36580 * elf/Makefile: Add rules to run tst-unused-dep.out.
36582 2012-02-28 David S. Miller <davem@davemloft.net>
36584 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36585 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36586 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36587 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36588 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36589 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36591 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36593 * math/libm-test.inc (llround_test): Move one test from
36594 lround_test. Use TEST_f_L in moved test.
36595 (lround_test): Move misplaced test to llround_test. Add testcase
36598 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36600 * sysdeps/x86_64/fpu/e_expf.S: New file.
36601 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36603 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36606 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36607 of remain_len that may cause incomplete multi-byte character and
36609 * posix/bug-regex33.c: New file.
36610 * posix/Makefile (tests): Add bug-regex33.
36612 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36614 * manual/macros.texi: New file.
36615 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36616 * manual/libc.texinfo: Include macros.texi.
36617 * manual/creatute.texi: Likewise.
36618 * manual/install.texi: Likewise.
36619 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36620 @glibcadj{} in references to the GNU C Library.
36621 * manual/charset.texi: Likewise.
36622 * manual/conf.texi: Likewise.
36623 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36624 when not using those macros.
36625 * manual/creature.texi: Likewise.
36626 * manual/crypt.texi: Likewise.
36627 * manual/errno.texi: Likewise.
36628 * manual/filesys.texi: Likewise.
36629 * manual/header.texi: Likewise.
36630 * manual/install.texi: Likewise.
36631 * manual/intro.texi: Likewise.
36632 * manual/io.texi: Likewise.
36633 * manual/job.texi: Likewise.
36634 * manual/lang.texi: Likewise.
36635 * manual/libc.texiinfo: Likewise.
36636 * manual/llio.texi: Likewise.
36637 * manual/locale.texi: Likewise.
36638 * manual/maint.texi: Likewise.
36639 * manual/math.texi: Likewise.
36640 * manual/memory.texi: Likewise.
36641 * manual/message.texi: Likewise.
36642 * manual/nss.texi: Likewise.
36643 * manual/pattern.texi: Likewise.
36644 * manual/process.texi: Likewise.
36645 * manual/resource.texi: Likewise.
36646 * manual/search.texi: Likewise.
36647 * manual/setjmp.texi: Likewise.
36648 * manual/signal.texi: Likewise.
36649 * manual/socket.texi: Likewise.
36650 * manual/startup.texi: Likewise.
36651 * manual/stdio.texi: Likewise.
36652 * manual/string.texi: Likewise.
36653 * manual/sysinfo.texi: Likewise.
36654 * manual/syslog.texi: Likewise.
36655 * manual/terminal.texi: Likewise.
36656 * manual/time.texi: Likewise.
36657 * manual/users.texi: Likewise.
36658 * INSTALL: Regenerated.
36659 * NOTES: Regenerated.
36660 * sysdeps/gnu/errlist.c: Regenerated.
36662 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36664 * include/dirent.h: Include <dirstream.h> before
36667 2012-02-28 David S. Miller <davem@davemloft.net>
36669 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36670 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36671 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36672 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36674 2012-02-27 David S. Miller <davem@davemloft.net>
36676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36678 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36679 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36682 frame pointer instead of stack pointer relative arg slot.
36683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36684 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36685 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36687 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36690 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36692 2012-02-27 David S. Miller <davem@davemloft.net>
36694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36698 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36699 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36700 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36701 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36703 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36705 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36706 later. Allow versions 5-9.
36707 * configure: Regenerated.
36708 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36709 required minimum version and 4.6 as recommended version. Do not
36710 mention bugs in GCC 2.7 and 2.8.
36711 * INSTALL: Regenerated.
36713 2012-02-27 David S. Miller <davem@davemloft.net>
36715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36719 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36720 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36721 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36722 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36724 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36725 manipulate bits before adding and subtracting TWO112[sx].
36726 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36728 2012-02-27 Roland McGrath <roland@hack.frob.com>
36731 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36732 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36733 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36734 being in POSIX, because they are in 1003.1-2008.
36736 * rt/tst-aio.c: Include <fcntl.h>.
36737 * rt/tst-aio7.c: Likewise.
36738 * rt/tst-aio64.c: Likewise.
36740 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36742 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36744 * manual/install.texi (--with-headers): Describe headers as
36745 interface headers, not private headers.
36746 (Specific advice for GNU/Linux systems): Describe use of headers
36747 from "make headers_install", not private headers from older
36749 * INSTALL: Regenerated.
36750 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36752 * sysdeps/unix/sysv/linux/configure: Regenerated.
36754 * manual/llio.texi (fclean): Remove documentation.
36756 * manual/Makefile (libc-texi-generated): New variable. Include
36758 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36759 $(libc-texi-generated), not duplicated list of files.
36760 (version.texi, stamp-version): New rules.
36761 (realclean): Remove $(libc-texi-generated), not individual files
36762 from that list. Do not remove dir-add.texinfo.
36763 * manual/libc.texinfo: Comment out uses of edition numbers and
36764 references to printed manual. Remove last-updated dates.
36765 (EDITION): Comment out.
36767 (VERSION, UPDATED): Remove.
36768 (version.texi): Include.
36770 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36772 * sysdeps/posix/spawni.c: Include <signal.h>.
36773 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36774 * sysdeps/pthread/aio_fsync.c: Likewise.
36776 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36778 * conform/Makefile (tests): Run only when not cross-compiling and
36779 when fast-check is not defined.
36781 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36782 * conform/data/limits.h-data: Fixes for POSIX2008.
36783 * conform/run-conformtest.sh: Run all tests.
36784 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36786 * include/bits/dlfcn.h: Likewise.
36787 * include/langinfo.h: Likewise.
36788 * include/monetary.h: Likewise.
36789 * include/sys/poll.h: Likewise.
36791 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36793 * posix/spawn.h: Define __need_sigset_t.
36794 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36795 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36796 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36797 to get sigevent_t only.
36798 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36799 only for __USE_GNU.
36800 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36801 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36802 process_vm_writev only for __USE_GNU.
36803 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36805 * conform/Makefile: For now ignore errors from run-conformtest.
36806 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36807 POSIX to avoid namespace pollution. Don't prepend headers.
36808 * conform/data/aio.h-data: Fixes for POSIX testing.
36809 * conform/data/fcntl.h-data: Likewise.
36810 * conform/data/glob.h-data: Likewise.
36811 * conform/data/grp.h-data: Likewise.
36812 * conform/data/pthread.h-data: Likewise.
36813 * conform/data/pwd.h-data: Likewise.
36814 * conform/data/signal.h-data: Likewise.
36815 * conform/data/spawn.h-data: Likewise.
36816 * conform/data/stdio.h-data: Likewise.
36817 * conform/data/stdlib.h-data: Likewise.
36818 * conform/data/stropts.h-data: Likewise.
36819 * conform/data/sys/mman.h-data: Likewise.
36820 * conform/data/sys/stat.h-data: Likewise.
36821 * conform/data/sys/types.h-data: Likewise.
36822 * conform/data/sys/wait.h-data: Likewise.
36823 * conform/data/time.h-data: Likewise.
36824 * conform/data/unistd.h-data: Likewise.
36825 * conform/data/utime.h-data: Likewise.
36827 * io/sys/stat.h: fchmod was always in POSIX.
36828 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36829 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36830 * rt/aio.h: Define __need_timespec before including <time.h>.
36831 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36832 struct. Add forward declaration of pthread_attr_t and use it in
36834 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36835 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36836 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36837 always remove CLK_TCK definition.
36839 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36841 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36843 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36845 * conform/run-conformtest.sh: New file.
36846 * conform/Makefile: Run run-conformtest for tests.
36847 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36850 * conform/data/uchar.h-data: New file.
36851 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36852 * conform/data/arpa/inet.h-data: Likewise.
36853 * conform/data/assert.h-data: Likewise.
36854 * conform/data/complex.h-data: Likewise.
36855 * conform/data/cpio.h-data: Likewise.
36856 * conform/data/ctype.h-data: Likewise.
36857 * conform/data/dirent.h-data: Likewise.
36858 * conform/data/dlfcn.h-data: Likewise.
36859 * conform/data/errno.h-data: Likewise.
36860 * conform/data/fcntl.h-data: Likewise.
36861 * conform/data/float.h-data: Likewise.
36862 * conform/data/fmtmsg.h-data: Likewise.
36863 * conform/data/fnmatch.h-data: Likewise.
36864 * conform/data/ftw.h-data: Likewise.
36865 * conform/data/glob.h-data: Likewise.
36866 * conform/data/grp.h-data: Likewise.
36867 * conform/data/iconv.h-data: Likewise.
36868 * conform/data/inttypes.h-data: Likewise.
36869 * conform/data/langinfo.h-data: Likewise.
36870 * conform/data/libgen.h-data: Likewise.
36871 * conform/data/limits.h-data: Likewise.
36872 * conform/data/locale.h-data: Likewise.
36873 * conform/data/math.h-data: Likewise.
36874 * conform/data/monetary.h-data: Likewise.
36875 * conform/data/mqueue.h-data: Likewise.
36876 * conform/data/ndbm.h-data: Likewise.
36877 * conform/data/net/if.h-data: Likewise.
36878 * conform/data/netdb.h-data: Likewise.
36879 * conform/data/netinet/in.h-data: Likewise.
36880 * conform/data/nl_types.h-data: Likewise.
36881 * conform/data/poll.h-data: Likewise.
36882 * conform/data/pthread.h-data: Likewise.
36883 * conform/data/pwd.h-data: Likewise.
36884 * conform/data/regex.h-data: Likewise.
36885 * conform/data/sched.h-data: Likewise.
36886 * conform/data/search.h-data: Likewise.
36887 * conform/data/semaphore.h-data: Likewise.
36888 * conform/data/setjmp.h-data: Likewise.
36889 * conform/data/signal.h-data: Likewise.
36890 * conform/data/spawn.h-data: Likewise.
36891 * conform/data/stdarg.h-data: Likewise.
36892 * conform/data/stdio.h-data: Likewise.
36893 * conform/data/stdlib.h-data: Likewise.
36894 * conform/data/string.h-data: Likewise.
36895 * conform/data/strings.h-data: Likewise.
36896 * conform/data/stropts.h-data: Likewise.
36897 * conform/data/sys/ipc.h-data: Likewise.
36898 * conform/data/sys/mman.h-data: Likewise.
36899 * conform/data/sys/msg.h-data: Likewise.
36900 * conform/data/sys/resource.h-data: Likewise.
36901 * conform/data/sys/select.h-data: Likewise.
36902 * conform/data/sys/sem.h-data: Likewise.
36903 * conform/data/sys/shm.h-data: Likewise.
36904 * conform/data/sys/socket.h-data: Likewise.
36905 * conform/data/sys/stat.h-data: Likewise.
36906 * conform/data/sys/statvfs.h-data: Likewise.
36907 * conform/data/sys/time.h-data: Likewise.
36908 * conform/data/sys/timeb.h-data: Likewise.
36909 * conform/data/sys/times.h-data: Likewise.
36910 * conform/data/sys/types.h-data: Likewise.
36911 * conform/data/sys/uio.h-data: Likewise.
36912 * conform/data/sys/un.h-data: Likewise.
36913 * conform/data/sys/utsname.h-data: Likewise.
36914 * conform/data/sys/wait.h-data: Likewise.
36915 * conform/data/syslog.h-data: Likewise.
36916 * conform/data/tar.h-data: Likewise.
36917 * conform/data/termios.h-data: Likewise.
36918 * conform/data/utime.h-data: Likewise.
36919 * conform/data/utmpx.h-data: Likewise.
36920 * conform/data/varargs.h-data: Likewise.
36921 * conform/data/wchar.h-data: Likewise.
36922 * conform/data/wctype.h-data: Likewise.
36923 * conform/data/wordexp.h-data: Likewise.
36925 * include/stropts.h: New file.
36926 * include/uchar.h: New file.
36927 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36928 * include/assert.h: Likewise.
36929 * include/ctype.h: Likewise.
36930 * include/dirent.h: Likewise.
36931 * include/dlfcn.h: Likewise.
36932 * include/fcntl.h: Likewise.
36933 * include/fnmatch.h: Likewise.
36934 * include/glob.h: Likewise.
36935 * include/grp.h: Likewise.
36936 * include/libio.h: Likewise.
36937 * include/locale.h: Likewise.
36938 * include/math.h: Likewise.
36939 * include/net/if.h: Likewise.
36940 * include/netdb.h: Likewise.
36941 * include/netinet/in.h: Likewise.
36942 * include/pthread.h: Likewise.
36943 * include/pwd.h: Likewise.
36944 * include/regex.h: Likewise.
36945 * include/sched.h: Likewise.
36946 * include/search.h: Likewise.
36947 * include/setjmp.h: Likewise.
36948 * include/signal.h: Likewise.
36949 * include/stdio.h: Likewise.
36950 * include/stdlib.h: Likewise.
36951 * include/string.h: Likewise.
36952 * include/sys/cdefs.h: Likewise.
36953 * include/sys/mman.h: Likewise.
36954 * include/sys/msg.h: Likewise.
36955 * include/sys/resource.h: Likewise.
36956 * include/sys/select.h: Likewise.
36957 * include/sys/socket.h: Likewise.
36958 * include/sys/stat.h: Likewise.
36959 * include/sys/statvfs.h: Likewise.
36960 * include/sys/time.h: Likewise.
36961 * include/sys/times.h: Likewise.
36962 * include/sys/uio.h: Likewise.
36963 * include/sys/utsname.h: Likewise.
36964 * include/sys/wait.h: Likewise.
36965 * include/termios.h: Likewise.
36966 * include/time.h: Likewise.
36967 * include/ulimit.h: Likewise.
36968 * include/unistd.h: Likewise.
36969 * include/utime.h: Likewise.
36970 * include/wchar.h: Likewise.
36971 * include/wctype.h: Likewise.
36972 * include/wordexp.h: Likewise.
36974 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36976 * time/time.h: TIME_UTC must be a macro.
36977 Make timespec_get available for ISO C11 only as well.
36979 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36981 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36982 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36984 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36986 * configure.in: Use -o not -a in test for unsupported multi-arch.
36988 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36990 * manual/texinfo.tex: Update to version 2012-01-19.16.
36992 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36994 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36996 2012-02-24 Roland McGrath <roland@hack.frob.com>
36999 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37000 * manual/fdl-1.3.texi: New file.
37001 * manual/fdl-1.1.texi: File removed.
37004 * manual/libc.texinfo (FDL_VERSION): New @set.
37005 Use it for mention of FDL in cover text.
37006 (Documentation License): Use it in @include file name.
37008 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37009 Roland McGrath <roland@hack.frob.com>
37012 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37013 (not LONG_LONG_MAX and LONG_LONG_MIN.
37014 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37015 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37017 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37019 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37023 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37024 manipulate bits before adding and subtracting TWO23[sx].
37025 * math/libm-test.inc (nearbyint_test): Add more tests.
37027 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37030 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37031 bits before adding and subtracting TWO23[sx].
37032 * math/libm-test.inc (rint_test): Add more tests.
37033 (rint_test_tonearest): Likewise.
37034 (rint_test_towardzero): Likewise.
37035 (rint_test_downward): Likewise.
37036 (rint_test_upward: Likewise.
37038 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37041 * include/stdc-predef.h: New file. Extracted from features.h.
37042 * include/features.h: Include stdc-predef.h.
37043 * Makefile (headers): Add stdc-predef.h.
37044 * CONFORMANCE (Compiler limitations): Update.
37046 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37048 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37050 2012-02-21 David S. Miller <davem@davemloft.net>
37052 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37053 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37055 2012-02-20 David S. Miller <davem@davemloft.net>
37057 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37058 using a normal save/restore sequence, rather than allocating a
37059 dummy stack frame just to store a frame pointer and restore.
37060 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37062 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37064 * manual/install.texi: Fix stray word in line-wrapped comment.
37066 2012-02-20 David S. Miller <davem@davemloft.net>
37068 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37069 both binutils and gcc support GOTDATA.
37071 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37072 "rd %pc" in the PIC register setup sequences.
37074 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37075 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37076 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37077 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37078 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37079 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37080 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37081 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37083 (SYSCALL_ERROR_HANDLER): Likewise.
37084 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37085 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37087 (SYSCALL_ERROR_HANDLER): Likewise.
37089 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37090 (HAVE_GCC_GOTDATA): New.
37091 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37092 relocation support in both binutils and gcc.
37093 * sysdeps/sparc/elf/configure: Regenerate.
37095 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37096 * sysdeps/sparc/sparc32/elf/configure: Delete.
37097 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37098 * sysdeps/sparc/sparc64/elf/configure: Delete.
37099 * sysdeps/sparc/elf/configure.in: New file.
37100 * sysdeps/sparc/elf/configure: Generate.
37102 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37103 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37104 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37105 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37106 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37108 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37110 * manual/install.texi: Do not mention specific glibc version
37112 * manual/libc.texinfo (VERSION, UPDATED): Update.
37113 (@copying): Use @copyright{} and range of years.
37115 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37118 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37119 [crti.S not in sysdirs] (generated): Do not append.
37120 [crti.S not in sysdirs] (omit-deps): Likewise.
37121 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37122 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37123 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37124 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37125 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37127 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37128 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37129 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37130 * csu/defs.awk: Remove file.
37131 * sysdeps/generic/initfini.c: Likewise.
37132 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37134 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37137 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37139 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37140 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37141 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37142 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37143 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37144 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37146 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37147 (__EPOLL_PACKED): Define to empty if not defined by
37149 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37153 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37155 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37156 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37157 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37158 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37160 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37164 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37166 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37168 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37169 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37170 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37173 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37175 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37176 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37178 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37180 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37181 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37183 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37185 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37188 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37190 * math/w_acos.c: Use non-signaling floating-point comparisons.
37191 * math/w_acosf.c: Likewise.
37192 * math/w_acosh.c: Likewise.
37193 * math/w_acoshf.c: Likewise.
37194 * math/w_acoshl.c: Likewise.
37195 * math/w_acosl.c: Likewise.
37196 * math/w_asin.c: Likewise.
37197 * math/w_asinf.c: Likewise.
37198 * math/w_asinl.c: Likewise.
37199 * math/w_atanh.c: Likewise.
37200 * math/w_atanhf.c: Likewise.
37201 * math/w_atanhl.c: Likewise.
37202 * math/w_exp2.c: Likewise.
37203 * math/w_exp2f.c: Likewise.
37204 * math/w_exp2l.c: Likewise.
37205 * math/w_j0.c: Likewise.
37206 * math/w_j0f.c: Likewise.
37207 * math/w_j0l.c: Likewise.
37208 * math/w_j1.c: Likewise.
37209 * math/w_j1f.c: Likewise.
37210 * math/w_j1l.c: Likewise.
37211 * math/w_jn.c: Likewise.
37212 * math/w_jnf.c: Likewise.
37213 * math/w_log.c: Likewise.
37214 * math/w_log10.c: Likewise.
37215 * math/w_log10f.c: Likewise.
37216 * math/w_log10l.c: Likewise.
37217 * math/w_log2.c: Likewise.
37218 * math/w_log2f.c: Likewise.
37219 * math/w_log2l.c: Likewise.
37220 * math/w_logf.c: Likewise.
37221 * math/w_logl.c: Likewise.
37222 * math/w_sqrt.c: Likewise.
37223 * math/w_sqrtf.c: Likewise.
37224 * math/w_sqrtl.c: Likewise.
37225 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37226 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37227 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37228 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37229 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37231 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37234 * manual/string.texi (strnlen): Use correct parameter name in
37235 equivalent expression.
37237 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37240 * manual/users.texi (seteuid): Consistently use neweuid for
37243 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37246 * manual/nss.texi (Services in the NSS configuration): Correct
37247 list of services in example configuration file.
37249 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37252 * manual/arith.texi: Remove statements about negative zero
37253 behaving identically to zero.
37255 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37258 * manual/install.texi: Do not document upgrading from libc5.
37260 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37263 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37265 2012-02-18 David S. Miller <davem@davemloft.net>
37267 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37268 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37269 %o7 across the call.
37270 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37273 SETUP_PIC_REG_LEAF.
37274 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37275 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37276 * sysdeps/sparc/crtn.S: Likewise.
37278 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37280 * aout/Makefile: Remove.
37282 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37285 * manual/examples/argp-ex1.c (main): Format definition in GNU
37287 * manual/examples/argp-ex2.c (main): Likewise.
37288 * manual/examples/argp-ex3.c (main): Likewise.
37289 * manual/examples/argp-ex4.c (main): Likewise.
37290 * manual/examples/longopt.c (main): Use new-style prototype
37292 * manual/examples/strncat.c (main): Specify return type and use
37293 (void) for arguments.
37294 * manual/examples/subopt.c (main): Use char **argv argument.
37296 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37299 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37302 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37305 * manual/string.texi (strchr): Change when strchrnul is
37308 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37311 * manual/locale.texi (setlocale): Document LOCPATH.
37313 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37316 * manual/process.texi (execle): Move @dots{} before last argument.
37318 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37321 * manual/charset.texi (Generic Charset Conversion): Fix typo
37322 (LC_TYPE -> LC_CTYPE).
37324 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37327 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37328 (scalbnf): Likewise.
37329 (scalbnl): Likewise.
37330 (scalbln): Likewise.
37331 (scalblnf): Likewise.
37332 (scalblnl): Likewise.
37333 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37334 (vwarnx): Likewise.
37337 * manual/filesys.texi (telldir): Use braces around return type.
37338 * manual/llio.texi (mmap): Add space after comma.
37339 (mmap64): Likewise.
37340 * manual/math.texi (jn): Use @var{} on parameter names.
37346 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37348 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37350 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37351 (sched_get_priority_max): Likewise.
37352 * manual/signal.texi (sigvec): Add space after comma.
37353 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37355 (if_indextoname): Likewise.
37356 (if_freenameindex): Likewise.
37357 (sendto): Use ',' instead of '.' in prototype.
37358 * manual/startup.texi (syscall): Use @dots{} instead of literal
37360 * manual/stdio.texi (__fpending): Separate initial words of
37361 paragraph from @deftypefun line.
37362 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37364 (vsyslog): Use @var{} on parameter names.
37365 * manual/terminal.texi (stty): Use @var{} on parameter names.
37366 * manual/users.texi (getutmp): Use @var{} on parameter names.
37367 (getutmpx): Likewise.
37369 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37372 * manual/stdio.texi (fopen): Fix typos in description of
37375 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37378 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37379 get clock_id definition.
37381 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37384 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37385 (madvise): Cast every argument to void on its own.
37387 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37390 * manual/startup.texi (Exit Status): Fix typo.
37392 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37395 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37396 * manual/examples/argp-ex2.c: Likewise.
37397 * manual/examples/argp-ex3.c: Likewise.
37399 2012-02-16 Richard Henderson <rth@redhat.com>
37401 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37402 * sysdeps/s390/s390-32/initfini.c: Remove.
37403 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37404 * sysdeps/s390/s390-64/initfini.c: Remove.
37406 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37408 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37409 compiler output for sysdeps/generic/initfini.c.
37410 * sysdeps/sh/elf/initfini.c: Remove file.
37412 2012-02-16 David S. Miller <davem@davemloft.net>
37415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37417 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37418 * sysdeps/sparc/crti.S: New file.
37419 * sysdeps/sparc/crtn.S: New file.
37420 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37421 * sysdeps/sparc/sparc64/Makefile: Likewise.
37423 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37426 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37428 2012-02-15 Roland McGrath <roland@hack.frob.com>
37431 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37433 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37434 (write, read, close): Likewise.
37435 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37437 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37439 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37440 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37441 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37442 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37444 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37448 2012-02-14 Marek Polacek <polacek@redhat.com>
37450 * sysdeps/x86_64/crti.S: New file.
37451 * sysdeps/x86_64/crtn.S: New file.
37452 * sysdeps/x86_64/elf/initfini.c: Remove file.
37454 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37456 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37457 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37458 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37459 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37461 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37465 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37467 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37468 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37469 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37470 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37472 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37476 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37478 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37479 __feraiseexcept instead of feraiseexcept.
37481 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37482 nanosleep invocations.
37483 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37484 strings, and add error checking for a nanosleep invocations.
37486 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37488 Replace FSF snail mail address with URLs, as per GNU coding standards.
37489 Most of the snail mail addresses were wrong anyway, and omitting
37490 them makes the source code easier to maintain. Almost all of the
37491 changes are to license notices and to locale LC_IDENTIFICATION
37492 addresses, except for this one:
37493 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37494 not its snail mail address.
37496 2012-02-09 Richard Henderson <rth@twiddle.net>
37498 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37499 of kernel-features.h.
37501 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37503 2012-02-08 Marek Polacek <polacek@redhat.com>
37505 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37506 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37507 * sysdeps/gnu/_G_config.h: Likewise.
37508 * sysdeps/generic/_G_config.h: Likewise.
37510 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37512 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37516 * sysdeps/powerpc/powerpc32/crti.S: New file.
37517 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37518 * sysdeps/powerpc/powerpc64/crti.S: New file.
37519 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37521 * Makeconfig (have-initfini): Don't set.
37522 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37523 * configure.in (nopic_initfini): Don't substitute.
37524 * config.h.in (HAVE_INITFINI): Don't #undef.
37525 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37526 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37528 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37530 Support crti.S and crtn.S provided directly by architectures.
37531 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37532 [crti.S in sysdirs] (omit-deps): Likewise.
37533 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37534 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37535 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37536 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37537 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37538 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37539 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37540 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37541 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37542 compiler output for sysdeps/generic/initfini.c.
37543 * sysdeps/i386/elf/Makefile: Remove file.
37544 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37546 2012-02-07 Marek Polacek <polacek@redhat.com>
37548 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37549 * sysdeps/gnu/_G_config.h: Likewise.
37550 * sysdeps/mach/hurd/_G_config.h: Likewise.
37552 2012-02-07 Marek Polacek <polacek@redhat.com>
37554 * math/Makefile (tests): Add tst-CMPLX2.
37555 * math/tst-CMPLX2.c: New file.
37557 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37559 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37561 * math/libm-test.inc (jn_test): Add missing L suffix.
37563 2012-02-06 Marek Polacek <polacek@redhat.com>
37565 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37566 * sysdeps/i386/fpu/e_powf.S: Likewise.
37567 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37568 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37569 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37570 * sysdeps/i386/fpu/e_pow.S: Likewise.
37571 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37572 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37573 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37574 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37575 * sysdeps/i386/fpu/e_log2.S: Likewise.
37576 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37577 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37578 * sysdeps/i386/fpu/e_powl.S: Likewise.
37579 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37580 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37581 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37582 * sysdeps/i386/fpu/e_logl.S: Likewise.
37583 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37584 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37585 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37586 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37587 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37588 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37589 * sysdeps/i386/fpu/e_log.S: Likewise.
37590 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37591 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37592 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37593 * sysdeps/i386/fpu/e_logf.S: Likewise.
37594 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37595 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37596 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37597 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37598 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37599 * sysdeps/i386/fpu/e_log10.S: Likewise.
37600 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37601 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37602 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37603 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37604 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37605 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37606 * sysdeps/i386/asm-syntax.h: Likewise.
37607 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37608 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37609 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37610 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37611 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37612 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37613 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37614 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37615 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37616 * sysdeps/powerpc/sysdep.h: Likewise.
37617 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37618 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37620 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37623 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37625 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37627 * sysdeps/i386/sysdep.h: Include <features.h>.
37628 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37631 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37633 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37635 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37638 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37640 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37641 (SETUP_PIC_REG): Use GET_PC_THUNK.
37642 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37645 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37647 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37648 for non-PIC compilation.
37649 (SETUP_PIC_REG): Add .p2align directive.
37650 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37651 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37652 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37653 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37654 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37655 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37657 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37658 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37659 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37660 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37661 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37662 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37663 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37664 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37665 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37666 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37667 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37668 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37669 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37670 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37671 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37672 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37673 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37674 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37676 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37677 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37678 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37679 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37680 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37681 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37682 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37683 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37684 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37685 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37686 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37687 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37688 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37689 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37690 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37692 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37694 * math/tst-CMPLX.c: Include <stdio.h>.
37696 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37698 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37700 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37701 * sysdeps/sparc/bits/mathdef.h: Likewise.
37703 2012-01-31 Marek Polacek <polacek@redhat.com>
37705 * libio/libio.h: Don't define _PARAMS.
37706 * locale/programs/config.h: Don't define PARAMS.
37707 * stdlib/strtol_l.c: Likewise.
37708 (__strtol_l): Remove PARAMS from the prototype.
37710 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37712 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37713 names. Just use the correct names. Remove unnecessary wrapper
37715 * malloc/arena.c: Likewise.
37716 * malloc/hooks.c: Likewise.
37718 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37719 ARENA_TEST says not to. Simplify test for creation of a new arena.
37720 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37722 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37724 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37726 (update_get_addr): New function.
37727 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37728 GET_ADDR_MODULE parameter.
37730 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37732 * crypt/cert.c: Remove __STDC__ conditionals.
37733 * crypt/crypt-entry.c: Likewise.
37734 * crypt/crypt_util.c: Likewise.
37735 * libio/filedoalloc.c: Likewise.
37736 * libio/fileops.c: Likewise.
37737 * libio/genops.c: Likewise.
37738 * libio/iofclose.c: Likewise.
37739 * libio/iofdopen.c: Likewise.
37740 * libio/iofopen.c: Likewise.
37741 * libio/iofopen64.c: Likewise.
37742 * libio/iogetdelim.c: Likewise.
37743 * libio/iopopen.c: Likewise.
37744 * libio/obprintf.c: Likewise.
37745 * libio/oldfileops.c: Likewise.
37746 * libio/oldiofclose.c: Likewise.
37747 * libio/oldiofdopen.c: Likewise.
37748 * libio/oldiofopen.c: Likewise.
37749 * libio/oldiopopen.c: Likewise.
37750 * libio/wfiledoalloc.c: Likewise.
37751 * libio/wgenops.c: Likewise.
37752 * locale/programs/xmalloc.c: Likewise.
37753 * misc/syslog.c: Likewise.
37754 * stdio-common/xbug.c: Likewise.
37755 * string/memchr.c: Likewise.
37756 * string/memcmp.c: Likewise.
37757 * string/memrchr.c: Likewise.
37758 * string/rawmemchr.c: Likewise.
37759 * sysdeps/posix/getcwd.c: Likewise.
37760 * time/strftime_l.c: Likewise.
37762 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37764 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37765 * config.make.in (config-cflags-sse2avx): Define.
37766 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37769 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37771 * scripts/config.guess: Update from upstream config git repository.
37772 * scripts/config.sub: Likewise.
37774 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37776 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37778 (R_TILEPRO_*, R_TILEGX_*): New macros.
37780 * scripts/firstversions.awk: Fix bug in version range handling.
37782 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37784 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37786 * include/sys/epoll.h: New file.
37787 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37790 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37792 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37793 Avoid unnecessary __WORDSIZE == 64 test.
37794 (fmaxf): Use VEX format if possible.
37799 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37800 * math/math_private.h: Remove libc_fegetround* and
37802 * sysdeps/i386/configure.in: Check for -msse2avx.
37803 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37804 also if SSE2AVX is defined.
37805 Remove libc_fegetround* and libc_fesetround*.
37806 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37807 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37808 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37810 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37811 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37812 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37814 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37816 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37818 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37820 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37822 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37824 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37827 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37829 * Makeconfig (libm): Define.
37830 * elf/Makefile: Add rules to build and run tst-relsort1.
37831 * elf/tst-relsort1.c: New file.
37832 * elf/tst-relsort1mod1.c: New file.
37833 * elf/tst-relsort1mod2.c: New file.
37835 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37837 * math/s_ldexp.c: Remove __STDC__ conditionals.
37838 * math/s_ldexpf.c: Likewise.
37839 * math/s_ldexpl.c: Likewise.
37840 * math/s_nextafter.c: Likewise.
37841 * math/s_nexttowardf.c: Likewise.
37842 * math/s_significand.c: Likewise.
37843 * math/s_significandf.c: Likewise.
37844 * math/s_significandl.c: Likewise.
37845 * math/w_jnl.c: Likewise.
37846 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37847 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37848 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37849 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37850 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37852 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37853 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37854 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37855 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37856 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37857 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37858 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37859 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37860 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37861 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37862 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37863 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37865 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37866 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37867 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37868 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37869 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37870 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37871 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37872 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37873 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37874 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37875 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37876 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37877 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37878 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37879 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37880 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37881 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37882 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37883 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37884 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37885 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37886 * sysdeps/ieee754/k_standard.c: Likewise.
37887 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37888 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37889 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37890 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37891 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37892 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37893 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37894 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37895 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37896 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37897 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37898 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37899 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37900 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37901 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37902 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37903 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37904 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37905 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37906 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37907 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37908 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37909 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37910 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37911 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37912 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37913 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37914 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37915 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37916 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37917 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37918 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37919 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37920 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37921 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37922 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37923 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37924 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37925 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37926 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37927 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37928 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37929 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37930 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37931 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37932 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37933 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37934 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37935 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37936 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37937 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37938 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37939 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37940 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37941 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37942 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37943 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37944 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37945 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37946 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37947 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37948 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37949 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37950 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37951 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37952 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37953 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37954 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37955 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37956 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37957 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37958 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37959 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37960 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37961 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37962 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37963 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37964 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37965 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37966 * sysdeps/ieee754/s_matherr.c: Likewise.
37967 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37968 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37969 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37972 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37974 * crypt/md5.h: Remove __STDC__ conditionals.
37975 * libio/libioP.h: Likewise.
37976 * locale/programs/config.h: Likewise.
37977 * sysdeps/generic/sysdep.h: Likewise.
37978 * sysdeps/i386/asm-syntax.h: Likewise.
37979 * sysdeps/s390/asm-syntax.h: Likewise.
37980 * sysdeps/unix/sysdep.h: Likewise.
37981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37984 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37986 * libio/libio.h: Remove __STDC__ conditionals.
37987 * malloc/obstack.h: Likewise.
37988 * math/complex.h: Likewise.
37989 * math/math.h: Likewise.
37990 * sysdeps/generic/_G_config.h: Likewise.
37991 * sysdeps/gnu/_G_config.h: Likewise.
37992 * sysdeps/mach/hurd/_G_config.h: Likewise.
37993 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37994 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37995 * sysdeps/sparc/bits/mathdef.h: Likewise.
37997 2012-01-26 Ulrich Drepper <drepper@gmail.com>
38000 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38001 Clean up HAS_* macros.
38002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38003 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38005 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38007 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38008 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38009 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38010 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38011 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38013 2012-01-25 Joseph Myers <joseph@codesourcery.com>
38015 * elf/tst-unique3.cc (gets): Remove declaration.
38016 * elf/tst-unique3lib.cc (gets): Likewise.
38017 * elf/tst-unique3lib2.cc (gets): Likewise.
38018 * elf/tst-unique4.cc (gets): Likewise.
38020 2012-01-24 Ulrich Drepper <drepper@gmail.com>
38022 * include/stdio.h: Add C++ protection. Add gets declarations and
38024 * debug/tst-chk1.c: Don't declare gets here.
38025 * stdio-common/tst-gets.c: Likewise.
38027 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38029 * posix/glob: Remove directory.
38031 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38033 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38035 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38037 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38038 of the non-standard EPFNOSUPPORT.
38040 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38042 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38043 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38044 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38046 2012-01-21 Ulrich Drepper <drepper@gmail.com>
38048 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38050 2012-01-20 Ulrich Drepper <drepper@gmail.com>
38052 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38054 * nscd/grpcache.c (cache_addgr): Likewise.
38055 * nscd/hstcache.c (cache_addhst): Likewise.
38056 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38057 * nscd/pwdcache.c (cache_addpw): Likewise.
38058 * nscd/servicescache.c (cache_addserv): Likewise.
38060 2012-01-16 Ulrich Drepper <drepper@gmail.com>
38062 * malloc/malloc.c: Various cleanups.
38063 * malloc/hooks.c: Likewise.
38065 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38066 * stdlib/bug-fmtmsg1.c: New file.
38068 * stdlib/fmtmsg.c (init): Add missing unlock.
38069 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38071 2012-01-12 Marek Polacek <polacek@redhat.com>
38073 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38076 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38078 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38079 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38080 macro to ensure uniqueness of label name.
38081 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38082 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38084 2012-01-11 Ulrich Drepper <drepper@gmail.com>
38086 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38088 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38089 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38090 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38093 2012-01-10 Ulrich Drepper <drepper@gmail.com>
38095 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38097 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38098 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38099 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38101 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38103 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38104 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38105 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38108 * math/bits/math-finite.h: Add ldexp support.
38110 2012-01-10 Marek Polacek <polacek@redhat.com>
38112 * locale/programs/localedef.h (show_archive_content): Add noreturn
38115 2012-01-09 Ulrich Drepper <drepper@gmail.com>
38117 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38119 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38121 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38123 * io/Makefile (headers): Add bits/poll2.h.
38125 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38128 typo #include statement.
38130 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38132 * include/sys/cdefs.h: Define __attribute_alloc_size.
38133 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38134 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38135 * elf/pldd.c: Likewise.
38136 * iconv/iconv_charmap.c: Likewise.
38137 * iconv/iconvconfig.c: Likewise.
38138 * iconv/strtab.c: Likewise.
38139 * locale/programs/locale.c: Likewise.
38140 * locale/programs/localedef.h: Likewise.
38141 * locale/programs/simple-hash.c: Likewise.
38142 * nscd/nscd.h: Likewise.
38143 * nss/makedb.c: Likewise.
38144 * sysdeps/generic/ldconfig.h: Likewise.
38145 * locale/programs/localedef.c: Remove xmalloc prototype.
38146 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38148 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38150 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38153 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38155 * math/Makefile (tests): Add tst-CMPLX.
38156 * math/tst-CMPLX.c: New file.
38158 * math/complex.h (CMPLXL): Fix typo.
38160 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38161 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38163 * debug/tst-chk1.c: Add poll and ppoll tests.
38164 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38165 * include/sys/poll.h: Add hidden proto for ppoll.
38166 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38167 * sysdeps/mach/hurd/ppoll.c: Likewise.
38168 * io/ppoll.c: Likewise.
38169 * debug/poll_chk.c: New file.
38170 * debug/ppoll_chk.c: New file.
38171 * include/bits/poll2.h: New file.
38172 * io/bits/poll2.h: New file.
38175 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38177 * configure.in: static is always set to yes. Remove.
38178 * config.make.in: Don't set build-static.
38179 * Makeconfig: Remove use of build-static.
38180 * dlfcn/Makefile: Likewise.
38181 * elf/Makefile: Likewise.
38182 * math/Makefile: Likewise.
38183 * misc/Makefile: Likewise.
38184 * nptl/Makefile: Likewise.
38185 * sysdeps/mach/hurd/Makefile: Likewise.
38187 * configure.in: PWD_P is not used anymore.
38188 * config.make.in: Remove PWD_P entry.
38190 * configure.in: Remove last remnants of RANLIB.
38191 No need to check for signed size_t anymore.
38192 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38194 Remove __builtin_expect test because we require at least gcc 3.4.
38195 * aclocal.m4: Likewise.
38197 * wcsmbs/mbrtoc16.c: Implement using towc function.
38198 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38199 * wcsmbs/wcsmbsload.c: Likewise.
38200 * iconv/gconv_simple.c: Likewise.
38201 * iconv/gconv_int.h: Likewise.
38202 * iconv/gconv_builtin.h: Likewise.
38203 * iconv/iconv_prog.c: Remove CHAR16 handling.
38205 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38207 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38209 * configure.in: Remove --with-elf and --enable-bounded options.
38210 Dont set base_machine for ia64. More non-ELF conditions removed.
38211 Remove testing and setting of leading underscore information.
38212 * config.make.in (build-bounded): Set to no.
38213 * config.h.in: Remove NO_UNDERSCORES entry.
38214 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38216 * csu/start.c: Remove !NO_UNDERSCORE code.
38217 * locale/localeinfo.h: Likewise.
38218 * sysdeps/generic/machine-gmon.h: Likewise.
38219 * sysdeps/generic/sysdep.h: Likewise.
38220 * sysdeps/i386/sysdep.h: Likewise.
38221 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38222 * sysdeps/mach/sysdep.h: Likewise.
38223 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38224 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38225 * sysdeps/sh/sysdep.h: Likewise.
38226 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38227 * sysdeps/unix/i386/sysdep.S: Likewise.
38228 * sysdeps/unix/sparc/start.c: Likewise.
38229 * sysdeps/unix/sparc/sysdep.S: Likewise.
38230 * sysdeps/unix/sparc/sysdep.h: Likewise.
38231 * sysdeps/unix/start.c: Likewise.
38232 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38233 * sysdeps/x86_64/sysdep.h: Likewise.
38235 2012-01-07 Ulrich Drepper <drepper@gmail.com>
38238 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38240 * argp/argp-fmtstream.h: Use const instead __const.
38241 * argp/argp.h: Likewise.
38242 * assert/assert.h: Likewise.
38243 * bits/fenv.h: Likewise.
38244 * bits/sched.h: Likewise.
38245 * bits/sigset.h: Likewise.
38246 * bits/sigthread.h: Likewise.
38247 * catgets/nl_types.h: Likewise.
38248 * conform/data/pthread.h-data: Likewise.
38249 * crypt/crypt-private.h: Likewise.
38250 * crypt/crypt.h: Likewise.
38251 * crypt/crypt_util.c: Likewise.
38252 * ctype/ctype.h: Likewise.
38253 * debug/execinfo.h: Likewise.
38254 * debug/mbsnrtowcs_chk.c: Likewise.
38255 * debug/mbsrtowcs_chk.c: Likewise.
38256 * debug/wcsnrtombs_chk.c: Likewise.
38257 * debug/wcsrtombs_chk.c: Likewise.
38258 * debug/wcstombs_chk.c: Likewise.
38259 * dirent/dirent.h: Likewise.
38260 * dlfcn/dlfcn.h: Likewise.
38261 * elf/neededtest4.c: Likewise.
38262 * grp/grp.h: Likewise.
38263 * gshadow/gshadow.h: Likewise.
38264 * iconv/gconv.h: Likewise.
38265 * iconv/gconv_int.h: Likewise.
38266 * iconv/gconv_simple.c: Likewise.
38267 * iconv/iconv.h: Likewise.
38268 * iconv/loop.c: Likewise.
38269 * iconv/skeleton.c: Likewise.
38270 * include/aio.h: Likewise.
38271 * include/aliases.h: Likewise.
38272 * include/argz.h: Likewise.
38273 * include/arpa/inet.h: Likewise.
38274 * include/assert.h: Likewise.
38275 * include/dirent.h: Likewise.
38276 * include/dlfcn.h: Likewise.
38277 * include/execinfo.h: Likewise.
38278 * include/fcntl.h: Likewise.
38279 * include/fenv.h: Likewise.
38280 * include/glob.h: Likewise.
38281 * include/grp.h: Likewise.
38282 * include/libintl.h: Likewise.
38283 * include/mntent.h: Likewise.
38284 * include/netdb.h: Likewise.
38285 * include/pwd.h: Likewise.
38286 * include/rpc/netdb.h: Likewise.
38287 * include/sched.h: Likewise.
38288 * include/search.h: Likewise.
38289 * include/shadow.h: Likewise.
38290 * include/signal.h: Likewise.
38291 * include/stdio.h: Likewise.
38292 * include/stdlib.h: Likewise.
38293 * include/string.h: Likewise.
38294 * include/sys/socket.h: Likewise.
38295 * include/sys/stat.h: Likewise.
38296 * include/sys/statfs.h: Likewise.
38297 * include/sys/statvfs.h: Likewise.
38298 * include/sys/syslog.h: Likewise.
38299 * include/sys/time.h: Likewise.
38300 * include/sys/uio.h: Likewise.
38301 * include/time.h: Likewise.
38302 * include/unistd.h: Likewise.
38303 * include/utmp.h: Likewise.
38304 * include/wchar.h: Likewise.
38305 * include/wctype.h: Likewise.
38306 * inet/aliases.h: Likewise.
38307 * inet/arpa/inet.h: Likewise.
38308 * inet/netinet/ether.h: Likewise.
38309 * inet/netinet/in.h: Likewise.
38310 * intl/libintl.h: Likewise.
38311 * io/bits/fcntl2.h: Likewise.
38312 * io/fcntl.h: Likewise.
38313 * io/ftw.h: Likewise.
38314 * io/sys/poll.h: Likewise.
38315 * io/sys/stat.h: Likewise.
38316 * io/sys/statfs.h: Likewise.
38317 * io/sys/statvfs.h: Likewise.
38318 * io/utime.h: Likewise.
38319 * libio/bits/stdio.h: Likewise.
38320 * libio/bits/stdio2.h: Likewise.
38321 * libio/libio.h: Likewise.
38322 * libio/libioP.h: Likewise.
38323 * libio/stdio.h: Likewise.
38324 * locale/lc-ctype.c: Likewise.
38325 * locale/locale.h: Likewise.
38326 * login/utmp.h: Likewise.
38327 * malloc/arena.c: Likewise.
38328 * malloc/malloc.c: Likewise.
38329 * malloc/malloc.h: Likewise.
38330 * malloc/mcheck.c: Likewise.
38331 * malloc/mtrace.c: Likewise.
38332 * math/bits/mathcalls.h: Likewise.
38333 * math/fenv.h: Likewise.
38334 * math/math_private.h: Likewise.
38335 * misc/bits/error.h: Likewise.
38336 * misc/bits/syslog.h: Likewise.
38337 * misc/err.h: Likewise.
38338 * misc/error.h: Likewise.
38339 * misc/fstab.h: Likewise.
38340 * misc/mntent.h: Likewise.
38341 * misc/regexp.h: Likewise.
38342 * misc/search.h: Likewise.
38343 * misc/sgtty.h: Likewise.
38344 * misc/sys/mman.h: Likewise.
38345 * misc/sys/syslog.h: Likewise.
38346 * misc/sys/uio.h: Likewise.
38347 * misc/sys/xattr.h: Likewise.
38348 * misc/ttyent.h: Likewise.
38349 * nis/rpcsvc/ypclnt.h: Likewise.
38350 * nss/nss.h: Likewise.
38351 * posix/bits/unistd.h: Likewise.
38352 * posix/fnmatch.h: Likewise.
38353 * posix/glob.h: Likewise.
38354 * posix/sched.h: Likewise.
38355 * posix/spawn.h: Likewise.
38356 * posix/sys/wait.h: Likewise.
38357 * posix/unistd.h: Likewise.
38358 * posix/wordexp.h: Likewise.
38359 * pwd/pwd.h: Likewise.
38360 * resolv/netdb.h: Likewise.
38361 * resource/sys/resource.h: Likewise.
38362 * rt/aio.h: Likewise.
38363 * rt/bits/mqueue2.h: Likewise.
38364 * rt/mqueue.h: Likewise.
38365 * shadow/shadow.h: Likewise.
38366 * signal/signal.h: Likewise.
38367 * socket/send.c: Likewise.
38368 * socket/sendto.c: Likewise.
38369 * socket/sys/socket.h: Likewise.
38370 * stdio-common/printf.h: Likewise.
38371 * stdlib/bits/stdlib.h: Likewise.
38372 * stdlib/fmtmsg.h: Likewise.
38373 * stdlib/monetary.h: Likewise.
38374 * stdlib/stdlib.h: Likewise.
38375 * stdlib/ucontext.h: Likewise.
38376 * streams/stropts.h: Likewise.
38377 * string/argz.h: Likewise.
38378 * string/bits/string2.h: Likewise.
38379 * string/string.h: Likewise.
38380 * string/strings.h: Likewise.
38381 * sunrpc/rpc/auth.h: Likewise.
38382 * sunrpc/rpc/auth_des.h: Likewise.
38383 * sunrpc/rpc/clnt.h: Likewise.
38384 * sunrpc/rpc/netdb.h: Likewise.
38385 * sunrpc/rpc/pmap_clnt.h: Likewise.
38386 * sunrpc/rpc/xdr.h: Likewise.
38387 * sysdeps/generic/inttypes.h: Likewise.
38388 * sysdeps/generic/net/if.h: Likewise.
38389 * sysdeps/generic/sys/swap.h: Likewise.
38390 * sysdeps/gnu/net/if.h: Likewise.
38391 * sysdeps/gnu/utmpx.h: Likewise.
38392 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38393 * sysdeps/i386/i486/bits/string.h: Likewise.
38394 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38395 * sysdeps/s390/bits/string.h: Likewise.
38396 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38397 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38398 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38399 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38400 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38401 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38402 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38403 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38404 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38405 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38406 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38407 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38408 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38409 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38410 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38411 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38412 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38414 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38415 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38416 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38417 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38418 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38419 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38420 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38421 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38422 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38423 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38424 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38425 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38426 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38427 * sysvipc/sys/ipc.h: Likewise.
38428 * sysvipc/sys/msg.h: Likewise.
38429 * sysvipc/sys/sem.h: Likewise.
38430 * sysvipc/sys/shm.h: Likewise.
38431 * termios/termios.h: Likewise.
38432 * time/sys/time.h: Likewise.
38433 * time/time.h: Likewise.
38434 * wcsmbs/bits/wchar2.h: Likewise.
38435 * wcsmbs/uchar.h: Likewise.
38436 * wcsmbs/wchar.h: Likewise.
38437 * wctype/wctype.h: Likewise.
38440 * Makeconfig: Remove all but ELF support including AIX support.
38441 * Makerules: Likewise.
38442 * config.h.in: Likewise.
38443 * config.make.in: Likewise.
38444 * configure: Likewise.
38445 * configure.in: Likewise.
38446 * csu/Makefile: Likewise.
38447 * csu/version.c: Likewise.
38448 * debug/Makefile: Likewise.
38449 * dlfcn/Makefile: Likewise.
38450 * elf/Makefile: Likewise.
38451 * extra-lib.mk: Likewise.
38452 * iconv/Makefile: Likewise.
38453 * include/libc-symbols.h: Likewise.
38454 * include/shlib-compat.h: Likewise.
38455 * resolv/Makefile: Likewise.
38456 * resolv/res_libc.c: Likewise.
38457 * rt/Makefile: Likewise.
38458 * sysdeps/i386/asm-syntax.h: Likewise.
38459 * sysdeps/i386/sysdep.h: Likewise.
38460 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38461 * sysdeps/mach/sysdep.h: Likewise.
38462 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38463 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38464 * sysdeps/s390/asm-syntax.h: Likewise.
38465 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38466 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38467 * sysdeps/sh/sysdep.h: Likewise.
38468 * sysdeps/unix/sparc/sysdep.h: Likewise.
38469 * sysdeps/wordsize-32/divdi3.c: Likewise.
38470 * sysdeps/x86_64/sysdep.h: Likewise.
38472 * argp/Versions: Remove _argp_unlock_xxx.
38475 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38476 * abilist/libBrokenLocale.abilist: Likewise.
38477 * abilist/libanl.abilist: Likewise.
38478 * abilist/libc.abilist: Likewise.
38479 * abilist/libcrypt.abilist: Likewise.
38480 * abilist/libdl.abilist: Likewise.
38481 * abilist/libm.abilist: Likewise.
38482 * abilist/libnsl.abilist: Likewise.
38483 * abilist/libpthread.abilist: Likewise.
38484 * abilist/libresolv.abilist: Likewise.
38485 * abilist/librt.abilist: Likewise.
38486 * abilist/libthread_db.abilist: Likewise.
38487 * abilist/libutil.abilist: Likewise.
38488 * abilist/libnss_db.abilist: New file.
38490 * scripts/abilist.awk: Add support for indirect functions.
38492 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38494 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38496 * shlib-versions: Remove entries for ports architectures.
38498 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38500 * elf/stackguard-macros.h: Remove support for IA-64.
38501 * elf/tst-auditmod1.c: Likewise.
38502 * sysdeps/generic/ldsodefs.h: Likewise.
38504 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38505 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38509 * configure.in: Remove --enable-omitfp support.
38511 * config.make.in: Likewise.
38512 * Makeconfig: Likewise.
38513 * manual/install.texi: Likewise.
38515 In case anyone cares, the IA-64 architecture could move to ports.
38516 * sysdeps/ia64/*: Removed.
38517 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38518 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38521 * configure.in: Remove entries for unsupported architectures.
38524 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38525 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38527 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38528 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38529 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38530 fall back to using wcrtomb.
38531 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38532 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38534 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38535 * wcsmbs/tst-c16c32-1.c: New file.
38537 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38540 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38542 * elf/tst-unique3.cc: Add explicit declaration of gets.
38543 * elf/tst-unique3lib.cc: Likewise.
38544 * elf/tst-unique3lib2.cc: Likewise.
38545 * elf/tst-unique4.cc: Likewise.
38547 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38549 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38552 * assert/assert.h (static_assert): Don't define for C++.
38553 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38554 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38556 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38558 * iconv/loop.c (single loop): Fix assertion in storing of
38561 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38563 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38565 * posix/getconf.c: Update copyright year.
38566 * nss/getent.c: Likewise.
38567 * nss/makedb.c: Likewise.
38568 * iconv/iconvconfig.c: Likewise.
38569 * iconv/iconv_prog.c: Likewise.
38570 * elf/ldconfig.c: Likewise.
38571 * elf/pldd.c: Likewise.
38572 * elf/sotruss.ksh: Likewise.
38573 * catgets/gencat.c: Likewise.
38574 * csu/version.c: Likewise.
38575 * elf/ldd.bash.in: Likewise.
38576 * elf/sprof.c (print_version): Likewise.
38577 * locale/programs/locale.c: Likewise.
38578 * locale/programs/localedef.c: Likewise.
38579 * login/programs/pt_chown.c: Likewise.
38580 * nscd/nscd.c (print_version): Likewise.
38581 * debug/xtrace.sh: Likewise.
38582 * malloc/memusage.sh: Likewise.
38583 * malloc/mtrace.pl: Likewise.
38584 * debug/catchsegv.sh: Likewise.
38586 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38588 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38591 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38594 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38595 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38597 * iconv/gconv_int.h: Likewise.
38598 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38599 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38600 from libc for GLIBC_2.16.
38601 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38602 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38603 * wcsmbs/uchar.h: Really define mbstate_t.
38604 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38605 * wcsmbs/c16rtomb.c: New file.
38606 * wcsmbs/mbrtoc16.c: New file.
38607 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38608 for C/POSIX locale.
38609 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38610 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38612 * wcsmbs/wchar.h: Add missing __restrict.
38614 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38617 * time/Makefile (routines): Add timespec_get.
38618 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38619 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38620 timespec for ISO C11.
38621 * time/timespec_get.c: New file.
38622 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38623 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38626 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38627 * stdlib/stdlib.h: Declare aligned_alloc.
38628 * Versions.def: Add GLIBC_2.16 for libc.
38629 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38632 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38635 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38639 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38642 * assert/assert.h (static_assert): Define.
38644 * version.h: Update for 2.16 development version.
38647 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38650 * version.h (RELEASE): Bump for 2.15 release.
38651 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38653 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38654 Patch by Marek Polacek <mpolacek@redhat.com>.
38656 * bits/byteswap.h: Protect long long constants with __extension__.
38657 * sysdeps/i386/bits/byteswap.h: Likewise.
38658 * sysdeps/ia64/bits/byteswap.h: Likewise.
38659 * sysdeps/s390/bits/byteswap.h: Likewise.
38660 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38662 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38665 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38666 destination buffer.
38667 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38669 2011-12-23 Marek Polacek <polacek@redhat.com>
38671 * elf/dl-addr.c (determine_info): Add inline keyword.
38672 * elf/tst-auditmod4b.c (check_avx): Likewise.
38673 * elf/tst-auditmod6b.c (check_avx): Likewise.
38674 * elf/tst-auditmod6c.c (check_avx): Likewise.
38675 * elf/tst-auditmod7b.c (check_avx): Likewise.
38677 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38679 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38682 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38685 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38686 processing for last bytes.
38688 2011-08-06 Bruno Haible <bruno@clisp.org>
38691 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38692 U+0385, not to U+1FEE.
38695 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38696 entry for U+00A5 U+0301.
38698 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38701 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38702 buffer for the output is too small.
38704 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38708 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38709 SSE flags if possible.
38711 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38714 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38715 processing for last bytes.
38717 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38719 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38720 (syscall-list-default-options, syscall-list-default-condition)
38721 (syscall-list-includes): Define.
38722 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38723 list of ABIs and options and #if conditions for each ABI. Do not
38724 handle common syscalls between ABIs specially.
38725 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38727 (syscall-list-variants, syscall-list-32bit-options)
38728 (syscall-list-32bit-condition, syscall-list-64bit-options)
38729 (syscall-list-64bit-condition): Define.
38730 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38731 (syscall-list-variants, syscall-list-32bit-options)
38732 (syscall-list-32bit-condition, syscall-list-64bit-options)
38733 (syscall-list-64bit-condition): Define.
38734 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38736 (syscall-list-variants, syscall-list-32bit-options)
38737 (syscall-list-32bit-condition, syscall-list-64bit-options)
38738 (syscall-list-64bit-condition): Define.
38739 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38741 (syscall-list-variants, syscall-list-32bit-options)
38742 (syscall-list-32bit-condition, syscall-list-64bit-options)
38743 (syscall-list-64bit-condition): Define.
38745 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38747 * locale/iso-639.def: Add brx entry.
38750 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38751 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38753 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38754 __feraiseexcept_renamed.
38756 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38759 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38760 EPOLLET with unsigned values.
38761 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38762 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38764 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38765 to large cancellation.
38766 * math/s_cacoshf.c: Likewise.
38767 * math/s_cacoshl.c: Likewise.
38769 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38773 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38774 * math/s_cacoshf.c: Likewise.
38775 * math/s_cacoshl.c: Likewise.
38777 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38780 * iconv/gconv.h: Define __GCONV_SWAP.
38781 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38782 * iconvdata/utf-16.c: Likewise.
38783 * iconvdata/utf-32.c: Likewise.
38785 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38788 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38789 numerator after shifting it by one limb.
38791 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38793 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38794 under [__USE_EXTERN_INLINES].
38796 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38799 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38801 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38803 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38804 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38806 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38807 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38808 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38809 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38810 for strncasecmp/strncasecmp_l compilation.
38811 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38812 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38814 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38817 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38820 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38823 * time/tzfile.c (__tzfile_read): Check values from file header.
38825 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38827 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38828 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38829 * powerpc/powerpc32/dl-start.S: Likewise.
38830 * powerpc/powerpc32/elf/start.S: Likewise.
38831 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38832 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38833 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38834 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38835 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38836 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38837 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38838 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38839 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38840 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38841 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38842 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38843 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38844 * powerpc/powerpc32/memset.S: Likewise.
38845 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38846 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38847 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38848 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38849 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38850 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38851 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38852 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38853 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38854 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38855 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38856 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38857 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38859 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38861 * math/libm-test.inc: Added more nearbyint tests.
38862 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38864 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38867 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38869 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38872 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38874 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38875 Add wcscpy-ssse3 wcscpy-c.
38876 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38877 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38878 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38879 * sysdeps/x86_64/wcschr.S: New file.
38880 * sysdeps/x86_64/wcsrchr.S: New file.
38881 * string/test-strcmp.c: Remove checking of wcscmp function for
38883 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38884 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38885 wcsrchr-sse2 wcsrchr-c.
38886 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38887 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38888 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38889 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38890 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38891 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38892 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38893 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38894 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38895 * wcsmbc/wcschr.c (WCSCHR): New macro.
38897 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38899 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38900 * wcsmbs/test-wcsrchr.c: New file.
38901 * string/test-strrchr.c: Add wcsrchr support.
38903 * wcsmbs/test-wcscpy.c: New file.
38904 * string/test-strcpy.c: Add wcscpy support.
38907 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38909 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38912 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38915 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38917 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38919 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38920 Minor optimizations.
38922 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38923 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38924 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38926 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38928 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38929 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38930 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38931 for gcc to avoid warnings.
38932 * inet/Makefile (tests): Add tst-checks.
38933 * inet/tst-checks.c: New file.
38935 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38938 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38941 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38942 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38944 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38946 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38948 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38951 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38953 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38955 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38956 conditional on GCC version.
38957 (__arch_compare_and_exchange_val_8_acq)
38958 (__arch_compare_and_exchange_val_16_acq)
38959 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38960 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38961 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38963 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38965 * sysdeps/sh/backtrace.c: New file.
38967 2011-12-02 Andreas Schwab <schwab@redhat.com>
38969 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38972 2011-12-01 Andreas Schwab <schwab@redhat.com>
38974 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38975 falling back to utime.
38977 2011-11-30 Andreas Schwab <schwab@redhat.com>
38979 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38980 expectations for float.
38982 2011-11-29 Andreas Schwab <schwab@redhat.com>
38984 * locale/weight.h (findidx): Add parameter len.
38985 * locale/weightwc.h (findidx): Likewise.
38986 * posix/fnmatch_loop.c (FCT): Adjust caller.
38987 * posix/regcomp.c (build_equiv_class): Likewise.
38988 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38989 * posix/regexec.c (check_node_accept_bytes): Likewise.
38990 * string/strcoll_l.c (STRCOLL): Likewise.
38991 * string/strxfrm_l.c (STRXFRM): Likewise.
38993 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38995 * Makefile.in: Remove CVSOPT handling.
38996 * configure.in: Remove use of AC_REVISION.
38997 * iconvdata/Makefile (distribute): No need to filter out CVS.
38998 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39001 2011-11-16 Andreas Schwab <schwab@redhat.com>
39003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39004 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39005 [USE_AS_STRNCASECMP_L]: Likewise.
39006 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39007 NO_TLS_DIRECT_SEG_REFS.
39008 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39009 Fix argument offsets for non-PIC.
39010 [USE_AS_STRNCASECMP_L]: Likewise.
39011 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39012 NO_TLS_DIRECT_SEG_REFS.
39014 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39016 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39018 * locale/loadlocale.c (_nl_load_locale): Likewise.
39020 2011-11-15 Andreas Schwab <schwab@redhat.com>
39022 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39023 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39024 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39025 (SYSCALL_GETTIME): Set errno on error.
39027 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39028 count references to noai6ai_cached.
39030 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39032 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39034 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39035 FD_CLOEXEC for /proc/self/maps.
39037 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39038 FD_CLOEXEC for /proc/meminfo.
39040 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39043 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39044 FD_CLOEXEC for given file.
39046 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39048 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39049 FD_CLOEXEC for /etc/hosts.
39050 (_gethtent): Likewise.
39052 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39054 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39055 cancellation and set FD_CLOEXEC for /etc/netgroup.
39057 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39058 reading /etc/publickey.
39060 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39061 allow cancellation when reading /etc/group.
39063 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39065 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39067 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39068 when using data file.
39070 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39072 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39073 (write_nis_obj): Use "c" and "e" in fopen.
39075 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39077 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39079 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39081 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39083 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39086 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39088 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39090 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39092 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39093 file parsing and set FD_CLOEXEC.
39095 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39097 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39099 2011-11-14 Andreas Schwab <schwab@redhat.com>
39101 * malloc/arena.c (arena_get2): Don't call reused_arena when
39102 _int_new_arena failed.
39104 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39106 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39107 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39108 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39109 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39110 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39111 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39112 to compile strcasecmp and strncasecmp.
39113 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39114 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39116 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39118 2011-11-13 Ulrich Drepper <drepper@gmail.com>
39120 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39121 locale-defines.sym to gen-as-const-headers.
39122 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39123 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39124 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39125 to compile strcasecmp and strncasecmp.
39126 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39127 strcasecmp_l and strncasecmp_l.
39128 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39129 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39130 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39131 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39132 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39133 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39134 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39135 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39136 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39137 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39138 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39140 2011-11-12 Ulrich Drepper <drepper@gmail.com>
39142 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39143 result of SYSDEP_GETTIME_CPU to retval.
39144 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39145 parameter list to macro. Remove trailing semicolon. Adjust users.
39147 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39150 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39152 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39154 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39155 from unused variable.
39157 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39159 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39162 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39165 * sunrpc/rpc_prot.c (rejected): Fix case value.
39167 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39168 unsigned long long int to avoid warnings in shift.
39170 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39172 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39175 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39176 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39177 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39179 * nis/nis_table.c (nis_list): Use variable of correct type for
39180 result of __follow_path call.
39182 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39184 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39185 of math functions ceil, trunc, floor, round, and sqrt, when
39186 avaliable on the platform.
39187 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39189 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39190 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39191 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39193 2011-10-30 Marek Polacek <mpolacek@redhat.com>
39195 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39196 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39198 2011-11-11 Roland McGrath <roland@hack.frob.com>
39200 * include/unistd.h: Fix __readlink return type.
39201 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39203 2011-11-11 Ulrich Drepper <drepper@gmail.com>
39205 * stdlib/ucontext.h: Undo last change for makecontext.
39207 2011-11-11 Andreas Schwab <schwab@redhat.com>
39209 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39211 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39212 * setjmp/setjmp.h: Mark functions as non-leaf.
39213 * setjmp/bits/setjmp2.h: Likewise.
39214 * stdlib/ucontext.h: Likewise.
39216 2011-11-10 Andreas Schwab <schwab@redhat.com>
39218 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39219 (reused_arena): Don't check arena limit.
39220 (arena_get2): Atomically check arena limit.
39222 2011-11-08 Ulrich Drepper <drepper@gmail.com>
39224 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39225 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39230 2011-11-07 Andreas Schwab <schwab@redhat.com>
39232 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39233 handler when locking.
39235 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39236 Fix size of allocated buffer.
39238 2011-11-04 Andreas Schwab <schwab@redhat.com>
39241 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39242 declarations for long double functions.
39243 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39245 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39247 2011-11-03 Andreas Schwab <schwab@redhat.com>
39249 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39252 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39255 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39257 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39259 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39261 * include/alloca.h (stackinfo_alloca_round): Define.
39262 (extend_alloca): Use it.
39263 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39264 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39267 * scripts/check-local-headers.sh: Ignore libaudit.h.
39269 * nscd/Makefile (extra-objs): Make recursively expanded.
39271 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39273 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39274 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39276 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39277 * posix/tst-rfc3484-2.c: Likewise.
39278 * posix/tst-rfc3484-3.c: Likewise.
39280 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39282 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39284 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39285 process_vm_writev from libc using GLIBC_2.15 version.
39287 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39289 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39291 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39294 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39297 * nss/getent.c (initgroups_keys): Show error message in case no group
39300 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39301 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39302 __bump_nl_timestamp.
39303 * nscd/connections (nscd_init): When host database is served open
39304 netlink socket and request notification about configuration changes.
39305 (main_loop_poll): Track netlink file descriptor and bump timestamp
39306 in case data becomes available.
39307 (main_loop_epoll): Likewise.
39308 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39309 (database_pers_head): Add extra_data fileds.
39310 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39311 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39312 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39314 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39315 in6ai data, call __free_in6ai.
39316 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39317 Add -DHAVE_NETLINK.
39318 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39319 interface information. Reuse previous data if netlink timestamp
39321 (__bump_nl_timestamp): New function.
39322 (__free_in6ai): New function.
39324 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39326 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39327 close_not_cancel_no_status here.
39328 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39330 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39333 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39336 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39337 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39338 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39340 2011-07-03 Andreas Jaeger <aj@suse.de>
39343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39344 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39345 * math/libm-test.inc (sin_test): Add test case.
39347 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39350 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39351 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39353 * elf/chroot_canon.c (chroot_canon): Cleanups.
39355 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39358 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39359 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39361 * string/test-strchr.c: Make usable for strchrnul testing.
39362 * string/test-strchrnul.c: New file.
39363 * string/Makefile (strop-tests): Add strchrnul.
39365 * po/it.po: Update from translation team.
39366 * po/es.po: Likewise.
39368 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39370 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39371 the three constants needed as parameters. Drop the others.
39372 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39373 __m128i_strloadu_tolower.
39374 Create and initialize variable zero and use it in all the places
39375 where _mm_setzero_si128 was used.
39377 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39378 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39379 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39380 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39382 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39383 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39384 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39385 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39386 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39387 __mpranred, __mptan.
39388 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39389 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39390 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39391 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39392 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39393 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39394 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39395 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39396 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39398 2011-10-28 Andreas Schwab <schwab@redhat.com>
39400 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39401 redefine if SHARED.
39402 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39405 wide char related routines to wcsmbs subdir.
39407 2011-10-27 Andreas Schwab <schwab@redhat.com>
39410 * misc/sys/cdefs.h (__THROWNL): Define.
39411 * posix/unistd.h: Use __THREADNL instead of __THREAD
39412 for memory synchronization functions.
39414 2011-10-26 Roland McGrath <roland@hack.frob.com>
39417 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39419 * manual/stdio.texi (Obstack Streams): Node removed.
39421 2011-10-26 Andreas Schwab <schwab@redhat.com>
39423 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39424 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39425 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39427 * math/math_private.h (math_force_eval): Allow non-addressable
39429 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39431 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39433 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39434 file is not needed.
39436 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39437 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39439 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39442 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39443 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39445 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39446 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39447 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39448 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39449 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39450 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39451 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39452 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39453 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39454 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39455 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39456 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39457 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39458 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39459 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39460 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39461 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39462 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39463 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39465 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39466 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39468 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39469 place. Use VEX encoding when compiling for AVX.
39471 2011-10-25 Andreas Schwab <schwab@redhat.com>
39473 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39474 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39476 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39478 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39480 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39481 useless if() expression.
39482 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39483 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39484 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39485 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39486 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39487 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39488 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39490 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39492 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39493 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39494 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39495 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39496 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39497 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39498 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39499 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39500 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39502 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39504 2011-10-25 Andreas Schwab <schwab@redhat.com>
39506 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39508 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39510 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39512 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39513 .text section. Avoid duplicate constants.
39514 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39515 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39516 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39517 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39518 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39522 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39523 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39524 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39525 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39526 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39527 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39528 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39529 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39530 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39531 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39532 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39533 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39534 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39535 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39536 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39537 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39538 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39539 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39540 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39541 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39542 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39543 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39544 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39545 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39546 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39547 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39548 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39549 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39550 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39551 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39552 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39553 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39554 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39555 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39556 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39557 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39558 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39560 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39562 * sysdeps/x86_64/dla.h: Move to ...
39563 * sysdeps/x86_64/fpu/dla.h: ...here.
39564 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39565 situations. Use __builtin_fma only for gcc 4.6 and up.
39567 * config.make.in: Add have-mfma4 entry.
39568 * configure.in: Substitute libc_cv_cc_fma4.
39569 * math/Makefile (dbl-only-routines): Add sincostab.
39570 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39571 Use __sincostab not sincos.
39572 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39574 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39575 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39576 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39579 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39580 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39581 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39582 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39584 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39585 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39587 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39588 define aliases when function name is a macro.
39589 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39590 sysdeps/ieee754/dbl-64/sincos.tbl.
39591 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39592 fma4-enabled routines.
39593 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39594 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39595 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39596 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39597 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39598 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39599 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39600 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39601 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39602 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39603 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39604 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39605 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39606 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39607 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39608 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39609 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39610 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39611 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39612 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39613 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39614 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39615 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39616 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39617 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39618 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39619 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39620 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39621 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39622 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39624 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39631 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39633 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39635 2011-10-24 Andreas Schwab <schwab@redhat.com>
39637 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39639 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39641 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39643 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39645 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39647 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39648 Remove unused variable magic_bits.
39649 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39651 * string/strnlen.c: Define and use STRNLEN macro.
39652 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39653 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39654 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39655 * wcsmbs/wcslen.c: Define and use WCSLEN.
39656 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39657 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39658 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39659 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39660 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39661 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39662 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39664 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39667 strnlen-sse2-no-bsf.
39668 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39669 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39670 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39671 Add strnlen support.
39672 (USE_AS_STRNLEN): New macro.
39673 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39674 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39675 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39676 * sysdeps/x86_64/wcslen.S: New file.
39678 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39680 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39681 XMM-moves are used for copying on small sizes.
39683 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39685 * wcsmbs/Makefile (strop-tests): Add wcschr.
39686 * wcsmbs/test-wcschr.c: New file.
39687 * string/test-strchr.c: Update.
39688 Add wcschr support.
39691 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39693 * wcsmbs/Makefile (strop-tests): Add wcslen.
39694 * wcsmbs/test-wcslen.c: New file.
39695 * string/test-strlen.c: Update.
39696 Add wcslen support.
39699 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39701 * po/it.po: Update from translation team.
39703 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39705 * sysdeps/x86_64/wcscmp.S: Update.
39706 Fix wrong comparison semantics.
39707 wcscmp shall use signed comparison not unsigned.
39708 Don't use substraction to avoid overflow bug.
39709 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39710 * wcsmbc/wcscmp.c: Likewise.
39711 * string/test-strcmp.c: Likewise.
39712 Add new tests to check cases with negative values.
39714 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39716 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39717 * sysdeps/x86_64/dla.h: ...here. New file.
39718 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39719 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39723 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39725 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39726 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39728 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39730 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39731 __ynl_finite aliases.
39733 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39737 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39739 [DLA_FMA] (EMULV): Use DLA_FMA.
39740 [DLA_FMA] (MUL12): Use EMULV.
39741 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39742 that are not needed.
39743 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39746 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39751 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39753 * math/s_nan.c: Undef __nan.
39754 * math/s_nanf.c: Undef __nanf.
39755 * math/s_nanl.c: Undef __nanl.
39756 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39759 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39761 * math/s_catan.c: Add branch predictions.
39762 * math/s_catanf.c: Likewise.
39763 * math/s_catanh.c: Likewise.
39764 * math/s_catanhf.c: Likewise.
39765 * math/s_catanhl.c: Likewise.
39766 * math/s_catanl.c: Likewise.
39767 * math/s_cexp.c: Likewise.
39768 * math/s_cexpf.c: Likewise.
39769 * math/s_cexpl.c: Likewise.
39770 * math/s_clog.c: Likewise.
39771 * math/s_clog10.c: Likewise.
39772 * math/s_clog10f.c: Likewise.
39773 * math/s_clog10l.c: Likewise.
39774 * math/s_clogf.c: Likewise.
39775 * math/s_clogl.c: Likewise.
39776 * math/s_csqrt.c: Likewise.
39777 * math/s_csqrtf.c: Likewise.
39778 * math/s_csqrtl.c: Likewise.
39779 * math/s_ctanf.c: Likewise.
39780 * math/s_ctanh.c: Likewise.
39781 * math/s_ctanhf.c: Likewise.
39782 * math/s_ctanhl.c: Likewise.
39783 * math/s_ctanl.c: Likewise.
39785 * math/math_private.h: Define __nan, __nanf, __nanl.
39786 * math/s_cacosh.c: Include <math_private.h>.
39787 * math/s_cacoshl.c: Likewise.
39788 * math/s_casinh.c: Likewise.
39789 * math/s_casinhf.c: Likewise.
39790 * math/s_casinhl.c: Likewise.
39791 * math/s_ccos.c: Rely entire on ccosh.
39792 * math/s_ccosf.c: Rely entire on ccoshf.
39793 * math/s_ccosl.c: Rely entirely on ccoshl.
39794 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39795 Remove tests for FE_INVALID.
39796 * math/s_ccoshf.c: Likewise.
39797 * math/s_ccoshl.c: Likewise.
39798 * math/s_csin.c: Likewise.
39799 * math/s_csinf.c: Likewise.
39800 * math/s_csinh.c Likewise.
39801 * math/s_csinhf.c: Likewise.
39802 * math/s_csinhl.c: Likewise.
39803 * math/s_csinl.c: Likewise.
39804 * math/s_ctan.c: Likewise.
39805 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39806 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39807 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39809 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39812 compilation problems.
39814 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39817 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39819 * sysdeps/i386/configure.in: Test for -mfma4 option.
39820 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39821 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39822 COMMON_CPUID_INDEX_80000001.
39823 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39824 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39825 use it if FMA3 is not supported.
39826 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39828 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39829 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39831 2011-10-20 Andreas Schwab <schwab@redhat.com>
39834 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39835 it would create a cycle with a link time dependency.
39837 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39839 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39841 * string/Makefile (strop-tests): Add rawmemchr.
39842 * string/test-rawmemchr.c: New file.
39844 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39845 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39846 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39847 when compiling str{,n}casecmp and when AVX is available. Hook up
39848 new optimized code in initializers.
39850 2011-10-19 Andreas Schwab <schwab@redhat.com>
39852 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39853 __feraiseexcept instead of feraiseexcept.
39855 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39857 * math/math_private.h: Define defaults for libc_fetestexcept and
39859 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39860 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39861 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39862 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39863 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39864 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39865 libc_fetestexcept and libc_feupdateenv.
39867 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39868 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39869 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39870 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39871 libc_feholdexcept_setround.
39873 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39874 Add s_nearbyint-c and s_nearbyintf-c.
39875 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39876 nearbyintf inlines.
39877 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39878 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39879 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39880 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39882 * math/math_private.h: Define defaults for libc_fegetround,
39883 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39884 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39885 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39886 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39887 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39888 standard functions.
39889 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39890 Remove comments and hacks for old compiler versions.
39891 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39892 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39893 libc_feholdexceptl.
39895 2011-10-18 Andreas Schwab <schwab@redhat.com>
39897 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39898 (__feraiseexcept_renamed): Add __NTH.
39899 (feraiseexcept): Add __NTH. Rename local variables to fix
39900 namespace violations.
39902 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39904 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39906 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39908 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39909 recently added interfaces.
39910 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39912 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39913 about macro parameter expansion.
39915 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39916 __NO_MATH_INLINES is defined. Cleanups.
39918 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39919 and __floorf is target has SSE4.1.
39920 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39921 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39922 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39923 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39925 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39927 (floorf): Likewise.
39929 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39931 2011-10-17 Andreas Schwab <schwab@redhat.com>
39933 * misc/sys/cdefs.h: Fix last change.
39935 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39938 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39940 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39942 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39943 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39944 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39945 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39946 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39947 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39948 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39950 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39951 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39952 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39953 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39954 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39955 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39956 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39957 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39958 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39959 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39960 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39961 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39962 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39963 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39965 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39966 ceil, ceilf, floor, floorf.
39968 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39969 Perform IRELATIVE relocations last.
39971 * elf/do-rel.h: Add another parameter nrelative, replacing the
39972 local variable with the same name. Change name of the function
39973 to end in Rel or Rela (uppercase).
39974 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39975 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39976 elf_dynamic_do_##reloc function.
39978 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39980 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39981 is sufficient, at least on modern CPUs.
39983 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39985 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39986 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39988 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39990 * math/bits/math-finite.h: Add entries for exp.
39991 * math/e_expl.c: Add __*_finite alias.
39992 * sysdeps/i386/fpu/e_exp.S: Likewise.
39993 * sysdeps/i386/fpu/e_expf.S: Likewise.
39994 * sysdeps/i386/fpu/e_expl.c: Likewise.
39995 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39996 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39997 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39998 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39999 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40000 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40001 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40003 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40004 is sufficient, at least on modern CPUs.
40006 * ctype/ctype-info.c (__ctype_init): Define.
40007 * include/ctype.h (__ctype_init): Declare.
40008 (__ctype_b_loc): The variable is always initialized.
40009 (__ctype_toupper_loc): Likewise.
40010 (__ctype_tolower_loc): Likewise.
40011 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40012 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40014 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40016 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40018 * configure.in: Also look in $cxxmachine/include for C++ system
40021 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40023 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40024 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40025 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40026 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40027 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40028 (USE_AS_WMEMCMP): New macro.
40030 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40031 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40032 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40033 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40035 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40036 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40037 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40038 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40039 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40040 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40041 (USE_AS_WMEMCMP): New macro.
40042 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40043 * sysdeps/string/test-memcmp.c: Update.
40044 Fix simple_wmemcmp.
40046 * wcsmbs/wmemcmp.c: Update.
40047 (WMEMCMP): New macro.
40050 2011-10-12 Andreas Jaeger <aj@suse.de>
40053 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40055 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40057 * libio/iofwide.c (do_length): Avoid warning.
40059 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40061 2011-10-14 Ulrich Drepper <drepper@gmail.com>
40063 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40065 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40066 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40067 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40068 * sysdeps/i386/i686/fpu/e_log.S: New file.
40069 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40070 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40072 * ctype/ctype.h: Add support for inlined isXXX functions when
40073 compiling C++ code.
40075 2011-10-14 Andreas Schwab <schwab@redhat.com>
40077 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40079 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40081 2011-10-13 Roland McGrath <roland@hack.frob.com>
40084 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40086 2011-10-13 Andreas Schwab <schwab@redhat.com>
40088 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40089 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40092 * sysdeps/x86_64/memrchr.S: Check for zero size.
40094 * string/stratcliff.c: Add memrchr tests.
40096 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40099 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40100 rawmemchr-sse2 rawmemchr-sse2-bsf.
40101 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40102 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40103 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40104 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40105 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40106 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40107 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40108 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40109 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40110 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40111 * string/memrchr.c (MEMRCHR): New macro.
40113 2011-10-12 Ulrich Drepper <drepper@gmail.com>
40115 Add integration with gcc's -ffinite-math-only and optimize wrapper
40117 * Versions.def: Define GLIBC_2.15 version for libm.
40118 * math/Makefile (headers): Add bits/math-finite.h.
40119 * math/bits/math-finite.h: New file.
40120 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40121 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40122 * math/e_acoshl.c: Add __*_finite alias.
40123 * math/e_acosl.c: Likewise.
40124 * math/e_asinl.c: Likewise.
40125 * math/e_atan2l.c: Likewise.
40126 * math/e_atanhl.c: Likewise.
40127 * math/e_coshl.c: Likewise.
40128 * math/e_exp10.c: Likewise.
40129 * math/e_exp10f.c: Likewise.
40130 * math/e_exp10l.c: Likewise.
40131 * math/e_exp2l.c: Likewise.
40132 * math/e_fmodl.c: Likewise.
40133 * math/e_gammal_r.c: Likewise.
40134 * math/e_hypotl.c: Likewise.
40135 * math/e_j0l.c: Likewise.
40136 * math/e_j1l.c: Likewise.
40137 * math/e_jnl.c: Likewise.
40138 * math/e_lgammal_r.c: Likewise.
40139 * math/e_log10l.c: Likewise.
40140 * math/e_log2l.c: Likewise.
40141 * math/e_logl.c: Likewise.
40142 * math/e_powl.c: Likewise.
40143 * math/e_sinhl.c: Likewise.
40144 * math/e_sqrtl.c: Likewise.
40145 * math/e_scalb.c: Completely rewritten and optimized.
40146 * math/e_scalbf.c: Likewise.
40147 * math/e_scalbl.c: Likewise.
40148 * math/w_acos.c: Likewise.
40149 * math/w_acosf.c: Likewise.
40150 * math/w_acosl.c: Likewise.
40151 * math/w_acosh.c: Likewise.
40152 * math/w_acoshf.c: Likewise.
40153 * math/w_acoshl.c: Likewise.
40154 * math/w_asin.c: Likewise.
40155 * math/w_asinf.c: Likewise.
40156 * math/w_asinl.c: Likewise.
40157 * math/w_atan2.c: Likewise.
40158 * math/w_atan2f.c: Likewise.
40159 * math/w_atan2l.c: Likewise.
40160 * math/w_atanh.c: Likewise.
40161 * math/w_atanhf.c: Likewise.
40162 * math/w_atanhl.c: Likewise.
40163 * math/w_exp10.c: Likewise.
40164 * math/w_exp10f.c: Likewise.
40165 * math/w_exp10l.c: Likewise.
40166 * math/w_fmod.c: Likewise.
40167 * math/w_fmodf.c: Likewise.
40168 * math/w_fmodl.c: Likewise.
40169 * math/w_j0.c: Likewise.
40170 * math/w_j0f.c: Likewise.
40171 * math/w_j0l.c: Likewise.
40172 * math/w_j1.c: Likewise.
40173 * math/w_j1f.c: Likewise.
40174 * math/w_j1l.c: Likewise.
40175 * math/w_jn.c: Likewise.
40176 * math/w_jnf.c: Likewise.
40177 * math/w_log.c: Likewise.
40178 * math/w_logf.c: Likewise.
40179 * math/w_logl.c: Likewise.
40180 * math/w_log10.c: Likewise.
40181 * math/w_log10f.c: Likewise.
40182 * math/w_log10l.c: Likewise.
40183 * math/w_log2.c: Likewise.
40184 * math/w_log2f.c: Likewise.
40185 * math/w_log2l.c: Likewise.
40186 * math/w_pow.c: Likewise.
40187 * math/w_powf.c: Likewise.
40188 * math/w_powl.c: Likewise.
40189 * math/w_remainder.c: Likewise.
40190 * math/w_remainderf.c: Likewise.
40191 * math/w_remainderl.c: Likewise.
40192 * math/w_scalb.c: Likewise.
40193 * math/w_scalbf.c: Likewise.
40194 * math/w_scalbl.c: Likewise.
40195 * math/w_sqrt.c: Likewise.
40196 * math/w_sqrtf.c: Likewise.
40197 * math/w_sqrtl.c: Likewise.
40198 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40199 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40201 * math/math_private.h: Declare __kernel_standard_f.
40202 * math/w_cosh.c: Remove cruft and optimize a bit.
40203 * math/w_coshf.c: Likewise.
40204 * math/w_coshl.c: Likewise.
40205 * math/w_exp2.c: Likewise.
40206 * math/w_exp2f.c: Likewise.
40207 * math/w_exp2l.c: Likewise.
40208 * math/w_hypot.c: Likewise.
40209 * math/w_hypotf.c: Likewise.
40210 * math/w_hypotl.c: Likewise.
40211 * math/w_lgamma.c: Likewise.
40212 * math/w_lgamma_r.c: Likewise.
40213 * math/w_lgammaf.c: Likewise.
40214 * math/w_lgammaf_r.c: Likewise.
40215 * math/w_lgammal.c: Likewise.
40216 * math/w_lgammal_r.c: Likewise.
40217 * math/w_sinh.c: Likewise.
40218 * math/w_sinhf.c: Likewise.
40219 * math/w_sinhl.c: Likewise.
40220 * math/w_tgamma.c: Likewise.
40221 * math/w_tgammaf.c: Likewise.
40222 * math/w_tgammal.c: Likewise.
40223 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40224 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40225 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40226 Minor optimizations. Pretty printing. Remove cruft.
40227 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40228 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40229 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40230 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40231 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40232 * sysdeps/i386/fpu/e_asin.S: Likewise.
40233 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40234 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40235 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40236 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40237 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40238 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40239 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40240 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40241 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40242 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40243 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40244 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40245 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40246 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40247 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40248 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40249 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40250 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40251 * sysdeps/i386/fpu/e_log.S: Likewise.
40252 * sysdeps/i386/fpu/e_log10.S: Likewise.
40253 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40254 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40255 * sysdeps/i386/fpu/e_log2.S: Likewise.
40256 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40257 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40258 * sysdeps/i386/fpu/e_logf.S: Likewise.
40259 * sysdeps/i386/fpu/e_logl.S: Likewise.
40260 * sysdeps/i386/fpu/e_pow.S: Likewise.
40261 * sysdeps/i386/fpu/e_powf.S: Likewise.
40262 * sysdeps/i386/fpu/e_powl.S: Likewise.
40263 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40264 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40265 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40266 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40267 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40268 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40269 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40270 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40271 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40272 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40273 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40274 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40275 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40276 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40277 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40278 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40279 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40280 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40281 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40282 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40283 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40285 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40286 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40288 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40289 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40290 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40291 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40292 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40293 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40294 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40295 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40296 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40297 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40298 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40299 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40300 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40301 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40302 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40303 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40304 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40305 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40306 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40307 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40308 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40309 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40310 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40311 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40312 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40313 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40314 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40315 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40316 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40317 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40318 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40319 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40322 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40323 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40324 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40325 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40327 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40328 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40329 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40330 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40332 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40333 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40334 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40335 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40336 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40337 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40338 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40339 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40341 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40342 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40343 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40344 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40345 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40346 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40347 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40348 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40349 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40350 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40351 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40352 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40353 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40354 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40355 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40356 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40357 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40358 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40359 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40360 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40361 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40362 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40363 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40364 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40365 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40366 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40367 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40368 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40369 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40370 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40371 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40372 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40373 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40374 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40375 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40376 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40377 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40378 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40379 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40380 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40381 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40382 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40383 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40384 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40385 (__isnanf): Likewise.
40386 (__isinf_ns): Likewise.
40387 (__isinf_nsf): Likewise.
40388 (__finite): Likewise.
40389 (__finitef): Likewise.
40390 (__ieee754_sqrt): Define as macro.
40391 (__ieee754_sqrtf): Define as macro.
40392 (__ieee754_sqrtl): Define as macro.
40393 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40395 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40396 __FINITE_MATH_ONLY__ consistent.
40397 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40399 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40401 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40404 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40406 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40408 * po/ja.po: Update from translation team.
40410 2011-10-08 Roland McGrath <roland@hack.frob.com>
40412 * locale/programs/locarchive.c (prepare_address_space): New function.
40413 (create_archive, enlarge_archive, open_archive): Use it.
40415 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40416 inside [SHARED], where it is used.
40418 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40420 * nss/getent.c (netgroup_keys): Remove unused variable.
40421 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40423 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40425 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40426 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40428 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40429 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40430 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40431 * math/Makefile (libm-calls): Add s_isinf_ns.
40432 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40433 * math/multc3.c: Likewise.
40434 * math/s_casin.c: Likewise.
40435 * math/s_casinf.c: Likewise.
40436 * math/s_casinl.c: Likewise.
40437 * math/s_ccos.c: Likewise.
40438 * math/s_ccosf.c: Likewise.
40439 * math/s_ccosl.c: Likewise.
40440 * math/s_ctan.c: Likewise.
40441 * math/s_ctanf.c: Likewise.
40442 * math/s_ctanh.c: Likewise.
40443 * math/s_ctanhf.c: Likewise.
40444 * math/s_ctanhl.c: Likewise.
40445 * math/s_ctanl.c: Likewise.
40446 * math/w_fmod.c: Likewise.
40447 * math/w_fmodf.c: Likewise.
40448 * math/w_fmodl.c: Likewise.
40449 * math/w_remainder.c: Likewise.
40450 * math/w_remainderf.c: Likewise.
40451 * math/w_remainderl.c: Likewise.
40452 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40453 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40454 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40456 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40457 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40458 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40459 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40461 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40463 * stdio-common/printf_fphex.c: Likewise.
40464 * stdio-common/printf_size.c: Likewise.
40466 * math/e_exp10.c: Include math_private.h using <...> not "...".
40467 * math/e_exp10f.c: Likewise.
40468 * math/e_exp10l.c: Likewise.
40469 * math/e_exp2l.c: Likewise.
40470 * math/e_j0l.c: Likewise.
40471 * math/e_j1l.c: Likewise.
40472 * math/e_jnl.c: Likewise.
40473 * math/e_lgammal_r.c: Likewise.
40474 * math/e_rem_pio2l.c: Likewise.
40475 * math/e_scalb.c: Likewise.
40476 * math/e_scalbf.c: Likewise.
40477 * math/e_scalbl.c: Likewise.
40478 * math/k_cosl.c: Likewise.
40479 * math/k_sinl.c: Likewise.
40480 * math/k_tanl.c: Likewise.
40481 * math/s_cacoshf.c: Likewise.
40482 * math/s_catan.c: Likewise.
40483 * math/s_catanf.c: Likewise.
40484 * math/s_catanh.c: Likewise.
40485 * math/s_catanhf.c: Likewise.
40486 * math/s_catanhl.c: Likewise.
40487 * math/s_catanl.c: Likewise.
40488 * math/s_ccosh.c: Likewise.
40489 * math/s_ccoshf.c: Likewise.
40490 * math/s_ccoshl.c: Likewise.
40491 * math/s_cexp.c: Likewise.
40492 * math/s_cexpf.c: Likewise.
40493 * math/s_cexpl.c: Likewise.
40494 * math/s_clog.c: Likewise.
40495 * math/s_clog10.c: Likewise.
40496 * math/s_clog10f.c: Likewise.
40497 * math/s_clog10l.c: Likewise.
40498 * math/s_clogf.c: Likewise.
40499 * math/s_clogl.c: Likewise.
40500 * math/s_csin.c: Likewise.
40501 * math/s_csinf.c: Likewise.
40502 * math/s_csinh.c: Likewise.
40503 * math/s_csinhf.c: Likewise.
40504 * math/s_csinhl.c: Likewise.
40505 * math/s_csinl.c: Likewise.
40506 * math/s_csqrt.c: Likewise.
40507 * math/s_csqrtf.c: Likewise.
40508 * math/s_csqrtl.c: Likewise.
40509 * math/s_ctan.c: Likewise.
40510 * math/s_ctanf.c: Likewise.
40511 * math/s_ctanh.c: Likewise.
40512 * math/s_ctanhf.c: Likewise.
40513 * math/s_ctanhl.c: Likewise.
40514 * math/s_ctanl.c: Likewise.
40515 * math/s_ldexp.c: Likewise.
40516 * math/s_ldexpf.c: Likewise.
40517 * math/s_ldexpl.c: Likewise.
40518 * math/s_significand.c: Likewise.
40519 * math/s_significandf.c: Likewise.
40520 * math/s_significandl.c: Likewise.
40521 * math/w_acos.c: Likewise.
40522 * math/w_acosf.c: Likewise.
40523 * math/w_acosh.c: Likewise.
40524 * math/w_acoshf.c: Likewise.
40525 * math/w_acoshl.c: Likewise.
40526 * math/w_acosl.c: Likewise.
40527 * math/w_asin.c: Likewise.
40528 * math/w_asinf.c: Likewise.
40529 * math/w_asinl.c: Likewise.
40530 * math/w_atan2.c: Likewise.
40531 * math/w_atan2f.c: Likewise.
40532 * math/w_atan2l.c: Likewise.
40533 * math/w_atanh.c: Likewise.
40534 * math/w_atanhf.c: Likewise.
40535 * math/w_atanhl.c: Likewise.
40536 * math/w_cosh.c: Likewise.
40537 * math/w_coshf.c: Likewise.
40538 * math/w_coshl.c: Likewise.
40539 * math/w_dremf.c: Likewise.
40540 * math/w_exp10.c: Likewise.
40541 * math/w_exp10f.c: Likewise.
40542 * math/w_exp10l.c: Likewise.
40543 * math/w_exp2.c: Likewise.
40544 * math/w_exp2f.c: Likewise.
40545 * math/w_fmod.c: Likewise.
40546 * math/w_fmodf.c: Likewise.
40547 * math/w_fmodl.c: Likewise.
40548 * math/w_hypot.c: Likewise.
40549 * math/w_hypotf.c: Likewise.
40550 * math/w_hypotl.c: Likewise.
40551 * math/w_j0.c: Likewise.
40552 * math/w_j0f.c: Likewise.
40553 * math/w_j0l.c: Likewise.
40554 * math/w_j1.c: Likewise.
40555 * math/w_j1f.c: Likewise.
40556 * math/w_j1l.c: Likewise.
40557 * math/w_jn.c: Likewise.
40558 * math/w_jnf.c: Likewise.
40559 * math/w_jnl.c: Likewise.
40560 * math/w_lgamma.c: Likewise.
40561 * math/w_lgamma_r.c: Likewise.
40562 * math/w_lgammaf.c: Likewise.
40563 * math/w_lgammaf_r.c: Likewise.
40564 * math/w_lgammal.c: Likewise.
40565 * math/w_lgammal_r.c: Likewise.
40566 * math/w_log.c: Likewise.
40567 * math/w_log10.c: Likewise.
40568 * math/w_log10f.c: Likewise.
40569 * math/w_log10l.c: Likewise.
40570 * math/w_log2.c: Likewise.
40571 * math/w_log2f.c: Likewise.
40572 * math/w_log2l.c: Likewise.
40573 * math/w_logf.c: Likewise.
40574 * math/w_logl.c: Likewise.
40575 * math/w_pow.c: Likewise.
40576 * math/w_powf.c: Likewise.
40577 * math/w_powl.c: Likewise.
40578 * math/w_remainder.c: Likewise.
40579 * math/w_remainderf.c: Likewise.
40580 * math/w_remainderl.c: Likewise.
40581 * math/w_scalb.c: Likewise.
40582 * math/w_scalbf.c: Likewise.
40583 * math/w_scalbl.c: Likewise.
40584 * math/w_sinh.c: Likewise.
40585 * math/w_sinhf.c: Likewise.
40586 * math/w_sinhl.c: Likewise.
40587 * math/w_sqrt.c: Likewise.
40588 * math/w_sqrtf.c: Likewise.
40589 * math/w_sqrtl.c: Likewise.
40590 * math/w_tgamma.c: Likewise.
40591 * math/w_tgammaf.c: Likewise.
40592 * math/w_tgammal.c: Likewise.
40594 * po/ja.po: Update from translation team.
40596 2011-09-29 Andreas Jaeger <aj@suse.de>
40599 * sunrpc/netname.c (netname2host): Fix logic.
40603 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40605 * math/w_remainder.c (__remainder): Likewise.
40606 * math/w_remainderf.c (__remainderf): Likewise.
40607 * math/libm-test.inc (remainder_test): Add test cases.
40609 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40611 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40614 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40616 * string/test-memcmp.c: Avoid unncessary #defines.
40617 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40619 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40621 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40622 Use new sse2 version for core i3 - i7 as it's faster
40623 than sse42 version.
40624 (bit_Prefer_PMINUB_for_stringop): New.
40625 * sysdeps/x86_64/rawmemchr.S: Update.
40626 Replace with faster SSE2 version.
40627 * sysdeps/x86_64/memrchr.S: New file.
40628 * sysdeps/x86_64/memchr.S: Update.
40629 Replace with faster SSE2 version.
40631 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40633 * elf/dl-load.c (lose): Add cast to avoid warning.
40635 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40637 * po/ca.po: Update from translation team.
40639 * inet/getnetgrent_r.c: Hook up nscd.
40640 * nscd/Makefile (routines): Add nscd_netgroup.
40641 (nscd-modules): Add netgroupcache.
40642 (CFLAGS-netgroupcache.c): Define.
40643 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40644 (cache_search): Add const to second parameter.
40645 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40647 (dbs): Add netgrdb entry.
40648 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40649 (verify_persistent_db): Handle netgrdb.
40650 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40651 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40653 (netgroup_response_header): Define.
40654 (innetgroup_response_header): Define.
40655 (datahead): Add netgroup_response_header and innetgroup_response_header
40657 * nscd/nscd.conf: Add entries for netgroup cache.
40658 * nscd/nscd.h (dbtype): Add netgrdb.
40659 (_PATH_NSCD_NETGROUP_DB): Define.
40660 (netgroup_iov_disabled): Declare.
40661 (xmalloc, xcalloc, xrealloc): Move declarations here.
40662 (cache_search): Adjust prototype.
40663 Add netgroup-related prototypes.
40664 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40665 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40666 (__nscd_innetgr): Declare.
40667 * nscd/selinux.c (perms): Use access_vector_t as element type and
40668 add netgroup-related initializers.
40669 * nscd/netgroupcache.c: New file.
40670 * nscd/nscd_netgroup.c: New file.
40671 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40672 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40673 For four parameters use innetgr.
40674 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40675 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40676 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40677 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40679 * nscd/connections.c (register_traced_file): Don't register file
40680 for disabled databases.
40682 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40684 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40686 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40687 from tree and freeing node.
40689 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40691 * nss/nsswitch.c (__nss_database_lookup): Handle
40692 nss_parse_service_list out of memory case.
40694 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40696 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40697 out of memory case.
40699 2011-10-04 Andreas Schwab <schwab@redhat.com>
40701 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40702 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40704 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40705 elf_machine_rela, elf_machine_lazy_rel.
40706 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40707 (ELF_DYNAMIC_DO_REL): Likewise.
40708 (ELF_DYNAMIC_DO_RELA): Likewise.
40709 (ELF_DYNAMIC_RELOCATE): Likewise.
40710 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40711 to ELF_DYNAMIC_DO_REL.
40712 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40713 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40714 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40716 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40717 skip_ifunc, don't call ifunc function if non-zero.
40718 (elf_machine_rela): Likewise.
40719 (elf_machine_lazy_rel): Likewise.
40720 (elf_machine_lazy_rela): Likewise.
40721 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40722 (elf_machine_lazy_rel): Likewise.
40723 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40725 (elf_machine_lazy_rel): Likewise.
40726 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40728 (elf_machine_lazy_rel): Likewise.
40729 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40730 (elf_machine_lazy_rel): Likewise.
40731 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40732 (elf_machine_lazy_rel): Likewise.
40733 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40734 (elf_machine_lazy_rel): Likewise.
40735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40736 (elf_machine_lazy_rel): Likewise.
40737 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40738 (elf_machine_lazy_rel): Likewise.
40739 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40740 (elf_machine_lazy_rel): Likewise.
40742 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40744 * nss/nss_files/files-init.c (_nss_files_init): Use static
40745 initialization for all the *_traced_file variables.
40747 2011-09-28 Andreas Schwab <schwab@redhat.com>
40749 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40751 2011-09-27 Roland McGrath <roland@hack.frob.com>
40754 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40756 2011-09-27 Andreas Schwab <schwab@redhat.com>
40758 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40759 Reread the line before reparsing it.
40761 2011-09-26 Andreas Schwab <schwab@redhat.com>
40763 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40765 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40766 Maxim Kuvyrkov <maxim@codesourcery.com>
40767 Joseph Myers <joseph@codesourcery.com>
40769 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40770 if needed for __stack_chk_guard.
40772 2011-09-19 Roland McGrath <roland@hack.frob.com>
40774 * sysdeps/posix/spawni.c (script_execute): Always define it.
40775 It will be optimized away if unused.
40776 (maybe_script_execute): New function.
40777 (__spawni): Call it.
40779 * Makerules: Don't include tls.make.
40780 (config-tls): Always set to thread.
40781 * tls.make.c: File removed.
40783 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40785 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40786 * config.make.in (CPPFLAGS-config): New substituted variable.
40788 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40790 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40793 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40794 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40796 2011-09-15 Roland McGrath <roland@hack.frob.com>
40798 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40799 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40801 (CALL_FAIL): Likewise.
40802 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40803 (CALL_FAIL): Macro removed.
40804 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40806 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40808 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40809 for __FINITE_MATH_ONLY__ == 1.
40811 2011-09-15 Andreas Schwab <schwab@redhat.com>
40813 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40814 __ieee754_sqrt instead of sqrt.
40815 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40816 __ieee754_sqrtf instead of sqrtf.
40817 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40818 __floorf instead of floorf.
40819 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40820 __floorf, __truncf instead of floorf, truncf.
40822 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40824 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40826 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40827 __extern_always_inline.
40828 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40831 2011-09-14 Andreas Schwab <schwab@redhat.com>
40833 * elf/rtld.c (dl_main): Also relocate in dependency order when
40834 doing symbol dependency testing.
40836 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40838 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40839 Always define `refsym'.
40841 2011-09-13 Andreas Schwab <schwab@redhat.com>
40843 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40844 (__FD_ELT): Renamed from __FDELT.
40845 * misc/bits/select2.h (__FD_ELT): Likewise.
40846 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40847 __FD_MASK instead of __FDELT, __FDMASK.
40848 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40850 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40853 * elf/Makefile (gen-ldd): Fix pattern.
40855 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40856 (init_tls): Likewise.
40858 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40862 2011-09-12 Andreas Schwab <schwab@redhat.com>
40864 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40865 `struct cmsghdr *' instead of `void *'.
40866 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40869 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40871 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40873 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40874 ldd_rewrite_script.
40876 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40878 * configure.in: Remove --with-tls option.
40879 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40880 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40881 out in case it is missing.
40882 * sysdeps/ia64/elf/configure.in: Likewise.
40883 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40884 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40885 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40886 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40887 * sysdeps/sh/elf/configure.in: Likewise.
40888 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40889 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40890 * sysdeps/x86_64/elf/configure.in: Likewise.
40891 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40892 * sysdeps/mach/hurd/tls.h: Likewise.
40895 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40898 * configure.in: Fix use of AC_INIT.
40900 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40902 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40904 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40906 * malloc/hooks.c: Likewise.
40909 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40910 variables statically.
40911 (narenas): Initialize.
40912 (list_lock): Initialize.
40913 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40914 initializtion of main_arena and list_lock. Small cleanups.
40915 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40916 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40917 Add initializers to main_arena and mp_.
40918 (malloc_state): Remove pagesize member. Change all users to use
40921 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40922 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40923 is always initialized.
40925 * malloc/malloc.c: Removed unused configurations and dead code.
40926 * malloc/arena.c: Likewise.
40927 * malloc/hooks.c: Likewise.
40928 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40930 * include/tls.h: Removed. USE___THREAD must always be defined.
40931 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40932 * elf/dl-libc.c: Likewise.
40933 * elf/dl-tsd.c: Likewise.
40934 * include/errno.h: Likewise.
40935 * include/netdb.h: Likewise.
40936 * include/resolv.h: Likewise.
40937 * inet/herrno-loc.c: Likewise.
40938 * inet/herrno.c: Likewise.
40939 * malloc/arena.c: Likewise.
40940 * malloc/hooks.c: Likewise.
40941 * malloc/malloc.c: Likewise.
40942 * resolv/res-state.c: Likewise.
40943 * resolv/res_libc.c: Likewise.
40944 * sysdeps/i386/dl-machine.h: Likewise.
40945 * sysdeps/ia64/dl-machine.h: Likewise.
40946 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40947 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40948 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40949 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40950 * sysdeps/sh/dl-machine.h: Likewise.
40951 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40952 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40953 * sysdeps/unix/i386/sysdep.S: Likewise.
40954 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40955 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40960 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40964 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40965 * sysdeps/x86_64/dl-machine.h: Likewise.
40966 * tls.make.c: Likewise.
40968 * configure.in: Remove --with-__thread option. Make tests for
40969 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40970 tls_model attribute fail if no support is available. Remove
40972 * Makeconfig: Adjust for dropped configure option. All features are
40974 * Makerules: Likewise.
40975 * Versions.def: Likewise.
40976 * argp/argp-fmtstream.c: Likewise.
40977 * argp/argp-fmtstream.h: Likewise.
40978 * argp/argp-help.c: Likewise.
40979 * assert/assert.c: Likewise.
40980 * config.h.in: Likewise.
40981 * config.make.in: Likewise.
40982 * configure: Likewise.
40983 * configure.in: Likewise.
40984 * csu/Versions: Likewise.
40985 * csu/init.c: Likewise.
40986 * elf/tst-audit2.c: Likewise.
40987 * elf/tst-tls10.c: Likewise.
40988 * elf/tst-tls10.h: Likewise.
40989 * elf/tst-tls11.c: Likewise.
40990 * elf/tst-tls12.c: Likewise.
40991 * elf/tst-tls14.c: Likewise.
40992 * elf/tst-tlsmod11.c: Likewise.
40993 * elf/tst-tlsmod12.c: Likewise.
40994 * elf/tst-tlsmod13.c: Likewise.
40995 * elf/tst-tlsmod13a.c: Likewise.
40996 * elf/tst-tlsmod14a.c: Likewise.
40997 * elf/tst-tlsmod15b.c: Likewise.
40998 * elf/tst-tlsmod16a.c: Likewise.
40999 * elf/tst-tlsmod16b.c: Likewise.
41000 * elf/tst-tlsmod7.c: Likewise.
41001 * elf/tst-tlsmod8.c: Likewise.
41002 * elf/tst-tlsmod9.c: Likewise.
41003 * gmon/gmon.c: Likewise.
41004 * grp/fgetgrent_r.c: Likewise.
41005 * grp/putgrent.c: Likewise.
41006 * hurd/fopenport.c: Likewise.
41007 * include/libc-symbols.h: Likewise.
41008 * include/tls.h: Likewise.
41009 * intl/gettextP.h: Likewise.
41010 * intl/loadinfo.h: Likewise.
41011 * locale/global-locale.c: Likewise.
41012 * locale/localeinfo.h: Likewise.
41013 * mach/devstream.c: Likewise.
41014 * malloc/arena.c: Likewise.
41015 * malloc/set-freeres.c: Likewise.
41016 * misc/err.c: Likewise.
41017 * misc/getttyent.c: Likewise.
41018 * misc/mntent_r.c: Likewise.
41019 * posix/getopt.c: Likewise.
41020 * posix/wordexp.c: Likewise.
41021 * pwd/fgetpwent_r.c: Likewise.
41022 * resolv/Versions: Likewise.
41023 * resolv/res_hconf.c: Likewise.
41024 * shadow/fgetspent_r.c: Likewise.
41025 * shadow/putspent.c: Likewise.
41026 * stdio-common/printf_fphex.c: Likewise.
41027 * stdio-common/tmpfile.c: Likewise.
41028 * stdlib/abort.c: Likewise.
41029 * stdlib/fmtmsg.c: Likewise.
41030 * sunrpc/auth_unix.c: Likewise.
41031 * sunrpc/clnt_perr.c: Likewise.
41032 * sunrpc/clnt_tcp.c: Likewise.
41033 * sunrpc/clnt_udp.c: Likewise.
41034 * sunrpc/clnt_unix.c: Likewise.
41035 * sunrpc/openchild.c: Likewise.
41036 * sunrpc/svc_simple.c: Likewise.
41037 * sunrpc/svc_tcp.c: Likewise.
41038 * sunrpc/svc_udp.c: Likewise.
41039 * sunrpc/svc_unix.c: Likewise.
41040 * sunrpc/xdr.c: Likewise.
41041 * sunrpc/xdr_array.c: Likewise.
41042 * sunrpc/xdr_rec.c: Likewise.
41043 * sunrpc/xdr_ref.c: Likewise.
41044 * sunrpc/xdr_stdio.c: Likewise.
41046 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41048 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41050 2011-07-03 Andreas Jaeger <aj@suse.de>
41052 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41053 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41054 regenerate with gen-libm-tests.pl.
41056 2010-05-12 Petr Baudis <pasky@suse.cz>
41059 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41060 around j0() zero points by switching to j1().
41061 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41064 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41066 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41068 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41070 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41073 Patch in part by Pavel Roskin <proski@gnu.org>.
41076 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41078 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41079 Free memory block if necessary.
41082 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41083 be NULL. Don't lock in this case.
41085 2011-09-09 Roland McGrath <roland@hack.frob.com>
41087 * elf/elf.h (ELFOSABI_GNU): New macro.
41088 (ELFOSABI_LINUX): Define to that.
41090 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41092 * string/strncat.c (strncat): Undef the symbol in case it has been
41093 defined in bits/string.h.
41095 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41097 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41099 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41102 2011-08-17 Andreas Jaeger <aj@suse.de>
41104 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41106 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41107 Ian Lance Taylor <iant@google.com>
41109 * math/libm-test.inc (lround_test): New testcase.
41110 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41112 2011-09-08 Ulrich Drepper <drepper@gmail.com>
41114 * Makefile: Remove support for automatic cvs check-ins.
41115 * Makerules: Likewise.
41116 * config.make.in: Likewise.
41117 * configure.in: Likewise.
41118 * intl/Makefile: Likewise.
41119 * locale/Makefile: Likewise.
41120 * po/Makefile: Likewise.
41121 * posix/Makefile: Likewise.
41122 * sysdeps/gnu/Makefile: Likewise.
41123 * sysdeps/mach/hurd/Makefile: Likewise.
41124 * sysdeps/sparc/sparc32/Makefile: Likewise.
41127 * posix/Makefile (bug-regex32-ENV): Define.
41128 Patch by John Stanley <jpsinthemix@verizon.net>.
41130 * misc/Makefile (headers): Add bits/select2.h.
41131 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41132 * misc/bits/select2.h: New file.
41133 * include/bits/select2.h: New file.
41134 * debug/Makefile (routines): Add fdelt_chk.
41135 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41136 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41138 * debug/fdelt_chk.c: New file.
41140 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41141 * wcsmbs/test-wmemcmp.c: Likewise.
41142 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41143 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41145 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41147 * string/Makefile (strop-tests): Add memcmp.
41148 * string/test-wmemcmp.c: New file.
41149 * string/test-memcmp.c: Add wmemcmp support.
41151 2011-09-08 Roland McGrath <roland@hack.frob.com>
41154 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41157 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41158 garbage value in a __mach_port_mod_refs call in the cases of the
41159 task-self and thread-self ports.
41161 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41163 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41165 2011-09-08 Andreas Schwab <schwab@redhat.com>
41167 * elf/dl-load.c (lose): Check for non-null L.
41169 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41171 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41173 * elf/dl-libc.c (dlerror_run): Pass back error code from
41177 * elf/dl-load.c (lose): Free l_origin if it is valid.
41179 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41181 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41182 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41183 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41184 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41185 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41186 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41188 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41190 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41191 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41192 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41193 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41194 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41195 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41196 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41197 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41198 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41199 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41201 2011-08-15 Alan Modra <amodra@gmail.com>
41204 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41205 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41206 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41207 ppc_mcount to static-only-routines.
41208 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41210 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41211 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41213 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41215 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41216 for finite and infinity parameters.
41218 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41220 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41221 and add nop instructions for throughput optimization.
41222 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41224 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41226 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41227 aligned copy for power7 with vector-scalar instructions.
41228 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41230 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41232 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41235 2011-09-07 Andreas Schwab <schwab@redhat.com>
41238 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41241 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41243 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41244 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41245 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41246 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41249 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41251 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41252 Forgot to demangle the pointer.
41254 * sysdeps/i386/sysdep.h: Define atom_text_section.
41255 * sysdeps/x86_64/sysdep.h: Likewise.
41256 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41257 section with atom_text_section.
41258 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41259 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41260 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41261 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41262 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41264 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41265 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41266 already be defined. Change to take two parameters and don't assign
41267 result to variable. Adjust all users.
41268 Define INTERNAL_GETTIME if not already defined.
41269 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41272 HAVE_CLOCK_GETTIME_VSYSCALL.
41273 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41276 gettimeofday vsyscall, just use time.
41278 2011-09-06 Andreas Schwab <schwab@redhat.com>
41280 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41283 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41285 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41289 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41290 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41291 syscall if possible.
41293 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41295 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41296 e_ident. Don't pass to find_mapsXX.
41297 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41299 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41302 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41303 * sysdeps/x86_64/multiarch/strchr.S: Update.
41304 Check bit_slow_BSF bit.
41305 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41306 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41307 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41309 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41312 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41314 (tryshell): Define.
41315 (__spawni): Change last parameter to be flag. Test
41316 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41317 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41318 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41319 * posix/spawni.c: Likewise.
41320 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41321 * posix/spawnp.c: Likewise. Change normal version to use
41322 SPAWN_XFLAGS_USE_PATH.
41323 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41324 SPAWN_XFLAGS_TRY_SHELL.
41327 * posix/glob.h: Remove gcc 1.x support.
41330 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41332 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41335 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41337 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41338 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41339 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41340 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41341 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41342 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41344 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41346 * sysdeps/x86_64/wcscmp.S: New file.
41348 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41349 wcscmp-c wcscmp-sse2
41350 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41351 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41352 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41353 * wcsmbs/wcscmp.c: Allow renaming.
41355 2011-09-05 David S. Miller <davem@davemloft.net>
41357 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41358 stack slot, rather than the struct return pointer slot.
41359 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41360 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41362 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41364 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41366 * po/ja.po: Update from translation team.
41369 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41370 kernel in 64-bit binaries.
41372 2011-09-01 David S. Miller <davem@davemloft.net>
41374 * elf/elf.h (HWCAP_SPARC_*): Move to..
41375 * sysdeps/sparc/sysdep.h: this new file and add new values.
41376 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41377 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41378 _DL_HWCAP_COUNT to 24.
41379 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41381 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41382 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41383 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41384 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41385 instead of magic constants.
41386 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41388 2011-08-31 David S. Miller <davem@davemloft.net>
41390 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41392 Reimplement to do errno handling inline.
41393 (SYSCALL_ERROR_HANDLER): New macro.
41394 (__SYSCALL_STRING): Do not do errno handling in asm.
41395 (__CLONE_SYSCALL_STRING): Delete.
41396 (__INTERNAL_SYSCALL_STRING): Delete.
41397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41398 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41399 (PSEUDO): Reimplement to do errno handling inline.
41400 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41401 (SYSCALL_ERROR_HANDLER): New macro.
41402 (__SYSCALL_STRING): Do not do errno handling in asm.
41403 (__CLONE_SYSCALL_STRING): Delete.
41404 (__INTERNAL_SYSCALL_STRING): Delete.
41405 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41406 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41408 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41409 (inline_syscall*): Add 'err' argument.
41410 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41411 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41412 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41413 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41415 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41416 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41418 2011-08-30 Andreas Schwab <schwab@redhat.com>
41420 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41422 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41424 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41427 2011-08-24 David S. Miller <davem@davemloft.net>
41429 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41431 2011-08-24 Andreas Schwab <schwab@redhat.com>
41433 * elf/Makefile: Add rules to build and run unload8 test.
41434 * elf/unload8.c: New file.
41435 * elf/unload8mod1.c: New file.
41436 * elf/unload8mod1x.c: New file.
41437 * elf/unload8mod2.c: New file.
41438 * elf/unload8mod3.c: New file.
41440 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41443 2011-08-23 David S. Miller <davem@davemloft.net>
41445 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41446 subtract stack bias.
41447 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41448 %sp not %fp in calculations.
41449 (_JMPBUF_UNWINDS_ADJ): Likewise.
41451 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41452 (aio_suspend): Call it to force an exception region around the
41453 AIO_MISC_WAIT() invocation.
41455 2011-08-23 Andreas Schwab <schwab@redhat.com>
41457 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41460 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41462 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41464 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41465 and <dl-machine.h>.
41466 (Elf64_FuncDesc): Remove.
41468 2011-08-22 David S. Miller <davem@davemloft.net>
41470 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41471 sigaltstack check, add missing cfi directives.
41472 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41473 missing cfi directives, and sigaltstack handling.
41475 2011-08-16 Andreas Schwab <schwab@redhat.com>
41478 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41479 object is seen twice.
41480 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41482 * elf/Makefile (distribute): Add tst-initorder2.c.
41483 (tests): Add tst-initorder2.
41484 (modules-names): Add tst-initorder2a tst-initorder2b
41485 tst-initorder2c tst-initorder2d. Add rules to build them.
41486 ($(objpfx)tst-initorder2.out): New rule.
41487 * elf/tst-initorder2.c: New file.
41488 * elf/tst-initorder2.exp: New file.
41490 2011-08-22 Andreas Schwab <schwab@redhat.com>
41492 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41494 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41495 dependencies back to end of function.
41497 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41498 $(elfobjdir)/ld.so.
41500 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41502 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41503 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41504 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41505 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41506 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41507 of __vdso_gettimeofday.
41508 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41509 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41511 (_libc_vdso_platform_setup): Remove initialization of
41512 __vdso_gettimeofday and __vdso_time.
41514 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41516 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41517 and fgetc_unlocked.
41518 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41521 * elf/dl-open.c (add_to_global): Report additions to the global scope
41522 for LD_DEBUG=scopes.
41523 (dl_open_worker): Also print scope of newly loaded dependencies.
41524 (_dl_show_scope): Indicate if there is no scope.
41527 * stdio-common/Makefile (tests): Add bug24.
41528 * stdio-common/bug24.c: New file.
41530 2011-08-19 Andreas Jaeger <aj@suse.de>
41533 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41534 non-existant file when using close-on-exec mode.
41536 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41539 the very first instruction.
41541 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41542 the CFI state in the end.
41543 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41544 inclusion of dl-trampoline.h.
41545 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41547 2011-08-19 Andreas Schwab <schwab@redhat.com>
41549 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41550 expectations for long double.
41552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41553 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41555 2011-08-14 David S. Miller <davem@davemloft.net>
41557 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41558 artificual limit depends upon the system page size.
41560 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41562 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41563 * resolv/Makefile: Define CFLAGS-libresolv.
41565 2011-08-17 Andreas Schwab <schwab@redhat.com>
41567 * nss/makedb.c (compute_tables): Make variables used in nested
41570 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41572 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41573 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41574 if buffer was too small.
41576 * elf/pldd.c (main): Attach to all threads in the process.
41577 Rewrite /proc handling to use *at functions.
41579 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41581 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41582 specifies first scope to show.
41583 (dl_open_worker): Update callers. Move printing scope of new
41584 object to before the relocation.
41585 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41586 * sysdeps/generic/ldsodefs.h: Update declaration.
41588 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41589 string for the scope number.
41591 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41593 * nscd/servicescache.c (cache_addserv): Make sure written is always
41596 2011-08-14 Roland McGrath <roland@hack.frob.com>
41598 * sysdeps/i386/i486/bits/atomic.h
41599 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41600 statement expression, so as to suppress "set but not used" warning.
41601 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41603 * string/strncat.c (STRNCAT): Use prototype definition.
41605 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41606 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41608 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41609 (localedef-modules): Add localedef.
41610 (locale-modules): Add locale.
41612 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41613 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41614 to avoid a warning.
41616 2011-08-14 David S. Miller <davem@davemloft.net>
41618 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41619 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41621 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41623 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41624 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41625 * elf/rtld.c (dl_main): Set l_name of vDSO.
41626 Call _dl_show_scope when DL_DEBUG_SCOPES.
41627 (process_dl_debug): Recognize scopes flag and also set it for all.
41628 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41629 Declare _dl_show_scope.
41631 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41632 (do_dlopen): Pass caller_dlopen to dl_open.
41633 (__libc_dlopen_mode): Initialize caller_dlopen.
41635 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41636 of libc. Make tolower call locale-independent. Optimize a bit by
41637 using isdigit instead of isalnum.
41638 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41640 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41642 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41643 was a dependency or dynamically loaded.
41645 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41647 * intl/l10nflist.c: Allow architecture-specific pop function.
41648 * sysdeps/x86_64/l10nflist.c: New file.
41650 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41653 2011-08-10 Andreas Schwab <schwab@redhat.com>
41655 * include/dirent.h: Add libc_hidden_proto for scandirat and
41656 scandirat64. Don't declare __scandirat64.
41657 * dirent/scandirat.c: Add libc_hidden_def.
41658 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41659 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41661 2011-08-10 David S. Miller <davem@davemloft.net>
41663 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41665 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41669 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41671 * Versions.def [libc]: Add GLIBC_2.15.
41672 * dirent/Makefile (routines): Add scandirat and scandirat64.
41673 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41675 * dirent/dirent.h: Declare scandirat and scandirat64.
41676 * dirent/scandirat.c: New file.
41677 * dirent/scandirat64.c: New file.
41678 * sysdeps/wordsize-64/scandirat.c: New file.
41679 * sysdeps/wordsize-64/scandirat64.c: New file.
41680 * dirent/opendir.c: Define opendirat.
41681 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41683 * dirent/scandir64.c: Adjust for scandir.c change.
41684 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41685 __scandirat64, and __scandir_cancel_handler.
41686 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41687 additional parameter and use openat instead of open (outside of ld.so).
41688 Add new __opendir as wrapper around __opendirat.
41689 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41690 here without requiring old scandirat implementation.
41692 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41694 * dirent/scandir.c (cancel_handler): Renamed to
41695 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41696 defined. Adjust users.
41697 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41698 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41700 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41702 * string/test-string.h (IMPL): Use __STRING to expand name and then
41705 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41708 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41710 * string/Makefile: Update.
41711 (strop-tests): Append strncat.
41712 * string/test-wcscmp.c: New file.
41713 New comprehensive test for wcscmp.
41714 * string/test-strcmp.c: Update.
41715 (WIDE): New define.
41717 2011-07-22 Andreas Schwab <schwab@redhat.com>
41719 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41722 2011-07-26 Andreas Schwab <schwab@redhat.com>
41724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41725 encoding to ACE if AI_IDN.
41727 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41729 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41730 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41732 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41734 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41735 Fix overflow bug in strncat.
41736 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41738 * string/test-strncat.c: Update.
41739 Add new tests for checking overflow bugs.
41741 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41744 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41745 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41746 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41747 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41748 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41749 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41750 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41751 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41753 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41754 (USE_AS_STRCAT): Define.
41755 Add strcat and strncat support.
41756 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41758 2011-07-25 Andreas Schwab <schwab@redhat.com>
41760 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41761 __n bigger than INT_MAX+1.
41762 (__strncmp_g): Likewise.
41764 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41766 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41767 * libio/stido.h: Likewise.
41769 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41774 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41775 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41776 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41777 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41778 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41781 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41784 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41786 (_dl_x86_64_save_sse): Likewise.
41788 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41790 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41792 (_dl_x86_64_save_sse): Likewise.
41794 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41796 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41798 2011-07-21 Andreas Schwab <schwab@redhat.com>
41800 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41802 (_dl_x86_64_save_sse): Use correct AVX check.
41804 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41806 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41807 bug in strncpy/strncat.
41808 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41810 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41812 * string/tester.c (test_strcat): Add tests for different alignments
41813 of source and destination.
41814 (test_strncat): Likewise.
41816 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41819 * posix/glob.c (glob): Check passed in values before using them in
41820 expressions to avoid some overflows.
41821 (glob_in_dir): Likewise.
41824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41825 check for AVX enablement so that we don't crash with old kernels and
41827 * elf/tst-audit4.c: Add same checks here.
41828 * elf/tst-audit6.c: Likewise.
41830 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41832 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41834 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41836 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41838 * po/cs.po: Update from translation team.
41839 * po/bg.po: Likewise.
41841 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41843 * misc/sys/cdefs.h: Add support for const attribute.
41844 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41845 to gnu_dev_{major,minor,makedev} functions.
41847 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41849 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41851 2011-07-20 Andreas Schwab <schwab@redhat.com>
41853 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41856 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41859 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41860 register in order to avoid conflicts with the soft frame pointer
41861 being held in r11 when necessary.
41862 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41863 (INTERNAL_VSYSCALL_NCS): Likewise.
41865 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41867 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41868 * elf/dl-fini.c (_dl_fini): Adjust caller.
41869 * elf/dl-close.c (_dl_close_worker): Likewise.
41870 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41872 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41874 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41875 "aux_cache->nlibs < 0".
41877 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41878 in the reload-count case.
41880 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41883 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41884 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41885 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41886 * sysdeps/x86_64/multiarch/strcat.S: New file.
41887 * sysdeps/x86_64/multiarch/strncat.S: New file.
41888 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41889 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41890 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41891 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41892 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41893 (USE_AS_STRCAT): Define.
41894 Add strcat and strncat support.
41895 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41896 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41897 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41898 * string/strncat.c: Update.
41899 (USE_AS_STRNCAT): Define.
41900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41901 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41903 * sysdeps/x86_64/multiarch/init-arch.h
41904 (bit_Prefer_PMINUB_for_stringop): New.
41905 (index_Prefer_PMINUB_for_stringop): Likewise.
41906 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41907 bit_Prefer_PMINUB_for_stringop.
41909 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41911 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41913 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41914 of casting of buffer.
41915 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41916 buffer32 and buffer64.
41917 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41918 writes instead of casting of buffer.
41919 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41921 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41924 2011-07-19 Andreas Schwab <schwab@redhat.com>
41926 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41928 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41930 * nscd/nscd.c (termination_handler): Don't do anything for a database
41931 if it has not yet been initialized.
41933 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41935 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41937 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41939 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41941 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41943 * po/nl.po: Update from translation team.
41944 * po/sv.po: Likewise.
41946 2011-07-16 Roland McGrath <roland@hack.frob.com>
41948 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41949 now disallowed by GCC.
41951 * configure.in (use-default-link): Default to yes if a test -shared
41952 link meets our qualifications.
41953 * configure: Regenerated.
41955 * config.make.in (output-format): New variable.
41956 * configure.in: Check for ld --print-output-format support.
41957 * configure: Regenerated.
41958 * Makerules ($(common-objpfx)format.lds)
41959 [$(output-format) != unknown]: Just use $(output-format),
41960 instead of the linker-script munging.
41962 2011-07-14 Roland McGrath <roland@hack.frob.com>
41964 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41965 of $(common-objpfx)shlib.lds.
41966 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41968 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41969 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41971 * configure.in (-z relro check): Adjust test code to add a large
41972 writable data section after it.
41973 * configure: Regenerated.
41975 2011-07-11 Roland McGrath <roland@hack.frob.com>
41977 * configure.in (-z relro check): Fix test code to make the variable
41979 * configure: Regenerated.
41981 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41983 * nscd/nscd.h (struct traced_file): Define.
41984 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41985 elements. Add traced_files.
41986 (inotify_fd): Declare.
41987 (register_traced_file): Declare.
41988 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41989 (inotify_fd): Export.
41990 (resolv_conf_descr): Remove.
41991 (nscd_init): Move inotify descriptor creation to main.
41992 Don't register files for notification here.
41993 (register_traced_file): New function.
41994 (invalidate_cache): Don't use reset_res to determine whether to call
41995 res_init, go through the list of registered files.
41996 (main_loop_poll): The inotify descriptors are now stored in the
41997 structures for the traced files.
41998 (main_loop_epoll): Likewise
41999 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42000 to __nss_disable_nscd.
42001 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42002 for a database anymore. Check the records for all the registered
42004 * nss/Makefile (libnss_files-routines): Add files-init.
42005 (libnss_db-routines): Add db-init.
42006 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42007 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42008 * nss/nss_db/db-init.c: New file.
42009 * nss/nss_files/files-init.c: New file.
42010 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42011 __nss_lookup_function.
42012 (__nss_lookup_function): Call nss_load_library.
42013 (nss_load_all_libraries): New function.
42014 (__nss_disable_nscd): Take parameter with callback function for files
42015 to register. Set is_nscd. Load all the DSOs for the NSS modules
42016 used for the cached services.
42017 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42018 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42019 options for features to all the files in nscd.
42021 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42023 2011-07-10 Roland McGrath <roland@hack.frob.com>
42025 * csu/elf-init.c (__libc_csu_init): Comment typo.
42027 2011-07-09 Ulrich Drepper <drepper@gmail.com>
42029 * po/pl.po: Update from translation team.
42030 * po/ja.po: Likewise.
42031 * po/ru.po: Likewise.
42032 * po/ko.po: Likewise.
42033 * po/fr.po: Likewise.
42035 2011-07-09 Roland McGrath <roland@hack.frob.com>
42037 * configure.in (.ctors/.dtors header and trailer check):
42038 Use an empirical test on a built program.
42039 * configure: Regenerated.
42041 * configure.in (-z relro check): Use an empirical test on a built DSO.
42042 Detect, but do not require, on ia64.
42043 * configure: Regenerated.
42045 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42046 Update tests that use readelf to use $READELF instead.
42047 * configure: Regenerated.
42049 2011-07-08 Ulrich Drepper <drepper@gmail.com>
42051 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42052 if the result is not used.
42054 2011-07-05 Andreas Jaeger <aj@suse.de>
42057 * stdlib/tst-strtod.c: Add testcase.
42059 2011-07-07 Ulrich Drepper <drepper@gmail.com>
42061 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42062 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42063 The latter has a higher limit. Take additional parameter to pass to
42065 (__pathconf): Pass file to __statfs_link_max.
42066 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42068 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42072 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42073 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42075 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42076 (__statfs_filesize_max): Likewise.
42077 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42079 2011-07-05 Andreas Jaeger <aj@suse.de>
42081 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42083 2011-07-06 Marek Polacek <mpolacek@redhat.com>
42085 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42087 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42090 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42092 * Makefile (strop-tests): Add strncat.
42093 * string/test-strncat.c: New file.
42095 2011-06-30 Marek Polacek <mpolacek@redhat.com>
42097 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42099 2011-06-21 Andreas Jaeger <aj@suse.de>
42101 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42102 Copy rule from iconvdata/Makefile.
42104 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42107 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42108 but no long options are defined, just return 'W'.
42110 2011-06-22 Marek Polacek <mpolacek@redhat.com>
42113 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42115 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42117 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42119 (innetgr): Likewise.
42121 2011-07-05 Roland McGrath <roland@hack.frob.com>
42123 * config.make.in (install_root): Default to $(DESTDIR).
42125 2011-07-05 Ulrich Drepper <drepper@gmail.com>
42127 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42129 2011-07-02 Roland McGrath <roland@hack.frob.com>
42131 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42133 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42134 containing directory rather than embedding absolute directory names.
42136 * scripts/check-local-headers.sh: Rewritten using awk.
42137 Match by word, not by line. Print error messages for matches.
42138 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42140 * Makerules [shlib-lds-flags empty]:
42141 ($(common-objpfx)libc_pic.opts): New target.
42142 ($(common-objpfx)libc_pic.os.clean): New target.
42143 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42145 * config.make.in (OBJCOPY): New variable.
42146 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42147 * configure: Regenerated.
42149 * config.make.in (use-default-link): New variable.
42150 * configure.in (use_default_link): Grok --with-default-link to set it.
42151 * configure: Regenerated.
42152 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42153 (shlib-lds, shlib-lds-flags): Define to empty.
42155 * Makerules (shlib-lds): New variable.
42156 (shlib-lds-flags): New variable.
42157 (build-shlib, build-moduile, build-module-asneeded): Use it.
42158 ($(common-objpfx)libc.so): Use $(shlib-lds).
42159 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42160 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42162 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42163 DT_FLAGS/DT_FLAGS_1 with zero flags.
42165 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42166 linker script munging.
42168 2011-07-02 Ulrich Drepper <drepper@gmail.com>
42170 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42172 * crypt/sha512.c (sha512_process_block): Perform total addition using
42173 128-bit if possible.
42174 (__sha512_finish_ctx): Likewise.
42175 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42177 * crypt/sha256.c (SWAP64): Define.
42178 (sha256_process_block): Perform total addition using 64-bit if
42180 (__sha256_finish_ctx): Likewise.
42182 2011-07-01 Ulrich Drepper <drepper@gmail.com>
42184 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42185 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42186 * nscd/hstcache.c (cache_addhst): Likewise.
42187 * nscd/grpcache.c (cache_addgr): Likewise.
42188 * nscd/aicache.c (addhstaiX): Likewise
42189 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42191 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
42193 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42194 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42195 * nscd/hstcache.c (cache_addhst): Likewise.
42196 * nscd/grpcache.c (cache_addgr): Likewise.
42197 * nscd/aicache.c (addhstaiX): Likewise
42199 2011-07-01 Andreas Schwab <schwab@redhat.com>
42201 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42202 domain only when needed.
42204 2011-06-30 Andreas Schwab <schwab@redhat.com>
42206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42207 is always restored.
42209 2011-06-29 Ulrich Drepper <drepper@gmail.com>
42211 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42212 are re-adding the entry.
42213 * nscd/servicescache.c (cache_addserv): Likewise.
42215 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42217 * sysdeps/generic/dl-irel.h: fix protection against multiple
42219 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42221 2011-06-28 Ulrich Drepper <drepper@gmail.com>
42224 * malloc/memusage.sh: Fix quoting in message.
42225 * debug/xtrace.sh: Likewise.
42227 * configure.in: Remove support for --experimental-malloc option, make
42229 * config.make.in: Likewise.
42230 * malloc/Makefile: Likewise.
42232 2011-06-27 Andreas Schwab <schwab@redhat.com>
42234 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42235 two-byte characters.
42237 2011-06-27 Roland McGrath <roland@hack.frob.com>
42239 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42240 AC_CACHE_CHECK invocation.
42241 * configure: Regenerated.
42243 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42245 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42248 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42249 bit from old_res_options.
42251 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42253 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42254 value type for setfct.
42256 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42258 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42259 __gettimeofday instead of gettimeofday.
42261 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42263 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42265 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42267 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42269 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42272 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42275 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42276 strcpy-sse2-unaligned strncpy-sse2-unaligned
42277 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42278 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42279 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42280 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42281 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42282 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42283 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42284 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42285 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42286 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42287 (STRCPY): Support SSE2 and SSSE3 versions.
42289 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42292 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42293 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42294 kernels which artificially limit size of requests.
42296 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42299 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42300 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42301 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42302 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42303 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42304 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42305 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42306 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42307 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42308 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42309 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42310 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42311 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42312 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42314 Enable unaligned load optimization for Intel Core i3, i5 and i7
42316 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42318 (index_Fast_Unaligned_Load): Define.
42319 (HAS_FAST_UNALIGNED_LOAD): Define.
42321 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42323 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42325 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42328 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42329 until it is clear that the information is realy needed.
42330 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42332 2011-06-22 Andreas Schwab <schwab@redhat.com>
42334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42336 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42338 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42339 /sys/devices/system/cpu/online if it is usable.
42341 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42342 reading the information from the /proc filesystem to once a second.
42344 2011-06-21 Andreas Jaeger <aj@suse.de>
42346 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42347 NULL after inclusion of kernel headers.
42349 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42351 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42352 calls to internal_setent.
42355 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42356 addresses using gethostbyname4_r ignore IPv4 addresses.
42358 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42359 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42361 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42363 2011-06-20 David S. Miller <davem@davemloft.net>
42365 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42367 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42369 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42370 (elf_irel): Use it.
42371 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42372 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42373 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42374 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42375 * sysdeps/x86_64/dl-irel.h: Likewise.
42377 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42378 * elf/dl-sym.c: Likewise.
42380 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42382 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42383 need to dereference resplen2.
42385 2011-06-14 Andreas Schwab <schwab@redhat.com>
42387 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42389 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42391 * Makeconfig: Define vardbdir and inst_vardbdir.
42392 * nss/Makefile: Add rules to install db-Makefile.
42394 * nss/nss_db/db-XXX.c: Cleanup.
42396 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42397 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42399 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42400 * nss/makedb.c: Implement -g option to specify that value strings
42401 are generated and should not be added to table iterated over for
42403 * nss/nss_db/db-initgroups.c: New file.
42405 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42408 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42409 (internal_getgrouplist): Adjust to name change.
42410 Update use_initgroups_entry if this is not the first call.
42411 * nss/databases.def: Add initgroups entry.
42413 * nss/makedb.c (compute_tables): Check result of multiple hash table
42414 sizes to minimize maximum chain length.
42416 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42418 * Versions.def: Add entry for libnss_db.
42419 * shlib-versions: Likewise.
42420 * nss/Makefile: Add rules to build libnss_db.
42421 * nss/Versions: Add libnss_db information. Organize libnss_files
42423 * nss/db-Makefile: Add gshadow support. Change rules for the new
42424 makedb progra. Some minor improvements to generate smaller files.
42425 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42427 * nss/makedb.c: ...here.
42428 Improve database format to be smaller and require less memory at
42430 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42432 * nss/nss_db/db-netgrp.c: Likewise.
42433 * nss/nss_db/db-open.c: Likewise.
42434 * nss/nss_files/flies-XXX.x: Adjust comments.
42435 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42436 * nss/nss_files/files-grp.c: Likewise.
42437 * nss/nss_files/files-hosts.c: Likewise.
42438 * nss/nss_files/files-network.c: Likewise.
42439 * nss/nss_files/files-proto.c: Likewise.
42440 * nss/nss_files/files-pwd.c: Likewise.
42441 * nss/nss_files/files-rpc.c: Likewise.
42442 * nss/nss_files/files-service.c: Likewise.
42443 * nss/nss_files/files-sgrp.c: Likewise.
42444 * nss/nss_files/files-spwd.c: Likewise.
42445 * nss/nss_db/db-alias.c: Removed.
42446 * nss/nss_db/dummy-db.h: Removed.
42448 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42450 * nss/makedb.c: Rewritten to not use database library.
42451 * nss/Makefile: Update to build new makedb program.
42453 2011-06-14 Andreas Jaeger <aj@suse.de>
42455 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42456 memset declaration.
42458 2011-06-10 Andreas Schwab <schwab@redhat.com>
42460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42463 2011-06-10 Roland McGrath <roland@hack.frob.com>
42465 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42466 * elf/Makefile ($(objpfx)ld.so): Likewise.
42468 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42469 Don't list ld.so twice in dependencies.
42471 * posix/bug-regex31.c: Include <stdlib.h>.
42473 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42475 * nis/nss_compat/compat-spwd.c
42476 (getspent_next_nss_netgr): Remove unused variable.
42477 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42479 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42480 nonmembers" output to use the right array.
42482 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42484 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42486 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42487 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42488 * catgets/gencat.c (read_input_file): Likewise.
42489 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42491 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42492 variable definition inside #if's controlling its use.
42494 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42496 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42498 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42500 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42503 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42505 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42506 * configure: Regenerated.
42508 * Makerules: Revert last change.
42509 * elf/Makefile: Likewise.
42511 2011-06-09 Roland McGrath <roland@hack.frob.com>
42513 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42514 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42515 (reloc-link): Likewise.
42517 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42519 * elf/Makefile: Add rules to build pldd.
42520 * elf/pldd.c: New file.
42521 * elf/pldd-xx.c: New file.
42523 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42525 * version.h: Update for 2.15 development version.
42527 2011-06-07 David S. Miller <davem@davemloft.net>
42529 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42531 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42532 elf_machine_lazy_rel): Likewise.
42533 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42534 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42535 elf_machine_lazy_rel): Likewise.
42536 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42537 dl_hwcap via passed in argument.
42538 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42541 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42543 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42545 2011-06-06 Roland McGrath <roland@hack.frob.com>
42548 * manual/fdl-1.1.texi: New file, verbatim from:
42549 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42550 * manual/lgpl-2.1.texi: New file, verbatim from:
42551 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42552 * manual/Makefile (licenses): New variable, list those new file names.
42554 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42556 * manual/fdl.texi: File removed.
42557 * manual/lesser.texi: File removed.
42558 * manual/libc.texinfo (Copying, Documentation License):
42559 Use new @include file names, put @appendix directive before @include.
42561 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42564 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42565 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42566 (mq_open): Add __NTH.
42568 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42571 Assume Intel Core i3/i5/i7 processor if AVX is available.
42573 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42575 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42578 2011-05-31 Andreas Schwab <schwab@redhat.com>
42580 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42581 memory. Use alloca_account. Fix memory leak when retrying.
42583 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42585 * version.h (RELEASE): Bump for 2.14 release.
42586 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42588 * config.make.in (RANLIB): Remove entry.
42590 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42592 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42593 (libc.pot): Work around missing support for .ksh extension in xgettext.
42596 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42597 if both request failed.
42598 (send_dg): In case of server errors clear resplen or *resplen2.
42601 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42602 when there are multiple maps.
42603 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42604 (_dl_fini): Remove test here.
42606 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42608 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42611 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42612 bit from old_res_options.
42613 (gaih_inet): Likewise.
42616 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42619 * resolv/res_init.c (res_setoptions): Make the code more compact.
42622 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42626 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42628 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42631 * malloc/malloc.h: Declare malloc hook variables as volatile.
42633 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42637 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42638 raise in the comment.
42639 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42640 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42641 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42643 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42646 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42647 grow the buffers more if it already has to be sufficient.
42648 (build_wcs_upper_buffer): Likewise.
42649 * posix/regexec.c (check_matching): Likewise.
42650 (clean_state_log_if_needed): Likewise.
42651 (extend_buffers): Don't enlarge buffers beyond size of the input
42653 Patches mostly by Emil Wojak <emil@wojak.eu>.
42654 * posix/bug-regex32.c: New file.
42655 * posix/Makefile (tests): Add bug-regex32.
42657 * locale/findlocale.c (_nl_find_locale): Return right away if
42658 _nl_explode_name failed.
42659 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42661 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42663 * debug/xtrace.sh: Unify messages.
42664 * malloc/memusage.sh: Likewise.
42667 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42668 time symbol from vDSO. Substitute with vsyscall if not available.
42669 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42672 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42673 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42674 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42675 Add sendmmsg and internal_sendmmsg.
42676 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42677 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42678 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42680 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42681 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42682 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42684 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42687 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42688 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42690 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42694 * iconvdata/Makefile (tests): Add bug-iconv9.
42695 * iconvdata/bug-iconv9.c: New file.
42697 2011-05-27 Andreas Schwab <schwab@redhat.com>
42700 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42702 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42705 (struct user_regs_struct): Change intcs field back to cs.
42707 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42709 * po/ja.po: Update from translation team.
42711 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42714 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42715 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42717 2011-05-20 Andreas Schwab <schwab@redhat.com>
42719 * stdlib/longlong.h: Update from GCC.
42721 2011-05-23 Andreas Schwab <schwab@redhat.com>
42723 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42725 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42726 Add parameter name.
42727 (__sysconf): Pass it down.
42729 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42732 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42734 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42735 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42736 add in in __libc_use_alloca calls. Adjust callers.
42737 (glob): Use malloc in some situations.
42739 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42740 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42743 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42745 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42746 and CLOCK_BOOTTIME_ALARM.
42749 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42752 * string/_strerror.c (__strerror_r): Print negative errors as signed
42756 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42757 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42758 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42760 * configure.in: Fix typo in redirection and correct removal of test
42761 files in two cases.
42764 * locale/setlocale.c (new_composite_name): Fix test to check for
42765 identical name of all categories.
42768 * libio/filedoalloc.c (local_isatty): New function.
42769 (_IO_file_doallocate): Use local_isatty.
42770 * stdio-common/perror.c (perror): In case a new stream is used
42771 forward the stream error.
42772 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42775 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42780 * include/alloca.h (extend_alloca_account): Define.
42783 * posix/regex.h: Fix comments with documentation of user-accessible
42784 fields after compilation and describe correct free'ing of pattern
42785 after re_compile_pattern.
42786 Patch by Reuben Thomas <rrt@sc3d.org>.
42788 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42790 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42791 and -mno-altivec to prevent the compiler from using Altivec and/or
42792 VSX instructions when the corresponding registers are not available.
42794 2011-05-19 Andreas Schwab <schwab@redhat.com>
42796 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42798 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42800 * libio/freopen.c (freopen): Use __dup2, not dup2.
42801 * libio/freopen64.c (freopen64): Likewise.
42803 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42806 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42807 * math/Makefile (tests): Add test-powl.
42808 (CFLAGS-test-powl.c): Define.
42809 * math/test-powl.c: New file.
42811 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42813 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42815 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42818 * iconvdata/gb18030.c: Update to GB18020-2005.
42820 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42822 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42823 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42824 Patch by Aharon Robbins <arnold@skeeve.com>.
42827 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42831 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42832 through underflows.
42835 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42836 point to strings before performing equality test for error_one_per_line
42840 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42843 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42844 (struct user_fpregs_struct): Avoid __uint*_t types.
42847 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42848 symbol info. Use it instead of calling _dl_addr locally.
42849 (lock_and_info): New function.
42850 (tr_freehook): Call lock_and_info and pass symbol info as additional
42851 parameter to tr_where.
42852 (tr_mallochook): Likewise.
42853 (tr_reallochook): Likewise.
42854 (tr_memalignhook): Likewise.
42856 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42857 used and couldn't be at all thread-safe.
42859 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42861 * libio/freopen.c (freopen): Don't close old file descriptor
42862 before the new one is opened. Instead dup the new file descriptor
42863 to the old one after the new stream is created.
42864 * libio/freopen64.c (freopen64): Likewise.
42865 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42866 * libio/fileops.c (_IO_new_file_close_it): Handle new
42867 _IO_FLAGS2_NOCLOSE flag.
42868 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42869 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42870 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42871 _IO_FLAGS2_NOCLOSE flag.
42872 * include/unistd.h: Add hidden_proto for dup3.
42873 Define __have_dup3.
42874 * io/dup3.c: Define hidden symbol.
42875 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42878 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42879 when an incomplete long option is used.
42880 * posix/tst-getopt_long1.c: New file.
42881 * posix/Makefile (tests): Add tst-getopt_long1.
42884 * scripts/config.guess: Update from autoconf-2.68.
42885 * scripts/config.sub: Likewise.
42888 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42890 (has_cpuclock): ...this. New function.
42891 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42892 macro here based on has_cpuclock code.
42895 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42896 First byte (not low byte) is now always NUL.
42897 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42899 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42900 Use non-cancelable interfaces.
42903 * locale/iso-639.def: Add entry for Sorani.
42906 * include/stdlib.h: Move include protection to the right place.
42907 Define abort_msg_s. Declare __abort_msg with it.
42908 * stdlib/abort.c (__abort_msg): Adjust type.
42909 * assert/assert.c (__assert_fail_base): New function. Majority
42910 of code from __assert_fail. Allocate memory for __abort_msg with
42912 (__assert_fail): Now call __assert_fail_base.
42913 * assert/assert-perr.c: Remove bulk of implementation. Use
42914 __assert_fail_base.
42915 * include/assert.hL Declare __assert_fail_base.
42916 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42918 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42920 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42924 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42925 until all modules are registered in the DTV.
42926 * elf/Makefile: Add rules to build and run tst-tls19.
42927 * elf/tst-tls19.c: New file.
42928 * elf/tst-tls19mod1.c: New file.
42929 * elf/tst-tls19mod2.c: New file.
42930 * elf/tst-tls19mod3.c: New file.
42931 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42934 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42938 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42939 two-byte sequence errors.
42940 * iconvdata/Makefile (tests): Add bug-iconv8.
42941 * iconvdata/bug-iconv8.c: New file.
42944 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42947 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42950 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42951 (dummy_getcfa): New function.
42952 (init): Get _Unwind_GetCFA address, use dummy if not found.
42953 (backtrace_helper): In recursion check, also check whether CFA changes.
42954 (__backtrace): Completely initialize arg.
42956 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42957 storing incomplete byte sequence in state object. Avoid testing for
42958 guaranteed too small input if we know there is enough data available.
42960 2011-05-11 Andreas Schwab <schwab@redhat.com>
42962 * Makeconfig (+link-pie): Indent.
42963 * Rules (binaries-pie): Define if $(have-fpie) and
42965 (binaries-shared): Also filter out $(binaries-pie).
42966 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42967 * nscd/Makefile (others-pie): Add nscd.
42968 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42969 ($(objpfx)nscd): Remove command override.
42970 * login/Makefile (others-pie): Add pt_chown.
42971 ($(objpfx)pt_chown): Remove command override.
42972 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42973 remove command overrides.
42975 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42977 * libio/tst_putwc.c: Fix error messages.
42980 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42981 currently writing and seek to current position when not.
42982 * libio/Makefile (tests): Add bug-fclose1.
42983 * libio/bug-fclose1.c: New file.
42985 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42988 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42989 don't set DF_1_NODELETE here.
42990 (do_lookup_x): When entering new entry test for copy relocation
42991 and if necessary set DF_1_NODELETE flag.
42992 * elf/tst-unique4.cc: New file.
42993 * elf/tst-unique4.h: New file.
42994 * elf/tst-unique4lib.cc: New file.
42995 * elf/Makefile: Add rules to build and run tst-unique4.
42996 Patch by Piotr Bury <pbury@goahead.com>.
42998 2011-05-11 Ulrich Drepper <drepper@gmail.com>
43001 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43004 * misc/mntent_r.c (addmntent): Flush the stream after the output
43007 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43008 (is_trusted_path_normalize): Skip initial colon. Append slash
43009 to empty buffer. Duplicate is_trusted_path code but allow
43010 constructed patch to be prefix.
43011 (is_dst): Allow $ORIGIN followed by /.
43012 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43013 Correct testing of result of is_trusted_path_normalize
43014 (decompose_rpath): Fix warning.
43016 2011-05-10 Ulrich Drepper <drepper@gmail.com>
43019 * grp/initgroups.c (internal_getgrouplist): When we found the service
43020 list through the initgroups entry in nsswitch.conf do not always
43021 continue on a successful lookup. Don't always use the
43022 __nss_group_database value if it is set.
43023 * nss/nsswitch.conf (initgroups): Change action for successful db
43024 lookup to continue for compatibility.
43026 2011-05-09 Ulrich Drepper <drepper@gmail.com>
43029 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43031 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43033 * iconvdata/tst-tables.sh: Likewise.
43034 * iconvdata/cp770.c: New file.
43035 * iconvdata/cp771.c: New file.
43036 * iconvdata/cp772.c: New file.
43037 * iconvdata/cp773.c: New file.
43038 * iconvdata/cp774.c: New file.
43039 * iconvdata/testdata/CP770: New file.
43040 * iconvdata/testdata/CP770..UTF8: New file.
43041 * iconvdata/testdata/CP771: New file.
43042 * iconvdata/testdata/CP771..UTF8: New file.
43043 * iconvdata/testdata/CP772: New file.
43044 * iconvdata/testdata/CP772..UTF8: New file.
43045 * iconvdata/testdata/CP773: New file.
43046 * iconvdata/testdata/CP773..UTF8: New file.
43047 * iconvdata/testdata/CP774: New file.
43048 * iconvdata/testdata/CP774..UTF8: New file.
43050 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43052 * iconvdata/gen-8bit-gap.sh: Likewise.
43053 * iconvdata/gen-8bit.sh: Likewise.
43055 * locale/iso-639.def: Add ary entry.
43058 * locale/C-translit.h.in: Add U20A1 transliteration.
43061 * locale/iso-639.def: Add wae entry.
43062 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43065 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43069 * locale/C-translit.h.in: Add entry for U20B9.
43070 Patch by pravin.d.s@gmail.com.
43072 2011-05-08 Ulrich Drepper <drepper@gmail.com>
43075 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43076 ENAMETOOLONG use generic getcwd.
43077 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43078 in rtld. Use *stat64.
43079 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43080 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43081 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43082 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43083 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43084 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43085 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43086 __fstatat64 macros.
43087 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43088 * dirent/rewinddir.c: Add libc_hidden_def.
43089 * sysdeps/mach/hurd/rewinddir.c: Likewise.
43090 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
43092 * include/dirent.h (__alloc_dir): Add flags parameter.
43093 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43094 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43096 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43097 from fdopendir if O_CLOEXEC is already set.
43099 2011-03-15 Alan Modra <amodra@gmail.com>
43101 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43102 l_tls_firstbyte_offset non-zero. Save padding offset in
43103 l_tls_firstbyte_offset for later use.
43104 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43105 freeing static tls block.
43107 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43109 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43110 where #ifdef was intended. The intent is to prevent ARG_MAX from
43111 being defined by the kernel headers.
43113 2011-05-07 Ulrich Drepper <drepper@gmail.com>
43116 * resolv/resolv.h: Define RES_NOTLDQUERY.
43117 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43118 no-tld-query and set RES_NOTLDQUERY.
43119 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43120 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43121 modern BIND to search name as TLD unless forbidden.
43123 2011-05-07 Petr Baudis <pasky@suse.cz>
43124 Ulrich Drepper <drepper@gmail.com>
43127 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43128 (is_trusted_path): ...to here.
43129 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43130 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43131 using is_trusted_path_normalize() in setuid scripts.
43133 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43135 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43136 __BEGIN/__END_DECLS.
43138 2011-05-06 Ulrich Drepper <drepper@gmail.com>
43140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43141 NSS_STATUS_NOTFOUND if no record was found.
43143 2011-05-05 Andreas Schwab <schwab@redhat.com>
43145 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43146 (headers-not-in-tirpc): Remove rpc/netdb.h
43147 * resolv/netdb.h: Revert last change.
43149 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43151 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43152 circular dependency between libgcc.a and libc.a.
43154 2011-05-05 Andreas Schwab <schwab@redhat.com>
43156 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43157 * nis/Makefile: Don't install rpcsvc/*.
43158 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43159 instead of <rpc/types.h>.
43160 (MAXHOSTNAMELEN): Define.
43162 2011-05-03 Andreas Schwab <schwab@redhat.com>
43164 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43166 2011-04-28 Maciej Babinski <mbabinski@google.com>
43169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43170 gethostbyname4_r when IPv6 results are possible.
43172 2011-05-02 Ulrich Drepper <drepper@gmail.com>
43175 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43176 _PC_PIPE_BUF handling.
43178 2011-04-30 Bruno Haible <bruno@clisp.org>
43181 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43182 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43184 * inet/getnameinfo.c (getnameinfo): Likewise.
43186 2011-04-29 Ulrich Drepper <drepper@gmail.com>
43188 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43189 to groups setting in database lookup.
43190 * nss/nsswitch.conf: Add initgroups entry.
43192 2011-04-22 Ulrich Drepper <drepper@gmail.com>
43195 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43197 Patch by Eric Blake <eblake@redhat.com>.
43199 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43201 * sunrpc/Makefile (need-export-routines): Add svc_run.
43202 (routines): Remove svc_run.
43203 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43204 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43205 * sunrpc/svc_run.c (svc_run): Likewise.
43206 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43208 2011-04-21 Ulrich Drepper <drepper@gmail.com>
43210 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43211 problem in reallocation in last patch.
43213 2011-04-20 Ulrich Drepper <drepper@gmail.com>
43215 * sunrpc/Makefile: Move inclusion of Rules.
43217 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43219 * nss/nss_files/files-initgroups.c: New file.
43220 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43221 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43222 _nss_files_initgroups_dyn.
43224 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43226 * elf/elf.h (R_ARM_IRELATIVE): Define.
43228 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43230 * po/ru.po: Update from translation team.
43232 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43234 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43237 2011-02-06 Mike Frysinger <vapier@gentoo.org>
43240 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43241 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43242 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43243 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43244 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43246 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43248 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43250 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43251 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43252 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43254 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43257 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43259 * stdlib/bug-getcontext.c: New file.
43260 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43262 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43264 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43265 instructions into .machine "z9-109".
43266 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43267 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43269 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43271 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43272 between environment variables and auxiliary vector.
43274 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43276 * Makefile: Add rules to build linkobj/libc.so.
43277 * include/libc-symbols.h: Define libc_hidden_nolink.
43278 * include/rpc/auth.h: Mark functions which are to be hidden.
43279 * include/rpc/auth_des.h: Likewise.
43280 * include/rpc/auth_unix.h: Likewise.
43281 * include/rpc/clnt.h: Likewise.
43282 * include/rpc/des_crypt.h: Likewise.
43283 * include/rpc/key_prot.h: Likewise.
43284 * include/rpc/pmap_clnt.h: Likewise.
43285 * include/rpc/pmap_prot.h: Likewise.
43286 * include/rpc/pmap_rmt.h: Likewise.
43287 * include/rpc/rpc_msg.h: Likewise.
43288 * include/rpc/svc.h: Likewise.
43289 * include/rpc/svc_auth.h: Likewise.
43290 * include/rpc/xdr.h: Likewise.
43291 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43292 * nss/Makefile: Likewise.
43293 * sunrpc/Makefile: Don't install headers. Build library with normal
43294 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43295 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43296 for the compat linking library. Remove use of INTDEF/INTUSE.
43297 * sunrpc/auth_none.c: Likewise.
43298 * sunrpc/auth_unix.c: Likewise.
43299 * sunrpc/authdes_prot.c: Likewise.
43300 * sunrpc/authuxprot.c: Likewise.
43301 * sunrpc/clnt_gen.c: Likewise.
43302 * sunrpc/clnt_perr.c: Likewise.
43303 * sunrpc/clnt_raw.c: Likewise.
43304 * sunrpc/clnt_simp.c: Likewise.
43305 * sunrpc/clnt_tcp.c: Likewise.
43306 * sunrpc/clnt_udp.c: Likewise.
43307 * sunrpc/clnt_unix.c: Likewise.
43308 * sunrpc/des_crypt.c: Likewise.
43309 * sunrpc/des_soft.c: Likewise.
43310 * sunrpc/get_myaddr.c: Likewise.
43311 * sunrpc/key_call.c: Likewise.
43312 * sunrpc/key_prot.c: Likewise.
43313 * sunrpc/netname.c: Likewise.
43314 * sunrpc/pm_getmaps.c: Likewise.
43315 * sunrpc/pm_getport.c: Likewise.
43316 * sunrpc/pmap_clnt.c: Likewise.
43317 * sunrpc/pmap_prot.c: Likewise.
43318 * sunrpc/pmap_prot2.c: Likewise.
43319 * sunrpc/pmap_rmt.c: Likewise.
43320 * sunrpc/publickey.c: Likewise.
43321 * sunrpc/rpc_cmsg.c: Likewise.
43322 * sunrpc/rpc_common.c: Likewise.
43323 * sunrpc/rpc_dtable.c: Likewise.
43324 * sunrpc/rpc_prot.c: Likewise.
43325 * sunrpc/rpc_thread.c: Likewise.
43326 * sunrpc/rtime.c: Likewise.
43327 * sunrpc/svc.c: Likewise.
43328 * sunrpc/svc_auth.c: Likewise.
43329 * sunrpc/svc_authux.c: Likewise.
43330 * sunrpc/svc_raw.c: Likewise.
43331 * sunrpc/svc_run.c: Likewise.
43332 * sunrpc/svc_simple.c: Likewise.
43333 * sunrpc/svc_tcp.c: Likewise.
43334 * sunrpc/svc_udp.c: Likewise.
43335 * sunrpc/svc_unix.c: Likewise.
43336 * sunrpc/svcauth_des.c: Likewise.
43337 * sunrpc/xcrypt.c: Likewise.
43338 * sunrpc/xdr.c: Likewise.
43339 * sunrpc/xdr_array.c: Likewise.
43340 * sunrpc/xdr_float.c: Likewise.
43341 * sunrpc/xdr_intXX_t.c: Likewise.
43342 * sunrpc/xdr_mem.c: Likewise.
43343 * sunrpc/xdr_rec.c: Likewise.
43344 * sunrpc/xdr_ref.c: Likewise.
43345 * sunrpc/xdr_sizeof.c: Likewise.
43346 * sunrpc/xdr_stdio.c: Likewise.
43348 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43351 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43352 * sysdeps/ia64/dl-tls.h: Likewise.
43353 * sysdeps/powerpc/dl-tls.h: Likewise.
43354 * sysdeps/s390/dl-tls.h: Likewise.
43355 * sysdeps/sh/dl-tls.h: Likewise.
43356 * sysdeps/sparc/dl-tls.h: Likewise.
43357 * sysdeps/x86_64/dl-tls.h: Likewise.
43358 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43360 2011-03-14 Andreas Schwab <schwab@redhat.com>
43362 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43363 rpath element also skip the following colon.
43364 (expand_dynamic_string_token): Add is_path parameter and pass
43365 down to DL_DST_REQUIRED and _dl_dst_substitute.
43366 (decompose_rpath): Call expand_dynamic_string_token with
43367 non-zero is_path. Ignore empty rpaths.
43368 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43371 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43376 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43379 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43380 Patch by Filipe David Manana <fdmanana@apache.org>.
43382 2011-04-07 Andreas Schwab <schwab@redhat.com>
43384 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43385 Maintain aligned stack.
43386 (CHECK_RSP): Remove unused macro.
43388 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43390 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43391 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43393 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43395 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43397 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43399 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43402 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43403 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43404 * sysdeps/x86_64/memmove.c: New file.
43405 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43406 (memcpy): Renamed to ...
43407 (__new_memcpy): This.
43408 (memcpy): Provide GLIBC_2_14 memcpy.
43409 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43410 (memcpy): Provide GLIBC_2_2_5 memcpy.
43412 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43415 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43417 2011-03-30 Andreas Schwab <schwab@redhat.com>
43419 * misc/syncfs.c: New file.
43420 * misc/Makefile (routines): Add syncfs.
43421 * posix/unistd.h: Declare syncfs.
43422 * sysdeps/unix/syscalls.list: Add syncfs.
43424 2011-04-01 Andreas Schwab <schwab@redhat.com>
43426 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43428 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43429 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43431 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43433 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43436 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43438 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43439 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43440 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43442 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43443 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43444 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43446 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43447 sync_file_range.c with -fexceptions.
43448 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43449 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43450 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43451 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43452 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43453 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43454 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43455 sync_file_range as cancellation point
43456 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43457 now a wrapper around __call_sync_file_range with cancellation handling.
43458 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43459 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43460 function name to __call_sync_file_range.
43461 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43462 Add call_sync_file_range.
43464 2011-04-01 Andreas Schwab <schwab@redhat.com>
43466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43469 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43471 * iconv/iconv.h: Fix typo in comment.
43472 * io/fcntl.h: Likewise.
43473 * libio/stdio.h: Likewise.
43474 * posix/spawn.h: Likewise.
43475 * posix/unistd.h: Likewise.
43476 * stdlib/stdlib.h: Likewise.
43477 * time/time.h: Likewise.
43478 * wcsmbs/wchar.h: Likewise.
43480 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43481 open_by_handle): Add.
43482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43483 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43484 Augment a few comments.
43485 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43487 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43490 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43493 * io/fcntl.h (AT_EMPTY_PATH): Define.
43495 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43497 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43498 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43499 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43501 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43502 * Versions.def: Add GLIBC_2.14.
43503 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43506 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43508 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43510 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43512 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43515 * string/test-strncmp.c (do_page_test): New function.
43516 (check2): Likewise.
43517 (test_main): Call check2.
43518 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43520 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43523 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43524 Handle cache information in CPU leaf 4.
43525 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43527 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43530 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43531 character representation.
43532 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43534 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43536 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43537 END(__isnan) to END(__isnanf) to match function entry point/label
43538 EALIGN(__isnanf,...).
43540 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43542 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43544 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43547 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43548 copy from the symbol referenced in the relocation to initialize the
43550 Patch by Piotr Bury <pbury@goahead.com>.
43551 * elf/Makefile: Add rules to build and tst-unique3.
43552 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43553 * elf/tst-unique3.cc: New file.
43554 * elf/tst-unique3.h: New file.
43555 * elf/tst-unique3lib.cc: New file.
43556 * elf/tst-unique3lib2.cc: New file.
43558 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43560 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43562 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43563 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43566 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43568 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43569 to-be-loaded object along a path to loader is ld.so.
43571 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43572 Ulrich Drepper <drepper@gmail.com>
43574 * sysdeps/x86_64/memset.S: After aligning destination, code
43575 branches to different locations depending on the value of
43576 misalignment, when multiarch is enabled. Fix this.
43578 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43580 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43581 Set _x86_64_preferred_memory_instruction for AMD processsors.
43582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43583 Set bit_Prefer_SSE_for_memop for AMD processors.
43585 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43587 * libio/fmemopen.c (fmemopen): Optimize a bit.
43589 2011-03-03 Andreas Schwab <schwab@redhat.com>
43591 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43593 2011-03-03 Roland McGrath <roland@redhat.com>
43595 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43597 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43599 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43600 __bzero_ultra1 instead of __memset_ultra1.
43602 2011-02-23 Andreas Schwab <schwab@redhat.com>
43603 Ulrich Drepper <drepper@gmail.com>
43606 * include/link.h (struct link_map): Add l_orig_initfini.
43607 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43608 returning unsuccessfully.
43609 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43610 close of a file loaded at startup, restore the original l_initfini
43612 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43613 list, store the pointer.
43614 * elf/Makefile ($(objpfx)noload-mem): New rule.
43615 (noload-ENV): Define.
43616 (tests): Add $(objpfx)noload-mem.
43617 * elf/noload.c: Include <memcheck.h>.
43618 (main): Call mtrace. Close all opened handles.
43620 2011-02-17 Andreas Schwab <schwab@redhat.com>
43623 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43624 dependencies are missing.
43626 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43628 Fix __if_freereq crash: Unlike the generic version which uses free,
43630 * sysdeps/mach/hurd/ifreq.h: New file.
43632 2011-01-27 Petr Baudis <pasky@suse.cz>
43633 Ulrich Drepper <drepper@gmail.com>
43636 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43637 to extend_alloca().
43638 * stdio-common/bug23.c: New file.
43639 * stdio-common/Makefile (tests): Add bug23.
43641 2010-09-28 Andreas Schwab <schwab@redhat.com>
43642 Ulrich Drepper <drepper@gmail.com>
43645 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43646 before performing relro protection. At old place add assertion
43647 to make sure nothing changed.
43649 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43650 Glauber de Oliveira Costa <glommer@gmail.com>
43652 * elf/elf.h: Add new ARM TLS relocs.
43654 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43657 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43659 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43661 * sysdeps/wordsize-64/tst-writev.c: New file.
43663 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43665 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43666 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43667 insns in _dl_start to prevent a TOC reference before relocs are
43670 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43673 * Makeconfig: Remove RANLIB definition.
43674 * Makerules: Don't use RANLIB.
43675 * aclocal.m4: Remove ranlib test.
43676 * configure.in: No need to check for ranlib.
43677 * elf/rtld-Rules: Don't use RANLIB.
43679 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43681 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43683 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43684 inclusion protection macro.
43686 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43687 SIGRTMIN and SIGRTMAX and print information in that case only when
43688 SIGRTMIN is defined.
43690 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43692 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43693 arginfo fn returning -1.
43695 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43696 and thousands string is zero terminated.
43698 2011-02-03 Andreas Schwab <schwab@redhat.com>
43700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43701 sysdeps/unix/sysv/linux/bits/socket.h.
43703 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43705 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43706 (__CPU_COUNT): Remove old macros.
43707 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43708 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43709 (__CPU_ALLOC, __CPU_FREE): Add macros.
43710 (__sched_cpualloc, __sched_cpufree): Add declarations.
43712 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43714 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43715 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43716 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43717 (readdhstai): Return value of addhstaiX call.
43718 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43719 (addgrbyX): Return value returned by cache_addgr.
43720 (readdgrbyname): Return value returned by addgrbyX.
43721 (readdgrbygid): Likewise.
43722 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43723 (addpwbyX): Return value returned by cache_addpw.
43724 (readdpwbyname): Return value returned by addhstbyX.
43725 (readdpwbyuid): Likewise.
43726 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43727 (addservbyX): Return value returned by cache_addserv.
43728 (readdservbyname): Return value returned by addservbyX:
43729 (readdservbyport): Likewise.
43730 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43731 (addhstbyX): Return value returned by cache_addhst.
43732 (readdhstbyname): Return value returned by addhstbyX.
43733 (readdhstbyaddr): Likewise.
43734 (readdhstbynamev6): Likewise.
43735 (readdhstbyaddrv6): Likewise.
43736 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43737 (readdinitgroups): Return value returned by addinitgroupsX.
43738 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43739 (prune_cache): Keep track of timeout value of re-added entries.
43740 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43741 * nscd/nscd.h: Adjust prototypes of readd* functions.
43743 2011-02-04 Roland McGrath <roland@redhat.com>
43745 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43746 (nis_stats): Likewise.
43747 * nis/nis_modify.c (nis_modify): Likewise.
43748 * nis/nis_remove.c (nis_remove): Likewise.
43749 * nis/nis_add.c (nis_add): Likewise.
43751 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43753 * posix/fnmatch_loop.c: Add some consts.
43755 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43757 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43760 * config.make.in (config-cflags-novzeroupper): Define.
43761 * configure.in: Substitute libc_cv_cc_novzeroupper.
43762 * elf/Makefile (AVX-CFLAGS): Define.
43763 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43764 (CFLAGS-tst-auditmod4a.c): Likewise.
43765 (CFLAGS-tst-auditmod4b.c): Likewise.
43766 (CFLAGS-tst-auditmod6b.c): Likewise.
43767 (CFLAGS-tst-auditmod6c.c): Likewise.
43768 (CFLAGS-tst-auditmod7b.c): Likewise.
43769 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43771 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43773 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43774 function to the callback.
43775 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43777 2011-02-02 Andreas Schwab <schwab@redhat.com>
43779 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43782 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43785 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43787 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43789 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43792 * elf/Makefile: Add rules to build and run new test.
43793 * elf/tst-initorder.c: New file.
43794 * elf/tst-initorder.exp: New file.
43795 * elf/tst-initordera1.c: New file.
43796 * elf/tst-initordera2.c: New file.
43797 * elf/tst-initordera3.c: New file.
43798 * elf/tst-initordera4.c: New file.
43799 * elf/tst-initorderb1.c: New file.
43800 * elf/tst-initorderb2.c: New file.
43801 * elf/tst-order-a1.c: New file.
43802 * elf/tst-order-a2.c: New file.
43803 * elf/tst-order-a3.c: New file.
43804 * elf/tst-order-a4.c: New file.
43805 * elf/tst-order-b1.c: New file.
43806 * elf/tst-order-b2.c: New file.
43807 * elf/tst-order-main.c: New file.
43808 New test case by George Gensure <werkt0@gmail.com>.
43810 2010-10-01 Andreas Schwab <schwab@redhat.com>
43812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43813 decoding ACE if AI_CANONIDN.
43815 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43817 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43819 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43821 * version.h (RELEASE): Bump for 2.13 release.
43822 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43824 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43826 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43828 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43829 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43830 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43831 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43832 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43833 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43835 * posix/getconf.c: Update copyright year.
43836 * catgets/gencat.c: Likewise.
43837 * csu/version.c: Likewise.
43838 * debug/catchsegv.sh: Likewise.
43839 * debug/xtrace.sh: Likewise.
43840 * elf/ldconfig.c: Likewise.
43841 * elf/ldd.bash.in: Likewise.
43842 * elf/sprof.c (print_version): Likewise.
43843 * iconv/iconv_prog.c: Likewise.
43844 * iconv/iconvconfig.c: Likewise.
43845 * locale/programs/locale.c: Likewise.
43846 * locale/programs/localedef.c: Likewise.
43847 * malloc/memusage.sh: Likewise.
43848 * malloc/mtrace.pl: Likewise.
43849 * nscd/nscd.c (print_version): Likewise.
43850 * nss/getent.c: Likewise.
43852 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43853 PF_CAIF, and PF_ALG.
43854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43856 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43858 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43859 (modules-names): Use them.
43860 (ifunc-test-modules, ifunc-pie-tests): Define.
43861 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43862 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43863 (test-extras): Likewise.
43864 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43865 $(compile-command.c).
43866 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43867 (all-built-dso): Define.
43868 (check-textrel.out, check-execstack.out): Depend on it.
43870 * configure.in: Don't override --enable-multi-arch.
43872 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43875 * nscd/hstcache.c (tryagain): Define.
43876 (cache_addhst): Return tryagain not notfound for temporary errors.
43877 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43880 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43883 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43884 to make the syscall.
43885 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43888 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43889 and fall back to matching as normal character if the string ends before
43890 the matching ']' is found. This is what POSIX requires.
43891 * posix/testfnm.c: Adjust test result.
43892 * posix/globtest.sh: Adjust test result. Add new test.
43893 * posix/tst-fnmatch.input: Likewise.
43894 * posix/tst-fnmatch2.c: Add new test.
43896 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43898 * elf/Makefile (check-execstack): Revert last change. Depend on
43900 (check-execstack.h): New target.
43901 (generated): Add check-execstack.h.
43902 * elf/check-execstack.c: Include "check-execstack.h".
43903 (main): Revert last change.
43904 (handle_file): Return zero if GNU_STACK is absent and
43905 DEFAULT_STACK_PERMS doesn't include PF_X.
43907 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43909 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43910 in child fails because the descriptor is already closed.
43911 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43912 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43913 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43916 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43920 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43921 temporary buffer used to handle multi lookups locally.
43922 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43924 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43926 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43929 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43931 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43932 alignment for SSE2.
43934 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43937 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43938 characters. When rounding increased number of integer digits recompute
43940 * stdio-common/tst-grouping.c: New file.
43941 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43943 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43945 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43946 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43948 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43950 * bits/select.h: Likewise.
43952 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43954 * po/ja.po: Update from translation team.
43956 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43959 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43960 implementation just like for lxstat, fxstatat, et al.
43962 2010-12-27 Jim Meyering <meyering@redhat.com>
43965 * posix/regexec.c (build_trtable): Return failure indication upon
43966 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43968 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43971 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43972 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43973 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43974 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43977 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43980 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43981 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43983 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43985 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43986 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43987 script has SORT_BY_INIT_PRIORITY.
43988 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43989 NO_CTORS_DTORS_SECTIONS is defined.
43990 * elf/soinit.c: Likewise.
43991 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43992 NO_CTORS_DTORS_SECTIONS is defined.
43993 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43994 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43995 * sysdeps/sh/init-first.c: Likewise.
43996 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43998 2010-12-24 Ulrich Drepper <drepper@gmail.com>
44000 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44001 always use the slow path.
44003 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44005 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44006 similar rule which adds the sysdep directories to the header search in
44007 order to pick up the correct platform stackinfo.h.
44008 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44009 perform test if it is, otherwise return successfully without testing.
44010 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44011 DEFAULT_STACK_PERMS define in stackinfo.h.
44012 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44013 defined in stackinfo.h.
44014 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44015 DEFAULT_STACK_PERMS defined in stackinfo.h.
44016 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44017 * sysdeps/ia64/stackinfo.h: Likewise.
44018 * sysdeps/s390/stackinfo.h: Likewise.
44019 * sysdeps/sh/stackinfo.h: Likewise.
44020 * sysdeps/sparc/stackinfo.h: Likewise.
44021 * sysdeps/x86_64/stackinfo.h: Likewise.
44022 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44023 PF_X for powerpc64. Retain PF_X for powerpc32.
44025 2010-12-19 Ulrich Drepper <drepper@gmail.com>
44027 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44029 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44030 GETDENTS_64BIT_ALIGNED.
44032 2010-12-14 Ulrich Drepper <dreper@gmail.com>
44034 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44036 2010-12-10 Andreas Schwab <schwab@redhat.com>
44038 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44041 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44042 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44044 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44045 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44047 2010-12-09 Ulrich Drepper <drepper@gmail.com>
44050 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44053 2010-12-09 Jakub Jelinek <jakub@redhat.com>
44055 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44057 2010-12-03 Ulrich Drepper <drepper@gmail.com>
44059 * po/it.po: Update from translation team.
44061 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44063 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44066 2010-11-30 Ulrich Drepper <drepper@gmail.com>
44068 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44070 2010-11-24 Andreas Schwab <schwab@redhat.com>
44072 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44074 (gaih_getanswer_slice): Likewise.
44076 2010-10-20 Jakub Jelinek <jakub@redhat.com>
44078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44080 2010-05-31 Petr Baudis <pasky@suse.cz>
44083 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44084 silently even in the chroot mode.
44086 2010-11-22 Ulrich Drepper <drepper@gmail.com>
44088 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44089 last patch a bit. Pretty printing
44091 2010-05-31 Petr Baudis <pasky@suse.cz>
44094 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44095 initialization of skip_initgroups_dyn.
44097 2010-11-19 Ulrich Drepper <drepper@gmail.com>
44099 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44100 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44102 2010-11-16 Ulrich Drepper <drepper@gmail.com>
44104 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44106 2010-11-11 Andreas Schwab <schwab@redhat.com>
44108 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44109 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44110 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44111 ($(objpfx)tst-fnmatch-mem): New rule.
44112 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44113 * posix/tst-fnmatch.c (main): Call mtrace.
44115 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44118 Support Intel processor model 6 and model 0x2c.
44120 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
44122 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44125 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44128 * string/test-strncasecmp.c (check_result): New function.
44129 (do_one_test): Use it.
44130 (check1): New function.
44131 (test_main): Use it.
44132 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44133 Support strcasecmp and strncasecmp.
44135 2010-11-08 Ulrich Drepper <drepper@gmail.com>
44138 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44139 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44141 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44143 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44147 * sysdeps/x86_64/multiarch/bzero.S: New file.
44148 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44149 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44150 * sysdeps/x86_64/multiarch/memset.S: New file.
44151 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44153 Set bit_Prefer_SSE_for_memop for Intel processors.
44154 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44156 (index_Prefer_SSE_for_memop): Define.
44157 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44159 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
44161 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44162 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44164 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44167 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44168 (__x86_64_raw_data_cache_size_half): Likewise.
44169 (__x86_64_raw_shared_cache_size): Likewise.
44170 (__x86_64_raw_shared_cache_size_half): Likewise.
44172 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44173 (__x86_64_raw_data_cache_size_half): Likewise.
44174 (__x86_64_raw_shared_cache_size): Likewise.
44175 (__x86_64_raw_shared_cache_size_half): Likewise.
44176 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44177 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44178 and __x86_64_raw_shared_cache_size_half. Round
44179 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44180 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44181 to multiple of 256 bytes.
44183 2010-11-03 Ulrich Drepper <drepper@gmail.com>
44186 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44187 of inacessible symlinks. Verify result of symlink before returning it.
44188 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44189 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44191 2010-10-28 Erich Ritz <erichritz@gmail.com>
44193 * math/math.h (isinf): Fix typo in comment.
44195 2010-11-01 Ulrich Drepper <drepper@gmail.com>
44197 * po/da.po: Update from translation team.
44199 2010-10-26 Ulrich Drepper <drepper@gmail.com>
44201 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44202 is added to the list.
44204 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44205 Ulrich Drepper <drepper@gmail.com>
44207 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44208 the global list here. Move code to...
44209 (_dl_add_to_namespace_list): ...here. New function.
44210 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44211 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44212 * elf/dl-load.c (lose): Don't remove the element from the list.
44213 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44214 (_dl_map_object): Likewise.
44216 2010-10-25 Ulrich Drepper <drepper@gmail.com>
44219 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44220 into all bytes of SSE register.
44221 Patch by Richard Li <richardpku@gmail.com>.
44223 2010-10-24 Ulrich Drepper <drepper@gmail.com>
44226 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44229 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44231 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44232 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44233 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44234 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44239 2010-10-22 Andreas Schwab <schwab@redhat.com>
44241 * include/dlfcn.h (__RTLD_SECURE): Define.
44242 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44243 mode & __RTLD_SECURE instead.
44244 (open_path): Rename preloaded parameter to secure.
44245 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44246 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44247 * elf/dl-deps.c (openaux): Likewise.
44248 * elf/rtld.c (struct map_args): Remove is_preloaded.
44249 (map_doit): Don't use it.
44250 (dl_main): Likewise.
44251 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44252 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44254 2010-09-09 Andreas Schwab <schwab@redhat.com>
44256 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44257 (sysd-rules-targets): Remove duplicates.
44258 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44259 rtld-%.$o dependency.
44261 2010-10-18 Andreas Schwab <schwab@redhat.com>
44263 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44264 _dl_map_object do it.
44266 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44268 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44269 fast fma builtins, define the macros in the C99 standard.
44270 (FP_FAST_FMAF): Likewise.
44271 (FP_FAST_FMAL): Likewise.
44272 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44274 * bits/mathdef.h: Update copyright year.
44275 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44277 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44279 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44280 builtins, define the macros in the C99 standard.
44281 (FP_FAST_FMAF): Likewise.
44282 (FP_FAST_FMAL): Likewise.
44283 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44285 (FP_FAST_FMAF): Likewise.
44287 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44290 * math/libm-test.inc (fma_test): Some new testcases.
44291 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44292 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44293 y and infinite z. Do multiplication by C already in long double.
44294 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44296 y and infinite z. Do bitwise or of inexact bit into u.d.
44297 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44298 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44299 * sysdeps/i386/fpu/s_fma.S: Removed.
44300 * sysdeps/i386/fpu/s_fmal.S: Removed.
44302 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44305 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44306 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44307 computation is not scheduled after fetestexcept. Fix value
44308 of minimum denormal long double.
44310 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44313 * math/libm-test.inc (fma_test): Add some more tests.
44314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44317 2010-10-15 Andreas Schwab <schwab@redhat.com>
44319 * scripts/data/localplt-s390-linux-gnu.data: New file.
44320 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44322 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44325 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44326 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44328 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44330 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44332 if one of x and y is very large and the other is subnormal.
44333 * sysdeps/s390/fpu/s_fmaf.c: New file.
44334 * sysdeps/s390/fpu/s_fma.c: New file.
44335 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44336 * sysdeps/powerpc/fpu/s_fma.S: New file.
44337 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44338 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44339 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44341 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44344 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44346 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44347 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44348 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44349 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44350 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44351 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44352 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44354 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44357 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44358 * posix/bug-regex31.input: Add test case.
44360 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44362 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44363 * posix/bug-regex31.input: New file.
44366 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44367 (parse_sub_exp): Fix last change, use postorder.
44369 * posix/bug-regex31.c: New file.
44370 * posix/Makefile: Add rules to build and run bug-regex31.
44372 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44375 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44378 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44379 to have entries in sys_siglist.
44382 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44385 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44388 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44389 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44390 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44391 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44392 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44393 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44394 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44395 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44396 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44397 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44398 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44399 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44400 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44401 * math/ftestexcept.c (fetestexcept): Likewise.
44402 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44403 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44404 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44405 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44406 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44407 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44408 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44410 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44413 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44416 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44418 * string/bug-strstr1.c: New file.
44419 * string/Makefile: Add rules to build and run bug-strstr1.
44421 2010-10-05 Eric Blake <eblake@redhat.com>
44424 * string/str-two-way.h (two_way_long_needle): Always clear memory
44425 when skipping input due to the shift table.
44427 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44430 * malloc/mcheck.c: Handle large requests.
44433 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44434 for strncmp and strncasecmp.
44435 * string/stratcliff.c: Add tests for strcmp and strncmp.
44436 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44438 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44440 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44443 2010-09-30 Andreas Jaeger <aj@suse.de>
44445 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44446 (CGROUP_SUPER_MAGIC): Define.
44447 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44448 Handle btrfs and cgroup file systems.
44449 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44452 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44454 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44455 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44457 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44460 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44461 trying to locate the ELF header.
44463 2010-09-27 Andreas Schwab <schwab@redhat.com>
44466 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44467 Mask out sign-bit copies when constructing f_fsid.
44469 2010-09-24 Petr Baudis <pasky@suse.cz>
44471 * debug/stack_chk_fail_local.c: Add missing licence exception.
44472 * debug/warning-nop.c: Likewise.
44474 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44476 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44477 implementing getdents64 using getdents syscall, set d_type if
44478 __ASSUME_GETDENTS32_D_TYPE.
44480 2010-09-16 Andreas Schwab <schwab@redhat.com>
44482 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44483 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44485 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44488 * posix/unistd.h: Undo change of feature selection for ftruncate from
44491 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44493 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44496 2010-09-20 Andreas Schwab <schwab@redhat.com>
44498 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44500 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44502 2010-09-14 Andreas Schwab <schwab@redhat.com>
44504 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44505 variables after CHECK_SP call.
44506 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44508 2010-09-13 Andreas Schwab <schwab@redhat.com>
44509 Ulrich Drepper <drepper@redhat.com>
44511 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44512 re-relocationg ld.so.
44513 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44514 _dl_init_paths call.
44515 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44518 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44520 * resolv/res_init.c (__res_vinit): Count the default server we added.
44522 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44523 Ulrich Drepper <drepper@redhat.com>
44526 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44527 (____longjmp_chk): Use %ebx for saving value across system call.
44530 2010-09-06 Andreas Schwab <schwab@redhat.com>
44532 * manual/Makefile: Don't mix pattern rules with normal rules.
44534 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44536 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44538 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44539 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44540 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44541 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44542 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44545 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44548 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44549 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44551 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44553 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44554 * sysdeps/x86_64/addmul_1.S: Likewise.
44555 * sysdeps/x86_64/lshift.S: Likewise.
44556 * sysdeps/x86_64/mul_1.S: Likewise.
44557 * sysdeps/x86_64/rshift.S: Likewise.
44558 * sysdeps/x86_64/sub_n.S: Likewise.
44559 * sysdeps/x86_64/submul_1.S: Likewise.
44561 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44563 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44564 Define __sched_param instead of SCHED_* and sched_param when
44565 <bits/sched.h> is included with __need_schedparam defined.
44566 * bits/sched.h [__need_schedparam]
44567 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44568 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44569 (__defined_schedparam): Define to 1.
44570 (__sched_param): New structure, identical to sched_param.
44571 (__need_schedparam): Undefine.
44573 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44575 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44576 (epoll_create1): Declare.
44578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44580 2010-08-31 Andreas Schwab <schwab@redhat.com>
44583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44584 shifting retval into place.
44586 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44588 * nis/rpcsvc/nis.h: Update copyright notice.
44589 * nis/rpcsvc/nis.x: Likewise.
44590 * nis/rpcsvc/nis_callback.h: Likewise.
44591 * nis/rpcsvc/nis_callback.x: Likewise.
44592 * nis/rpcsvc/nis_object.x: Likewise.
44593 * nis/rpcsvc/nis_tags.h: Likewise.
44594 * nis/rpcsvc/yp.h: Likewise.
44595 * nis/rpcsvc/yp.x: Likewise.
44596 * nis/rpcsvc/ypupd.h: Likewise.
44597 * nis/yp_xdr.c: Likewise.
44598 * nis/ypupdate_xdr.c: Likewise.
44600 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44601 mainly the body of pmap_getport. Add parameters to specify timeouts.
44602 (pmap_getport): Use __libc_rpc_getport.
44603 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44604 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44605 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44607 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44612 2010-08-27 Roland McGrath <roland@redhat.com>
44614 * sysdeps/i386/i686/multiarch/Makefile
44615 (CFLAGS-varshift.c): New variable.
44617 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44619 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44620 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44622 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44624 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44626 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44628 * sysdeps/x86_64/strlen.S: Unroll the loop.
44629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44630 strlen-sse2 strlen-sse2-bsf.
44631 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44632 __strlen_no_bsf if bit_Slow_BSF is set.
44633 (__strlen_sse42): Removed.
44634 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44635 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44637 2010-08-25 Roland McGrath <roland@redhat.com>
44639 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44640 * sysdeps/x86_64/multiarch/varshift.c: New file.
44641 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44642 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44643 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44644 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44646 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44649 strlen-sse2 strlen-sse2-bsf.
44650 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44651 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44652 (__strlen_sse2): Removed.
44653 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44654 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44656 bit_Slow_BSF for Atom.
44657 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44658 (index_Slow_BSF): Define.
44659 (HAS_SLOW_BSF): Define.
44661 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44664 * resolv/res_init.c (__res_vinit): When no server address at all
44665 is given default to loopback.
44667 2010-08-24 Roland McGrath <roland@redhat.com>
44669 * configure.in: Remove config-name.h generation.
44670 * configure: Regenerated.
44671 * config-name.in: File removed.
44672 * scripts/config-uname.sh: New file.
44673 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44674 ($(objdir)config-name.h): New target.
44676 * sunrpc/rpc_parse.h: Avoid nested comment.
44678 2010-08-24 Richard Henderson <rth@redhat.com>
44679 Ulrich Drepper <drepper@redhat.com>
44680 H.J. Lu <hongjiu.lu@intel.com>
44682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44684 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44685 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44686 _mm_alignr_epi8 with _mm_loadu_si128.
44687 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44688 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44689 (__m128i_shift_right): Removed.
44690 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44691 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44692 * sysdeps/x86_64/multiarch/varshift.h: New file.
44693 * sysdeps/x86_64/multiarch/varshift.S: New file.
44695 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44697 * configure.in: Move assembler checks to before sysdep dir checking.
44699 2010-08-20 Petr Baudis <pasky@suse.cz>
44701 * LICENSES: Sync the sunrpc license.
44703 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44705 * sunrpc/auth_des.c: Update copyright notice once again.
44706 * sunrpc/auth_none.c: Likewise.
44707 * sunrpc/auth_unix.c: Likewise.
44708 * sunrpc/authdes_prot.c: Likewise.
44709 * sunrpc/authuxprot.c: Likewise.
44710 * sunrpc/bindrsvprt.c: Likewise.
44711 * sunrpc/clnt_gen.c: Likewise.
44712 * sunrpc/clnt_perr.c: Likewise.
44713 * sunrpc/clnt_raw.c: Likewise.
44714 * sunrpc/clnt_simp.c: Likewise.
44715 * sunrpc/clnt_tcp.c: Likewise.
44716 * sunrpc/clnt_udp.c: Likewise.
44717 * sunrpc/clnt_unix.c: Likewise.
44718 * sunrpc/des_crypt.c: Likewise.
44719 * sunrpc/des_soft.c: Likewise.
44720 * sunrpc/get_myaddr.c: Likewise.
44721 * sunrpc/getrpcport.c: Likewise.
44722 * sunrpc/key_call.c: Likewise.
44723 * sunrpc/key_prot.c: Likewise.
44724 * sunrpc/openchild.c: Likewise.
44725 * sunrpc/pm_getmaps.c: Likewise.
44726 * sunrpc/pm_getport.c: Likewise.
44727 * sunrpc/pmap_clnt.c: Likewise.
44728 * sunrpc/pmap_prot.c: Likewise.
44729 * sunrpc/pmap_prot2.c: Likewise.
44730 * sunrpc/pmap_rmt.c: Likewise.
44731 * sunrpc/rpc/auth.h: Likewise.
44732 * sunrpc/rpc/auth_unix.h: Likewise.
44733 * sunrpc/rpc/clnt.h: Likewise.
44734 * sunrpc/rpc/des_crypt.h: Likewise.
44735 * sunrpc/rpc/key_prot.h: Likewise.
44736 * sunrpc/rpc/netdb.h: Likewise.
44737 * sunrpc/rpc/pmap_clnt.h: Likewise.
44738 * sunrpc/rpc/pmap_prot.h: Likewise.
44739 * sunrpc/rpc/pmap_rmt.h: Likewise.
44740 * sunrpc/rpc/rpc.h: Likewise.
44741 * sunrpc/rpc/rpc_des.h: Likewise.
44742 * sunrpc/rpc/rpc_msg.h: Likewise.
44743 * sunrpc/rpc/svc.h: Likewise.
44744 * sunrpc/rpc/svc_auth.h: Likewise.
44745 * sunrpc/rpc/types.h: Likewise.
44746 * sunrpc/rpc/xdr.h: Likewise.
44747 * sunrpc/rpc_clntout.c: Likewise.
44748 * sunrpc/rpc_cmsg.c: Likewise.
44749 * sunrpc/rpc_common.c: Likewise.
44750 * sunrpc/rpc_cout.c: Likewise.
44751 * sunrpc/rpc_dtable.c: Likewise.
44752 * sunrpc/rpc_hout.c: Likewise.
44753 * sunrpc/rpc_main.c: Likewise.
44754 * sunrpc/rpc_parse.c: Likewise.
44755 * sunrpc/rpc_parse.h: Likewise.
44756 * sunrpc/rpc_prot.c: Likewise.
44757 * sunrpc/rpc_sample.c: Likewise.
44758 * sunrpc/rpc_scan.c: Likewise.
44759 * sunrpc/rpc_scan.h: Likewise.
44760 * sunrpc/rpc_svcout.c: Likewise.
44761 * sunrpc/rpc_tblout.c: Likewise.
44762 * sunrpc/rpc_util.c: Likewise.
44763 * sunrpc/rpc_util.h: Likewise.
44764 * sunrpc/rpcinfo.c: Likewise.
44765 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44766 * sunrpc/rpcsvc/key_prot.x: Likewise.
44767 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44768 * sunrpc/rpcsvc/mount.x: Likewise.
44769 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44770 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44771 * sunrpc/rpcsvc/rex.x: Likewise.
44772 * sunrpc/rpcsvc/rstat.x: Likewise.
44773 * sunrpc/rpcsvc/rusers.x: Likewise.
44774 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44775 * sunrpc/rpcsvc/spray.x: Likewise.
44776 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44777 * sunrpc/rtime.c: Likewise.
44778 * sunrpc/svc.c: Likewise.
44779 * sunrpc/svc_auth.c: Likewise.
44780 * sunrpc/svc_authux.c: Likewise.
44781 * sunrpc/svc_raw.c: Likewise.
44782 * sunrpc/svc_run.c: Likewise.
44783 * sunrpc/svc_simple.c: Likewise.
44784 * sunrpc/svc_tcp.c: Likewise.
44785 * sunrpc/svc_udp.c: Likewise.
44786 * sunrpc/svc_unix.c: Likewise.
44787 * sunrpc/svcauth_des.c: Likewise.
44788 * sunrpc/xcrypt.c: Likewise.
44789 * sunrpc/xdr.c: Likewise.
44790 * sunrpc/xdr_array.c: Likewise.
44791 * sunrpc/xdr_float.c: Likewise.
44792 * sunrpc/xdr_mem.c: Likewise.
44793 * sunrpc/xdr_rec.c: Likewise.
44794 * sunrpc/xdr_ref.c: Likewise.
44795 * sunrpc/xdr_sizeof.c: Likewise.
44796 * sunrpc/xdr_stdio.c: Likewise.
44798 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44801 2010-08-19 Andreas Schwab <schwab@redhat.com>
44803 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44805 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44807 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44808 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44809 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44810 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44811 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44812 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44813 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44814 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44815 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44816 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44817 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44818 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44819 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44820 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44822 2010-07-26 Anton Blanchard <anton@samba.org>
44824 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44825 * malloc/arena.c (heap_trim): Likewise.
44827 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44829 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44832 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44834 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44836 * sysdeps/i386/elf/Makefile: New file.
44838 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44840 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44841 from fanotify_init.
44842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44843 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44845 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44847 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44849 * sysdeps/multiarch/strcmp.S: Likewise.
44851 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44853 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44854 strncase_l-nonascii.
44855 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44856 Add strncase_l-ssse3.
44857 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44858 * sysdeps/x86_64/strcmp.S: Likewise.
44859 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44860 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44861 * sysdeps/x86_64/strncase.S: New file.
44862 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44863 * sysdeps/x86_64/strncase_l.S: New file.
44864 * string/Makefile (strop-tests): Add strncasecmp.
44865 * string/test-strncasecmp.c: New file.
44867 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44870 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44871 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44873 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44875 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44877 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44879 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44880 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44881 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44883 2010-05-01 Alan Modra <amodra@gmail.com>
44885 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44886 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44887 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44888 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44889 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44890 tidying. Don't tail-call __sigjmp_save for static lib.
44891 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44893 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44894 (CALL_MCOUNT): Add eh info, and nop after bl.
44895 (TAIL_CALL_SYSCALL_ERROR): New macro.
44896 (PSEUDO_RET): Use it.
44897 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44898 Correct save location of integer regs and cr.
44899 (_dl_profile_resolve): Correct cr save location. Delete nops
44900 after bl when SHARED. Reduce cfi size a little by better
44901 placement of cfi directives.
44902 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44903 make a stack frame. Instead use parm save area as a temp.
44904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44905 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44907 Don't make a stack frame for parent, use parm save area.
44908 Increase child stack frame to 112 bytes. Don't save unused reg,
44909 and adjust reg usage. Set up cfi on error recovery and
44910 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44912 (__makecontext): Add dummy nop after jump to exit.
44913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44914 Use correct parm save area and cr save, reduce stack frame.
44915 Correct cfi for possible PSEUDO_RET frame setup.
44916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44917 Branch to local label emitted by PSEUDO_RET rather than
44920 2010-08-12 Andreas Schwab <schwab@redhat.com>
44923 * locale/programs/locale.c (print_assignment): New function.
44924 (show_locale_vars): Use it.
44926 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44928 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44930 (struct statfs64): Likewise.
44931 (_STATFS_F_FLAGS): Define.
44932 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44933 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44934 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44935 (ST_VALID): Define locally.
44936 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44937 __statvfs_getflags, use the provided value.
44938 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44939 __ASSUME_STATFS_F_FLAGS.
44941 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44943 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44944 Add sys/fanotify.h.
44945 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44946 fanotify_mask for GLIBC_2.13.
44947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44948 fanotify_init and fanotify_mark.
44949 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44950 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44952 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44954 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44955 prlimit64 for GLIBC_2.13.
44956 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44958 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44961 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44962 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44963 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44964 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44966 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44969 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44970 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44972 * nss/Makefile: Add rules to build and run tst-nss-test1.
44973 * shlib-versions: Add entry for libnss_test1.
44974 * nss/nss_test1.c: New file.
44975 * nss/tst-nss-test1.c: New file.
44977 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44978 (__nss_configure_lookup): Set appropriate entry in
44979 __nss_configure_lookup to true.
44980 * nss/nsswitch.h: Define enum with indeces of databases in
44981 databases and __nss_database_custom arrays. Declare
44982 __nss_database_custom.
44983 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44984 to avoid using nscd when custom rules are installed.
44985 * nss/getXXbyYY_r.c: Likewise.
44986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44988 * nss/nss_files/files-parse.c: Whitespace fixes.
44990 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44993 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44994 * posix/fnmatch_loop.c: Likewise.
44996 2010-07-17 Andi Kleen <ak@linux.intel.com>
44998 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44999 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45000 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45001 * Versions.def [GLIBC_2.13]: Add.
45003 2010-08-06 Ulrich Drepper <drepper@redhat.com>
45005 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45006 Also fail if tpwd after pwuid call is NULL.
45008 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45010 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45011 when converting to ms.
45013 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45015 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45016 EOPNOTSUPP errors with ENOTTY.
45017 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45018 EOPNOTSUPP errors with ENOTTY.
45020 2010-07-31 Ulrich Drepper <drepper@redhat.com>
45022 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45023 Add strcasecmp_l-ssse3.
45024 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45026 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45027 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45028 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45030 2010-07-30 Ulrich Drepper <drepper@redhat.com>
45032 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45034 * string/Makefile (strop-tests): Add strcasecmp.
45035 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45036 strcasecmp_l-nonascii.
45037 (gen-as-const-headers): Add locale-defines.sym.
45038 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45039 * sysdeps/x86_64/strcasecmp.S: New file.
45040 * sysdeps/x86_64/strcasecmp_l.S: New file.
45041 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45042 * sysdeps/x86_64/locale-defines.sym: New file.
45043 * string/test-strcasecmp.c: New file.
45045 * string/test-strcasestr.c: Test both ends of the range of characters.
45046 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45048 2010-07-29 Roland McGrath <roland@redhat.com>
45051 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45053 2010-07-27 Ulrich Drepper <drepper@redhat.com>
45055 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45058 2010-07-27 Andreas Schwab <schwab@redhat.com>
45060 * manual/memory.texi (Malloc Tunable Parameters): Document
45063 2010-07-26 Roland McGrath <roland@redhat.com>
45066 * configure.in (-fgnu89-inline check): Set and substitute
45067 gnu89_inline, not libc_cv_gnu89_inline.
45068 * configure: Regenerated.
45069 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45071 2010-07-26 Ulrich Drepper <drepper@redhat.com>
45073 * string/test-strnlen.c: New file.
45074 * string/Makefile (strop-tests): Add strnlen.
45075 * string/tester.c (test_strnlen): Add a few more test cases.
45076 * string/tst-strlen.c: Better error reporting.
45078 * sysdeps/x86_64/strnlen.S: New file.
45080 2010-07-24 Ulrich Drepper <drepper@redhat.com>
45082 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45083 lower-latency instructions.
45085 2010-07-23 Ulrich Drepper <drepper@redhat.com>
45087 * string/test-strcasestr.c: New file.
45088 * string/test-strstr.c: New file.
45089 * string/Makefile (strop-tests): Add strstr and strcasestr.
45090 * string/str-two-way.h: Don't undefine MAX.
45091 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45093 2010-07-21 Andreas Schwab <schwab@redhat.com>
45095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45096 strcasestr-nonascii.
45097 (CFLAGS-strcasestr-nonascii.c): Define.
45098 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45099 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45100 Remove unused attribute.
45102 2010-07-20 Roland McGrath <roland@redhat.com>
45104 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45105 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45106 ld.so.cache was broken. With it, there is no way to disable dsocaps
45107 like LD_HWCAP_MASK can disable hwcaps.
45109 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45111 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45113 2010-07-16 Ulrich Drepper <drepper@redhat.com>
45115 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45116 call in strcasestr.
45117 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45118 __strcasestr_sse42_nonascii.
45119 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45120 strcasestr-nonascii.c.
45121 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45123 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
45125 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45126 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45127 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45128 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45130 2010-07-09 Ulrich Drepper <drepper@redhat.com>
45132 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45135 2010-07-06 Andreas Schwab <schwab@redhat.com>
45138 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45141 2010-07-06 Ulrich Drepper <drepper@redhat.com>
45143 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45144 _PC_PIPE_BUF using F_GETPIPE_SZ.
45146 2010-07-05 Roland McGrath <roland@redhat.com>
45148 * manual/arith.texi (Rounding Functions): Fix rint description
45149 implicit in round description.
45151 2010-07-02 Ulrich Drepper <drepper@redhat.com>
45153 * elf/Makefile: Fix linking for a few tests to make recent linker
45156 2010-06-30 Andreas Schwab <schwab@redhat.com>
45158 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45159 $(common-objpfx)libc_nonshared.a.
45161 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
45163 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45164 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45165 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45166 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45167 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45168 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45169 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45170 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45185 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45186 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45187 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45188 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45189 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45190 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45191 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45192 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45193 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45194 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45195 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45196 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45212 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45214 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45215 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45216 * string/memmove.c (memmove): Renamed to ...
45217 (MEMMOVE): ...this. Default to memmove.
45218 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45219 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45222 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45223 mempcpy-ssse3-back memmove-ssse3-back.
45224 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45225 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45226 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45227 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45228 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45229 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45230 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45231 * sysdeps/x86_64/multiarch/memmove.c: New file.
45232 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45233 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45234 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45235 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45236 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45237 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45239 (index_Fast_Copy_Backward): Define.
45240 (HAS_ARCH_FEATURE): Define.
45241 (HAS_FAST_REP_STRING): Define.
45242 (HAS_FAST_COPY_BACKWARD): Define.
45244 2010-06-21 Andreas Schwab <schwab@redhat.com>
45246 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45247 Restore proper fallback handling.
45249 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45252 * posix/group_member.c (__group_member): Correct checking loop.
45254 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45255 OOM in getpwuid_r correctly. Return error number when the caller
45256 should return, otherwise -1.
45257 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45258 call returning > 0 value.
45259 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45261 2010-06-07 Andreas Schwab <schwab@redhat.com>
45263 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45264 libc_nonshared.a from targets in modules-names.
45266 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45268 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45271 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45273 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45274 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45275 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45278 2010-06-02 Andreas Schwab <schwab@redhat.com>
45280 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45282 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45284 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45286 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45291 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45293 2010-06-14 Roland McGrath <roland@redhat.com>
45295 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45297 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45299 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45300 __REDIRECT followed by __THROW.
45301 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45302 * posix/getopt.h (getopt): Likewise.
45304 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45306 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45307 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45308 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45310 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45311 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45313 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45315 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45317 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45321 Properly check family and model.
45323 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45325 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45327 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45329 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45331 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45333 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45336 2010-05-19 Andreas Schwab <schwab@redhat.com>
45338 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45341 2010-05-21 Andreas Schwab <schwab@redhat.com>
45343 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45344 and internal_recvmmsg.
45345 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45346 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45347 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45348 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45350 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45351 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45352 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45354 2010-05-20 Andreas Schwab <schwab@redhat.com>
45356 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45358 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45360 POWER7 optimizations.
45361 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45362 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45364 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45366 * version.h: Update for 2.13 development version.
45368 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45370 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45371 exceptions. Return 0.
45373 2010-05-07 Roland McGrath <roland@redhat.com>
45375 * elf/ldconfig.c (main): Add a const.
45377 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45379 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45380 (args_options): Add no-idn option.
45381 (ahosts_keys_int): Add idn_flags to ai_flags.
45382 (parse_option): Handle 'i' option to clear idn_flags.
45384 * malloc/malloc.c (_int_free): Possible race in the most recently
45385 added check. Only act on the data if no current modification
45388 See ChangeLog.17 for earlier changes.