1 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4 strlen for non SHARED builds.
6 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8 * nptl/allocatestack.c (check_list): Inlined function...
9 (__reclaim_stacks): ... here.
11 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17 2014-06-05 Joseph Myers <joseph@codesourcery.com>
19 * Rules (make-test-out): Include
20 LOCPATH=$(common-objpfx)localedata in default environment.
21 * debug/Makefile (tst-chk1-ENV): Remove variable.
22 (tst-chk2-ENV): Likewise.
23 (tst-chk3-ENV): Likewise.
24 (tst-chk4-ENV): Likewise.
25 (tst-chk5-ENV): Likewise.
26 (tst-chk6-ENV): Likewise.
27 (tst-lfschk1-ENV): Likewise.
28 (tst-lfschk2-ENV): Likewise.
29 (tst-lfschk3-ENV): Likewise.
30 (tst-lfschk4-ENV): Likewise.
31 (tst-lfschk5-ENV): Likewise.
32 (tst-lfschk6-ENV): Likewise.
33 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34 (tst-iconv7-ENV): Likewise.
35 * intl/Makefile (LOCPATH-ENV): Likewise.
36 (tst-codeset-ENV): Likewise.
37 (tst-gettext3-ENV): Likewise.
38 (tst-gettext5-ENV): Likewise.
39 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40 (tst-fopenloc-ENV): Likewise.
41 (tst-fgetws-ENV): Remove variable.
42 (tst-ungetwc1-ENV): Likewise.
43 (tst-ungetwc2-ENV): Likewise.
44 (bug-ungetwc2-ENV): Likewise.
45 (tst-swscanf-ENV): Likewise.
46 (bug-ftell-ENV): Likewise.
47 (tst-fgetwc-ENV): Likewise.
48 (tst-fseek-ENV): Likewise.
49 (tst-ftell-partial-wide-ENV): Likewise.
50 (tst-ftell-active-handler-ENV): Likewise.
51 (tst-ftell-append-ENV): Likewise.
52 * posix/Makefile (tst-fnmatch-ENV): Likewise.
53 (tst-regexloc-ENV): Likewise.
54 (bug-regex1-ENV): Likewise.
55 (tst-regex-ENV): Likewise.
56 (tst-regex2-ENV): Likewise.
57 (bug-regex5-ENV): Likewise.
58 (bug-regex6-ENV): Likewise.
59 (bug-regex17-ENV): Likewise.
60 (bug-regex18-ENV): Likewise.
61 (bug-regex19-ENV): Likewise.
62 (bug-regex20-ENV): Likewise.
63 (bug-regex22-ENV): Likewise.
64 (bug-regex23-ENV): Likewise.
65 (bug-regex25-ENV): Likewise.
66 (bug-regex26-ENV): Likewise.
67 (bug-regex30-ENV): Likewise.
68 (bug-regex32-ENV): Likewise.
69 (bug-regex33-ENV): Likewise.
70 (bug-regex34-ENV): Likewise.
71 (bug-regex35-ENV): Likewise.
72 (tst-rxspencer-ENV): Likewise.
73 (tst-rxspencer-no-utf8-ENV): Likewise.
74 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
75 (tst-sscanf-ENV): Likewise.
76 (tst-swprintf-ENV): Likewise.
77 (tst-swscanf-ENV): Likewise.
78 (test-vfprintf-ENV): Likewise.
79 (scanf13-ENV): Likewise.
80 (bug14-ENV): Likewise.
81 (tst-grouping-ENV): Likewise.
82 * stdlib/Makefile (tst-strtod-ENV): Likewise.
83 (tst-strtod3-ENV): Likewise.
84 (tst-strtod4-ENV): Likewise.
85 (tst-strtod5-ENV): Likewise.
86 (testmb2-ENV): Likewise./
87 * string/Makefile (tst-strxfrm-ENV): Likewise.
88 (tst-strxfrm2-ENV): Likewise.
89 (bug-strcoll1-ENV): Likewise.
90 (test-strcasecmp-ENV): Likewise.
91 (test-strncasecmp-ENV): Likewise.
92 * time/Makefile (tst-strptime-ENV): Likewise.
93 (tst-ftime_l-ENV): Likewise.
94 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
95 (tst-mbrtowc-ENV): Likewise.
96 (tst-wcrtomb-ENV): Likewise.
97 (tst-mbrtowc2-ENV): Likewise.
98 (tst-c16c32-1-ENV): Likewise.
99 (tst-mbsnrtowcs-ENV): Likewise.
101 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
103 * manual/resource.texi (How to get information about the memory
104 subsystem?): Fix typo.
105 Reported by Peon de la Parra Ivan <peon@keba.com>
107 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
110 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
111 (pthread_spin_lock): Branch out of spin loop to proper location.
112 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
113 (pthread_spin_lock): Likewise.
115 * nptl/tst-spin4.c: New test.
116 * nptl/Makefile (tests): Add tst-spin4.
118 2014-06-03 Andreas Schwab <schwab@suse.de>
121 * resolv/res_send.c (send_dg): Reload file descriptor after
124 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
126 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
128 2014-06-03 Richard Henderson <rth@redhat.com>
130 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
131 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
132 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
133 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
134 in the SAVE_PID block.
135 (__libc_vfork): New alias.
136 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
138 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
139 child in registers, not on the stack. Remove RESET_PID conditionals.
140 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
142 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
144 * sysdeps/aarch64/libm-test-ulps: Regenerate.
146 2014-06-03 Wilco <wdijkstr@arm.com>
148 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
149 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
150 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
151 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
152 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
155 2014-06-03 Wilco <wdijkstr@arm.com>
157 * sysdeps/aarch64/fpu/math_private.h
158 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
159 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
160 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
161 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
164 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
166 * crypt/crypt-private.h: Include ufc-crypt.h.
167 (__b64_from_24bit): Declare extern.
168 * crypt/crypt_util.c(__b64_from_24bit): New function.
169 (b64t): New static const variable.
170 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
171 (b64t): Remove variable.
172 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
173 * crypt/sha256-crypt.c: Include crypt-private.h.
174 (b64t): Remove variable.
175 (__sha256_crypt_r): Remove b64_from_24bit and replace
176 with __b64_from_24bit.
177 * crypt/sha512-crypt.c: Likewise.
179 2014-06-02 Roland McGrath <roland@hack.frob.com>
181 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
182 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
183 Label the code __libc_vfork rather than __vfork.
184 [!NOT_IN_libc] (vfork): Define as weak alias.
185 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
186 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
187 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
189 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
191 * malloc/malloc.c (malloc_info): Fix format specifier for
194 2014-06-02 Wilco <wdijkstr@arm.com>
196 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
199 2014-06-02 Wilco <wdijkstr@arm.com>
202 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
203 Rewrite to reduce FPCR/FPSR accesses.
205 2014-06-01 David S. Miller <davem@davemloft.net>
207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
209 2014-05-31 David S. Miller <davem@davemloft.net>
211 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
212 to occur in round to nearest mode when |x| >= 2.0
214 2014-05-30 Richard Henderson <rth@twiddle.net>
216 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
217 (PSEUDO_RET_NOERRNO): Remove.
218 (ret): Don't redefine.
219 (ret_NOERRNO): Define in terms of ret.
220 (ret_ERRVAL): Likewise.
222 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
223 use of PSEUDO_RET; perform the error check directly.
225 2014-05-30 Marko Myllynen <myllynen@redhat.com>
227 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
230 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
232 * malloc/malloc (malloc_info): Fix formatting.
234 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
235 Roland McGrath <roland@hack.frob.com>
237 * malloc/malloc (malloc_info): Also print mmapped statistics.
239 2014-05-30 Roland McGrath <roland@hack.frob.com>
241 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
242 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
244 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
246 * malloc/malloc.c (malloc_info): Inline mi_arena.
248 2014-05-29 Richard Henderson <rth@twiddle.net>
250 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
251 Remove comma before expanding ASM_ARGS_##nr.
252 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
253 Make _x0 a strict output; make _x8 a strict input; adjust expansion
255 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
256 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
257 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
258 (ASM_ARGS_1): Add leading comma.
260 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
261 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
263 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
264 Remove the expected plt for __errno_location.
266 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
267 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
270 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
271 Always allocate 64 bytes of stack frame. Use ldp/stp to create
272 it and break it down.
273 (DOCARGS_0, DOCARGS_1): Do nothing.
274 (DOCARGS_2): Update to store into the new stack frame.
275 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
276 (UNDOCARGS_1): Update to restore from the new stack frame.
277 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
278 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
280 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
281 (SINGLE_THREAD_P): New parameter for result regno.
282 (PSEUDO): Update to match; use cbz instead of beq.
284 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
285 Use ENTRY to define the _nocancel entry point. Share the syscall
286 and syscall error check paths with the cancel path.
289 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
290 whitespace; tabs before and after asm mnemonics.
292 2014-05-29 Eric Wong <normalperson@yhbt.net>
295 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
296 Call fstat64 or stat64 internally, depending on arguments passed.
297 Replace stat buffer argument with file descriptor argument.
298 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
299 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
300 Pass fd to __internal_statvfs instead of calling fstat64.
301 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
302 Pass fd to __internal_statvfs64 instead of calling fstat64.
303 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
304 Pass -1 to __internal_statvfs instead of calling stat64.
305 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
306 Pass -1 to __internal_statvfs64 instead of calling stat64.
308 2014-05-28 Roland McGrath <roland@hack.frob.com>
310 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
311 that was previously under [RESET_PID].
312 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
314 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
315 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
317 2014-05-27 Roland McGrath <roland@hack.frob.com>
319 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
321 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
322 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
324 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
326 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
328 2014-05-27 Andreas Schwab <schwab@suse.de>
330 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
332 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
333 * elf/rtld.c (init_tls, dl_main): Likewise.
334 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
335 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
336 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
337 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
338 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
339 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
340 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
341 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
342 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
343 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
344 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
345 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
346 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
347 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
348 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
349 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
350 * sysdeps/generic/tls.h: Update description.
352 2014-05-27 Will Newton <will.newton@linaro.org>
355 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
356 and restore r2 rather than just restoring.
358 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
361 * libio/tst-ftell-append.c: New test case.
362 * libio/Makefile (tests): Add test case.
363 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
365 * libio/wfileops.c (do_ftell_wide): Likewise.
367 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
371 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
375 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
376 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
377 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
378 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
379 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
380 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
381 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
384 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
387 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
388 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
389 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
390 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
391 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
393 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
394 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
396 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
398 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
400 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
401 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
402 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
404 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
405 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
406 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
407 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
409 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
412 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
415 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
418 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
425 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
430 conditional [RESET_PID].
431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
432 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
434 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
439 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
440 (__libc_vfork): New strong alias.
441 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
443 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
448 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
449 (__libc_vfork): New strong alias.
450 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
452 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
455 2014-05-26 Carlos O'Donell <carlos@redhat.com>
457 * malloc/malloc.c (mi_arena): New function.
458 (malloc_info): Remove nested function mi_arena. Call non-nosted
461 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
463 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
465 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
466 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
467 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
468 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
469 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
470 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
471 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
473 2014-05-26 Andreas Schwab <schwab@suse.de>
476 * locale/programs/repertoire.c (repertoire_read): Add slash
477 between I18NPATH element and file name.
478 * locale/programs/locfile.c (locfile_read): Likewise.
480 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
482 * nptl/pthread_mutexattr_settype.c
483 (__pthread_mutexattr_settype):
484 Disable lock elision for PTHREAD_MUTEX_NORMAL.
486 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
488 * nptl/tst-mutex5 (do_test):
489 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
491 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
493 * benchtests/README: Document 'init' directive.
494 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
496 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
497 (parse_file): Recognize 'init' directive.
499 2014-05-26 Kyle McMartin <kyle@redhat.com>
502 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
503 alignment of struct pthread.
505 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
508 * nscd/netgroupcache.c (addgetnetgrentX): Look for
509 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
510 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
511 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
513 2014-05-25 Richard Henderson <rth@twiddle.net>
515 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
516 (SINGLE_THREAD_P_PIC): Remove.
517 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
518 (SINGLE_THREAD_P_PIC): Remove.
520 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
521 branch to syscall error ...
523 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
524 from __local_syscall_error to .Lsyscall_error.
525 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
526 (SYSCALL_ERROR): Update label name.
528 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
529 Do not use DOARGS/UNDOARGS.
530 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
531 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
532 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
533 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
534 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
536 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
539 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
540 define if !NOT_IN_libc.
541 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
542 define with non-default symbol versions.
544 2014-05-23 Richard Henderson <rth@twiddle.net>
546 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
547 (vfork, __vfork): Define via compat_symbol.
549 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
550 [!HAVE_IFUNC] (vfork_compat): Remove.
551 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
553 2014-05-23 Joseph Myers <joseph@codesourcery.com>
556 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
557 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
560 2014-05-23 Richard Henderson <rth@twiddle.net>
562 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
563 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
564 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
565 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
567 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
568 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
569 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
570 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
571 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
572 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
573 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
574 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
575 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
576 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
577 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
578 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
579 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
580 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
581 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
582 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
583 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
584 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
585 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
586 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
587 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
588 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
589 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
590 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
591 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
592 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
593 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
594 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
595 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
596 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
597 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
598 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
599 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
600 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
601 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
602 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
603 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
604 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
605 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
606 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
607 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
608 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
609 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
610 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
611 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
612 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
613 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
614 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
615 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
616 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
617 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
618 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
619 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
620 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
621 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
622 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
624 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
625 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
626 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
627 before exiting on error.
628 (__libc_vfork): New strong alias.
629 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
630 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
632 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
633 that was previously under [RESET_PID].
634 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
636 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
638 2014-05-23 Joseph Myers <joseph@codesourcery.com>
641 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
642 value when x - 1 is zero.
643 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
644 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
645 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
646 0.0L for an argument of 1.0L.
647 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
649 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
650 value when x - 1 is zero.
651 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
652 * sysdeps/i386/fpu/libm-test-ulps: Update.
653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
655 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
657 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
658 alphasort and versionsort.
660 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
662 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
664 [copysignf]: Likewise.
666 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
668 * crypt/md5-crypt.c: Fix formatting.
670 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
672 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
673 (b64_from_24bit): New function.
675 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
677 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
678 libc_hidden_builtin_def to ifunc.
679 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
680 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
682 2014-05-21 Roland McGrath <roland@hack.frob.com>
684 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
685 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
687 2014-05-21 Joseph Myers <joseph@codesourcery.com>
689 * nscd/Depend (linuxthreads): Remove.
691 * resolv/Depend (linuxthreads): Remove.
692 * rt/Depend (linuxthreads): Remove.
694 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
695 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
696 $(common-objpfx)elf/.
697 (link-libc-before-gnulib): Likewise.
698 (elfobjdir): Remove variable.
699 * Makefile (install): Use $(elf-objpfx) instead of
700 $(common-objpfx)elf/.
701 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
703 (link-libc-deps): Likewise.
704 ($(common-objpfx)libc.so): Likewise.
705 ($(common-objpfx)linkobj/libc.so): Likewise.
706 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
707 instead of $(common-objpfx)elf/.
708 (symbolic-link-list): Likewise.
709 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
710 [$(cross-compiling) = no]: Likewise.
711 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
713 (static-gnulib-arch): Likewise.
714 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
715 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
716 $(common-objpfx)elf/.
718 2014-05-21 Richard Henderson <rth@redhat.com>
720 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
721 (SINGLE_THREAD_P): Use the correct width load. Fold
724 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
725 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
727 2014-05-20 Joseph Myers <joseph@codesourcery.com>
729 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
730 (libgcc_s_resume): Use __attribute_used__.
731 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
734 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
736 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
737 optimization when used with float constants.
739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
741 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
744 * locale/nl_langinfo_l.c: Make direct reference to every
745 _nl_current_CATEGORY symbol.
746 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
747 (tests-static): Add tst-langinfo-static.
748 (tests-special): Add tst-langinfo-static.out.
749 ($(objpfx)tst-langinfo.out): Redirect output.
750 ($(objpfx)tst-langinfo-static.out): New.
751 * localedata/tst-langinfo.sh: Send output to stdout.
752 * localedata/tst-langinfo-static.c: New file.
755 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
756 when the shift amount is modulo the limb size.
758 2014-05-20 Richard Henderson <rth@redhat.com>
761 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
762 Change type of sa_flags from unsigned int to int.
765 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
767 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
769 2014-05-20 Will Newton <will.newton@linaro.org>
771 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
772 Test the return value of the system call in the nocancel case.
774 2014-05-20 Will Newton <will.newton@linaro.org>
775 Yvan Roux <yvan.roux@linaro.org>
777 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
778 #include of asm/ptrace.h.
779 (PTRACE_GET_THREAD_AREA): Remove #undef.
780 (PTRACE_GETHBPREGS): Likewise.
781 (PTRACE_SETHBPREGS): Likewise.
782 (struct user_regs_struct): New structure.
783 (struct user_fpsimd_struct): New structure.
784 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
785 #include of asm/ptrace.h and second #include of sys/user.h.
786 (PTRACE_GET_THREAD_AREA): Remove #undef.
787 (PTRACE_GETHBPREGS): Likewise.
788 (PTRACE_SETHBPREGS): Likewise.
789 (ELF_NGREG): Use new struct user_regs_struct.
790 (elf_fpregset_t): Use new struct user_fpsimd_struct.
792 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
794 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
795 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
797 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
800 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
801 membar to avoid block loads/stores to overlap previous stores.
803 2014-05-17 Richard Henderson <rth@redhat.com>
805 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
806 Create the __##syscall_name##_nocancel entry point.
807 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
808 Remove; let the sysdep-cancel.h code create it.
810 2014-05-17 David S. Miller <davem@davemloft.net>
812 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
813 Protect with __USE_GNU.
814 (TIOCSET_TEMPT): Likewise.
815 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
816 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
817 these are already provided in bits/ioctl-types.h
819 2014-05-16 Roland McGrath <roland@hack.frob.com>
821 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
822 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
824 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
825 Use wait4 regardless of [__NR_waitpid].
827 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
830 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
831 (_FP_NANSIGN_Q): Set the quiet bit.
833 2014-05-16 Joseph Myers <joseph@codesourcery.com>
835 * benchtests/Makefile
836 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
837 not $(common-objpfx)math/libm.so.
838 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
839 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
840 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
841 $(common-objpfx)dlfcn/libdl.so.
842 ($(objpfx)tst-audit8): Depend on $(libm), not
843 $(common-objpfx)math/libm.so.
844 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
845 not $(common-objpfx)dlfcn/libdl.so.
847 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
848 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
849 [$(build-shared) = yes].
850 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
851 $(common-objpfx)nptl/libpthread.so.
852 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
853 $(common-objpfx)math/libm.so$(libm.so-version) or
854 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
855 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
856 $(common-objpfx)dlfcn/libdl.so.
857 * setjmp/Makefile (link-libm): Remove variable.
858 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
859 * stdio-common/Makefile (link-libm): Remove variable.
860 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
861 * stdlib/Makefile (link-libm): Remove variable.
862 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
863 ($(objpfx)tst-strtod-round): Likewise.
864 ($(objpfx)tst-tininess): Likewise.
865 ($(objpfx)tst-strtod-underflow): Likewise.
866 ($(objpfx)tst-strtod6): Likewise.
867 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
868 $(libdl), not $(common-objpfx)nptl/libpthread.so and
869 $(common-objpfx)dlfcn/libdl.so.
871 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
873 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
874 BSD terminal modes definitions.
876 2014-05-16 Roland McGrath <roland@hack.frob.com>
878 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
879 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
881 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
882 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
883 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
884 Don't do #include_next.
885 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
886 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
887 Don't do #include_next.
888 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
889 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
890 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
891 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
893 2014-05-16 Allan McRae <allan@archlinux.org>
895 * po/sv.po: Update Swedish translation from translation project.
897 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
900 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
903 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
904 errno if the TIOCGPTN ioctl fails with an error different than
906 * login/tst-ptsname.c: New file.
907 * login/Makefile (tests): Add tst-ptsname.
910 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
913 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
917 herrno to return EAI_AGAIN.
919 2014-05-14 Roland McGrath <roland@hack.frob.com>
921 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
922 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
923 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
924 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
925 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
926 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
927 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
928 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
930 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
931 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
932 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
933 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
934 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
935 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
936 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
937 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
938 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
939 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
940 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
941 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
942 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
943 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
944 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
945 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
946 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
947 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
948 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
949 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
950 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
952 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
954 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
957 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
959 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
961 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
963 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
965 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
967 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
969 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
971 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
973 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
975 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
977 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
979 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
981 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
986 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
988 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
990 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
992 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
994 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
996 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
998 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1000 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1002 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1004 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1007 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1009 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1011 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1012 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1013 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1014 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1015 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1017 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1018 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1019 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1020 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1021 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1022 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1023 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1024 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1025 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1026 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1027 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1028 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1029 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1030 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1031 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1032 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1033 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1034 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1035 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1036 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1037 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1038 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1039 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1040 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1041 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1043 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1044 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1046 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1047 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1048 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1049 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1050 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1051 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1053 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1054 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1056 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1057 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1059 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1060 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1062 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1063 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1064 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1065 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1067 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1068 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1069 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1070 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1071 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1072 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1073 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1074 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1076 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1077 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1079 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1081 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1082 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1083 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1084 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1085 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1087 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1089 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1091 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1092 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1093 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1094 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1095 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1096 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1098 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1101 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1102 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1104 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1105 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1107 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1108 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1109 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1110 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1112 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1113 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1114 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1115 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1116 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1117 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1118 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1119 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1121 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1122 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1124 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1126 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1127 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1128 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1129 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1130 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1132 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1134 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1136 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1137 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1138 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1139 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1140 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1141 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1142 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1143 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1144 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1145 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1147 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1148 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1150 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1151 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1153 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1154 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1156 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1157 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1158 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1159 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1160 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1161 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1163 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1164 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1165 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1166 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1167 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1168 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1169 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1170 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1172 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1173 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1175 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1177 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1178 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1179 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1180 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1181 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1183 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1185 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1187 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1188 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1189 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1190 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1191 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1192 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1193 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1194 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1195 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1196 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1197 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1199 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1200 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1202 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1203 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1205 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1206 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1207 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1208 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1209 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1210 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1211 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1212 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1213 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1214 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1215 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1216 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1217 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1218 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1219 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1220 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1221 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1222 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1224 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1225 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1226 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1227 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1229 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1230 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1231 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1232 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1233 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1234 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1235 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1236 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1238 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1239 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1241 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1242 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1243 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1244 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1245 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1246 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1247 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1248 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1249 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1250 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1251 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1252 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1253 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1254 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1255 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1256 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1257 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1259 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1260 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1261 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1262 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1263 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1265 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1266 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1267 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1268 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1269 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1270 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1271 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1272 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1273 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1274 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1276 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1277 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1279 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1280 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1281 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1282 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1283 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1284 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1285 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1286 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1287 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1288 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1289 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1290 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1291 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1292 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1293 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1295 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1297 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1299 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1301 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1303 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1305 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1307 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1313 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1314 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1315 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1316 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1317 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1318 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1319 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1320 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1321 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1322 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1323 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1324 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1325 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1326 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1327 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1329 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1330 that was previously under [RESET_PID].
1331 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1332 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1333 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1335 * sysdeps/i386/nptl/Implies: New file.
1336 * sysdeps/x86_64/nptl/Implies: New file.
1337 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1338 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1339 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1340 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1342 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1343 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1344 (__libc_vfork): New strong alias.
1345 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1346 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1348 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1349 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1350 (__libc_vfork): New strong alias.
1351 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1352 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1354 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1355 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1356 (__libc_vfork): New strong alias.
1357 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1358 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1359 * nptl/pt-vfork.c: New file.
1360 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1361 (libpthread: GLIBC_2.20): New version set (empty).
1363 2014-05-14 Will Newton <will.newton@linaro.org>
1365 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1368 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1371 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1372 arguments with exponent 65 or above.
1373 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1374 arguments 0x1p113L or above.
1375 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1376 to arguments 0x1p107L or above.
1377 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1378 positive arguments with exponent 65 or above.
1379 * math/auto-libm-test-in: Add more tests of log1p.
1380 * math/auto-libm-test-out: Regenerated.
1383 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1384 non-finite arguments is +0.
1385 * math/s_cacosf.c (__cacosf): Likewise.
1386 * math/s_cacosl.c (__cacosl): Likewise.
1387 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1388 * sysdeps/i386/fpu/libm-test-ulps: Update.
1389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1392 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1394 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1395 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1396 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1397 for explicit high bit of mantissa when testing for argument equal
1399 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1400 * sysdeps/i386/fpu/libm-test-ulps: Update.
1401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1404 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1405 (__erf): Scale by 16 instead of 8 in potentially underflowing
1406 case. Ensure exception if result actually underflows.
1407 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1408 (__erff): Scale by 16 instead of 8 in potentially underflowing
1409 case. Ensure exception if result actually underflows.
1410 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1411 (efx8): Remove variable.
1412 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1413 case. Ensure exception if result actually underflows.
1414 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1415 (efx8): Remove variable.
1416 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1417 case. Ensure exception if result actually underflows.
1418 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1419 (efx8): Remove variable.
1420 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1421 case. Ensure exception if result actually underflows.
1422 * math/auto-libm-test-in: Add more tests of erf.
1423 * math/auto-libm-test-out: Regenerated.
1425 2014-05-14 Andreas Schwab <schwab@suse.de>
1427 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1428 Remove code conditionalized on USE___THREAD.
1430 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1431 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1434 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1436 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1437 Define unconditionally.
1438 (__ASSUME_O_CLOEXEC): Likewise.
1439 (__ASSUME_SOCK_CLOEXEC): Likewise.
1440 (__ASSUME_IN_NONBLOCK): Likewise.
1441 (__ASSUME_PIPE2): Likewise.
1442 (__ASSUME_EVENTFD2): Likewise.
1443 (__ASSUME_SIGNALFD4): Likewise.
1444 (__ASSUME_DUP3): Likewise.
1445 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1446 (__ASSUME_DUP3): Do not define.
1447 (__ASSUME_EVENTFD2): Likewise.
1448 (__ASSUME_IN_NONBLOCK): Likewise.
1449 (__ASSUME_O_CLOEXEC): Likewise.
1450 (__ASSUME_PIPE2): Likewise.
1451 (__ASSUME_SIGNALFD4): Likewise.
1452 (__ASSUME_SOCK_CLOEXEC): Likewise.
1453 (__ASSUME_UTIMES): Undefine.
1454 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1455 (__ASSUME_UTIMES): Do not define.
1456 (__ASSUME_O_CLOEXEC): Likewise.
1457 (__ASSUME_SOCK_CLOEXEC): Likewise.
1458 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1459 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1461 (__ASSUME_PIPE2): Likewise.
1462 (__ASSUME_EVENTFD2): Likewise.
1463 (__ASSUME_SIGNALFD4): Likewise.
1464 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1465 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1467 (__ASSUME_EVENTFD2): Likewise.
1468 (__ASSUME_SIGNALFD4): Likewise.
1469 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1470 (__ASSUME_32BITUIDS): Likewise.
1471 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1472 (__ASSUME_IPC64): Likewise.
1473 (__ASSUME_ST_INO_64_BIT): Likewise.
1474 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1475 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1476 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1477 (__ASSUME_UTIMES): Do not define.
1478 (__ASSUME_PSELECT): Likewise.
1479 (__ASSUME_PPOLL): Likewise.
1480 (__ASSUME_O_CLOEXEC): Likewise.
1481 (__ASSUME_SOCK_CLOEXEC): Likewise.
1482 (__ASSUME_IN_NONBLOCK): Likewise.
1483 (__ASSUME_PIPE2): Likewise.
1484 (__ASSUME_EVENTFD2): Likewise.
1485 (__ASSUME_SIGNALFD4): Likewise.
1486 (__ASSUME_DUP3): Likewise.
1487 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1488 (__ASSUME_UTIMES): Likewise.
1489 (__ASSUME_O_CLOEXEC): Likewise.
1490 (__ASSUME_SOCK_CLOEXEC): Likewise.
1491 (__ASSUME_IN_NONBLOCK): Likewise.
1492 (__ASSUME_PIPE2): Likewise.
1493 (__ASSUME_EVENTFD2): Likewise.
1494 (__ASSUME_SIGNALFD4): Likewise.
1495 (__ASSUME_DUP3): Likewise.
1496 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1497 (__ASSUME_UTIMES): Likewise.
1498 (__ASSUME_O_CLOEXEC): Likewise.
1499 (__ASSUME_SOCK_CLOEXEC): Likewise.
1500 (__ASSUME_IN_NONBLOCK): Likewise.
1501 (__ASSUME_PIPE2): Likewise.
1502 (__ASSUME_EVENTFD2): Likewise.
1503 (__ASSUME_SIGNALFD4): Likewise.
1504 (__ASSUME_DUP3): Likewise.
1505 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1507 (__ASSUME_UTIMES): Likewise.
1508 (__ASSUME_EVENTFD2): Likewise.
1509 (__ASSUME_SIGNALFD4): Likewise.
1510 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1511 (__ASSUME_O_CLOEXEC): Likewise.
1512 (__ASSUME_SOCK_CLOEXEC): Likewise.
1513 (__ASSUME_IN_NONBLOCK): Likewise.
1514 (__ASSUME_PIPE2): Likewise.
1515 (__ASSUME_EVENTFD2): Likewise.
1516 (__ASSUME_SIGNALFD4): Likewise.
1517 (__ASSUME_DUP3): Likewise.
1518 (__ASSUME_UTIMES): Undefine.
1520 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1521 feclearexcept. Remove symbol versioning code.
1522 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1523 symbol versioning code.
1524 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1525 symbol versioning code.
1526 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1527 feupdateenv. Remove symbol versioning code.
1528 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1529 fegetexceptflag. Remove symbol versioning code.
1530 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1531 fesetexceptflag. Remove symbol versioning code.
1532 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1533 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1534 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1535 (__posix_fadvise64_l32): Remove prototype.
1536 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1539 2014-05-13 Roland McGrath <roland@hack.frob.com>
1541 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1542 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1543 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1544 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1546 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1548 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1549 current working directory
1551 2014-05-13 Roland McGrath <roland@hack.frob.com>
1553 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1554 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1555 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1556 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1557 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1558 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1559 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1560 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1561 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1562 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1563 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1564 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1565 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1566 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1567 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1568 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1569 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1570 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1571 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1572 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1573 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1574 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1575 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1576 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1577 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1578 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1579 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1580 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1581 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1582 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1583 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1584 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1585 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1586 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1587 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1588 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1589 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1590 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1591 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1592 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1593 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1594 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1596 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1597 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1599 * sysdeps/unix/sysv/linux/arm/Makefile
1600 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1601 Add rt-aeabi_unwind_cpp_pr1.
1602 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1603 Add nptl-aeabi_unwind_cpp_pr1.
1604 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1605 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1606 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1607 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1608 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1609 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1611 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1612 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1613 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1614 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1616 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1617 Deconditionalize the code that was previously under [RESET_PID].
1618 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1620 * sysdeps/generic/exit-thread.h: New file.
1621 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1622 * include/unistd.h (__exit_thread): Remove declaration.
1623 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1624 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1625 * csu/libc-start.c: Include <exit-thread.h>.
1626 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1627 * nptl/pthread_create.c: Include <exit-thread.h>.
1628 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1629 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1630 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1631 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1632 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1633 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1634 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1635 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1636 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1637 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1638 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1639 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1640 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1641 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1642 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1643 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1644 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1646 2014-05-13 Andreas Schwab <schwab@suse.de>
1648 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1650 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1652 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1653 (__ASSUME_UTIMES): Do not condition on kernel version.
1654 (__ASSUME_PSELECT): Define unconditionally.
1655 (__ASSUME_PPOLL): Likewise.
1656 (__ASSUME_ATFCTS): Likewise.
1657 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1658 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1659 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1660 (__ASSUME_UTIMENSAT): Define unconditionally.
1661 (__ASSUME_PRIVATE_FUTEX): Likewise.
1662 (__ASSUME_FALLOCATE): Likewise.
1663 (__ASSUME_O_CLOEXEC): Likewise.
1664 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1665 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1666 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1667 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1668 (__ASSUME_IN_NONBLOCK): Likewise.
1669 (__ASSUME_PIPE2): Likewise.
1670 (__ASSUME_EVENTFD2): Likewise.
1671 (__ASSUME_SIGNALFD4): Likewise.
1672 (__ASSUME_DUP3): Likewise.
1673 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1674 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1675 (__ASSUME_AT_RANDOM): Likewise.
1676 (__ASSUME_PREADV): Likewise.
1677 (__ASSUME_PWRITEV): Likewise.
1678 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1679 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1680 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1681 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1682 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1683 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1684 (__ASSUME_O_CLOEXEC): Define unconditionally.
1685 (__ASSUME_PSELECT): Do not undefine conditionally.
1686 (__ASSUME_PPOLL): Likewise.
1687 (__ASSUME_ATFCTS): Likewise.
1688 (__ASSUME_SET_ROBUST_LIST): Likewise.
1689 (__ASSUME_UTIMENSAT): Likewise.
1690 (__ASSUME_FDATASYNC): Define unconditionally.
1691 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1692 (__ASSUME_SIGFRAME_V2): Likewise.
1693 )__ASSUME_EVENTFD2): Likewise.
1694 (__ASSUME_SIGNALFD4): Likewise.
1695 (__ASSUME_PSELECT): Do not undefine conditionally.
1696 (__ASSUME_PPOLL): Likewise.
1697 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1698 (__ASSUME_PSELECT): Define unconditionally.
1699 (__ASSUME_PPOLL): Likewise.
1700 (__ASSUME_O_CLOEXEC): Likewise.
1701 (__ASSUME_SOCK_CLOEXEC): Likewise.
1702 (__ASSUME_IN_NONBLOCK): Likewise.
1703 (__ASSUME_PIPE2): Likewise.
1704 (__ASSUME_EVENTFD2): Likewise.
1705 (__ASSUME_SIGNALFD4): Likewise.
1706 (__ASSUME_DUP3): Likewise.
1707 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1708 (__ASSUME_O_CLOEXEC): Likewise.
1709 (__ASSUME_SOCK_CLOEXEC): Likewise.
1710 (__ASSUME_IN_NONBLOCK): Likewise.
1711 (__ASSUME_PIPE2): Likewise.
1712 (__ASSUME_EVENTFD2): Likewise.
1713 (__ASSUME_SIGNALFD4): Likewise.
1714 (__ASSUME_DUP3): Likewise.
1715 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1716 (__ASSUME_EVENTFD2): Likewise.
1717 (__ASSUME_SIGNALFD4): Likewise.
1718 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1720 2014-05-12 Andreas Schwab <schwab@suse.de>
1723 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1724 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1725 than maximum RPC packet size.
1726 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1727 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1728 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1729 (_nss_nis_getservbyport_r): Likewise.
1731 2014-05-12 Will Newton <will.newton@linaro.org>
1733 * malloc/Makefile (tests): Add tst-mallopt.
1734 * malloc/tst-mallopt.c: New file.
1736 2014-05-09 Roland McGrath <roland@hack.frob.com>
1738 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1739 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1741 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1743 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1744 (tst-tlsmod6.so): Likewise.
1746 2014-05-09 Roland McGrath <roland@hack.frob.com>
1748 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1750 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1753 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1754 and <dl-procinfo.h>.
1755 (__fegetenv): Save SSE state in envp->__eip if supported.
1756 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1757 envp->__eip if supported.
1758 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1759 and <dl-procinfo.h>.
1760 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1761 __data_offset and __data_selector in environment to 0. Set SSE
1763 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1765 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1767 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1769 2014-05-09 Will Newton <will.newton@linaro.org>
1771 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1772 and libc_relro_required for ARM.
1773 * sysdeps/arm/preconfigure: Regenerate.
1775 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1776 Stefan Liebler <stli@linux.vnet.ibm.com>
1778 * config.make.in (enable-lock-elision): New Makefile variable.
1779 * configure.ac: Likewise.
1780 * configure: Regenerate.
1781 * sysdeps/s390/configure.ac:
1782 Add check for gcc transactions support.
1783 * sysdeps/s390/configure: Regenerate.
1784 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1785 Build elision files if enabled.
1786 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1787 Add lock elision support for s390.
1788 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1789 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1790 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1791 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1792 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1793 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1794 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1796 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1798 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1800 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1802 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1803 (__lll_timedlock_elision, __lll_lock_elision)
1804 (__lll_unlock_elision, __lll_trylock_elision)
1805 (lll_timedlock_elision, lll_lock_elision)
1806 (lll_unlock_elision, lll_trylock_elision): Add.
1807 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1808 (pthread_mutex_t): Add lock elision support for s390.
1810 2014-05-14 Wilco <wdijkstr@arm.com>
1812 * sysdeps/arm/fclrexcpt.c: Cleanup.
1813 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1814 * sysdeps/arm/feenablxcpt.c: Cleanup.
1815 * sysdeps/arm/fegetenv.c: Cleanup.
1816 * sysdeps/arm/fegetexcept.c: Cleanup.
1817 * sysdeps/arm/fegetround.c: Cleanup.
1818 * sysdeps/arm/feholdexcpt.c: Cleanup.
1819 * sysdeps/arm/fesetenv.c: Cleanup.
1820 * sysdeps/arm/fesetround.c: Cleanup.
1821 * sysdeps/arm/feupdateenv.c: Cleanup.
1822 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1823 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1824 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1825 * sysdeps/arm/ftestexcept.c: Cleanup.
1826 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1827 * sysdeps/arm/setfpucw.c: Cleanup.
1829 2014-05-09 Will Newton <will.newton@linaro.org>
1831 * sysdeps/arm/armv7/strcmp.S: New file.
1832 * NEWS: Mention addition of ARMv7 optimized strcmp.
1834 2014-05-08 Roland McGrath <roland@hack.frob.com>
1836 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1837 look for %.ac rather than %.in.
1839 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1840 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1841 * sysdeps/mach/hurd/configure: Regenerated.
1842 * sysdeps/unix/sysv/linux/configure: Regenerated.
1844 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1846 2014-05-07 Steve Ellcey <sellcey@mips.com>
1849 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1853 2014-05-07 Andreas Schwab <schwab@suse.de>
1855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1856 when skipping over non-matching result from nscd.
1858 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1861 * nptl/sockperf.c (client): Check socket return value.
1864 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1865 nscd security class.
1867 2014-05-06 Roland McGrath <roland@hack.frob.com>
1869 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1870 * sysdeps/arm/unwind.h: ... here.
1872 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1875 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1878 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1880 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1881 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1882 multiarch strncpy for PPC64.
1883 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1884 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1885 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1886 multiarch optimizations.
1887 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1888 (__libc_ifunc_impl_list): Likewise.
1889 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1890 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1891 multiarch stpncpy for PPC64.
1892 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1893 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1895 2014-05-06 Andreas Schwab <schwab@suse.de>
1898 * gmon/mcount.c (_MCOUNT_DECL): Use
1899 atomic_compare_and_exchange_bool_acq instead of
1900 catomic_compare_and_exchange_bool_acq.
1902 2014-05-05 Roland McGrath <roland@hack.frob.com>
1904 * elf/Makefile (others, install-bin): Remove pldd.
1905 (pldd-modules): Variable removed.
1906 ($(objpfx)pldd): Target removed.
1907 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1908 (others, install-bin): Append pldd here.
1909 ($(objpfx)pldd): New target.
1911 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1912 to 0, so the first #if test emitted later doesn't see it undefined.
1913 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1914 * sysdeps/gnu/errlist.c: Regenerated.
1916 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1918 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1919 [libc_hidden_builtin_def]: Define to empty value.
1920 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1921 [libc_hidden_builtin_def]: Likewise.
1922 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1923 [libc_hidden_builtin_def]: Likewise.
1924 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1925 [libc_hidden_builtin_def]: Likewise.
1926 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1927 __redirect_memcpy and define ifunc as default hidden symbol.
1928 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1929 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1931 2014-05-04 Adam Conrad <adconrad@0c3.net>
1933 * locale/iso-4217.def: Reintroduce XDR currency.
1935 2014-05-04 Allan McRae <allan@archlinux.org>
1937 * po/eo.po: Update Esperanto translation from translation project.
1939 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1941 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1942 and FEATURE_INDEX_MAX to 1.
1943 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1945 2014-05-01 Steve Ellcey <sellcey@mips.com>
1947 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1948 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1949 * iconvdata/big5.c (ONE_DIRECTION): Define.
1950 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1951 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1952 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1953 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1954 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1955 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1956 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1957 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1958 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1959 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1960 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1961 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1962 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1963 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1964 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1965 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1966 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1967 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1968 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1969 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1970 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1971 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1972 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1973 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1974 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1975 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1976 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1977 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1978 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1979 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1980 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1981 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1982 * iconvdata/johab.c (ONE_DIRECTION): Define.
1983 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1984 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1985 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1986 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1987 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1988 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1989 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1990 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1991 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1992 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1994 2014-05-01 Roland McGrath <roland@hack.frob.com>
1996 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1997 (_IO_JUMPS_OFFSET): Define to 0.
1999 * nptl/sysdeps/pthread/bits/libc-lock.h
2000 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2001 (__libc_lock_define_initialized_recursive): Always define using
2002 initializer. Modern compilers treat uninitialized (implicit zero) and
2003 explicit zero initializers the same (i.e. put the datum in bss).
2005 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2007 * nscd/nscd-client.h: Include <string.h>.
2009 2014-05-01 David S. Miller <davem@davemloft.net>
2012 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2013 multiple zero bytes exist at the end of a string.
2014 Reported by Aurelien Jarno <aurelien@aurel32.net>
2016 * string/test-strcmp.c (check): Add explicit test for situations where
2017 there are multiple zero bytes after the first.
2019 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2022 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2023 when compiling wprintf.
2024 * stdio-common/tstdiomisc.c (t3): New function.
2027 2014-05-01 Steve Ellcey <sellcey@mips.com>
2029 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2030 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2031 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2032 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2034 2014-05-01 Steve Ellcey <sellcey@mips.com>
2036 * stdlib/longlong.h: Updated from GCC.
2038 2014-05-01 Will Newton <will.newton@linaro.org>
2039 Bernard Ogden <bernie.ogden@linaro.org>
2041 * NEWS: Update fixed bug list.
2044 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2046 2014-04-30 David S. Miller <davem@davemloft.net>
2048 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2049 (libc_feholdexcept_setround_sparc_ctx): New function.
2050 (libc_fesetenv_sparc_ctx): Likewise.
2051 (libc_feupdateenv_sparc_ctx): Likewise.
2052 (libc_feholdsetround_sparc_ctx): Likewise.
2053 (libc_feholdexcept_setround_ctx): Define.
2054 (libc_feholdexcept_setroundf_ctx): Likewise.
2055 (libc_feholdexcept_setroundl_ctx): Likewise.
2056 (libc_fesetenv_ctx): Likewise.
2057 (libc_fesetenvf_ctx): Likewise.
2058 (libc_fesetenvl_ctx): Likewise.
2059 (libc_feupdateenv_ctx): Likewise.
2060 (libc_feupdateenvf_ctx): Likewise.
2061 (libc_feupdateenvl_ctx): Likewise.
2062 (libc_feresetround_ctx): Likewise.
2063 (libc_feresetroundf_ctx): Likewise.
2064 (libc_feresetroundl_ctx): Likewise.
2065 (libc_feholdsetround_ctx): Likewise.
2066 (libc_feholdsetroundf_ctx): Likewise.
2067 (libc_feholdsetroundl_ctx): Likewise.
2069 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2070 with __USE_GNU instead of XOPEN cpp guards.
2072 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2075 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2076 with XOPEN cpp guards.
2078 2014-04-30 Julian Brown <julian@codesourcery.com>
2081 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2084 2014-04-30 Joseph Myers <joseph@codesourcery.com>
2087 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2089 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2090 * sysdeps/unix/sysv/linux/configure: Regenerated.
2091 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2092 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2093 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2094 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2095 * README: Update reference to required Linux kernel version.
2096 * manual/install.texi (Linux): Update reference to required Linux
2097 kernel headers version.
2098 * INSTALL: Regenerated.
2100 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2102 [POSIX] (limits.h): Likewise.
2103 [POSIX] (math.h): Likewise.
2104 [POSIX] (sys/wait.h): Likewise.
2105 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2107 [POSIX] (stddef.h): Do not allow header inclusion.
2109 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2111 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2113 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2115 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2116 Return immediately after lll_futex_wake.
2118 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2121 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2123 (datahead_init_pos): Call datahead_init_common early.
2124 (datahead_init_neg): Likewise.
2126 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2127 datahead_init_neg): New functions.
2128 * nscd/aicache.c (addhstaiX): Use them.
2129 * nscd/grpcache.c (cache_addgr): Likewise.
2130 * nscd/hstcache.c (cache_addhst): Likewise.
2131 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2132 * nscd/netgroupcache.c (do_notfound): Likewise.
2133 (addgetnetgrentX): Likewise.
2134 (addinnetgrX): Likewise.
2135 * nscd/pwdcache.c (cache_addpw): Likewise.
2136 * nscd/servicescache.c (cache_addserv): Likewise.
2138 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2139 Atsushi Onoe <atsushi@onoe.org>
2144 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2145 one response is valid.
2146 * resolv/res_send.c (send_dg): Check for validity of other
2147 response if the current response is a referral.
2149 2014-04-29 Steve Ellcey <sellcey@mips.com>
2151 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2153 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2156 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2157 Always divide by positive zero when computing -Inf result.
2158 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2159 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2161 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2163 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2164 FPSCR if value do not change.
2165 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2166 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2167 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2168 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2169 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2170 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2173 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2175 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2176 * sysdeps/unix/sysv/linux/hppa: Move directory from
2177 ports/systeps/unix/sysv/linux/hppa.
2178 * README: Update listing for hppa-*-linux-gnu.
2180 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
2183 * manual/stdio.texi (Hook functions): Fix types of stream hook
2186 * socket/sys/socket.h: Fix typo in comment.
2188 2014-04-28 Wilco <wdijkstr@arm.com>
2190 * sysdeps/arm/fenv_private.h: New file.
2191 * sysdeps/arm/math_private.h: New file.
2192 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2194 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2196 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2198 (La_x86_64_retval): Likewise.
2200 2014-04-24 Ian Bolton <ian.bolton@arm.com>
2202 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2203 fpsr if value didn't change.
2204 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2205 to fpcr if value didn't change.
2206 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2207 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2208 fpsr or fpcr if value didn't change.
2209 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2210 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2211 fpcr if value didn't change.
2212 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2213 to fpsr if value didn't change.
2215 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2217 * nptl/tst-sem3.c: Use test-skeleton.c
2218 (main): Rename to do_test. Use return instead of
2220 * nptl/tst-sem4.c: Use test-skeleton.c
2221 (main): Rename to do_test.
2223 2014-04-22 David S. Miller <davem@davemloft.net>
2225 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2226 (struct sigaction): New struct member __glibc_reserved0, change
2227 type of sa_flags to int.
2229 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2231 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2232 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2234 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2236 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2237 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2239 2014-04-22 Will Newton <will.newton@linaro.org>
2240 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2242 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2243 (__longjmp): Add longjmp and longjmp_target SystemTap
2245 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2246 (__sigsetjmp): Add setjmp SystemTap probe.
2248 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2250 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2253 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2255 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2257 * sysdeps/powerpc/fpu/fenv_private.h
2258 (libc_feholdexcept_setroundl_ctx): Define to
2259 libc_feholdexcept_setround_ppc_ctx.
2260 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2261 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2262 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2263 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2265 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2267 * sysdeps/aarch64/math-tests.h: New file.
2269 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2271 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2274 Check and set bit_AVX2_Usable.
2275 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2277 (bit_AVX2): Likewise.
2278 (index_AVX2_Usable): Likewise.
2279 (CPUID_AVX2): Likewise.
2280 (HAS_AVX2): Likewise.
2282 2014-04-17 Will Newton <will.newton@linaro.org>
2284 * manual/setjmp.texi (System V contexts): Add note that
2285 calling setcontext on a context created by a call to a
2286 signal handler is undefined. Update text to note that
2287 setcontext from a signal handler is possible but not
2291 * stdlib/tst-setcontext.c: Include signal.h.
2292 (main): Check that the signal stack before and
2293 after swapcontext is the same.
2295 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2296 Re-implement to restore registers in user code and avoid
2297 rt_sigreturn system call.
2299 2014-04-17 Wilco <wdijkstr@arm.com>
2301 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2302 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2303 * math/test-fenv.c: Skip exception trap tests on targets which only
2304 support non-stop mode.
2306 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2307 Wilco Dijkstra <wilco.dijkstra@arm.com>
2309 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2310 (libc_feholdsetround_aarch64_ctx)
2311 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2312 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2313 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2314 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2315 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2316 (libc_feresetround_noexl_ctx): Define.
2318 2014-04-16 Richard Henderson <rth@redhat.com>
2320 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2322 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2325 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2326 const from the non-libc, non-ldso copy.
2328 * sysdeps/alpha/libm-test-ulps: Regenerate.
2330 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2331 Wilco Dijkstra <wilco.dijkstra@arm.com>
2333 * sysdeps/aarch64/fpu/math_private.h: New file.
2335 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2337 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2339 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2341 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2342 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2344 Intel MPX bound registers before _dl_profile_fixup.
2345 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2346 registers after _dl_profile_fixup. Save and restore bound
2347 registers bnd0/bnd1 when calling _dl_call_pltexit.
2348 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2349 (LR_BND_OFFSET): Likewise.
2350 (LRV_BND0_OFFSET): Likewise.
2351 (LRV_BND1_OFFSET): Likewise.
2353 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2355 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2357 * sysdeps/mach/hurd/i386/tls.h: ... here.
2358 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2359 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2362 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2364 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2366 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2368 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2370 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2373 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2374 * sysdeps/s390/configure: Regenerate.
2377 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2378 Set round-to-nearest internally to reduce error accumulation.
2380 2014-04-16 Alan Modra <amodra@gmail.com>
2384 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2385 * math/libm-test.inc (frexp_test_data): Add tests.
2386 * NEWS: Update fixed bug list.
2388 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2390 * benchtests/Makefile: Depend on libraries in build directory.
2391 (bench-math): Separate out math tests.
2392 (bench-pthread): Separate out pthread tests.
2393 (bench): Include math and pthread tests.
2395 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2398 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2399 _dl_debug_initialize.
2401 * configure.ac: Remove SELinux header check.
2402 * configure: Regenerate.
2403 * nscd/selinux.c (perms): Array of const char* to permission names.
2404 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2405 default policy. Call string_to_security_class and string_to_av_perm to
2406 translate strings. Enforce default policy and call avs_has_perm with
2407 results of translated strings.
2409 2014-04-13 David S. Miller <davem@davemloft.net>
2411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2413 2014-04-12 Allan McRae <allan@archlinux.org>
2416 * manual/string.texi (Collation Functions): Fix qsort argument
2418 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2420 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2422 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2423 Make the test a no-op if there are no exceptions defined.
2425 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2427 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2428 enable-hardcoded-path-in-tests
2430 2014-04-11 Will Newton <will.newton@linaro.org>
2432 * benchtests/Makefile (extra-objs): Add json-lib.o.
2433 (bench-func): Tidy up JSON output.
2434 * benchtests/bench-skeleton.c: Include json-lib.h.
2435 (main): Use JSON library functions to do output of
2437 * benchtests/bench-timing-type.c (main): Output the
2438 timing type simply, leaving formatting to the user.
2439 * benchtests/json-lib.c: New file.
2440 * benchtests/json-lib.h: Likewise.
2442 2014-04-11 Torvald Riegel <triegel@redhat.com>
2445 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2446 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2447 memory barriers. Add comments.
2448 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2449 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2450 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2451 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2452 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2453 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2455 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2457 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2458 * sysdeps/s390/s390-64/configure.ac: ... this ...
2459 * sysdeps/s390/configure.ac: ... to here.
2460 * sysdeps/s390/s390-32/configure: Delete file.
2461 * sysdeps/s390/s390-64/configure: Delete file.
2462 * sysdeps/s390/configure: Regenerate.
2464 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2466 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2468 2014-04-11 Will Newton <will.newton@linaro.org>
2470 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2471 to zero if it is not defined elsewhere. (mtrim): Test
2472 the value of MALLOC_DEBUG with #if rather than #ifdef.
2474 2014-04-10 Torvald Riegel <triegel@redhat.com>
2476 * benchtests/pthread_once-inputs: New file.
2477 * benchtests/pthread_once-source.c: New file.
2478 * benchtests/README: Update documentation.
2480 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2481 H.J. Lu <hongjiu.lu@intel.com>
2483 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2484 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2485 * sysdeps/x86_64/configure: Regenerated.
2486 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2488 (REGISTER_SAVE_RAX): Likewise.
2489 (REGISTER_SAVE_RCX): Likewise.
2490 (REGISTER_SAVE_RDX): Likewise.
2491 (REGISTER_SAVE_RSI): Likewise.
2492 (REGISTER_SAVE_RDI): Likewise.
2493 (REGISTER_SAVE_R8): Likewise.
2494 (REGISTER_SAVE_R9): Likewise.
2495 (REGISTER_SAVE_BND0): Likewise.
2496 (REGISTER_SAVE_BND1): Likewise.
2497 (REGISTER_SAVE_BND2): Likewise.
2498 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2499 bound registers when calling _dl_fixup.
2501 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2503 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2504 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2506 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2507 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2508 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2509 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2510 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2511 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2512 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2514 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2517 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2518 pathconf(_PC_NAME_MAX).
2520 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2522 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2524 (__PTHREAD_SPINS): Move definition to ...
2525 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2526 (__PTHREAD_SPINS): ... here.
2527 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2528 (__PTHREAD_SPIN): Likewise.
2529 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2530 (__PTHREAD_SPIN): Likewise.
2531 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2532 (__PTHREAD_SPIN): Likewise.
2533 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2534 (__PTHREAD_SPIN): Likewise.
2535 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2536 (__PTHREAD_SPIN): Likewise.
2537 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2538 (__PTHREAD_SPIN): Likewise.
2539 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2540 (__PTHREAD_SPIN): Likewise.
2541 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2542 (__PTHREAD_SPIN): Likewise.
2543 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2544 (__PTHREAD_SPIN): Likewise.
2545 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2546 (__PTHREAD_SPIN): Likewise.
2547 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2548 (__PTHREAD_SPIN): Likewise.
2549 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2550 (__PTHREAD_SPIN): Likewise.
2552 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2553 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2554 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2555 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2557 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2558 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2559 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2560 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2562 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2563 strlen symbol for non multi-arch builds.
2564 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2565 missing hidden_def and weak_alias.
2567 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2569 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2571 2014-04-07 Will Newton <will.newton@linaro.org>
2573 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2574 and contents. [!_LIBC] Remove #ifndef and contents.
2575 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2576 * string/memccpy.c (__memccpy): Use ANSI prototype.
2577 * string/memfrob.c (memfrob): Likewise.
2578 * string/strcoll.c (STRCOLL): Likewise.
2579 * string/strlen.c (strlen): Likewise.
2580 * string/strtok.c (STRTOK): Likewise.
2581 * string/strcat.c: Remove unused #include of memcopy.h.
2582 (strcat): Use ANSI prototype.
2583 * string/strchr.c: Remove unused #include of memcopy.h.
2584 (strchr): Use ANSI prototype.
2585 * string/strcmp.c: Remove unused #include of memcopy.h.
2586 (strcmp): Use ANSI prototype.
2587 * string/strcpy.c: Remove unused #include of memcopy.h.
2588 (strcpy): Use ANSI prototype.
2590 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2593 * config.make.in (config-extra-cppflags): Set it from
2594 libc_extra_cppflags.
2595 * configure.ac (libc_extra_cflags): Make it accumulate over
2596 configure fragments.
2597 (libc_extra_cppflags): New flag.
2598 * configure. Regenerate.
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2600 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2601 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2605 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2606 result for FE_DOWNWARD rounding mode.
2607 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2611 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2613 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2614 in function argument name.
2616 2014-04-03 David Svoboda <svoboda@cert.org>
2619 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2622 2014-04-03 Roland McGrath <roland@hack.frob.com>
2624 * elf/dl-unmap-segments.h: New file.
2625 * sysdeps/generic/ldsodefs.h
2626 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2627 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2628 * elf/dl-fptr.c: Likewise.
2629 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2630 * sysdeps/aarch64/tlsdesc.c: Likewise.
2631 * sysdeps/arm/tlsdesc.c: Likewise.
2632 * sysdeps/i386/tlsdesc.c: Likewise.
2633 * sysdeps/tile/dl-runtime.c: Likewise.
2634 * sysdeps/x86_64/tlsdesc.c: Likewise.
2635 * elf/dl-load.h: New file.
2636 * elf/dl-load.c: Include it.
2637 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2638 Macros moved to dl-load.h.
2639 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2640 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2641 Use _dl_unmap_segments in place of __munmap.
2642 Break out segment-mapping loop into ...
2643 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2645 2014-04-03 Will Newton <will.newton@linaro.org>
2647 * elf/dl-lookup.c (do_lookup_x): Remove comment
2648 referring to nested function and move variable
2649 declarations down to before first use.
2651 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2655 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2657 * math/s_catanf.c (__catanf): Likewise.
2658 * math/s_catanh.c (__catanh): Likewise.
2659 * math/s_catanhf.c (__catanhf): Likewise.
2660 * math/s_catanhl.c (__catanhl): Likewise.
2661 * math/s_catanl.c (__catanl): Likewise.
2662 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2663 by positive zero when computing -Inf result.
2664 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2665 (catanh_test): Likewise.
2666 * sysdeps/i386/fpu/libm-test-ulps: Update.
2667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2670 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2671 instead of using underflowing value in computing result.
2672 * math/s_clog10.c (__clog10): Likewise.
2673 * math/s_clog10f.c (__clog10f): Likewise.
2674 * math/s_clog10l.c (__clog10l): Likewise.
2675 * math/s_clogf.c (__clogf): Likewise.
2676 * math/s_clogl.c (__clogl): Likewise.
2677 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2678 (clog10_test): Likewise.
2679 * sysdeps/i386/fpu/libm-test-ulps: Update.
2680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2682 2014-04-02 Alan Modra <amodra@gmail.com>
2685 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2686 output when value is near a power of two. Use int64_t for lx and
2687 remove casts. Use decimal rather than hex exponent constants.
2688 Don't use long double multiplication when double will suffice.
2689 * math/libm-test.inc (nextafter_test_data): Add tests.
2690 * NEWS: Add 16739 and 16786 to bug list.
2692 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2694 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2696 2014-04-01 Will Newton <will.newton@linaro.org>
2698 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2699 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2701 2014-04-01 Florian Weimer <fweimer@redhat.com>
2704 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2705 * nptl/tst-setuid2.c: New file.
2706 * nptl/Makefile (xtests): Add tst-setuid2.
2708 2014-04-01 Alan Modra <amodra@gmail.com>
2711 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2713 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2717 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2718 set errno as appropriate.
2719 * math/w_scalbf.c (__scalbf): Likewise.
2720 * math/w_scalbl.c (__scalbl): Likewise.
2721 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2722 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2723 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2727 * math/w_atan2.c: Include <errno.h>.
2728 (__atan2): Set errno for result underflowing to zero.
2729 * math/w_atan2f.c: Include <errno.h>.
2730 (__atan2f): Set errno for result underflowing to zero.
2731 * math/w_atan2l.c: Include <errno.h>.
2732 (__atan2l): Set errno for result underflowing to zero.
2733 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2735 * math/auto-libm-test-out: Regenerated.
2737 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2739 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2740 Encode instruction correctly in little endian.
2741 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2743 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2745 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2747 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2750 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2753 * sysdeps/unix/sysv/linux/kernel-features.h
2754 [__sparc__ && !__arch64__ && !__sparc_v9__]
2755 (__ASSUME_SET_ROBUST_LIST): Do not define.
2756 [__sparc__ && !__arch64__ && !__sparc_v9__]
2757 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2758 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2760 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2761 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2762 (__ASSUME_REQUEUE_PI): Likewise.
2763 (__ASSUME_SET_ROBUST_LIST): Likewise.
2764 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2765 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2767 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2768 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2770 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2772 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2774 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2775 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2777 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2778 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2782 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2783 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2784 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2786 2014-03-31 Will Newton <will.newton@linaro.org>
2788 * benchtests/Makefile (bench): Add ffs and ffsll to list
2790 * benchtests/ffs-inputs: New file.
2791 * benchtests/ffsll-inputs: Likewise.
2793 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2796 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2797 too large before casting to int.
2798 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2799 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2800 * math/libm-test.inc (scalb_test_data): Add more tests.
2802 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2804 * benchtests/Makefile (DETAILED_OPT): New make option.
2805 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2807 * benchtests/bench-skeleton.c: Include stdbool.h.
2808 (main): Store and print timings per input.
2809 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2810 member to each argument value.
2811 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2812 (_print_arg_data): Initialize per-input timing to 0.
2814 * benchtests/Makefile (timing-type): New binary.
2815 (bench-clean): Also remove bench-timing-type.
2816 (bench): New target for timing-type.
2817 (bench-func): Print output in JSON format.
2818 * benchtests/bench-skeleton.c (main): Print output in JSON
2820 * benchtests/bench-timing-type.c: New file.
2821 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2822 (TIMING_PRINT_STATS): Remove.
2823 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2826 * benchtests/bench-modf.c: Remove.
2827 * benchtests/modf-inputs: New inputs file.
2829 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2832 * math/s_clog10.c (M_PI_LOG10E): New macro.
2833 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2834 imaginary parts are 0.
2835 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2836 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2837 imaginary parts are 0.
2838 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2839 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2840 imaginary parts are 0.
2841 * math/libm-test.inc (clog10_test_data): Update expected results
2842 for when real and imaginary parts are 0.
2844 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2846 * elf/dl-load.c: Finish conversion of __builtin_expect into
2849 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2852 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2853 1+x for argument with exponent below -67.
2854 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2856 * math/auto-libm-test-in: Add more tests of exp.
2857 * math/auto-libm-test-out: Regenerated.
2859 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2862 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2863 (nscd_getnetgrent): Use it.
2866 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2869 2014-03-27 Andi Kleen <ak@linux.intel.com>
2871 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2872 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2873 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2874 (lll_robust_unlock): Remove out of line section. Use cfi
2876 (LLL_STUB_UNWIND_INFO*): Remove.
2877 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2878 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2879 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2880 (lll_robust_unlock): Remove out of line section. Use cfi
2882 (LLL_STUB_UNWIND_INFO*): Remove.
2884 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2887 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2890 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2892 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2894 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2897 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2899 * math/test-fenv-preserve.c: New file.
2900 * math/Makefile (tests): Add test-fenv-preserve.
2902 2014-03-26 Will Newton <will.newton@linaro.org>
2904 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2906 2014-03-25 Roland McGrath <roland@hack.frob.com>
2908 * scripts/versionlist.awk: Partition the version sets and emit all
2909 GLIBC_* (sorted) before all others (sorted).
2911 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2913 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2914 GLIBC_2.2.5 version.
2916 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2918 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2921 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2926 2014-03-25 Andreas Schwab <schwab@suse.de>
2928 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2929 label to be used after in6ailist is initialized.
2931 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2933 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2934 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2936 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2940 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2942 (fp_formats): Update initializers.
2943 (init_fp_formats): Initialize new field.
2944 (output_for_one_input_case): Allow underflow for results up to
2946 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2947 * math/auto-libm-test-in: Don't mark some underflows from asin and
2949 * math/auto-libm-test-out: Regenerated.
2950 * sysdeps/i386/fpu/libm-test-ulps: Update.
2951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2953 2014-03-25 Andreas Schwab <schwab@suse.de>
2955 * libio/Makefile (tst-ftell-partial-wide-ENV)
2956 (tst-ftell-active-handler-ENV): Define.
2958 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2960 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2962 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2964 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2966 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2968 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2969 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2970 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2972 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2975 * elf/dl-load.c (open_verify): Add mode parameter.
2976 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2977 (open_path): Change from boolean 'secure' to complete flag 'mode'
2978 (_dl_map_object): Adjust.
2979 * elf/Makefile (tests): Add tst-dlopen-aout.
2980 * elf/tst-dlopen-aout.c: New test.
2982 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2985 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2986 (struct stat): Rename member pad0 to __glibc_reserved0.
2989 * sysdeps/s390/s390-32/bits/wordsize.h
2990 (__WORDSIZE32_SIZE_ULONG): New define.
2991 * sysdeps/s390/s390-64/bits/wordsize.h
2992 (__WORDSIZE32_SIZE_ULONG): Likewise.
2993 * sysdeps/generic/stdint.h (SIZE_MAX):
2994 Define as UL if __WORDSIZE32_SIZE_ULONG.
2997 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2998 (__glibc_reserved0): New variable.
2999 (sa_flags): Change type to int.
3001 * posix/Makefile (before-compile): Use += before-compile instead
3004 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3005 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3007 2014-03-20 Andreas Schwab <schwab@suse.de>
3010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3011 non-matching result from nscd.
3013 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3015 * scripts/bench.py: Moved to ...
3016 * benchtests/scripts/bench.py: ... here.
3017 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3019 2014-03-24 Andreas Schwab <schwab@suse.de>
3022 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3023 alloca_account and account alloca use for struct in6ailist.
3025 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3028 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3029 rounding mode to recompute results that overflow to infinity or
3031 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3033 * math/auto-libm-test-out: Regenerated.
3034 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3035 (ccosh_test): Likewise.
3036 (csin_test_data): Use plus_oflow.
3037 (csin_test): Use ALL_RM_TEST.
3038 (csinh_test_data): Use plus_oflow.
3039 (csinh_test): Use ALL_RM_TEST.
3040 * sysdeps/i386/fpu/libm-test-ulps: Update.
3041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3043 2014-03-21 Joseph Myers <joseph@codesourcery.com>
3045 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3046 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3047 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3050 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3052 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3053 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3054 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3055 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3057 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3058 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3060 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3061 * sysdeps/i386/fpu/libm-test-ulps: Update.
3062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3064 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3066 * scripts/bench.pl: Remove file.
3067 * scripts/bench.py: New benchmark script.
3068 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3069 * benchtests/README: Mention python dependency.
3070 * scripts/pylintrc: New file.
3071 * scripts/pylint: New file.
3073 * bits/mathdef.h: Use #ifdef instead of #if.
3074 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3075 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3076 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3077 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3078 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3079 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3081 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3082 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3084 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3086 and strpbrk-ppc64 objects.
3087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3088 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3089 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3090 multiarch strpbrk for POWER7.
3091 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3092 multiarch strpbrk for PPC64.
3093 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3095 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3098 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3100 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3101 (atan_test): Likewise.
3102 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3103 (atanh_test): Use ALL_RM_TEST.
3104 (atan2_test_data): Likewise.
3105 (cabs_test): Likewise.
3106 (cacosh_test): Likewise.
3107 (carg_test): Likewise.
3108 (casin_test): Likewise.
3109 (casinh_test): Likewise.
3110 (cbrt_test): Likewise.
3111 (csqrt_test): Likewise.
3112 (erf_test): Likewise.
3113 (erfc_test): Likewise.
3114 (pow10_test): Likewise.
3115 (exp2_test): Likewise.
3116 (hypot_test): Likewise.
3117 (j0_test): Likewise.
3118 (j1_test): Likewise.
3119 (lgamma_test): Likewise.
3120 (gamma_test): Likewise.
3121 (sincos_test): Likewise.
3122 (tanh_test): Likewise.
3123 (y0_test): Likewise.
3124 (y1_test): Likewise.
3125 * sysdeps/i386/fpu/libm-test-ulps: Update.
3126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3128 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3130 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3132 and strcspn-ppc64 objects.
3133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3134 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3135 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3136 multiarch strcspn for POWER7.
3137 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3138 multiarch strcspn for PPC64.
3139 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3141 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3144 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3146 * math/gen-libm-test.pl (generate_testfile): Expect only function
3147 name as argument to AUTO_TESTS_* and pass results for all rounding
3148 modes to parse_args.
3149 (parse_auto_input): Separate inputs of automatic tests from
3150 outputs before storing in %auto_tests.
3151 * math/libm-test.inc (acos_test_data): Update call to
3153 (acos_test): Use ALL_RM_TEST.
3154 (acos_tonearest_test_data): Remove.
3155 (acos_test_tonearest): Likewise.
3156 (acos_towardzero_test_data): Likewise.
3157 (acos_test_towardzero): Likewise.
3158 (acos_downward_test_data): Likewise.
3159 (acos_test_downward): Likewise.
3160 (acos_upward_test_data): Likewise.
3161 (acos_test_upward): Likewise.
3162 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3163 (asin_test_data): Likewise.
3164 (asin_test): Use ALL_RM_TEST.
3165 (asin_tonearest_test_data): Remove.
3166 (asin_test_tonearest): Likewise.
3167 (asin_towardzero_test_data): Likewise.
3168 (asin_test_towardzero): Likewise.
3169 (asin_downward_test_data): Likewise.
3170 (asin_test_downward): Likewise.
3171 (asin_upward_test_data): Likewise.
3172 (asin_test_upward): Likewise.
3173 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3174 (atan_test_data): Likewise.
3175 (atanh_test_data): Likewise.
3176 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3177 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3178 (carg_test_data): Likewise.
3179 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3180 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3181 (ccosh_test_data): Likewise.
3182 (cexp_test_data): Likewise.
3183 (clog_test_data): Likewise.
3184 (clog10_test_data): Likewise.
3185 (cos_test_data): Update call to AUTO_TESTS_f_f.
3186 (cos_test): Use ALL_RM_TEST.
3187 (cos_tonearest_test_data): Remove.
3188 (cos_test_tonearest): Likewise.
3189 (cos_towardzero_test_data): Likewise.
3190 (cos_test_towardzero): Likewise.
3191 (cos_downward_test_data): Likewise.
3192 (cos_test_downward): Likewise.
3193 (cos_upward_test_data): Likewise.
3194 (cos_test_upward): Likewise.
3195 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3196 (cosh_test): Use ALL_RM_TEST.
3197 (cosh_tonearest_test_data): Remove.
3198 (cosh_test_tonearest): Likewise.
3199 (cosh_towardzero_test_data): Likewise.
3200 (cosh_test_towardzero): Likewise.
3201 (cosh_downward_test_data): Likewise.
3202 (cosh_test_downward): Likewise.
3203 (cosh_upward_test_data): Likewise.
3204 (cosh_test_upward): Likewise.
3205 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3206 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3207 (ctan_test_data): Likewise.
3208 (ctan_test): Use ALL_RM_TEST.
3209 (ctan_tonearest_test_data): Remove.
3210 (ctan_test_tonearest): Likewise.
3211 (ctan_towardzero_test_data): Likewise.
3212 (ctan_test_towardzero): Likewise.
3213 (ctan_downward_test_data): Likewise.
3214 (ctan_test_downward): Likewise.
3215 (ctan_upward_test_data): Likewise.
3216 (ctan_test_upward): Likewise.
3217 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3218 (ctanh_test): Use ALL_RM_TEST.
3219 (ctanh_tonearest_test_data): Remove.
3220 (ctanh_test_tonearest): Likewise.
3221 (ctanh_towardzero_test_data): Likewise.
3222 (ctanh_test_towardzero): Likewise.
3223 (ctanh_downward_test_data): Likewise.
3224 (ctanh_test_downward): Likewise.
3225 (ctanh_upward_test_data): Likewise.
3226 (ctanh_test_upward): Likewise.
3227 (erf_test_data): Update call to AUTO_TESTS_f_f.
3228 (erfc_test_data): Likewise.
3229 (exp_test_data): Likewise.
3230 (exp_test): Use ALL_RM_TEST.
3231 (exp_tonearest_test_data): Remove.
3232 (exp_test_tonearest): Likewise.
3233 (exp_towardzero_test_data): Likewise.
3234 (exp_test_towardzero): Likewise.
3235 (exp_downward_test_data): Likewise.
3236 (exp_test_downward): Likewise.
3237 (exp_upward_test_data): Likewise.
3238 (exp_test_upward): Likewise.
3239 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3240 (exp10_test): Use ALL_RM_TEST.
3241 (exp10_tonearest_test_data): Remove.
3242 (exp10_test_tonearest): Likewise.
3243 (exp10_towardzero_test_data): Likewise.
3244 (exp10_test_towardzero): Likewise.
3245 (exp10_downward_test_data): Likewise.
3246 (exp10_test_downward): Likewise.
3247 (exp10_upward_test_data): Likewise.
3248 (exp10_test_upward): Likewise.
3249 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3250 (expm1_test_data): Likewise.
3251 (expm1_test): Use ALL_RM_TEST.
3252 (expm1_tonearest_test_data): Remove.
3253 (expm1_test_tonearest): Likewise.
3254 (expm1_towardzero_test_data): Likewise.
3255 (expm1_test_towardzero): Likewise.
3256 (expm1_downward_test_data): Likewise.
3257 (expm1_test_downward): Likewise.
3258 (expm1_upward_test_data): Likewise.
3259 (expm1_test_upward): Likewise.
3260 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3261 (fma_test): Use ALL_RM_TEST.
3262 (fma_towardzero_test_data): Remove.
3263 (fma_test_towardzero): Likewise.
3264 (fma_downward_test_data): Likewise.
3265 (fma_test_downward): Likewise.
3266 (fma_upward_test_data): Likewise.
3267 (fma_test_upward): Likewise.
3268 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3269 (j0_test_data): Update call to AUTO_TESTS_f_f.
3270 (j1_test_data): Likewise.
3271 (jn_test_data): Update call to AUTO_TESTS_if_f.
3272 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3273 (log_test_data): Update call to AUTO_TESTS_f_f.
3274 (log10_test_data): Likewise.
3275 (log1p_test_data): Likewise.
3276 (log2_test_data): Likewise.
3277 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3278 (pow_tonearest_test_data): Likewise.
3279 (sin_test_data): Update call to AUTO_TESTS_f_f.
3280 (sin_test): Use ALL_RM_TEST.
3281 (sin_tonearest_test_data): Remove.
3282 (sin_test_tonearest): Likewise.
3283 (sin_towardzero_test_data): Likewise.
3284 (sin_test_towardzero): Likewise.
3285 (sin_downward_test_data): Likewise.
3286 (sin_test_downward): Likewise.
3287 (sin_upward_test_data): Likewise.
3288 (sin_test_upward): Likewise.
3289 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3290 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3291 (sinh_test): Use ALL_RM_TEST.
3292 (sinh_tonearest_test_data): Remove.
3293 (sinh_test_tonearest): Likewise.
3294 (sinh_towardzero_test_data): Likewise.
3295 (sinh_test_towardzero): Likewise.
3296 (sinh_downward_test_data): Likewise.
3297 (sinh_test_downward): Likewise.
3298 (sinh_upward_test_data): Likewise.
3299 (sinh_test_upward): Likewise.
3300 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3301 (sqrt_test): Use ALL_RM_TEST.
3302 (sqrt_tonearest_test_data): Remove.
3303 (sqrt_test_tonearest): Likewise.
3304 (sqrt_towardzero_test_data): Likewise.
3305 (sqrt_test_towardzero): Likewise.
3306 (sqrt_downward_test_data): Likewise.
3307 (sqrt_test_downward): Likewise.
3308 (sqrt_upward_test_data): Likewise.
3309 (sqrt_test_upward): Likewise.
3310 (tan_test_data): Update call to AUTO_TESTS_f_f.
3311 (tan_test): Use ALL_RM_TEST.
3312 (tan_tonearest_test_data): Remove.
3313 (tan_test_tonearest): Likewise.
3314 (tan_towardzero_test_data): Likewise.
3315 (tan_test_towardzero): Likewise.
3316 (tan_downward_test_data): Likewise.
3317 (tan_test_downward): Likewise.
3318 (tan_upward_test_data): Likewise.
3319 (tan_test_upward): Likewise.
3320 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3321 (tgamma_test_data): Likewise.
3322 (y0_test_data): Likewise.
3323 (y1_test_data): Likewise.
3324 (yn_test_data): Update call to AUTO_TESTS_if_f.
3325 (main): Do not call removed functions.
3327 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3329 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3330 (ldexp_test_data): Remove.
3331 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3333 (scalb_test): Use ALL_RM_TEST.
3335 2014-03-19 Andreas Schwab <schwab@suse.de>
3337 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3339 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3342 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3343 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3344 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3346 (__ASSUME_PREADV): Undefine.
3347 (__ASSUME_PWRITEV): Likewise.
3349 2014-03-18 Roland McGrath <roland@hack.frob.com>
3351 * bits/mman-linux.h: Add comment about non-Linux use.
3352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3353 bits/mman-linux.h resting place.
3355 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3356 * bits/mman-linux.h: ... here.
3358 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3360 * conform/conformtest.pl: Add standard definition when calling C
3361 preprocessor on data files.
3362 (checknamespace): Remove unused variable.
3364 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3366 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3367 minus_oflow, plus_uflow and minus_uflow in expected results.
3368 * math/libm-test.inc (scalbn_test_data): Add more tests of
3369 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3371 (scalbn_test): Use ALL_RM_TEST.
3372 (scalbln_test_data): Add more tests of negative arguments. Use
3373 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3374 (scalbln_test): Use ALL_RM_TEST.
3376 2014-03-18 Roland McGrath <roland@hack.frob.com>
3378 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3380 2014-03-18 Will Newton <will.newton@linaro.org>
3382 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3385 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3387 * Makerules [!subdir] (check-abi): Exit with error status if a
3390 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3392 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3393 for rint. Include results for all rounding modes.
3394 (nearbyint_test): Use ALL_RM_TEST.
3395 (rint_test_data): Include all tests used for nearbyint.
3397 2014-03-17 Will Newton <will.newton@linaro.org>
3399 * nptl/sysdeps/pthread/pthread.h: Revert previous
3402 * sysdeps/generic/ldsodefs.h: Revert previous
3405 * libio/genops.c: Revert previous change.
3406 * libio/libioP.h: Likewise.
3407 * stdio-common/vfprintf.c: Likewise.
3409 * sysdeps/generic/math_private.h: Revert previous
3412 * sysdeps/generic/math_private.h: Check whether
3413 HAVE_RM_CTX is defined with #ifdef rather
3416 * argp/argp-fmtstream.h: Check whether
3417 __STRICT_ANSI__ is defined with #ifdef rather
3419 * argp/argp.h: Likewise.
3421 * libio/genops.c: Check whether
3422 _IO_JUMPS_OFFSET is defined with #ifdef rather
3424 * libio/libioP.h: Likewise.
3425 * stdio-common/vfprintf.c: Likewise.
3427 * sysdeps/generic/ldsodefs.h: Check whether
3428 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3431 * nptl/sysdeps/pthread/pthread.h: Check
3432 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3435 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3437 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3439 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3443 * libio/fileops.c (_IO_file_open): Seek to end of file but
3444 don't cache the offset.
3445 (get_file_offset): Remove function.
3446 (do_ftell): Use cached offset when available.
3447 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3448 don't cache the offset.
3449 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3451 (do_one_test): Call it.
3452 (do_ftell_test): Fix up expected old offset for a+ mode.
3453 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3456 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3457 up test status with function return status.
3458 (do_write_test): Likewise.
3459 (do_append_test): Likewise.
3461 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3462 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3465 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3467 * math/gen-libm-test.pl (parse_args): Handle results specified for
3468 each rounding mode separately.
3469 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3470 tests and results from lrint_tonearest_test_data,
3471 lrint_towardzero_test_data, lrint_downward_test_data and
3472 lrint_upward_test_data.
3473 (lrint_test): Use ALL_RM_TEST.
3474 (lrint_tonearest_test_data): Remove.
3475 (lrint_test_tonearest): Likewise.
3476 (lrint_towardzero_test_data): Likewise.
3477 (lrint_test_towardzero): Likewise.
3478 (lrint_downward_test_data): Likewise.
3479 (lrint_test_downward): Likewise.
3480 (lrint_upward_test_data): Likewise.
3481 (lrint_test_upward): Likewise.
3482 (llrint_test_data): Merge in per-rounding-mode tests and results
3483 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3484 llrint_downward_test_data and llrint_upward_test_data.
3485 (llrint_test): Use ALL_RM_TEST.
3486 (llrint_tonearest_test_data): Remove.
3487 (llrint_test_tonearest): Likewise.
3488 (llrint_towardzero_test_data): Likewise.
3489 (llrint_test_towardzero): Likewise.
3490 (llrint_downward_test_data): Likewise.
3491 (llrint_test_downward): Likewise.
3492 (llrint_upward_test_data): Likewise.
3493 (llrint_test_upward): Likewise.
3494 (rint_test_data): Merge in per-rounding-mode tests and results
3495 from rint_tonearest_test_data, rint_towardzero_test_data,
3496 rint_downward_test_data and rint_upward_test_data. Add
3497 per-rounding-mode results for tests not in those arrays.
3498 (rint_test): Use ALL_RM_TEST.
3499 (rint_tonearest_test_data): Remove.
3500 (rint_test_tonearest): Likewise.
3501 (rint_towardzero_test_data): Likewise.
3502 (rint_test_towardzero): Likewise.
3503 (rint_downward_test_data): Likewise.
3504 (rint_test_downward): Likewise.
3505 (rint_upward_test_data): Likewise.
3506 (rint_test_upward): Likewise.
3507 (main): Don't call removed functions.
3509 2014-03-14 Roland McGrath <roland@hack.frob.com>
3511 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3512 "Compiled on ..." crapola. It is anti-useful.
3514 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3516 * scripts/evaluate-test.sh: Handle fourth argument to determine
3517 whether test run should stop on failure.
3518 * Makeconfig (stop-on-test-failure): New variable.
3519 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3520 $(stop-on-test-failure).
3521 * Makefile (tests): Give a summary of results from testing and
3522 exit with failure status if they include an ERROR or FAIL.
3524 * manual/install.texi (Configuring and compiling): Mention
3525 stop-on-test-failure=y.
3526 * INSTALL: Regenerated.
3528 2014-03-14 Roland McGrath <roland@hack.frob.com>
3530 * scripts/versionlist.awk: New file.
3531 * Makerules [$(build-shared) = yes]
3532 (postclean-generated): Add Versions.def, not Versions.def.v and
3534 ($(common-objpfx)Versions.def.v.i): Target removed.
3535 ($(common-objpfx)Versions.def): New target.
3536 ($(common-objpfx)Versions.all): Depend on that rather that
3537 $(common-objpfx)Versions.def.v.
3538 * Versions.def: File removed.
3540 * Makeconfig (+gccwarn): Add -Wundef.
3541 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3542 a dl-sysdep.h breaking its contract.
3543 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3544 * include/stackinfo.h: New file.
3545 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3546 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3547 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3548 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3549 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3550 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3551 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3552 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3553 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3554 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3555 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3556 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3557 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3558 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3559 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3561 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3564 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3566 * math/libm-test.inc (round_test_data): Add more tests.
3569 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3571 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3574 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3576 * math/libm-test.inc (ceil_test_data): Add more tests.
3578 * math/libm-test.inc (trunc_test_data): Add more tests related to
3581 2014-03-14 Roland McGrath <roland@hack.frob.com>
3583 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3584 with #if rather than #ifdef.
3585 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3587 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3589 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3590 first. Disable AVX-512 GCC support if assembler doesn't support
3592 * sysdeps/x86_64/configure: Regenerated.
3594 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3596 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3597 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3598 (__old_pthread_attr_setstack): Likewise.
3599 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3600 [!_STACK_GROWS_DOWN]: Likewise.
3602 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3604 * config.make.in (have-bash2): Delete.
3605 * configure.ac (libc_cv_have_bash2): Delete.
3606 * configure: Regenerate.
3607 * elf/Makefile (common-ldd-rewrite): Rename to ...
3608 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3609 (sh-ldd-rewrite): Delete.
3610 (bash-ldd-rewrite): Delete.
3611 (have-bash2): Delete checks.
3612 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3615 * config.make.in (have-ksh): Delete.
3617 * configure.ac (libc_cv_have_ksh): Delete.
3618 * configure: Regenerate.
3620 * elf/Makefile: Delete $(have-ksh) check.
3621 ($(objpfx)sotruss): Change KSH to BASH.
3622 * elf/sotruss.ksh: Rename to ...
3623 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3624 function style to match POSIX. Drop ksh vim mode setting.
3626 * manual/time.texi (Specifying the Time Zone with TZ): Change
3627 Tuesday to Thursday.
3629 * debug/tst-longjmp_chk2.c: Update header comment.
3630 (stackoverflow_handler): Add comment. Call assert on pass value.
3632 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3634 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3635 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3636 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3637 (La_x86_64_vector): Add zmm.
3638 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3639 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3640 ($(objpfx)tst-audit10): New target.
3641 ($(objpfx)tst-audit10.out): Likewise.
3642 (tst-audit10-ENV): New.
3643 (AVX512-CFLAGS): Likewise.
3644 (CFLAGS-tst-audit10.c): Likewise.
3645 (CFLAGS-tst-auditmod10a.c): Likewise.
3646 (CFLAGS-tst-auditmod10b.c): Likewise.
3647 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3648 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3649 * sysdeps/x86_64/configure: Regenerated.
3650 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3651 AVX-512 zmm register support.
3652 (_dl_x86_64_save_sse): Likewise.
3653 (_dl_x86_64_restore_sse): Likewise.
3654 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3655 size vector registers.
3656 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3657 (ZMM_SIZE): Likewise.
3658 * sysdeps/x86_64/tst-audit10.c: New file.
3659 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3660 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3662 2014-03-13 Roland McGrath <roland@hack.frob.com>
3664 * configure.ac (HAVE_EHDR_START): New check.
3665 * configure: Regenerated.
3666 * config.h.in (HAVE_EHDR_START): New #undef.
3667 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3668 assuming the lowest-addressed segment maps the start of the file.
3670 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3672 * INSTALL: Regenerated.
3674 2014-03-13 Will Newton <will.newton@linaro.org>
3676 * manual/setjmp.texi (System V contexts): Improve
3677 clarity and grammar of documentation.
3679 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3682 * elf/Makefile (tests): Add tst-pie2.
3683 (tests-pie): Add tst-pie2.
3684 * elf/tst-pie2.c: New file.
3685 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3687 * elf/rtld.c (map_doit): Load executable as lt_executable.
3688 (dl_main): Likewise.
3690 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3693 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3694 (__ASSUME_PSELECT): Undefine.
3696 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3699 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3700 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3702 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3703 selector for static builds.
3705 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3708 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3711 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3713 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3714 IFUNC selector for static builds.
3716 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3718 * sysdeps/mips/math_private.h [__mips_hard_float]
3719 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3720 libc_feresetround_mips_ctx.
3721 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3722 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3723 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3726 * math/s_nextafter.c (__nextafter): Do not return value from
3727 overflowing computation.
3728 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3729 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3730 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3732 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3734 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3735 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3737 2014-03-11 Roland McGrath <roland@hack.frob.com>
3739 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3740 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3741 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3742 the new mov targetting sp.
3744 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3747 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3748 Define it for static builds as well.
3749 (NO_BZERO_IMPL): Likewise.
3751 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3753 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3754 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3755 multiarch strspn for PPC64.
3756 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3757 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3759 (__libc_ifunc_impl_list): Likewise.
3760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3761 multiarch optimizations
3762 * string/strspn.c (strspn): Using macro to redefine symbol name.
3764 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3765 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3767 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3768 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3769 multiarch strncat for PPC64.
3770 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3771 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3773 (__libc_ifunc_impl_list): Likewise.
3774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3775 multiarch optimizations
3777 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3780 * nscd/nscd.service: Make service type forking.
3782 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3784 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3785 sign in non default rounding modes.
3786 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3788 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3790 * math/libm-test.inc (ALL_RM_TEST): New macro.
3791 (ceil_test): Use ALL_RM_TEST.
3792 (cimag_test): Likewise.
3793 (conj_test): Likewise.
3794 (copysign_test): Likewise.
3795 (cproj_test): Likewise.
3796 (creal_test): Likewise.
3797 (fabs_test): Likewise.
3798 (floor_test): Likewise.
3799 (fmax_test): Likewise.
3800 (fmin_test): Likewise.
3801 (fmod_test): Likewise.
3802 (fpclassify_test): Likewise.
3803 (frexp_test): Likewise.
3804 (ilogb_test): Likewise.
3805 (isfinite_test): Likewise.
3806 (finite_test): Likewise.
3807 (isgreater_test): Likewise.
3808 (isgreaterequal_test): Likewise.
3809 (isinf_test): Likewise.
3810 (isless_test): Likewise.
3811 (islessequal_test): Likewise.
3812 (islessgreater_test): Likewise.
3813 (isnan_test): Likewise.
3814 (isnormal_test): Likewise.
3815 (issignaling_test): Likewise.
3816 (isunordered_test): Likewise.
3817 (logb_test): Likewise.
3818 (logb_downward_test_data): Remove.
3819 (logb_test_downward): Likewise.
3820 (lround_test): Use ALL_RM_TEST.
3821 (llround_test): Likewise.
3822 (modf_test): Likewise.
3823 (nexttoward_test): Likewise.
3824 (remainder_test): Likewise.
3825 (drem_test): Likewise.
3826 (remainder_tonearest_test_data): Likewise.
3827 (remainder_test_tonearest): Likewise.
3828 (drem_test_tonearest): Likewise.
3829 (remainder_towardzero_test_data): Likewise.
3830 (remainder_test_towardzero): Likewise.
3831 (drem_test_towardzero): Likewise.
3832 (remainder_downward_test_data): Likewise.
3833 (remainder_test_downward): Likewise.
3834 (drem_test_downward): Likewise.
3835 (remainder_upward_test_data): Likewise.
3836 (remainder_test_upward): Likewise.
3837 (drem_test_upward): Likewise.
3838 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3839 (round_test): Use ALL_RM_TEST.
3840 (signbit_test): Likewise.
3841 (trunc_test): Likewise.
3842 (significand_test): Likewise.
3843 (main): Don't call removed functions.
3845 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3848 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3850 (ILL_ILLOPN): Likewise.
3851 (ILL_ILLADR): Likewise.
3852 (ILL_ILLTRP): Likewise.
3853 (ILL_PRVOPC): Likewise.
3854 (ILL_PRVREG): Likewise.
3855 (ILL_COPROC): Likewise.
3856 (ILL_BADSTK): Likewise.
3857 (FPE_INTDIV): Likewise.
3858 (FPE_INTOVF): Likewise.
3859 (FPE_FLTDIV): Likewise.
3860 (FPE_FLTOVF): Likewise.
3861 (FPE_FLTUND): Likewise.
3862 (FPE_FLTRES): Likewise.
3863 (FPE_FLTINV): Likewise.
3864 (FPE_FLTSUB): Likewise.
3865 (SEGV_MAPERR): Likewise.
3866 (SEGV_ACCERR): Likewise.
3867 (BUS_ADRALN): Likewise.
3868 (BUS_ADRERR): Likewise.
3869 (BUS_OBJERR): Likewise.
3870 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3871 (TRAP_TRACE): Likewise.
3872 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3874 (CLD_KILLED): Likewise.
3875 (CLD_DUMPED): Likewise.
3876 (CLD_TRAPPED): Likewise.
3877 (CLD_STOPPED): Likewise.
3878 (CLD_CONTINUED): Likewise.
3879 (POLL_IN): Likewise.
3880 (POLL_OUT): Likewise.
3881 (POLL_MSG): Likewise.
3882 (POLL_ERR): Likewise.
3883 (POLL_PRI): Likewise.
3884 (POLL_HUP): Likewise.
3885 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3887 (ILL_ILLOPN): Likewise.
3888 (ILL_ILLADR): Likewise.
3889 (ILL_ILLTRP): Likewise.
3890 (ILL_PRVOPC): Likewise.
3891 (ILL_PRVREG): Likewise.
3892 (ILL_COPROC): Likewise.
3893 (ILL_BADSTK): Likewise.
3894 (FPE_INTDIV): Likewise.
3895 (FPE_INTOVF): Likewise.
3896 (FPE_FLTDIV): Likewise.
3897 (FPE_FLTOVF): Likewise.
3898 (FPE_FLTUND): Likewise.
3899 (FPE_FLTRES): Likewise.
3900 (FPE_FLTINV): Likewise.
3901 (FPE_FLTSUB): Likewise.
3902 (SEGV_MAPERR): Likewise.
3903 (SEGV_ACCERR): Likewise.
3904 (BUS_ADRALN): Likewise.
3905 (BUS_ADRERR): Likewise.
3906 (BUS_OBJERR): Likewise.
3907 (BUS_MCEERR_AR): Likewise.
3908 (BUS_MCEERR_AO): Likewise.
3909 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3910 (TRAP_TRACE): Likewise.
3911 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3913 (CLD_KILLED): Likewise.
3914 (CLD_DUMPED): Likewise.
3915 (CLD_TRAPPED): Likewise.
3916 (CLD_STOPPED): Likewise.
3917 (CLD_CONTINUED): Likewise.
3918 (POLL_IN): Likewise.
3919 (POLL_OUT): Likewise.
3920 (POLL_MSG): Likewise.
3921 (POLL_ERR): Likewise.
3922 (POLL_PRI): Likewise.
3923 (POLL_HUP): Likewise.
3924 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3925 (ILL_ILLOPN): Likewise.
3926 (ILL_ILLADR): Likewise.
3927 (ILL_ILLTRP): Likewise.
3928 (ILL_PRVOPC): Likewise.
3929 (ILL_PRVREG): Likewise.
3930 (ILL_COPROC): Likewise.
3931 (ILL_BADSTK): Likewise.
3932 (FPE_INTDIV): Likewise.
3933 (FPE_INTOVF): Likewise.
3934 (FPE_FLTDIV): Likewise.
3935 (FPE_FLTOVF): Likewise.
3936 (FPE_FLTUND): Likewise.
3937 (FPE_FLTRES): Likewise.
3938 (FPE_FLTINV): Likewise.
3939 (FPE_FLTSUB): Likewise.
3940 (SEGV_MAPERR): Likewise.
3941 (SEGV_ACCERR): Likewise.
3942 (BUS_ADRALN): Likewise.
3943 (BUS_ADRERR): Likewise.
3944 (BUS_OBJERR): Likewise.
3945 (BUS_MCEERR_AR): Likewise.
3946 (BUS_MCEERR_AO): Likewise.
3947 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3948 (TRAP_TRACE): Likewise.
3949 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3951 (CLD_KILLED): Likewise.
3952 (CLD_DUMPED): Likewise.
3953 (CLD_TRAPPED): Likewise.
3954 (CLD_STOPPED): Likewise.
3955 (CLD_CONTINUED): Likewise.
3956 (POLL_IN): Likewise.
3957 (POLL_OUT): Likewise.
3958 (POLL_MSG): Likewise.
3959 (POLL_ERR): Likewise.
3960 (POLL_PRI): Likewise.
3961 (POLL_HUP): Likewise.
3962 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3964 (ILL_ILLOPN): Likewise.
3965 (ILL_ILLADR): Likewise.
3966 (ILL_ILLTRP): Likewise.
3967 (ILL_PRVOPC): Likewise.
3968 (ILL_PRVREG): Likewise.
3969 (ILL_COPROC): Likewise.
3970 (ILL_BADSTK): Likewise.
3971 (ILL_BADIADDR): Likewise.
3972 (ILL_BREAK): Likewise.
3973 (FPE_INTDIV): Likewise.
3974 (FPE_INTOVF): Likewise.
3975 (FPE_FLTDIV): Likewise.
3976 (FPE_FLTOVF): Likewise.
3977 (FPE_FLTUND): Likewise.
3978 (FPE_FLTRES): Likewise.
3979 (FPE_FLTINV): Likewise.
3980 (FPE_FLTSUB): Likewise.
3981 (FPE_DECOVF): Likewise.
3982 (FPE_DECDIV): Likewise.
3983 (FPE_DECERR): Likewise.
3984 (FPE_INVASC): Likewise.
3985 (FPE_INVDEC): Likewise.
3986 (SEGV_MAPERR): Likewise.
3987 (SEGV_ACCERR): Likewise.
3988 (SEGV_PSTKOVF): Likewise.
3989 (BUS_ADRALN): Likewise.
3990 (BUS_ADRERR): Likewise.
3991 (BUS_OBJERR): Likewise.
3992 (BUS_MCEERR_AR): Likewise.
3993 (BUS_MCEERR_AO): Likewise.
3994 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3995 (TRAP_TRACE): Likewise.
3996 (TRAP_BRANCH): Likewise.
3997 (TRAP_HWBKPT): Likewise.
3998 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4000 (CLD_KILLED): Likewise.
4001 (CLD_DUMPED): Likewise.
4002 (CLD_TRAPPED): Likewise.
4003 (CLD_STOPPED): Likewise.
4004 (CLD_CONTINUED): Likewise.
4005 (POLL_IN): Likewise.
4006 (POLL_OUT): Likewise.
4007 (POLL_MSG): Likewise.
4008 (POLL_ERR): Likewise.
4009 (POLL_PRI): Likewise.
4010 (POLL_HUP): Likewise.
4011 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4012 (ILL_ILLOPN): Likewise.
4013 (ILL_ILLADR): Likewise.
4014 (ILL_ILLTRP): Likewise.
4015 (ILL_PRVOPC): Likewise.
4016 (ILL_PRVREG): Likewise.
4017 (ILL_COPROC): Likewise.
4018 (ILL_BADSTK): Likewise.
4019 (FPE_INTDIV): Likewise.
4020 (FPE_INTOVF): Likewise.
4021 (FPE_FLTDIV): Likewise.
4022 (FPE_FLTOVF): Likewise.
4023 (FPE_FLTUND): Likewise.
4024 (FPE_FLTRES): Likewise.
4025 (FPE_FLTINV): Likewise.
4026 (FPE_FLTSUB): Likewise.
4027 (SEGV_MAPERR): Likewise.
4028 (SEGV_ACCERR): Likewise.
4029 (BUS_ADRALN): Likewise.
4030 (BUS_ADRERR): Likewise.
4031 (BUS_OBJERR): Likewise.
4032 (BUS_MCEERR_AR): Likewise.
4033 (BUS_MCEERR_AO): Likewise.
4034 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4035 (TRAP_TRACE): Likewise.
4036 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4038 (CLD_KILLED): Likewise.
4039 (CLD_DUMPED): Likewise.
4040 (CLD_TRAPPED): Likewise.
4041 (CLD_STOPPED): Likewise.
4042 (CLD_CONTINUED): Likewise.
4043 (POLL_IN): Likewise.
4044 (POLL_OUT): Likewise.
4045 (POLL_MSG): Likewise.
4046 (POLL_ERR): Likewise.
4047 (POLL_PRI): Likewise.
4048 (POLL_HUP): Likewise.
4049 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4050 (ILL_ILLOPN): Likewise.
4051 (ILL_ILLADR): Likewise.
4052 (ILL_ILLTRP): Likewise.
4053 (ILL_PRVOPC): Likewise.
4054 (ILL_PRVREG): Likewise.
4055 (ILL_COPROC): Likewise.
4056 (ILL_BADSTK): Likewise.
4057 (FPE_INTDIV): Likewise.
4058 (FPE_INTOVF): Likewise.
4059 (FPE_FLTDIV): Likewise.
4060 (FPE_FLTOVF): Likewise.
4061 (FPE_FLTUND): Likewise.
4062 (FPE_FLTRES): Likewise.
4063 (FPE_FLTINV): Likewise.
4064 (FPE_FLTSUB): Likewise.
4065 (SEGV_MAPERR): Likewise.
4066 (SEGV_ACCERR): Likewise.
4067 (BUS_ADRALN): Likewise.
4068 (BUS_ADRERR): Likewise.
4069 (BUS_OBJERR): Likewise.
4070 (BUS_MCEERR_AR): Likewise.
4071 (BUS_MCEERR_AO): Likewise.
4072 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4073 (TRAP_TRACE): Likewise.
4074 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4076 (CLD_KILLED): Likewise.
4077 (CLD_DUMPED): Likewise.
4078 (CLD_TRAPPED): Likewise.
4079 (CLD_STOPPED): Likewise.
4080 (CLD_CONTINUED): Likewise.
4081 (POLL_IN): Likewise.
4082 (POLL_OUT): Likewise.
4083 (POLL_MSG): Likewise.
4084 (POLL_ERR): Likewise.
4085 (POLL_PRI): Likewise.
4086 (POLL_HUP): Likewise.
4087 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4088 (ILL_ILLOPN): Likewise.
4089 (ILL_ILLADR): Likewise.
4090 (ILL_ILLTRP): Likewise.
4091 (ILL_PRVOPC): Likewise.
4092 (ILL_PRVREG): Likewise.
4093 (ILL_COPROC): Likewise.
4094 (ILL_BADSTK): Likewise.
4095 (FPE_INTDIV): Likewise.
4096 (FPE_INTOVF): Likewise.
4097 (FPE_FLTDIV): Likewise.
4098 (FPE_FLTOVF): Likewise.
4099 (FPE_FLTUND): Likewise.
4100 (FPE_FLTRES): Likewise.
4101 (FPE_FLTINV): Likewise.
4102 (FPE_FLTSUB): Likewise.
4103 (SEGV_MAPERR): Likewise.
4104 (SEGV_ACCERR): Likewise.
4105 (BUS_ADRALN): Likewise.
4106 (BUS_ADRERR): Likewise.
4107 (BUS_OBJERR): Likewise.
4108 (BUS_MCEERR_AR): Likewise.
4109 (BUS_MCEERR_AO): Likewise.
4110 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4111 (TRAP_TRACE): Likewise.
4112 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4114 (CLD_KILLED): Likewise.
4115 (CLD_DUMPED): Likewise.
4116 (CLD_TRAPPED): Likewise.
4117 (CLD_STOPPED): Likewise.
4118 (CLD_CONTINUED): Likewise.
4119 (POLL_IN): Likewise.
4120 (POLL_OUT): Likewise.
4121 (POLL_MSG): Likewise.
4122 (POLL_ERR): Likewise.
4123 (POLL_PRI): Likewise.
4124 (POLL_HUP): Likewise.
4125 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4126 (ILL_ILLOPN): Likewise.
4127 (ILL_ILLADR): Likewise.
4128 (ILL_ILLTRP): Likewise.
4129 (ILL_PRVOPC): Likewise.
4130 (ILL_PRVREG): Likewise.
4131 (ILL_COPROC): Likewise.
4132 (ILL_BADSTK): Likewise.
4133 (ILL_DBLFLT): Likewise.
4134 (ILL_HARDWALL): Likewise.
4135 (FPE_INTDIV): Likewise.
4136 (FPE_INTOVF): Likewise.
4137 (FPE_FLTDIV): Likewise.
4138 (FPE_FLTOVF): Likewise.
4139 (FPE_FLTUND): Likewise.
4140 (FPE_FLTRES): Likewise.
4141 (FPE_FLTINV): Likewise.
4142 (FPE_FLTSUB): Likewise.
4143 (SEGV_MAPERR): Likewise.
4144 (SEGV_ACCERR): Likewise.
4145 (BUS_ADRALN): Likewise.
4146 (BUS_ADRERR): Likewise.
4147 (BUS_OBJERR): Likewise.
4148 (BUS_MCEERR_AR): Likewise.
4149 (BUS_MCEERR_AO): Likewise.
4150 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4151 (TRAP_TRACE): Likewise.
4152 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4154 (CLD_KILLED): Likewise.
4155 (CLD_DUMPED): Likewise.
4156 (CLD_TRAPPED): Likewise.
4157 (CLD_STOPPED): Likewise.
4158 (CLD_CONTINUED): Likewise.
4159 (POLL_IN): Likewise.
4160 (POLL_OUT): Likewise.
4161 (POLL_MSG): Likewise.
4162 (POLL_ERR): Likewise.
4163 (POLL_PRI): Likewise.
4164 (POLL_HUP): Likewise.
4165 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4166 (ILL_ILLOPN): Likewise.
4167 (ILL_ILLADR): Likewise.
4168 (ILL_ILLTRP): Likewise.
4169 (ILL_PRVOPC): Likewise.
4170 (ILL_PRVREG): Likewise.
4171 (ILL_COPROC): Likewise.
4172 (ILL_BADSTK): Likewise.
4173 (FPE_INTDIV): Likewise.
4174 (FPE_INTOVF): Likewise.
4175 (FPE_FLTDIV): Likewise.
4176 (FPE_FLTOVF): Likewise.
4177 (FPE_FLTUND): Likewise.
4178 (FPE_FLTRES): Likewise.
4179 (FPE_FLTINV): Likewise.
4180 (FPE_FLTSUB): Likewise.
4181 (SEGV_MAPERR): Likewise.
4182 (SEGV_ACCERR): Likewise.
4183 (BUS_ADRALN): Likewise.
4184 (BUS_ADRERR): Likewise.
4185 (BUS_OBJERR): Likewise.
4186 (BUS_MCEERR_AR): Likewise.
4187 (BUS_MCEERR_AO): Likewise.
4188 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4189 (TRAP_TRACE): Likewise.
4190 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4192 (CLD_KILLED): Likewise.
4193 (CLD_DUMPED): Likewise.
4194 (CLD_TRAPPED): Likewise.
4195 (CLD_STOPPED): Likewise.
4196 (CLD_CONTINUED): Likewise.
4197 (POLL_IN): Likewise.
4198 (POLL_OUT): Likewise.
4199 (POLL_MSG): Likewise.
4200 (POLL_ERR): Likewise.
4201 (POLL_PRI): Likewise.
4202 (POLL_HUP): Likewise.
4203 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4204 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4207 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4208 before #include of <time.h>.
4209 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4210 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4211 (test-xfail-UNIX98/sched.h/conform): Likewise.
4213 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4215 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4216 error absence of trapping exception support.
4217 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4219 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4221 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4222 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4223 * timezone/Makefile (testdata): Move definition above include of
4225 (test-zones): New variable.
4226 (tests-special): Add zone files.
4227 (build-testdata): Use $(evaluate-test).
4229 * elf/Makefile (tests-special): Rename tests to end with .out.
4230 ($(objpfx)noload-mem): Likewise.
4231 ($(objpfx)tst-leaks1-mem): Likewise.
4232 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4233 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4234 $(objpfx)test-iconvconfig.out.
4235 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4236 set -e inside subshell and redirect output to file.
4237 * iconvdata/Makefile (generated): Rename tests to end with .out.
4239 (tests-special): Rename tests to end with .out.
4240 ($(objpfx)mtrace-tst-loading): Likewise.
4241 * intl/Makefile (generated): Likewise.
4242 (tests-special): Likewise.
4243 ($(objpfx)mtrace-tst-gettext): Likewise.
4244 * misc/Makefile (generated): Likewise.
4245 (tests-special): Likewise.
4246 ($(objpfx)tst-error1-mem): Likewise.
4247 * nptl/Makefile (tests-special): Likewise.
4248 ($(objpfx)tst-stack3-mem): Likewise.
4249 (generated): Likewise.
4250 * posix/Makefile (generated): Likewise.
4251 (tests-special): Likewise.
4252 (xtests-special): Likewise.
4253 ($(objpfx)tst-fnmatch-mem): Likewise.
4254 ($(objpfx)bug-regex2-mem): Likewise.
4255 ($(objpfx)bug-regex14-mem): Likewise.
4256 ($(objpfx)bug-regex21-mem): Likewise.
4257 ($(objpfx)bug-regex31-mem): Likewise.
4258 ($(objpfx)tst-vfork3-mem): Likewise.
4259 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4260 ($(objpfx)tst-pcre-mem): Likewise.
4261 ($(objpfx)tst-boost-mem): Likewise.
4262 ($(objpfx)bug-ga2-mem): Likewise.
4263 ($(objpfx)bug-glob2-mem): Likewise.
4264 * resolv/Makefile (generate): Likewise.
4265 (tests-special): Likewise.
4266 (xtests-special): Likewise.
4267 (generated): Likewise.
4268 ($(objpfx)mtrace-tst-leaks): Likewise.
4269 ($(objpfx)mtrace-tst-leaks2): Likewise.
4271 * scripts/merge-test-results.sh: New file.
4272 * Makefile (tests-special-notdir): New variable.
4273 (tests): Run merge-test-results.sh.
4275 * Rules (tests-special-notdir): New variable.
4276 (xtests-special-notdir): Likewise.
4277 (tests): Run merge-test-results.sh
4280 * Makeconfig (test-xfail-name): New variable.
4281 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4282 compute variable name for expected failures.
4283 * conform/Makefile (conformtest-headers-data): New variable.
4284 (conformtest-standards): Likewise.
4285 (conformtest-headers-ISO): Likewise.
4286 (conformtest-headers-ISO99): Likewise.
4287 (conformtest-headers-ISO11): Likewise.
4288 (conformtest-headers-POSIX): Likewise.
4289 (conformtest-headers-XPG3): Likewise.
4290 (conformtest-headers-XPG4): Likewise.
4291 (conformtest-headers-UNIX98): Likewise.
4292 (conformtest-headers-XOPEN2K): Likewise.
4293 (conformtest-headers-POSIX2008): Likewise.
4294 (conformtest-headers-XOPEN2K8): Likewise.
4295 (conformtest-header-list-base): Likewise.
4296 (conformtest-header-list-tests): Likewise.
4297 (conformtest-header-base): Likewise.
4298 (conformtest-header-tests): Likewise.
4299 (tests-special): Add $(conformtest-header-list-tests). If
4300 [$(fast-check) && !$(cross-compiling)], add
4301 $(conformtest-header-tests) instead of
4302 $(objpfx)run-conformtest.out.
4303 (generated): Add $(conformtest-header-list-base). If
4304 [$(fast-check) && !$(cross-compiling)], add
4305 $(conformtest-header-base). Remove previous setting.
4306 ($(conformtest-header-list-tests)): New target.
4307 (test-xfail-run-conformtest): Remove variable.
4308 ($(objpfx)run-conformtest.out): Remove target.
4309 (test-xfail-ISO11/complex.h/conform): New variable.
4310 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4311 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4312 (test-xfail-XPG3/varargs.h/conform): Likewise.
4313 (test-xfail-XPG4/varargs.h/conform): Likewise.
4314 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4315 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4316 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4317 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4318 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4319 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4320 (test-xfail-XPG3/ftw.h/conform): Likewise.
4321 (test-xfail-XPG3/grp.h/conform): Likewise.
4322 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4323 (test-xfail-XPG3/limits.h/conform): Likewise.
4324 (test-xfail-XPG3/pwd.h/conform): Likewise.
4325 (test-xfail-XPG3/search.h/conform): Likewise.
4326 (test-xfail-XPG3/signal.h/conform): Likewise.
4327 (test-xfail-XPG3/stdio.h/conform): Likewise.
4328 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4329 (test-xfail-XPG3/string.h/conform): Likewise.
4330 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4331 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4332 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4333 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4334 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4335 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4336 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4337 (test-xfail-XPG3/termios.h/conform): Likewise.
4338 (test-xfail-XPG3/time.h/conform): Likewise.
4339 (test-xfail-XPG3/unistd.h/conform): Likewise.
4340 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4341 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4342 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4343 (test-xfail-XPG4/netdb.h/conform): Likewise.
4344 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4345 (test-xfail-XPG4/signal.h/conform): Likewise.
4346 (test-xfail-XPG4/stdio.h/conform): Likewise.
4347 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4348 (test-xfail-XPG4/stropts.h/conform): Likewise.
4349 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4350 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4351 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4352 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4353 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4354 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4355 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4356 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4357 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4358 (test-xfail-XPG4/termios.h/conform): Likewise.
4359 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4360 (test-xfail-XPG4/unistd.h/conform): Likewise.
4361 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4362 (test-xfail-POSIX/sched.h/conform): Likewise.
4363 (test-xfail-POSIX/signal.h/conform): Likewise.
4364 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4365 (test-xfail-POSIX/tar.h/conform): Likewise.
4366 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4367 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4368 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4369 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4370 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4371 (test-xfail-UNIX98/sched.h/conform): Likewise.
4372 (test-xfail-UNIX98/signal.h/conform): Likewise.
4373 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4374 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4375 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4376 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4377 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4378 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4379 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4380 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4381 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4382 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4383 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4384 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4385 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4386 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4387 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4388 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4389 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4390 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4391 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4392 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4393 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4394 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4395 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4396 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4397 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4398 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4399 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4400 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4401 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4402 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4403 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4404 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4405 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4406 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4407 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4408 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4409 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4410 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4411 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4412 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4413 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4414 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4415 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4416 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4417 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4418 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4419 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4420 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4421 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4422 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4423 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4424 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4425 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4426 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4427 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4428 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4429 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4430 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4431 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4432 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4433 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4434 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4435 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4436 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4437 (conformtest-cc-flags): Likewise.
4438 ($(conformtest-header-tests): New target.
4439 * conform/check-header-lists.sh: New file.
4440 * conform/run-conformtest.sh: Remove.
4442 * conform/conformtest.pl: Allow ' and \ in values given for
4444 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4446 [POSIX] (sys/types.h): Likewise.
4447 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4449 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4451 * conform/data/signal.h-data (SIGIO): Remove expectation.
4452 [XPG3] (SIGBUS): Do not expect.
4453 [POSIX || XPG3] (SIGPOLL): Likewise.
4454 [POSIX || XPG3] (SIGPROF): Likewise.
4455 [POSIX || XPG3] (SIGSYS): Likewise.
4456 [XPG3] (SIGTRAP): Likewise.
4457 [POSIX || XPG3] (SIGURG): Likewise.
4458 [POSIX || XPG3] (SIGVTALRM): Likewise.
4459 [POSIX || XPG3] (SIGXCPU): Likewise.
4460 [POSIX || XPG3] (SIGXFSZ): Likewise.
4461 [POSIX] (SA_SIGINFO): Expect.
4462 [XPG3] (siginfo_t): Do not expect type or contents.
4463 [POSIX] (si_pid): Do not expect element.
4464 [POSIX] (si_uid): Likewise.
4465 [POSIX] (si_addr): Likewise.
4466 [POSIX] (si_status): Likewise.
4467 [POSIX] (si_band): Likewise.
4468 [XPG4] (si_value): Likewise.
4469 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4470 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4471 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4472 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4473 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4474 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4475 [POSIX || XPG3] (ILL_COPROC): Likewise.
4476 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4477 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4478 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4479 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4480 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4481 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4482 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4483 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4484 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4485 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4486 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4487 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4488 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4489 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4490 [POSIX || XPG3] (CLD_EXITED): Likewise.
4491 [POSIX || XPG3] (CLD_KILLED): Likewise.
4492 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4493 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4494 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4495 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4496 [POSIX || XPG3] (POLL_IN): Likewise.
4497 [POSIX || XPG3] (POLL_OUT): Likewise.
4498 [POSIX || XPG3] (POLL_MSG): Likewise.
4499 [POSIX || XPG3] (POLL_ERR): Likewise.
4500 [POSIX || XPG3] (POLL_PRI): Likewise.
4501 [POSIX || XPG3] (POLL_HUP): Likewise.
4502 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4503 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4504 (SIG*): Do not allow.
4505 [XPG3] (si_*): Likewise.
4506 [XPG3] (SI_*): Likewise.
4507 [XPG3 || XPG4] (sigev_*): Likewise.
4508 [XPG3 || XPG4] (SIGEV_*): Likewise.
4509 [XPG3 || XPG4] (sival_*): Likewise.
4510 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4511 [POSIX || XPG3] (BUS_*): Likewise.
4512 [POSIX || XPG3] (CLD_*): Likewise.
4513 [POSIX || XPG3] (FPE_*): Likewise.
4514 [POSIX || XPG3] (ILL_*): Likewise.
4515 [POSIX || XPG3] (POLL_*): Likewise.
4516 [POSIX || XPG3] (SEGV_*): Likewise.
4517 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4518 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4519 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4520 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4521 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4522 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4523 Specify type and value.
4524 (TVERSLEN): Likewise.
4525 (REGTYPE): Likewise.
4526 (AREGTYPE): Likewise.
4527 (LNKTYPE): Likewise.
4528 (SYMTYPE): Likewise.
4529 (CHRTYPE): Likewise.
4530 (BLKTYPE): Likewise.
4531 (DIRTYPE): Likewise.
4532 (FIFOTYPE): Likewise.
4533 (CONTTYPE): Likewise.
4538 (TUWRITE): Likewise.
4541 (TGWRITE): Likewise.
4544 (TOWRITE): Likewise.
4546 [POSIX] (TSVTX): Expect constant.
4548 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4550 * Makefile (tests): Change dependencies to ....
4551 (tests-special): ... additions to this variable.
4552 (tests): Depend on $(tests-special).
4553 * Makerules (check-abi-list): New variable.
4554 (check-abi): Depend on $(check-abi-list).
4555 [$(subdir) = elf] (tests-special): Add
4556 $(objpfx)check-abi-libc.out.
4557 [$(build-shared) = yes && subdir] (tests-special): Add
4559 [$(build-shared) = yes && subdir] (tests): Do not depend on
4561 * Rules (tests): Depend on $(tests-special).
4562 (xtests): Depend on $(xtests-special).
4563 * catgets/Makefile (tests): Change dependencies to ....
4564 (tests-special): ... additions to this variable.
4565 * conform/Makefile (tests): Change dependencies to ....
4566 (tests-special): ... additions to this variable.
4567 * elf/Makefile (tests): Change dependencies to ....
4568 (tests-special): ... additions to this variable.
4569 * grp/Makefile (tests): Change dependencies to ....
4570 (tests-special): ... additions to this variable.
4571 * iconv/Makefile (xtests): Change dependencies to ....
4572 (xtests-special): ... additions to this variable.
4573 * iconvdata/Makefile (tests): Change dependencies to ....
4574 (tests-special): ... additions to this variable.
4575 * intl/Makefile (tests): Change dependencies to ....
4576 (tests-special): ... additions to this variable. Also add
4577 $(objpfx)tst-gettext.out.
4578 * io/Makefile (tests): Change dependencies to ....
4579 (tests-special): ... additions to this variable.
4580 * libio/Makefile (tests): Change dependencies to ....
4581 (tests-special): ... additions to this variable.
4582 * malloc/Makefile (tests): Change dependencies to ....
4583 (tests-special): ... additions to this variable.
4584 * misc/Makefile (tests): Change dependencies to ....
4585 (tests-special): ... additions to this variable.
4586 * nptl/Makefile (tests): Change dependencies to ....
4587 (tests-special): ... additions to this variable.
4588 * nptl_db/Makefile (tests): Change dependencies to ....
4589 (tests-special): ... additions to this variable.
4590 * posix/Makefile (tests): Change dependencies to ....
4591 (tests-special): ... additions to this variable.
4592 (xtests): Change dependencies to ....
4593 (xtests-special): ... additions to this variable.
4594 * resolv/Makefile (tests): Change dependencies to ....
4595 (tests-special): ... additions to this variable.
4596 (xtests): Change dependencies to ....
4597 (xtests-special): ... additions to this variable.
4598 * stdio-common/Makefile (tests): Change dependencies to ....
4599 (tests-special): ... additions to this variable.
4600 (do-tst-unbputc): Remove target.
4601 (do-tst-printf): Likewise.
4602 * stdlib/Makefile (tests): Change dependencies to ....
4603 (tests-special): ... additions to this variable.
4604 * string/Makefile (tests): Change dependencies to ....
4605 (tests-special): ... additions to this variable.
4606 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4607 (tests-special): ... additions to this variable.
4609 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4611 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4613 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4614 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4616 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4617 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4618 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4619 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4620 * conform/data/libgen.h-data [XPG3]: Likewise.
4621 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4622 * conform/data/ndbm.h-data [XPG3]: Likewise.
4623 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4624 * conform/data/netdb.h-data [XPG3]: Likewise.
4625 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4626 * conform/data/poll.h-data [XPG3]: Likewise.
4627 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4628 * conform/data/strings.h-data [XPG3]: Likewise.
4629 * conform/data/stropts.h-data [XPG3]: Likewise.
4630 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4631 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4632 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4634 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4635 * conform/data/sys/time.h-data [XPG3]: Likewise.
4636 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4637 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4638 * conform/data/sys/un.h-data [XPG3]: Likewise.
4639 * conform/data/syslog.h-data [XPG3]: Likewise.
4640 * conform/data/ucontext.h-data [XPG3]: Likewise.
4641 * conform/data/utmpx.h-data [XPG3]: Likewise.
4642 * conform/data/varargs.h-data [UNIX98]: Enable file.
4644 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4646 * math/libm-test.inc (struct test_f_f_data): Move expected results
4647 into structure for each rounding mode.
4648 (struct test_ff_f_data): Likewise.
4649 (struct test_ff_f_data_nexttoward): Likewise.
4650 (struct test_fi_f_data): Likewise.
4651 (struct test_fl_f_data): Likewise.
4652 (struct test_if_f_data): Likewise.
4653 (struct test_fff_f_data): Likewise.
4654 (struct test_c_f_data): Likewise.
4655 (struct test_f_f1_data): Likewise.
4656 (struct test_fF_f1_data): Likewise.
4657 (struct test_ffI_f1_data): Likewise.
4658 (struct test_c_c_data): Likewise.
4659 (struct test_cc_c_data): Likewise.
4660 (struct test_f_i_data): Likewise.
4661 (struct test_ff_i_data): Likewise.
4662 (struct test_f_l_data): Likewise.
4663 (struct test_f_L_data): Likewise.
4664 (struct test_fFF_11_data): Likewise.
4666 (RM_FE_DOWNWARD): Likewise.
4667 (RM_FE_TONEAREST): Likewise.
4668 (RM_FE_TOWARDZERO): Likewise.
4669 (RM_FE_UPWARD): Likewise.
4670 (RUN_TEST_LOOP_f_f): Update references to expected results.
4671 (RUN_TEST_LOOP_2_f): Likewise.
4672 (RUN_TEST_LOOP_fff_f): Likewise.
4673 (RUN_TEST_LOOP_c_f): Likewise.
4674 (RUN_TEST_LOOP_f_f1): Likewise.
4675 (RUN_TEST_LOOP_fF_f1): Likewise.
4676 (RUN_TEST_LOOP_fI_f1): Likewise.
4677 (RUN_TEST_LOOP_ffI_f1): Likewise.
4678 (RUN_TEST_LOOP_c_c): Likewise.
4679 (RUN_TEST_LOOP_cc_c): Likewise.
4680 (RUN_TEST_LOOP_f_i): Likewise.
4681 (RUN_TEST_LOOP_f_i_tg): Likewise.
4682 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4683 (RUN_TEST_LOOP_f_b): Likewise.
4684 (RUN_TEST_LOOP_f_b_tg): Likewise.
4685 (RUN_TEST_LOOP_f_l): Likewise.
4686 (RUN_TEST_LOOP_f_L): Likewise.
4687 (RUN_TEST_LOOP_fFF_11): Likewise.
4688 * math/gen-libm-test.pl (parse_args): Output four copies of
4689 expected results for each test.
4691 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4692 (__ASSUME_UTIMES): Remove.
4693 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4694 (__ASSUME_UTIMES): Likewise.
4696 * math/gen-auto-libm-tests.c: Update comment on output format.
4697 (output_for_one_input_case): Generate before-rounding and
4698 after-rounding information as conditions on output flags not
4699 floating-point format.
4700 * math/auto-libm-test-out: Regenerated.
4701 * math/gen-libm-test.pl (cond_value): New function.
4702 (or_cond_value): Use cond_value.
4703 (generate_testfile): Handle conditional exceptions.
4705 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4707 * math/libm-test.inc (max_valid_error): New variable.
4708 (init_max_error): Take new argument specifying whether function
4709 results are exactly determined. Set max_valid_error and bound
4710 other variables for errors based on this argument.
4711 (set_max_error): Do not record results above max_valid_error.
4712 (check_float_internal): Only accept errors of up to 0.5ulps if
4713 also at most max_valid_error.
4714 (START): Take new argument EXACT and pass it to init_max_error.
4715 (acos_test): Update call to START.
4716 (acos_test_tonearest): Likewise.
4717 (acos_test_towardzero): Likewise.
4718 (acos_test_downward): Likewise.
4719 (acos_test_upward): Likewise.
4720 (acosh_test): Likewise.
4721 (asin_test): Likewise.
4722 (asin_test_tonearest): Likewise.
4723 (asin_test_towardzero): Likewise.
4724 (asin_test_downward): Likewise.
4725 (asin_test_upward): Likewise.
4726 (asinh_test): Likewise.
4727 (atan_test): Likewise.
4728 (atanh_test): Likewise.
4729 (atan2_test): Likewise.
4730 (cabs_test): Likewise.
4731 (cacos_test): Likewise.
4732 (cacosh_test): Likewise.
4733 (carg_test): Likewise.
4734 (casin_test): Likewise.
4735 (casinh_test): Likewise.
4736 (catan_test): Likewise.
4737 (catanh_test): Likewise.
4738 (cbrt_test): Likewise.
4739 (ccos_test): Likewise.
4740 (ccosh_test): Likewise.
4741 (ceil_test): Likewise.
4742 (cexp_test): Likewise.
4743 (cimag_test): Likewise.
4744 (clog_test): Likewise.
4745 (clog10_test): Likewise.
4746 (conj_test): Likewise.
4747 (copysign_test): Likewise.
4748 (cos_test): Likewise.
4749 (cos_test_tonearest): Likewise.
4750 (cos_test_towardzero): Likewise.
4751 (cos_test_downward): Likewise.
4752 (cos_test_upward): Likewise.
4753 (cosh_test): Likewise.
4754 (cosh_test_tonearest): Likewise.
4755 (cosh_test_towardzero): Likewise.
4756 (cosh_test_downward): Likewise.
4757 (cosh_test_upward): Likewise.
4758 (cpow_test): Likewise.
4759 (cproj_test): Likewise.
4760 (creal_test): Likewise.
4761 (csin_test): Likewise.
4762 (csinh_test): Likewise.
4763 (csqrt_test): Likewise.
4764 (ctan_test): Likewise.
4765 (ctan_test_tonearest): Likewise.
4766 (ctan_test_towardzero): Likewise.
4767 (ctan_test_downward): Likewise.
4768 (ctan_test_upward): Likewise.
4769 (ctanh_test): Likewise.
4770 (ctanh_test_tonearest): Likewise.
4771 (ctanh_test_towardzero): Likewise.
4772 (ctanh_test_downward): Likewise.
4773 (ctanh_test_upward): Likewise.
4774 (erf_test): Likewise.
4775 (erfc_test): Likewise.
4776 (exp_test): Likewise.
4777 (exp_test_tonearest): Likewise.
4778 (exp_test_towardzero): Likewise.
4779 (exp_test_downward): Likewise.
4780 (exp_test_upward): Likewise.
4781 (exp10_test): Likewise.
4782 (exp10_test_tonearest): Likewise.
4783 (exp10_test_towardzero): Likewise.
4784 (exp10_test_downward): Likewise.
4785 (exp10_test_upward): Likewise.
4786 (pow10_test): Likewise.
4787 (exp2_test): Likewise.
4788 (expm1_test): Likewise.
4789 (expm1_test_tonearest): Likewise.
4790 (expm1_test_towardzero): Likewise.
4791 (expm1_test_downward): Likewise.
4792 (expm1_test_upward): Likewise.
4793 (fabs_test): Likewise.
4794 (fdim_test): Likewise.
4795 (floor_test): Likewise.
4796 (fma_test): Likewise.
4797 (fma_test_towardzero): Likewise.
4798 (fma_test_downward): Likewise.
4799 (fma_test_upward): Likewise.
4800 (fmax_test): Likewise.
4801 (fmin_test): Likewise.
4802 (fmod_test): Likewise.
4803 (fpclassify_test): Likewise.
4804 (frexp_test): Likewise.
4805 (hypot_test): Likewise.
4806 (ilogb_test): Likewise.
4807 (isfinite_test): Likewise.
4808 (finite_test): Likewise.
4809 (isgreater_test): Likewise.
4810 (isgreaterequal_test): Likewise.
4811 (isinf_test): Likewise.
4812 (isless_test): Likewise.
4813 (islessequal_test): Likewise.
4814 (islessgreater_test): Likewise.
4815 (isnan_test): Likewise.
4816 (isnormal_test): Likewise.
4817 (issignaling_test): Likewise.
4818 (isunordered_test): Likewise.
4819 (j0_test): Likewise.
4820 (j1_test): Likewise.
4821 (jn_test): Likewise.
4822 (ldexp_test): Likewise.
4823 (lgamma_test): Likewise.
4824 (gamma_test): Likewise.
4825 (lrint_test): Likewise.
4826 (lrint_test_tonearest): Likewise.
4827 (lrint_test_towardzero): Likewise.
4828 (lrint_test_downward): Likewise.
4829 (lrint_test_upward): Likewise.
4830 (llrint_test): Likewise.
4831 (llrint_test_tonearest): Likewise.
4832 (llrint_test_towardzero): Likewise.
4833 (llrint_test_downward): Likewise.
4834 (llrint_test_upward): Likewise.
4835 (log_test): Likewise.
4836 (log10_test): Likewise.
4837 (log1p_test): Likewise.
4838 (log2_test): Likewise.
4839 (logb_test): Likewise.
4840 (logb_test_downward): Likewise.
4841 (lround_test): Likewise.
4842 (llround_test): Likewise.
4843 (modf_test): Likewise.
4844 (nearbyint_test): Likewise.
4845 (nextafter_test): Likewise.
4846 (nexttoward_test): Likewise.
4847 (pow_test): Likewise.
4848 (pow_test_tonearest): Likewise.
4849 (pow_test_towardzero): Likewise.
4850 (pow_test_downward): Likewise.
4851 (pow_test_upward): Likewise.
4852 (remainder_test): Likewise.
4853 (drem_test): Likewise.
4854 (remainder_test_tonearest): Likewise.
4855 (drem_test_tonearest): Likewise.
4856 (remainder_test_towardzero): Likewise.
4857 (drem_test_towardzero): Likewise.
4858 (remainder_test_downward): Likewise.
4859 (drem_test_downward): Likewise.
4860 (remainder_test_upward): Likewise.
4861 (drem_test_upward): Likewise.
4862 (remquo_test): Likewise.
4863 (rint_test): Likewise.
4864 (rint_test_tonearest): Likewise.
4865 (rint_test_towardzero): Likewise.
4866 (rint_test_downward): Likewise.
4867 (rint_test_upward): Likewise.
4868 (round_test): Likewise.
4869 (scalb_test): Likewise.
4870 (scalbn_test): Likewise.
4871 (scalbln_test): Likewise.
4872 (signbit_test): Likewise.
4873 (sin_test): Likewise.
4874 (sin_test_tonearest): Likewise.
4875 (sin_test_towardzero): Likewise.
4876 (sin_test_downward): Likewise.
4877 (sin_test_upward): Likewise.
4878 (sincos_test): Likewise.
4879 (sinh_test): Likewise.
4880 (sinh_test_tonearest): Likewise.
4881 (sinh_test_towardzero): Likewise.
4882 (sinh_test_downward): Likewise.
4883 (sinh_test_upward): Likewise.
4884 (sqrt_test): Likewise.
4885 (sqrt_test_tonearest): Likewise.
4886 (sqrt_test_towardzero): Likewise.
4887 (sqrt_test_downward): Likewise.
4888 (sqrt_test_upward): Likewise.
4889 (tan_test): Likewise.
4890 (tan_test_tonearest): Likewise.
4891 (tan_test_towardzero): Likewise.
4892 (tan_test_downward): Likewise.
4893 (tan_test_upward): Likewise.
4894 (tanh_test): Likewise.
4895 (tgamma_test): Likewise.
4896 (trunc_test): Likewise.
4897 (y0_test): Likewise.
4898 (y1_test): Likewise.
4899 (yn_test): Likewise.
4900 (significand_test): Likewise.
4902 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4903 individual tests in comment.
4904 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4905 (prev_max_error): New variable.
4906 (prev_real_max_error): Likewise.
4907 (prev_imag_max_error): Likewise.
4908 (compare_ulp_data): Don't refer to test names in comment.
4909 (find_test_ulps): Remove function.
4910 (find_function_ulps): Likewise.
4911 (find_complex_function_ulps): Likewise.
4912 (init_max_error): Take function name as argument. Look up ulps
4914 (print_ulps): Remove function.
4915 (print_max_error): Use prev_max_error instead of calling
4917 (print_complex_max_error): Use prev_real_max_error and
4918 prev_imag_max_error instead of calling find_complex_function_ulps.
4919 (check_float_internal): Take max_ulp parameter instead of calling
4920 find_test_ulps. Don't call print_ulps.
4921 (check_float): Update call to check_float_internal.
4922 (check_complex): Update calls to check_float_internal.
4923 (START): Pass argument to init_max_error.
4924 * math/gen-libm-test.pl (%results): Don't include "kind"
4926 (parse_ulps): Don't handle ulps of individual tests.
4927 (print_ulps_file): Likewise.
4928 (output_ulps): Likewise.
4929 * math/README.libm-test: Update.
4930 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4932 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4933 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4934 * sysdeps/arm/libm-test-ulps: Likewise.
4935 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4936 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4937 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4938 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4939 * sysdeps/microblaze/libm-test-ulps: Likewise.
4940 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4941 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4943 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4944 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4945 * sysdeps/sh/libm-test-ulps: Likewise.
4946 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4947 * sysdeps/tile/libm-test-ulps: Likewise.
4948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4950 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4952 * math/libm-test.inc (print_complex_max_error): Check separately
4953 whether real and imaginary errors are within allowed range and
4954 pass 0 to print_complex_function_ulps instead of value within
4957 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4959 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4961 (get_handles_fopen): Likewise.
4962 (do_write_test): Likewise.
4964 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4966 * libio/fileops.c (do_ftell): Use cached offset when
4968 * libio/iofwide.c (do_ftell_wide): Likewise.
4969 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4971 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4974 * libio/libioP.h (get_file_offset): New function.
4975 * libio/fileops.c (get_file_offset): Likewise.
4976 (do_ftell): Likewise.
4977 (_IO_new_file_seekoff): Split out ftell logic.
4978 * libio/wfileops.c (do_ftell_wide): Likewise.
4979 (_IO_wfile_seekoff): Split out ftell logic.
4980 * libio/tst-ftell-active-handler.c: New test case.
4981 * libio/Makefile (tests): Add it.
4983 2014-03-03 Roland McGrath <roland@hack.frob.com>
4985 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4986 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4988 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4991 * nscd/connections.c (nscd_init): Call do_exit.
4992 (start_threads): Call do_exit and notify_parent.
4993 (begin_drop_privileges): Call do_exit.
4994 (finish_drop_privileges): Likewise.
4995 * nscd/selinux.c (preserve_capabilities): Likewise.
4996 (install_real_capabilities): Likewise.
4997 (nscd_selinux_enabled): Likewise.
4998 (avc_create_thread): Likewise.
4999 (avc_alloc_lock): Likewise.
5000 (nscd_avc_init): Likewise.
5001 * nscd/nscd.c (parent_fd): New static variable.
5002 (main): Create a pipe between parent and child processes.
5003 Skip closing parent_fd.
5004 (monitor_child): New function.
5005 (do_exit): Likewise.
5006 (notify_parent): Likewise.
5007 * nscd/nscd.h (notify_parent): Likewise.
5008 (do_exit): Likewise.
5010 2014-03-03 Carlos O'Donell <carlos@redhat.com>
5012 * malloc/malloc.c (__libc_calloc): Revert last change.
5014 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5018 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5020 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5024 (__libc_ifunc_impl_list): Likewise.
5025 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5026 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5027 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5028 * string/strrchr.c: Define STRRCHR.
5030 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
5032 * benchtest/bench-strtok.c (simple_strtok): Delete.
5033 (strtok_string): Use as benchmark.
5034 * string/strtok (STRTOK): New macro.
5036 2014-02-28 Carlos O'Donell <carlos@redhat.com>
5038 * manual/threads.texi: Add header and standard comments to all
5041 * elf/dl-lookup.c (check_match): New function.
5042 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5043 (do_lookup_x): Remove nested function check_match. Use non-nested
5044 function check_match.
5046 2014-02-28 Roland McGrath <roland@hack.frob.com>
5048 * csu/Makefile (generated, before-compile): Use += rather than =.
5049 * catgets/Makefile (generated, generated-dirs): Likewise.
5050 * debug/Makefile (generated): Likewise.
5051 * dlfcn/Makefile (generated): Likewise.
5052 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5053 * iconvdata/Makefile (before-compile, generated): Likewise.
5054 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5055 * libio/Makefile (generated): Likewise.
5056 * malloc/Makefile (generated): Likewise.
5057 * manual/Makefile (generated, generated-dirs): Likewise.
5058 * misc/Makefile (generated): Likewise.
5059 * posix/Makefile (generated): Likewise.
5060 * resolv/Makefile (generated): Likewise.
5061 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5062 * timezone/Makefile (generated, generated-dirs): Likewise.
5064 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5066 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5068 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5069 power8 implementation.
5070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5071 file: POWER8 llround ifunc implementation.
5072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5073 (__lllround): Add POWER8 implementation.
5074 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5075 POWER8 llround implementation.
5077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5078 power8 implementation.
5079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5080 file: POWER8 llrint ifunc implementation.
5081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5082 Add POWER8 implementation.
5083 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5084 POWER8 llrint implementation.
5086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5087 power8 implementation.
5088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5089 file: POWER8 finite ifunc implementation.
5090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5091 Add POWER8 implementation.
5092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5094 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5095 POWER8 finite implementation.
5096 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5098 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5099 power8 implementation.
5100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5101 file: POWER8 isinf ifunc implementation.
5102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5103 POWER8 implementation.
5104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5106 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5107 isinf implementation.
5108 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5110 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5111 (INIT_ARCH): Add hwcap2 initialization.
5112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5113 power8 implementation.
5114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5115 file: POWER8 isnan ifunc implementation.
5116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5117 POWER8 implementation.
5118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5120 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5121 isnan implementation.
5122 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5124 2014-02-27 Joey Ye <joey.ye@arm.com>
5126 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5127 (_FP_NANFRAC_Q): Set to zero.
5129 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5132 * math/auto-libm-test-in: New test inputs.
5133 * math/auto-libm-test-out: Regenerate.
5134 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5137 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5139 2014-02-27 Joseph Myers <joseph@codesourcery.com>
5141 * scripts/evaluate-test.sh: Take new argument indicating whether
5142 failure is expected.
5143 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5144 indicating whether failure is expected.
5145 * conform/Makefile (test-xfail-run-conformtest): New variable.
5146 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5148 * posix/Makefile (test-xfail-annexc): New variable.
5149 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5151 2014-02-26 Joseph Myers <joseph@codesourcery.com>
5153 * argp/Makefile: Include Makeconfig immediately after defining
5155 * assert/Makefile: Likewise.
5156 * benchtests/Makefile: Likewise.
5157 * catgets/Makefile: Likewise.
5158 * conform/Makefile: Likewise.
5159 * crypt/Makefile: Likewise.
5160 * csu/Makefile: Likewise.
5161 (all): Remove target.
5162 * ctype/Makefile: Include Makeconfig immediately after defining
5164 * debug/Makefile: Likewise.
5165 * dirent/Makefile: Likewise.
5166 * dlfcn/Makefile: Likewise.
5167 * gmon/Makefile: Likewise.
5168 * gnulib/Makefile: Likewise.
5169 * grp/Makefile: Likewise.
5170 * gshadow/Makefile: Likewise.
5171 * hesiod/Makefile: Likewise.
5172 * hurd/Makefile: Likewise.
5173 (all): Remove target.
5174 * iconvdata/Makefile: Include Makeconfig immediately after
5176 * inet/Makefile: Likewise.
5177 * intl/Makefile: Likewise.
5178 * io/Makefile: Likewise.
5179 * libio/Makefile: Likewise.
5180 (all): Remove target.
5181 * locale/Makefile: Include Makeconfig immediately after defining
5183 * login/Makefile: Likewise.
5184 * mach/Makefile: Likewise.
5185 (all): Remove target.
5186 * malloc/Makefile: Include Makeconfig immediately after defining
5188 (all): Remove target.
5189 * manual/Makefile: Include Makeconfig immediately after defining
5191 * math/Makefile: Likewise.
5192 * misc/Makefile: Likewise.
5193 * nis/Makefile: Likewise.
5194 * nss/Makefile: Likewise.
5195 * po/Makefile: Likewise.
5196 (all): Remove target.
5197 * posix/Makefile: Include Makeconfig immediately after defining
5199 * pwd/Makefile: Likewise.
5200 * resolv/Makefile: Likewise.
5201 * resource/Makefile: Likewise.
5202 * rt/Makefile: Likewise.
5203 * setjmp/Makefile: Likewise.
5204 * shadow/Makefile: Likewise.
5205 * signal/Makefile: Likewise.
5206 * socket/Makefile: Likewise.
5207 * soft-fp/Makefile: Likewise.
5208 * stdio-common/Makefile: Likewise.
5209 * stdlib/Makefile: Likewise.
5210 * streams/Makefile: Likewise.
5211 * string/Makefile: Likewise.
5212 * sunrpc/Makefile: Likewise.
5213 (all): Remove target.
5214 * sysvipc/Makefile: Include Makeconfig immediately after defining
5216 * termios/Makefile: Likewise.
5217 * time/Makefile: Likewise.
5218 * timezone/Makefile: Likewise.
5219 (all): Remove target.
5220 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5222 * wctype/Makefile: Likewise.
5224 2014-02-26 Steve Ellcey <sellcey@mips.com>
5226 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5227 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5228 (libc_feholdexcept_setround_mips): Ditto.
5229 (libc_feholdsetround): New.
5230 (libc_feholdsetroundf): New.
5231 (libc_feholdsetroundl): New.
5232 (libc_feupdateenv_test_mips): New.
5233 (libc_feupdateenv_test): New.
5234 (libc_feupdateenv_testf): New.
5235 (libc_feupdateenv_testl): New.
5236 (libc_feresetround): New.
5237 (libc_feresetroundf): New.
5238 (libc_feresetroundl): New.
5239 (libc_fetestexcept_mips): New.
5240 (libc_fetestexcept): New.
5241 (libc_fetestexceptf): New.
5242 (libc_fetestexceptl): New.
5244 (libc_feholdexcept_setround_mips_ctx): New.
5245 (libc_feholdexcept_setround_ctx): New.
5246 (libc_feholdexcept_setroundf_ctx): New.
5247 (libc_feholdexcept_setroundl_ctx): New.
5248 (libc_fesetenv_mips_ctx): New.
5249 (libc_fesetenv_ctx): New.
5250 (libc_fesetenv_ctxf): New.
5251 (libc_fesetenv_ctxl): New.
5252 (libc_feupdateenv_mips_ctx): New.
5253 (libc_feupdateenv_ctx): New.
5254 (libc_feupdateenvf_ctx): New.
5255 (libc_feupdateenvl_ctx): New.
5256 (libc_feholdsetround_mips_ctx): New.
5257 (libc_feholdsetround_ctx): New.
5258 (libc_feholdsetroundf_ctx): New.
5259 (libc_feholdsetroundl_ctx): New.
5260 (libc_feresetround_mips_ctx): New.
5261 (libc_feresetround_ctx): New.
5262 (libc_feresetroundf_ctx): New.
5263 (libc_feresetroundl_ctx): New.
5265 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5267 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5269 * manual/ipc.texi: New file.
5270 * manual/Makefile (chapters): Add ipc.
5271 * manual/job.texi: Add "Inter-Process Communication" to next.
5272 * manual/process.texi: Add "Inter-Process Communication" to prev.
5274 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5278 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5280 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5282 * manual/arith.texi: Fix spaces after sentences.
5283 * manual/charset.texi: Likewise.
5284 * manual/errno.texi: Likewise.
5285 * manual/install.texi: Likewise.
5286 * manual/llio.texi: Likewise.
5287 * manual/locale.texi: Likewise.
5288 * manual/maint.texi: Likewise.
5289 * manual/math.texi: Likewise.
5290 * manual/memory.texi: Likewise.
5291 * manual/message.texi: Likewise.
5292 * manual/probes.texi: Likewise.
5293 * manual/resource.texi: Likewise.
5294 * manual/signal.texi: Likewise.
5295 * manual/socket.texi: Likewise.
5296 * manual/stdio.texi: Likewise.
5297 * manual/string.texi: Likewise.
5298 * manual/time.texi: Likewise.
5299 * manual/users.texi: Likewise.
5301 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5304 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5305 _DEFAULT_SOURCE is defined.
5307 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5308 Carlos O'Donell <carlos@redhat.com>
5311 * elf/dl-tls.c (_dl_count_modids): New function.
5312 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5313 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5314 audit library and increment generation counter.
5315 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5316 * elf/tst-audit9.c: New file.
5317 * elf/tst-auditmod9a.c: New file.
5318 * elf/tst-auditmod9b.c: New file.
5319 * elf/Makefile: Add rules to build and run tst-audit9.
5321 2014-02-25 Florian Weimer <fweimer@redhat.com>
5324 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5326 2014-02-25 Will Newton <will.newton@linaro.org>
5328 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5329 (__longjmp): Restore sp and lr before restoring callee
5330 saved registers. Add longjmp and longjmp_target
5331 SystemTap probe point.
5332 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5333 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5334 Define to zero to match jmpbuf layout.
5335 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5336 (__sigsetjmp): Save sp and lr before saving callee
5337 saved registers. Add setjmp SystemTap probe point.
5339 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5341 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5343 2014-02-24 Andreas Schwab <schwab@suse.de>
5346 * elf/pldd.c (wait_for_ptrace_stop): New function.
5347 (main): Call it after attaching.
5349 2014-02-22 Roland McGrath <roland@hack.frob.com>
5351 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5352 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5353 Versions files is now verboten.
5354 * hurd/Versions (libc: GLIBC_2.0):
5355 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5356 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5357 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5358 * mach/Versions: Likewise.
5360 * csu/Versions: Remove unused %include.
5361 * resolv/Versions: Likewise.
5363 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5365 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5366 ($(objpfx)check-local-headers.out): Likewise.
5367 ($(objpfx)begin-end-check.out): Likewise.
5368 * Makerules (check-abi-%.out): Likewise.
5369 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5370 ($(objpfx)test2.cat): Likewise.
5371 ($(objpfx)de/libc.cat): Likewise.
5372 ($(objpfx)test-gencat.out): Likewise.
5373 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5374 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5375 ($(objpfx)noload-mem): Likewise.
5376 ($(objpfx)tst-pathopt.out): Likewise.
5377 ($(objpfx)tst-rtld-load-self.out): Likewise.
5378 ($(objpfx)tst-array1-cmp.out): Likewise.
5379 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5380 ($(objpfx)tst-array2-cmp.out): Likewise.
5381 ($(objpfx)tst-array3-cmp.out): Likewise.
5382 ($(objpfx)tst-array4-cmp.out): Likewise.
5383 ($(objpfx)tst-array5-cmp.out): Likewise.
5384 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5385 ($(objpfx)check-textrel.out): Likewise.
5386 ($(objpfx)check-execstack.out): Likewise.
5387 ($(objpfx)check-localplt.out): Likewise.
5388 ($(objpfx)order2-cmp.out): Likewise.
5389 ($(objpfx)tst-leaks1-mem): Likewise.
5390 ($(objpfx)tst-leaks1-static-mem): Likewise.
5391 ($(objpfx)tst-initorder-cmp.out): Likewise.
5392 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5393 ($(objpfx)tst-unused-dep.out): Likewise.
5394 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5395 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5396 * iconv/Makefile (test-iconvconfig): Likewise.
5397 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5398 ($(objpfx)iconv-test.out): Likewise.
5399 ($(objpfx)tst-tables.out): Likewise.
5400 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5401 ($(objpfx)tst-gettext.out): Likewise.
5402 ($(objpfx)tst-translit.out): Likewise.
5403 ($(objpfx)tst-gettext2.out): Likewise.
5404 ($(objpfx)tst-gettext4.out): Likewise.
5405 ($(objpfx)tst-gettext6.out): Likewise.
5406 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5407 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5408 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5409 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5410 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5411 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5412 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5413 ($(objpfx)wordexp-tst.out): Likewise.
5414 ($(objpfx)annexc.out): Likewise.
5415 ($(objpfx)tst-fnmatch-mem): Likewise.
5416 ($(objpfx)bug-regex2-mem): Likewise.
5417 ($(objpfx)bug-regex14-mem): Likewise.
5418 ($(objpfx)bug-regex21-mem): Likewise.
5419 ($(objpfx)bug-regex31-mem): Likewise.
5420 ($(objpfx)tst-vfork3-mem): Likewise.
5421 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5422 ($(objpfx)tst-pcre-mem): Likewise.
5423 ($(objpfx)tst-boost-mem): Likewise.
5424 ($(objpfx)tst-getconf.out): Likewise.
5425 ($(objpfx)bug-ga2-mem): Likewise.
5426 ($(objpfx)bug-glob2-mem): Likewise.
5427 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5428 ($(objpfx)mtrace-tst-leaks2): Likewise.
5429 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5430 ($(objpfx)tst-printf.out): Likewise.
5431 ($(objpfx)tst-setvbuf1.out): Likewise.
5432 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5433 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5434 ($(objpfx)tst-fmtmsg.out): Likewise.
5435 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5436 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5438 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5439 * bits/sigaction.h [__USE_MISC]: Likewise.
5440 * bits/waitstatus.h: Update #endif comments.
5441 * ctype/ctype.h: Likewise.
5442 * dirent/dirent.h: Likewise.
5443 [__USE_MISC]: Remove redundant conditionals.
5444 * grp/grp.h: Update #endif comments.
5445 [__USE_GNU]: Remove redundant conditionals.
5446 [__USE_MISC]: Likewise.
5447 * inet/netinet/in.h [__USE_GNU]: Likewise.
5448 * io/sys/stat.h [__USE_MISC]: Likewise.
5449 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5450 * libio/bits/stdio.h: Update #endif comments.
5451 [__USE_MISC]: Remove redundant conditionals.
5452 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5453 * libio/stdio.h: Update #endif comments.
5454 [__USE_MISC]: Remove redundant conditionals.
5455 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5456 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5457 * math/math.h: Update #else and #endif comments.
5458 [__USE_MISC]: Remove redundant conditionals.
5459 * misc/sys/uio.h: Update #endif comments.
5460 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5461 * posix/glob.h [__USE_MISC]: Likewise.
5462 * posix/sys/types.h: Update #endif comments.
5463 [__USE_MISC]: Remove redundant conditionals.
5464 * posix/sys/wait.h: Update #endif comments.
5465 [__USE_MISC]: Remove redundant conditionals.
5466 * posix/unistd.h: Update #endif comments.
5467 [__USE_MISC]: Remove redundant conditionals.
5468 * pwd/pwd.h [__USE_GNU]: Likewise.
5469 [__USE_MISC]: Likewise.
5470 * resolv/netdb.h [__USE_GNU]: Likewise.
5471 * signal/signal.h: Update #endif comments.
5472 [__USE_MISC]: Remove redundant conditionals.
5473 * stdlib/stdlib.h: Update #else and #endif comments.
5474 [__USE_MISC]: Remove redundant conditionals.
5475 [__USE_GNU]: Likewise.
5476 * string/bits/string2.h [__USE_MISC]: Likewise.
5477 * string/string.h: Update #endif comments.
5478 [__USE_MISC]: Remove redundant conditionals.
5479 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5481 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5482 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5483 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5485 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5487 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5489 [__USE_MISC]: Remove redundant conditionals.
5490 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5491 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5492 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5493 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5494 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5496 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5497 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5499 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5500 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5502 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5504 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5505 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5507 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5509 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5510 * sysdeps/x86/bits/string.h: Update #endif comments.
5511 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5513 * time/sys/time.h: Update #endif comments.
5514 * time/time.h: Likewise.
5515 [__USE_MISC]: Remove redundant conditionals.
5517 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5520 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5522 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5524 * Versions.def (librt): Add GLIBC_2.17.
5526 2014-02-21 Adam Conrad <adconrad@0c3.net>
5528 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5529 synonym for _SYS_AUXV_H to allow direct inclusion.
5530 * sysdeps/sparc/bits/hwcap.h: Likewise.
5531 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5532 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5533 * sysdeps/sparc/sysdep.h: Likewise.
5535 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5537 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5539 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5541 * benchtests/bench-strrchr.c: Print length instead of position.
5543 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5546 * sysdeps/unix/sysv/linux/kernel-features.h
5547 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5548 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5549 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5550 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5552 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5553 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5554 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5555 (__ASSUME_SENDMMSG): Define instead of using previous
5556 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5557 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5558 (__ASSUME_SENDMMSG_SYSCALL): Define.
5559 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5560 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5562 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5563 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5565 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5566 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5568 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5569 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5570 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5571 [__ASSUME_SENDMMSG]: Change conditionals to
5572 [__ASSUME_SENDMMSG_SOCKETCALL].
5573 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5574 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5576 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5577 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5579 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5580 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5581 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5582 [!__ASSUME_SENDMMSG]: Change conditional to
5583 [!__ASSUME_SENDMMSG_SOCKETCALL].
5584 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5585 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5589 * sysdeps/unix/sysv/linux/kernel-features.h
5590 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5591 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5592 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5593 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5594 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5595 [__i386__ || __sparc__]
5596 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5597 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5598 (__ASSUME_RECVMMSG): Define instead of using previous
5599 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5600 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5601 (__ASSUME_RECVMMSG_SYSCALL): Define.
5602 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5603 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5605 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5606 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5608 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5609 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5611 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5612 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5613 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5614 [__ASSUME_RECVMMSG]: Change condition to
5615 [__ASSUME_RECVMMSG_SOCKETCALL].
5616 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5617 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5619 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5620 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5621 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5623 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5624 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5625 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5626 [!__ASSUME_RECVMMSG]: Change condition to
5627 [!__ASSUME_RECVMMSG_SOCKETCALL].
5628 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5629 (__ASSUME_RECVMMSG_SYSCALL): Define.
5632 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5633 __powerpc__ || __s390__ || __sh__ || __sparc__]
5634 (__ASSUME_SOCKETCALL): Define.
5635 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5636 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5637 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5638 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5639 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5640 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5641 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5642 (__ASSUME_ACCEPT4): Define instead of using previous
5643 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5644 __powerpc__ || __sparc__ || __s390__)] condition.
5645 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5646 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5647 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5648 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5649 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5650 [!__ASSUME_ACCEPT4]: Change condition to
5651 [!__ASSUME_ACCEPT4_SOCKETCALL].
5652 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5653 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5654 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5655 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5656 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5657 __ASSUME_ACCEPT4_SYSCALL.
5658 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5659 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5660 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5661 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5662 __ASSUME_ACCEPT4_SYSCALL.
5663 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5664 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5665 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5666 [__ASSUME_ACCEPT4]: Change condition to
5667 [__ASSUME_ACCEPT4_SOCKETCALL].
5668 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5669 (__ASSUME_SOCKETCALL): Define.
5670 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5671 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5672 (__ASSUME_SOCKETCALL): Define.
5673 (__ASSUME_ACCEPT4): Remove.
5674 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5676 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5677 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5679 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5680 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5682 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5684 (HWCAP_ARM_LPAE): Likewise.
5685 (HWCAP_ARM_EVTSTRM): Likewise.
5686 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5687 Add vpfd32, lpae and evtstrm.
5688 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5691 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5693 * math/auto-libm-test-in: Add tests of clog10.
5694 * math/auto-libm-test-out: Regenerated.
5695 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5696 * sysdeps/i386/fpu/libm-test-ulps: Update.
5697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5699 2014-02-18 Andreas Schwab <schwab@suse.de>
5702 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5703 Store non-zero if the second buffer was newly allocated.
5704 (send_dg): Likewise.
5705 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5706 to send_vc and send_dg.
5707 (res_nsend): Pass NULL for ansp2_malloced.
5708 * resolv/res_query.c (__libc_res_nquery): Add parameter
5709 answerp2_malloced and pass it down to __libc_res_nsend.
5710 (res_nquery): Pass additional NULL to __libc_res_nquery.
5711 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5712 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5713 second answer buffer if answerp2_malloced was set.
5714 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5715 (__libc_res_nquerydomain): Add parameter
5716 answerp2_malloced and pass it down to __libc_res_nquery.
5717 (res_nquerydomain): Pass additional NULL to
5718 __libc_res_nquerydomain.
5719 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5720 additional NULL to __libc_res_nsend and __libc_res_nquery.
5721 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5722 additional NULL to __libc_res_nsearch.
5723 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5724 parameter of __libc_res_nsearch to check for separately allocated
5726 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5728 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5729 additional NULL to __libc_res_nquery.
5730 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5732 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5733 * include/resolv.h: Update prototypes of __libc_res_nquery,
5734 __libc_res_nsearch, __libc_res_nsend.
5736 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5738 * math/auto-libm-test-in: Add tests of fma.
5739 * math/auto-libm-test-out: Regenerated.
5740 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5741 (fma_towardzero_test_data): Likewise.
5742 (fma_downward_test_data): Likewise.
5743 (fma_upward_test_data): Likewise.
5744 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5746 (rounding_modes): Add values for new field.
5747 (func_calc_method): Add value mpfr_fff_f.
5748 (func_calc_desc): Add mpfr_fff_f union field.
5749 (test_function): Add field exact_args.
5750 (FUNC): Add macro argument EXACT_ARGS.
5751 (FUNC_mpfr_f_f): Update call to FUNC.
5752 (FUNC_mpfr_f_f): Likewise.
5753 (FUNC_mpfr_ff_f): Likewise.
5754 (FUNC_mpfr_if_f): Likewise.
5755 (FUNC_mpc_c_f): Likewise.
5756 (FUNC_mpc_c_c): Likewise.
5757 (test_functions): Add fma. Update calls to FUNC.
5758 (handle_input_arg): Add argument exact_args.
5759 (add_test): Update call to handle_input_arg.
5760 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5761 (output_for_one_input_case): Update call to calc_generic_results.
5762 Recalculate exact zero results in each rounding mode.
5764 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5765 non-negative before setting low bit.
5766 * math/auto-libm-test-in: Mark one asin test possibly having
5768 * math/auto-libm-test-out: Regenerated.
5769 * sysdeps/i386/fpu/libm-test-ulps: Update.
5770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5772 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5774 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5775 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5776 ports/sysdeps/unix/sysv/linux/microblaze.
5777 * README: Add missing listing for microblaze*-*-linux-gnu.
5779 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5781 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5782 * sysdeps/unix/sysv/linux/ia64: Move directory from
5783 ports/sysdeps/unix/sysv/linux/ia64.
5784 * README: Update listing for ia64-*-linux-gnu.
5786 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5787 Joseph Myers <joseph@codesourcery.com>
5789 * Makeconfig (test-name): New variable.
5790 (evaluate-test): Likewise.
5791 * Makerules (do-test-clean): Remove .test-result files.
5792 (common-mostlyclean): Likewise.
5793 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5794 * scripts/evaluate-test.sh: New file.
5796 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5798 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5799 separate $(objpfx)tst-fopenloc-cmp.out and
5800 $(objpfx)tst-fopenloc-mem.out targets.
5801 (tests): Update dependencies.
5802 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5803 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5804 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5805 (tst-rxspencer-no-utf8-ARGS): New variable.
5806 (tst-rxspencer-no-utf8-ENV): Likewise.
5807 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5808 instead of $(objpfx)tst-rxspencer-mem.
5809 ($(objpfx)tst-rxspencer-mem): Change target to
5810 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5811 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5812 * posix/tst-rxspencer-no-utf8.c: New file.
5814 * elf/Makefile ($(objpfx)order.out): Remove rule.
5815 [$(run-built-tests) = yes] (tests): Depend on
5816 $(objpfx)order-cmp.out.
5817 ($(objpfx)order-cmp.out): New rule.
5818 [$(run-built-tests) = yes] (tests): Depend on
5819 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5820 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5821 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5822 $(objpfx)tst-array5-static-cmp.out.
5823 ($(objpfx)tst-array1.out): Remove rule.
5824 ($(objpfx)tst-array1-cmp.out): New rule.
5825 ($(objpfx)tst-array1-static.out): Remove rule.
5826 ($(objpfx)tst-array1-static-cmp.out): New rule.
5827 ($(objpfx)tst-array2.out): Remove rule.
5828 ($(objpfx)tst-array2-cmp.out): New rule.
5829 ($(objpfx)tst-array3.out): Remove rule.
5830 ($(objpfx)tst-array3-cmp.out): New rule.
5831 ($(objpfx)tst-array4.out): Remove rule.
5832 ($(objpfx)tst-array4-cmp.out): New rule.
5833 ($(objpfx)tst-array5.out): Remove rule.
5834 ($(objpfx)tst-array5-cmp.out): New rule.
5835 ($(objpfx)tst-array5-static.out): Remove rule.
5836 ($(objpfx)tst-array5-static-cmp.out): New rule.
5837 [$(run-built-tests) = yes] (tests): Depend on
5838 $(objpfx)order2-cmp.out.
5839 ($(objpfx)order2.out): Remove rule.
5840 ($(objpfx)order2-cmp.out): New rule.
5841 ($(objpfx)tst-initorder.out): Remove rule.
5842 [$(run-built-tests) = yes] (tests): Depend on
5843 $(objpfx)tst-initorder-cmp.out.
5844 ($(objpfx)tst-initorder-cmp.out): New rule.
5845 ($(objpfx)tst-initorder2.out): Remove rule.
5846 [$(run-built-tests) = yes] (tests): Depend on
5847 $(objpfx)tst-initorder2-cmp.out.
5848 ($(objpfx)tst-initorder2-cmp.out): New rule.
5849 [$(run-built-tests) = yes] (tests): Depend on
5850 $(objpfx)tst-unused-dep-cmp.out.
5851 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5852 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5853 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5854 on $(objpfx)tst-setvbuf1-cmp.out.
5855 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5856 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5857 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5858 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5859 ($(objpfx)tst-svc.out): Remove rule.
5860 ($(objpfx)tst-svc-cmp.out): New rule.
5862 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5864 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5865 * ctype/ctype.h [__USE_MISC]: Likewise.
5866 * dirent/dirent.h [__USE_MISC]: Likewise.
5867 * grp/grp.h [__USE_MISC]: Likewise.
5868 * io/fcntl.h [__USE_MISC]: Likewise.
5869 * io/sys/stat.h [__USE_MISC]: Likewise.
5870 * libio/stdio.h [__USE_MISC]: Likewise.
5871 * posix/unistd.h [__USE_MISC]: Likewise.
5872 * pwd/pwd.h [__USE_MISC]: Likewise.
5873 * stdlib.h [__USE_MISC]: Likewise.
5874 * string/bits/string2.h [__USE_MISC]: Likewise.
5875 * string/string.h [__USE_MISC]: Likewise.
5876 * time/time.h [__USE_MISC]: Likewise.
5878 2014-02-13 Andreas Schwab <schwab@suse.de>
5881 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5882 second answer buffer if it was separately allocated.
5884 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5886 * sysdeps/mips/math-tests.h: Include <features.h>.
5887 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5888 (ROUNDING_TESTS_long_double): Do not define.
5889 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5890 (EXCEPTION_TESTS_long_double): Likewise.
5891 * sysdeps/mips/mips64/libm-test-ulps: Update.
5893 * include/features.h (__USE_BSD): Remove macro definitions.
5894 (__USE_SVID): Likewise.
5895 (_BSD_SOURCE): Likewise.
5896 (_SVID_SOURCE): Likewise.
5897 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5898 from definition of _DEFAULT_SOURCE.
5899 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5901 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5902 * bits/mman.h [__USE_BSD]: Likewise.
5903 * bits/termios.h [__USE_BSD]: Likewise.
5904 * bits/waitstatus.h [__USE_BSD]: Likewise.
5905 * ctype/ctype.h [__USE_SVID]: Likewise.
5906 * dirent/dirent.h [__USE_BSD]: Likewise.
5907 * grp/grp.h [__USE_SVID]: Likewise.
5908 [__USE_BSD]: Likewise.
5909 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5910 * io/fcntl.h [__USE_BSD]: Likewise.
5911 * io/ftw.h [__USE_BSD]: Likewise.
5912 * io/sys/stat.h [__USE_BSD]: Likewise.
5913 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5914 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5915 * libio/stdio.h [__USE_SVID]: Likewise.
5916 [__USE_BSD]: Likewise.
5917 * math/math.h [__USE_SVID]: Likewise.
5918 [__USE_BSD]: Likewise.
5919 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5920 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5921 * misc/search.h [__USE_SVID]: Likewise.
5922 * misc/sys/mman.h [__USE_BSD]: Likewise.
5923 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5924 * misc/sys/uio.h [__USE_BSD]: Likewise.
5925 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5926 * posix/glob.h [__USE_BSD]: Likewise.
5927 * posix/regex.h [__USE_BSD]: Likewise.
5928 * posix/sys/types.h [__USE_BSD]: Likewise.
5929 [__USE_SVID]: Likewise.
5930 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5931 * posix/sys/wait.h [__USE_BSD]: Likewise.
5932 [__USE_SVID]: Likewise.
5933 * posix/unistd.h [__USE_BSD]: Likewise.
5934 [__USE_SVID]: Likewise.
5935 * pwd/pwd.h [__USE_SVID]: Likewise.
5936 * resolv/netdb.h [__USE_BSD]: Likewise.
5937 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5938 * signal/signal.h [__USE_BSD]: Likewise.
5939 [__USE_SVID]: Likewise.
5940 * socket/sys/socket.h [__USE_BSD]: Likewise.
5941 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5942 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5943 [__USE_SVID]: Likewise.
5944 * string/bits/string2.h [__USE_BSD]: Likewise.
5945 [__USE_SVID]: Likewise.
5946 * string/bits/string3.h [__USE_BSD]: Likewise.
5947 * string/endian.h [__USE_BSD]: Likewise.
5948 * string/string.h [__USE_SVID]: Likewise.
5949 [__USE_BSD]: Likewise.
5950 * string/strings.h [__USE_BSD]: Likewise.
5951 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5952 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5953 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5954 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5955 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5956 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5958 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5960 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5961 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5963 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5964 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5966 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5968 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5969 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5970 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5972 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5974 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5975 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5976 * termios/termios.h [__USE_BSD]: Likewise.
5977 * time/sys/time.h [__USE_BSD]: Likewise.
5978 * time/time.h [__USE_BSD]: Likewise.
5979 [__USE_SVID]: Likewise.
5981 * Makefile (subdir_targets): Remove subdir_lint.out.
5983 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5984 (do-tst-printf): Likewise.
5985 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5986 $(objpfx)tst-printf.out.
5988 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5990 * Makerules (check-abi-%): Change target to
5991 $(objpfx)check-abi-%.out.
5992 (check-abi target): Update dependencies.
5993 (check-abi-pattern variable): Redirect output of diff to $@.
5994 (check-abi variable): Likewise.
5995 * elf/Makefile (check-abi): Update dependencies.
5997 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5999 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6000 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6002 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6003 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6004 value has largest subnormal exponent.
6005 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6006 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6007 * sysdeps/aarch64/soft-fp/sfp-machine.h
6008 (_FP_TININESS_AFTER_ROUNDING): New macro.
6009 * sysdeps/alpha/soft-fp/sfp-machine.h
6010 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6011 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6013 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6014 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6015 * sysdeps/mips/soft-fp/sfp-machine.h
6016 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6017 * sysdeps/powerpc/soft-fp/sfp-machine.h
6018 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6019 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6021 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6022 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6023 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6024 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6025 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6028 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
6031 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6034 2014-02-12 Richard Henderson <rth@redhat.com>
6036 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6037 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6038 * sysdeps/unix/sysv/linux/alpha: Move directory from
6039 ports/sysdeps/unix/sysv/linux/alpha.
6040 * README: Update listing for alpha-*-linux-gnu.
6042 2014-02-11 Joseph Myers <joseph@codesourcery.com>
6044 * include/features.h: Update comment documenting feature test
6046 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6048 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6049 (_SVID_SOURCE): Likewise.
6050 (_DEFAULT_SOURCE): Update description of default features.
6051 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6053 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6054 (S_ISVTX): Likewise.
6055 * manual/math.texi (Mathematical Constants): Likewise.
6056 * manual/signal.texi (Interrupted Primitives): Likewise.
6057 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6058 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6059 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6060 Don't refer to _SVID_SOURCE in warning text.
6062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6064 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6066 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6067 * sysdeps/mips/dl-lookup.c: Remove.
6068 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6070 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6073 * math/auto-libm-test-in: Add testcase for expl.
6074 * math/auto-libm-test-out: Regenerate.
6075 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6076 calculation of unsafe.
6077 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6079 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6081 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6082 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6083 ports/sysdeps/unix/sysv/linux/aarch64.
6084 * README: Update listing for aarch64*-*-linux-gnu.
6086 2014-02-11 Will Newton <will.newton@linaro.org>
6088 * manual/probes.texi (Mathematical Function Probes): Use
6089 "triggered" instead of "hit".
6091 * manual/probes.texi (Internal Probes): Add documentation
6092 of setjmp, longjmp and longjmp_target probes.
6094 * include/stap-probe.h: Add comment about probe argument
6097 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6098 definition. (tr_where, tr_freehook, tr_mallochook,
6099 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6101 2014-02-11 David S. Miller <davem@davemloft.net>
6103 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6104 processing int_tests.
6106 2014-02-10 Joseph Myers <joseph@codesourcery.com>
6108 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6109 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6110 * sysdeps/unix/sysv/linux/mips: Move directory from
6111 ports/sysdeps/unix/sysv/linux/mips.
6112 * README: Update listing for mips-*-linux-gnu and
6115 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6117 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6118 * sysdeps/unix/sysv/linux/m68k: Move directory from
6119 ports/sysdeps/unix/sysv/linux/m68k.
6120 * README: Update listing for m68k-*-linux-gnu.
6122 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6124 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6125 * sysdeps/unix/sysv/linux/generic: Move directory from
6126 ports/sysdeps/unix/sysv/linux/generic.
6127 * sysdeps/unix/sysv/linux/tile: Move directory from
6128 ports/sysdeps/unix/sysv/linux/tile.
6129 * README: Update listing for tile*-*-linux-gnu.
6131 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
6133 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6135 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6136 * catgets/open_catalog.c (__open_catalog): Likewise.
6137 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6138 * debug/confstr_chk.c: Likewise.
6139 * debug/fread_chk.c (__fread_chk): Likewise.
6140 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6141 * debug/getgroups_chk.c: Likewise.
6142 * debug/mbsnrtowcs_chk.c: Likewise.
6143 * debug/mbsrtowcs_chk.c: Likewise.
6144 * debug/mbstowcs_chk.c: Likewise.
6145 * debug/memcpy_chk.c: Likewise.
6146 * debug/memmove_chk.c: Likewise.
6147 * debug/mempcpy_chk.c: Likewise.
6148 * debug/memset_chk.c: Likewise.
6149 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6150 * debug/strcat_chk.c (__strcat_chk): Likewise.
6151 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6152 * debug/strncat_chk.c (__strncat_chk): Likewise.
6153 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6154 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6155 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6156 * debug/wcpncpy_chk.c: Likewise.
6157 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6158 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6159 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6160 * debug/wcsncpy_chk.c: Likewise.
6161 * debug/wcsnrtombs_chk.c: Likewise.
6162 * debug/wcsrtombs_chk.c: Likewise.
6163 * debug/wcstombs_chk.c: Likewise.
6164 * debug/wmemcpy_chk.c: Likewise.
6165 * debug/wmemmove_chk.c: Likewise.
6166 * debug/wmempcpy_chk.c: Likewise.
6167 * debug/wmemset_chk.c: Likewise.
6168 * dirent/scandirat.c (SCANDIRAT): Likewise.
6169 * dlfcn/dladdr1.c (dladdr1): Likewise.
6170 * dlfcn/dladdr.c (dladdr): Likewise.
6171 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6172 * dlfcn/dlerror.c (__dlerror): Likewise.
6173 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6174 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6175 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6176 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6177 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6178 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6179 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6180 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6182 * elf/dl-conflict.c: Likewise.
6183 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6184 * elf/dl-dst.h: Likewise.
6185 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6186 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6187 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6188 * elf/dl-init.c (call_init, _dl_init): Likewise.
6189 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6190 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6191 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6193 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6195 * elf/dl-minimal.c (__libc_memalign): Likewise.
6196 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6197 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6198 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6199 * elf/dl-sym.c (do_sym): Likewise.
6200 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6201 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6202 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6203 * elf/dl-writev.h (_dl_writev): Likewise.
6204 * elf/ldconfig.c (search_dir): Likewise.
6205 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6206 (dl_main): Likewise.
6207 * elf/setup-vdso.h (setup_vdso): Likewise.
6208 * grp/compat-initgroups.c (compat_call): Likewise.
6209 * grp/fgetgrent.c (fgetgrent): Likewise.
6210 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6211 * grp/putgrent.c (putgrent): Likewise.
6212 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6214 * hurd/hurdinit.c: Likewise.
6215 * iconvdata/8bit-gap.c (struct): Likewise.
6216 * iconvdata/ansi_x3.110.c : Likewise.
6217 * iconvdata/big5.c : Likewise.
6218 * iconvdata/big5hkscs.c : Likewise.
6219 * iconvdata/cp1255.c: Likewise.
6220 * iconvdata/cp1258.c : Likewise.
6221 * iconvdata/cp932.c : Likewise.
6222 * iconvdata/euc-cn.c: Likewise.
6223 * iconvdata/euc-jisx0213.c : Likewise.
6224 * iconvdata/euc-jp.c: Likewise.
6225 * iconvdata/euc-jp-ms.c : Likewise.
6226 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6227 * iconvdata/gb18030.c : Likewise.
6228 * iconvdata/gbbig5.c (const): Likewise.
6229 * iconvdata/gbgbk.c: Likewise.
6230 * iconvdata/gbk.c : Likewise.
6231 * iconvdata/ibm1364.c : Likewise.
6232 * iconvdata/ibm930.c : Likewise.
6233 * iconvdata/ibm932.c: Likewise.
6234 * iconvdata/ibm933.c : Likewise.
6235 * iconvdata/ibm935.c : Likewise.
6236 * iconvdata/ibm937.c : Likewise.
6237 * iconvdata/ibm939.c : Likewise.
6238 * iconvdata/ibm943.c: Likewise.
6239 * iconvdata/iso_11548-1.c: Likewise.
6240 * iconvdata/iso-2022-cn.c : Likewise.
6241 * iconvdata/iso-2022-cn-ext.c : Likewise.
6242 * iconvdata/iso-2022-jp-3.c: Likewise.
6243 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6244 * iconvdata/iso-2022-kr.c : Likewise.
6245 * iconvdata/iso646.c (gconv_end): Likewise.
6246 * iconvdata/iso_6937-2.c : Likewise.
6247 * iconvdata/iso_6937.c : Likewise.
6248 * iconvdata/iso8859-1.c: Likewise.
6249 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6250 * iconvdata/shift_jisx0213.c : Likewise.
6251 * iconvdata/sjis.c : Likewise.
6252 * iconvdata/t.61.c : Likewise.
6253 * iconvdata/tcvn5712-1.c : Likewise.
6254 * iconvdata/tscii.c: Likewise.
6255 * iconvdata/uhc.c : Likewise.
6256 * iconvdata/unicode.c (gconv_end): Likewise.
6257 * iconvdata/utf-16.c (gconv_end): Likewise.
6258 * iconvdata/utf-32.c (gconv_end): Likewise.
6259 * iconvdata/utf-7.c (base64): Likewise.
6260 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6261 * iconv/gconv_close.c (__gconv_close): Likewise.
6262 * iconv/gconv_open.c (__gconv_open): Likewise.
6263 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6264 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6265 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6266 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6267 (ucs4le_internal_loop_single): Likewise.
6268 * iconv/iconv.c (iconv): Likewise.
6269 * iconv/iconv_close.c: Likewise.
6270 * iconv/loop.c (SINGLE): Likewise.
6271 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6272 * include/atomic.h: Likewise.
6273 * inet/inet6_option.c (option_alloc): Likewise.
6274 * intl/bindtextdom.c (set_binding_values): Likewise.
6275 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6276 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6277 * intl/localealias.c (read_alias_file): Likewise.
6278 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6279 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6280 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6281 * libio/fmemopen.c (fmemopen): Likewise.
6282 * libio/iofgets.c (_IO_fgets): Likewise.
6283 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6284 * libio/iofgetws.c (fgetws): Likewise.
6285 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6286 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6287 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6288 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6289 * locale/findlocale.c (_nl_find_locale): Likewise.
6290 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6291 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6293 * locale/setlocale.c (setlocale): Likewise.
6294 * login/programs/pt_chown.c (main): Likewise.
6295 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6296 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6297 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6298 (mmap, mmap64, mremap, munmap): Likewise.
6299 * math/e_exp2l.c: Likewise.
6300 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6301 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6302 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6303 * math/s_catan.c (__catan): Likewise.
6304 * math/s_catanf.c (__catanf): Likewise.
6305 * math/s_catanh.c (__catanh): Likewise.
6306 * math/s_catanhf.c (__catanhf): Likewise.
6307 * math/s_catanhl.c (__catanhl): Likewise.
6308 * math/s_catanl.c (__catanl): Likewise.
6309 * math/s_ccosh.c (__ccosh): Likewise.
6310 * math/s_ccoshf.c (__ccoshf): Likewise.
6311 * math/s_ccoshl.c (__ccoshl): Likewise.
6312 * math/s_cexp.c (__cexp): Likewise.
6313 * math/s_cexpf.c (__cexpf): Likewise.
6314 * math/s_cexpl.c (__cexpl): Likewise.
6315 * math/s_clog10.c (__clog10): Likewise.
6316 * math/s_clog10f.c (__clog10f): Likewise.
6317 * math/s_clog10l.c (__clog10l): Likewise.
6318 * math/s_clog.c (__clog): Likewise.
6319 * math/s_clogf.c (__clogf): Likewise.
6320 * math/s_clogl.c (__clogl): Likewise.
6321 * math/s_csin.c (__csin): Likewise.
6322 * math/s_csinf.c (__csinf): Likewise.
6323 * math/s_csinh.c (__csinh): Likewise.
6324 * math/s_csinhf.c (__csinhf): Likewise.
6325 * math/s_csinhl.c (__csinhl): Likewise.
6326 * math/s_csinl.c (__csinl): Likewise.
6327 * math/s_csqrt.c (__csqrt): Likewise.
6328 * math/s_csqrtf.c (__csqrtf): Likewise.
6329 * math/s_csqrtl.c (__csqrtl): Likewise.
6330 * math/s_ctan.c (__ctan): Likewise.
6331 * math/s_ctanf.c (__ctanf): Likewise.
6332 * math/s_ctanh.c (__ctanh): Likewise.
6333 * math/s_ctanhf.c (__ctanhf): Likewise.
6334 * math/s_ctanhl.c (__ctanhl): Likewise.
6335 * math/s_ctanl.c (__ctanl): Likewise.
6336 * math/w_pow.c: Likewise.
6337 * math/w_powf.c: Likewise.
6338 * math/w_powl.c: Likewise.
6339 * math/w_scalb.c (sysv_scalb): Likewise.
6340 * math/w_scalbf.c (sysv_scalbf): Likewise.
6341 * math/w_scalbl.c (sysv_scalbl): Likewise.
6342 * misc/error.c (error_tail): Likewise.
6343 * misc/pselect.c (__pselect): Likewise.
6344 * nis/nis_callback.c (__nis_create_callback): Likewise.
6345 * nis/nis_call.c (__nisfind_server): Likewise.
6346 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6347 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6348 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6349 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6350 * nis/nis_lookup.c (nis_lookup): Likewise.
6351 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6352 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6353 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6354 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6355 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6356 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6357 * nis/nss_compat/compat-initgroups.c (add_group)
6358 (internal_getgrent_r): Likewise.
6359 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6360 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6361 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6362 (internal_getspnam_r): Likewise.
6363 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6364 (_nss_nis_getaliasbyname_r): Likewise.
6365 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6366 (_nss_nis_getntohost_r): Likewise.
6367 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6368 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6369 (_nss_nis_getgrgid_r): Likewise.
6370 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6371 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6372 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6373 (_nss_nis_gethostbyname4_r): Likewise.
6374 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6375 (initgroups_netid): Likewise.
6376 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6377 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6378 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6379 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6380 (_nss_nis_getprotobynumber_r): Likewise.
6381 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6382 (_nss_nis_getsecretkey): Likewise.
6383 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6384 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6385 (_nss_nis_getpwuid_r): Likewise.
6386 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6387 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6388 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6389 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6390 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6391 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6392 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6394 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6395 (_nss_nisplus_getntohost_r): Likewise.
6396 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6397 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6398 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6399 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6401 * nis/nss_nisplus/nisplus-initgroups.c
6402 (_nss_nisplus_initgroups_dyn): Likewise.
6403 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6404 (_nss_nisplus_getnetbyaddr_r): Likewise.
6405 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6406 (_nss_nisplus_getprotobynumber_r): Likewise.
6407 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6408 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6409 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6411 * nis/nss_nisplus/nisplus-service.c
6412 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6413 (_nss_nisplus_getservbyport_r): Likewise.
6414 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6415 (_nss_nisplus_getspnam_r): Likewise.
6416 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6418 * nscd/aicache.c (addhstaiX): Likewise.
6419 * nscd/cache.c (cache_search, prune_cache): Likewise.
6420 * nscd/connections.c (register_traced_file, send_ro_fd)
6421 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6422 (main_loop_epoll): Likewise.
6423 * nscd/grpcache.c (addgrbyX): Likewise.
6424 * nscd/hstcache.c (addhstbyX): Likewise.
6425 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6426 * nscd/mem.c (gc, mempool_alloc): Likewise.
6427 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6428 (addinnetgrX): Likewise.
6429 * nscd/nscd-client.h (__nscd_acquire_maplock)
6430 (__nscd_drop_map_ref): Likewise.
6431 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6432 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6433 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6435 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6436 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6437 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6438 (__nscd_get_map_ref): Likewise.
6439 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6440 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6442 * nscd/pwdcache.c (addpwbyX): Likewise.
6443 * nscd/selinux.c (preserve_capabilities): Likewise.
6444 * nscd/servicescache.c (addservbyX): Likewise.
6445 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6446 * posix/fnmatch.c (fnmatch): Likewise.
6447 * posix/getopt.c (_getopt_internal_r): Likewise.
6448 * posix/glob.c (glob, glob_in_dir): Likewise.
6449 * posix/wordexp.c (exec_comm_child): Likewise.
6450 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6451 (getanswer_r, gaih_getanswer_slice): Likewise.
6452 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6453 * resolv/res_init.c: Likewise.
6454 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6455 * resolv/res_query.c (__libc_res_nquery): Likewise.
6456 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6458 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6459 * stdio-common/perror.c (perror): Likewise.
6460 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6461 * stdio-common/tmpnam.c (tmpnam): Likewise.
6462 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6463 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6464 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6466 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6467 * stdlib/putenv.c (putenv): Likewise.
6468 * stdlib/setenv.c (__add_to_environ): Likewise.
6469 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6470 * stdlib/strtol_l.c (INTERNAL): Likewise.
6471 * string/memmem.c (memmem): Likewise.
6472 * string/strerror.c (strerror): Likewise.
6473 * string/strnlen.c (__strnlen): Likewise.
6474 * string/test-memmem.c (simple_memmem): Likewise.
6475 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6476 * sunrpc/pm_getport.c (__get_socket): Likewise.
6477 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6478 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6479 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6480 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6482 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6483 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6484 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6485 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6486 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6487 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6489 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6491 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6492 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6493 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6494 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6495 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6497 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6498 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6499 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6500 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6501 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6502 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6506 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6508 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6509 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6510 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6511 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6512 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6513 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6514 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6515 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6516 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6517 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6518 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6519 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6520 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6521 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6523 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6525 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6527 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6529 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6531 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6532 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6533 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6535 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6536 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6537 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6538 * sysdeps/posix/sleep.c: Likewise.
6539 * sysdeps/posix/tempname.c: Likewise.
6540 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6541 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6543 * sysdeps/powerpc/powerpc32/dl-machine.h
6544 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6545 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6546 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6547 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6548 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6550 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6551 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6552 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6553 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6554 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6555 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6556 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6557 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6558 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6559 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6560 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6561 (elf_machine_lazy_rel): Likewise.
6562 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6563 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6564 (elf_machine_lazy_rel): Likewise.
6565 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6566 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6567 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6568 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6569 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6570 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6571 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6572 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6574 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6575 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6576 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6577 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6578 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6579 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6580 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6581 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6582 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6583 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6584 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6586 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6587 (__posix_fallocate64_l64): Likewise.
6588 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6589 (posix_fallocate): Likewise.
6590 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6592 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6593 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6594 (getifaddrs_internal): Likewise.
6595 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6596 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6597 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6598 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6599 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6600 (__posix_fallocate64_l64): Likewise.
6601 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6603 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6604 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6605 (__get_clockfreq): Likewise.
6606 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6607 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6608 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6609 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6611 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6612 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6613 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6615 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6616 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6617 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6618 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6619 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6620 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6621 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6623 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6624 (posix_fallocate): Likewise.
6625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6626 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6627 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6628 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6629 (elf_machine_rela, elf_machine_rela_relative)
6630 (elf_machine_lazy_rel): Likewise.
6631 * time/asctime.c (asctime_internal): Likewise.
6632 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6633 * time/tzset.c (__tzset_parse_tz): Likewise.
6634 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6635 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6636 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6637 * wcsmbs/wcsmbsload.h: Likewise.
6640 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6642 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6643 (arena_get2): Remove THREAD_STATS conditionals.
6644 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6645 (__malloc_stats, int): Likewise.
6647 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6649 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6650 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6652 * manual/setjmp.texi: Fix typos/grammar errors.
6654 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6655 Only return early when n is <= 0. Delete unused return statement.
6657 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6658 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6659 * debug/tst-longjmp_chk3.c: New file.
6661 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6662 (test_main): Replace code with set_fortify_handler call.
6663 * debug/test-strcpy_chk.c: Likewise.
6664 * debug/tst-chk1.c: Likewise.
6665 * debug/tst-longjmp_chk.c: Likewise.
6666 * test-skeleton.c: Include fcntl.h & paths.h
6667 (set_fortify_handler): Define.
6669 * debug/tst-longjmp_chk.c: Add header comment and include
6671 (do_test): Mark static.
6672 (TEST_FUNCTION): Define.
6674 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6675 (IP_PMTUDISC_INTERFACE): Likewise.
6676 (IP_MULTICAST_IF): Likewise.
6677 (IP_MULTICAST_TTL): Likewise.
6678 (IP_MULTICAST_LOOP): Likewise.
6679 (IP_ADD_MEMBERSHIP): Likewise.
6680 (IP_DROP_MEMBERSHIP): Likewise.
6681 (IP_UNBLOCK_SOURCE): Likewise.
6682 (IP_BLOCK_SOURCE): Likewise.
6683 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6684 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6685 (IP_MSFILTER): Likewise.
6686 (MCAST_JOIN_GROUP): Likewise.
6687 (MCAST_BLOCK_SOURCE): Likewise.
6688 (MCAST_UNBLOCK_SOURCE): Likewise.
6689 (MCAST_LEAVE_GROUP): Likewise.
6690 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6691 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6692 (MCAST_MSFILTER): Likewise.
6693 (IP_MULTICAST_ALL): Likewise.
6694 (IP_UNICAST_IF): Likewise.
6696 * timezone/Makefile: Delete $(have-ksh) check.
6697 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6698 * timezone/tzselect.ksh: Add +x mode bits.
6700 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6701 (ANON_INODE_FS_MAGIC): Likewise.
6702 (BDEVFS_MAGIC): Likewise.
6703 (BINFMTFS_MAGIC): Likewise.
6704 (BTRFS_TEST_MAGIC): Likewise.
6705 (CRAMFS_MAGIC_WEND): Likewise.
6706 (DEBUGFS_MAGIC): Likewise.
6707 (ECRYPTFS_SUPER_MAGIC): Likewise.
6708 (EXT3_SUPER_MAGIC): Likewise.
6709 (EXT4_SUPER_MAGIC): Likewise.
6710 (FUTEXFS_SUPER_MAGIC): Likewise.
6711 (HOSTFS_SUPER_MAGIC): Likewise.
6712 (HUGETLBFS_MAGIC): Likewise.
6713 (MINIX3_SUPER_MAGIC): Likewise.
6714 (MTD_INODE_FS_MAGIC): Likewise.
6715 (NILFS_SUPER_MAGIC): Likewise.
6716 (OPENPROM_SUPER_MAGIC): Likewise.
6717 (PIPEFS_MAGIC): Likewise.
6718 (PSTOREFS_MAGIC): Likewise.
6719 (QNX6_SUPER_MAGIC): Likewise.
6720 (RAMFS_MAGIC): Likewise.
6721 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6722 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6723 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6724 (SECURITYFS_MAGIC): Likewise.
6725 (SELINUX_MAGIC): Likewise.
6726 (SMACK_MAGIC): Likewise.
6727 (SOCKFS_MAGIC): Likewise.
6728 (SQUASHFS_MAGIC): Likewise.
6729 (STACK_END_MAGIC): Likewise.
6730 (TMPFS_MAGIC): Likewise.
6731 (USBDEVICE_SUPER_MAGIC): Likewise.
6732 (V9FS_MAGIC): Likewise.
6733 (XENFS_SUPER_MAGIC): Likewise.
6734 (CRAMFS_MAGIC): Fix typo in comment.
6735 (EXT2_SUPER_MAGIC): Update comment.
6736 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6738 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6740 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6741 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6742 * sysdeps/unix/sysv/linux/arm: Move directory from
6743 ports/sysdeps/unix/sysv/linux/arm.
6744 * README: Update listing for arm-*-linux-gnueabi.
6746 * README: Remove mention of am33.
6748 2014-02-07 Roland McGrath <roland@hack.frob.com>
6750 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6751 than the comma operator, to avoid "rhs of comma has no effect"
6753 (__sigfillset, __sigandset, __sigorset): Likewise.
6754 * include/signal.h (__sigemptyset): Likewise.
6755 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6757 2014-02-07 Allan McRae <allan@archlinux.org>
6759 * version.h (RELEASE): Set to "development".
6760 (VERSION): Set to "2.19.90"
6761 * NEWS: Add 2.20 section.
6763 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6766 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6768 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6770 * manual/contrib.texi: Update entry for Carlos O'Donell,
6771 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6773 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6775 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6777 * sysdeps/unix/sysv/linux/kernel-features.h
6778 [__LINUX_KERNEL_VERSION >= 0x020621]
6779 (__ASSUME_PROC_PID_TASK_COMM): Define.
6781 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6784 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6785 conversion when destination buffer does not have enough space.
6786 * libio/tst-ftell-partial-wide.c: New test case.
6787 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6789 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6790 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6791 Leonard and Allan McRae.
6793 2014-02-04 David S. Miller <davem@davemloft.net>
6795 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6798 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6827 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6829 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6830 * shlib-versions: Likewise.
6832 2014-02-04 Roland McGrath <roland@hack.frob.com>
6833 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6835 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6836 (abilist-pattern): New variable, set to %-le.abilist.
6838 * Makerules (abilist-pattern): New variable.
6839 (vpath): Use $(abilist-pattern) in place of %.abilist.
6840 (check-abi-% pattern rule): Likewise.
6841 (check-abi, update-abi): Likewise.
6843 2014-02-04 Eric Wong <normalperson@yhbt.net>
6845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6847 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6849 * manual/startup.texi: Add next, previous, and top entries for
6850 the `Program Arguments' and `Environment Variables' nodes.
6852 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6854 * manual/macros.texi: Add comments before MTASC-safety macros.
6856 * manual/users.texi: Document MTASC-safety properties.
6858 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6859 (pthread_getspecific, pthread_setspecific): Format with
6860 @deftypefun, and add @safety note.
6861 * manual/signal.texi: Move comments that analyze the above
6862 functions to their home place.
6864 2014-02-03 Allan McRae <allan@archlinux.org>
6866 * po/sl.po: Update Slovenian translation from translation project.
6868 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6870 * manual/time.texi (timegm): Add missing blank after @c.
6871 Reported by Joseph Myers <joseph@codesourcery.com>.
6873 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6875 * manual/check-safety.sh: New.
6876 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6878 * manual/terminal.texi: Document MTASC-safety properties.
6880 * manual/filesys.texi: Document MTASC-safety properties.
6882 * manual/errno.texi: Document MTASC-safety properties.
6884 * manual/intro.texi: Document safety identifiers and
6887 * manual/string.texi (wcstok): Fix prototype.
6888 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6890 * manual/time.texi: Document MTASC-safety properties.
6892 * manual/string.texi: Document MTASC-safety properties.
6894 * manual/threads.texi: Document MTASC-safety properties.
6896 * manual/stdio.texi: Document MTASC-safety properties.
6898 * manual/syslog.texi: Document MTASC-safety properties.
6900 * manual/sysinfo.texi: Document MTASC-safety properties.
6902 * manual/startup.texi: Document MTASC-safety properties.
6904 * manual/socket.texi: Document MTASC-safety properties.
6906 * manual/signal.texi: Document MTASC-safety properties.
6908 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6910 * manual/setjmp.texi: Document MTASC-safety properties.
6912 * manual/search.texi: Document MTASC-safety properties.
6914 * manual/resource.texi: Document MTASC-safety properties.
6916 * manual/process.texi: Document MTASC-safety properties.
6918 * manual/platform.texi: Document MTASC-safety properties.
6920 * manual/pipe.texi: Document MTASC-safety properties.
6922 * manual/pattern.texi: Document MTASC-safety properties.
6924 * manual/message.texi: Document MTASC-safety properties.
6927 * manual/memory.texi: Document MTASC-safety properties.
6929 * manual/math.texi: Document MTASC-safety properties.
6931 * manual/locale.texi: Document MTASC-safety properties.
6933 * manual/llio.texi: Document MTASC-safety properties.
6935 * manual/libdl.texi: New.
6937 * manual/lang.texi: Document MTASC-safety properties.
6939 * manual/job.texi: Document MTASC-safety properties.
6941 * manual/getopt.texi: Document MTASC-safety properties.
6943 * manual/ctype.texi: Document MTASC-safety properties.
6945 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6948 * csu/libc-tls.c (static_map): Remove variable.
6949 (__libc_setup_tls): Use main executable's link map for TLS data.
6950 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6951 casing for LM_ID_BASE and GL(dl_nns).
6952 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6953 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6954 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6955 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6956 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6958 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6961 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6963 * manual/debug.texi: Document MTASC-safety properties.
6965 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6968 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6969 of __x86_64__ when disabling x87 inline functions.
6971 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6973 * manual/charset.texi: Document MTASC-safety properties.
6975 * manual/crypt.texi: Document MTASC-safety properties.
6977 * manual/conf.texi: Document MTASC-safety properties.
6979 * manual/arith.texi: Document MTASC-safety properties.
6981 * manual/argp.texi: Document MTASC-safety properties.
6983 * manual/macros.texi: Introduce macros to document multi
6984 thread, asynchronous signal and asynchronous cancellation
6986 * manual/intro.texi: Introduce the properties themselves.
6988 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6990 * sysdeps/sh/sh4/Makefile: New file.
6992 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6994 * math/gen-libm-test.pl ($srcdir): New variable.
6995 ($auto_input): Use it.
6997 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7000 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7001 access beyond array bounds when parsing netgroups file.
7003 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7004 the old buffer before realloc.
7006 2014-01-27 Allan McRae <allan@archlinux.org>
7008 * po/fr.po: Update French translation from translation project.
7010 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7012 * sysdeps/sh/libm-test-ulps: Regenerate.
7014 2014-01-24 David S. Miller <davem@davemloft.net>
7016 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7018 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7020 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7021 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7023 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7026 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7027 string pointers after reallocation.
7029 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7031 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7032 __SH4A__ instead of __SH_FPU_ANY__.
7034 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7036 * sysdeps/sh/fpu_control.h: New file.
7037 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7038 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7039 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7040 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7041 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7042 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7043 * sysdeps/sh/sys/ucontext.h: Remove.
7044 * sysdeps/sh/sys: Remove directory.
7046 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7048 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7049 s390/sys/ucontext.h.
7050 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7051 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7053 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7056 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7058 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7061 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7062 Adjust the vDSO correctly for internal calls.
7063 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7065 2014-01-20 Allan McRae <allan@archlinux.org>
7067 * po/ca.po: Update Catalan translation from translation project.
7069 2014-01-16 Mike Frysinger <vapier@gentoo.org>
7071 * sysdeps/s390/sotruss-lib.c: New file.
7073 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7076 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7077 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7078 local calls issues by not having a PLT stub required for IFUNC calls.
7079 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7081 2014-01-16 Joseph Myers <joseph@codesourcery.com>
7083 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7084 * math/test-fpucw-static.c: Likewise.
7086 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7089 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7091 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7093 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7094 implementation for powerpc.
7096 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
7099 * sysdeps/posix/system.c (__libc_system): Do not enable
7100 asynchronous cancellation.
7102 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7105 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7106 handling only for numbers special also in the IEEE case.
7108 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7110 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7112 2014-01-11 Allan McRae <allan@archlinux.org>
7114 * po/bg.po: Update Bulgarian translation from translation project.
7116 * po/de.po: Update German translation from translation project.
7118 2014-01-10 Roland McGrath <roland@hack.frob.com>
7120 * sysdeps/generic/gcc-compat.h: New file.
7122 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7124 * benchtests/asin-inputs: Correct slow inputs.
7125 * benchtests/acos-inputs: Likewise.
7127 2014-01-10 Allan McRae <allan@archlinux.org>
7129 * po:sv.po: Update Swedish translation from translation project.
7131 * po/vi.po: Update Vietnamese translation from translation project.
7133 * po/eo.po: Update Esperanto translation from translation project.
7135 * po/cs.po: Update Czech translation from translation project.
7137 * po/nl.po: Update Dutch translation from translation project.
7139 * po/pl.po: Update Polish translation from translation project.
7141 * po/ru.po: Update Russian translation from translation project.
7143 * po/uk.po: Update Ukrainian translation from translation project.
7145 2014-01-08 Brooks Moses <bmoses@google.com>
7147 * elf/dl-load.c: Fix comment typo.
7149 2014-01-08 Carlos O'Donell <carlos@redhat.com>
7151 * po/header.pot: Rename to...
7152 * po/pot.header: ... this.
7153 * po/Makefile: Use pot.header.
7155 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7156 Maxim Kuvyrkov <maxim@kugelworks.com>
7159 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7160 SRC and DEST against LEN.
7162 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7165 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7167 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7169 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7173 2014-01-08 Joseph Myers <joseph@codesourcery.com>
7176 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7177 for large positive arguments.
7179 2014-01-07 Joseph Myers <joseph@codesourcery.com>
7181 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7183 * math/auto-libm-test-in: Mark various tests with
7184 xfail-rounding:ldbl-128ibm.
7185 * math/auto-libm-test-out: Regenerated.
7188 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7189 Increase overflow threshold.
7191 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
7194 * stdio-common/vfprintf.c: Check for integer overflow.
7196 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7198 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7199 the first argument and return value of __tls_get_addr_internal.
7201 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7203 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7204 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7206 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7208 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7209 * sysdeps/s390/rtld-global-offsets.sym: New file.
7210 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7212 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7213 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7214 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7216 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7217 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7223 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7224 halfs of GPRs for high_gprs contexts.
7225 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7226 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7228 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7230 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7232 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7233 for high GPRs (uc_high_gprs) and for future extensions
7235 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7236 for future extensions (__reserved).
7237 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7239 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7240 SC_HIGHGPRS offset definition.
7241 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7242 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7244 * Versions.def: Add GLIBC_2.19 for libpthread.
7245 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7246 siglongjmp for libpthread with GLIBC_2.19 symver.
7247 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7248 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7249 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7250 * sysdeps/s390/__longjmp.c: New file.
7251 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7252 * sysdeps/s390/longjmp.c: New file.
7253 * sysdeps/s390/setjmp.S: New file.
7254 * sysdeps/s390/sigjmp.S: New file.
7255 * sysdeps/s390/v1-longjmp.c: New file.
7256 * sysdeps/s390/v1-setjmp.h: New file.
7257 * sysdeps/s390/v1-sigjmp.c: New file.
7258 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7259 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7261 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7262 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7263 versioned symbols for ____longjmp_chk.
7264 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7274 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7275 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7276 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7277 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7278 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7279 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7280 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7281 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7282 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7283 * sysdeps/s390/rtld-__longjmp.c: New file.
7284 * sysdeps/s390/rtld-setjmp.S: New file.
7286 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7289 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7290 Return -__logl (x) for small positive arguments without evaluating
7293 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7295 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7297 (__ptrace_peeksiginfo_args): ... this.
7298 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7299 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7300 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7302 2014-01-06 Allan McRae <allan@archlinux.org>
7304 * inet/netinet/in.h: Fix typo in comment.
7306 2014-01-05 Andreas Jaeger <aj@suse.de>
7308 * sysdeps/i386/fpu/libm-test-ulps: Update.
7310 2014-01-05 Allan McRae <allan@archlinux.org>
7312 * po/libc.pot: Regenerated.
7314 * malloc/memusagestat.c: Fix gettext call formatting.
7316 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7318 * nscd/nscd.c: Improve usage() output.
7320 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7322 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7323 * sysdeps/unix/sysv/linux/configure: Regenerated.
7324 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7325 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7327 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7330 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7331 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7333 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7335 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7336 extra tokens at end of #undef directive.
7337 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7338 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7339 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7341 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7343 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7345 * math/auto-libm-test-in: Mark various tests with
7346 xfail-rounding:ldbl-128ibm.
7347 * math/auto-libm-test-out: Regenerated.
7349 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7352 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7353 numbers with subnormal high part when calculating exponent.
7356 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7360 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7362 (__ieee754_acoshl): Use __log1pl not __log1p.
7364 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7366 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7367 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7368 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7369 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7370 (reused_arena, arena_get2): Convert to GNU style.
7371 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7372 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7373 (memalign_check, __malloc_set_state): Likewise.
7374 * malloc/mallocbug.c (main): Likewise.
7375 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7376 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7377 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7378 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7379 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7380 (__posix_memalign, malloc_info): Likewise.
7381 * malloc/malloc.h: Likewise.
7382 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7383 (mallochook, memalignhook, reallochook, mabort): Likewise.
7384 * malloc/mcheck.h: Likewise.
7385 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7386 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7387 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7388 * malloc/morecore.c (__default_morecore): Likewise.
7389 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7390 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7391 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7392 (print_and_abort): Likewise.
7393 * malloc/obstack.h: Likewise.
7394 * malloc/set-freeres.c (__libc_freeres): Likewise.
7395 * malloc/tst-mallocstate.c (main): Likewise.
7396 * malloc/tst-mtrace.c (main): Likewise.
7397 * malloc/tst-realloc.c (do_test): Likewise.
7399 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7402 * nscd/netgroupcache.c (do_notfound): New function.
7403 (addgetnetgrentX): Use it.
7406 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7407 NSS_STATUS_NOTFOUND.
7409 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7411 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7414 2014-01-01 Allan McRae <allan@archlinux.org>
7416 * scripts/update-copyrights: Update configure input file suffix.
7418 * NEWS: Update copyright year.
7419 * catgets/gencat.c: Likewise.
7420 * csu/version.c: Likewise.
7421 * debug/catchsegv.sh: Likewise.
7422 * debug/pcprofiledump.c: Likewise.
7423 * debug/xtrace.sh: Likewise.
7424 * elf/ldconfig.c: Likewise.
7425 * elf/ldd.bash.in: Likewise.
7426 * elf/pldd.c: Likewise.
7427 * elf/sotruss.ksh: Likewise.
7428 * elf/sprof.c: Likewise.
7429 * iconv/iconv_prog.c: Likewise.
7430 * iconv/iconvconfig.c: Likewise.
7431 * locale/programs/locale.c: Likewise.
7432 * locale/programs/localedef.c: Likewise.
7433 * login/programs/pt_chown.c: Likewise.
7434 * malloc/memusage.sh: Likewise.
7435 * malloc/memusagestat.c: Likewise.
7436 * malloc/mtrace.pl: Likewise.
7437 * manual/libc.texinfo: Likewise.
7438 * nscd/nscd.c: Likewise.
7439 * nss/getent.c: Likewise.
7440 * nss/makedb.c: Likewise.
7441 * posix/getconf.c: Likewise.
7442 * scripts/test-installation.pl: Likewise.
7444 * All files with FSF copyright notices: Update copyright dates
7445 using scripts/update-copyrights.
7446 * intl/plural.c: Regenerated.
7447 * locale/programs/charmap-kw.h: Likewise.
7448 * locale/programs/locfile-kw.h: Likewise.
7450 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7452 * sysdeps/unix/sysv/linux/configure: Regenerated.
7453 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7454 the linux/fanotify.h header.
7455 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7456 HAVE_LINUX_FANOTIFY_H is defined.
7458 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7460 * benchtests/cos-inputs: New inputs.
7461 * benchtests/sin-inputs: Likewise.
7463 * benchtests/atan-inputs: New inputs. Fix name of multiple
7464 precision fallback inputs.
7466 * benchtests/atanh-inputs: New inputs.
7467 * benchtests/tanh-inputs: Likewise.
7469 * benchtests/acosh-inputs: New inputs.
7470 * benchtests/asinh-inputs: Likewise.
7472 * benchtests/cosh-inputs: New inputs.
7473 * benchtests/sinh-inputs: Likewise.
7475 * benchtests/acos-inputs: Add more inputs.
7476 * benchtests/asin-inputs: Likewise.
7478 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7481 * manual/arith.texi: Fix spelling.
7482 * manual/charset.texi: Likewise.
7483 * manual/errno.texi: Likewise.
7484 * manual/filesys.texi: Likewise.
7485 * manual/lang.texi: Likewise.
7486 * manual/llio.texi: Likewise.
7487 * manual/locale.texi: Likewise.
7488 * manual/message.texi: Likewise.
7489 * manual/resource.texi: Likewise.
7490 * manual/search.texi: Likewise.
7491 * manual/setjmp.texi: Likewise.
7492 * manual/stdio.texi: Likewise.
7493 * manual/string.texi: Likewise.
7494 * manual/sysinfo.texi: Likewise.
7495 * manual/time.texi: Likewise.
7497 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7499 * po/sl.po: New file.
7501 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7503 * .gitignore: Add core/.gdbinit/.gdb_history.
7505 2013-12-27 Allan McRae <allan@archlinux.org>
7508 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7509 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7511 2013-12-24 Brooks Moses <bmoses@google.com>
7513 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7514 all compilers that claim C++98 compliance, not just GCC.
7515 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7518 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7520 * NEWS: Restore accidentally deleted bug-fix entries.
7522 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7523 Ondřej Bílka <neleai@seznam.cz>
7526 * malloc/malloc.c (_int_free): Perform sanity check only if we
7529 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7532 * manual/stdio.texi (String Input Conversions): Clarify that character
7533 classes are not supported.
7535 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7539 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7542 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7543 Calculate results for small negative arguments directly rather
7544 than using reflection formula with special underflow handling.
7546 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7547 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7548 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7549 (fchflags): Likewise.
7551 (setlogin): Likewise.
7552 (sigaltstack): Likewise.
7555 (sigsetmask): Likewise.
7557 (waitpid): Likewise.
7558 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7559 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7561 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7562 * sysdeps/unix/bsd/Makefile: ... here.
7563 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7564 * sysdeps/unix/bsd/Versions: ... here.
7565 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7566 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7567 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7568 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7569 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7570 * sysdeps/unix/bsd/sigblock.c: ... here.
7571 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7572 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7573 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7574 * sysdeps/unix/bsd/sigvec.c: ... here.
7575 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7576 * sysdeps/unix/bsd/tcdrain.c: ... here.
7577 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7578 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7579 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7580 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7581 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7582 * sysdeps/unix/bsd/wait.c: ... here.
7583 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7584 * sysdeps/unix/bsd/wait3.c: ... here.
7585 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7586 * sysdeps/unix/bsd/waitpid.c: ... here.
7588 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7591 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7592 round-to-nearest for [!USE_AS_EXPM1L].
7593 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7594 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7595 more tests of exp and exp10. Expect some exp10 tests to miss
7596 exceptions or fail in directed rounding modes.
7597 * math/auto-libm-test-out: Regenerated.
7598 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7599 (exp10_test_tonearest): New function.
7600 (exp10_towardzero_test_data): New array.
7601 (exp10_test_towardzero): New function.
7602 (exp10_downward_test_data): New array.
7603 (exp10_test_downward): New function.
7604 (exp10_upward_test_data): New array.
7605 (exp10_test_upward): New function.
7606 (main): Call the new functions.
7607 * sysdeps/i386/fpu/libm-test-ulps: Update.
7608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7610 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7612 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7613 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7614 * math/auto-libm-test-out: Regenerated.
7615 * math/libm-test.inc (acosh_test_data): Add more tests.
7616 (atanh_test_data): Likewise.
7617 (ceil_test_data): Likewise.
7618 (copysign_test_data): Likewise.
7619 * sysdeps/i386/fpu/libm-test-ulps: Update.
7620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7622 * timezone/checktab.awk: Update from tzcode 2013i.
7623 * timezone/private.h: Likewise.
7624 * timezone/scheck.c: Likewise.
7625 * timezone/tzfile.h: Likewise.
7626 * timezone/tzselect.ksh: Likewise.
7627 * timezone/zdump.c: Likewise.
7628 * timezone/zic.c: Likewise.
7630 * math/auto-libm-test-in: Add tests of cpow.
7631 * math/auto-libm-test-out: Regenerated.
7632 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7633 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7635 (func_calc_desc): Add mpc_cc_c union field.
7636 (test_functions): Add cpow.
7637 (special_fill_2pi): New function.
7638 (special_real_inputs): Add 2pi.
7639 (calc_generic_results): Handle mpc_cc_c.
7640 * sysdeps/i386/fpu/libm-test-ulps: Update.
7641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7643 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7644 csqrt, ctan and ctanh.
7645 * math/auto-libm-test-out: Regenerated.
7646 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7647 (TEST_COND_x86): Likewise.
7648 (ccos_test_data): Use AUTO_TESTS_c_c.
7649 (ccosh_test_data): Likewise.
7650 (cexp_test_data): Likewise.
7651 (clog_test_data): Likewise.
7652 (csqrt_test_data): Likewise.
7653 (ctan_test_data): Likewise.
7654 (ctan_tonearest_test_data): Likewise.
7655 (ctan_towardzero_test_data): Likewise.
7656 (ctan_downward_test_data): Likewise.
7657 (ctan_upward_test_data): Likewise.
7658 (ctanh_test_data): Likewise.
7659 (ctanh_tonearest_test_data): Likewise.
7660 (ctanh_towardzero_test_data): Likewise.
7661 (ctanh_downward_test_data): Likewise.
7662 (ctanh_upward_test_data): Likewise.
7663 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7665 (func_calc_desc): Add mpc_c_c union field.
7666 (FUNC_mpc_c_c): New macro.
7667 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7668 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7670 (special_fill_min_subnorm_p120): New function.
7671 (special_real_inputs): Add min_subnorm_p120.
7672 (calc_generic_results): Handle mpc_c_c.
7673 * sysdeps/i386/fpu/libm-test-ulps: Update.
7674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7676 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7678 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7679 (do_sin_slow): New functions.
7680 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7681 (cslow2, csloww1, csloww2): Use the new functions.
7683 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7684 Use M to change sign of result instead of X. Assume X is
7686 (csloww1): Likewise.
7690 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7695 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7697 (sloww1): Don't adjust sign of DX.
7698 (csloww1): Likewise.
7699 (sloww2): Use X directly and don't adjust sign of DX.
7700 (csloww2): Likewise.
7702 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7704 * math/auto-libm-test-in: Add tests of cabs and carg.
7705 * math/auto-libm-test-out: Regenerated.
7706 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7707 (carg_test_data): Likewise.
7708 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7710 (func_calc_desc): Add mpc_c_f union field.
7711 (test_functions): Add cabs and carg.
7712 (calc_generic_results): Handle mpc_c_f.
7714 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7715 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7716 as a macro and a compat symbol.
7717 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7718 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7719 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7720 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7721 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7722 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7724 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7726 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7728 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7730 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7732 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7734 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7735 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7738 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7742 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7744 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7745 trailing whitespace removed.
7746 * scripts/config.guess: Update to version 2013-11-29.
7747 * scripts/config.sub: Update to version 2013-10-01.
7749 * math/auto-libm-test-in: Add tests of sincos.
7750 * math/auto-libm-test-out: Regenerated.
7751 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7752 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7754 (func_calc_desc): Add mpfr_f_11 union field.
7755 (test_functions): Add sincos.
7756 (calc_generic_results): Handle mpfr_f_11.
7757 * sysdeps/i386/fpu/libm-test-ulps: Update.
7758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7760 2013-12-19 Andreas Schwab <schwab@suse.de>
7762 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7764 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7765 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7766 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7768 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7770 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7771 * sysdeps/i386/fpu/libm-test-ulps: Update.
7772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7775 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7776 round-to-nearest mode when using frndint.
7777 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7778 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7779 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7781 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7783 * math/auto-libm-test-out: Regenerated.
7784 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7785 (TEST_COND_x86): Likewise.
7786 (expm1_tonearest_test_data): New array.
7787 (expm1_test_tonearest): New function.
7788 (expm1_towardzero_test_data): New array.
7789 (expm1_test_towardzero): New function.
7790 (expm1_downward_test_data): New array.
7791 (expm1_test_downward): New function.
7792 (expm1_upward_test_data): New array.
7793 (expm1_test_upward): New function.
7794 (main): Run the new test functions.
7795 * sysdeps/i386/fpu/libm-test-ulps: Update.
7796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7798 * include/features.h: Update comment documenting feature test
7799 macros. Mention _DEFAULT_SOURCE in comment.
7800 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7801 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7802 _BSD_SOURCE and _SVID_SOURCE.
7803 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7804 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7805 !_SVID_SOURCE]: Likewise.
7806 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7807 (__USE_POSIX_IMPLICITLY): Define.
7808 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7809 (_POSIX_SOURCE): Undefine and redefine.
7810 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7811 (_POSIX_C_SOURCE): Likewise.
7812 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7813 (Feature Test Macros): Update documentation of default features.
7815 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7817 * benchtests/Makefile: Add bench-strtok.
7818 * benchtests/bench-strtok.c: New file: strtok benchtest.
7820 2013-12-19 Allan McRae <allan@archlinux.org>
7822 * manual/install.texi: Suppress menu for plain text output.
7823 * INSTALL: Regenerated.
7825 2013-12-18 Brooks Moses <bmoses@google.com>
7828 * misc/getauxval.c: Include errno.h.
7829 (__getauxval): Set errno to ENOENT if the requested type is not
7831 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7832 don't declare with __attribute_const__.
7833 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7834 * manual/startup.texi: Document that getauxval sets errno.
7836 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7838 * math/auto-libm-test-in: Add tests of jn and yn.
7839 * math/auto-libm-test-out: Regenerated.
7840 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7841 (yn_test_data): Likewise.
7842 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7844 (func_calc_desc): Add mpfr_if_f union field.
7845 (FUNC_mpfr_if_f): New macro.
7846 (test_functions): Add jn and yn.
7847 (calc_generic_results): Assert type of second input for
7848 mpfr_ff_f. Handle mpfr_if_f.
7849 (output_for_one_input_case): Disable all checking for arguments
7850 fitting floating-point types in case of an integer argument.
7851 * sysdeps/i386/fpu/libm-test-ulps: Update.
7852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7855 Don't expect fegetround reference in libm.so.
7857 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7859 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7860 $(config-cflags-nofma).
7862 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7864 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7865 * math/auto-libm-test-out: Regenerated.
7868 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7869 to determine exponent and adjust argument to have exponent of -1.
7870 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7872 * math/auto-libm-test-out: Regenerated.
7873 * sysdeps/i386/fpu/libm-test-ulps: Update.
7874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7876 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7878 * manual/probes.texi: Remove cases when per-thread arenas are
7881 2013-12-18 Andreas Schwab <schwab@suse.de>
7883 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7884 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7885 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7886 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7887 * sysdeps/i386/i686/multiarch/Makefile: Update.
7888 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7890 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7892 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7893 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7895 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7898 Support TZ transition times < 00:00:00.
7899 This is needed for version-3 tz-format files; it supports time
7900 stamps past 2037 for America/Godthab (the only entry in the tz
7901 database for which this change is relevant).
7902 * manual/time.texi (TZ Variable): Document transition times
7903 from -167:59:59 through -00:00:01.
7904 * time/tzset.c (tz_rule): Time of day is now signed.
7905 (__tzset_parse_tz): Parse negative time of day.
7907 Document TZ transition times >= 25:00:00.
7908 * manual/time.texi (TZ Variable): Document transition times from
7909 25:00:00 through 167:59:59. These are already supported, and this
7910 support will help with version-3 tz-format files.
7912 * manual/time.texi (TZ Variable): Modernize North America example
7913 to reflect current (i.e., 2007-and-later) daylight saving rules.
7915 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7917 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7919 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7920 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7923 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7924 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7925 * sysdeps/unix/bsd/clock.c: Likewise.
7926 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7927 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7928 * sysdeps/unix/bsd/init-posix.c: Likewise.
7929 * sysdeps/unix/bsd/poll.c: Likewise.
7930 * sysdeps/unix/bsd/ptsname.c: Likewise.
7931 * sysdeps/unix/bsd/seekdir.c: Likewise.
7932 * sysdeps/unix/bsd/setegid.c: Likewise.
7933 * sysdeps/unix/bsd/seteuid.c: Likewise.
7934 * sysdeps/unix/bsd/setgid.c: Likewise.
7935 * sysdeps/unix/bsd/setrgid.c: Likewise.
7936 * sysdeps/unix/bsd/setruid.c: Likewise.
7937 * sysdeps/unix/bsd/setsid.c: Likewise.
7938 * sysdeps/unix/bsd/setuid.c: Likewise.
7939 * sysdeps/unix/bsd/sigaction.c: Likewise.
7940 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7941 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7942 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7943 * sysdeps/unix/bsd/telldir.c: Likewise.
7944 * sysdeps/unix/bsd/times.c: Likewise.
7945 * sysdeps/unix/bsd/usleep.c: Likewise.
7947 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7948 ($(objpfx)libbsd-compat.a): Remove rule.
7950 * include/features.h (__FAVOR_BSD): Do not define.
7951 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7952 features conflicting with POSIX.
7953 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7954 (_BSD_SOURCE): Remove description of not being a subset of other
7955 feature test macros.
7956 * manual/job.texi (getpgrp): Do not document BSD version.
7957 (getpgid): Do not document by reference to BSD getpgrp.
7958 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7959 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7960 * signal/signal.h [__FAVOR_BSD]: Likewise.
7961 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7962 instead of making contents conditional on [__FAVOR_BSD].
7963 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7965 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7969 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7972 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7973 values below 2**-450, not 2**-500.
7974 * math/auto-libm-test-in: Don't allow spurious underflow from
7976 * math/auto-libm-test-out: Regenerated.
7980 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7981 values of ha and hb and sort them after adjusting subnormal
7983 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7985 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7986 values of ea and eb and sort them after adjusting subnormal
7988 * math/auto-libm-test-in: Do not expect some hypot tests of
7989 subnormals to fail. Add more hypot tests.
7990 * math/auto-libm-test-out: Regenerated.
7992 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7995 * sysdeps/sh/s_fma.c: New file.
7996 * sysdeps/sh/s_fmaf.c: New file.
7997 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7999 * sysdeps/sh/Implies: Add sh/soft-fp.
8001 2013-12-16 Roland McGrath <roland@hack.frob.com>
8003 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8004 level of indirection to members `objname', `errstring', `malloced'.
8005 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8006 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8007 it as the __longjmp argument (just pass 1 instead).
8008 (_dl_catch_error): Initialize C with argument pointers and address of
8009 volatile local ERRCODE rather than copying values out of C at return.
8011 2013-12-16 Joseph Myers <joseph@codesourcery.com>
8013 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8014 * math/auto-libm-test-out: Regenerated.
8015 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8016 (hypot_test_data): Likewise.
8017 (pow_test_data): Likewise.
8018 (pow_tonearest_test_data): Likewise.
8019 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8021 (func_calc_desc): Add mpfr_ff_f union field.
8022 (FUNC_mpfr_ff_f): New macro.
8023 (test_functions): Add atan2, hypot and pow.
8024 (special_fill_min): New function.
8025 (special_fill_minus_min): Likewise.
8026 (special_fill_min_subnorm): Likewise.
8027 (special_fill_minus_min_subnorm): Likewise.
8028 (special_real_inputs): Add min, -min, min_subnorm and
8030 (calc_generic_results): Handle mpfr_ff_f.
8031 * sysdeps/i386/fpu/libm-test-ulps: Update.
8032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8034 2013-12-16 Will Newton <will.newton@linaro.org>
8036 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8037 (Aligned Memory Blocks): Add documentation for aligned_alloc
8038 and suggest it as an alternative to posix_memalign.
8039 (Hooks for Malloc): Document __memalign_hook is also called
8040 for aligned_alloc. (Summary of Malloc): Add summary for
8041 aligned alloc. Document __memalign_hook is also called
8044 2013-12-16 Will Newton <will.newton@linaro.org>
8046 * manual/memory.texi (Malloc Examples): Clarify default
8047 alignment documentation. Suggest posix_memalign rather
8048 than memalign or valloc.
8049 (Aligned Memory Blocks): Remove suggestion to use memalign
8050 or valloc. Remove obsolete comment about BSD.
8051 Document memalign errno values and mark the function obsolete.
8052 Document posix_memalign returned error codes. Mark valloc
8053 as obsolete. (Hooks for Malloc): __memalign_hook is also
8054 called for posix_memalign and valloc.
8055 (Summary of Malloc): Add posix_memalign to function summary.
8056 __memalign_hook is also called for posix_memalign and valloc.
8058 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8060 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8064 (sloww): Use mynumber union. Expand ternary operator into
8066 (cslow): use mynumber union.
8068 2013-12-16 Allan McRae <allan@archlinux.org>
8070 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8071 * configure: Regenerated.
8073 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8076 * configure.ac: Added --enable-maintainer-mode. Check for
8077 autoconf when enabled.
8078 * configure: Regenerated.
8080 * nscd/nscd.service: New file.
8081 * nscd/nscd.tmpfiles: New file.
8083 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
8086 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8087 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8088 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8089 (strstr): Add __strstr_sse2_unaligned ifunc.
8090 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8091 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8092 (strcasestr): Remove __strcasestr_sse42 ifunc.
8093 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8097 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8099 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8100 * sysdeps/sh/bits/fenv.h: ... here.
8101 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8103 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8105 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8108 hypotf multiarch implementations.
8109 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8110 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8111 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8112 multiarch hypot for PPC64.
8113 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8114 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8115 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8116 multiarch hypotf for PPC64.
8118 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8119 modff multiarch implementations.
8120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8123 multiarch modf for PPC64.
8124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8127 multiarch modff for PPC64.
8129 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8130 and logl multiarch implementations.
8131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8134 multiarch logb for PPC64.
8135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8138 multiarch logb for PPC64.
8139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8142 multiarch logb for PPC64.
8144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8145 isinff multiarch implementation.
8146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8150 multiarch isinf for PPC64.
8151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8154 multiarch isinff for PPC64.
8156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8157 finitef multiarch implementation.
8158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8162 multiarch finite for PPC64.
8163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8166 multiarch finitef for PPC64.
8168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8169 lrint multiarch implementation.
8170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8174 multiarch llrint for PPC64.
8175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8176 multiarch lrint for PPC64.
8178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8179 copysignf multiarch implementation.
8180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8185 multiarch copysign for PPC64.
8186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8187 multiarch copysignf for PPC64.
8189 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8190 multiarch implementation.
8191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8199 multiarch llround for PPC64.
8200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8201 multiarch trunc for PPC64.
8202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8203 multiarch truncf for PPC64.
8205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8206 multiarch implementation.
8207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8215 multiarch llround for PPC64.
8216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8217 multiarch round for PPC64.
8218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8219 multiarch roundf for PPC64.
8221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8222 multiarch implementation.
8223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8231 multiarch llround for PPC64.
8232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8233 multiarch floor for PPC64.
8234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8235 multiarch floorf for PPC64.
8237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8238 multiarch implementation.
8239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8247 multiarch llround for PPC64.
8248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8249 multiarch ceil for PPC64.
8250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8251 multiarch ceilf for PPC64.
8253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8254 multiarch implementation.
8255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8262 multiarch llround for PPC64.
8263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8264 multiarch lround for PPC64.
8266 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8267 multiarch implementation.
8268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8275 multiarch isnan for PPC64.
8276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8277 multiarch isnanf for PPC64.
8279 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8280 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8281 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8282 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8283 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8286 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8287 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8292 multiarch implementations.
8293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8294 (__libc_ifunc_impl_list): Likewise.
8295 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8296 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8297 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8298 multiarch stpcpy for PPC64.
8300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8301 multiarch implementations.
8302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8303 (__libc_ifunc_impl_list): Likewise.
8304 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8305 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8306 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8307 multiarch strcpy for PPC64.
8309 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8310 redefine function name.
8311 (_wordcopy_fwd_dest_aligned): Likewise.
8312 (_wordcopy_bwd_aligned): Likewise.
8313 (_wordcopy_bwd_dest_aligned): Likewise.
8314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8315 multiarch implementations.
8316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8317 (__libc_ifunc_impl_list): Likewise.
8318 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8319 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8320 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8321 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8322 multiarch wcscpy for PPC64.
8324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8325 multiarch implementations.
8326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8327 (__libc_ifunc_impl_list): Likewise.
8328 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8329 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8330 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8331 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8332 multiarch wcscpy for PPC64.
8334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8335 multiarch implementations.
8336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8337 (__libc_ifunc_impl_list): Likewise.
8338 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8339 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8340 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8341 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8342 multiarch wcsrchr for PPC64.
8344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8345 multiarch implementations.
8346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8347 (__libc_ifunc_impl_list): Likewise.
8348 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8349 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8350 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8351 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8352 multiarch wcschr for PPC64.
8354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8355 multiarch implementations.
8356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8357 (__libc_ifunc_impl_list): Likewise.
8358 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8359 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8360 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8361 multiarch strchrnul for PPC64.
8363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8366 (__libc_ifunc_impl_list): Likewise.
8367 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8368 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8369 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8370 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8376 (__libc_ifunc_impl_list): Likewise.
8377 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8378 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8379 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8380 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8384 multiarch implementations.
8385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8386 (__libc_ifunc_impl_list): Likewise.
8387 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8388 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8389 strncasecmp for PPC64.
8390 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8391 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8392 multiarch strncasecmp_l for PPC64.
8394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8395 multiarch implementations.
8396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8397 (__libc_ifunc_impl_list): Likewise.
8398 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8399 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8400 multiarch strcasecmp for PPC64.
8401 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8403 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8404 multiarch strcasecmp_l for PPC64.
8406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8409 (__libc_ifunc_impl_list): Likewise.
8410 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8411 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8412 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8418 (__libc_ifunc_impl_list): Likewise.
8419 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8420 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8421 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8427 (__libc_ifunc_impl_list): Likewise.
8428 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8429 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8430 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8431 rawmemrchr for PPC64.
8433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8436 (__libc_ifunc_impl_list): Likewise.
8437 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8438 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8439 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8445 (__libc_ifunc_impl_list): Likewise.
8446 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8447 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8448 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8454 (__libc_ifunc_impl_list): Likewise.
8455 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8456 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8457 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8460 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8461 avoid cretion of __bzero symbol.
8462 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8464 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8466 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8469 multiarch implementations.
8470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8471 (__libc_ifunc_impl_list): Likewise.
8472 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8473 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8474 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8475 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8477 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8478 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8479 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8480 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8481 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8483 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8485 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8489 (__libc_ifunc_impl_list): Likewise.
8490 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8491 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8492 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8493 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8497 multiarch for POWER/PPC64.
8498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8499 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8500 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8501 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8502 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8503 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8504 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8505 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8506 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8509 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8510 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8511 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8512 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8513 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8514 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8515 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8516 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8517 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8518 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8519 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8520 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8521 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8522 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8523 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8532 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8534 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8536 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8538 * benchtests/Makefile (bench): Add exp2 and log2.
8539 (LDLIBS-bench-exp2): Add -lm.
8540 (LDLIBS-bench-log2): Likewise.
8541 * benchtests/exp2-inputs: New inputs file.
8542 * benchtests/log2-inputs: New inputs file.
8543 * benchtests/log-inputs: Add new inputs.
8544 * benchtests/tan-inputs: Likewise.
8546 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8548 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8550 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8551 (csloww2): ... from here.
8553 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8554 instead of structures.
8555 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8556 (POLYNOMIAL): Likewise.
8557 (TAYLOR_SLOW): Likewise.
8565 (bsloww1): Likewise.
8566 (bsloww2): Likewise.
8569 (csloww1): Likewise.
8570 (csloww2): Likewise.
8572 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8574 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8575 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8576 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8577 * malloc/hooks.c (realloc_check): Likewise.
8579 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8580 * malloc/arena.c: Remove PER_THREAD conditional.
8581 [!PER_THREAD]: Remove code.
8582 (ptmalloc_unlock_all2): Likewise.
8583 (ptmalloc_init): Likewise.
8584 (_int_new_arena): Likewise.
8585 (arena_get2): Likewise.
8586 * malloc/hooks.c (__malloc_get_state): Likewise.
8587 (__malloc_set_state): Likewise.
8588 * malloc/malloc.c: Likewise.
8589 (struct malloc_state): Likewise.
8590 (struct malloc_par): Likewise.
8591 (__libc_realloc): Likewise.
8592 (__libc_mallopt): Likewise.
8594 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8596 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8598 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8600 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8601 macro to a function. Check for zero perturb_byte.
8602 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8604 * malloc/malloc.c: (force_reg): Remove.
8605 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8606 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8607 force_reg by atomic_forced_read.
8608 * malloc/arena.c (ptmalloc_init): Likewise.
8609 * malloc/hooks.c (top_check): Likewise.
8611 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8615 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8619 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8621 * math/auto-libm-test-in: Add tests of lgamma.
8622 * math/auto-libm-test-out: Regenerated.
8623 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8624 (M_LOG_2_SQRT_PIl): Likewise.
8625 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8626 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8628 (func_calc_desc): Add mpfr_f_f1 union field.
8637 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8638 (test_functions): Add lgamma.
8639 (calc_generic_results): Handle mpfr_f_f1.
8640 * sysdeps/i386/fpu/libm-test-ulps: Update.
8641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8643 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8645 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8646 __mpn_add_n for PowerPC64/POWER7.
8647 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8648 __mpn_sub_n for PowerPC64/POWER7.
8650 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8651 __mpn_addmul_1 for PowerPC64.
8652 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8653 __mpn_submul_1 for PowerPC64.
8654 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8656 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8659 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8662 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8664 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8666 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8668 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8669 add multiarch folders.
8670 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8671 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8672 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8673 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8674 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8675 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8676 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8677 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8678 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8679 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8680 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8689 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8695 multiarch __ieee754_hypot for PowerPC32.
8696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8701 multiarch __ieee754_hypotf for PowerPC32.
8703 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8704 long_double_symbol only if __logbl is defined.
8705 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8706 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8707 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8708 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8709 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8710 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8711 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8712 path for implementation.
8713 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8714 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8716 logb, and logbl multiarch implementations for PowerPC32.
8717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8722 multiarch logb for PowerPC32.
8723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8728 multiarch logbf for PowerPC32.
8729 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8733 multiarch logbl implementation for PowerPC32.
8735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8736 and modff multiarch implementations.
8737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8742 multiarch modf for PowerPC32.
8743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8748 multiarch modff for PowerPC32.
8750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8751 and lrintf multiarch implementations.
8752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8757 multiarch lrint for PowerPC32.
8758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8759 file: multiarch lrintf for PowerPC32.
8761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8762 and lroundf multiarch implementations.
8763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8770 multiarch lround for PowerPC32.
8771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8772 file: multiarch lroundf for PowerPC32.
8774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8775 copysign and copysignf multiarch implementations.
8776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8781 file: multiarch copysign for PowerPC32.
8782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8783 file: multiarch copysignf for PowerPC32.
8785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8786 and truncf multiarch implementations.
8787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8792 multiarch trunc for PowerPC32.
8793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8798 multiarch truncf for PowerPC32.
8800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8801 and roundf multiarch implementations.
8802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8807 multiarch round for PowerPC32.
8808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8813 multiarch roundf for PowerPC32.
8815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8816 and floorf multiarch implementations.
8817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8822 multiarch floor for PowerPC32.
8823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8828 multiarch floorf for PowerPC32.
8830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8831 and ceilf multiarch implementations.
8832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8837 multiarch ceil for PowerPC32.
8838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8843 multiarch ceilf for PowerPC32.
8845 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8847 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8850 and finitef multiarch implementations.
8851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8856 multiarch finite for PowerPC32.
8857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8860 file: multiarch finitef for PowerPC32.
8862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8863 and isinff multiarch implementations.
8864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8869 multiarch isinf for PowerPC32.
8870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8873 multiarch isinff for PowerPC32.
8875 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8876 alias when __isnan is defined.
8877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8878 and isnanf multiarch implementations.
8879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8888 multiarch isnan for PowerPC32.
8889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8894 multiarch isnanf for PowerPC32.
8896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8897 and sqrtf multiarch implementations.
8898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8903 multiarch sqrt for PowerPC32.
8904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8909 multiarch sqrtf for PowerPC32.
8911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8912 and llroundf multiarch implementations.
8913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8920 file: multiarch llround for PowerPC32.
8921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8922 file: multiarch llroundf for PowerPC32.
8924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8925 multiarch PowerPC32 fpu implementations.
8926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8931 multiarch llrint for PowerPC32.
8932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8941 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8943 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8945 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8947 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8948 multiarch wordcopy for PPC32.
8949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8952 (__libc_ifunc_impl_list): Likewise.
8953 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8954 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8955 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8956 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8957 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8958 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8960 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8968 multiarch wcscpy for PPC32.
8969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8972 (__libc_ifunc_impl_list): Likewise.
8973 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8974 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8975 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8976 sysdeps/powerpc/power6/wcscpy.c.
8978 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8986 multiarch wcsrchr for PPC32.
8987 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8989 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8990 (__libc_ifunc_impl_list): Likewise.
8991 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8992 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8993 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8994 sysdeps/powerpc/power6/wcsrchr.c.
8996 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8998 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9002 multiarch wcschr for PPc32.
9003 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9005 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9006 (__libc_ifunc_impl_list): Likewise.
9007 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9008 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9009 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9010 sysdeps/powerpc/power6/wcschr.c.
9012 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9013 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9015 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9016 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9017 file: multiarch strchr for PPC32.
9018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9021 (__libc_ifunc_impl_list): Likewise.
9023 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9025 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9027 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9029 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9030 multiarch strchrnul for PPC32.
9031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9034 (__libc_ifunc_impl_list): Likewise.
9036 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9038 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9039 multiarch strncasecmp for PPC32.
9040 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9042 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9043 multiarch strncasecmp_l for PPC32.
9044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9045 strncasecmp multiarch objects.
9046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9047 (__libc_ifunc_impl_list): Likewise.
9049 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9051 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9052 multiarch strncasecmp for PPC32.
9053 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9055 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9056 multiarch strcasecmp_l for PPC32.
9057 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9059 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9060 (__libc_ifunc_impl_list): Likewise.
9062 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9064 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9066 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9067 multiarch strncmp for PPC32.
9068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9071 (__libc_ifunc_impl_list): Likewise.
9073 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9074 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9076 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9077 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9081 (__libc_ifunc_impl_list): Likewise.
9083 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9085 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9087 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9091 (__libc_ifunc_impl_list): Likewise.
9093 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9095 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9097 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9098 multiarch rawmemchr for PPC32.
9099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9102 (__libc_ifunc_impl_list): Likewise.
9104 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9106 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9108 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9109 file: memrchr multiarch for PPC32.
9110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9113 (__libc_ifunc_impl_list): Likewise.
9115 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9116 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9118 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9119 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9120 multiarch memchr for PPC32.
9121 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9123 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9124 (__libc_ifunc_impl_list): Likewise.
9126 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9127 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9129 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9131 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9132 file: multiarch mempcpy for PPC32.
9133 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9135 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9136 (__libc_ifunc_impl_list): Likewise.
9138 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9139 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9140 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9141 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9142 multiarch bzero for PPC32.
9143 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9145 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9147 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9148 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9149 file: multiarch memset for PPC32.
9150 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9151 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9152 memset multiarch objects.
9153 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9154 (__libc_ifunc_impl_list): Likewise.
9156 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9158 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9159 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9161 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9165 (__libc_ifunc_impl_list): Likewise.
9167 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9168 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9169 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9171 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9173 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9175 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9176 multiarch memcpy for PPC32.
9177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9180 (__libc_ifunc_impl_list): Likewise.
9182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9183 support multiarch for POWER/PPC32.
9184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9186 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9188 Implies file to make multiarch folder appers before the fpu and
9189 default folder for power4 configuration.
9191 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9193 * scripts/bench.pl: Append volatile keyword to type.
9195 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9197 * sysdeps/sh/sotruss-lib.c: New file.
9198 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9200 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9204 2013-12-05 Joseph Myers <joseph@codesourcery.com>
9207 * math/w_tgamma.c: Include <errno.h>.
9208 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9209 * math/w_tgammaf.c: Include <errno.h>.
9210 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9211 * math/w_tgammal.c: Include <errno.h>.
9212 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9213 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9214 underflow. Add more tgamma tests.
9215 * math/auto-libm-test-out: Regenerated.
9216 * sysdeps/i386/fpu/libm-test-ulps: Update.
9217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9219 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9220 sin, sinh, tan, tanh, tgamma, y0 and y1.
9221 * math/auto-libm-test-out: Regenerated.
9222 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9223 (TEST_COND_x86): Likewise.
9224 (M_E2l): Remove macro.
9226 (M_2_SQRT_PIl): Likewise.
9227 (M_SQRT_PIl): Likewise.
9228 (M_1_DIV_El): Likewise.
9229 (log_test_data): Use AUTO_TESTS_f_f.
9230 (log10_test_data): Likewise.
9231 (log1p_test_data): Likewise.
9232 (log2_test_data): Likewise.
9233 (sin_test_data): Likewise.
9234 (sin_tonearest_test_data): Likewise.
9235 (sin_towardzero_test_data): Likewise.
9236 (sin_downward_test_data): Likewise.
9237 (sin_upward_test_data): Likewise.
9238 (sinh_test_data): Likewise.
9239 (sinh_tonearest_test_data): Likewise.
9240 (sinh_towardzero_test_data): Likewise.
9241 (sinh_downward_test_data): Likewise.
9242 (sinh_upward_test_data): Likewise.
9243 (tan_test_data): Likewise.
9244 (tan_tonearest_test_data): Likewise.
9245 (tan_towardzero_test_data): Likewise.
9246 (tan_downward_test_data): Likewise.
9247 (tan_upward_test_data): Likewise.
9248 (tanh_test_data): Likewise.
9249 (tgamma_test_data): Likewise.
9250 (y0_test_data): Likewise.
9251 (y1_test_data): Likewise.
9252 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9253 (special_real_inputs): Add pi/4.
9254 * sysdeps/i386/fpu/libm-test-ulps: Update.
9255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9257 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9259 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9260 "longjmp_target" static probes.
9261 (__longjmp): Rename to __longjmp_symbol.
9262 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9263 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9264 on which longjmp to generate.
9265 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9266 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9268 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9269 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9270 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9271 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9272 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9273 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9275 __longjmp_symbol based on which __longjmp to generate.
9276 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9278 (setjmp): Rename to setjmp_symbol.
9279 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9280 (_setjmp): Rename to _setjmp_symbol.
9281 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9282 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9283 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9284 which setjmp to generate.
9285 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9286 "longjmp_target" static probes.
9288 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9290 * benchtests/README: Add note about output arguments.
9291 * benchtests/bench-sincos.c: Remove file.
9292 * benchtests/sincos-inputs: New file.
9293 * scripts/bench.pl: Identify output arguments and define
9294 static variables for them.
9296 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9299 * Makefile (INSTALL): Add install-plain.texi as the primary
9301 * manual/install-plain.texi: New file.
9302 * manual/install.texi: Include node directive only for
9303 non-plaintext output.
9305 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9307 * stdlib/longlong.h: Update from GCC.
9311 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9312 * math/w_j0f.c (y0f): Likewise.
9313 * math/w_j0l.c (__y0l): Likewise.
9314 * math/w_j1.c (y1): Likewise.
9315 * math/w_j1f.c (y1f): Likewise.
9316 * math/w_j1l.c (__y1l): Likewise
9317 * math/w_jn.c (yn): Likewise.
9318 * math/w_jnf.c (ynf): Likewise.
9319 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9320 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9321 value for Bessel function domain errors outside _SVID_ mode.
9322 Adjust sign of return value for yn (negative integer, 0).
9323 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9324 by zero in return for negative x and set sign appropriately for
9326 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9327 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9328 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9329 expectations in error cases.
9330 (y1_test_data): Likewise.
9331 (yn_test_data): Likewise.
9332 * sysdeps/i386/fpu/libm-test-ulps: Update.
9333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9335 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9337 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9338 "64" to "64-v1". Add "64-v2".
9339 (abi-64-options): Rename to ...
9340 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9341 (abi-64-condition): Rename to ...
9342 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9343 (abi-64-ld-soname): Rename to ...
9344 (abi-64-v1-ld-soname): ... this.
9345 (abi-64-v2-options): Define.
9346 (abi-64-v2-condition): Likewise.
9347 (abi-64-v2-ld-soname): Likewise.
9348 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9349 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9354 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9355 Alan Modra <amodra@gmail.com>
9357 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9358 New versions for use with the ELFv2 ABI.
9359 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9360 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9362 (struct La_ppc64v2_retval): Likewise.
9363 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9364 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9365 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9366 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9367 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9368 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9369 Do not save or restore CR.
9370 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9371 (_dl_profile_resolve): Do no save or restore CR. Support extended
9372 return values for ELFv2 ABI. Fix location of FPR return registers.
9373 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9374 updated values for _CALL_ELF == 2.
9375 (La_regs, La_retval, int_retval): Likewise.
9377 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9379 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9380 (FRAME_MIN_SIZE_PARM): Likewise.
9381 (FRAME_BACKCHAIN): Likewise.
9382 (FRAME_CR_SAVE): Likewise.
9383 (FRAME_LR_SAVE): Likewise.
9384 (FRAME_TOC_SAVE): Likewise.
9385 (FRAME_PARM_SAVE): Likewise.
9386 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9387 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9388 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9389 (call_mcount_parm_offset): New macro.
9390 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9391 (PROF): Use symbolic stack frame offsets.
9392 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9393 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9394 Redefine in terms of FRAME_MIN_SIZE.
9395 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9396 (_dl_profile_resolve): Likewise. Update comment.
9397 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9398 symbols stack frame offsets.
9399 (__sigsetjmp): Likewise.
9400 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9401 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9402 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9403 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9406 (FRAME_BACKCHAIN): Remove.
9407 (FRAME_CR_SAVE): Likewise.
9408 (FRAME_LR_SAVE): Likewise.
9409 (FRAME_COMPILER_DW): Likewise.
9410 (FRAME_LINKER_DW): Likewise.
9411 (FRAME_TOC_SAVE): Likewise.
9412 (FRAME_PARM_SAVE): Likewise.
9413 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9414 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9415 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9417 (CHECK_SP): Use symbolic stack frame offsets.
9418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9419 zone" instead of caller's parameter save area for temp storage.
9420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9421 Likewise. Also, use symbolic stack frame offsets.
9422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9423 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9424 our own stack frame instead of the caller's.
9425 (__socket): Use symbolic stack frame offsets.
9427 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9428 Alan Modra <amodra@gmail.com>
9430 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9432 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9433 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9434 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9436 (elf_machine_fixup_plt): Call it.
9437 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9439 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9440 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9441 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9442 r2 before calling target.
9444 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9445 Alan Modra <amodra@gmail.com>
9447 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9448 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9449 versions of macros to support ELFv2 ABI.
9450 (LOCALENTRY): New macro.
9451 (ENTRY, EALIGN): Use it.
9452 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9453 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9454 fall through into ENTRY entry point.
9455 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9456 Only define if _CALL_ELF != 2.
9458 (elf_machine_matches_host): Verify ABI version matches.
9459 (RTLD_START): Use LOCALENTRY.
9460 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9461 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9462 (PLT_ENTRY_WORDS): New macro.
9463 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9464 (elf_machine_runtime_setup): Support ELFv2 ABI.
9465 (elf_machine_fixup_plt): Likewise.
9466 (elf_machine_plt_conflict): Likewise.
9467 (resolve_ifunc): Likewise.
9468 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9469 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9472 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9474 (makecontext): Support ELFv2 ABI.
9475 * elf/elf.h (EF_PPC64_ABI): Define.
9477 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9479 * sysdeps/powerpc/powerpc64/sysdep.h
9480 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9481 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9482 (ENTRY) [ASSEMBLER]: ... but instead here ...
9483 (EALIGN) [ASSEMBLER]: ... and here.
9484 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9485 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9486 (ENTRY_2) [!ASSEMBLER]: Use it.
9487 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9488 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9489 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9490 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9491 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9493 Use PPC64_LOAD_FUNCPTR.
9495 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9497 2013-12-04 Alan Modra <amodra@gmail.com>
9499 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9500 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9501 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9502 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9504 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9505 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9506 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9507 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9508 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9509 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9511 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9514 (__makecontext): Fix incorrect CFI when backtracing out of
9515 context created via makecontext.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9517 (__setcontext): Fix incorrect CFI during switch to new context.
9518 (__novec_setcontext): Likewise.
9520 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9523 * time/strptime_l.c (__strptime_internal): Allow modifiers
9525 * time/tst-strptime.c (day_tests): Add testcase.
9527 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9529 * scripts/bench.pl: Skip over blank lines.
9531 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9534 * manual/time.texi (Calendar Time): Clarify what timezone functions
9537 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9541 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9543 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9545 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9546 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9547 * debug/memset_chk.c (__memset_chk): Likewise.
9548 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9549 * debug/strncpy_chk.c: Likewise.
9551 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9555 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9556 (__ieee754_exp): For possibly underflowing results, check size of
9557 result and force underflow exception if required.
9558 * math/auto-libm-test-in: Add more tests of exp.
9559 * math/auto-libm-test-out: Regenerated.
9560 * sysdeps/i386/fpu/libm-test-ulps: Update.
9561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9564 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9565 * math/w_exp2f.c (__exp2f): Likewise.
9566 * math/w_exp2l.c (__exp2l): Likewise.
9567 * math/auto-libm-test-in: Do not allow missing errno on exp2
9569 * math/auto-libm-test-out: Regenerated.
9571 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9574 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9575 handle filename validation.
9576 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9579 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9582 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9583 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9584 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9586 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9587 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9588 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9590 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9591 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9592 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9593 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9594 Add more erfc tests.
9595 * math/auto-libm-test-out: Regenerated.
9596 * sysdeps/i386/fpu/libm-test-ulps: Update.
9597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9599 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9600 exp2, expm1, j0 and j1.
9601 * math/auto-libm-test-out: Regenerated.
9602 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9603 (erfc_test_data): Likewise.
9604 (exp_test_data): Likewise.
9605 (exp_tonearest_test_data): Likewise.
9606 (exp_towardzero_test_data): Likewise.
9607 (exp_downward_test_data): Likewise.
9608 (exp_upward_test_data): Likewise.
9609 (exp10_test_data): Likewise.
9610 (exp2_test_data): Likewise.
9611 (expm1_test_data): Likewise.
9612 (j0_test_data): Likewise.
9613 (j1_test_data): Likewise.
9614 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9615 (input_flag_type): Add flag_xfail_rounding.
9616 (input_flags): Add xfail-rounding.
9617 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9618 (output_for_one_input_case): Handle flag_xfail_rounding.
9619 * sysdeps/i386/fpu/libm-test-ulps: Update.
9620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9622 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9625 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9628 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9631 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9632 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9633 (STAP_PROBE0): New macro.
9634 (STAP_PROBE1): Likewise.
9635 (STAP_PROBE2): Likewise.
9636 (STAP_PROBE3): Likewise.
9637 (STAP_PROBE4): Likewise.
9639 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9641 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9643 2013-12-02 Steve Ellcey <sellcey@mips.com>
9645 * benchtests/Makefile (bench): Add sqrt.
9646 (LDLIBS-bench-sqrt): New.
9647 * benchtests/sqrt-input: New.
9649 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9651 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9652 (GAIH_EAI): Likewise.
9653 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9654 (gaih_inet): Likewise.
9655 (getaddrinfo): Don't use GAIH_EAI.
9657 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9658 (struct gaih): Remove definition.
9660 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9662 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9663 Use HERRNOP directly.
9665 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9669 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9671 * math/gen-auto-libm-tests.c (test_functions): Add more
9672 single-argument functions.
9673 (special_fill_pi_2): New function.
9674 (special_fill_minus_pi_2): Likewise.
9675 (special_fill_pi_6): Likewise.
9676 (special_fill_minus_pi_6): Likewise.
9677 (special_fill_pi_3): Likewise.
9678 (special_fill_2pi_3): Likewise.
9679 (special_fill_e): Likewise.
9680 (special_fill_1_e): Likewise.
9681 (special_fill_e_minus_1): Likewise.
9682 (special_real_inputs): Add more special inputs.
9683 (output_for_one_input_case): Do not require ERANGE on underflow to
9684 zero if round-to-nearest result does not underflow to zero, unless
9685 exact results required.
9686 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9687 atan, atanh, cbrt, cos and cosh.
9688 * math/auto-libm-test-out: Regenerated.
9689 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9690 (acos_tonearest_test_data): Likewise.
9691 (acos_towardzero_test_data): Likewise.
9692 (acos_downward_test_data): Likewise.
9693 (acos_upward_test_data): Likewise.
9694 (acosh_test_data): Likewise.
9695 (asin_test_data): Likewise.
9696 (asin_tonearest_test_data): Likewise.
9697 (asin_towardzero_test_data): Likewise.
9698 (asin_upward_test_data): Likewise.
9699 (asinh_test_data): Likewise.
9700 (atan_test_data): Likewise.
9701 (atanh_test_data): Likewise.
9702 (cbrt_test_data): Likewise.
9703 (cos_test_data): Likewise.
9704 (cos_tonearest_test_data): Likewise.
9705 (cos_towardzero_test_data): Likewise.
9706 (cos_downward_test_data): Likewise.
9707 (cos_upward_test_data): Likewise.
9708 (cosh_test_data): Likewise.
9709 (cosh_tonearest_test_data): Likewise.
9710 (cosh_towardzero_test_data): Likewise.
9711 (cosh_downward_test_data): Likewise.
9712 (cosh_upward_test_data): Likewise.
9713 * sysdeps/i386/fpu/libm-test-ulps: Update.
9714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9716 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9719 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9720 * math/w_exp10f.c (__exp10f): Likewise.
9721 * math/w_exp10l.c (__exp10l): Likewise.
9722 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9723 errno settings in existing tests.
9726 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9727 precision control set to double precision.
9728 * sysdeps/i386/fpu/w_sqrt.c: New file.
9729 * math/auto-libm-test-in: Add more tests.
9730 * math/auto-libm-test-out: Update.
9732 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9733 (sqrt_test_tonearest): New function.
9734 (sqrt_towardzero_test_data): New variable.
9735 (sqrt_test_towardzero): New function.
9736 (sqrt_downward_test_data): New variable.
9737 (sqrt_test_downward): New function.
9738 (sqrt_upward_test_data): New variable.
9739 (sqrt_test_upward): New function.
9740 (main): Call the new functions.
9742 * math/gen-auto-libm-tests.c: New file.
9743 * math/auto-libm-test-in: Likewise.
9744 * math/auto-libm-test-out: New generated file.
9745 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9747 (%beautify): Add generated representations of zero.
9748 (top level): Set $auto_input and call parse_auto_input.
9749 (beautify): Remove trailing "f" from hex float constants.
9750 (parse_args): Handle XFAIL_TEST.
9751 (convert_condition): New function.
9752 (or_value): Likewise.
9753 (or_cond_value): Likewise.
9754 (generate_testfile): Handle AUTO_TESTS_* lines.
9755 (parse_auto_input): New function.
9756 * math/libm-test.inc (XFAIL_TEST): New macro.
9757 (ERRNO_UNCHANGED): Update value.
9758 (ERRNO_EDOM): Likewise.
9759 (ERRNO_ERANGE): Likewise.
9760 (IGNORE_RESULT): Likewise.
9761 (TEST_COND_flt_32): New macro.
9762 (TEST_COND_dbl_64): Likewise.
9763 (TEST_COND_ldbl_96_intel): Likewise.
9764 (TEST_COND_ldbl_96_m68k): Likewise.
9765 (TEST_COND_ldbl_128): Likewise.
9766 (TEST_COND_ldbl_128ibm): Likewise.
9767 (TEST_COND_long32): Likewise.
9768 (TEST_COND_long64): Likewise.
9769 (TEST_COND_before_rounding): Likewise.
9770 (TEST_COND_after_rounding): Likewise.
9771 (enable_test): Handle XFAIL_TEST flag.
9772 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9773 with finite results.
9774 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9777 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9778 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9781 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9782 __tls_get_addr_internal instead of __tls_get_offset in order to
9783 avoid GOT pointer dependency. Make rtld export
9784 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9785 __tls_get_addr since we are a __tls_get_offset platform.
9786 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9787 GOT pointer being set up before.
9788 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9790 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9792 * manual/math.texi (Errors in Math Functions): Document accuracy
9796 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9797 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9800 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9802 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9803 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9807 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9808 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9809 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9810 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9811 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9813 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9814 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9815 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9816 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9817 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9819 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9821 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9823 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9824 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9825 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9826 atomic-feupdateenv and flt-rounds.
9827 * sysdeps/powerpc/nofpu/Versions (libc): Add
9828 __atomic_feholdexcept, __atomic_feclearexcept,
9829 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9830 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9831 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9832 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9833 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9838 * manual/arith.texi (FP Exceptions): Document that exceptions may
9839 not be raised when matherr is used.
9840 (Math Error Reporting): Document overflow in directed rounding
9841 modes. Document that errno may not be set when finite values are
9842 returned on overflow. Document intent to set errno on underflow
9843 only for underflow to zero.
9846 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9847 round-to-nearest then adjust result for other rounding modes.
9848 * include/fenv.h (fegetround): Use libm_hidden_proto.
9849 * math/fegetround.c (fegetround): Use libm_hidden_def.
9850 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9851 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9852 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9853 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9855 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9856 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9857 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9858 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9860 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9863 * nss/Versions (libnss_files): Add
9864 _nss_files_gethostbyname3_r.
9865 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9867 (HOST_DB_LOOKUP): Remove macro.
9868 (_nss_files_gethostbyname_r): Implement function without the
9869 HOST_DB_LOOKUP macro.
9870 (_nss_files_gethostbyname2_r): Likewise.
9872 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9874 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9876 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9878 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9879 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9882 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9884 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9885 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9886 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9887 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9888 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9889 __fe_nomask_env_priv and attribute_hidden.
9890 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9891 (libc_feupdateenv_test_ppc): Likewise.
9892 (libc_feresetround_ppc): Likewise.
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9894 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9895 compat_symbol macro.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9897 (__fe_nomask_env): Likewise.
9898 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9900 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9902 * string/Makefile: Remove ifunc tests.
9903 * string/test-string.h: Define TEST_IFUNC.
9904 * string/test-bcopy-ifunc.c: Remove.
9905 * string/test-bzero-ifunc.c: Likewise.
9906 * string/test-memccpy-ifunc.c: Likewise.
9907 * string/test-memchr-ifunc.c: Likewise.
9908 * string/test-memcmp-ifunc.c: Likewise.
9909 * string/test-memcpy-ifunc.c: Likewise.
9910 * string/test-memmem-ifunc.c: Likewise.
9911 * string/test-memmove-ifunc.c: Likewise.
9912 * string/test-mempcpy-ifunc.c: Likewise.
9913 * string/test-memrchr-ifunc.c: Likewise.
9914 * string/test-memset-ifunc.c: Likewise.
9915 * string/test-rawmemchr-ifunc.c: Likewise.
9916 * string/test-stpcpy-ifunc.c: Likewise.
9917 * string/test-stpncpy-ifunc.c: Likewise.
9918 * string/test-strcasecmp-ifunc.c: Likewise.
9919 * string/test-strcasestr-ifunc.c: Likewise.
9920 * string/test-strcat-ifunc.c: Likewise.
9921 * string/test-strchr-ifunc.c: Likewise.
9922 * string/test-strchrnul-ifunc.c: Likewise.
9923 * string/test-strcmp-ifunc.c: Likewise.
9924 * string/test-strcpy-ifunc.c: Likewise.
9925 * string/test-strcspn-ifunc.c: Likewise.
9926 * string/test-strlen-ifunc.c: Likewise.
9927 * string/test-strncasecmp-ifunc.c: Likewise.
9928 * string/test-strncat-ifunc.c: Likewise.
9929 * string/test-strncmp-ifunc.c: Likewise.
9930 * string/test-strncpy-ifunc.c: Likewise.
9931 * string/test-strnlen-ifunc.c: Likewise.
9932 * string/test-strpbrk-ifunc.c: Likewise.
9933 * string/test-strrchr-ifunc.c: Likewise.
9934 * string/test-strspn-ifunc.c: Likewise.
9935 * string/test-strstr-ifunc.c: Likewise.
9937 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9939 * benchtests/Makefile: Remove ifunc tests.
9940 * benchtests/bench-string.h: Define TEST_IFUNC.
9941 * benchtests/bench-bcopy-ifunc.c: Remove.
9942 * benchtests/bench-bzero-ifunc.c: Likewise.
9943 * benchtests/bench-memccpy-ifunc.c: Likewise.
9944 * benchtests/bench-memchr-ifunc.c: Likewise.
9945 * benchtests/bench-memcmp-ifunc.c: Likewise.
9946 * benchtests/bench-memcpy-ifunc.c: Likewise.
9947 * benchtests/bench-memmem-ifunc.c: Likewise.
9948 * benchtests/bench-memmove-ifunc.c: Likewise.
9949 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9950 * benchtests/bench-memrchr-ifunc.c: Likewise.
9951 * benchtests/bench-memset-ifunc.c: Likewise.
9952 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9953 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9954 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9955 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9956 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9957 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9958 * benchtests/bench-strcat-ifunc.c: Likewise.
9959 * benchtests/bench-strchr-ifunc.c: Likewise.
9960 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9961 * benchtests/bench-strcmp-ifunc.c: Likewise.
9962 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9963 * benchtests/bench-strcpy-ifunc.c: Likewise.
9964 * benchtests/bench-strcspn-ifunc.c: Likewise.
9965 * benchtests/bench-strlen-ifunc.c: Likewise.
9966 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9967 * benchtests/bench-strncat-ifunc.c: Likewise.
9968 * benchtests/bench-strncmp-ifunc.c: Likewise.
9969 * benchtests/bench-strncpy-ifunc.c: Likewise.
9970 * benchtests/bench-strnlen-ifunc.c: Likewise.
9971 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9972 * benchtests/bench-strrchr-ifunc.c: Likewise.
9973 * benchtests/bench-strsep-ifunc.c: Likewise.
9974 * benchtests/bench-strspn-ifunc.c: Likewise.
9975 * benchtests/bench-strstr-ifunc.c: Likewise.
9977 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9979 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9981 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9983 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9984 * rt/aio.h: Likewise.
9985 * sysdeps/gnu/bits/utmp.h: Likewise.
9986 * sysdeps/gnu/bits/utmpx.h: Likewise.
9987 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9988 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9989 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9990 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9991 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9992 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9993 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9994 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9995 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9996 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9997 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9998 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9999 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10001 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10002 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10003 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10004 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10005 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10006 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10007 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10008 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10009 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10010 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10011 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10013 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10014 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10015 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10016 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10017 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10018 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10019 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10020 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10021 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10022 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10023 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10024 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10025 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10026 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10027 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10028 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10030 2013-11-25 Carlos O'Donell <carlos@redhat.com>
10033 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10034 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10036 2013-11-25 Joseph Myers <joseph@codesourcery.com>
10038 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10039 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10042 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10044 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10045 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10046 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10047 (__fesetround): Remove define.
10048 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10049 rounding and exceptions handling.
10050 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10051 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10052 (__fe_nomask_env): Likewise.
10053 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10054 __fegetround instead of fegetround.
10055 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10056 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10058 2013-11-21 Roland McGrath <roland@hack.frob.com>
10060 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10063 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10065 2013-11-21 Meador Inge <meadori@codesourcery.com>
10068 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10069 (encrypt_r): Likewise.
10070 * malloc/obstack.h (obstack_free): Likewise.
10071 * posix/unistd.h (encrypt): Likewise.
10073 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10075 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10076 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10077 DL_CALL_DT_FINI() that call the functions directly.
10078 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10079 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10080 * elf/dl-fini.c: Likewise.
10082 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
10084 * malloc/hooks.c (memalign_check): Add alignment rounding.
10085 * malloc/malloc.c (_mid_memalign): New function.
10086 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10087 Implement by calling _mid_memalign.
10088 * manual/probes.texi (Memory Allocation Probes): Remove
10089 memory_valloc_retry and memory_pvalloc_retry.
10091 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10093 * locale/programs/locarchive.c (open_archive): Add const
10094 qualifier to ARCHIVEFNAME and copy default fname to
10098 * libio/tst-widetext.input: Rename Oriya to Odia.
10099 * locale/iso-639.def: Likewise.
10101 * manual/probes.texi (Mathematical Function Probes): Add
10102 documentation for sin, cos, asin and acos probes.
10103 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10104 (__sin32): Add slowasin probe.
10105 (__cos32): Add slowacos probe.
10106 (__mpsin): Add slowsin probe.
10107 (__mpcos): Add slowcos probe.
10109 2013-11-19 Joseph Myers <joseph@codesourcery.com>
10112 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10113 thread-local __sim_exceptions_thread and global
10114 __sim_exceptions_global.
10115 (__sim_disabled_exceptions): Change to thread-local
10116 __sim_disabled_exceptions_thread and global
10117 __sim_disabled_exceptions_global.
10118 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10119 and global __sim_round_mode_global.
10120 (__simulate_exceptions): Use thread-local floating-point state and
10121 set global state from it as needed.
10122 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10123 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10124 __sim_round_mode_thread.
10125 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10126 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10127 and global __sim_exceptions_global.
10128 (__sim_disabled_exceptions): Change to thread-local
10129 __sim_disabled_exceptions_thread and global
10130 __sim_disabled_exceptions_global.
10131 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10132 and global __sim_round_mode_global.
10133 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10134 (SIM_SET_GLOBAL): Likewise.
10135 * sysdeps/powerpc/soft-fp/sfp-machine.h
10136 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10137 __sim_round_mode_thread.
10138 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10139 __sim_disabled_exceptions_thread.
10140 (__sim_exceptions): Change to __sim_exceptions_thread.
10141 (__sim_disabled_exceptions): Change to
10142 __sim_disabled_exceptions_thread.
10143 (__sim_round_mode): Change to __sim_round_mode_thread.
10144 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10145 thread-local floating-point state and set global state from it as
10147 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10148 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10149 (__sim_disabled_exceptions): Remove extern declaration.
10150 (feenableexcept): Use thread-local floating-point state and set
10151 global state from it as needed.
10152 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10153 extern declaration.
10154 (__sim_disabled_exceptions): Likewise.
10155 (__sim_round_mode): Likewise.
10156 (__fegetenv): Use thread-local floating-point state.
10157 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10158 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10159 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10160 floating-point state and set global state from it as needed.
10161 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10162 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10163 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10165 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10166 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10168 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10169 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10170 Use __sim_round_mode_thread.
10171 * math/test-fenv-tls.c: New file.
10172 * math/Makefile (tests): Add test-fenv-tls.
10173 ($(objpfx)test-fenv-tls): Depend on
10174 $(common-objpfx)nptl/libpthread.so.
10176 2013-11-19 Andreas Schwab <schwab@suse.de>
10178 * locale/programs/locale.c (show_info): Decode wordarray elements.
10179 * locale/categories.def (LC_MONETARY): Add element for
10180 _NL_MONETARY_CRNCYSTR.
10181 * locale/C-monetary.c (conversion_rate): New variable.
10182 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10185 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10187 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10188 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10190 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10192 * elf/Makefile (tst-auxv): New test.
10193 * elf/tst-auxv.c: New
10194 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10196 2013-11-18 Joseph Myers <joseph@codesourcery.com>
10198 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10199 (hidden_proto): Caller changed.
10200 (hidden_tls_proto): New macro.
10201 (libc_hidden_tls_proto): Likewise.
10202 (rtld_hidden_tls_proto): Likewise.
10203 (libm_hidden_tls_proto): Likewise.
10204 (libresolv_hidden_tls_proto): Likewise.
10205 (librt_hidden_tls_proto): Likewise.
10206 (libdl_hidden_tls_proto): Likewise.
10207 (libnss_files_hidden_tls_proto): Likewise.
10208 (libnsl_hidden_tls_proto): Likewise.
10209 (libnss_nisplus_hidden_tls_proto): Likewise.
10210 (libutil_hidden_tls_proto): Likewise.
10212 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
10215 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10216 (decompose_rpath): Defer expansion to fillin_rpath.
10217 (_dl_init_paths): Pass linkmap to fillin_rpath.
10219 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10221 * benchtests/Makefile: Add strsep.
10222 * benchtests/bench-strsep.c: New file: strsep benchtest.
10223 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10225 2013-11-18 Andreas Schwab <schwab@suse.de>
10227 * locale/programs/locale.c (show_info) [case byte]: Check for
10228 '\377' instead of '\177'.
10229 * locale/C-monetary.c (not_available): Always use "\377".
10230 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10231 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10232 detect unavailable sign_posn locale elements.
10233 * locale/localeconv.c (__localeconv): For grouping and
10234 mon_grouping handle "\177" and "\377" like no grouping.
10235 (INT_ELEM): New macro. Use it to set all numeric members.
10236 * locale/programs/ld-monetary.c (monetary_read)
10237 <tok_mon_grouping>: Normalize single -1 to the empty string.
10238 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10241 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10244 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10245 when we match (nil).
10246 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10248 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10250 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10251 (NO_TEST_INLINE): Update value.
10252 (ERRNO_UNCHANGED): Likewise.
10253 (ERRNO_EDOM): Likewise.
10254 (ERRNO_ERANGE): Likewise.
10255 (IGNORE_RESULT): Likewise.
10256 (check_float_internal): Check signs of NaN results if
10257 TEST_NAN_SIGN used.
10258 (check_complex): Pass TEST_NAN_SIGN flag through to second
10259 check_float_internal call.
10260 (copysign_test_data): Add tests with quiet NaNs as second
10261 argument. Use TEST_NAN_SIGN.
10262 (fabs_test_data): Add test of negative quiet NaN argument. Use
10264 (signbit_test_data): Add tests of quiet NaN argument.
10265 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10267 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10269 (parse_args): Handle function results specified as IGNORE.
10270 * math/libm-test.inc (IGNORE_RESULT): New macro.
10271 (check_float_internal): Do not check numerical result if flag
10273 (check_complex): Pass through IGNORE_RESULT to second
10274 check_float_internal call.
10275 (check_int): Do not check numerical result if flag IGNORE_RESULT
10277 (check_long): Likewise.
10278 (check_bool): Likewise.
10279 (check_longlong): Likewise.
10280 (lrint_test_data): Add tests of infinite and NaN arguments.
10281 (lrint_tonearest_test_data): Likewise.
10282 (lrint_towardzero_test_data): Likewise.
10283 (lrint_downward_test_data): Likewise.
10284 (lrint_upward_test_data): Likewise.
10285 (llrint_test_data): Likewise.
10286 (llrint_tonearest_test_data): Likewise.
10287 (llrint_towardzero_test_data): Likewise.
10288 (llrint_downward_test_data): Likewise.
10289 (llrint_upward_test_data): Likewise.
10290 (lround_test_data): Likewise.
10291 (llround_test_data): Likewise.
10293 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10294 (ERRNO_UNCHANGED): Update value.
10295 (ERRNO_EDOM): Likewise.
10296 (ERRNO_ERANGE): Likewise.
10297 (NO_TEST_INLINE_FLOAT): New macro.
10298 (NO_TEST_INLINE_DOUBLE): Likewise.
10299 (enable_test): New function.
10300 (RUN_TEST_f_f): Check enable_test before running test.
10301 (RUN_TEST_2_f): Likewise.
10302 (RUN_TEST_fff_f): Likewise.
10303 (RUN_TEST_c_f): Likewise.
10304 (RUN_TEST_f_f1): Likewise.
10305 (RUN_TEST_fF_f1): Likewise.
10306 (RUN_TEST_fI_f1): Likewise.
10307 (RUN_TEST_ffI_f1): Likewise.
10308 (RUN_TEST_c_c): Likewise.
10309 (RUN_TEST_cc_c): Likewise.
10310 (RUN_TEST_f_i): Likewise.
10311 (RUN_TEST_f_i_tg): Likewise.
10312 (RUN_TEST_ff_i_tg): Likewise.
10313 (RUN_TEST_f_b): Likewise.
10314 (RUN_TEST_f_b_tg): Likewise.
10315 (RUN_TEST_f_l): Likewise.
10316 (RUN_TEST_f_L): Likewise.
10317 (RUN_TEST_fFF_11): Likewise.
10318 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10320 (cosh_test_data): Likewise.
10321 (exp_test_data): Likewise.
10322 (expm1_test_data): Likewise.
10323 (hypot_test_data): Likewise.
10324 (pow_test_data): Likewise.
10325 (sinh_test_data): Likewise.
10326 (tanh_test_data): Likewise.
10327 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10330 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10331 tests with quiet NaN input and output.
10332 (acosh_test_data): Likewise.
10333 (asin_test_data): Likewise.
10334 (asinh_test_data): Likewise.
10335 (atan_test_data): Likewise.
10336 (atanh_test_data): Likewise.
10337 (atan2_test_data): Likewise.
10338 (cbrt_test_data): Likewise.
10339 (cos_test_data): Likewise.
10340 (cosh_test_data): Likewise.
10341 (erf_test_data): Likewise.
10342 (erfc_test_data): Likewise.
10343 (exp_test_data): Likewise.
10344 (exp10_test_data): Likewise.
10345 (exp2_test_data): Likewise.
10346 (expm1_test_data): Likewise.
10347 (hypot_test_data): Likewise.
10348 (j0_test_data): Likewise.
10349 (j1_test_data): Likewise.
10350 (jn_test_data): Likewise.
10351 (lgamma_test_data): Likewise.
10352 (log_test_data): Likewise.
10353 (log10_test_data): Likewise.
10354 (log1p_test_data): Likewise.
10355 (log2_test_data): Likewise.
10356 (pow_test_data): Likewise.
10357 (scalb_test_data): Likewise.
10358 (sin_test_data): Likewise.
10359 (sincos_test_data): Likewise.
10360 (sinh_test_data): Likewise.
10361 (tan_test_data): Likewise.
10362 (tanh_test_data): Likewise.
10363 (tgamma_test_data): Likewise.
10364 (y0_test_data): Likewise.
10365 (y1_test_data): Likewise.
10366 (yn_test_data): Likewise.
10369 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10370 argument being NaN and avoid computations with second argument in
10372 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10373 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10374 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10376 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10378 * locale/iso-639.def: Add Chitwani Tharu (the).
10380 2013-11-14 Andreas Schwab <schwab@suse.de>
10382 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10383 word instead of empty string.
10385 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10388 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10390 (__fe_nomask_env): Likewise.
10392 2013-11-13 Steve Ellcey <sellcey@mips.com>
10394 * benchtests/bench-timing.h: Include time.h.
10396 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10399 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10401 * sysdeps/unix/sysv/linux/configure: Regenerated.
10403 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10406 * stdlib/strtod_l.c (round_and_return): Do not consider
10407 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10408 exponent one less than half the least subnormal exponent.
10409 * stdlib/test-strtod-round-data: Add more tests.
10410 * stdlib/tst-strtod-round.c (tests): Regenerated.
10412 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10415 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10416 (__fe_mask_env): Likewise.
10417 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10418 libm_hidden_proto and add function prototype.
10419 (__fe_mask_env): Add function prototype.
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10421 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10423 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10425 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10427 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10429 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10430 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10432 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10434 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10435 of htab_find_slot().
10437 2013-11-11 David S. Miller <davem@davemloft.net>
10440 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10441 symbol in the non-vis3 case in static builds.
10442 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10443 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10444 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10445 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10447 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10450 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10453 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10455 * benchtests/Makefile: Add bench-strtod.
10456 * benchtests/bench-strtod.c: New file: strtod benchtest
10458 2013-11-11 Andreas Schwab <schwab@suse.de>
10461 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10462 terminating NUL in key length.
10464 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10466 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10467 Add artificial ODP entry for vDSO symbol for PPC64.
10468 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10469 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10471 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10474 * nss/getent.c (services_keys): Recognize services starting with digit.
10476 2013-11-06 David S. Miller <davem@davemloft.net>
10479 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10480 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10482 2013-11-06 Will Newton <will.newton@linaro.org>
10484 * manual/memory.texi (Malloc Examples): Remove register
10485 keyword from examples.
10487 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10489 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10491 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10494 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10495 depending on [__GCC_IEC_559 > 0].
10496 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10497 depending on [__GCC_IEC_559_COMPLEX > 0].
10499 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10501 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10504 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10506 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10508 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10511 * malloc/malloc (malloc_info): Do not handle first bin as
10514 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10516 * locale/iso-639.def: Add Central Nahuatl (nhn).
10518 2013-11-01 Bruno Haible <bruno@clisp.org>
10521 * manual/math.texi (BSD Random): Specify range upper bound as
10524 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10526 * locale/iso-639.def: Add Meadow Mari (mhr).
10528 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10530 [BZ #14752], [BZ #15763]
10531 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10533 * rt/tst_shm.c: Add test for escaping directory.
10535 2013-10-31 Andreas Schwab <schwab@suse.de>
10538 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10539 followed by 'x' as part of digit sequence.
10540 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10542 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10545 * configure.ac: allow GNU Make 4.0 and greater.
10546 * configure: Regenerated.
10548 2013-10-30 Will Newton <will.newton@linaro.org>
10551 * malloc/hooks.c (memalign_check): Limit alignment to the
10552 maximum representable power of two.
10553 * malloc/malloc.c (__libc_memalign): Likewise.
10554 * malloc/tst-memalign.c (do_test): Add test for very
10555 large alignment values.
10556 * malloc/tst-posix_memalign.c (do_test): Likewise.
10558 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10561 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10562 (munmap_chunk): Likewise.
10563 (mremap_chunk): Likewise.
10565 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10568 * stdlib/div.c (div): Remove obsolete code.
10569 * stdlib/ldiv.c (ldiv): Likewise.
10570 * stdlib/lldiv.c (lldiv): Likewise.
10572 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10575 * nss/nss_files/files-XXX.c (get_contents_ret): New
10577 (get_contents): New function.
10578 (internal_getent): Use it. Expand size of LINEBUFLEN.
10580 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10582 * configure.in: Moved to ...
10583 * configure.ac: ... here. Change reference to configure.in
10585 * sysdeps/arm/preconfigure.ac: ... here.
10586 configure.in to configure.ac.
10587 * sysdeps/gnu/configure.in: Moved to ...
10588 * sysdeps/gnu/configure.ac: ... here.
10589 * sysdeps/i386/configure.in: Moved to ...
10590 * sysdeps/i386/configure.ac: ... here.
10591 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10592 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10593 * sysdeps/mach/configure.in: Moved to ...
10594 * sysdeps/mach/configure.ac: ... here.
10595 * sysdeps/mach/hurd/configure.in: Moved to ...
10596 * sysdeps/mach/hurd/configure.ac: ... here.
10597 * sysdeps/powerpc/configure.in: Moved to ...
10598 * sysdeps/powerpc/configure.ac: ... here.
10599 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10600 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10601 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10602 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10603 * sysdeps/s390/s390-32/configure.in: Moved to ...
10604 * sysdeps/s390/s390-32/configure.ac: ... here.
10605 * sysdeps/s390/s390-64/configure.in: Moved to ...
10606 * sysdeps/s390/s390-64/configure.ac: ... here.
10607 * sysdeps/sh/configure.in: Moved to ...
10608 * sysdeps/sh/configure.ac: ... here.
10609 * sysdeps/sparc/configure.in: Moved to ...
10610 * sysdeps/sparc/configure.ac: ... here.
10611 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10612 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10613 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10614 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10615 * sysdeps/x86_64/configure.in: Moved to ...
10616 * sysdeps/x86_64/configure.ac: ... here.
10617 * sysdeps/x86_64/preconfigure.in: Moved to ...
10618 * sysdeps/x86_64/preconfigure.ac: ... here.
10619 * aclocal.m4: Change reference to configure.in to configure.ac.
10620 * config.h.in: Likewise.
10621 * manual/install.texi: Likewise.
10622 * manual/maint.texi: Likewise.
10623 * Makefile: Likewise.
10624 * malloc/Makefile: Likewise.
10625 * nscd/Makefile: Likewise.
10626 * Makeconfig: Change reference to configure.in and
10627 preconfigure.in to configure.ac and preconfigure.ac
10629 * INSTALL: Regenerated.
10630 * configure: Likewise.
10631 * sysdeps/gnu/configure: Likewise.
10632 * sysdeps/i386/configure: Likewise.
10633 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10634 * sysdeps/mach/configure: Likewise.
10635 * sysdeps/mach/hurd/configure: Likewise.
10636 * sysdeps/powerpc/configure: Likewise.
10637 * sysdeps/powerpc/powerpc32/configure: Likewise.
10638 * sysdeps/powerpc/powerpc64/configure: Likewise.
10639 * sysdeps/s390/s390-32/configure: Likewise.
10640 * sysdeps/s390/s390-64/configure: Likewise.
10641 * sysdeps/sh/configure: Likewise.
10642 * sysdeps/sparc/configure: Likewise.
10643 * sysdeps/unix/sysv/linux/configure: Likewise.
10644 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10645 * sysdeps/x86_64/configure: Likewise.
10646 * sysdeps/x86_64/preconfigure: Likewise.
10648 2013-10-29 Andreas Schwab <schwab@suse.de>
10650 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10652 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10654 * benchtests/pow-inputs: Add new inputs.
10656 * benchtests/exp-inputs: Add new inputs.
10658 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10659 conditional check for return value.
10660 (__cos32): Likewise.
10662 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10664 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10665 to provide a boost for large inputs with word alignment.
10666 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10667 implementation based on optimized PPC64 strcpy.
10668 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10669 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10670 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10671 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10673 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10676 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10678 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10681 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10682 * time/tst-strptime.c (day_tests): Add testcase.
10684 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10687 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10689 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10692 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10693 MAP_FAILED on error.
10695 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10698 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10699 heap for large requests.
10701 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10704 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10705 result if the result has no associated interface.
10706 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10707 interface for all 127.X.Y.Z addresses.
10709 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10711 * locale/iso-639.def: Add Ligurian (lij)
10713 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10716 * sunrpc/rpc_main.c: Document rpcgen -5.
10718 2013-10-19 Michael Stahl <mstahl@redhat.com>
10720 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10722 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10725 * posix/glob.c: Match only directories when trailing slash is present.
10726 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10727 (main): Add testcase.
10729 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10732 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10734 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10736 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10737 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10738 AUTH_DES and cindex for FIPS 140-2.
10739 (DES Encryption): Add cindex FIPS 46-3.
10741 * locale/locarchive.h (struct locarhandle): Add fname.
10742 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10743 if an optional argument was specified to --list-archive,
10745 * locale/programs/locarchive.c (show_archive_content): Take new
10746 argument fname and pass it via ah.fname to open_archive.
10747 * locale/programs/localedef.h: Update decl.
10748 (open_archive): If AH->fname is non-null, open that file
10749 rather than the default file name, and don't ignore ENOENT.
10750 (create_archive): Set AH.fname to NULL.
10751 (delete_locales_from_archive): Likewise.
10752 (add_locales_to_archive): Likewise.
10753 * locale/programs/locfile.c (write_all_categories): Likewise.
10755 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10756 Aldy Hernandez <aldyh@redhat.com>
10758 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10759 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10760 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10761 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10762 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10763 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10764 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10765 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10766 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10767 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10768 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10769 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10770 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10771 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10772 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10774 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10776 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10778 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10780 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10781 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10783 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10784 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10785 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10786 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10788 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10789 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10790 * sysdeps/powerpc/preconfigure: Likewise.
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10793 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10794 Replace contents of file by #include of <fenv_libc.h>.
10795 * sysdeps/powerpc/soft-fp/sfp-machine.h
10796 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10798 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10799 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10800 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10801 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10802 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10803 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10805 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10806 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10807 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10808 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10809 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10811 Allow copysignl PLT reference to be missing.
10813 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10814 Joseph Myers <joseph@codesourcery.com
10817 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10819 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10821 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10823 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10824 * elf/tst-tls1.c: Likewise.
10825 * elf/tst-tls10.h: Likewise.
10826 * elf/tst-tls14.c: Likewise.
10827 * elf/tst-tls2.c: Likewise.
10828 * elf/tst-tls3.c: Likewise.
10829 * elf/tst-tls4.c: Likewise.
10830 * elf/tst-tls5.c: Likewise.
10831 * elf/tst-tls6.c: Likewise.
10832 * elf/tst-tls7.c: Likewise.
10833 * elf/tst-tls8.c: Likewise.
10834 * elf/tst-tls9.c: Likewise.
10835 * elf/tst-tlsmod1.c: Likewise.
10836 * elf/tst-tlsmod13.c: Likewise.
10837 * elf/tst-tlsmod13a.c: Likewise.
10838 * elf/tst-tlsmod14a.c: Likewise.
10839 * elf/tst-tlsmod16a.c: Likewise.
10840 * elf/tst-tlsmod16b.c: Likewise.
10841 * elf/tst-tlsmod2.c: Likewise.
10842 * elf/tst-tlsmod3.c: Likewise.
10843 * elf/tst-tlsmod4.c: Likewise.
10844 * elf/tst-tlsmod5.c: Likewise.
10845 * elf/tst-tlsmod6.c: Likewise.
10847 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10850 * malloc/malloc.c: remove checks for statistics.
10852 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10855 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10856 * inet/tst-network.c: Add testcase.
10858 2013-10-17 Andreas Schwab <schwab@suse.de>
10861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10862 to determine canonical name.
10864 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10866 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10867 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10869 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10871 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10872 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10873 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10876 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10879 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10890 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10891 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10892 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10893 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10895 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10896 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10897 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10898 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10899 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10900 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10901 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10902 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10903 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10925 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10928 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10929 make result into a quiet NaN.
10931 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10933 * soft-fp/adddf3.c: Fix horizontal whitespace.
10934 * soft-fp/addsf3.c: Likewise.
10935 * soft-fp/addtf3.c: Likewise.
10936 * soft-fp/divdf3.c: Likewise.
10937 * soft-fp/divsf3.c: Likewise.
10938 * soft-fp/divtf3.c: Likewise.
10939 * soft-fp/double.h: Likewise.
10940 * soft-fp/eqdf2.c: Likewise.
10941 * soft-fp/eqsf2.c: Likewise.
10942 * soft-fp/eqtf2.c: Likewise.
10943 * soft-fp/extenddftf2.c: Likewise.
10944 * soft-fp/extended.h: Likewise.
10945 * soft-fp/extendsfdf2.c: Likewise.
10946 * soft-fp/extendsftf2.c: Likewise.
10947 * soft-fp/extendxftf2.c: Likewise.
10948 * soft-fp/fixdfdi.c: Likewise.
10949 * soft-fp/fixdfsi.c: Likewise.
10950 * soft-fp/fixdfti.c: Likewise.
10951 * soft-fp/fixsfdi.c: Likewise.
10952 * soft-fp/fixsfsi.c: Likewise.
10953 * soft-fp/fixsfti.c: Likewise.
10954 * soft-fp/fixtfdi.c: Likewise.
10955 * soft-fp/fixtfsi.c: Likewise.
10956 * soft-fp/fixtfti.c: Likewise.
10957 * soft-fp/fixunsdfdi.c: Likewise.
10958 * soft-fp/fixunsdfsi.c: Likewise.
10959 * soft-fp/fixunsdfti.c: Likewise.
10960 * soft-fp/fixunssfdi.c: Likewise.
10961 * soft-fp/fixunssfsi.c: Likewise.
10962 * soft-fp/fixunssfti.c: Likewise.
10963 * soft-fp/fixunstfdi.c: Likewise.
10964 * soft-fp/fixunstfsi.c: Likewise.
10965 * soft-fp/fixunstfti.c: Likewise.
10966 * soft-fp/floatdidf.c: Likewise.
10967 * soft-fp/floatdisf.c: Likewise.
10968 * soft-fp/floatditf.c: Likewise.
10969 * soft-fp/floatsidf.c: Likewise.
10970 * soft-fp/floatsisf.c: Likewise.
10971 * soft-fp/floatsitf.c: Likewise.
10972 * soft-fp/floattidf.c: Likewise.
10973 * soft-fp/floattisf.c: Likewise.
10974 * soft-fp/floattitf.c: Likewise.
10975 * soft-fp/floatundidf.c: Likewise.
10976 * soft-fp/floatundisf.c: Likewise.
10977 * soft-fp/floatunditf.c: Likewise.
10978 * soft-fp/floatunsidf.c: Likewise.
10979 * soft-fp/floatunsisf.c: Likewise.
10980 * soft-fp/floatunsitf.c: Likewise.
10981 * soft-fp/floatuntidf.c: Likewise.
10982 * soft-fp/floatuntisf.c: Likewise.
10983 * soft-fp/floatuntitf.c: Likewise.
10984 * soft-fp/fmadf4.c: Likewise.
10985 * soft-fp/fmasf4.c: Likewise.
10986 * soft-fp/fmatf4.c: Likewise.
10987 * soft-fp/gedf2.c: Likewise.
10988 * soft-fp/gesf2.c: Likewise.
10989 * soft-fp/getf2.c: Likewise.
10990 * soft-fp/ledf2.c: Likewise.
10991 * soft-fp/lesf2.c: Likewise.
10992 * soft-fp/letf2.c: Likewise.
10993 * soft-fp/muldf3.c: Likewise.
10994 * soft-fp/mulsf3.c: Likewise.
10995 * soft-fp/multf3.c: Likewise.
10996 * soft-fp/negdf2.c: Likewise.
10997 * soft-fp/negsf2.c: Likewise.
10998 * soft-fp/negtf2.c: Likewise.
10999 * soft-fp/op-1.h: Likewise.
11000 * soft-fp/op-2.h: Likewise.
11001 * soft-fp/op-4.h: Likewise.
11002 * soft-fp/op-8.h: Likewise.
11003 * soft-fp/op-common.h: Likewise.
11004 * soft-fp/quad.h: Likewise.
11005 * soft-fp/single.h: Likewise.
11006 * soft-fp/soft-fp.h: Likewise.
11007 * soft-fp/sqrtdf2.c: Likewise.
11008 * soft-fp/sqrtsf2.c: Likewise.
11009 * soft-fp/sqrttf2.c: Likewise.
11010 * soft-fp/subdf3.c: Likewise.
11011 * soft-fp/subsf3.c: Likewise.
11012 * soft-fp/subtf3.c: Likewise.
11013 * soft-fp/truncdfsf2.c: Likewise.
11014 * soft-fp/trunctfdf2.c: Likewise.
11015 * soft-fp/trunctfsf2.c: Likewise.
11016 * soft-fp/trunctfxf2.c: Likewise.
11017 * soft-fp/unorddf2.c: Likewise.
11018 * soft-fp/unordsf2.c: Likewise.
11019 * soft-fp/unordtf2.c: Likewise.
11021 2013-10-15 Joseph Myers <joseph@codesourcery.com>
11023 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11024 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11026 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
11028 * elf/dl-libc.c: Clear initfini list after freeing.
11030 2013-10-14 Joseph Myers <joseph@codesourcery.com>
11032 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11033 * soft-fp/addsf3.c: Likewise.
11034 * soft-fp/addtf3.c: Likewise.
11035 * soft-fp/divdf3.c: Likewise.
11036 * soft-fp/divsf3.c: Likewise.
11037 * soft-fp/divtf3.c: Likewise.
11038 * soft-fp/double.h: Likewise.
11039 * soft-fp/eqdf2.c: Likewise.
11040 * soft-fp/eqsf2.c: Likewise.
11041 * soft-fp/eqtf2.c: Likewise.
11042 * soft-fp/extenddftf2.c: Likewise.
11043 * soft-fp/extended.h: Likewise.
11044 * soft-fp/extendsfdf2.c: Likewise.
11045 * soft-fp/extendsftf2.c: Likewise.
11046 * soft-fp/extendxftf2.c: Likewise.
11047 * soft-fp/fixdfdi.c: Likewise.
11048 * soft-fp/fixdfsi.c: Likewise.
11049 * soft-fp/fixdfti.c: Likewise.
11050 * soft-fp/fixsfdi.c: Likewise.
11051 * soft-fp/fixsfsi.c: Likewise.
11052 * soft-fp/fixsfti.c: Likewise.
11053 * soft-fp/fixtfdi.c: Likewise.
11054 * soft-fp/fixtfsi.c: Likewise.
11055 * soft-fp/fixtfti.c: Likewise.
11056 * soft-fp/fixunsdfdi.c: Likewise.
11057 * soft-fp/fixunsdfsi.c: Likewise.
11058 * soft-fp/fixunsdfti.c: Likewise.
11059 * soft-fp/fixunssfdi.c: Likewise.
11060 * soft-fp/fixunssfsi.c: Likewise.
11061 * soft-fp/fixunssfti.c: Likewise.
11062 * soft-fp/fixunstfdi.c: Likewise.
11063 * soft-fp/fixunstfsi.c: Likewise.
11064 * soft-fp/fixunstfti.c: Likewise.
11065 * soft-fp/floatdidf.c: Likewise.
11066 * soft-fp/floatdisf.c: Likewise.
11067 * soft-fp/floatditf.c: Likewise.
11068 * soft-fp/floatsidf.c: Likewise.
11069 * soft-fp/floatsisf.c: Likewise.
11070 * soft-fp/floatsitf.c: Likewise.
11071 * soft-fp/floattidf.c: Likewise.
11072 * soft-fp/floattisf.c: Likewise.
11073 * soft-fp/floattitf.c: Likewise.
11074 * soft-fp/floatundidf.c: Likewise.
11075 * soft-fp/floatundisf.c: Likewise.
11076 * soft-fp/floatunsidf.c: Likewise.
11077 * soft-fp/floatunsisf.c: Likewise.
11078 * soft-fp/floatuntidf.c: Likewise.
11079 * soft-fp/floatuntisf.c: Likewise.
11080 * soft-fp/floatuntitf.c: Likewise.
11081 * soft-fp/fmadf4.c: Likewise.
11082 * soft-fp/fmasf4.c: Likewise.
11083 * soft-fp/fmatf4.c: Likewise.
11084 * soft-fp/gedf2.c: Likewise.
11085 * soft-fp/gesf2.c: Likewise.
11086 * soft-fp/getf2.c: Likewise.
11087 * soft-fp/ledf2.c: Likewise.
11088 * soft-fp/lesf2.c: Likewise.
11089 * soft-fp/letf2.c: Likewise.
11090 * soft-fp/muldf3.c: Likewise.
11091 * soft-fp/mulsf3.c: Likewise.
11092 * soft-fp/multf3.c: Likewise.
11093 * soft-fp/negdf2.c: Likewise.
11094 * soft-fp/negsf2.c: Likewise.
11095 * soft-fp/negtf2.c: Likewise.
11096 * soft-fp/op-1.h: Likewise.
11097 * soft-fp/op-2.h: Likewise.
11098 * soft-fp/op-4.h: Likewise.
11099 * soft-fp/op-8.h: Likewise.
11100 * soft-fp/op-common.h: Likewise.
11101 * soft-fp/quad.h: Likewise.
11102 * soft-fp/single.h: Likewise.
11103 * soft-fp/soft-fp.h: Likewise.
11104 * soft-fp/sqrtdf2.c: Likewise.
11105 * soft-fp/sqrtsf2.c: Likewise.
11106 * soft-fp/sqrttf2.c: Likewise.
11107 * soft-fp/subdf3.c: Likewise.
11108 * soft-fp/subsf3.c: Likewise.
11109 * soft-fp/subtf3.c: Likewise.
11110 * soft-fp/truncdfsf2.c: Likewise.
11111 * soft-fp/trunctfdf2.c: Likewise.
11112 * soft-fp/trunctfsf2.c: Likewise.
11113 * soft-fp/trunctfxf2.c: Likewise.
11114 * soft-fp/unorddf2.c: Likewise.
11115 * soft-fp/unordsf2.c: Likewise.
11116 * soft-fp/unordtf2.c: Likewise.
11118 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
11121 * misc/error.c (error_tail): Fix possible buffer overflow.
11123 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11126 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11129 2013-10-14 P. J. McDermott <pj@pehjota.net>
11132 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11133 testing pipefail option.
11135 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11137 * soft-fp/double.h: Indent preprocessor directives inside #if.
11138 * soft-fp/extended.h: Likewise.
11139 * soft-fp/op-2.h: Likewise.
11140 * soft-fp/op-4.h: Likewise.
11141 * soft-fp/op-common.h: Likewise.
11142 * soft-fp/quad.h: Likewise.
11143 * soft-fp/single.h: Likewise.
11144 * soft-fp/soft-fp.h: Likewise.
11146 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11148 * iconv/iconv_prog.c: Fix typos.
11149 * stdio-common/psiginfo-data.h: Likewise.
11151 2013-10-12 Reuben Thomas <rrt@sc3d.org>
11154 * locale/setlocale.c: Fix typo.
11156 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11159 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11160 signaling NaN arguments.
11161 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11162 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11165 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11166 unordered operands.
11167 * soft-fp/gesf2.c (__gesf2): Likewise.
11168 * soft-fp/getf2.c (__getf2): Likewise.
11169 * soft-fp/ledf2.c (__ledf2): Likewise.
11170 * soft-fp/lesf2.c (__lesf2): Likewise.
11171 * soft-fp/letf2.c (__letf2): Likewise.
11173 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11174 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11175 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11176 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11177 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11178 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11179 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11180 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11181 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11182 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11183 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11184 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11185 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11186 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11187 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11188 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11189 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11190 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11191 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11192 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11193 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11194 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11195 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11196 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11197 * soft-fp/floattidf.c (__floattidf): Likewise.
11198 * soft-fp/floattisf.c (__floattisf): Likewise.
11199 * soft-fp/floattitf.c (__floattitf): Likewise.
11200 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11201 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11202 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11203 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11204 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11205 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11206 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11207 * soft-fp/gesf2.c (__gesf2): Likewise.
11208 * soft-fp/getf2.c (__getf2): Likewise.
11209 * soft-fp/ledf2.c (__ledf2): Likewise.
11210 * soft-fp/lesf2.c (__lesf2): Likewise.
11211 * soft-fp/letf2.c (__letf2): Likewise.
11213 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11214 Undefine and redefine.
11215 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11216 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11217 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11218 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11219 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11220 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11221 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11222 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11223 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11224 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11225 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11226 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11227 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11228 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11229 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11232 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11233 without decrementing exponent if mantissa >= that for the
11234 denominator, not >.
11235 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11236 denominator, not >. Decrement exponent in < case instead of
11237 incrementing in >= case.
11238 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11239 without decrementing exponent if mantissa >= that for the
11240 denominator, not >.
11242 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11243 computing saturated result for unsigned overflow.
11245 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11246 Jeff Law <law@redhat.com>
11248 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11249 (atan2Mp): Add systemtap probe marker.
11250 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11251 (__ieee754_log): Add systemtap probe marker.
11252 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11253 (atanMp): Add systemtap probe marker.
11254 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11255 (tanMp): Add systemtap probe marker.
11256 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11257 (__slowexp): Add systemtap probe marker.
11258 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11259 (__slowpow): Add systemtap probe marker.
11260 * manual/probes.texi: Document probes.
11262 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11265 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11267 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11269 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11270 written to buffer but not flushed.
11271 * libio/iofwrite_u.c: Likewise.
11272 * libio/iopadn.c: Return bytes returned even if EOF was
11274 * libio/iowpadn.c: Likewise.
11275 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11276 if _IO_padn does not write the whole buffer.
11277 [!COMPILE_WPRINTF] (PAD): Likewise.
11279 2013-10-10 David S. Miller <davem@davemloft.net>
11281 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11284 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11286 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11287 instead of FSF address.
11288 * soft-fp/fixdfti.c: Likewise.
11289 * soft-fp/fixsfti.c: Likewise.
11290 * soft-fp/fixtfti.c: Likewise.
11291 * soft-fp/fixunsdfti.c: Likewise.
11292 * soft-fp/fixunssfti.c: Likewise.
11293 * soft-fp/fixunstfti.c: Likewise.
11294 * soft-fp/floattidf.c: Likewise.
11295 * soft-fp/floattisf.c: Likewise.
11296 * soft-fp/floattitf.c: Likewise.
11297 * soft-fp/floatuntidf.c: Likewise.
11298 * soft-fp/floatuntisf.c: Likewise.
11299 * soft-fp/floatuntitf.c: Likewise.
11300 * soft-fp/trunctfxf2.c: Likewise.
11302 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11303 * soft-fp/fixdfti.c: Likewise.
11304 * soft-fp/fixsfti.c: Likewise.
11305 * soft-fp/fixtfti.c: Likewise.
11306 * soft-fp/fixunsdfti.c: Likewise.
11307 * soft-fp/fixunssfti.c: Likewise.
11308 * soft-fp/fixunstfti.c: Likewise.
11309 * soft-fp/floattidf.c: Likewise.
11310 * soft-fp/floattisf.c: Likewise.
11311 * soft-fp/floattitf.c: Likewise.
11312 * soft-fp/floatuntidf.c: Likewise.
11313 * soft-fp/floatuntisf.c: Likewise.
11314 * soft-fp/floatuntitf.c: Likewise.
11315 * soft-fp/trunctfxf2.c: Likewise.
11317 2013-10-10 David S. Miller <davem@davemloft.net>
11319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11321 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11323 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11324 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11325 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11326 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11327 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11328 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11329 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11331 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11332 for NaNs before doing comparisons on argument.
11333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11336 2013-10-10 Will Newton <will.newton@linaro.org>
11338 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11339 passed to _int_memalign does not overflow.
11341 2013-10-10 Torvald Riegel <triegel@redhat.com>
11343 * scripts/bench.pl: Add include-sources directive.
11344 * benchtests/README: Update documentation.
11346 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11348 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11349 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11350 instead of FP_INIT_ROUNDMODE.
11351 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11352 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11355 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11356 copy class of input value.
11357 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11358 not handle exceptions.
11359 * soft-fp/negsf2.c (__negsf2): Likewise.
11360 * soft-fp/negtf2.c (__negtf2): Likewise.
11361 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11363 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11365 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11366 semicolon. From Linux kernel.
11368 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11370 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11372 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11375 * manual/socket.texi: Added statement about buffer
11376 for gethostbyname2_r.
11378 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11380 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11381 Use .p2align directive instead, throughout.
11382 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11383 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11384 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11385 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11386 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11387 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11388 * sysdeps/x86_64/strchr.S: Likewise.
11389 * sysdeps/x86_64/strrchr.S: Likewise.
11391 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11393 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11395 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11397 * sysdeps/generic/math_private.h (__mpsin1): Remove
11399 (__mpcos1): Likewise.
11400 (__mpsin): New argument __range_reduce.
11401 (__mpcos): Likewise.
11402 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11403 (slow): Use __mpsin and __mpcos.
11407 (sloww1): Likewise.
11408 (sloww2): Likewise.
11409 (bsloww): Likewise.
11410 (bsloww1): Likewise.
11411 (bsloww2): Likewise.
11412 (cslow2): Likewise.
11413 (csloww): Likewise.
11414 (csloww1): Likewise.
11415 (csloww2): Likewise.
11416 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11417 range_reduce. Merge in __mpsin1.
11418 (__mpcos): Likewise.
11419 (__mpsin1): Remove.
11420 (__mpcos1): Likewise.
11422 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11424 * locale/loadlocale.c (_nl_intern_locale_data): Use
11426 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11427 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11428 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11429 obstack data is appropriately aligned.
11430 (obstack_int32_grow_fast): Likewise.
11431 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11432 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11433 (add_locale_uint32_array): Likewise.
11435 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11437 * benchtests/Makefile: Remove ARGLIST and RET variables.
11438 ($(objpfx)bench-%.c): Pass only function name to the script.
11439 * benchtests/README: Update documentation.
11440 * benchtests/acos-inputs: Add new directives.
11441 * benchtests/acosh-inputs: Likewise.
11442 * benchtests/asin-inputs: Likewise.
11443 * benchtests/asinh-inputs: Likewise.
11444 * benchtests/atan-inputs: Likewise.
11445 * benchtests/atanh-inputs: Likewise.
11446 * benchtests/cos-inputs: Likewise.
11447 * benchtests/cosh-inputs: Likewise.
11448 * benchtests/exp-inputs: Likewise.
11449 * benchtests/log-inputs: Likewise.
11450 * benchtests/pow-inputs: Likewise.
11451 * benchtests/rint-inputs: Likewise.
11452 * benchtests/sin-inputs: Likewise.
11453 * benchtests/sinh-inputs: Likewise.
11454 * benchtests/tan-inputs: Likewise.
11455 * benchtests/tanh-inputs: Likewise.
11456 * scripts/bench.pl: Add support for new directives.
11458 2013-10-07 Alan Modra <amodra@gmail.com>
11460 * README: Fix careless merge.
11462 2013-10-05 Alan Modra <amodra@gmail.com>
11464 * NEWS: Mention powerpc64le support and bugs fixed.
11465 * README: Both big-endian and little-endian powerpc64 supported.
11467 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11469 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11470 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11471 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11472 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11474 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11476 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11479 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11481 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11482 Move -mhard-float appending from
11483 ports/sysdeps/powerpc/powerpc32/Makefile.
11484 [$(with-fp) = yes] (ASFLAGS): Likewise.
11485 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11486 * sysdeps/powerpc/nofpu: Move directory from
11487 ports/sysdeps/powerpc/nofpu.
11488 * sysdeps/powerpc/soft-fp: Move directory from
11489 ports/sysdeps/powerpc/soft-fp.
11490 * sysdeps/powerpc/powerpc32/405: Move directory from
11491 ports/sysdeps/powerpc/powerpc32/405.
11492 * sysdeps/powerpc/powerpc32/440: Move directory from
11493 ports/sysdeps/powerpc/powerpc32/440.
11494 * sysdeps/powerpc/powerpc32/464: Move directory from
11495 ports/sysdeps/powerpc/powerpc32/464.
11496 * sysdeps/powerpc/powerpc32/476: Move directory from
11497 ports/sysdeps/powerpc/powerpc32/476.
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11499 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11501 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11503 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11505 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11507 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11508 * README: Update for powerpc-*-linux-gnu software floating point
11511 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11512 case to powerpc/powerpc32*.
11513 * sysdeps/unix/sysv/linux/configure: Regenerated.
11515 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11516 (_FPU_MASK_OM): Define as 0x04.
11517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11525 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11528 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11531 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11532 and setcontext_e500.
11534 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11536 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11538 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11540 * manual/threads.texi (Default Thread Attributes): Fix typo.
11542 2013-10-04 Will Newton <will.newton@linaro.org>
11544 * malloc/Makefile: Add tst-memalign.
11545 * malloc/tst-memalign.c: New file.
11547 * malloc/tst-posix_memalign.c: Add comments.
11548 (do_test): Add comments and call free on all potentially
11549 allocated pointers. Add space after cast.
11551 * malloc/tst-pvalloc.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 * malloc/tst-valloc.c: Add comments.
11557 (do_test): Add comments and call free on all potentially
11558 allocated pointers. Remove duplicate check for NULL pointer.
11559 Add space after cast.
11561 2013-10-04 Alan Modra <amodra@gmail.com>
11563 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11564 Use stdint types in rather than __attribute__((mode())).
11565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11567 2013-10-04 Alan Modra <amodra@gmail.com>
11569 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11570 Correct handling of unaligned relocs for little-endian.
11571 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11573 2013-10-04 Alan Modra <amodra@gmail.com>
11575 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11576 * configure: Regenerate.
11577 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11578 * shlib-versions: Likewise.
11580 2013-10-04 Alan Modra <amodra@gmail.com>
11582 * string/tester.c (test_memrchr): Increment reported test cycle.
11584 2013-10-04 Alan Modra <amodra@gmail.com>
11586 * string/test-memcpy.c (do_one_test): When reporting errors, print
11587 string address and don't overrun end of string.
11589 2013-10-04 Alan Modra <amodra@gmail.com>
11591 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11592 insrdi. Make better use of reg selection to speed exit slightly.
11593 Schedule entry path a little better. Remove useless "are we done"
11594 checks on entry to main loop. Handle wrapping around zero address.
11595 Correct main loop count. Handle single left-over word from main
11596 loop inline rather than by using loop_small. Remove extra word
11597 case in loop_small caused by wrong loop count. Add little-endian
11599 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11600 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11602 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11603 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11604 support. Avoid rlwimi.
11605 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11607 2013-10-04 Alan Modra <amodra@gmail.com>
11609 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11610 insrdi. Formatting.
11611 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11612 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11613 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11614 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11615 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11616 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11618 2013-10-04 Alan Modra <amodra@gmail.com>
11620 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11621 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11622 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11623 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11624 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11625 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11626 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11627 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11628 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11629 use of regs. Use power7 mtocrf. Tidy function tails.
11631 2013-10-04 Alan Modra <amodra@gmail.com>
11633 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11634 Formatting. Consistently use rXXX register defines or rN defines.
11635 Use early exit labels that avoid restoring unused non-volatile regs.
11636 Make cr field use more consistent with rWORDn compares. Rename
11637 regs used as shift registers for unaligned loop, using rN defines
11638 for short lifetime/multiple use regs.
11639 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11640 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11641 addi 1,1,64 to pop stack frame. Simplify return value code.
11642 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11644 2013-10-04 Alan Modra <amodra@gmail.com>
11646 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11647 support. Correct typos, formatting. Optimize tail. Use insrdi
11648 rather than rlwimi.
11649 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11651 little-endian support. Correct typos.
11652 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11653 rather than rlwimi.
11654 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11655 in loop and entry code to keep "and." results.
11656 (strchr): Add little-endian support. Comment. Move cntlzd
11658 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11660 2013-10-04 Alan Modra <amodra@gmail.com>
11662 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11663 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11664 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11665 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11667 2013-10-04 Alan Modra <amodra@gmail.com>
11669 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11670 (rTMP): Define as r11.
11671 (strcmp): Add little-endian support. Optimise tail.
11672 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11673 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11674 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11675 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11676 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11677 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11678 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11680 2013-10-04 Alan Modra <amodra@gmail.com>
11682 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11683 little-endian support. Remove unnecessary "are we done" tests.
11684 Handle "s" wrapping around zero and extremely large "size".
11685 Correct main loop count. Handle single left-over word from main
11686 loop inline rather than by using small_loop. Correct comments.
11687 Delete "zero" tail, use "end_max" instead.
11688 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11690 2013-10-04 Alan Modra <amodra@gmail.com>
11692 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11693 support. Don't branch over align.
11694 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11695 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11696 support. Rearrange tmp reg use to suit. Comment.
11697 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11699 2013-10-04 Alan Modra <amodra@gmail.com>
11701 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11703 2013-10-04 Alan Modra <amodra@gmail.com>
11705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11706 conditional form of branch and link when obtaining pc.
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11709 2013-10-04 Alan Modra <amodra@gmail.com>
11711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11716 2013-10-04 Alan Modra <amodra@gmail.com>
11718 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11719 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11720 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11721 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11722 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11723 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11724 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11725 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11726 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11727 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11729 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11730 Alistair Popple <alistair@ozlabs.au.ibm.com>
11731 Alan Modra <amodra@gmail.com>
11734 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11735 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11736 _dl_hwcap access for little-endian.
11737 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11738 destroy vmx regs when saving unaligned.
11739 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11740 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11741 destroy vmx regs when saving unaligned.
11743 2013-10-04 Alan Modra <amodra@gmail.com>
11745 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11746 Don't use a union to pack hi/low value.
11748 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11750 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11752 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11753 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11754 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11755 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11756 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11758 2013-10-04 Alan Modra <amodra@gmail.com>
11760 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11761 constants to usual value for .cst8 section, and remove redundant
11763 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11764 constant for 0x1p52. Load little-endian words of double from
11765 correct stack offsets.
11767 2013-10-04 Alan Modra <amodra@gmail.com>
11769 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11770 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11771 words of double from correct stack offsets.
11772 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11773 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11774 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11775 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11776 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11777 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11778 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11779 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11780 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11781 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11782 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11783 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11784 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11785 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11786 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11787 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11788 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11790 2013-10-04 Alan Modra <amodra@gmail.com>
11792 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11793 64-bit int/double union.
11794 (_FPU_SETCW): Likewise.
11795 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11796 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11798 2013-10-04 Alan Modra <amodra@gmail.com>
11800 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11801 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11803 2013-10-04 Alan Modra <amodra@gmail.com>
11805 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11806 use vector int constants.
11807 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11809 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11811 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11812 array with long long.
11813 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11814 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11815 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11816 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11817 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11818 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11819 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11820 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11821 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11822 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11823 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11824 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11825 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11827 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11829 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11830 (__signbit): Likewise. Correct for little-endian.
11831 (__signbitl): Call __signbit.
11832 (lrint): Correct for little-endian.
11833 (lrintf): Call lrint.
11835 2013-10-04 Alan Modra <amodra@gmail.com>
11837 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11838 union 32-bit int array member with 64-bit int array.
11839 (t515, tm256): Double rather than long double.
11840 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11842 2013-10-04 Alan Modra <amodra@gmail.com>
11844 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11846 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11848 version of math_ldbl.h.
11850 2013-10-04 Alan Modra <amodra@gmail.com>
11852 [BZ #15734], [BZ #15735]
11853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11854 all uses of ieee875 long double macros and unions. Simplify test
11855 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11856 ldbl_extract_mantissa value for ix,iy exponents. Properly
11857 normalize after ldbl_extract_mantissa, and don't add hidden bit
11858 already handled. Don't treat low word of ieee854 mantissa like
11859 low word of IBM long double and mask off bit when testing for
11861 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11862 all uses of ieee875 long double macros and unions. Simplify tests
11863 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11864 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11865 two1022, instead use their values. Recognise that tests for large
11866 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11867 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11868 Rewrite all uses of ieee875 long double macros and unions. Simplify
11869 test for 0.0L and nan. Correct negation.
11870 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11871 ieee875 long double macros and unions. Correct output for large
11872 magnitude x. Correct absolute value calculation.
11873 (__erfcl): Likewise.
11874 * math/libm-test.inc: Add tests for errors discovered in IBM long
11875 double versions of fmodl, remainderl, erfl and erfcl.
11877 2013-10-04 Alan Modra <amodra@gmail.com>
11879 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11880 all uses of ieee854 long double macros and unions. Simplify tests
11881 for long doubles that are fully specified by the high double.
11882 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11884 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11885 Remove dead code too.
11886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11887 (__ieee754_ynl): Likewise.
11888 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11889 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11890 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11891 Remove dead code too.
11892 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11893 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11894 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11895 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11897 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11899 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11900 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11901 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11902 Comment on variable precision.
11903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11904 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11906 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11907 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11908 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11909 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11910 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11912 2013-10-04 Alan Modra <amodra@gmail.com>
11914 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11915 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11916 all uses of ieee854 long double macros and unions.
11917 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11918 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11919 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11920 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11921 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11922 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11924 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11925 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11926 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11927 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11928 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11929 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11930 Simplify sign and nan test too.
11931 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11932 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11933 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11934 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11936 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11937 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11939 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11940 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11941 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11942 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11943 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11944 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11946 2013-10-04 Alan Modra <amodra@gmail.com>
11948 * stdio-common/printf_size.c (__printf_size): Don't use
11949 union ieee854_long_double in fpnum union.
11950 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11951 signbit macro to retrieve sign from long double.
11952 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11953 retrieve sign from long double.
11954 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11955 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11956 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11957 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11958 * math/test-misc.c (main): Don't use union ieee854_long_double.
11960 2013-10-04 Alan Modra <amodra@gmail.com>
11963 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11964 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11965 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11966 calculation. Remove unnecessary test for denormal exponent.
11967 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11968 Correct handling of denormals. Avoid undefined shift behaviour.
11969 Correct normalisation of low mantissa when low double is denormal.
11970 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11971 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11972 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11973 Correct normalisation of low mantissa. Test for overflow of high
11974 mantissa and normalise.
11975 (ldbl_nearbyint): Use more readable constant for two52.
11976 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11977 (__mpn_construct_long_double): Fix test for overflow of high
11978 mantissa and correct normalisation. Avoid undefined shift.
11980 2013-10-04 Alan Modra <amodra@gmail.com>
11982 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11983 (union ibm_extended_long_double): Define as an array of ieee754_double.
11984 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11985 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11986 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11987 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11988 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11989 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11990 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11991 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11992 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11993 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11994 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11996 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11998 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11999 page size instead of calling getpagesize.
12001 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12002 (LOCFILE_ALIGN_MASK): Likewise.
12003 (LOCFILE_ALIGN_UP): Likewise.
12004 (LOCFILE_ALIGNED_P): Likewise.
12005 * locale/programs/ld-collate.c (collate_output): Use the new
12006 macros instead of __alignof__ (int32_t).
12007 * locale/weight.h (findidx): Likewise.
12009 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
12012 * manual/string.texi: Fix strncat and wcsncat.
12014 2013-10-03 Brooks Moses <bmoses@google.com>
12017 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12018 * Makerules: ...here, and adjust associated comments.
12020 2013-10-02 Will Newton <will.newton@linaro.org>
12022 * malloc/Makefile: Add tst-pvalloc.
12023 * malloc/tst-pvalloc.c: New file.
12025 2013-10-02 Will Newton <will.newton@linaro.org>
12027 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12028 improve test coverage.
12030 2013-10-02 Will Newton <will.newton@linaro.org>
12032 * malloc/Makefile: Add tst-posix_memalign.
12033 * malloc/tst-posix_memalign.c: New file.
12035 2013-10-01 Eric Blake <eblake@redhat.com>
12037 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12038 Use __THROWNL rather than __THROW on static functions.
12040 2013-09-30 Petr Machata <pmachata@redhat.com>
12042 * elf/elf.h (R_AARCH64_ABS16): New macro.
12043 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12044 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12045 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12046 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12047 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12048 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12049 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12050 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12051 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12052 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12053 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12054 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12055 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12056 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12057 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12058 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12059 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12060 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12061 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12062 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12063 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12064 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12065 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12066 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12067 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12068 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12069 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12070 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12071 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12072 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12073 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12074 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12075 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12076 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12077 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12078 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12079 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12080 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12081 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12082 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12083 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12084 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12085 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12086 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12087 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12088 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12089 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12090 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12091 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12092 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12093 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12094 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12095 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12096 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12097 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12098 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12099 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12100 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12101 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12102 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12103 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12104 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12105 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12106 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12107 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12108 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12109 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12110 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12111 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12112 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12113 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12114 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12115 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12116 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12117 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12118 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12119 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12120 (R_AARCH64_TLSDESC_LDR): Likewise.
12121 (R_AARCH64_TLSDESC_ADD): Likewise.
12122 (R_AARCH64_TLSDESC_CALL): Likewise.
12124 2013-09-30 Andreas Schwab <schwab@suse.de>
12127 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12128 the nss database lookup.
12129 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12132 2013-09-28 Mike Frysinger <vapier@gentoo.org>
12134 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12136 2013-09-28 P. J. McDermott <pj@pehjota.net>
12138 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12139 ${Bash-specific parameter/pattern/string} parameter expansion.
12140 * sysdeps/unix/make-syscalls.sh: Likewise.
12142 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12144 * sysdeps/sh/stackguard-macros.h: New file.
12146 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
12148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12149 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12150 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12151 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12152 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12153 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12155 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12157 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12158 Fix thread ID register.
12160 2013-09-25 Joseph Myers <joseph@codesourcery.com>
12162 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12163 [POSIX || UNIX98]: Require rather than permitting all symbols from
12165 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12166 element of struct sched_param.
12167 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12168 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12169 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12170 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12173 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12175 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12176 argument calculation.
12178 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12180 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12182 [POSIX] (pthread_attr_t): Do not require type.
12183 [POSIX] (pthread_cond_t): Likewise.
12184 [POSIX] (pthread_condattr_t): Likewise.
12185 [POSIX] (pthread_key_t): Likewise.
12186 [POSIX] (pthread_mutex_t): Likewise.
12187 [POSIX] (pthread_mutexattr_t): Likewise.
12188 [POSIX] (pthread_once_t): Likewise.
12189 [POSIX] (pthread_t): Likewise.
12190 [POSIX-based standards] (pthread_atfork): Expect function.
12192 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12193 Richard Sandiford <richard@codesourcery.com>
12195 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12196 (swap_endianness_p): New extern variable.
12197 (set_big_endian): New inline function.
12198 (maybe_swap_uint32): Likewise.
12199 (maybe_swap_uint32_array): Likewise.
12200 (maybe_swap_uint32_obstack): Likewise.
12201 * locale/programs/locfile.c: Include <stdbool.h>.
12202 (swap_endianness_p): New variable.
12203 (add_locale_uint32): Call maybe_swap_uint32.
12204 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12205 (write_locale_data): Call maybe_swap_uint32_array.
12206 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12208 (obstack_int32_grow_fast): Likewise.
12209 (output_weightwc): Call maybe_swap_uint32_obstack.
12210 (collate_output): Likewise.
12211 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12212 (OPT_LITTLE_ENDIAN): Likewise.
12213 (options): Add --little-endian and --big-endian options.
12214 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12215 * locale/programs/locarchive.c: Include "locfile.h".
12219 (create_archive): Use the new macros to access fields of
12220 structures directly mapped from or written to locale archives.
12221 (oldlocrecentcmp): Likewise.
12222 (enlarge_archive): Likewise.
12223 (insert_name): Likewise.
12224 (add_alias): Likewise.
12225 (add_locale): Likewise.
12226 (delete_locales_from_archive): Likewise.
12227 (show_archive_content): Likewise.
12228 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12231 2013-09-24 Roland McGrath <roland@hack.frob.com>
12233 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12234 http://www.gnu.org/doc/freemanuals.texi.
12235 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12237 2013-09-24 Will Newton <will.newton@linaro.org>
12239 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12242 2013-09-23 Joseph Myers <joseph@codesourcery.com>
12244 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12247 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12249 * manual/threads.texi (POSIX Threads): Fix a typo.
12251 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12254 * string/tst-strcoll-overflow.c: New test case.
12255 * string/Makefile (xtests): Add tst-strcoll-overflow.
12256 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12257 cache if string sizes may cause integer overflow.
12260 * string/strcoll_l.c (coll_seq): New members rule, idx,
12261 save_idx and back_us.
12262 (get_next_seq_nocache): New function.
12263 (do_compare_nocache): New function.
12264 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12267 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12270 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12271 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12272 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12275 * elf/Makefile (tests): Add tst-ptrguard1.
12276 (tests-static): Add tst-ptrguard1-static.
12277 (tst-ptrguard1-ARGS): Define.
12278 (tst-ptrguard1-static-ARGS): Define.
12279 * elf/tst-ptrguard1.c: New file.
12280 * elf/tst-ptrguard1-static.c: New file.
12281 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12282 * sysdeps/i386/stackguard-macros.h: Likewise.
12283 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12284 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12285 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12286 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12287 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12288 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12290 2013-09-23 Hector Marco <hecmargi@upv.es>
12291 Ismael Ripoll <iripoll@disca.upv.es>
12292 Carlos O'Donell <carlos@redhat.com>
12295 * sysdeps/generic/stackguard-macros.h: Define
12296 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12297 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12298 Define __pointer_chk_guard_local.
12299 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12300 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12302 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12305 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12307 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12309 * include/string.h (__ffs): Declare as hidden.
12310 * string/ffs.c (__ffs): Define as hidden.
12311 * sysdeps/i386/ffs.c (__ffs): Likewise.
12312 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12313 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12314 * sysdeps/s390/ffs.c (__ffs): Likewise.
12315 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12317 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12319 * NEWS: Mention malloc probes.
12321 * malloc/arena.c (new_heap): New memory_heap_new probe.
12322 (grow_heap): New memory_heap_more probe.
12323 (shrink_heap): New memory_heap_less probe.
12324 (heap_trim): New memory_heap_free probe.
12325 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12326 (systrim): New memory_sbrk_less probe.
12327 * manual/probes.texi: Document them.
12329 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12330 * manual/probes.texi: Document it.
12332 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12333 (__libc_realloc): Add memory_realloc_retry probe.
12334 (__libc_memalign): Add memory_memalign_retry probe.
12335 (__libc_valloc): Add memory_valloc_retry probe.
12336 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12337 (__libc_calloc): Add memory_calloc_retry probe.
12338 * manual/probes.texi: Document them.
12340 * malloc/arena.c (get_free_list): Add probe
12341 memory_arena_reuse_free_list.
12342 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12343 and memory_arena_reuse.
12344 (arena_get2) [!PER_THREAD]: Likewise.
12345 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12346 memory_arena_reuse_realloc.
12347 * manual/probes.texi: Document them.
12349 * malloc/malloc.c (__libc_free): Add
12350 memory_mallopt_free_dyn_thresholds probe.
12351 (__libc_mallopt): Add multiple memory_mallopt probes.
12352 * manual/probes.texi: Document them.
12354 * malloc/malloc.c: Include stap-probe.h.
12355 (__libc_mallopt): Add memory_mallopt probe.
12356 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12357 * manual/probes.texi: New.
12358 * manual/Makefile (chapters): Add probes.
12359 * manual/threads.texi: Set next node.
12361 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12363 [BZ #15963, #13985]
12364 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12365 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12366 Add `Chinese' to `nan' entry name.
12368 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12370 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12371 (POLYNOMIAL): Likewise.
12372 (TAYLOR_SINCOS): Likewise.
12373 (TAYLOR_SLOW): Likewise.
12374 (__sin): Use TAYLOR_SINCOS.
12376 (slow): Use TAYLOR_SLOW.
12378 (bsloww): Likewise.
12379 (csloww): Likewise.
12381 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12383 * stdlib/strtod_l.c: Fix buffer overrun.
12385 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12387 * benchtests/Makefile (bench): Add sincos.
12388 * benchtests/bench-sincos.c: New file.
12390 * math/libm-test.inc (cos_test_data): New test inputs.
12391 (sin_test_data): Likewise.
12393 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12399 (sloww1): Likewise.
12400 (sloww2): Likewise.
12401 (bsloww1): Likewise.
12402 (bsloww2): Likewise.
12403 (cslow2): Likewise.
12404 (csloww1): Likewise.
12405 (csloww2): Likewise.
12407 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12412 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12416 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12418 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12419 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12420 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12421 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12422 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12423 * elf/cache.c (print_entry): Handle the new cache flags.
12425 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12426 Aldy Hernandez <aldyh@redhat.com>
12428 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12429 Change condition to [_SOFT_FLOAT].
12430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12437 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12441 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12442 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12443 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12445 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12448 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12450 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12451 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12452 (__longjmp): Use LOAD_GP to load saved GPRs.
12453 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12454 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12455 (__sigsetjmp): Use SAVE_GP to save GPRs.
12457 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12458 Do not append -msoft-float.
12459 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12461 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12463 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12465 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12468 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12469 (_FPU_GETCW): Use initial "__" on variable and field names but not
12470 on macro parameter name.
12471 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12472 parentheses around reference to macro parameter.
12474 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12476 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12478 (ctype_startup): Use uint32_t in cast and sizeof for
12481 2013-09-11 Jia Liu <proljc@gmail.com>
12483 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12485 [__FreeBSD__]: Likewise.
12487 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12490 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12491 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12492 (strchr): Remove __strchr_sse42 ifunc selection.
12493 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12494 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12496 2013-09-11 Will Newton <will.newton@linaro.org>
12498 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12499 parameter to RES. Remove hardcoded 1000 value.
12500 * benchtests/bench-skeleton.c (main): Pass RES parameter
12501 to TIMING_INIT and multiply result by 1000.
12503 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12507 2013-09-11 Andreas Schwab <schwab@suse.de>
12509 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12511 (O_TMPFILE) [__USE_GNU]: Define.
12512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12515 2013-09-11 Will Newton <will.newton@linaro.org>
12518 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12521 2013-09-11 Will Newton <will.newton@linaro.org>
12524 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12527 2013-09-11 Will Newton <will.newton@linaro.org>
12530 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12533 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12535 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12536 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12537 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12538 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12539 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12541 2013-09-10 Allan McRae <allan@archlinux.org>
12544 * manual/arith.texi (Parsing of Floats): Clarify
12548 * manual/install.texi (Running make install): Mention
12550 * INSTALL: Regenerated.
12552 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12554 * csu/init-first.c (_init): Remove the !SHARED condition around
12555 FPU control word initialization.
12556 * elf/dl-support.c (_dl_fpu_control): New variable.
12557 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12558 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12559 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12560 * math/test-fpucw-static.c: New file.
12561 * math/test-fpucw-ieee.c: New file.
12562 * math/test-fpucw-ieee-static.c: New file.
12563 * math/Makefile (tests): Add `test-fpucw-ieee' and
12565 (tests-static): New variable.
12566 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12568 [($(build-shared),yes)]
12569 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12571 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12574 2013-09-09 Allan McRae <allan@archlinux.org>
12577 * manual/string.texi (Collation Functions): Fix typo in
12579 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12582 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12585 * libio/memstream.c (open_memstream): Fix memory leak.
12586 * libio/wmemstream.c (open_wmemstream): Likewise.
12589 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12591 2013-09-09 Will Newton <will.newton@linaro.org>
12593 * malloc/Makefile: Add tst-realloc to tests.
12594 * malloc/tst-realloc.c: New file.
12596 2013-09-09 Allan McRae <allan@archlinux.org>
12599 * COPYING: Update from GNU website to fix FSF address.
12600 * COPYING.LIB: Likewise.
12602 2013-09-06 David S. Miller <davem@davemloft.net>
12604 * po/zh_TW.po: Update Chinese (traditional) translation from
12605 translation project.
12607 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12608 Joseph Myers <joseph@codesourcery.com>
12610 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12612 (obstack_chunk_alloc): New macro.
12613 (obstack_chunk_free): Likewise.
12614 (record_offset): New function.
12615 (init_locale_data): Likewise.
12616 (align_locale_data): Likewise.
12617 (add_locale_empty): Likewise.
12618 (add_locale_raw_data): Likewise.
12619 (add_locale_raw_obstack): Likewise.
12620 (add_locale_string): Likewise.
12621 (add_locale_wstring): Likewise.
12622 (add_locale_uint32): Likewise.
12623 (add_locale_uint32_array): Likewise.
12624 (add_locale_char): Likewise.
12625 (start_locale_structure): Likewise.
12626 (end_locale_structure): Likewise.
12627 (start_locale_prelude): Likewise.
12628 (end_locale_prelude): Likewise.
12629 (write_locale_data): Take locale_file structure rather than an
12631 * locale/programs/locfile.h: Include "obstack.h".
12632 (struct locale_file): Change to store locale file contents instead
12634 (init_locale_data): New prototype.
12635 (align_locale_data): Likewise.
12636 (add_locale_empty): Likewise.
12637 (add_locale_raw_data): Likewise.
12638 (add_locale_raw_obstack): Likewise.
12639 (add_locale_string): Likewise.
12640 (add_locale_wstring): Likewise.
12641 (add_locale_uint32): Likewise.
12642 (add_locale_uint32_array): Likewise.
12643 (add_locale_char): Likewise.
12644 (start_locale_structure): Likewise.
12645 (end_locale_structure): Likewise.
12646 (start_locale_prelude): Likewise.
12647 (end_locale_prelude): Likewise.
12648 (write_locale_data): Update prototype.
12649 * locale/programs/3level.h (struct TABLE): Remove result field.
12650 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12651 Use new locale_file interface.
12652 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12653 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12654 * locale/programs/ld-address.c (address_output): Use new
12655 locale_file interface.
12656 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12658 (collate_finish): Don't call collseq_table_finalize.
12659 (collate_output): Use new locale_file interface.
12660 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12662 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12663 (TABLE): Move defines earlier in file.
12664 (ELEMENT): Likewise.
12665 (DEFAULT): Likewise.
12666 (wctrans_table_add): Move macro and inline function earlier in
12668 (struct wctype_table): Move type earlier in file.
12669 (add_locale_wctype_table): New static prototype.
12670 (struct locale_ctype_t): Use logical types instead of struct iovec
12671 pointers for members.
12672 (ctype_output): Use new locale_file interface.
12673 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12674 new locale_file interface.
12675 (allocate_arrays): Update for use of new locale_file interface.
12676 * locale/programs/ld-identification.c (identification_output): Use
12677 new locale_file interface.
12678 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12679 * locale/programs/ld-messages.c (messages_output): Likewise.
12680 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12681 * locale/programs/ld-name.c (name_output): Likewise.
12682 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12683 * locale/programs/ld-paper.c (paper_output): Likewise.
12684 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12685 * locale/programs/ld-time.c (time_output): Likewise.
12687 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12689 * benchtests/Makefile: Add memrchr benchmark.
12690 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12691 benchmark as memrchr.
12692 * benchtests/bench-memrchr-ifunc.c: New file.
12693 * benchtests/bench-memrchr.c: New file.
12695 2013-09-06 Will Newton <will.newton@linaro.org>
12697 * benchtests/Makefile (string-bench): Add memcpy.
12699 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12700 Cong Wang <amwang@redhat.com>
12703 * sysdeps/unix/sysv/linux/bits/in.h
12704 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12705 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12706 before __USE_KERNEL_IPV6_DEFS uses.
12707 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12709 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12710 sockaddr_in6, or ipv6_mreq.
12712 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12714 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12715 memory access for final bytes in some large inputs.
12716 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12718 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12720 * string/test-memrchr.c: New file.
12721 * string/test-memrchr-ifunc.c: New file.
12722 * string/Makefile: Add new memrchr testcase.
12724 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12726 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12727 fanotify_init returns EPERM.
12729 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12731 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12733 (top level): Treat second token from macro or constant entries for
12734 allowed headers as allowed.
12735 * include/complex.h: Condition internal declarations on
12737 * include/fenv.h: Condition include of <stdbool.h> and internal
12738 declarations on [!_ISOMAC].
12740 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12743 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12745 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12747 * configure.in (--enable-versioning): Remove configure option.
12748 (libc_cv_asm_symver_directive): Remove configure test.
12749 (libc_cv_ld_version_script_option): Likewise.
12750 (VERSIONING): Remove variable and AC_SUBST.
12751 (DO_VERSIONING): Remove AC_DEFINE.
12752 * configure: Regenerated.
12753 * config.h.in (DO_VERSIONING): Remove macro.
12754 * Makerules [$(versioning) = yes]: Change conditionals to
12755 [$(build-shared) = yes].
12756 * config.make.in (versioning): Remove variable.
12757 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12758 [$(build-shared) = yes].
12759 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12760 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12761 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12762 [$(build-shared) = yes].
12763 * extra-lib.mk [$(versioning) = yes]: Likewise.
12764 * hurd/Makefile [$(versioning) = yes]: Likewise.
12765 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12767 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12769 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12770 [SHARED && !NO_HIDDEN].
12771 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12773 [SHARED && DO_VERSIONING]: Likewise..
12774 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12775 [$(build-shared) = yes].
12776 * manual/install.texi (--disable-versioning): Remove
12778 * INSTALL: Regenerated.
12779 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12781 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12782 [$(build-shared) = yes].
12783 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12784 * sysdeps/i386/i686/multiarch/strstr-c.c
12785 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12786 [SHARED && !NO_HIDDEN].
12787 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12788 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12789 * sysdeps/powerpc/powerpc32/dl-machine.c
12790 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12791 * sysdeps/powerpc/powerpc32/sysdep.h
12792 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12793 to [SHARED && PIC && !NO_HIDDEN].
12794 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12795 conditional to [SHARED].
12797 2013-09-04 Will Newton <will.newton@linaro.org>
12799 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12800 * benchtests/bench-string.h: Include bench-timing.h instead
12801 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12802 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12803 call to HP_TIMING_DIFF_INIT.
12804 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12805 instead of hp-timing.h macros.
12806 * benchtests/bench-memchr.c: Likewise.
12807 * benchtests/bench-memcmp.c: Likewise.
12808 * benchtests/bench-memcpy.c: Likewise.
12809 * benchtests/bench-memmem.c: Likewise.
12810 * benchtests/bench-memmove.c: Likewise.
12811 * benchtests/bench-memset.c: Likewise.
12812 * benchtests/bench-rawmemchr.c: Likewise.
12813 * benchtests/bench-strcasecmp.c: Likewise.
12814 * benchtests/bench-strcasestr.c: Likewise.
12815 * benchtests/bench-strcat.c: Likewise.
12816 * benchtests/bench-strchr.c: Likewise.
12817 * benchtests/bench-strcmp.c: Likewise.
12818 * benchtests/bench-strcpy.c: Likewise.
12819 * benchtests/bench-strcpy_chk.c: Likewise.
12820 * benchtests/bench-strlen.c: Likewise.
12821 * benchtests/bench-strncasecmp.c: Likewise.
12822 * benchtests/bench-strncat.c: Likewise.
12823 * benchtests/bench-strncmp.c: Likewise.
12824 * benchtests/bench-strncpy.c: Likewise.
12825 * benchtests/bench-strnlen.c: Likewise.
12826 * benchtests/bench-strpbrk.c: Likewise.
12827 * benchtests/bench-strrchr.c: Likewise.
12828 * benchtests/bench-strspn.c: Likewise.
12829 * benchtests/bench-strstr.c: Likewise.
12831 2013-09-04 Will Newton <will.newton@linaro.org>
12833 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12835 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12838 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12839 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12840 * math/libm-test.inc (lgamma_test_data): Add more tests.
12841 * sysdeps/i386/fpu/libm-test-ulps: Update.
12842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12844 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12846 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12850 Add strcmp-sse2-unaligned
12851 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12853 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12855 * Versions.def (libc): Add GLIBC_2.19.
12857 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12859 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12860 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12862 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12865 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12866 intermediate calculations in recurrence.
12867 (__ieee754_ynf): Likewise.
12868 * math/libm-test.inc (jn_test_data): Do not allow spurious
12869 underflow exception. Add more tests.
12870 (yn_test_data): Add more tests.
12871 * sysdeps/i386/fpu/libm-test-ulps: Update.
12872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12874 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12876 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12878 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12880 * csu/init-first.c: Fix then/than typos.
12881 * locale/programs/ld-collate.c: Likewise.
12882 * locale/programs/linereader.h: Likewise.
12883 * manual/charset.texi: Likewise.
12884 * manual/filesys.texi: Likewise.
12885 * manual/stdio.texi: Likewise.
12886 * manual/string.texi: Likewise.
12887 * stdlib/fmtmsg.c: Likewise.
12888 * sysdeps/i386/stpncpy.S: Likewise.
12889 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12890 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12891 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12892 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12894 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12896 * elf/dl-open.c: Fix typos.
12897 * iconvdata/gbbig5.c: Likewise.
12898 * iconvdata/iso-2022-jp.c: Likewise.
12899 * iconv/gconv_int.h: Likewise.
12900 * iconv/loop.c: Likewise.
12901 * nis/rpcsvc/nis.h: Likewise.
12902 * resolv/ns_name.c: Likewise.
12903 * stdio-common/vfscanf.c: Likewise.
12904 * streams/stropts.h: Likewise.
12905 * sunrpc/rpc_thread.c: Likewise.
12906 * sysdeps/i386/strpbrk.S: Likewise.
12907 * sysdeps/ieee754/k_standard.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12910 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12911 * sysdeps/mach/hurd/profil.c: Likewise.
12912 * sysdeps/s390/dl-procinfo.h: Likewise.
12913 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12914 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12915 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12916 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12917 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12919 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12921 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12924 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12926 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12927 aix specific files.
12928 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12929 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12930 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12931 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12932 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12933 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12934 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12935 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12937 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12938 Roland McGrath <roland@hack.frob.com>
12940 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12941 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12943 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12945 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12946 __executable_start symbol instead of _start.
12948 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12950 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12951 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12953 * sysdeps/gnu/ldsodefs.h: ... this new file.
12955 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12956 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12957 instead of ELFOSABI_LINUX.
12959 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12960 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12961 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12962 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12964 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12965 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12966 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12968 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12969 (ibm_extended_long_double): Add ieee_nan member.
12970 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12971 (do_test): New function.
12973 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12975 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12976 functions, renamed from truncdfsf_test, trunctfsf_test,
12978 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12980 (do_test): Run all these.
12982 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12984 * argp/argp-help.c: Fix typos.
12985 * argp/argp-parse.c: Likewise.
12986 * debug/backtracesyms.c: Likewise.
12987 * elf/elf.h: Likewise.
12988 * malloc/malloc.c: Likewise.
12989 * nis/nis_print.c: Likewise.
12990 * resolv/res_comp.c: Likewise.
12991 * stdlib/stdlib.h: Likewise.
12992 * sunrpc/clnt_tcp.c: Likewise.
12993 * sunrpc/clnt_udp.c: Likewise.
12994 * sunrpc/clnt_unix.c: Likewise.
12995 * sysdeps/unix/bsd/ptsname.c: Likewise.
12996 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12997 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13004 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13006 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13008 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13011 2013-08-27 Mike Frysinger <vapier@gentoo.org>
13014 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13015 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13016 ($(objpfx)bug-dl-leaf): New rule.
13017 ($(objpfx)bug-dl-leaf.so): Likewise.
13018 ($(objpfx)bug-dl-leaf.out): Likewise.
13019 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13020 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13021 * dlfcn/bug-dl-leaf.c: New test.
13022 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13023 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13024 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13025 (dlclose): Likewise.
13026 (dlmopen): Likewise.
13028 2013-08-27 Roland McGrath <roland@hack.frob.com>
13030 * include/netdb.h [!_ISOMAC]:
13031 Don't include <tls.h>.
13032 (h_errno, __libc_h_errno): Move declaration and macros out of
13035 * include/resolv.h [_RESOLV_H_]:
13036 Don't include <tls.h>.
13037 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13038 * resolv/res_libc.c: Don't include <tls.h>.
13039 (_res): Use __attribute__ ((nocommon)) in place of
13040 __attribute__ ((section (".bss"))).
13042 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13043 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13045 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13047 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13048 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13050 * resolv/res_mkquery.c: Include <sys/time.h>.
13052 * inet/ifreq.c: Moved to ...
13053 * sysdeps/unix/ifreq.c: ... here.
13054 * inet/ifreq.c: New file, true stub version.
13056 * socket/sa_len.c: New file.
13057 * socket/Makefile (aux): Add it.
13058 * sysdeps/unix/sysv/linux/Makefile
13059 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13060 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13061 and #include <socket/sa_len.c>.
13062 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13063 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13065 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13066 * bits/socket.h: ... here.
13068 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13069 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13070 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13072 2013-08-27 Andreas Schwab <schwab@suse.de>
13075 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13076 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13077 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13078 * string/test-strcasecmp.c (test_main): Run tests in several
13080 * string/test-strncasecmp.c (test_main): Likewise.
13082 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13083 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13084 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13085 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13086 (__strncasecmp_ssse3) [PIC]: Likewise.
13088 2013-08-26 Roland McGrath <roland@hack.frob.com>
13090 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13092 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13093 instead of explicitly declaring xdecrypt.
13094 * nis/nss_nis/nis-publickey.c: Likewise.
13096 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13099 * nscd/aicache.c: Include res_hconf.h.
13100 (addhstaiX): Initialize res_hconf.
13102 2013-08-26 Andreas Schwab <schwab@suse.de>
13104 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13105 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13107 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13109 * nscd/aicache.c (addhstaiX): Fix indentation.
13111 2013-08-25 Mike Frysinger <vapier@gentoo.org>
13113 * configure.ac: Quote $build_pt_chown test.
13114 * configure: Regenerated.
13116 2013-08-23 Joseph Myers <joseph@codesourcery.com>
13119 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13120 * math/s_cexpf.c (__cexpf): Likewise.
13121 * math/s_cexpl.c (__cexpl): Likewise.
13122 * math/libm-test.inc (cexp_test_data): Correct expected return
13123 value for NaN + i0. Add another test.
13125 2013-08-22 David S. Miller <davem@davemloft.net>
13127 * po/ca.po: Update Catalan translation from translation project.
13128 * po/uk.po: Add Ukrainian translations from translation project.
13130 2013-08-21 Joseph Myers <joseph@codesourcery.com>
13133 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13134 is infinite, not alongside NaN test.
13135 * math/s_fdimf.c (__fdimf): Likewise.
13136 * math/s_fdiml.c (__fdiml): Likewise.
13137 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13138 errno is unchanged.
13140 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
13142 * argp/argp-help.c: Fix typos.
13143 * crypt/speeds.c: Likewise.
13144 * csu/check_fds.c: Likewise.
13145 * elf/dl-load.c: Likewise.
13146 * elf/dl-open.c: Likewise.
13147 * elf/reldep3.c: Likewise.
13148 * elf/reldep.c: Likewise.
13149 * elf/sprof.c: Likewise.
13150 * iconv/iconv_charmap.c: Likewise.
13151 * iconv/skeleton.c: Likewise.
13152 * iconv/strtab.c: Likewise.
13153 * io/lockf64.c: Likewise.
13154 * libio/libioP.h: Likewise.
13155 * resolv/gai_notify.c: Likewise.
13156 * resolv/ns_name.c: Likewise.
13157 * resolv/ns_samedomain.c: Likewise.
13158 * resolv/res_send.c: Likewise.
13159 * stdlib/random.c: Likewise.
13160 * sunrpc/rpc/xdr.h: Likewise.
13161 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13162 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13163 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13164 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13165 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13166 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13168 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13169 * sysdeps/mach/hurd/check_fds.c: Likewise.
13170 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13171 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13172 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13173 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13174 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13175 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13176 * sysdeps/pthread/aio_notify.c: Likewise.
13177 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13178 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13179 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13180 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13181 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13183 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13185 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13186 version if bit_Slow_SSE4_2 is set.
13187 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13188 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13190 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13193 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13194 trampoline stack frame information.
13195 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13196 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13197 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13198 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13199 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13200 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13201 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13202 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13204 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13205 interrupting a syscall and set with option SA_SIGINFO.
13207 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13210 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13211 argument is infinite.
13212 * math/s_cprojf.c (__cprojf): Likewise.
13213 * math/s_cprojl.c (__cprojl): Likewise.
13214 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13215 * math/libm-test.inc (cproj_test_data): Add more tests.
13217 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13219 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13220 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13221 size. Use __ffs to determine corresponding shift.
13223 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13224 Roland McGrath <roland@hack.frob.com>
13226 * Makefile (INSTALL): Remove trailing blank lines from output of
13229 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13231 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13232 Align 32 bit compat elf_greg to 8 bytes.
13234 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13236 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13238 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13240 * string/strcoll_l.c (coll_seq): New structure.
13241 (get_next_seq_cached): New function.
13242 (get_next_seq): New function.
13243 (do_compare): New function.
13244 (STRCOLL): Use GNU style definition. Simplify implementation
13245 by using get_next_seq, get_next_seq_cached and do_compare.
13247 2013-08-16 Florian Weimer <fweimer@redhat.com>
13251 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13253 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13255 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13256 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13257 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13259 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13260 GETDENTS_64BIT_ALIGNED.
13261 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13262 * manual/filesys.texi (Reading/Closing Directory): Document
13263 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13265 * manual/conf.texi (Limits for Files): Add portability note to
13266 NAME_MAX, PATH_MAX.
13267 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13269 2013-08-13 Andreas Schwab <schwab@suse.de>
13272 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13274 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13275 LDBL_MAX_EXP >= 16384]: Add tests for it.
13277 2013-08-12 David S. Miller <davem@davemloft.net>
13279 * version.h (RELEASE): Set to "development".
13280 (VERSION): Set to "2.18.90".
13281 * NEWS: Add 2.19 section.
13283 2013-08-03 David S. Miller <davem@davemloft.net>
13285 * po/ko.po: Update Korean translation from translation project.
13287 2013-08-01 David S. Miller <davem@davemloft.net>
13289 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13290 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13293 2013-07-30 David S. Miller <davem@davemloft.net>
13295 * po/fr.po: Update French translation from translation project.
13297 2013-07-28 David S. Miller <davem@davemloft.net>
13299 * po/cs.po: Update Czech translation from translation project.
13301 * po/sv.po: Update Swedish translation from translation project.
13303 2013-07-27 David S. Miller <davem@davemloft.net>
13305 * po/eo.po: Update Esperanto translation from translation project.
13307 * po/vi.po: Update Vietnamese translation from translation project.
13309 * po/de.po: Update German translation from translation project.
13311 2013-07-26 David S. Miller <davem@davemloft.net>
13313 * po/bg.po: Update Bulgarian translation from translation project.
13315 * po/nl.po: Update Dutch translation from translation project.
13316 * po/pl.po: Update Polish translation from translation project.
13317 * po/ru.po: Update Russian translation from translation project.
13319 2013-07-24 David S. Miller <davem@davemloft.net>
13321 * po/libc.pot: Update.
13323 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13325 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13326 variable page size.
13327 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13328 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13329 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13331 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13333 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13335 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13336 Andreas Schwab <schwab@suse.de>
13337 Roland McGrath <roland@hack.frob.com>
13338 Joseph Myers <joseph@codesourcery.com>
13339 Carlos O'Donell <carlos@redhat.com>
13342 * config.h.in: Define HAVE_PT_CHOWN.
13343 * config.make.in (build-pt-chown): New variable.
13344 * configure.in (--enable-pt_chown): New configure option.
13345 * configure: Regenerate.
13346 * login/Makefile: Include Makeconfig. Build pt_chown only if
13347 build-pt-chown is enabled.
13348 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13349 pt_chown to fix pty ownership.
13350 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13352 * manual/install.texi (Configuring and compiling): Mention
13353 --enable-pt_chown. Add @findex for grantpt.
13354 * INSTALL: Regenerate.
13356 2013-07-20 David S. Miller <davem@davemloft.net>
13358 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13359 difference between 32-bit and 64-bit.
13361 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13364 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13365 Avoid system header dependency with -ffreestanding.
13366 ($(objpfx)bits/syscall%d): Likewise.
13368 2013-07-13 David S. Miller <davem@davemloft.net>
13370 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13371 underflows from atanl/atan2l due to bug 15319.
13372 (casinh_test_data): Likewise.
13374 2013-07-07 David S. Miller <davem@davemloft.net>
13376 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13378 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13380 * sysdeps/i386/fpu/libm-test-ulps: Update.
13381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13383 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13385 * configure.in (--enable-lock-elision): Fix message text.
13386 * INSTALL: Regenerate.
13387 * configure: Regenerate.
13389 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13393 2013-07-03 Andreas Jaeger <aj@suse.de>
13395 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13397 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13398 (ptrace_peeksiginfo_args): Add.
13399 (__ptrace_peeksiginfo_flags): Add.
13400 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13401 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13404 2013-07-03 Allan McRae <allan@archlinux.org>
13406 * sysdeps/i386/fpu/libm-test-ulps: Update.
13408 2013-07-02 David S. Miller <davem@davemloft.net>
13410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13412 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13416 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13418 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13421 2013-07-02 Andi Kleen <ak@linux.intel.com>
13423 * config.h.in (ENABLE_LOCK_ELISION): Add.
13424 * configure.in (--enable-lock-elision): Add option.
13425 * manual/install.texi: Document --enable lock elision.
13426 * configure: Regenerate
13427 * INSTALL: Regenerate.
13429 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13431 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13432 SSE4.2 strcasecmp for libc.a.
13433 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13435 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13438 * soft-fp/op-common.h (_FP_FMA): New macro.
13439 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13440 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13441 (_FP_MUL_MEAT_1_imm): ... here.
13442 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13443 (_FP_MUL_MEAT_1_wide): ... here.
13444 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13445 (_FP_MUL_MEAT_1_hard): ... here.
13446 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13447 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13448 (_FP_MUL_MEAT_2_wide): ... here.
13449 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13450 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13451 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13452 (_FP_MUL_MEAT_2_gmp): ... here.
13453 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13454 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13455 (_FP_MUL_MEAT_4_wide): ... here.
13456 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13457 (_FP_MUL_MEAT_4_gmp): ... here.
13458 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13459 (_FP_WFRACBITS_DW_S): Likewise.
13460 (_FP_WFRACXBITS_DW_S): Likewise.
13461 (_FP_HIGHBIT_DW_S): Likewise.
13462 (FP_FMA_S): Likewise.
13463 (_FP_FRAC_HIGH_DW_S): Likewise.
13464 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13465 (_FP_WFRACBITS_DW_D): Likewise.
13466 (_FP_WFRACXBITS_DW_D): Likewise.
13467 (_FP_HIGHBIT_DW_D): Likewise.
13468 (FP_FMA_D): Likewise.
13469 (_FP_FRAC_HIGH_DW_D): Likewise.
13470 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13471 (_FP_WFRACBITS_DW_E): Likewise.
13472 (_FP_WFRACXBITS_DW_E): Likewise.
13473 (_FP_HIGHBIT_DW_E): Likewise.
13474 (FP_FMA_E): Likewise.
13475 (_FP_FRAC_HIGH_DW_E): Likewise.
13476 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13477 (_FP_WFRACBITS_DW_Q): Likewise.
13478 (_FP_WFRACXBITS_DW_Q): Likewise.
13479 (_FP_HIGHBIT_DW_Q): Likewise.
13480 (FP_FMA_Q): Likewise.
13481 (_FP_FRAC_HIGH_DW_Q): Likewise.
13482 * soft-fp/fmasf4.c: New file.
13483 * soft-fp/fmadf4.c: Likewise.
13484 * soft-fp/fmatf4.c: Likewise.
13486 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13489 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13491 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13493 (index_Slow_SSE4_2): Likewise.
13494 (index_Prefer_PMINUB_for_stringop): Likewise.
13495 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13496 bit_Slow_SSE4_2 is set.
13497 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13498 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13500 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13502 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13503 rtld_global._dl_hwcap2.
13504 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13506 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13507 POWER8 feature descriptions defined in _dl_hwcap2.
13508 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13509 string handling for POWER8 feature bits.
13510 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13511 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13512 _dl_powerpc_cap_flags.
13513 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13514 * sysdeps/powerpc/rtld-global-offsets.sym
13515 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13516 _dl_hwcap2 in the rtld_global_ro structure.
13518 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13520 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13521 hardware capabilities in support of AT_HWCAP2.
13522 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13523 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13525 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13526 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13527 explicitly the unknown a_type display mechanism is used.
13528 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13529 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13531 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13532 to macro prototype for AT_HWCAP2 support.
13533 * sysdeps/i386/dl-procinfo.h: Likewise.
13534 * sysdeps/s390/dl-procinfo.h: Likewise.
13535 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13536 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13537 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13538 return -1 for unknown a_type display fallback.
13539 * sysdeps/sparc/dl-procinfo.h: Likewise.
13540 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13541 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13543 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13545 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13546 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13548 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13551 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13552 mprotect making __stack_prot writable.
13554 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13555 Joseph Myers <joseph@codesourcery.com>
13557 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13558 as being properly aligned.
13560 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13562 * dlfcn/modstatic5.c: New file.
13563 * dlfcn/tststatic5.c: New file.
13564 * dlfcn/Makefile (tests): Add tststatic5.
13565 (tests-static): Likewise.
13566 (modules-names): Add modstatic5.
13567 (tststatic5-ENV): New variable.
13568 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13571 * elf/dl-support.c (_dl_main_map): New variable.
13572 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13573 (_dl_nns, _dl_load_adds): Set to 1.
13574 (_dl_initial_searchlist): Refer to _dl_main_map.
13575 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13576 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13577 call to _dl_get_origin.
13578 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13580 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13581 * dlfcn/modstatic3.c: New file.
13582 * dlfcn/tststatic3.c: New file.
13583 * dlfcn/tststatic4.c: New file.
13584 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13585 (tests-static): Likewise.
13586 (modules-names): Add modstatic3.
13587 (tststatic3-ENV, tststatic4-ENV): New variables.
13588 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13589 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13591 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13593 * configure.in (CC): Require GCC version 4.4 or later.
13594 * configure: Regenerated.
13595 * manual/install.texi (Tools for Compilation): Update GCC version
13597 * INSTALL: Regenerated.
13599 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13602 * string/test-memcmp.c (check2): New.
13603 (main): Call check2.
13605 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13607 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13610 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13612 (dl_open_worker) [!SHARED]: ... here.
13614 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13616 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13618 2013-06-25 Richard Henderson <rth@redhat.com>
13620 * locale/programs/locarchive.c: Include <libc-internal.h>
13622 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13624 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13625 trailing whitespace removed.
13627 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13630 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13631 * locale/programs/locarchive.c: Include libc-mmap.h.
13632 (prepare_address_space): Take two new outputs (the mmap base and len).
13633 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13635 (create_archive): Declare new mmap base and len values for
13636 prepare_address_space, and store the result in ah.
13637 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13638 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13639 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13640 Declare new mmap base and len values for
13641 prepare_address_space, and store the result in new_ah.
13642 (open_archive): Declare new mmap base and len values for
13643 prepare_address_space, and store the result in ah.
13644 (close_archive): If ah->mmap_base is not NULL, use that and
13645 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13646 * sysdeps/generic/libc-mmap.h: New file.
13648 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13650 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13651 (ALIGN_UP): Likewise.
13652 (PTR_ALIGN_DOWN): Likewise.
13653 (PTR_ALIGN_UP): Likewise.
13655 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13657 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13658 entry mapped to PPC_PLATFORM_POWER8.
13659 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13661 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13662 (_dl_string_platform): Add case for exporting platform position for
13664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13665 search path to sysdeps/powerpc/powerpc32/power8 directory.
13666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13667 search path to sysdeps/powerpc/powerpc64/power8 directory.
13668 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13669 power7 directories.
13670 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13671 power7 directories.
13673 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13675 * INSTALL: Regenerate.
13677 * nscd/connections.c (nscd_init): Fix comment.
13679 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13681 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13684 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13685 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13687 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13689 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13691 (DL_DST_REQ_STATIC): Remove macro.
13693 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13696 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13697 with a shift of 0 bits.
13699 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13701 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13704 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13707 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13709 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13711 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13712 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13713 accepts -fno-tree-loop-distribute-patterns.
13714 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13715 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13717 * string/memset.c (memset): Likewise.
13718 * string/test-memmove.c (simple_memmove): Disable loop transformation
13720 * string/test-memset.c (simple_memset): Likewise.
13721 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13722 * benchtests/bench-memset.c (simple_memset): Likewise.
13723 * configure: Regenerated.
13725 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13727 * math/test-misc.c (main): Ignore fesetround failure when failures
13728 of subsequent rounding tests would be ignored.
13731 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13732 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13733 * math/fegetenv.c (__fegetenv): Return 0.
13734 * math/fegetexcept.c (fegetexcept): Return 0.
13735 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13737 * math/feholdexcpt.c (feholdexcept): Return 0.
13738 * math/fesetenv.c (__fesetenv): Return 0.
13739 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13740 argument FE_TONEAREST.
13741 * math/feupdateenv.c (__feupdateenv): Return 0.
13742 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13744 2013-06-18 Roland McGrath <roland@hack.frob.com>
13746 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13747 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13748 ($(objpfx)rtld-%.os rules): Use them.
13750 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13752 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13755 2013-06-17 Roland McGrath <roland@hack.frob.com>
13757 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13758 length of target pattern, then descending length of dependency pattern.
13759 * configure.in (AWK): Require gawk 3.1.2 or newer.
13760 * manual/install.texi (Tools for Compilation): Say that we do.
13761 * configure: Regenerated.
13763 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13764 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13765 * scripts/sysd-rules.awk: ... this new script.
13766 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13767 than a glob-style pattern.
13769 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13771 * math/test-misc.c (main): Do not treat incorrectly rounded
13772 conversions as failure unless ROUNDING_TESTS passes.
13774 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13777 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13778 restore exception state around main square root computation, then
13779 check for inexactness explicitly.
13781 * math/libm-test.inc (fma_test_data): Add another test.
13783 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13785 * manual/threads.texi (Non-POSIX Extensions): New document
13786 node. Document pthread_getattr_default_np and
13787 pthread_setattr_default_np.
13789 * Versions.def (libpthread): Add GLIBC_2.18.
13790 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13799 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13810 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13813 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13815 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13816 H.J. Lu <hjl.tools@gmail.com>
13819 * sysdeps/x86_64/rtld-memset.c: Remove file.
13820 * sysdeps/x86_64/rtld-memset.S: New file.
13822 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13824 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13825 (test_in_one_mode): Take arguments for whether the rounding mode
13826 is supported for each floating-point type.
13827 (do_test): Pass new arguments to test_in_one_mode using
13830 2013-06-13 Roland McGrath <roland@hack.frob.com>
13832 * posix/tst-waitid.c (do_test): Distinguish different instances of
13833 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13834 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13835 before entering the kernel for waitpid.
13837 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13839 * NEWS: Fix note on clock function precision. Text by Roland
13842 2013-06-13 Roland McGrath <roland@hack.frob.com>
13844 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13845 it into place only when and if the sanity check passes.
13847 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13849 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13850 output for whether conversion result is exact. Take argument
13851 indicating whether type is IBM long double.
13852 (round_for_all): Change need_exact field to ibm_ld.
13853 * stdlib/tst-strtod-round.c (struct exactness): New type.
13854 (struct test): Change bool ld_ok field to struct exactness exact.
13855 (TEST): Update all definitions for change to field.
13856 (tests): Regenerate array contents.
13857 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13858 field value. Check for IBM long double here.
13859 (do_test): Update calls to test_in_one_mode.
13861 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13864 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13865 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13867 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13870 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13871 generated by the compiler on loop optimizations.
13872 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13873 general definitions.
13875 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13877 * math/bug-nextafter.c: Include <math-tests.h>.
13878 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13880 * math/bug-nexttoward.c: Include <math-tests.h>.
13881 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13883 * math/test-misc.c: Include <math-tests.h>.
13884 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13887 2013-06-12 Andreas Jaeger <aj@suse.de>
13889 * po/ia.po: Update Interlingua translation from translation
13892 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13894 * include/fenv.h: Include stdbool.h.
13895 (struct rm_ctx): New structure.
13896 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13898 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13899 (SET_RESTORE_ROUNDF): Likewise.
13900 (SET_RESTORE_ROUNDL): Likewise.
13901 (SET_RESTORE_ROUND_NOEX): Likewise.
13902 (SET_RESTORE_ROUND_NOEXF): Likewise.
13903 (SET_RESTORE_ROUND_NOEXL): Likewise.
13904 (SET_RESTORE_ROUND_53BIT): Likewise.
13905 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13906 (libc_feresetround_noexf_ctx): Likewise.
13907 (libc_feresetround_noexl_ctx): Likewise.
13908 (libc_feholdsetround_53bit_ctx): Likewise.
13909 (libc_feresetround_53bit_ctx): Likewise.
13910 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13911 (libc_feholdexcept_setround_sse_ctx): New function.
13912 (libc_fesetenv_sse_ctx): Likewise.
13913 (libc_feupdateenv_sse_ctx): Likewise.
13914 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13915 (libc_feholdexcept_setround_387_ctx): Likewise.
13916 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13917 (libc_feholdsetround_387_prec_ctx): Likewise.
13918 (libc_feholdsetround_387_ctx): Likewise.
13919 (libc_feholdsetround_387_53bit_ctx): Likewise.
13920 (libc_feholdsetround_sse_ctx): Likewise.
13921 (libc_feresetround_sse_ctx): Likewise.
13922 (libc_feresetround_387_ctx): Likewise.
13923 (libc_feupdateenv_387_ctx): Likewise.
13924 (libc_feholdexcept_setroundf_ctx): Define macro.
13925 (libc_fesetenvf_ctx): Likewise.
13926 (libc_feupdateenvf_ctx): Likewise.
13927 (libc_feholdsetroundf_ctx): Likewise.
13928 (libc_feresetroundf_ctx): Likewise.
13929 (libc_feholdexcept_setround_ctx): Likewise.
13930 (libc_fesetenv_ctx): Likewise.
13931 (libc_feupdateenv_ctx): Likewise.
13932 (libc_feholdsetround_ctx): Likewise.
13933 (libc_feresetround_ctx): Likewise.
13934 (libc_feholdexcept_setroundl_ctx): Likewise.
13935 (libc_feupdateenvl_ctx): Likewise.
13936 (libc_feholdsetroundl_ctx): Likewise.
13937 (libc_feresetroundl_ctx): Likewise.
13938 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13939 (libc_feresetround_53bit_ctx): Likewise.
13941 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13943 * locale/iso-639.def: Convert to UTF-8.
13945 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13947 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13948 (EXCEPTION_TESTS_double): Likewise.
13949 (EXCEPTION_TESTS_long_double): Likewise.
13950 (EXCEPTION_TESTS): Likewise.
13951 * math/libm-test.inc (test_exceptions): Only test exceptions if
13952 EXCEPTION_TESTS (FLOAT).
13954 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13956 * benchtests/Makefile (string-bench): Add strcpy_chk and
13958 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13959 * benchtests/bench-stpcpy_chk.c: New file.
13960 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13961 * benchtests/bench-strcpy_chk.c: New file.
13962 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13964 (do_test): Likewise.
13966 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13968 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13969 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13970 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13971 with tabs where appropriate.
13972 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13974 [PPC_PLATFORM_PPC440]: Likewise.
13975 [PPC_PLATFORM_PPC464]: Likewise.
13976 [PPC_PLATFORM_PPC476]: Likewise.
13977 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13978 ppc464, and ppc476 platform strings merging from ports/
13981 2013-06-11 Andreas Schwab <schwab@suse.de>
13984 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13985 (from_ucs4_idx): Regenerate.
13986 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13987 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13988 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13989 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13990 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13991 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13992 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13993 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13994 from FROM_LOOP and TO_LOOP specific macros.
13995 (BODY): Handle combining characters.
13996 * iconvdata/BIG5HKSCS.irreversible: Update.
13997 * iconvdata/BIG5HKSCS.precomposed: New file.
13998 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14000 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14002 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14004 * include/sys/time.h: Fix indentation and add copyright header.
14006 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14007 (do_test): Likewise.
14008 * string/test-memchr.c (do_one_test): Likewise.
14009 (do_test): Likewise.
14010 * string/test-memcmp.c (do_one_test): Likewise.
14011 (do_test): Likewise.
14012 * string/test-memcpy.c (do_one_test): Likewise.
14013 (do_test): Likewise.
14014 * string/test-memmem.c (do_one_test): Likewise.
14015 (do_test): Likewise.
14016 (do_random_tests): Likewise.
14017 * string/test-memmove.c (do_one_test): Likewise.
14018 (do_test): Likewise.
14019 * string/test-memset.c (do_one_test): Likewise.
14020 (do_test): Likewise.
14021 * string/test-rawmemchr.c (do_one_test): Likewise.
14022 (do_test): Likewise.
14023 * string/test-strcasecmp.c (do_one_test): Likewise.
14024 (do_test): Likewise.
14025 * string/test-strcasestr.c (do_one_test): Likewise.
14026 (do_test): Likewise.
14027 * string/test-strcat.c (do_one_test): Likewise.
14028 (do_test): Likewise.
14029 * string/test-strchr.c (do_one_test): Likewise.
14030 (do_test): Likewise.
14031 * string/test-strcmp.c (do_one_test): Likewise.
14032 (do_test): Likewise.
14033 * string/test-strcpy.c (do_one_test): Likewise.
14034 (do_test): Likewise.
14035 * string/test-string.h: Likewise.
14036 (test_init): Likewise.
14037 * string/test-strlen.c (do_one_test): Likewise.
14038 (do_test): Likewise.
14039 * string/test-strncasecmp.c (do_one_test): Likewise.
14040 (do_test): Likewise.
14041 * string/test-strncat.c (do_one_test): Likewise.
14042 (do_test): Likewise.
14043 * string/test-strncmp.c (do_one_test): Likewise.
14044 (do_test_limit): Likewise.
14045 (do_test): Likewise.
14046 * string/test-strncpy.c (do_one_test): Likewise.
14047 (do_test): Likewise.
14048 * string/test-strnlen.c (do_one_test): Likewise.
14049 (do_test): Likewise.
14050 * string/test-strpbrk.c (do_one_test): Likewise.
14051 (do_test): Likewise.
14052 * string/test-strrchr.c (do_one_test): Likewise.
14053 (do_test): Likewise.
14054 * string/test-strspn.c (do_one_test): Likewise.
14055 (do_test): Likewise.
14056 * string/test-strstr.c (do_one_test): Likewise.
14057 (do_test): Likewise.
14059 * benchtests/Makefile (string-bench): Add string benchmarks.
14060 * benchtests/bench-bcopy-ifunc.c: New file.
14061 * benchtests/bench-bcopy.c: New file.
14062 * benchtests/bench-bzero-ifunc.c: New file.
14063 * benchtests/bench-bzero.c: New file.
14064 * benchtests/bench-memccpy-ifunc.c: New file.
14065 * benchtests/bench-memccpy.c: New file.
14066 * benchtests/bench-memchr-ifunc.c: New file.
14067 * benchtests/bench-memchr.c: New file.
14068 * benchtests/bench-memcmp-ifunc.c: New file.
14069 * benchtests/bench-memcmp.c: New file.
14070 * benchtests/bench-memmem-ifunc.c: New file.
14071 * benchtests/bench-memmem.c: New file.
14072 * benchtests/bench-memmove-ifunc.c: New file.
14073 * benchtests/bench-memmove.c: New file.
14074 * benchtests/bench-mempcpy-ifunc.c: New file.
14075 * benchtests/bench-mempcpy.c: New file.
14076 * benchtests/bench-memset-ifunc.c: New file.
14077 * benchtests/bench-memset.c: New file.
14078 * benchtests/bench-rawmemchr-ifunc.c: New file.
14079 * benchtests/bench-rawmemchr.c: New file.
14080 * benchtests/bench-stpcpy-ifunc.c: New file.
14081 * benchtests/bench-stpcpy.c: New file.
14082 * benchtests/bench-stpncpy-ifunc.c: New file.
14083 * benchtests/bench-stpncpy.c: New file.
14084 * benchtests/bench-strcasecmp-ifunc.c: New file.
14085 * benchtests/bench-strcasecmp.c: New file.
14086 * benchtests/bench-strcasestr-ifunc.c: New file.
14087 * benchtests/bench-strcasestr.c: New file.
14088 * benchtests/bench-strcat-ifunc.c: New file.
14089 * benchtests/bench-strcat.c: New file.
14090 * benchtests/bench-strchr-ifunc.c: New file.
14091 * benchtests/bench-strchr.c: New file.
14092 * benchtests/bench-strchrnul-ifunc.c: New file.
14093 * benchtests/bench-strchrnul.c: New file.
14094 * benchtests/bench-strcmp-ifunc.c: New file.
14095 * benchtests/bench-strcmp.c: New file.
14096 * benchtests/bench-strcpy-ifunc.c: New file.
14097 * benchtests/bench-strcpy.c: New file.
14098 * benchtests/bench-strcspn-ifunc.c: New file.
14099 * benchtests/bench-strcspn.c: New file.
14100 * benchtests/bench-strlen-ifunc.c: New file.
14101 * benchtests/bench-strlen.c: New file.
14102 * benchtests/bench-strncasecmp-ifunc.c: New file.
14103 * benchtests/bench-strncasecmp.c: New file.
14104 * benchtests/bench-strncat-ifunc.c: New file.
14105 * benchtests/bench-strncat.c: New file.
14106 * benchtests/bench-strncmp-ifunc.c: New file.
14107 * benchtests/bench-strncmp.c: New file.
14108 * benchtests/bench-strncpy-ifunc.c: New file.
14109 * benchtests/bench-strncpy.c: New file.
14110 * benchtests/bench-strnlen-ifunc.c: New file.
14111 * benchtests/bench-strnlen.c: New file.
14112 * benchtests/bench-strpbrk-ifunc.c: New file.
14113 * benchtests/bench-strpbrk.c: New file.
14114 * benchtests/bench-strrchr-ifunc.c: New file.
14115 * benchtests/bench-strrchr.c: New file.
14116 * benchtests/bench-strspn-ifunc.c: New file.
14117 * benchtests/bench-strspn.c: New file.
14118 * benchtests/bench-strstr-ifunc.c: New file.
14119 * benchtests/bench-strstr.c: New file.
14121 * benchtests/Makefile: Disable parallel execution of targets.
14122 (string-bench): Add memcpy.
14123 (benchset): New variable to store a list of benchmark sets.
14124 (bench-func): Renamed from bench.
14125 (bench-set): New target.
14126 (bench): Depend on bench-func and bench-set.
14127 * benchtests/README: Add section on benchmark sets.
14128 * benchtests/bench-memcpy-ifunc.c: New file.
14129 * benchtests/bench-memcpy.c: New file.
14130 * benchtests/bench-string.h: New file.
14132 2013-06-11 Andreas Schwab <schwab@suse.de>
14135 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14136 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14137 values in the triple.
14138 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14139 terminator in the group key.
14141 2013-06-11 Andreas Jaeger <aj@suse.de>
14143 * po/zh_TW.po: Update Chinese (traditional) translation from
14144 translation project.
14146 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14148 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14149 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14150 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14151 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14152 (clock_getcpuclockid): Likewise.
14153 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14154 Add weak_alias and libc_hidden_def.
14155 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14156 * rt/clock_gettime.c (clock_gettime): Rename to
14157 __clock_gettime. Add weak_alias and libc_hidden_def.
14158 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14159 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14160 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14161 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14162 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14164 * rt/clock_settime.c (clock_settime): Rename to
14165 __clock_settime. Add weak_alias and libc_hidden_def.
14166 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14168 2013-06-10 Joseph Myers <joseph@codesourcery.com>
14170 * mach/err_boot.sub: Remove trailing whitespace.
14171 * mach/err_ipc.sub: Likewise.
14172 * mach/err_mach.sub: Likewise.
14174 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14175 (ROUNDING_TESTS_double): Likewise.
14176 (ROUNDING_TESTS_long_double): Likewise.
14177 (ROUNDING_TESTS): Likewise.
14178 * math/libm-test.inc: Include <math-tests.h>.
14179 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14180 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14181 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14182 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14184 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14186 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14189 2013-06-08 Joseph Myers <joseph@codesourcery.com>
14191 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14192 otherwise empty TRANS lines.
14193 * sysdeps/gnu/errlist.c: Regenerated.
14195 * catgets/gencat.c (error_print): Use (void) in function
14197 * crypt/crypt_util.c (__init_des): Likewise.
14198 * crypt/speeds.c (Stop): Likewise.
14200 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14201 * inet/ruserpass.c (token): Likewise.
14202 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14203 * intl/localealias.c (extend_alias_table): Likewise.
14204 * intl/plural-exp.c (init_germanic_plural): Likewise.
14205 * libio/fcloseall.c (__fcloseall): Likewise.
14206 * libio/genops.c (_IO_flush_all): Likewise.
14207 (_IO_flush_all_linebuffered): Likewise.
14208 (_IO_cleanup): Likewise.
14209 (_IO_iter_begin): Likewise.
14210 (_IO_iter_end): Likewise.
14211 (_IO_list_lock): Likewise.
14212 (_IO_list_unlock): Likewise.
14213 (_IO_list_resetlock): Likewise.
14214 * libio/getchar.c (getchar): Likewise.
14215 * libio/getchar_u.c (getchar_unlocked): Likewise.
14216 * libio/getwchar.c (getwchar): Likewise.
14217 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14218 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14219 * login/getpt.c (__getpt): Likewise.
14220 * login/tst-utmp.c (main): Likewise.
14221 * malloc/hooks.c (__malloc_check_init): Likewise.
14222 * malloc/malloc.c (__malloc_stats): Likewise.
14223 * malloc/mtrace.c (tr_break): Likewise.
14224 (mtrace): Likewise.
14225 (muntrace): Likewise.
14226 * misc/fstab.c (endfsent): Likewise.
14227 * misc/getclktck.c (__getclktck): Likewise.
14228 * misc/getdtsz.c (__getdtablesize): Likewise.
14229 * misc/gethostid.c (gethostid): Likewise.
14230 * misc/getpagesize.c (__getpagesize): Likewise.
14231 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14232 (__get_nprocs): Likewise.
14233 (__get_phys_pages): Likewise.
14234 (__get_avphys_pages): Likewise.
14235 * misc/getttyent.c (getttyent): Likewise.
14236 (setttyent): Likewise.
14237 (endttyent): Likewise.
14238 * misc/getusershell.c (getusershell): Likewise.
14239 (endusershell): Likewise.
14240 (setusershell): Likewise.
14241 (initshells): Likewise.
14242 * misc/hsearch.c (__hdestroy): Likewise.
14243 * misc/sync.c (sync): Likewise.
14244 * misc/syslog.c (closelog_internal): Likewise.
14245 (closelog): Likewise.
14246 * misc/ttyslot.c (ttyslot): Likewise.
14247 * misc/vhangup.c (vhangup): Likewise.
14248 * posix/fork.c (__fork): Likewise.
14249 * posix/getegid.c (__getegid): Likewise.
14250 * posix/geteuid.c (__geteuid): Likewise.
14251 * posix/getgid.c (__getgid): Likewise.
14252 * posix/getpid.c (__getpid): Likewise.
14253 * posix/getppid.c (__getppid): Likewise.
14254 * posix/getuid.c (__getuid): Likewise.
14255 * posix/pause.c (pause): Likewise.
14256 * posix/setpgrp.c (setpgrp): Likewise.
14257 * posix/setsid.c (__setsid): Likewise.
14258 * posix/test-vfork.c (noop): Likewise.
14259 * resolv/gethnamaddr.c (_endhtent): Likewise.
14260 (_gethtent): Likewise.
14261 (ht_endhostent): Likewise.
14262 (gethostent): Likewise.
14263 (dns_service): Likewise.
14264 * stdlib/drand48.c (drand48): Likewise.
14265 * stdlib/lrand48.c (lrand48): Likewise.
14266 * stdlib/mrand48.c (mrand48): Likewise.
14267 * stdlib/rand.c (rand): Likewise.
14268 * stdlib/random.c (__random): Likewise.
14269 * stdlib/setenv.c (clearenv): Likewise.
14270 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14271 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14272 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14273 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14274 (__get_nprocs): Likewise.
14275 (__get_phys_pages): Likewise.
14276 (__get_avphys_pages): Likewise.
14277 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14278 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14279 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14280 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14281 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14282 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14283 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14284 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14285 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14286 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14287 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14288 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14289 * sysdeps/posix/clock.c (clock): Likewise.
14290 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14291 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14292 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14293 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14294 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14295 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14296 (__get_nprocs_conf): Likewise.
14297 (__get_phys_pages): Likewise.
14298 (__get_avphys_pages): Likewise.
14299 * time/clock.c (clock): Likewise.
14300 * time/tzset.c (__tzname_max): Likewise.
14302 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14304 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14305 (__bswap_32): Do not use "register".
14306 * crypt/crypt.c (_ufc_doit_r): Likewise.
14307 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14308 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14309 * gmon/gmon.c (__monstartup): Likewise.
14310 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14311 * hurd/hurdmalloc.c (more_memory): Likewise.
14312 (malloc): Likewise.
14314 (realloc): Likewise.
14315 (malloc_fork_prepare): Likewise.
14316 (malloc_fork_parent): Likewise.
14317 (malloc_fork_child): Likewise.
14318 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14319 (_svcauth_des): Likewise.
14320 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14321 * inet/inet_net.c (inet_network): Likewise.
14322 * inet/inet_netof.c (inet_netof): Likewise.
14323 * inet/rcmd.c (__validuser2_sa): Likewise.
14324 * io/fts.c (fts_open): Likewise.
14325 (fts_load): Likewise.
14326 (fts_close): Likewise.
14327 (fts_read): Likewise.
14328 (fts_children): Likewise.
14329 (fts_build): Likewise.
14330 (fts_stat): Likewise.
14331 (fts_sort): Likewise.
14332 (fts_alloc): Likewise.
14333 (fts_lfree): Likewise.
14334 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14335 (_IO_file_xsgetn): Likewise.
14336 (_IO_file_xsgetn_mmap): Likewise.
14337 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14338 (_IO_cookie_write): Likewise.
14339 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14340 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14341 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14342 * malloc/obstack.c (_obstack_begin): Likewise.
14343 (_obstack_begin_1): Likewise.
14344 (_obstack_newchunk): Likewise.
14345 (_obstack_allocated_p): Likewise.
14346 (obstack_free): Likewise.
14347 (_obstack_memory_used): Likewise.
14348 * misc/getttyent.c (getttynam): Likewise.
14349 (getttyent): Likewise.
14352 * misc/getusershell.c (initshells): Likewise.
14353 * misc/syslog.c (__vsyslog_chk): Likewise.
14354 * misc/ttyslot.c (ttyslot): Likewise.
14355 * nis/nis_hash.c (__nis_hash): Likewise.
14356 * posix/fnmatch_loop.c (FCT): Likewise.
14357 * posix/getconf.c (print_all): Likewise.
14359 * posix/getopt.c (exchange): Likewise.
14360 * posix/glob.c (globfree): Likewise.
14361 (prefix_array): Likewise.
14362 (__glob_pattern_type): Likewise.
14363 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14364 (NS_GET32): Likewise.
14365 (NS_PUT16): Likewise.
14366 (NS_PUT32): Likewise.
14367 * resolv/gethnamaddr.c (getanswer): Likewise.
14368 (gethostbyname2): Likewise.
14369 (gethostbyaddr): Likewise.
14370 (_gethtent): Likewise.
14371 (_gethtbyname2): Likewise.
14372 (_gethtbyaddr): Likewise.
14373 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14374 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14375 * resolv/res_init.c (__res_vinit): Likewise.
14376 (net_mask): Likewise.
14377 * resolv/res_mkquery.c (outchar): Likewise.
14379 * stdio-common/printf_fp.c (outchar): Likewise.
14381 * stdio-common/printf_fphex.c (outchar): Likewise.
14383 * stdio-common/printf_size.c (outchar): Likewise.
14385 * stdio-common/test_rdwr.c (main): Likewise.
14386 * stdio-common/tfformat.c (matches): Likewise.
14387 * stdio-common/vfprintf.c (outchar): Likewise.
14388 (printf_unknown): Likewise.
14389 (buffered_vfprintf): Likewise.
14390 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14391 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14392 (ReadFile): Likewise.
14393 * stdlib/qsort.c (SWAP): Likewise.
14394 (_quicksort): Likewise.
14395 * stdlib/setenv.c (__add_to_environ): Likewise.
14396 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14397 * stdlib/strtol_l.c (__strtol_l): Likewise.
14398 * stdlib/tst-strtod.c (main): Likewise.
14399 * stdlib/tst-strtol.c (main): Likewise.
14400 * stdlib/tst-strtoll.c (main): Likewise.
14401 * string/bits/string2.h (__strcmp_cc): Likewise.
14402 (__strcmp_cg): Likewise.
14403 (__strcspn_c1): Likewise.
14404 (__strcspn_c2): Likewise.
14405 (__strcspn_c3): Likewise.
14406 (__strspn_c1): Likewise.
14407 (__strspn_c2): Likewise.
14408 (__strspn_c3): Likewise.
14409 (__strsep_1c): Likewise.
14410 (__strsep_2c): Likewise.
14411 (__strsep_3c): Likewise.
14412 * string/memccpy.c (__memccpy): Likewise.
14413 * string/stpcpy.c (__stpcpy): Likewise.
14414 * string/strcmp.c (strcmp): Likewise.
14415 * string/strrchr.c (strrchr): Likewise.
14416 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14418 * sysdeps/mach/hurd/getcwd.c
14419 (_hurd_canonicalize_directory_name_internal): Likewise.
14420 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14421 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14422 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14423 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14424 Likewise, in both definitions.
14425 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14427 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14428 64] (__bswap_64): Likewise.
14429 * time/test_time.c (main): Likewise.
14430 * time/tzfile.c (__tzfile_read): Likewise.
14431 (__tzfile_compute): Likewise.
14432 * time/tzset.c (__tzset_parse_tz): Likewise.
14433 (tzset_internal): Likewise.
14434 (compute_change): Likewise.
14435 * wcsmbs/wcscat.c (__wcscat): Likewise.
14436 * wcsmbs/wcschr.c (wcschr): Likewise.
14437 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14438 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14439 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14440 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14441 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14442 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14443 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14444 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14445 * wcsmbs/wmemset.c (wmemset): Likewise.
14447 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14449 * scripts/config.guess: Update to version 2013-05-16.
14450 * scripts/config.sub: Update to version 2013-04-24.
14451 * scripts/install-sh: Update to version 2011-11-20.07.
14452 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14453 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14455 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14457 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14458 * elf/sln.c: Likewise.
14459 * hurd/hurd/ioctl.h: Likewise.
14460 * hurd/hurdmalloc.c: Likewise.
14461 * hurd/xattr.c: Likewise.
14462 * include/shlib-compat.h: Likewise.
14463 * inet/ruserpass.c: Likewise.
14464 * libio/iofgets_u.c: Likewise.
14465 * libio/iofgetws_u.c: Likewise.
14466 * locale/programs/ld-identification.c: Likewise.
14467 * locale/programs/ld-time.c: Likewise.
14468 * mach/msg-destroy.c: Likewise.
14469 * nss/nss_files/files-netgrp.c: Likewise.
14470 * resolv/res_data.c: Likewise.
14471 * soft-fp/op-1.h: Likewise.
14472 * soft-fp/op-2.h: Likewise.
14473 * soft-fp/op-4.h: Likewise.
14474 * soft-fp/op-common.h: Likewise.
14475 * stdio-common/printf_fphex.c: Likewise.
14476 * stdlib/strtod_l.c: Likewise.
14477 * sunrpc/rpc/clnt.h: Likewise.
14478 * sysdeps/generic/framestate.c: Likewise.
14479 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14480 * sysdeps/i386/bsd-setjmp.S: Likewise.
14481 * sysdeps/i386/__longjmp.S: Likewise.
14482 * sysdeps/i386/setjmp.S: Likewise.
14483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14484 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14485 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14486 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14487 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14488 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14489 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14490 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14491 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14492 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14493 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14494 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14495 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14496 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14497 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14498 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14499 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14500 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14501 * sysdeps/ieee754/support.c: Likewise.
14502 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14503 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14504 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14505 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14506 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14507 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14508 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14509 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14510 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14511 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14512 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14513 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14514 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14515 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14516 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14517 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14518 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14521 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14523 * posix/transbug.c: Remove executable mode.
14525 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14527 * crypt/speeds.c: Remove trailing whitespace.
14528 * dlfcn/default.c: Likewise.
14529 * elf/ifuncdep2.c: Likewise.
14530 * elf/ifuncmain1.c: Likewise.
14531 * elf/ifuncmain1vis.c: Likewise.
14532 * elf/testobj.h: Likewise.
14533 * elf/tst-stackguard1.c: Likewise.
14534 * gmon/sys/gmon.h: Likewise.
14535 * hurd/hurdmsg.c: Likewise.
14536 * hurd/new-fd.c: Likewise.
14537 * hurd/ports-get.c: Likewise.
14538 * iconvdata/ibm1008_420.c: Likewise.
14539 * inet/tst-getni1.c: Likewise.
14540 * inet/tst-getni2.c: Likewise.
14541 * libio/ioungetc.c: Likewise.
14542 * libio/wfiledoalloc.c: Likewise.
14543 * manual/libm-err-tab.pl: Likewise.
14544 * math/w_dremf.c: Likewise.
14545 * misc/ftruncate.c: Likewise.
14546 * posix/bug-glob2.c: Likewise.
14547 * posix/tst-pcre.c: Likewise.
14548 * posix/wait4.c: Likewise.
14549 * resolv/README: Likewise.
14550 * resolv/res_debug.h: Likewise.
14551 * resolv/tst-inet_ntop.c: Likewise.
14552 * setjmp/bug269-setjmp.c: Likewise.
14553 * soft-fp/extended.h: Likewise.
14554 * soft-fp/op-1.h: Likewise.
14555 * soft-fp/op-2.h: Likewise.
14556 * soft-fp/op-4.h: Likewise.
14557 * soft-fp/op-8.h: Likewise.
14558 * soft-fp/testit.c: Likewise.
14559 * stdio-common/bug16.c: Likewise.
14560 * stdlib/random.c: Likewise.
14561 * sunrpc/rpcsvc/rquota.x: Likewise.
14562 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14563 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14564 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14565 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14566 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14567 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14568 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14569 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14570 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14571 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14572 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14573 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14574 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14575 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14576 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14577 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14578 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14579 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14580 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14581 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14582 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14584 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14585 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14586 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14587 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14588 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14589 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14590 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14591 * sysdeps/ieee754/s_lib_version.c: Likewise.
14592 * sysdeps/mach/hurd/check_fds.c: Likewise.
14593 * sysdeps/mach/hurd/getsockname.c: Likewise.
14594 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14595 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14596 * sysdeps/powerpc/bits/link.h: Likewise.
14597 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14598 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14599 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14600 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14601 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14602 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14603 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14604 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14605 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14606 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14607 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14608 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14609 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14610 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14611 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14612 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14613 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14614 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14615 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14616 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14617 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14618 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14619 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14620 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14621 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14622 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14623 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14624 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14625 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14626 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14627 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14628 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14629 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14630 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14631 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14632 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14633 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14634 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14635 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14636 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14637 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14638 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14639 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14640 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14641 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14642 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14643 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14644 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14645 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14646 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14647 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14649 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14650 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14651 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14652 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14653 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14654 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14655 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14656 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14657 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14658 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14659 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14660 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14661 * sysdeps/powerpc/sysdep.h: Likewise.
14662 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14663 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14664 * sysdeps/sh/dl-trampoline.S: Likewise.
14665 * sysdeps/sh/memset.S: Likewise.
14666 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14667 * sysdeps/sh/strlen.S: Likewise.
14668 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14669 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14670 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14671 * sysdeps/sparc/sparc32/rem.S: Likewise.
14672 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14673 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14674 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14675 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14676 * sysdeps/sparc/sparc32/urem.S: Likewise.
14677 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14678 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14679 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14680 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14681 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14682 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14683 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14684 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14685 * sysdeps/unix/bsd/times.c: Likewise.
14686 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14687 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14691 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14692 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14693 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14694 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14695 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14696 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14697 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14698 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14699 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14700 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14701 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14702 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14703 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14704 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14705 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14706 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14707 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14708 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14709 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14710 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14711 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14712 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14713 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14714 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14715 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14716 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14717 * sysdeps/x86_64/strcspn.S: Likewise.
14719 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14721 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14722 generated file. Regenerate properly from gen-translit.pl.
14723 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14724 locale/C-translit.h.
14726 2013-06-05 Andreas Schwab <schwab@suse.de>
14729 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14730 week as 6 instead of -1.
14731 * time/tst-strptime.c (day_tests): Add test case.
14733 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14735 * sysdeps/generic/math_private.h
14736 (libc_feholdexcept_setround_53bit): Replace with
14737 libc_feholdsetround_53bit.
14738 (libc_feupdateenv_53bit): Replace with
14739 libc_feresetround_53bit.
14740 (SET_RESTORE_ROUND_53BIT): Adjust.
14742 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14744 * string/test-strchrnul.c: Add copyright header.
14746 * posix/tst-getaddrinfo4.c: Increase test timeout.
14748 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14751 * math/libm-test.inc (MAX_EXP): Remove
14753 (ulp): Use MIN_EXP - MANT_DIG.
14754 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14756 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14758 * po/be.po: Revert last change.
14759 * po/zh_CN.po: Likewise.
14760 * po/header.pot: Likewise.
14762 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14764 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14765 link-libc-deps to empty as target-specific variable.
14766 * Makerules (link-libc-args): New variable.
14767 (libc-for-link): Likewise.
14768 (link-libc-deps): Likewise.
14769 (lib%.so): Depend on $(link-libc-deps). Link with
14771 (build-module): Link with $(link-libc-args).
14772 (build-module-asneeded): Likewise.
14773 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14775 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14776 target-specific variable.
14777 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14778 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14779 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14781 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14783 ($(objpfx)libpcprofile.so): Likewise.
14784 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14786 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14787 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14788 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14790 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14791 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14792 * login/Makefile ($(objpfx)libutil.so): Likewise.
14793 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14794 * math/Makefile ($(objpfx)libm.so): Likewise.
14795 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14796 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14797 variable instead of depending directly on libc.
14798 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14799 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14801 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14803 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14804 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14805 ($(objpfx)libanl.so): Likewise.
14806 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14808 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14810 * sysdeps/i386/fpu/Makefile: Remove file.
14811 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14812 ($(objpfx)libm.so): Remove dependency on ld.so.
14814 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14817 * nis/yp_xdr.c (XDRMAXNAME): Define.
14818 (XDRMAXRECORD): Define.
14819 (xdr_domainname): Use XDRMAXNAME.
14820 (xdr_mapname): Likewise.
14821 (xdr_peername): Likewise.
14822 (xdr_keydat): Use XDRMAXRECORD.
14823 (xdr_valdat): Likewise.
14825 2013-05-30 Jeff Law <law@redhat.com>
14828 * manual/errno.texi (ESTALE): Update to account for more than
14829 just NFS file systems.
14830 * sysdeps/gnu/errlist.c: Regenerated.
14832 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14835 * elf/Makefile (tests): Add tst-null-argv.
14836 (modules-names): Add tst-null-argv-lib.
14837 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14838 (tst-null-argv-ENV): Set environment for tst-null-argv.
14839 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14840 (RTLD_PROGNAME): New macro.
14841 * elf/tst-null-argv.c: New test case.
14842 * elf/tst-null-argv-lib.c: Library for test case.
14843 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14844 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14845 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14846 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14847 * elf/dl-init.c (call_init): Likewise.
14848 (_dl_init): Likewise.
14849 * elf/dl-load.c (print_search_path): Likewise.
14850 (_dl_map_object): Likewise.
14851 * elf/dl-lookup.c (do_lookup_x): Likewise.
14852 (add_dependency): Likewise.
14853 (_dl_lookup_symbol_x): Likewise.
14854 (_dl_debug_bindings): Likewise.
14855 * elf/dl-open.c (_dl_show_scope): Likewise.
14856 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14857 * elf/dl-version.c (match_symbol): Likewise.
14858 (_dl_check_map_versions): Likewise.
14859 * elf/rtld.c (dl_main): Likewise.
14860 (print_unresolved): Use RTLD_PROGNAME.
14861 (print_missing_version): Likewise.
14862 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14863 (elf_machine_rela): Likewise.
14864 * sysdeps/powerpc/powerpc32/dl-machine.c
14865 (__process_machine_rela): Likewise.
14866 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14868 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14870 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14872 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14873 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14877 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14879 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14881 * po/be.po: Add descriptive title.
14882 * po/zh_CN.po: Likewise.
14883 * po/header.pot: Likewise.
14885 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14887 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14889 (enlarge_archive): Likewise.
14891 2013-05-28 Ben North <ben@redfrontdoor.org>
14893 * manual/arith.texi (frexp): It is the magnitude of the return
14894 value which lies in [0.5, 1), not the return value itself.
14896 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14900 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14902 * stdio-common/bug26.c (main): Correct fscanf template.
14904 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14905 declare _dl_skip_args.
14907 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14910 * manual/platform.texi: Add missing @end deftypefun.
14912 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14915 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14916 bit of mantissa of 2^16382.
14917 * math/libm-test.inc (hypot_test_data): Add more tests.
14919 * math/libm-test.inc: Add drem and pow10 to list of tested
14921 (pow10_test): New function.
14922 (drem_test): Likewise.
14923 (drem_test_tonearest): Likewise.
14924 (drem_test_towardzero): Likewise.
14925 (drem_test_downward): Likewise.
14926 (drem_test_upward): Likewise.
14927 (main): Call the new functions.
14929 * math/libm-test.inc (finite_test_data): Remove.
14930 (finite_test): Run tests from isfinite_test_data.
14931 (gamma_test_data): Remove.
14932 (gamma_test): Run tests from lgamma_test_data.
14933 * sysdeps/i386/fpu/libm-test-ulps: Update.
14934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14936 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14938 * manual/platform.texi: Add PowerPC PPR function set documentation.
14939 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14942 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14944 * math/libm-test.inc (MAX_EXP): Define.
14946 (ulp): New function.
14947 (check_float_internal): Use ULPDIFF.
14948 (cpow_test): Disable failing test.
14949 (check_ulp): Test ulp() implemetnation.
14950 (main): Call check_ulp before starting tests.
14952 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14954 * math/gen-libm-test.pl (generate_testfile): Do not handle
14955 START_DATA and END_DATA.
14956 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14958 (acos_tonearest_test_data): Likewise.
14959 (acos_towardzero_test_data): Likewise.
14960 (acos_downward_test_data): Likewise.
14961 (acos_upward_test_data): Likewise.
14962 (acosh_test_data): Likewise.
14963 (asin_test_data): Likewise.
14964 (asin_tonearest_test_data): Likewise.
14965 (asin_towardzero_test_data): Likewise.
14966 (asin_downward_test_data): Likewise.
14967 (asin_upward_test_data): Likewise.
14968 (asinh_test_data): Likewise.
14969 (atan_test_data): Likewise.
14970 (atanh_test_data): Likewise.
14971 (atan2_test_data): Likewise.
14972 (cabs_test_data): Likewise.
14973 (cacos_test_data): Likewise.
14974 (cacosh_test_data): Likewise.
14975 (carg_test_data): Likewise.
14976 (casin_test_data): Likewise.
14977 (casinh_test_data): Likewise.
14978 (catan_test_data): Likewise.
14979 (catanh_test_data): Likewise.
14980 (cbrt_test_data): Likewise.
14981 (ccos_test_data): Likewise.
14982 (ccosh_test_data): Likewise.
14983 (ceil_test_data): Likewise.
14984 (cexp_test_data): Likewise.
14985 (cimag_test_data): Likewise.
14986 (clog_test_data): Likewise.
14987 (clog10_test_data): Likewise.
14988 (conj_test_data): Likewise.
14989 (copysign_test_data): Likewise.
14990 (cos_test_data): Likewise.
14991 (cos_tonearest_test_data): Likewise.
14992 (cos_towardzero_test_data): Likewise.
14993 (cos_downward_test_data): Likewise.
14994 (cos_upward_test_data): Likewise.
14995 (cosh_test_data): Likewise.
14996 (cosh_tonearest_test_data): Likewise.
14997 (cosh_towardzero_test_data): Likewise.
14998 (cosh_downward_test_data): Likewise.
14999 (cosh_upward_test_data): Likewise.
15000 (cpow_test_data): Likewise.
15001 (cproj_test_data): Likewise.
15002 (creal_test_data): Likewise.
15003 (csin_test_data): Likewise.
15004 (csinh_test_data): Likewise.
15005 (csqrt_test_data): Likewise.
15006 (ctan_test_data): Likewise.
15007 (ctan_tonearest_test_data): Likewise.
15008 (ctan_towardzero_test_data): Likewise.
15009 (ctan_downward_test_data): Likewise.
15010 (ctan_upward_test_data): Likewise.
15011 (ctanh_test_data): Likewise.
15012 (ctanh_tonearest_test_data): Likewise.
15013 (ctanh_towardzero_test_data): Likewise.
15014 (ctanh_downward_test_data): Likewise.
15015 (ctanh_upward_test_data): Likewise.
15016 (erf_test_data): Likewise.
15017 (erfc_test_data): Likewise.
15018 (exp_test_data): Likewise.
15019 (exp_tonearest_test_data): Likewise.
15020 (exp_towardzero_test_data): Likewise.
15021 (exp_downward_test_data): Likewise.
15022 (exp_upward_test_data): Likewise.
15023 (exp10_test_data): Likewise.
15024 (exp2_test_data): Likewise.
15025 (expm1_test_data): Likewise.
15026 (fabs_test_data): Likewise.
15027 (fdim_test_data): Likewise.
15028 (finite_test_data): Likewise.
15029 (floor_test_data): Likewise.
15030 (fma_test_data): Likewise.
15031 (fma_towardzero_test_data): Likewise.
15032 (fma_downward_test_data): Likewise.
15033 (fma_upward_test_data): Likewise.
15034 (fmax_test_data): Likewise.
15035 (fmin_test_data): Likewise.
15036 (fmod_test_data): Likewise.
15037 (fpclassify_test_data): Likewise.
15038 (frexp_test_data): Likewise.
15039 (gamma_test_data): Likewise.
15040 (hypot_test_data): Likewise.
15041 (ilogb_test_data): Likewise.
15042 (isfinite_test_data): Likewise.
15043 (isgreater_test_data): Likewise.
15044 (isgreaterequal_test_data): Likewise.
15045 (isinf_test_data): Likewise.
15046 (isless_test_data): Likewise.
15047 (islessequal_test_data): Likewise.
15048 (islessgreater_test_data): Likewise.
15049 (isnan_test_data): Likewise.
15050 (isnormal_test_data): Likewise.
15051 (issignaling_test_data): Likewise.
15052 (isunordered_test_data): Likewise.
15053 (j0_test_data): Likewise.
15054 (j1_test_data): Likewise.
15055 (jn_test_data): Likewise.
15056 (ldexp_test_data): Likewise.
15057 (lgamma_test_data): Likewise.
15058 (lrint_test_data): Likewise.
15059 (lrint_tonearest_test_data): Likewise.
15060 (lrint_towardzero_test_data): Likewise.
15061 (lrint_downward_test_data): Likewise.
15062 (lrint_upward_test_data): Likewise.
15063 (llrint_test_data): Likewise.
15064 (llrint_tonearest_test_data): Likewise.
15065 (llrint_towardzero_test_data): Likewise.
15066 (llrint_downward_test_data): Likewise.
15067 (llrint_upward_test_data): Likewise.
15068 (log_test_data): Likewise.
15069 (log10_test_data): Likewise.
15070 (log1p_test_data): Likewise.
15071 (log2_test_data): Likewise.
15072 (logb_test_data): Likewise.
15073 (logb_downward_test_data): Likewise.
15074 (lround_test_data): Likewise.
15075 (llround_test_data): Likewise.
15076 (modf_test_data): Likewise.
15077 (nearbyint_test_data): Likewise.
15078 (nextafter_test_data): Likewise.
15079 (nexttoward_test_data): Likewise.
15080 (pow_test_data): Likewise.
15081 (pow_tonearest_test_data): Likewise.
15082 (pow_towardzero_test_data): Likewise.
15083 (pow_downward_test_data): Likewise.
15084 (pow_upward_test_data): Likewise.
15085 (remainder_test_data): Likewise.
15086 (remainder_tonearest_test_data): Likewise.
15087 (remainder_towardzero_test_data): Likewise.
15088 (remainder_downward_test_data): Likewise.
15089 (remainder_upward_test_data): Likewise.
15090 (remquo_test_data): Likewise.
15091 (rint_test_data): Likewise.
15092 (rint_tonearest_test_data): Likewise.
15093 (rint_towardzero_test_data): Likewise.
15094 (rint_downward_test_data): Likewise.
15095 (rint_upward_test_data): Likewise.
15096 (round_test_data): Likewise.
15097 (scalb_test_data): Likewise.
15098 (scalbn_test_data): Likewise.
15099 (scalbln_test_data): Likewise.
15100 (signbit_test_data): Likewise.
15101 (sin_test_data): Likewise.
15102 (sin_tonearest_test_data): Likewise.
15103 (sin_towardzero_test_data): Likewise.
15104 (sin_downward_test_data): Likewise.
15105 (sin_upward_test_data): Likewise.
15106 (sincos_test_data): Likewise.
15107 (sinh_test_data): Likewise.
15108 (sinh_tonearest_test_data): Likewise.
15109 (sinh_towardzero_test_data): Likewise.
15110 (sinh_downward_test_data): Likewise.
15111 (sinh_upward_test_data): Likewise.
15112 (sqrt_test_data): Likewise.
15113 (tan_test_data): Likewise.
15114 (tan_tonearest_test_data): Likewise.
15115 (tan_towardzero_test_data): Likewise.
15116 (tan_downward_test_data): Likewise.
15117 (tan_upward_test_data): Likewise.
15118 (tanh_test_data): Likewise.
15119 (tgamma_test_data): Likewise.
15120 (trunc_test_data): Likewise.
15121 (y0_test_data): Likewise.
15122 (y1_test_data): Likewise.
15123 (yn_test_data): Likewise.
15124 (significand_test_data): Likewise.
15126 * math/gen-libm-test.pl (@functions): Remove variable.
15127 (generate_testfile): Don't handle START and END lines.
15128 * math/libm-test.inc (START): New macro.
15130 (END_COMPLEX): Likewise.
15131 (acos_test): Use END macro without arguments.
15132 (acos_test_tonearest): Likewise.
15133 (acos_test_towardzero): Likewise.
15134 (acos_test_downward): Likewise.
15135 (acos_test_upward): Likewise.
15136 (acosh_test): Likewise.
15137 (asin_test): Likewise.
15138 (asin_test_tonearest): Likewise.
15139 (asin_test_towardzero): Likewise.
15140 (asin_test_downward): Likewise.
15141 (asin_test_upward): Likewise.
15142 (asinh_test): Likewise.
15143 (atan_test): Likewise.
15144 (atanh_test): Likewise.
15145 (atan2_test): Likewise.
15146 (cabs_test): Likewise.
15147 (cacos_test): Use END_COMPLEX macro without arguments.
15148 (cacosh_test): Likewise.
15149 (carg_test): Use END macro without arguments.
15150 (casin_test): Use END_COMPLEX macro without arguments.
15151 (casinh_test): Likewise.
15152 (catan_test): Likewise.
15153 (catanh_test): Likewise.
15154 (cbrt_test): Use END macro without arguments.
15155 (ccos_test): Use END_COMPLEX macro without arguments.
15156 (ccosh_test): Likewise.
15157 (ceil_test): Use END macro without arguments.
15158 (cexp_test): Use END_COMPLEX macro without arguments.
15159 (cimag_test): Use END macro without arguments.
15160 (clog_test): Use END_COMPLEX macro without arguments.
15161 (clog10_test): Likewise.
15162 (conj_test): Likewise.
15163 (copysign_test): Use END macro without arguments.
15164 (cos_test): Likewise.
15165 (cos_test_tonearest): Likewise.
15166 (cos_test_towardzero): Likewise.
15167 (cos_test_downward): Likewise.
15168 (cos_test_upward): Likewise.
15169 (cosh_test): Likewise.
15170 (cosh_test_tonearest): Likewise.
15171 (cosh_test_towardzero): Likewise.
15172 (cosh_test_downward): Likewise.
15173 (cosh_test_upward): Likewise.
15174 (cpow_test): Use END_COMPLEX macro without arguments.
15175 (cproj_test): Likewise.
15176 (creal_test): Use END macro without arguments.
15177 (csin_test): Use END_COMPLEX macro without arguments.
15178 (csinh_test): Likewise.
15179 (csqrt_test): Likewise.
15180 (ctan_test): Likewise.
15181 (ctan_test_tonearest): Likewise.
15182 (ctan_test_towardzero): Likewise.
15183 (ctan_test_downward): Likewise.
15184 (ctan_test_upward): Likewise.
15185 (ctanh_test): Likewise.
15186 (ctanh_test_tonearest): Likewise.
15187 (ctanh_test_towardzero): Likewise.
15188 (ctanh_test_downward): Likewise.
15189 (ctanh_test_upward): Likewise.
15190 (erf_test): Use END macro without arguments.
15191 (erfc_test): Likewise.
15192 (exp_test): Likewise.
15193 (exp_test_tonearest): Likewise.
15194 (exp_test_towardzero): Likewise.
15195 (exp_test_downward): Likewise.
15196 (exp_test_upward): Likewise.
15197 (exp10_test): Likewise.
15198 (exp2_test): Likewise.
15199 (expm1_test): Likewise.
15200 (fabs_test): Likewise.
15201 (fdim_test): Likewise.
15202 (finite_test): Likewise.
15203 (floor_test): Likewise.
15204 (fma_test): Likewise.
15205 (fma_test_towardzero): Likewise.
15206 (fma_test_downward): Likewise.
15207 (fma_test_upward): Likewise.
15208 (fmax_test): Likewise.
15209 (fmin_test): Likewise.
15210 (fmod_test): Likewise.
15211 (fpclassify_test): Likewise.
15212 (frexp_test): Likewise.
15213 (gamma_test): Likewise.
15214 (hypot_test): Likewise.
15215 (ilogb_test): Likewise.
15216 (isfinite_test): Likewise.
15217 (isgreater_test): Likewise.
15218 (isgreaterequal_test): Likewise.
15219 (isinf_test): Likewise.
15220 (isless_test): Likewise.
15221 (islessequal_test): Likewise.
15222 (islessgreater_test): Likewise.
15223 (isnan_test): Likewise.
15224 (isnormal_test): Likewise.
15225 (issignaling_test): Likewise.
15226 (isunordered_test): Likewise.
15227 (j0_test): Likewise.
15228 (j1_test): Likewise.
15229 (jn_test): Likewise.
15230 (ldexp_test): Likewise.
15231 (lgamma_test): Likewise.
15232 (lrint_test): Likewise.
15233 (lrint_test_tonearest): Likewise.
15234 (lrint_test_towardzero): Likewise.
15235 (lrint_test_downward): Likewise.
15236 (lrint_test_upward): Likewise.
15237 (llrint_test): Likewise.
15238 (llrint_test_tonearest): Likewise.
15239 (llrint_test_towardzero): Likewise.
15240 (llrint_test_downward): Likewise.
15241 (llrint_test_upward): Likewise.
15242 (log_test): Likewise.
15243 (log10_test): Likewise.
15244 (log1p_test): Likewise.
15245 (log2_test): Likewise.
15246 (logb_test): Likewise.
15247 (logb_test_downward): Likewise.
15248 (lround_test): Likewise.
15249 (llround_test): Likewise.
15250 (modf_test): Likewise.
15251 (nearbyint_test): Likewise.
15252 (nextafter_test): Likewise.
15253 (nexttoward_test): Likewise.
15254 (pow_test): Likewise.
15255 (pow_test_tonearest): Likewise.
15256 (pow_test_towardzero): Likewise.
15257 (pow_test_downward): Likewise.
15258 (pow_test_upward): Likewise.
15259 (remainder_test): Likewise.
15260 (remainder_test_tonearest): Likewise.
15261 (remainder_test_towardzero): Likewise.
15262 (remainder_test_downward): Likewise.
15263 (remainder_test_upward): Likewise.
15264 (remquo_test): Likewise.
15265 (rint_test): Likewise.
15266 (rint_test_tonearest): Likewise.
15267 (rint_test_towardzero): Likewise.
15268 (rint_test_downward): Likewise.
15269 (rint_test_upward): Likewise.
15270 (round_test): Likewise.
15271 (scalb_test): Likewise.
15272 (scalbn_test): Likewise.
15273 (scalbln_test): Likewise.
15274 (signbit_test): Likewise.
15275 (sin_test): Likewise.
15276 (sin_test_tonearest): Likewise.
15277 (sin_test_towardzero): Likewise.
15278 (sin_test_downward): Likewise.
15279 (sin_test_upward): Likewise.
15280 (sincos_test): Likewise.
15281 (sinh_test): Likewise.
15282 (sinh_test_tonearest): Likewise.
15283 (sinh_test_towardzero): Likewise.
15284 (sinh_test_downward): Likewise.
15285 (sinh_test_upward): Likewise.
15286 (sqrt_test): Likewise.
15287 (tan_test): Likewise.
15288 (tan_test_tonearest): Likewise.
15289 (tan_test_towardzero): Likewise.
15290 (tan_test_downward): Likewise.
15291 (tan_test_upward): Likewise.
15292 (tanh_test): Likewise.
15293 (tgamma_test): Likewise.
15294 (trunc_test): Likewise.
15295 (y0_test): Likewise.
15296 (y1_test): Likewise.
15297 (yn_test): Likewise.
15298 (significand_test): Likewise.
15300 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15303 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15305 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15308 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15309 __ppc_mdoio and __ppc_mdoom.
15310 * manual/platform.texi: Document new functions __ppc_yield,
15311 __ppc_mdoio and __ppc_mdoom.
15313 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15315 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15316 (main): Mention "tls" pseudo-hwcap is legacy.
15317 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15319 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15321 * math/gen-libm-test.pl (parse_args): Output only string of
15322 arguments as text for test name, not full call or descriptions of
15323 tests for extra outputs.
15324 (generate_testfile): Do not pass function name to parse_args.
15325 Generate this_func variable from START.
15326 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15328 (struct test_ff_f_data): Likewise.
15329 (test_ff_f_data_nexttoward): Likewise.
15330 (struct test_fi_f_data): Likewise.
15331 (struct test_fl_f_data): Likewise.
15332 (struct test_if_f_data): Likewise.
15333 (struct test_fff_f_data): Likewise.
15334 (struct test_c_f_data): Likewise.
15335 (struct test_f_f1_data): Likewise. Remove field extra_name.
15336 (struct test_fF_f1_data): Likewise.
15337 (struct test_ffI_f1_data): Likewise.
15338 (struct test_c_c_data): Rename test_name field to arg_str.
15339 (struct test_cc_c_data): Likewise.
15340 (struct test_f_i_data): Likewise.
15341 (struct test_ff_i_data): Likewise.
15342 (struct test_f_l_data): Likewise.
15343 (struct test_f_L_data): Likewise.
15344 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15346 (COMMON_TEST_SETUP): New macro.
15347 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15348 (COMMON_TEST_CLEANUP): Likewise.
15349 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15350 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15352 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15353 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15355 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15356 (RUN_TEST_fff_f): Take argument string. Call new setup and
15358 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15359 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15361 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15362 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15364 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15365 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15367 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15368 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15370 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15371 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15373 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15374 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15376 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15377 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15379 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15380 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15382 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15383 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15385 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15386 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15388 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15389 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15391 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15392 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15394 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15395 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15397 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15398 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15400 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15401 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15403 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15405 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15407 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15408 to _sifields.sigfault.
15409 (si_addr_lsb): Define new macro.
15410 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15411 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15412 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15414 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15417 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15419 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15421 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15422 loading the domain.
15424 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15426 * math/gen-libm-test.pl (parse_args): Do not include expected
15427 result in test name.
15428 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15429 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15430 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15431 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15432 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15435 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15437 * benchtests/Makefile: Sort function entries.
15439 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15440 tanh, asinh, acosh, atanh.
15441 * benchtests/acos-inputs: New file.
15442 * benchtests/acosh-inputs: New file.
15443 * benchtests/asin-inputs: New file.
15444 * benchtests/asinh-inputs: New file.
15445 * benchtests/atanh-inputs: New file.
15446 * benchtests/cosh-inputs: New file.
15447 * benchtests/log-inputs: New file.
15448 * benchtests/sinh-inputs: New file.
15449 * benchtests/tanh-inputs: New file.
15451 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15454 * posix/tst-getaddrinfo4.c: New test.
15455 * posix/Makefile (tests): Add it.
15457 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15460 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15461 when no services were used.
15462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15463 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15465 2013-05-21 Andreas Schwab <schwab@suse.de>
15468 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15469 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15471 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15472 redundant variable declarations and reallocation of buffer when
15473 parsing as IPv6 address. Always set NSS status when called from
15474 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15475 buffer too small. Correct computation of needed size.
15476 * nss/Makefile (tests): Add test-digits-dots.
15477 * nss/test-digits-dots.c: New test.
15479 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15481 * benchtests/Makefile: Remove instructions for adding
15483 * benchtests/README: New file to explain how to execute and
15484 enhance the benchmark tests.
15486 2013-05-21 Andreas Schwab <schwab@suse.de>
15489 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15490 * setjmp/tst-sigsetjmp.c: New test.
15492 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15494 * sysdeps/x86_64/memset.S (memset): New implementation.
15495 (__bzero): Likewise.
15496 (__memset_tail): New function.
15498 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15500 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15501 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15502 __memcpy_sse2_unaligned ifunc selection.
15503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15504 Add memcpy-sse2-unaligned.S.
15505 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15506 Add: __memcpy_sse2_unaligned.
15508 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15511 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15512 math_force_eval before restoring floating-point envrionment.
15513 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15514 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15516 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15518 (__nearbyintl): Use math_force_eval before restoring
15519 floating-point environment.
15520 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15522 * math/gen-libm-test.pl (special_functions): Remove.
15523 (parse_args): Don't handle TEST_extra. Handle functions with no
15525 * math/libm-test.inc (struct test_sincos_data): Replace with
15526 struct test_fFF_11_data.
15527 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15528 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15529 (sincos_test_data): Change element type to struct
15530 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15531 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15532 RUN_TEST_LOOP_sincos.
15533 * math/README.libm-test: Don't mention special handling of
15534 individual functions.
15535 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15536 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15537 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15538 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15539 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15542 * math/gen-libm-test.pl (get_variable): Remove function.
15543 (parse_args): Don't show pointer parameters to call in test
15544 names. Use "extra output N" in test names for extra outputs
15545 rather than naming variables.
15547 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15550 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15551 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15552 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15554 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15556 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15559 * math/gen-libm-test.pl (@tests): Remove variable.
15560 ($count): Likewise.
15561 (new_test): Remove function.
15562 (show_exceptions): New function.
15563 (special_functions): Use show_exceptions instead of new_test.
15564 (parse_args): Likewise.
15565 (generate_testfile): Pass only function name in generated call to
15566 print_max_error or print_complex_max_error.
15567 (get_ulps): Do not handle complex tests specially.
15568 (output_test): Rename to ...
15569 (get_all_ulps_for_test): ... this. Return a string rather than
15570 printing to a file. Require ulps to be present.
15571 (output_ulps): Generate arrays rather than #defines.
15572 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15573 (struct ulp_data): New type.
15574 (BUILD_COMPLEX_ULP): Remove macro.
15575 (compare_ulp_data): New function.
15576 (find_ulps): Likewise.
15577 (find_test_ulps): Likewise.
15578 (find_function_ulps): Likewise.
15579 (find_complex_function_ulps): Likewise.
15580 (print_max_error): Determine allowed ulps using
15581 find_function_ulps.
15582 (print_complex_max_error): Determine allowed ulps using
15583 find_complex_function_ulps.
15584 (check_float_internal): Determine max ulps using find_test_ulps.
15585 (check_float): Do not take max_ulp parameter. Update call to
15586 check_float_internal.
15587 (check_complex): Likewise.
15588 (check_int): Do not take max_ulp parameter.
15589 (check_long): Likewise.
15590 (check_bool): Likewise.
15591 (check_longlong): Likewise.
15592 (struct test_f_f_data): Remove max_ulp field.
15593 (struct test_ff_f_data): Likewise.
15594 (struct test_ff_f_data_nexttoward): Likewise.
15595 (struct test_fi_f_data): Likewise.
15596 (struct test_fl_f_data): Likewise.
15597 (struct test_if_f_data): Likewise.
15598 (struct test_fff_f_data): Likewise.
15599 (struct test_c_f_data): Likewise.
15600 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15601 (struct test_fF_f1_data): Likewise.
15602 (struct test_ffI_f1_data): Likewise.
15603 (struct test_c_c_data): Remove max_ulp field.
15604 (struct test_cc_c_data): Likewise.
15605 (struct test_f_i_data): Likewise.
15606 (struct test_ff_i_data): Likewise.
15607 (struct test_f_l_data): Likewise.
15608 (struct test_f_L_data): Likewise.
15609 (struct test_sincos_data): Likewise.
15610 (RUN_TEST_f_f): Do not handle ulps.
15611 (RUN_TEST_LOOP_f_f): Likewise.
15612 (RUN_TEST_2_f): Likewise.
15613 (RUN_TEST_LOOP_2_f): Likewise.
15614 (RUN_TEST_fff_f): Likewise.
15615 (RUN_TEST_LOOP_fff_f): Likewise.
15616 (RUN_TEST_c_f): Likewise.
15617 (RUN_TEST_LOOP_c_f): Likewise.
15618 (RUN_TEST_f_f1): Likewise.
15619 (RUN_TEST_LOOP_f_f1): Likewise.
15620 (RUN_TEST_fF_f1): Likewise.
15621 (RUN_TEST_LOOP_fF_f1): Likewise.
15622 (RUN_TEST_fI_f1): Likewise.
15623 (RUN_TEST_LOOP_fI_f1): Likewise.
15624 (RUN_TEST_ffI_f1): Likewise.
15625 (RUN_TEST_LOOP_ffI_f1): Likewise.
15626 (RUN_TEST_c_c): Likewise.
15627 (RUN_TEST_LOOP_c_c): Likewise.
15628 (RUN_TEST_cc_c): Likewise.
15629 (RUN_TEST_LOOP_cc_c): Likewise.
15630 (RUN_TEST_f_i): Likewise.
15631 (RUN_TEST_LOOP_f_i): Likewise.
15632 (RUN_TEST_f_i_tg): Likewise.
15633 (RUN_TEST_LOOP_f_i_tg): Likewise.
15634 (RUN_TEST_ff_i_tg): Likewise.
15635 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15636 (RUN_TEST_f_b): Likewise.
15637 (RUN_TEST_LOOP_f_b): Likewise.
15638 (RUN_TEST_f_b_tg): Likewise.
15639 (RUN_TEST_LOOP_f_b_tg): Likewise.
15640 (RUN_TEST_f_l): Likewise.
15641 (RUN_TEST_LOOP_f_l): Likewise.
15642 (RUN_TEST_f_L): Likewise.
15643 (RUN_TEST_LOOP_f_L): Likewise.
15644 (RUN_TEST_sincos): Likewise.
15645 (RUN_TEST_LOOP_sincos): Likewise.
15647 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15651 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15652 main case of finite arguments, set rounding mode to FE_TONEAREST
15653 and discard exceptions.
15654 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15656 (remainder_tonearest_test_data): New variable.
15657 (remainder_test_tonearest): New function.
15658 (remainder_towardzero_test_data): New variable.
15659 (remainder_test_towardzero): New function.
15660 (remainder_downward_test_data): New variable.
15661 (remainder_test_downward): New function.
15662 (remainder_upward_test_data): New variable.
15663 (remainder_test_upward): New function.
15664 (main): Call the new test functions.
15666 * math/libm-test.inc (struct test_f_f1_data): Remove field
15668 (struct test_fF_f1_data): Likewise.
15669 (struct test_ffI_f1_data): Likewise.
15670 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15671 based on value of EXTRA_EXPECTED.
15672 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15673 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15674 EXTRA_VAR based on value of EXTRA_EXPECTED.
15675 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15676 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15677 EXTRA_VAR based on value of EXTRA_EXPECTED.
15678 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15679 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15680 EXTRA_VAR based on value of EXTRA_EXPECTED.
15681 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15682 * math/gen-libm-test.pl (parse_args): Don't output initializers
15683 for extra output values.
15685 * math/libm-test.inc (check_int): Expect result to be exactly
15686 equal to expected value and do not handle ulps.
15687 (check_long): Likewise.
15688 (check_longlong): Likewise.
15690 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15692 (cimag_test_data): Likewise.
15693 (conj_test_data): Likewise.
15694 (copysign_test_data): Likewise.
15695 (cproj_test_data): Likewise.
15696 (creal_test_data): Likewise.
15697 (fabs_test_data): Likewise.
15698 (fdim_test_data): Likewise.
15699 (finite_test_data): Likewise.
15700 (floor_test_data): Likewise.
15701 (fmax_test_data): Likewise.
15702 (fmin_test_data): Likewise.
15703 (fmod_test_data): Likewise.
15704 (fpclassify_test_data): Likewise.
15705 (frexp_test_data): Likewise.
15706 (ilogb_test_data): Likewise.
15707 (isfinite_test_data): Likewise.
15708 (isgreater_test_data): Likewise.
15709 (isgreaterequal_test_data): Likewise.
15710 (isinf_test_data): Likewise.
15711 (isless_test_data): Likewise.
15712 (islessequal_test_data): Likewise.
15713 (islessgreater_test_data): Likewise.
15714 (isnan_test_data): Likewise.
15715 (isnormal_test_data): Likewise.
15716 (issignaling_test_data): Likewise.
15717 (isunordered_test_data): Likewise.
15718 (ldexp_test_data): Likewise.
15719 (lrint_test_data): Likewise.
15720 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15721 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15722 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15723 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15724 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15725 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15727 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15728 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15729 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15730 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15732 (lrint_downward_test_data): Test for "inexact" exceptions.
15733 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15734 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15735 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15737 (lrint_upward_test_data): Test for "inexact" exceptions.
15738 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15740 (llrint_test_data): Test for "inexact" exceptions.
15741 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15742 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15743 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15744 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15745 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15746 (llrint_downward_test_data): Test for "inexact" exceptions.
15747 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15748 (llrint_upward_test_data): Test for "inexact" exceptions.
15749 (logb_test_data): Likewise.
15750 (logb_downward_test_data): Likewise.
15751 (nextafter_test_data): Likewise.
15752 (nexttoward_test_data): Likewise.
15753 (remainder_test_data): Likewise.
15754 (remquo_test_data): Likewise.
15755 (scalbn_test_data): Likewise.
15756 (scalbln_test_data): Likewise.
15757 (signbit_test_data): Likewise.
15758 (sqrt_test_data): Likewise.
15759 (significand_test_data): Likewise.
15761 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15764 * benchtests/bench-modf.c (struct args): Mark arg0 as
15766 * scripts/bench.pl: Mark members of struct args as volatile.
15768 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15771 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15772 negative infinity on POWER6 or lower.
15773 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15775 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15778 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15779 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15780 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15781 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15782 (_FP_SETQNAN): New macro.
15783 (_FP_SETQNAN_SEMIRAW): Likewise.
15784 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15785 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15786 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15787 (FP_EXTEND): Use _FP_FRAC_SNANP.
15788 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15789 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15791 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15793 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15796 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15798 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15799 with DIVIDE_BY_ZERO_EXCEPTION.
15800 (gamma_test_data): Likewise.
15801 (lgamma_test_data): Likewise.
15802 (log_test_data): Likewise.
15803 (log10_test_data): Likewise.
15804 (log2_test_data): Likewise.
15805 (tgamma_test_data): Likewise.
15807 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15808 (acos_test_tonearest): Likewise.
15809 (acos_test_towardzero): Likewise.
15810 (acos_test_downward): Likewise.
15811 (acos_test_upward): Likewise.
15812 (acosh_test): Likewise.
15813 (asin_test): Likewise.
15814 (asin_test_tonearest): Likewise.
15815 (asin_test_towardzero): Likewise.
15816 (asin_test_downward): Likewise.
15817 (asin_test_upward): Likewise.
15818 (asinh_test): Likewise.
15819 (atan_test): Likewise.
15820 (atanh_test): Likewise.
15821 (atan2_test): Likewise.
15822 (cabs_test): Likewise.
15823 (cacos_test): Likewise.
15824 (cacosh_test): Likewise.
15825 (casin_test): Likewise.
15826 (casinh_test): Likewise.
15827 (catan_test): Likewise.
15828 (catanh_test): Likewise.
15829 (cbrt_test): Likewise.
15830 (ccos_test): Likewise.
15831 (ccosh_test): Likewise.
15832 (cexp_test): Likewise.
15833 (clog_test): Likewise.
15834 (clog10_test): Likewise.
15835 (cos_test): Likewise.
15836 (cos_test_tonearest): Likewise.
15837 (cos_test_towardzero): Likewise.
15838 (cos_test_downward): Likewise.
15839 (cos_test_upward): Likewise.
15840 (cosh_test): Likewise.
15841 (cosh_test_tonearest): Likewise.
15842 (cosh_test_towardzero): Likewise.
15843 (cosh_test_downward): Likewise.
15844 (cosh_test_upward): Likewise.
15845 (cpow_test): Likewise.
15846 (csin_test): Likewise.
15847 (csinh_test): Likewise.
15848 (csqrt_test): Likewise.
15849 (ctan_test): Likewise.
15850 (ctan_test_tonearest): Likewise.
15851 (ctan_test_towardzero): Likewise.
15852 (ctan_test_downward): Likewise.
15853 (ctan_test_upward): Likewise.
15854 (ctanh_test): Likewise.
15855 (ctanh_test_tonearest): Likewise.
15856 (ctanh_test_towardzero): Likewise.
15857 (ctanh_test_downward): Likewise.
15858 (ctanh_test_upward): Likewise.
15859 (erf_test): Likewise.
15860 (erfc_test): Likewise.
15861 (exp_test): Likewise.
15862 (exp_test_tonearest): Likewise.
15863 (exp_test_towardzero): Likewise.
15864 (exp_test_downward): Likewise.
15865 (exp_test_upward): Likewise.
15866 (exp10_test): Likewise.
15867 (exp2_test): Likewise.
15868 (expm1_test): Likewise.
15869 (fmod_test): Likewise.
15870 (gamma_test): Likewise.
15871 (hypot_test): Likewise.
15872 (j0_test): Likewise.
15873 (j1_test): Likewise.
15874 (jn_test): Likewise.
15875 (lgamma_test): Likewise.
15876 (log_test): Likewise.
15877 (log10_test): Likewise.
15878 (log1p_test): Likewise.
15879 (log2_test): Likewise.
15880 (logb_test_downward): Likewise.
15881 (pow_test): Likewise.
15882 (pow_test_tonearest): Likewise.
15883 (pow_test_towardzero): Likewise.
15884 (pow_test_downward): Likewise.
15885 (pow_test_upward): Likewise.
15886 (remainder_test): Likewise.
15887 (remquo_test): Likewise.
15888 (sin_test): Likewise.
15889 (sin_test_tonearest): Likewise.
15890 (sin_test_towardzero): Likewise.
15891 (sin_test_downward): Likewise.
15892 (sin_test_upward): Likewise.
15893 (sincos_test): Likewise.
15894 (sinh_test): Likewise.
15895 (sinh_test_tonearest): Likewise.
15896 (sinh_test_towardzero): Likewise.
15897 (sinh_test_downward): Likewise.
15898 (sinh_test_upward): Likewise.
15899 (sqrt_test): Likewise.
15900 (tan_test): Likewise.
15901 (tan_test_tonearest): Likewise.
15902 (tan_test_towardzero): Likewise.
15903 (tan_test_downward): Likewise.
15904 (tan_test_upward): Likewise.
15905 (tanh_test): Likewise.
15906 (tgamma_test): Likewise.
15907 (y0_test): Likewise.
15908 (y1_test): Likewise.
15909 (yn_test): Likewise.
15911 * math/gen-libm-test.pl (adjust_arg): Remove function.
15912 (special_function): Remove argument $in_func. Only handle
15913 generating output for tables of tests, not inside functions.
15914 (parse_args): Likewise.
15915 (generate_testfile): Remove variable $in_func. Update call to
15917 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15918 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15919 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15920 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15921 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15922 (MAX_VALUE_INIT): Rename macro to max_value.
15923 (MIN_VALUE_INIT): Rename macro to min_value.
15924 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15925 (plus_zero): Remove variable.
15926 (minus_zero): Likewise.
15927 (plus_infty): Likewise.
15928 (minus_infty): Likewise.
15929 (qnan_value): Likewise.
15930 (max_value): Likewise.
15931 (min_value): Likewise.
15932 (min_subnorm_value): Likewise.
15934 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15936 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15937 uint64_t or uint32_t usage.
15938 * crypt/sha256-block.c: Likewise.
15939 * crypt/sha256-crypt.c: Likewise.
15940 * crypt/sha256.c: Likewise.
15941 * crypt/sha512-block.c: Likewise.
15942 * crypt/sha512-crypt.c: Likewise.
15943 * crypt/sha512.c: Likewise.
15944 * debug/backtrace-tst.c: Likewise.
15945 * debug/pcprofiledump.c: Likewise.
15946 * elf/cache.c: Likewise.
15947 * elf/dl-cache.c: Likewise.
15948 * elf/dl-misc.c: Likewise.
15949 * elf/dl-profile.c: Likewise.
15950 * elf/dl-support.c: Likewise.
15951 * elf/ldconfig.c: Likewise.
15952 * elf/sprof.c: Likewise.
15953 * iconv/dummy-repertoire.c: Likewise.
15954 * iconv/iconv_charmap.c: Likewise.
15955 * iconv/skeleton.c: Likewise.
15956 * iconvdata/8bit-generic.c: Likewise.
15957 * iconvdata/cp737.h: Likewise.
15958 * iconvdata/cp775.h: Likewise.
15959 * iconvdata/ibm1008.h: Likewise.
15960 * iconvdata/ibm1025.h: Likewise.
15961 * iconvdata/ibm1046.h: Likewise.
15962 * iconvdata/ibm1097.h: Likewise.
15963 * iconvdata/ibm1112.h: Likewise.
15964 * iconvdata/ibm1122.h: Likewise.
15965 * iconvdata/ibm1123.h: Likewise.
15966 * iconvdata/ibm1124.h: Likewise.
15967 * iconvdata/ibm1129.h: Likewise.
15968 * iconvdata/ibm1130.h: Likewise.
15969 * iconvdata/ibm1132.h: Likewise.
15970 * iconvdata/ibm1133.h: Likewise.
15971 * iconvdata/ibm1137.h: Likewise.
15972 * iconvdata/ibm1140.h: Likewise.
15973 * iconvdata/ibm1141.h: Likewise.
15974 * iconvdata/ibm1142.h: Likewise.
15975 * iconvdata/ibm1143.h: Likewise.
15976 * iconvdata/ibm1144.h: Likewise.
15977 * iconvdata/ibm1145.h: Likewise.
15978 * iconvdata/ibm1146.h: Likewise.
15979 * iconvdata/ibm1147.h: Likewise.
15980 * iconvdata/ibm1148.h: Likewise.
15981 * iconvdata/ibm1149.h: Likewise.
15982 * iconvdata/ibm1153.h: Likewise.
15983 * iconvdata/ibm1154.h: Likewise.
15984 * iconvdata/ibm1155.h: Likewise.
15985 * iconvdata/ibm1156.h: Likewise.
15986 * iconvdata/ibm1157.h: Likewise.
15987 * iconvdata/ibm1158.h: Likewise.
15988 * iconvdata/ibm1160.h: Likewise.
15989 * iconvdata/ibm1161.h: Likewise.
15990 * iconvdata/ibm1162.h: Likewise.
15991 * iconvdata/ibm1163.h: Likewise.
15992 * iconvdata/ibm1164.h: Likewise.
15993 * iconvdata/ibm1166.h: Likewise.
15994 * iconvdata/ibm1167.h: Likewise.
15995 * iconvdata/ibm12712.h: Likewise.
15996 * iconvdata/ibm1390.h: Likewise.
15997 * iconvdata/ibm1399.h: Likewise.
15998 * iconvdata/ibm16804.h: Likewise.
15999 * iconvdata/ibm4517.h: Likewise.
16000 * iconvdata/ibm4899.h: Likewise.
16001 * iconvdata/ibm4909.h: Likewise.
16002 * iconvdata/ibm4971.h: Likewise.
16003 * iconvdata/ibm5347.h: Likewise.
16004 * iconvdata/ibm803.h: Likewise.
16005 * iconvdata/ibm856.h: Likewise.
16006 * iconvdata/ibm901.h: Likewise.
16007 * iconvdata/ibm902.h: Likewise.
16008 * iconvdata/ibm9030.h: Likewise.
16009 * iconvdata/ibm9066.h: Likewise.
16010 * iconvdata/ibm921.h: Likewise.
16011 * iconvdata/ibm922.h: Likewise.
16012 * iconvdata/ibm9448.h: Likewise.
16013 * iconvdata/isiri-3342.h: Likewise.
16014 * iconvdata/jis0201.h: Likewise.
16015 * include/link.h: Likewise.
16016 * include/netdb.h: Likewise.
16017 * inet/check_native.c: Likewise.
16018 * inet/check_pf.c: Likewise.
16019 * inet/getipv4sourcefilter.c: Likewise.
16020 * inet/getnameinfo.c: Likewise.
16021 * inet/getsourcefilter.c: Likewise.
16022 * inet/htonl.c: Likewise.
16023 * inet/setipv4sourcefilter.c: Likewise.
16024 * inet/setsourcefilter.c: Likewise.
16025 * inet/test-inet6_opt.c: Likewise.
16026 * inet/tst-network.c: Likewise.
16027 * locale/C-collate.c: Likewise.
16028 * locale/C-ctype.c: Likewise.
16029 * locale/C-time.c: Likewise.
16030 * locale/C-translit.h: Likewise.
16031 * locale/loadarchive.c: Likewise.
16032 * locale/programs/3level.h: Likewise.
16033 * locale/programs/charmap.c: Likewise.
16034 * locale/programs/charmap.h: Likewise.
16035 * locale/programs/ld-address.c: Likewise.
16036 * locale/programs/ld-collate.c: Likewise.
16037 * locale/programs/ld-ctype.c: Likewise.
16038 * locale/programs/ld-identification.c: Likewise.
16039 * locale/programs/ld-measurement.c: Likewise.
16040 * locale/programs/ld-messages.c: Likewise.
16041 * locale/programs/ld-monetary.c: Likewise.
16042 * locale/programs/ld-name.c: Likewise.
16043 * locale/programs/ld-numeric.c: Likewise.
16044 * locale/programs/ld-paper.c: Likewise.
16045 * locale/programs/ld-telephone.c: Likewise.
16046 * locale/programs/ld-time.c: Likewise.
16047 * locale/programs/linereader.c: Likewise.
16048 * locale/programs/locale.c: Likewise.
16049 * locale/programs/locarchive.c: Likewise.
16050 * locale/programs/locfile.h: Likewise.
16051 * locale/programs/repertoire.c: Likewise.
16052 * locale/programs/simple-hash.c: Likewise.
16053 * locale/programs/simple-hash.h: Likewise.
16054 * malloc/memusage.c: Likewise.
16055 * malloc/memusagestat.c: Likewise.
16056 * nis/nis_defaults.c: Likewise.
16057 * nis/nis_hash.c: Likewise.
16058 * nis/nis_print.c: Likewise.
16059 * nis/nis_xdr.c: Likewise.
16060 * nscd/connections.c: Likewise.
16061 * nscd/hstcache.c: Likewise.
16062 * nscd/nscd_gethst_r.c: Likewise.
16063 * nscd/nscd_getserv_r.c: Likewise.
16064 * nscd/nscd_helper.c: Likewise.
16065 * nscd/servicescache.c: Likewise.
16066 * nss/makedb.c: Likewise.
16067 * nss/nss_db/db-XXX.c: Likewise.
16068 * nss/nss_db/db-initgroups.c: Likewise.
16069 * nss/nss_db/db-netgrp.c: Likewise.
16070 * nss/nss_files/files-network.c: Likewise.
16071 * nss/nss_files/files-parse.c: Likewise.
16072 * posix/bug-regex5.c: Likewise.
16073 * posix/fnmatch_loop.c: Likewise.
16074 * posix/regcomp.c: Likewise.
16075 * posix/regexec.c: Likewise.
16076 * posix/tst-rfc3484-2.c: Likewise.
16077 * posix/tst-rfc3484-3.c: Likewise.
16078 * posix/tst-rfc3484.c: Likewise.
16079 * resolv/nss_dns/dns-canon.c: Likewise.
16080 * resolv/nss_dns/dns-network.c: Likewise.
16081 * resolv/res_init.c: Likewise.
16082 * resolv/res_mkquery.c: Likewise.
16083 * resolv/tst-aton.c: Likewise.
16084 * stdlib/cxa_atexit.c: Likewise.
16085 * stdlib/cxa_finalize.c: Likewise.
16086 * stdlib/gen-fpioconst.c: Likewise.
16087 * stdlib/strtol_l.c: Likewise.
16088 * string/tst-endian.c: Likewise.
16089 * sunrpc/auth_des.c: Likewise.
16090 * sunrpc/clnt_udp.c: Likewise.
16091 * sunrpc/rtime.c: Likewise.
16092 * sunrpc/svcauth_des.c: Likewise.
16093 * sunrpc/xdr.c: Likewise.
16094 * sunrpc/xdr_intXX_t.c: Likewise.
16095 * sunrpc/xdr_rec.c: Likewise.
16096 * sysdeps/generic/ldconfig.h: Likewise.
16097 * sysdeps/generic/ldsodefs.h: Likewise.
16098 * sysdeps/generic/memusage.h: Likewise.
16099 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16100 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16101 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16102 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16103 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16105 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16106 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16107 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16108 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16109 * sysdeps/posix/getaddrinfo.c: Likewise.
16110 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16111 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16112 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16113 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16114 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16115 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16116 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16117 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16118 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16119 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16120 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16121 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16122 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16123 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16124 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16125 * sysdeps/x86_64/dl-tls.h: Likewise.
16126 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16127 * time/alt_digit.c: Likewise.
16128 * time/era.c: Likewise.
16129 * wcsmbs/tst-c16c32-1.c: Likewise.
16131 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16133 * math/libm-test.inc (struct test_sincos_data): New type.
16134 (RUN_TEST_LOOP_sincos): New macro.
16135 (sincos_test_data): New variable.
16136 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16138 2013-05-16 Richard Henderson <rth@redhat.com>
16140 * math/atest-exp2.c (LIMB64): New macro.
16141 (CONSTSZ): New macro.
16142 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16144 (print_mpn_fp): ... to function scope.
16145 (read_mpn_hex): Remove.
16146 (get_log2): Remove.
16147 (exp2_mpn): Use mp_log2.
16148 (main): Use mp_exp1.
16150 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16152 * math/libm-test.inc: Remove comment about not testing "inexact"
16154 (INEXACT_EXCEPTION): New macro.
16155 (NO_INEXACT_EXCEPTION): Likewise.
16156 (INVALID_EXCEPTION_OK): Update value.
16157 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16158 (OVERFLOW_EXCEPTION_OK): Likewise.
16159 (UNDERFLOW_EXCEPTION_OK): Likewise.
16160 (IGNORE_ZERO_INF_SIGN): Likewise.
16161 (ERRNO_UNCHANGED): Likewise.
16162 (ERRNO_EDOM): Likewise.
16163 (ERRNO_ERANGE): Likewise.
16164 (test_exceptions): Handle testing "inexact" exceptions.
16165 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16166 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16167 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16168 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16170 (rint_towardzero_test_data): Likewise.
16171 (rint_downward_test_data): Likewise.
16172 (rint_upward_test_data): Likewise.
16174 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16175 with OVERFLOW_EXCEPTION.
16176 (exp10_test_data): Likewise.
16177 (exp2_test_data): Likewise.
16178 (expm1_test_data): Likewise.
16179 (lgamma_test_data): Likewise.
16180 (pow_test_data): Likewise.
16181 (tgamma_test_data): Likewise.
16182 (yn_test_data): Remove duplicate test of overflow.
16184 * math/libm-test.inc (struct test_cc_c_data): New type.
16185 (RUN_TEST_LOOP_cc_c): New macro.
16186 (cpow_test_data): New variable.
16187 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16189 * math/libm-test.inc (struct test_f_L_data): New type.
16190 (RUN_TEST_LOOP_f_L): New macro.
16191 (llrint_test_data): New variable.
16192 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16193 (llrint_tonearest_test_data): New variable.
16194 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16195 (llrint_towardzero_test_data): New variable.
16196 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16197 (llrint_downward_test_data): New variable.
16198 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16199 (llrint_upward_test_data): New variable.
16200 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16201 (llround_test_data): New variable.
16202 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16204 2013-05-13 Peter Collingbourne <pcc@google.com>
16206 * math/atest-exp2.c (get_log2): Remove const attribute.
16208 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16210 * math/libm-test.inc (struct test_f_l_data): New type.
16211 (RUN_TEST_LOOP_f_l): New macro.
16212 (lrint_test_data): New variable.
16213 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16214 (lrint_tonearest_test_data): New variable.
16215 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16216 (lrint_towardzero_test_data): New variable.
16217 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16218 (lrint_downward_test_data): New variable.
16219 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16220 (lrint_upward_test_data): New variable.
16221 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16222 (lround_test_data): New variable.
16223 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16225 2013-05-15 Peter Collingbourne <pcc@google.com>
16227 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16228 (EXTRACT_WORDS64) Use where appropriate.
16229 (INSERT_WORDS64) Likewise.
16231 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16232 constraints with x constraints.
16233 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16235 * malloc/obstack.c (_obstack_compat): Add initializer.
16237 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16239 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16240 si_trapno and add si_addr_lsb to _sifields.sigfault.
16241 (si_trapno): Remove macro.
16242 (si_addr_lsb): Define new macro.
16243 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16245 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16247 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16248 instead of TEST_f_l.
16249 (llrint_test_tonearest): Likewise.
16250 (llrint_test_towardzero): Likewise.
16251 (llrint_test_downward): Likewise.
16252 (llrint_test_upward): Likewise.
16253 (llround_test): Likewise.
16255 * math/libm-test.inc (struct test_f_i_data): Add comment.
16256 (RUN_TEST_LOOP_f_b): New macro.
16257 (RUN_TEST_LOOP_f_b_tg): Likewise.
16258 (finite_test_data): New variable.
16259 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16260 (isfinite_test_data): New variable.
16261 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16262 (isinf_test_data): New variable.
16263 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16264 (isnan_test_data): New variable.
16265 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16266 (isnormal_test_data): New variable.
16267 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16268 (issignaling_test_data): New variable.
16269 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16270 (signbit_test_data): New variable.
16271 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16273 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16274 with INVALID_EXCEPTION.
16275 (acosh_test_data): Likewise.
16276 (asin_test_data): Likewise.
16277 (atanh_test_data): Likewise.
16278 (fmod_test_data): Likewise.
16279 (log_test_data): Likewise.
16280 (log10_test_data): Likewise.
16281 (log2_test_data): Likewise.
16282 (pow_test_data): Likewise.
16283 (sqrt_test_data): Likewise.
16284 (y0_test_data): Likewise.
16285 (y1_test_data): Likewise.
16286 (yn_test_data): Likewise.
16288 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16291 * math/libm-test.inc (struct test_ff_i_data): New type.
16292 (RUN_TEST_LOOP_ff_i_tg): New macro.
16293 (isgreater_test_data): New variable.
16294 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16295 (isgreaterequal_test_data): New variable.
16296 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16297 (isless_test_data): New variable.
16298 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16299 (islessequal_test_data): New variable.
16300 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16301 (islessgreater_test_data): New variable.
16302 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16303 (isunordered_test_data): New variable.
16304 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16306 2013-05-14 David S. Miller <davem@davemloft.net>
16308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16310 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16312 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16314 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16316 (struct test_f_i_data): Change type of max_ulp to int.
16318 * math/libm-test.inc (test_ffI_f1_data): New type.
16319 (RUN_TEST_LOOP_ffI_f1): New macro.
16320 (remquo_test_data): New variable.
16321 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16323 * setjmp/tst-setjmp-fp.c: New file.
16324 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16325 (link-libm): New variable.
16326 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16328 * math/libm-test.inc (struct test_f_i_data): New type.
16329 (RUN_TEST_LOOP_f_i): New macro.
16330 (RUN_TEST_LOOP_f_i_tg): Likewise.
16331 (fpclassify_test_data): New variable.
16332 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16333 (ilogb_test_data): New variable.
16334 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16336 * math/libm-test.inc (scalbln_test): Correct function name in END
16339 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16340 (RUN_TEST_LOOP_fI_f1): New macro.
16341 (frexp_test_data): New variable.
16342 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16344 * math/libm-test.inc (struct test_fF_f1_data): New type.
16345 (RUN_TEST_LOOP_fF_f1): New macro.
16346 (modf_test_data): New variable.
16347 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16349 * math/libm-test.inc (struct test_f_f1_data): New type.
16350 (RUN_TEST_LOOP_f_f1): New macro.
16351 (gamma_test_data): New variable.
16352 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16353 (lgamma_test_data): New variable.
16354 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16356 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16358 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16359 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16360 (main): Comment "tls" pseudo-hwcap.
16362 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16364 * math/libm-test.inc (struct test_fl_f_data): New type.
16365 (RUN_TEST_LOOP_fl_f): New variable.
16366 (scalbln_test_data): New variable.
16367 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16369 * math/libm-test.inc (struct test_fi_f_data): New type.
16370 (RUN_TEST_LOOP_fi_f): New macro.
16371 (ldexp_test_data): New variable.
16372 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16373 (scalbn_test_data): New variable.
16374 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16376 * math/libm-test.inc (struct test_c_f_data): New type.
16377 (RUN_TEST_LOOP_c_f): New macro.
16378 (cabs_test_data): New variable.
16379 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16380 (carg_test_data): New variable.
16381 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16382 (cimag_test_data): New variable.
16383 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16384 (creal_test_data): New variable.
16385 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16387 * math/libm-test.inc (struct test_if_f_data): New type.
16388 (RUN_TEST_LOOP_if_f): New macro.
16389 (jn_test_data): New variable.
16390 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16391 (yn_test_data): New variable.
16392 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16394 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16396 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16398 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16399 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16401 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16403 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16404 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16405 (bench-deps): Add bench-timing.h.
16406 * benchtests-bench-skeleton.c: Include bench-timing.h.
16407 (main): Use TIMING_* macros instead of clock_gettime.
16408 * benchtests/bench-timing.h: New file.
16411 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16412 Renamed from _LIB_VERSION.
16413 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16415 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16417 * math/libm-test.inc (struct test_fff_f_data): New type.
16418 (RUN_TEST_LOOP_fff_f): New macro.
16419 (fma_test_data): New variable.
16420 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16421 (fma_towardzero_test_data): New variable.
16422 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16423 (fma_downward_test_data): New variable.
16424 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16425 (fma_upward_test_data): New variable.
16426 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16428 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16429 (struct test_c_c_data): New type.
16430 (RUN_TEST_LOOP_c_c): New macro.
16431 (cacos_test_data): New variable.
16432 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16433 (cacosh_test_data): New variable.
16434 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16435 (casin_test_data): New variable.
16436 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16437 (casinh_test_data): New variable.
16438 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16439 (catan_test_data): New variable.
16440 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16441 (catanh_test_data): New variable.
16442 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16443 (ccos_test_data): New variable.
16444 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16445 (ccosh_test_data): New variable.
16446 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16447 (cexp_test_data): New variable.
16448 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16449 (clog_test_data): New variable.
16450 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16451 (clog10_test_data): New variable.
16452 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16453 (conj_test_data): New variable.
16454 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16455 (cproj_test_data): New variable.
16456 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16457 (csin_test_data): New variable.
16458 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16459 (csinh_test_data): New variable.
16460 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16461 (csqrt_test_data): New variable.
16462 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16463 (ctan_test_data): New variable.
16464 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16465 (ctan_tonearest_test_data): New variable.
16466 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16467 (ctan_towardzero_test_data): New variable.
16468 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16469 (ctan_downward_test_data): New variable.
16470 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16471 (ctan_upward_test_data): New variable.
16472 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16473 (ctanh_test_data): New variable.
16474 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16475 (ctanh_tonearest_test_data): New variable.
16476 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16477 (ctanh_towardzero_test_data): New variable.
16478 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16479 (ctanh_downward_test_data): New variable.
16480 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16481 (ctanh_upward_test_data): New variable.
16482 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16483 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16486 * math/libm-test.inc (struct test_ff_f_data): New type.
16487 (struct test_ff_f_data_nexttoward): Likewise.
16488 (RUN_TEST_LOOP_2_f): New macro.
16489 (RUN_TEST_LOOP_ff_f): Likewise.
16490 (atan2_test_data): New variable.
16491 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16492 (copysign_test_data): New variable.
16493 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16494 (fdim_test_data): New variable.
16495 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16496 (fmax_test_data): New variable.
16497 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16498 (fmin_test_data): New variable.
16499 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16500 (fmod_test_data): New variable.
16501 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16502 (hypot_test_data): New variable.
16503 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16504 (nextafter_test_data): New variable.
16505 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16506 (nexttoward_test_data): New variable.
16507 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16508 (pow_test_data): New variable.
16509 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16510 (pow_tonearest_test_data): New variable.
16511 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16512 (pow_towardzero_test_data): New variable.
16513 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16514 (pow_downward_test_data): New variable.
16515 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16516 (pow_upward_test_data): New variable.
16517 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16518 (remainder_test_data): New variable.
16519 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16520 (scalb_test_data): New variable.
16521 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16522 * sysdeps/i386/fpu/libm-test-ulps: Update.
16524 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16526 * math/libm-test.inc (fma_test): Use max_value instead of local
16528 (nextafter_test): Likewise.
16530 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16531 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16532 (acos_downward_test_data): New variable.
16533 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16534 (acos_upward_test_data): New variable.
16535 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16536 (acosh_test_data): New variable.
16537 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16538 (asin_test_data): New variable.
16539 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16540 (asin_tonearest_test_data): New variable.
16541 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16542 (asin_towardzero_test_data): New variable.
16543 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16544 (asin_downward_test_data): New variable.
16545 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16546 (asin_upward_test_data): New variable.
16547 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16548 (asinh_test_data): New variable.
16549 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16550 (atan_test_data): New variable.
16551 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16552 (atanh_test_data): New variable.
16553 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16554 (cbrt_test_data): New variable.
16555 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16556 (ceil_test_data): New variable.
16557 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16558 (cos_test_data): New variable.
16559 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16560 (cos_tonearest_test_data): New variable.
16561 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16562 (cos_towardzero_test_data): New variable.
16563 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16564 (cos_downward_test_data): New variable.
16565 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16566 (cos_upward_test_data): New variable.
16567 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16568 (cosh_test_data): New variable.
16569 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16570 (cosh_tonearest_test_data): New variable.
16571 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16572 (cosh_towardzero_test_data): New variable.
16573 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16574 (cosh_downward_test_data): New variable.
16575 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16576 (cosh_upward_test_data): New variable.
16577 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16578 (erf_test_data): New variable.
16579 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16580 (erfc_test_data): New variable.
16581 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16582 (exp_test_data): New variable.
16583 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16584 (exp_tonearest_test_data): New variable.
16585 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16586 (exp_towardzero_test_data): New variable.
16587 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16588 (exp_downward_test_data): New variable.
16589 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16590 (exp_upward_test_data): New variable.
16591 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16592 (exp10_test_data): New variable.
16593 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16594 (exp2_test_data): New variable.
16595 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16596 (expm1_test_data): New variable.
16597 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16598 (fabs_test_data): New variable.
16599 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16600 (floor_test_data): New variable.
16601 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16602 (j0_test_data): New variable.
16603 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16604 (j1_test_data): New variable.
16605 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16606 (log_test_data): New variable.
16607 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16608 (log10_test_data): New variable.
16609 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16610 (log1p_test_data): New variable.
16611 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16612 (log2_test_data): New variable.
16613 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16614 (logb_test_data): New variable.
16615 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16616 (logb_downward_test_data): New variable.
16617 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16618 (nearbyint_test_data): New variable.
16619 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16620 (rint_test_data): New variable.
16621 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16622 (rint_tonearest_test_data): New variable.
16623 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16624 (rint_towardzero_test_data): New variable.
16625 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16626 (rint_downward_test_data): New variable.
16627 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16628 (rint_upward_test_data): New variable.
16629 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16630 (round_test_data): New variable.
16631 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16632 (sin_test_data): New variable.
16633 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16634 (sin_tonearest_test_data): New variable.
16635 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16636 (sin_towardzero_test_data): New variable.
16637 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16638 (sin_downward_test_data): New variable.
16639 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16640 (sin_upward_test_data): New variable.
16641 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16642 (sinh_test_data): New variable.
16643 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16644 (sinh_tonearest_test_data): New variable.
16645 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16646 (sinh_towardzero_test_data): New variable.
16647 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16648 (sinh_downward_test_data): New variable.
16649 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16650 (sinh_upward_test_data): New variable.
16651 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16652 (sqrt_test_data): New variable.
16653 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16654 (tan_test_data): New variable.
16655 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16656 (tan_tonearest_test_data): New variable.
16657 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16658 (tan_towardzero_test_data): New variable.
16659 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16660 (tan_downward_test_data): New variable.
16661 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16662 (tan_upward_test_data): New variable.
16663 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16664 (tanh_test_data): New variable.
16665 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16666 (tgamma_test_data): New variable.
16667 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16668 (trunc_test_data): New variable.
16669 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16670 (y0_test_data): New variable.
16671 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16672 (y1_test_data): New variable.
16673 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16674 (significand_test_data): New variable.
16675 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16677 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16680 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16682 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16684 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16686 2013-05-10 Andreas Jaeger <aj@suse.de>
16689 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16690 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16692 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16694 * math/gen-libm-test.pl (adjust_arg): New function.
16695 (special_functions): Handle generating output in both functions
16697 (parse_args): Likewise.
16698 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16699 $in_func argument to parse_args.
16700 * math/libm-test.inc (struct test_f_f_data): New type.
16701 (IF_ROUND_INIT_): New macro.
16702 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16703 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16704 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16705 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16706 (ROUND_RESTORE_): Likewise.
16707 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16708 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16709 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16710 (ROUND_RESTORE_FE_UPWARD): Likewise.
16711 (RUN_TEST_LOOP_f_f): New macro.
16712 (acos_test_data): New variable.
16713 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16714 (acos_tonearest_test_data): New variable.
16715 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16717 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16719 * benchtests/bench-skeleton.c (startup): Fix coding style.
16721 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16724 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16725 negative infinity argument.
16726 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16727 negative infinity argument.
16728 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16729 negative infinity argument.
16730 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16733 2013-05-10 Florian Weimer <fweimer@redhat.com>
16735 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16736 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16737 * iconv/iconv_prog.c (main): Likewise.
16738 * locale/programs/charmap-dir.c (charmap_readdir)
16739 (fopen_uncompressed): Likewise.
16740 * locale/programs/locfile.c (siblings_uncached)
16741 (write_locale_data): Use lstat64 instead of lstat.
16742 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16745 2013-05-10 Andreas Jaeger <aj@suse.de>
16748 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16750 Include <locale.h>.
16752 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16754 * elf/dl-close.c (_dl_close_worker): Add comments.
16756 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16759 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16761 (__ieee754_rem_pio2l): Update comments.
16764 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16766 (__ieee754_rem_pio2l): Update comments.
16768 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16769 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16771 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16774 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16775 (M_PI_34_LOG10El): Likewise.
16776 (M_PI2_LOG10El): Likewise.
16777 (M_PI4_LOG10El): Likewise.
16778 (M_PI_LOG10El): Likewise.
16780 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16784 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16786 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16787 (MINUS_ZERO_INIT): Likewise.
16788 (PLUS_INFTY_INIT): Likewise.
16789 (MINUS_INFTY_INIT): Likewise.
16790 (QNAN_VALUE_INIT): Likewise.
16791 (MAX_VALUE_INIT): Likewise.
16792 (MIN_VALUE_INIT): Likewise.
16793 (MIN_SUBNORM_VALUE_INIT): Likewise.
16794 (plus_zero): Initialize with PLUS_ZERO_INIT.
16795 (minus_zero): Initialize with MINUS_ZERO_INIT.
16796 (plus_infty): Initialize with PLUS_INFTY_INIT.
16797 (minus_infty): Initialize with MINUS_INFTY_INIT.
16798 (qnan_value): Initialize with QNAN_VALUE_INIT.
16799 (max_value): Initialize with MAX_VALUE_INIT.
16800 (min_value): Initialize with MIN_VALUE_INIT.
16801 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16803 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16804 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16805 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16806 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16808 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16809 (RUN_TEST_2_f): Likewise.
16810 (RUN_TEST_ff_f): Likewise.
16811 (RUN_TEST_fi_f): Likewise.
16812 (RUN_TEST_fl_f): Likewise.
16813 (RUN_TEST_fff_f): Likewise.
16814 (RUN_TEST_c_f): Likewise.
16815 (RUN_TEST_f_f1): Likewise.
16816 (RUN_TEST_fF_f1): Likewise.
16817 (RUN_TEST_fI_f1): Likewise.
16818 (RUN_TEST_ffI_f1): Likewise.
16819 (RUN_TEST_c_c): Likewise.
16820 (RUN_TEST_cc_c): Likewise.
16821 (RUN_TEST_f_i): Likewise.
16822 (RUN_TEST_f_i_tg): Likewise.
16823 (RUN_TEST_ff_i_tg): Likewise.
16824 (RUN_TEST_f_b): Likewise.
16825 (RUN_TEST_f_b_tg): Likewise.
16826 (RUN_TEST_f_l): Likewise.
16827 (RUN_TEST_f_L): Likewise.
16828 (RUN_TEST_sincos): Likewise.
16829 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16830 whether to show exceptions. Do not include ");\n" in return
16832 (special_functions): Output call to RUN_TEST_sincos instead of
16833 check_float calls. Update calls to new_test.
16834 (parse_args): Output call to single RUN_TEST_* macro instead of
16835 check_* calls and other assignments. Update calls to new_test.
16841 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16842 input to result for tgamma overflow.
16843 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16844 (gamma_coeff): New variable.
16845 (NCOEFF): New macro.
16846 (gamma_positive): New function.
16847 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16848 underflow here. Use gamma_positive instead of exp (lgamma) for
16850 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16851 (gamma_coeff): New variable.
16852 (NCOEFF): New macro.
16853 (gammaf_positive): New function.
16854 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16855 underflow here. Use gamma_positive instead of exp (lgamma) for
16857 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16858 (gamma_coeff): New variable.
16859 (NCOEFF): New macro.
16860 (gammal_positive): New function.
16861 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16862 underflow here. Use gamma_positive instead of exp (lgamma) for
16864 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16865 (gamma_coeff): New variable.
16866 (NCOEFF): New macro.
16867 (gammal_positive): New function.
16868 (__ieee754_gammal_r): Handle positive infinity, overflow and
16869 underflow here. Handle NaN the same as positive infinity. Remove
16870 check x < 0xffffffff for negative integers. Use gamma_positive
16871 instead of exp (lgamma) for other arguments.
16872 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16873 (gamma_coeff): New variable.
16874 (NCOEFF): New macro.
16875 (gammal_positive): New function.
16876 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16877 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16878 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16879 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16880 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16881 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16882 * sysdeps/generic/math_private.h (__gamma_productf): New
16884 (__gamma_product): Likewise.
16885 (__gamma_productl): Likewise.
16886 * math/Makefile (libm-calls): Add gamma_product.
16887 * math/libm-test.inc (tgamma_test): Add more tests.
16888 * sysdeps/i386/fpu/libm-test-ulps: Update.
16889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16891 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16893 * benchtests/bench-skeleton.c (main): Preheat CPU.
16895 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16897 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16899 2013-05-07 Roland McGrath <roland@hack.frob.com>
16901 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16902 and _dl_skip_args_internal.
16904 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16906 * manual/message.texi (Message Translation): Talk about users.
16907 Message to key mapping impacts design.
16909 2013-05-06 Roland McGrath <roland@hack.frob.com>
16911 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16913 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16915 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16916 * sysdeps/wordsize-64/glob64.c: ... here.
16918 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16919 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16922 * debug/getlogin_r_chk.c: Moved to ...
16923 * login/getlogin_r_chk.c: ... here.
16924 * debug/Makefile (routines): Move getlogin_r_chk to ...
16925 * login/Makefile (routines): ... here.
16926 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16927 * login/Versions (libc: GLIBC_2.4): ... here.
16929 * io/poll.c (__poll): Renamed from poll.
16930 Add libc_hidden_def.
16931 (poll): Define as weak alias.
16933 * debug/ptsname_r_chk.c: Moved to ...
16934 * login/ptsname_r_chk.c: ... here.
16935 * debug/Makefile (routines): Move ptsname_r_chk to ...
16936 * login/Makefile (routines): ... here.
16937 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16938 * login/Versions (libc: GLIBC_2.4): ... here.
16940 * posix/getlogin.c: Moved to ...
16941 * login/getlogin.c: ... here.
16942 * posix/getlogin_r.c: Moved to ...
16943 * login/getlogin_r.c: ... here.
16944 * posix/getlogin_r.c: Moved to ...
16945 * login/getlogin_r.c: ... here.
16946 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16947 * login/Makefile (routines): ... here.
16948 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16949 * login/Versions (libc: GLIBC_2.0): ... here.
16951 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16952 (setrlimit): Define as weak alias.
16954 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16955 Call __ names for open, ftruncate, and close.
16956 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16957 (truncate): Define as weak alias.
16959 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16961 * math/gen-libm-test.pl (parse_args): Initialize x before each
16962 test of frexp, modf and remquo.
16964 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16965 test signgam value.
16967 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16971 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16973 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16975 2013-05-06 Roland McGrath <roland@hack.frob.com>
16977 * elf/dl-writev.h: New file.
16978 * elf/dl-misc.c: Include it.
16979 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16980 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16982 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16984 * math/libm-test.inc (noXFails): Remove variable.
16985 (noXPasses): Likewise.
16986 (BUILD_COMPLEX_INT): Remove macro.
16987 (print_screen): Remove xfail argument.
16988 (print_screen_max_error): Likewise.
16989 (update_stats): Likewise.
16990 (print_max_error): Likewise. Update calls to other affected
16992 (print_complex_max_error): Likewise.
16993 (test_single_exception): Update calls to print_screen.
16994 (test_single_errno): Likewise.
16995 (check_float_internal): Remove xfail argument. Update calls to
16996 other affected functions.
16997 (check_float): Likewise.
16998 (check_complex): Likewise.
16999 (check_int): Likewise.
17000 (check_long): Likewise.
17001 (check_bool): Likewise.
17002 (check_longlong): Likewise.
17003 (main): Don't print noXFails and noXPasses.
17004 * math/gen-libm-test.pl (top level): Don't mention expected
17005 failure handling in comment.
17006 (new_test): Don't handle expected failures.
17007 (parse_args): Don't mention expected failure handling in comment.
17008 (generate_testfile): Don't handle expected failures.
17009 (parse_ulps): Likewise.
17010 (print_ulps_file): Likewise.
17011 (get_failure): Remove function.
17012 (output_test): Don't handle expected failures.
17013 * make/README.libm-test: Don't mention expected failure handling.
17015 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17016 (minus_zero): Likewise.
17017 (plus_infty): Likewise.
17018 (minus_infty): Likewise.
17019 (qnan_value): Likewise.
17020 (max_value): Likewise.
17021 (min_value): Likewise.
17022 (min_subnorm_value): Likewise.
17023 (initialize): Do not initialize those variables dynamically.
17025 2013-05-03 Roland McGrath <roland@hack.frob.com>
17027 * io/open.c (__open_2): Moved to ...
17028 * io/open_2.c: ... this new file.
17029 * io/open64.c (__open64_2): Moved to ...
17030 * io/open64_2.c: ... this new file.
17031 * io/openat.c (__openat_2): Moved to ...
17032 * io/openat_2.c: ... this new file.
17033 * io/openat64.c (__openat64_2): Moved to ...
17034 * io/openat64_2.c: ... this new file.
17035 * io/Makefile (routines): Add them.
17036 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17037 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17038 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17039 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17040 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17041 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17042 (__openat64): Add hidden_ver.
17043 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17044 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17046 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17047 Separately conditionalize setting of GLRO(dl_sysinfo) so
17048 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17049 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17051 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17053 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17054 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17056 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17057 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17058 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17059 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17060 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17062 2013-05-03 Joseph Myers <joseph@codesourcery.com>
17064 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17065 test signgam value.
17067 * math/libm-test.inc (hypot_test): Do not use
17068 IGNORE_ZERO_INF_SIGN.
17070 2013-05-03 Andreas Jaeger <aj@suse.de>
17072 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17074 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17075 (PF_MAX): Adjust for VSOCK change.
17077 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17081 2013-05-02 Carlos O'Donell <carlos@redhat.com>
17084 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17085 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17086 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17088 2013-05-02 David S. Miller <davem@davemloft.net>
17090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17092 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
17094 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17096 2013-05-01 Roland McGrath <roland@hack.frob.com>
17098 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17100 2013-05-01 Richard Smith <richard@metafoo.co.uk>
17103 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17104 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17105 Use __attribute__ ((__gnu_inline__)).
17106 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17107 Don't use __attribute__ ((__gnu_inline__)).
17109 2013-05-01 Joseph Myers <joseph@codesourcery.com>
17112 * math/s_catan.c (__catan): Handle small real or imaginary part of
17113 input specially to avoid spurious underflow.
17114 * math/s_catanf.c (__catanf): Likewise.
17115 * math/s_catanh.c (__catanh): Likewise.
17116 * math/s_catanhf.c (__catanhf): Likewise.
17117 * math/s_catanhl.c (__catanhl): Likewise.
17118 * math/s_catanl.c (__catanl): Likewise.
17119 * math/libm-test.inc (catan_test): Add more tests.
17120 (catanh_test): Likewise.
17121 * sysdeps/i386/fpu/libm-test-ulps: Update.
17122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17124 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17128 2013-04-30 Joseph Myers <joseph@codesourcery.com>
17131 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17132 accurately for denominator in atan2.
17133 * math/s_catanf.c (__catanf): Likewise.
17134 * math/s_catanh.c (__catanh): Likewise.
17135 * math/s_catanhf.c (__catanhf): Likewise.
17136 * math/s_catanhl.c (__catanhl): Likewise.
17137 * math/s_catanl.c (__catanl): Likewise.
17138 * math/libm-test.inc (catan_test): Add more tests.
17139 (catanh_test): Likewise.
17140 * sysdeps/i386/fpu/libm-test-ulps: Update.
17141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17143 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17145 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17147 * benchtests/Makefile (bench): Remove slow benchmarks.
17148 * benchtests/atan-inputs: Add slow benchmark inputs.
17149 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17150 (BENCH_FUNC): Accept variant offset.
17152 * benchtests/bench-skeleton.c (main): Run benchmark for each
17154 * benchtests/cos-inputs: Add slow benchmark inputs.
17155 * benchtests/exp-inputs: Likewise.
17156 * benchtests/pow-inputs: Likewise.
17157 * benchtests/sin-inputs: Likewise.
17158 * benchtests/slowatan-inputs: Remove.
17159 * benchtests/slowatan.c: Remove.
17160 * benchtests/slowcos-inputs: Remove.
17161 * benchtests/slowcos.c: Remove.
17162 * benchtests/slowexp-inputs: Remove.
17163 * benchtests/slowexp.c: Remove.
17164 * benchtests/slowpow-inputs: Remove.
17165 * benchtests/slowpow.c: Remove.
17166 * benchtests/slowsin-inputs: Remove.
17167 * benchtests/slowsin.c: Remove.
17168 * benchtests/slowtan-inputs: Remove.
17169 * benchtests/slowtan.c: Remove.
17170 * benchtests/tan-inputs: Add slow benchmark inputs.
17171 * scripts/bench.pl: Parse comments and directives.
17173 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17175 ($(objpfx)bench-%.c): Remove *-ITER.
17176 * benchtests/bench-modf.c: Remove definition of ITER.
17177 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17178 (main): Loop for DURATION seconds instead of fixed number of
17180 * scripts/bench.pl: Don't expect iterations in parameters.
17182 2013-04-29 Roland McGrath <roland@hack.frob.com>
17184 * io/fchdir.c (__fchdir): Renamed from fchdir.
17185 (fchdir): Define as weak alias.
17187 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17189 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17190 (ERRNO_EDOM): Likewise.
17191 (ERRNO_ERANGE): Likewise.
17192 (noErrnoTests): New variable.
17193 (init_max_error): Set errno to 0.
17194 (test_single_errno): New function.
17195 (test_errno): Likewise.
17196 (check_float_internal): Call test_errno. Set errno to 0.
17197 (check_complex): Refer to errno tests in comment.
17198 (check_int): Call test_errno. Set errno to 0.
17199 (check_long): Likewise.
17200 (check_bool): Likewise.
17201 (check_longlong): Likewise.
17202 (cos_test): Use ERRNO_* flags for errno tests instead of
17204 (expm1_test): Likewise.
17205 (fmod_test): Likewise.
17206 (ilogb_test): Likewise.
17207 (lgamma_test): Likewise.
17208 (pow_test): Likewise.
17209 (remainder_test): Likewise.
17210 (sin_test): Likewise.
17211 (tan_test): Likewise.
17212 (yn_test): Likewise.
17213 (initialize): Set errno to 0.
17214 (main): Print number of errno tests.
17215 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17217 2013-04-29 Andreas Jaeger <aj@suse.de>
17220 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17224 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17225 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17229 * stdlib/random.c (__initstate): Return NULL if
17233 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17234 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17237 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17241 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17243 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17244 of individual tests.
17245 (casin_test): Likewise.
17246 (casinh_test): Likewise.
17248 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17251 * math/s_catan.c (__catan): Handle arguments with large real or
17252 imaginary part separately without squaring.
17253 * math/s_catanf.c (__catanf): Likewise.
17254 * math/s_catanh.c (__catanh): Likewise.
17255 * math/s_catanhf.c (__catanhf): Likewise.
17256 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17258 (__catanhl): Handle arguments with large real or imaginary part
17259 separately without squaring.
17260 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17262 (__catanl): Handle arguments with large real or imaginary part
17263 separately without squaring.
17264 * math/libm-test.inc (catan_test): Add more tests.
17265 (catanh_test): Likewise.
17266 * sysdeps/i386/fpu/libm-test-ulps: Update.
17267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17269 2013-04-27 Andreas Jaeger <aj@suse.de>
17272 * stdlib/stdlib.h: Update guards for qecvt.
17273 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17276 2013-04-27 Allan McRae <allan@archlinux.org>
17278 * sysdeps/i386/fpu/libm-test-ulps: Update.
17280 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17283 * math/s_catan.c: Include <float.h>.
17284 (__catan): Ensure underflow exception occurs for underflowed
17286 * math/s_catanf.c: Include <float.h>.
17287 (__catanf): Ensure underflow exception occurs for underflowed
17289 * math/s_catanh.c: Include <float.h>.
17290 (__catanh): Ensure underflow exception occurs for underflowed
17292 * math/s_catanhf.c: Include <float.h>.
17293 (__catanhf): Ensure underflow exception occurs for underflowed
17295 * math/s_catanhl.c: Include <float.h>.
17296 (__catanhl): Ensure underflow exception occurs for underflowed
17298 * math/s_catanl.c: Include <float.h>.
17299 (__catanl): Ensure underflow exception occurs for underflowed
17301 * math/libm-test.inc (catan_test): Add more tests.
17302 (catanh_test): Likewise.
17305 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17306 underflowed result.
17307 * math/s_ccoshf.c (__ccoshf): Likewise.
17308 * math/s_ccoshl.c (__ccoshl): Likewise.
17309 * math/s_csin.c (__csin): Likewise.
17310 * math/s_csinf.c (__csinf): Likewise.
17311 * math/s_csinh.c (__csinh): Likewise.
17312 * math/s_csinhf.c (__csinhf): Likewise.
17313 * math/s_csinhl.c (__csinhl): Likewise.
17314 * math/s_csinl.c (__csinl): Likewise.
17315 * math/libm-test.inc (ccos_test): Add more tests.
17316 (ccosh_test): Likewise.
17317 (csin_test): Likewise.
17318 (csinh_test): Likewise.
17320 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17322 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17323 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17324 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17325 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17326 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17327 powerpc/power5+/fpu folders.
17328 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17331 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17335 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17337 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17338 additions to variable.
17339 [$(config-machine) = x86_64] (modules-names): Likewise.
17340 ($(objpfx)tst-audit3): Remove dependency.
17341 ($(objpfx)tst-audit3.out): Likewise.
17342 ($(objpfx)tst-audit4): Likewise.
17343 ($(objpfx)tst-audit4.out): Likewise.
17344 ($(objpfx)tst-audit5): Likewise.
17345 ($(objpfx)tst-audit5.out): Likewise.
17346 ($(objpfx)tst-audit6): Likewise.
17347 ($(objpfx)tst-audit6.out): Likewise.
17348 ($(objpfx)tst-audit7): Likewise.
17349 ($(objpfx)tst-audit7.out): Likewise.
17350 (tst-audit3-ENV): Remove variable.
17351 (tst-audit4-ENV): Likewise.
17352 (tst-audit5-ENV): Likewise.
17353 (tst-audit6-ENV): Likewise.
17354 (tst-audit7-ENV): Likewise.
17355 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17356 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17357 addition to variable.
17358 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17359 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17360 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17361 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17362 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17363 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17364 tst-audit3, tst-audit4 and tst-audit5.
17365 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17366 tst-audit6 and tst-audit7.
17367 [$(subdir) = elf] (modules-names): Add audit modules for those
17369 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17370 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17371 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17372 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17373 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17374 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17375 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17376 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17377 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17378 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17379 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17380 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17381 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17382 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17383 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17384 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17386 [$(subdir) = elf && $(config-cflags-avx) = yes]
17387 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17388 [$(subdir) = elf && $(config-cflags-avx) = yes]
17389 (CFLAGS-tst-auditmod4a.c): Likewise.
17390 [$(subdir) = elf && $(config-cflags-avx) = yes]
17391 (CFLAGS-tst-auditmod4b.c): Likewise.
17392 [$(subdir) = elf && $(config-cflags-avx) = yes]
17393 (CFLAGS-tst-auditmod6b.c): Likewise.
17394 [$(subdir) = elf && $(config-cflags-avx) = yes]
17395 (CFLAGS-tst-auditmod6c.c): Likewise.
17396 [$(subdir) = elf && $(config-cflags-avx) = yes]
17397 (CFLAGS-tst-auditmod7b.c): Likewise.
17398 * elf/tst-audit3.c: Move to ...
17399 * sysdeps/x86_64/tst-audit3.c: ... here.
17400 * elf/tst-audit4.c: Move to ...
17401 * sysdeps/x86_64/tst-audit4.c: ... here.
17402 * elf/tst-audit5.c: Move to ...
17403 * sysdeps/x86_64/tst-audit5.c: ... here.
17404 * elf/tst-audit6.c: Move to ...
17405 * sysdeps/x86_64/tst-audit6.c: ... here.
17406 * elf/tst-audit7.c: Move to ...
17407 * sysdeps/x86_64/tst-audit7.c: ... here.
17408 * elf/tst-auditmod3a.c: Move to ...
17409 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17410 * elf/tst-auditmod3b.c: Move to ...
17411 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17412 * elf/tst-auditmod4a.c: Move to ...
17413 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17414 * elf/tst-auditmod4b.c: Move to ...
17415 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17416 * elf/tst-auditmod5a.c: Move to ...
17417 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17418 * elf/tst-auditmod5b.c: Move to ...
17419 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17420 * elf/tst-auditmod6a.c: Move to ...
17421 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17422 * elf/tst-auditmod6b.c: Move to ...
17423 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17424 * elf/tst-auditmod6c.c: Move to ...
17425 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17426 * elf/tst-auditmod7a.c: Move to ...
17427 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17428 * elf/tst-auditmod7b.c: Move to ...
17429 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17431 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17434 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17435 define unconditionally.
17436 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17437 define unconditionally.
17438 (INT8_C, INT16_C, etc.): Likewise.
17440 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17442 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17443 __ehdr_start with hidden visibility.
17445 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17447 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17449 * math/libm-test.inc (cos_test): Use accurate hex constants.
17450 (sincost_test): Likewise.
17452 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17454 * math/libm-test.inc (catan_test): Add more tests.
17455 (catanh_test): Likewise.
17457 * math/s_catanf.c (__catanf): Use suffixed floating-point
17459 * math/s_catanhf.c (__catanhf): Likewise.
17460 * math/s_catanhl.c (__catanhl): Likewise.
17461 * math/s_catanl.c (__catanl): Likewise.
17464 * math/s_catan.c (__catan): Calculate imaginary part of result
17465 with log1p not log unless computing log of number close to 0.
17466 * math/s_catanf.c (__catanf): Likewise.
17467 * math/s_catanl.c (__catanl): Likewise.
17468 * math/s_catanh.c (__catanh): Calculate real part of result with
17469 log1p not log unless computing log of number close to 0.
17470 * math/s_catanhf.c (__catanhf): Likewise.
17471 * math/s_catanhl.c (__catanhl): Likewise.
17472 * math/libm-test.inc (catan_test): Add more tests.
17473 (catanh_test): Likewise.
17474 * sysdeps/i386/fpu/libm-test-ulps: Update.
17475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17477 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17479 * benchtests/Makefile: Mention files in which fast and slow
17480 paths of math functions are implemented.
17482 2013-04-23 Roland McGrath <roland@hack.frob.com>
17484 * sysdeps/posix/timespec_get.c: New file.
17486 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17488 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17490 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17492 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17493 powerpc/power5/fpu folders.
17494 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17495 * benchtests/Makefile: Add modf testcase.
17496 * benchtests/bench-modf.c: New file: Benchmark test for mo
17498 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17501 * time/Makefile (tests): Add tst-strptime-whitespace.
17502 * time/strptime_l.c (get_number): Use ISSPACE.
17503 (__strptime_internal): Likewise.
17504 * time/tst-strptime-whitespace.c: New test case.
17506 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17508 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17510 (_nss_files_init): Set it here.
17512 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17514 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17515 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17518 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17520 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17522 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17527 2013-04-21 David S. Miller <davem@davemloft.net>
17529 * po/ru.po: Update Russion translation from translation project.
17531 2013-04-17 Adam Conrad <adconrad@0c3.net>
17533 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17536 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17538 * configure.in: Remove i386 configure warning. Remove i386 case.
17539 * configure: Regenerate.
17540 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17541 Add example to error message.
17542 * sysdeps/i386/configure: Regenerate.
17544 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17546 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17548 * benchtests/cos-inputs: New file.
17549 * benchtests/slowcos-inputs: New file.
17550 * benchtests/slowcos.c: New file.
17551 * benchtests/slowtan-inputs: New file.
17552 * benchtests/slowtan.c: New file.
17553 * benchtests/tan-inputs: New file.
17555 2013-04-16 Roland McGrath <roland@hack.frob.com>
17557 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17560 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17562 * benchtests/Makefile: Include cppflags-iterator.mk to add
17563 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17565 * Makefile.in (bench-clean): New target.
17566 * benchtests/Makefile (bench-clean): Likewise.
17568 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17570 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17572 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17574 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17576 2013-04-15 Andreas Schwab <schwab@suse.de>
17578 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17579 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17580 * nscd/pwdcache.c (cache_addpw): Likewise.
17581 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17584 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17586 * benchtests/Makefile (bench): Write all output to
17587 bench-out.tmp together.
17589 2013-04-15 Andreas Schwab <schwab@suse.de>
17591 * nscd/nscd.c (main): Don't fork again after closing files.
17593 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17595 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17597 * benchtests/Rules (bench-deps): Collect dependencies into a
17598 single variable. Add Makefile to dependencies.
17599 ($(objpfx)bench-%.c): Depend on bench-deps.
17601 2013-04-12 Roland McGrath <roland@hack.frob.com>
17602 Xavier Roche <roche+kml2@exalead.com>
17605 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17606 just that it's a file descriptor.
17607 * manual/llio.texi (Synchronizing AIO Operations): Update description
17608 for EBADF error from aio_fsync.
17610 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17612 * Rules (bench): Move target definition...
17613 * benchtests/Makefile: ... here.
17615 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17617 * math/libm-test.inc (cos_test): Fix PI/2 test.
17618 (sincos_test): Likewise.
17619 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17620 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17622 2013-04-11 Andreas Schwab <schwab@suse.de>
17625 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17626 accept exponent character only when digits were seen.
17627 * stdio-common/Makefile (tests): Add bug26.
17628 * stdio-common/bug26.c: New file.
17631 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17634 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17636 * Makeconfig (rtld-prefix): Define built linker prefix.
17637 * Rules (run-bench): Use it.
17638 * math/Makefile (run-regen-ulps): Likewise.
17640 * Rules (bench): Remove eval.
17642 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17643 Roland McGrath <roland@hack.frob.com>
17644 Ondrej Bilka <neleai@seznam.cz>
17647 * time/getdate.c: Include ctype.h and alloca.h.
17648 (__getdate_r): Trim leading and trailing spaces of input.
17649 * time/tst-getdate.c (tests): Add tests with leading and
17652 2013-04-08 Roland McGrath <roland@hack.frob.com>
17655 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17656 when computing value.
17658 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17660 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17661 Use testrun.sh to run libm tests.
17664 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17666 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17669 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17671 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17673 * Makefile.in (regen-ulps): New target.
17674 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17675 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17676 [ifneq (no,$(PERL)] (regen-ulps): New target.
17677 [ifeq (no,$(PERL)] (regen-ulps): New target.
17678 * math/libm-test.inc (ulps_file_name): Define.
17679 (output_dir): New variable.
17680 (options): Add "output-dir" option.
17681 (parse_opt): Handle 'o' case.
17682 (main): If output_dir is non-NULL use it as a prefix
17684 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17686 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17688 [BZ #10060, #10062]
17689 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17690 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17691 fail configure if __sync_val_compare_and_swap is not inlined.
17692 * sysdeps/i386/configure: Regenerate.
17693 * configure.in: Build for i686 when configured for i386.
17694 * configure: Regenerate.
17695 * README: Remove i386 reference.
17697 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17699 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17700 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17702 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17704 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17705 (lmsnanval): New variables.
17706 (F): Add conversion tests.
17707 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17708 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17710 * stdio-common/tstdiomisc.c (F): Properly collect individual
17713 [BZ #14686, #15336]
17714 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17715 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17716 Instead, use input NaN values or generate a qNaN by arithmetic
17717 operation. Also fix bugs to comply with the standard.
17718 * math/libm-test.inc (remainder_test): Add more tests.
17720 [BZ #15335, #15342]
17721 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17722 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17723 input NaN values or generate a qNaN by arithmetic operation.
17725 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17728 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17731 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17734 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17735 underflowed result.
17736 * math/s_cexpf.c (__cexpf): Likewise.
17737 * math/s_cexpl.c (__cexpl): Likewise.
17738 * math/libm-test.inc (cexp_test): Add more tests.
17740 2013-04-03 Andreas Schwab <schwab@suse.de>
17743 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17744 order arrays from heap if bigger than alloca cutoff.
17746 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17748 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17749 (SNAN_TESTS_double): Refer to GCC PR56831.
17750 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17753 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17755 * Rules (bench): Move bench.out after the run is complete.
17757 * Rules (bench): Echo currently running benchmark.
17759 * benchtests/Makefile (bench): Add atan and slowatan.
17760 * benchtests/atan-inputs: New file.
17761 * benchtests/slowatan-inputs: New file.
17762 * benchtests/slowatan.c: New file.
17764 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17765 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17769 * sysdeps/unix/sysv/linux/kernel-features.h
17770 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17771 __ASSUME_XFS_RESTRICTED_CHOWN.
17772 * sysdeps/unix/sysv/linux/pathconf.c
17773 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17774 Save and restore errno.
17776 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17779 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17780 arguments using __kernel_casinh.
17781 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17782 arguments using __kernel_casinhf.
17783 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17784 arguments using __kernel_casinhl.
17785 * math/libm-test.inc (cacosh_test): Add more tests.
17786 * sysdeps/i386/fpu/libm-test-ulps: Update.
17787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17789 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17791 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17794 * bench/Makefile (bench): Add sin and slowsin.
17795 * benchtests/sin-inputs: New file.
17796 * benchtests/slowsin-inputs: New file.
17797 * benchtests/slowsin.c: New file.
17799 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17800 (bench): Add slowexp and slowpow.
17801 (exp-ITER): Increase iterations.
17802 (pow-ITER): Likewise.
17803 * benchtests/exp-inputs: Change input.
17804 * benchtests/pow-inputs: Likewise.
17805 * benchtests/slowexp-inputs: New file.
17806 * benchtests/slowexp.c: New file.
17807 * benchtests/slowpow-inputs: New file.
17808 * benchtests/slowpow.c: New file.
17810 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17812 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17814 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17815 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17816 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17817 * benchtests/Makefile: Add rint benchtest.
17818 * benchtests/rint-inputs: Input for rint benchtest.
17820 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17822 * Versions.def (libm): Add GLIBC_2.18.
17823 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17824 hidden libm prototypes.
17825 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17826 * math/Makefile (libm-calls): Add s_issignaling.
17827 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17828 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17829 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17831 * math/math.h [__USE_GNU] (issignaling): New macro.
17832 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17833 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17834 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17835 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17836 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17837 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17838 * manual/arith.texi (issignaling): New section.
17839 * manual/libm-err-tab.pl (@all_functions): Update comment.
17840 * math/gen-libm-test.pl (parse_args): Apply special handling for
17842 * math/libm-test.inc (print_float, issignaling_test): New
17844 (check_float_internal): Add issignaling checks.
17845 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17846 default definition.
17847 * sysdeps/powerpc/math-tests.h: New file.
17848 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17850 * math/test-snan.c (TEST_FUNC): Likewise.
17852 2013-03-30 David S. Miller <davem@davemloft.net>
17854 * po/de.po: Update from translation team.
17856 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17859 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17860 imaginary part less than 1.0 and real part less than 0.5
17862 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17863 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17864 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17865 (cacos_test): Add more tests.
17866 (casin_test): Likewise.
17867 (casinh_test): Likewise.
17868 * sysdeps/i386/fpu/libm-test-ulps: Update.
17869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17871 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17873 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17874 ONE with its value.
17876 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17877 (__pow_mp): Replace ONE and MONE with their values.
17878 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17880 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17881 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17882 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17883 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17885 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17887 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17888 (__pow_mp): Replace ZERO and MZERO with their values.
17889 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17890 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17891 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17892 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17893 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17894 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17897 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17899 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17901 2013-03-28 Roland McGrath <roland@hack.frob.com>
17903 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17904 Declare with __attribute__ ((weak)).
17905 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17906 Call __call_tls_dtors only if it's not NULL.
17908 2013-03-28 Roland McGrath <roland@hack.frob.com>
17910 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17911 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17912 magic __ehdr_start linker symbol if it's defined.
17913 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17914 them up here if it was already done.
17916 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17917 (_dl_aux_init): Use const in cast when setting it.
17918 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17919 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17920 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17922 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17924 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17925 * csu/libc-tls.c: Nor here.
17926 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17928 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17929 (__libc_message): Never call vsyslog.
17931 2013-03-28 Alan Modra <amodra@gmail.com>
17933 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17935 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17938 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17941 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17945 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17948 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17949 Don't add gid passed as argument.
17951 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17953 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17956 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17957 imaginary part between 1.0 and 1.5 and real part less than 0.5
17959 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17960 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17961 * math/libm-test.inc (cacos_test): Add more tests.
17962 (casin_test): Likewise.
17963 (casinh_test): Likewise.
17964 * sysdeps/i386/fpu/libm-test-ulps: Update.
17965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17967 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17969 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17972 (denorm): Likewise.
17973 (__dbl_mp): Likewise.
17974 (add_magnitudes): Likewise.
17975 (sub_magnitudes): Likewise.
17983 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17985 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17986 (__dubcos): Likewise.
17987 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17988 (__ieee754_acos): Likewise.
17989 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17990 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17991 (__exp1): Likewise.
17992 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17995 (my_log2): Likewise.
17996 (checkint): Likewise.
17997 * sysdeps/ieee754/dbl-64/e_remainder.c
17998 (__ieee754_remainder): Likewise.
17999 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18000 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18001 (bsloww): Likewise.
18002 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18004 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18005 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18006 MANTISSA_STORE_T to store computations on mantissa. Use
18007 macros for rounding and division.
18008 (denorm): Likewise.
18009 (__dbl_mp): Likewise.
18010 (add_magnitudes): Likewise.
18011 (sub_magnitudes): Likewise.
18014 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18015 powers of two in terms of TWOPOW macro.
18016 (mp_no): Make type of mantissa as MANTISSA_T.
18017 [!RADIXI]: Define RADIXI.
18018 [!TWO52]: Define TWO52.
18019 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18021 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18023 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18024 llroundl symbol when building for PPC32.
18026 2013-03-24 Mark H Weaver <mhw@netris.org>
18028 * manual/arith.texi (Normalization Functions): Fix prototypes for
18029 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18031 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18034 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18035 high value to check if expl overflow.
18036 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18037 to check for underflow and overflow.
18038 * math/libm-test.inc: Add exp test.
18040 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18043 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18046 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18048 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18051 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18053 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18054 wrap blocks consisting of several statements.
18056 * sysdeps/generic/math-tests.h: New file.
18057 * sysdeps/i386/fpu/math-tests.h: Likewise.
18058 * math/test-snan.c: Include it.
18059 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18061 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18064 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18065 (__ieee754_j0l): Do not improve calculations using cos of twice
18066 input for inputs above LDBL_MAX / 2.0L.
18067 (__ieee754_y0l): Likewise.
18068 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18069 (__ieee754_j1l): Do not improve calculations using cos of twice
18070 input for inputs above LDBL_MAX / 2.0L.
18071 (__ieee754_y1l): Likewise.
18072 * math/libm-test.inc (j0_test): Add another test.
18073 (j1_test): Likewise.
18074 (y0_test): Likewise.
18075 (y1_test): Likewise.
18076 * sysdeps/i386/fpu/libm-test-ulps: Update.
18078 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18080 * Rules ($(objpfx)bench-%.c): Include code from a C source
18083 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18086 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18087 imaginary part 1.0 and real part less than 0.5 specially.
18088 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18089 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18090 * math/libm-test.inc (cacos_test): Add more tests.
18091 (casin_test): Likewise.
18092 (casinh_test): Likewise.
18093 * sysdeps/i386/fpu/libm-test-ulps: Update.
18094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18096 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18098 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18099 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18101 2013-03-20 Joseph Myers <joseph@codesourcery.com>
18103 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18104 * config.make.in (config-cflags-sse4): Remove variable.
18105 (config-cflags-avx): Likewise.
18106 (config-cflags-sse2avx): Likewise.
18107 (config-cflags-novzeroupper): Likewise.
18108 (config-asflags-i686): Likewise.
18109 (have-mfma4): Likewise.
18110 (have-as-vis3): Likewise.
18112 * configure.in (MIG): Do not AC_SUBST.
18113 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18114 (libc_cv_cc_sse4): Do not AC_SUBST.
18115 (libc_cv_cc_avx): Likewise.
18116 (libc_cv_cc_sse2avx): Likewise.
18117 (libc_cv_cc_novzeroupper): Likewise.
18118 (libc_cv_cc_fma4): Likewise.
18119 (libc_cv_as_i686): Likewise.
18120 (libc_cv_sparc_as_vis3): Likewise.
18121 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18123 (config-asflags-i686): Likewise.
18124 (config-cflags-avx): Likewise.
18125 (config-cflags-sse2avx): Likewise.
18126 (have-mfma4): Likewise.
18127 (config-cflags-novzeroupper): Likewise.
18128 * sysdeps/mach/configure.in (MIG): Likewise.
18129 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18130 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18132 (config-cflags-avx): Likewise.
18133 (config-cflags-sse2avx): Likewise.
18134 (have-mfma4): Likewise.
18135 (config-cflags-novzeroupper): Likewise.
18136 * configure: Regenerated.
18137 * sysdeps/i386/configure: Likewise.
18138 * sysdeps/mach/configure: Likewise.
18139 * sysdeps/sparc/configure: Likewise.
18140 * sysdeps/x86_64/configure: Likewise.
18142 2013-03-20 Roland McGrath <roland@hack.frob.com>
18145 * locale/programs/localedef.c (options): Put N_ translation marker
18146 on argument names, not just descriptions.
18148 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18150 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18152 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
18155 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18157 2013-03-19 Roland McGrath <roland@hack.frob.com>
18159 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18160 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18161 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18162 [!BEFORE_ABORT] (before_abort): New function.
18163 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18164 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18165 (writev_for_fatal): New function.
18166 (WRITEV_FOR_FATAL): New macro; call that.
18167 (backtrace_and_maps): New function.
18168 (BEFORE_ABORT): New macro; call that.
18169 (struct str_list): Type removed.
18170 (__libc_message, __libc_fatal): Functions removed.
18171 Include <sysdeps/posix/libc_fatal.c> instead.
18173 2013-03-19 Joseph Myers <joseph@codesourcery.com>
18175 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18177 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18180 2013-03-19 Andreas Schwab <schwab@suse.de>
18182 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18183 * sysdeps/gnu/configure: Regenerate.
18185 * configure.in: Substitute libc_cv_rtlddir.
18186 * configure: Regenerate.
18187 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18188 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18189 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18190 * elf/Makefile (install-others, CFLAGS-interp.c)
18191 (ldso_install, common-ldd-rewrite): Likewise.
18192 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18193 $(inst_slibdir)/$(rtld-installed-name).
18194 * scripts/rellns-sh: Add -p option.
18195 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18198 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18200 * manual/nptl.texi: Renamed to ...
18201 * manual/threads.texi: ... this.
18202 * manual/Makefile (chapters): Update.
18204 2013-03-18 Roland McGrath <roland@hack.frob.com>
18207 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18208 on argument names, not just descriptions.
18209 * malloc/memusagestat.c (options): Likewise.
18210 * nss/getent.c (options): Likewise.
18212 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
18215 * iconv/iconv_prog.c (options): Put N_ translation marker
18216 on argument names, not just descriptions.
18217 * iconv/iconvconfig.c (options): Likewise.
18219 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
18221 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18222 implementation which is faster on all x86_64 architectures.
18223 Tested on AMD, Intel Nehalem, SNB, IVB.
18224 * sysdeps/x86_64/strnlen.S: Likewise.
18226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18227 Remove all multiarch strlen and strnlen versions.
18228 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18229 Remove strlen and strnlen related parts.
18231 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18232 Inline strlen part.
18233 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18235 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18236 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18237 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18238 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18239 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18240 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18242 2013-03-17 Carlos O'Donell <carlos@redhat.com>
18244 * manual/memory.texi (Malloc Tunable Parameters):
18245 Sort parameters alphabetically. Add comments for missing entries.
18247 2013-03-17 David S. Miller <davem@davemloft.net>
18249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18251 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18254 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18255 for arguments at most half maximum finite value.
18256 * math/libm-test.inc (j0_test): Add more tests.
18257 (j1_test): Likewise.
18258 (y0_test): Likewise.
18259 (y1_test): Likewise.
18260 * sysdeps/i386/fpu/libm-test-ulps: Update.
18261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18264 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18265 1 / x and functions P and Q for arguments above 0x1p256L.
18266 (__ieee754_y0l): Likewise.
18267 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18268 (__ieee754_y1l): Likewise.
18269 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18270 (j1_test): Likewise.
18271 (y0_test): Likewise.
18272 (y1_test): Likewise.
18274 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18276 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18279 2013-03-15 Roland McGrath <roland@hack.frob.com>
18281 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18282 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18283 zero since it's initialized to EXEC_PAGESIZE.
18285 * sysdeps/unix/sysv/linux/ldsodefs.h
18286 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18287 * sysdeps/generic/ldsodefs.h: ... here.
18289 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18291 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18293 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18295 * math/test-snan.c: Renamed from
18296 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18297 * math/Makefile (tests): Add test-snan.
18298 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18301 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18302 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18304 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18305 __builtin_nan family of functions.
18306 * math/libm-test.inc (initialize): Initialize qnan_value with
18307 __builtin_nan family of functions.
18308 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18310 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18312 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18313 storage class. Initialize qNaN_var and sNaN_var with
18314 __builtin_nan and __builtin_nans families of functions,
18317 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18318 (sqrt_test): Remove duplicate test with qNaN input.
18319 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18320 (round_test, signbit_test, significand_test): Note missing +/-Inf
18321 as well as qNaN tests.
18323 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18324 qNaN_var. Fix a few strings, too.
18325 * math/libm-test.inc (nan_value): Rename to qnan_value.
18326 * math/gen-libm-test.pl (%beautify): Adjust to that.
18327 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18328 * math/test-misc.c (main): Likewise.
18329 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18330 to __qnan_bytes, and __qnan_union, respectively.
18331 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18333 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18334 and lqnanval, respectively.
18335 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18336 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18337 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18338 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18340 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18341 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18344 * math/test-misc.c (main): Fix copy'n'pastos.
18345 * misc/tst-efgcvt.c (special): Likewise.
18347 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18348 Remove declarations.
18350 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18352 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18353 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18354 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18355 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18357 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18359 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18360 macro to return vdso values correctly in IFUNC implementations.
18361 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18362 Optimization by using IFUNC.
18364 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18365 Richard Henderson <rth@redhat.com>
18366 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18368 * Makefile.in (bench): New target.
18369 * NEWS: Mention the benchmark framework.
18370 * Rules (bench): Likewise.
18371 (binaries-bench): Generate binaries for functions to
18373 * benchtests/Makefile: New makefile for benchmark tests.
18374 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18376 * benchtests/exp-inputs: New input file for EXP function.
18377 * benchtests/pow-inputs: New input file for POW function.
18378 * scripts/bench.pl: New script to generate source files for
18379 benchmark programs.
18381 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18383 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18384 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18385 computations on mantissa. Use macros for rounding and
18387 (denorm): Likewise.
18388 (__dbl_mp): Likewise.
18389 (add_magnitudes): Likewise.
18390 (sub_magnitudes): Likewise.
18393 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18394 powers of two in terms of TWOPOW macro.
18395 (mp_no): Make type of mantissa as MANTISSA_T.
18396 [!RADIXI]: Define RADIXI.
18397 [!TWO52]: Define TWO52.
18398 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18400 * manual/nptl.texi (cindex): Modify threads to pthreads.
18402 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18404 * sysdeps/x86_64/preconfigure: Regenerated.
18406 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18409 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18411 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18412 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18414 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18415 * math/libm-test.inc (j0_test): Do not allow one spurious
18416 underflow exception.
18417 (y1_test): Likewise.
18419 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18421 * manual/Makefile (chapters): Add nptl.
18422 * manual/debug.texi (Debugging Support): Add link to Threads
18424 * manual/nptl.texi: New file.
18426 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18428 2013-03-14 Petr Baudis <pasky@ucw.cz>
18430 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18431 for non-NULL pointer before the memory validity test. Pointed
18432 out by Holger Brunck <holger.brunck@keymile.com>.
18434 2013-03-13 Andreas Schwab <schwab@suse.de>
18436 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18439 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18441 * timezone/zic.c: Update from tzcode 2013b.
18443 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18445 * manual/install.texi (Configuring and compiling):
18446 Mention i686 and i586.
18447 * INSTALL: Regenerate.
18449 2013-03-12 Roland McGrath <roland@hack.frob.com>
18451 * sysdeps/init_array/elf-init.c: New file.
18453 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18454 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18456 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18457 __gmon_start__ as global, but as static with a .preinit_array pointer.
18458 * sysdeps/init_array/gmon-start.c: New file. Use that.
18459 * sysdeps/init_array/crti.S: New file, empty except for comments.
18460 * sysdeps/init_array/crtn.S: Likewise.
18462 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18464 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18467 Remove Prefer_SSE_for_memop.
18468 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18469 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18470 HAS_PREFER_SSE_FOR_MEMOP.
18471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18473 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18474 Remove bzero, memset ifunc support.
18475 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18476 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18477 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18478 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18480 2013-03-11 Andreas Schwab <schwab@suse.de>
18483 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18486 (GLIBC_2.16): Remove pthread_atfork.
18488 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18490 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18491 (ptestcases.h): Likewise.
18493 2013-03-08 Roland McGrath <roland@hack.frob.com>
18495 * Makeconfig ($(common-objpfx)config.status): Depend on
18496 sysdeps/*/preconfigure{,.in} too.
18498 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18500 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18501 (__free_hook): Use void * instead of __malloc_ptr_t.
18502 (__malloc_hook): Likewise.
18503 (__realloc_hook): Likewise.
18504 (__memalign_hook): Likewise.
18505 (__after_morecore_hook): Likewise.
18506 * malloc/arena.c (save_malloc_hook): Likewise.
18507 (save_free_hook): Likewise.
18508 * malloc/hooks.c (malloc_hook_ini): Likewise.
18509 (realloc_hook_ini): Likewise.
18510 (memalign_hook_ini): Likewise.
18511 * malloc/malloc.c (malloc_hook_ini): Likewise.
18512 (realloc_hook_ini): Likewise.
18513 (memalign_hook_ini): Likewise.
18514 (__free_hook): Likewise.
18515 (__malloc_hook): Likewise.
18516 (__realloc_hook): Likewise.
18517 (__memalign_hook): Likewise.
18518 (__libc_malloc): Likewise.
18519 (__libc_free): Likewise.
18520 (__libc_realloc): Likewise.
18521 (__libc_memalign): Likewise.
18522 (__libc_valloc): Likewise.
18523 (__libc_pvalloc): Likewise.
18524 (__libc_calloc): Likewise.
18525 (__posix_memalign): Likewise.
18526 * malloc/morecore.c (__sbrk): Likewise.
18527 (__default_morecore): Likewise.
18529 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18531 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18532 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18533 __malloc_ptrdiff_t.
18535 * malloc/malloc.h (__malloc_size_t): Remove macro.
18536 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18538 (old_memalign_hook): Likewise.
18539 (old_realloc_hook): Likewise.
18540 (struct hdr): Likewise.
18542 (mallochook): Likewise.
18543 (memalignhook): Likewise.
18544 (reallochook): Likewise.
18545 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18546 (tr_old_realloc_hook): Likewise.
18547 (tr_old_memalign_hook): Likewise.
18548 (tr_mallochook): Likewise.
18549 (tr_reallochook): Likewise.
18550 (tr_memalignhook): Likewise.
18552 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18554 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18555 default_ldbl_pack and using as default implementation.
18556 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18558 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18559 redundant definition.
18560 (ldbl_insert_mantissa): Likewise.
18561 (ldbl_canonicalize): Likewise.
18562 (ldbl_nearbyint): Likewise.
18563 (ldbl_pack): Rename to ldbl_pack_ppc.
18564 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18565 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18566 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18568 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18571 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18572 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18573 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18575 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18576 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18577 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18579 2013-03-07 Andreas Jaeger <aj@suse.de>
18581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18584 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18586 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18587 Include mpa.h and declare __MPEXP.
18588 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18589 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18590 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18591 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18592 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18593 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18594 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18596 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18597 (__slowpow): Use long double EXPL and LOGL functions to
18599 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18600 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18601 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18602 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18603 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18604 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18607 intermediate variable to calculate exponent.
18609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18613 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18614 [!NO__SQR]: Define __sqr.
18615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18616 and NO__SQR. Remove all code except __mul and __sqr. Include
18617 sysdeps/ieee754/dbl-64/mpa.c.
18618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18621 * posix/Makefile (tests): Add tst-pathconf.
18622 * posix/tst-pathconf.c: New test case.
18623 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18625 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18627 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18629 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18631 2013-03-06 Andreas Jaeger <aj@suse.de>
18633 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18634 definition via __MAP_ANONYMOUS.
18636 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18637 it's not part of Linux headers.
18639 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18640 (MAP_HUGE_MASK): Define.
18642 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18644 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18645 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18647 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18648 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18650 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18651 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18653 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18655 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18656 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18657 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18658 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18659 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18660 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18662 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18665 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18666 Handle f2fs and efivarfs.
18668 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18671 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18672 (EFIVARFS_MAGIC): Add.
18673 (F2FS_LINK_MAX): Add.
18675 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18677 * stdio-common/vfprintf.c: Replace __builtin_expect with
18680 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18683 * sysdeps/generic/bp-sym.h: Remove file.
18684 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18685 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18686 <bp-sym.h> and <bp-asm.h>.
18687 (__longjmp): Don't use BP_SYM.
18688 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18690 (memcpy): Don't use BP_SYM.
18691 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18692 <bp-sym.h> and <bp-asm.h>.
18693 (memcpy): Don't use BP_SYM.
18694 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18696 (memcpy): Don't use BP_SYM.
18697 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18699 (memset): Don't use BP_SYM.
18700 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18701 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18702 (__bzero): Don't use BP_SYM.
18703 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18704 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18705 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18706 <bp-sym.h> and <bp-asm.h>.
18707 (memcmp): Don't use BP_SYM. Remove comment about bounded
18709 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18710 <bp-sym.h> and <bp-asm.h>.
18711 (memcpy): Don't use BP_SYM.
18712 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18713 <bp-sym.h> and <bp-asm.h>.
18714 (memset): Don't use BP_SYM.
18715 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18716 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18717 (__bzero): Don't use BP_SYM.
18718 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18719 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18720 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18721 <bp-sym.h> and <bp-asm.h>.
18722 (strncmp): Don't use BP_SYM. Remove comment about bounded
18724 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18725 <bp-sym.h> and <bp-asm.h>.
18726 (memcpy): Don't use BP_SYM.
18727 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18728 <bp-sym.h> and <bp-asm.h>.
18729 (memset): Don't use BP_SYM.
18730 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18731 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18732 (__bzero): Don't use BP_SYM.
18733 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18734 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18735 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18736 <bp-sym.h> and <bp-asm.h>.
18737 (__memchr): Don't use BP_SYM.
18738 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18739 <bp-sym.h> and <bp-asm.h>.
18740 (memcmp): Don't use BP_SYM. Remove comment about bounded
18742 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18743 <bp-sym.h> and <bp-asm.h>.
18744 (memcpy): Don't use BP_SYM.
18745 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18746 <bp-sym.h> and <bp-asm.h>.
18747 (__mempcpy): Don't use BP_SYM.
18748 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18749 <bp-sym.h> and <bp-asm.h>.
18750 (__memrchr): Don't use BP_SYM.
18751 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18752 <bp-sym.h> and <bp-asm.h>.
18753 (memset): Don't use BP_SYM.
18754 (__bzero): Likewise.
18755 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18756 <bp-sym.h> and <bp-asm.h>.
18757 (__rawmemchr): Don't use BP_SYM.
18758 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18759 <bp-sym.h> and <bp-asm.h>.
18760 (__STRCMP): Don't use BP_SYM.
18761 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18762 <bp-sym.h> and <bp-asm.h>.
18763 (strchr): Don't use BP_SYM.
18764 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18765 <bp-sym.h> and <bp-asm.h>.
18766 (__strchrnul): Don't use BP_SYM.
18767 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18768 <bp-sym.h> and <bp-asm.h>.
18769 (strlen): Don't use BP_SYM.
18770 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18771 <bp-sym.h> and <bp-asm.h>.
18772 (strncmp): Don't use BP_SYM. Remove comment about bounded
18774 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18775 <bp-sym.h> and <bp-asm.h>.
18776 (__strnlen): Don't use BP_SYM.
18777 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18778 <bp-sym.h> and <bp-asm.h>.
18779 (__GI__setjmp): Don't use BP_SYM.
18780 (_setjmp): Likewise.
18781 (__sigsetjmp): Likewise.
18782 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18783 (L(start_addresses)): Don't use BP_SYM.
18784 (_start): Likewise.
18785 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18787 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18788 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18789 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18790 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18791 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18793 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18794 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18795 about bounded pointers.
18796 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18797 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18798 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18800 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18801 about bounded pointers. Remove GKM FIXME comments.
18802 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18803 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18805 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18806 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18807 Remove GKM FIXME comments.
18808 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18809 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18810 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18812 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18813 about bounded pointers. Remove GKM FIXME comment.
18814 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18816 (strncmp): Don't use BP_SYM. Remove comment about bounded
18818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18819 <bp-sym.h> and <bp-asm.h>.
18820 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18822 <bp-sym.h> and <bp-asm.h>.
18823 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18826 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18828 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18831 2013-03-05 David S. Miller <davem@davemloft.net>
18833 * po/es.po: Update from translation team.
18835 2013-03-05 Andreas Jaeger <aj@suse.de>
18837 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18838 <bits/mman-linux.h>.
18839 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18841 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18842 <bits/mman-linux.h> to end of file.
18843 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18845 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18846 <bits/mman-linux.h> to end of file.
18847 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18849 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18850 <bits/mman-linux.h> to end of file.
18852 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18853 (MCL_CURRENT, MCL_FUTURE): Define here.
18855 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18858 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18860 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18862 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18864 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18865 fourth parameter needed for rt_sigprocmask syscall.
18866 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18867 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18868 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18869 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18870 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18871 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18873 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18876 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18877 comment about bounded pointers.
18878 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18879 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18881 2013-03-04 Andreas Jaeger <aj@suse.de>
18883 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18884 common definitions.
18886 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18887 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18888 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18889 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18890 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18891 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18893 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18896 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18897 __ieee754_sqrl instead of __sqrl.
18899 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18901 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18902 * sysdeps/powerpc/fpu_control.h: ... here.
18903 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18904 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18905 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18906 * sysdeps/powerpc/bits/mathinline.h: ... here.
18908 2013-03-01 Roland McGrath <roland@hack.frob.com>
18910 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18911 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18912 to just [NEED_DL_SYSINFO_DSO].
18913 * elf/dl-support.c: Likewise.
18914 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18915 * elf/rtld.c (dl_main): Likewise.
18916 * elf/setup-vdso.h (setup_vdso): Likewise.
18917 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18918 * sysdeps/unix/sysv/linux/dl-sysdep.c
18919 (_dl_discover_osversion): Likewise.
18921 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18923 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18924 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18926 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18928 * NEWS: Mention libm performance improvements and non-x86 PI
18931 * csu/libc-start.c (__pthread_initialize_minimal): Change
18932 function arguments.
18933 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18935 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18938 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18939 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18940 <bp-sym.h> and <bp-asm.h>.
18941 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18942 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18944 (memcpy): Don't use BP_SYM.
18945 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18947 (__mpn_add_n): Don't use BP_SYM.
18948 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18949 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18951 (__mpn_addmul_1): Don't use BP_SYM.
18952 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18953 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18955 (_setjmp): Don't use BP_SYM.
18956 (__novmx_setjmp): Likewise.
18957 (__GI__setjmp): Likewise.
18958 (__vmx_setjmp): Likewise.
18959 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18961 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18962 (__bzero): Don't use BP_SYM.
18963 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18964 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18965 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18966 <bp-sym.h> and <bp-asm.h>.
18967 (memcpy): Don't use BP_SYM.
18968 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18969 <bp-sym.h> and <bp-asm.h>.
18970 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18971 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18972 <bp-sym.h> and <bp-asm.h>.
18973 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18974 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18976 (__mpn_lshift): Don't use BP_SYM.
18977 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18978 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18980 (memset): Don't use BP_SYM.
18981 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18982 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18983 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18985 (__mpn_mul_1): Don't use BP_SYM.
18986 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18987 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18988 <bp-sym.h> and <bp-asm.h>.
18989 (memcmp): Don't use BP_SYM.
18990 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18991 <bp-sym.h> and <bp-asm.h>.
18992 (memcpy): Don't use BP_SYM.
18993 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18994 <bp-sym.h> and <bp-asm.h>.
18995 (memset): Don't use BP_SYM.
18996 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18997 <bp-sym.h> and <bp-asm.h>.
18998 (strncmp): Don't use BP_SYM.
18999 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19000 <bp-sym.h> and <bp-asm.h>.
19001 (memcpy): Don't use BP_SYM.
19002 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19003 <bp-sym.h> and <bp-asm.h>.
19004 (memset): Don't use BP_SYM.
19005 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19006 <bp-sym.h> and <bp-asm.h>.
19007 (__memchr): Don't use BP_SYM.
19008 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19009 <bp-sym.h> and <bp-asm.h>.
19010 (memcmp): Don't use BP_SYM.
19011 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19012 <bp-sym.h> and <bp-asm.h>.
19013 (memcpy): Don't use BP_SYM.
19014 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19015 <bp-sym.h> and <bp-asm.h>.
19016 (__mempcpy): Don't use BP_SYM.
19017 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19018 <bp-sym.h> and <bp-asm.h>.
19019 (__memrchr): Don't use BP_SYM.
19020 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19021 <bp-sym.h> and <bp-asm.h>.
19022 (memset): Don't use BP_SYM.
19023 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19024 <bp-sym.h> and <bp-asm.h>.
19025 (__rawmemchr): Don't use BP_SYM.
19026 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19027 <bp-sym.h> and <bp-asm.h>.
19028 (__STRCMP): Don't use BP_SYM.
19029 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19030 <bp-sym.h> and <bp-asm.h>.
19031 (strchr): Don't use BP_SYM.
19032 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19033 <bp-sym.h> and <bp-asm.h>.
19034 (__strchrnul): Don't use BP_SYM.
19035 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19036 <bp-sym.h> and <bp-asm.h>.
19037 (strlen): Don't use BP_SYM.
19038 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19039 <bp-sym.h> and <bp-asm.h>.
19040 (strncmp): Don't use BP_SYM.
19041 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19042 <bp-sym.h> and <bp-asm.h>.
19043 (__strnlen): Don't use BP_SYM.
19044 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19046 (__mpn_rshift): Don't use BP_SYM.
19047 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19048 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19049 <bp-sym.h> and <bp-asm.h>.
19050 (__sigsetjmp): Don't use BP_SYM.
19051 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19052 (L(start_addresses)): Don't use BP_SYM.
19053 (_start): Likewise.
19054 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19056 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19057 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19058 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19059 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19061 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19062 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19063 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19064 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19066 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19068 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19069 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19071 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19073 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19074 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19075 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19077 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19079 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19081 (strncmp): Don't use BP_SYM,
19082 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19084 (__mpn_sub_n): Don't use BP_SYM.
19085 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19086 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19088 (__mpn_submul_1): Don't use BP_SYM.
19089 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19091 <bp-sym.h> and <bp-asm.h>.
19092 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19094 <bp-sym.h> and <bp-asm.h>.
19095 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19098 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19101 Use ZK to minimize writes to Z.
19102 (sub_magnitudes): Simplify code a bit.
19103 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19104 Use ZK to minimize writes to Z.
19105 (sub_magnitudes): Simplify code a bit.
19107 2013-02-27 Roland McGrath <roland@hack.frob.com>
19109 * csu/gmon-start.c: Add special exception to license text.
19111 2013-02-27 Richard Henderson <rth@redhat.com>
19113 * scripts/config.guess: Update from config.git.
19114 * scripts/config.sub: Likewise.
19116 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19118 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19120 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19122 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19124 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19126 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19128 2013-02-26 Roland McGrath <roland@hack.frob.com>
19130 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19131 [$(build-shared = yes].
19133 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19135 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19136 (__mul): Reduce iterations for calculating mantissa.
19138 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19140 (__mpranred): Likewise.
19143 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19144 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19146 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19148 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19149 Define __attribute__.
19151 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19153 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19155 * posix/regex_internal.h (__attribute): Remove.
19156 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19157 (re_string_context_at): Likewise.
19158 (bitset_not): Use __attribute__ and mark function as possibly
19160 (bitset_merge): Likewise.
19161 (bitset_mask): Likewise.
19162 (re_string_char_size_at): Likewise.
19163 (re_string_wchar_at): Likewise.
19164 (re_string_elem_size_at): Likewise.
19166 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19168 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19172 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19176 (denorm): Likewise.
19177 (__dbl_mp): Likewise.
19178 (add_magnitudes): Likewise.
19179 (sub_magnitudes): Likewise.
19183 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19186 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19189 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19193 up changes with default code.
19194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19197 2013-02-24 Allan McRae <allan@archlinux.org>
19199 * manual/socket.texi (The Internet Namespace): Order menu items
19200 to match that in the file.
19202 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19203 node listing of the info page menu.
19205 2013-02-21 Joseph Myers <joseph@codesourcery.com>
19208 * sysdeps/i386/bp-asm.h: Remove file.
19209 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19210 (PARMS): Do not use macros from bp-asm.h.
19214 (__mpn_add_n): Do not use BP_SYM
19215 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19217 (PARMS): Do not use macros from bp-asm.h.
19220 (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
19228 (PARMS): Do not use macros from bp-asm.h.
19229 (SIGMSK): Likewise.
19230 (setjmp): Likewise. Do not use BP_SYM.
19231 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19233 (PARMS): Do not use macros from bp-asm.h.
19234 (__frexp): Do not use BP_SYM.
19236 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19238 (PARMS): Do not use macros from bp-asm.h.
19239 (__frexpf): Do not use BP_SYM.
19240 (frexpf): Likewise.
19241 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19243 (PARMS): Do not use macros from bp-asm.h.
19244 (__frexpl): Do not use BP_SYM.
19245 (frexpl): Likewise.
19246 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19248 (PARMS): Do not use macros from bp-asm.h.
19249 (__remquo): Do not use BP_SYM.
19250 (remquo): Likewise.
19251 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19253 (PARMS): Do not use macros from bp-asm.h.
19254 (__remquof): Do not use BP_SYM.
19255 (remquof): Likewise.
19256 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19258 (PARMS): Do not use macros from bp-asm.h.
19259 (__remquol): Do not use BP_SYM.
19260 (remquol): Likewise.
19261 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19263 (PARMS): Do not use macros from bp-asm.h.
19266 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19267 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19269 (PARMS): Do not use macros from bp-asm.h.
19270 (strlen): Do not use BP_SYM.
19271 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19273 (PARMS): Do not use macros from bp-asm.h.
19277 (__mpn_add_n): Do not use BP_SYM.
19278 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19280 (PARMS): Do not use macros from bp-asm.h.
19283 (__mpn_addmul_1): Do not use BP_SYM.
19284 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19287 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19289 (PARMS): Do not use macros from bp-asm.h.
19292 (__mpn_lshift): Do not use BP_SYM.
19293 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19295 (PARMS): Do not use macros from bp-asm.h.
19299 (memcpy): Likewise. Do not use BP_SYM.
19300 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19301 libc_hidden_def and weak_alias.
19302 (mempcpy): Do not use BP_SYM in weak_alias.
19303 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19305 (PARMS): Do not use macros from bp-asm.h.
19308 [!BZERO_P] (CHR): Likewise.
19309 (memset): Likewise. Do not use BP_SYM.
19310 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19312 (PARMS): Do not use macros from bp-asm.h.
19315 (__mpn_mul_1): Do not use BP_SYM.
19316 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19318 (PARMS): Do not use macros from bp-asm.h.
19321 (__mpn_rshift): Do not use BP_SYM.
19322 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19324 (PARMS): Do not use macros from bp-asm.h.
19327 (strchr): Likewise. Do not use BP_SYM.
19328 (index): Do not use BP_SYM in weak_alias.
19329 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19331 (PARMS): Do not use macros from bp-asm.h.
19334 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19335 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19337 (PARMS): Do not use macros from bp-asm.h.
19338 (strlen): Do not use BP_SYM.
19339 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19341 (PARMS): Do not use macros from bp-asm.h.
19345 (__mpn_sub_n): Do not use BP_SYM.
19346 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19348 (PARMS): Do not use macros from bp-asm.h.
19351 (__mpn_submul_1): Do not use BP_SYM.
19352 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19354 (PARMS): Do not use macros from bp-asm.h.
19358 (__mpn_add_n): Do not use BP_SYM.
19359 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19362 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19364 (PARMS): Do not use macros from bp-asm.h.
19367 (memcmp): Do not use BP_SYM.
19368 (bcmp): Do not use BP_SYM in weak_alias.
19369 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19371 (PARMS): Do not use macros from bp-asm.h.
19375 (memcpy): Likewise. Do not use BP_SYM.
19376 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19378 (PARMS): Do not use macros from bp-asm.h.
19382 (memmove): Likewise. Do not use BP_SYM.
19383 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19385 (PARMS): Do not use macros from bp-asm.h.
19389 (__mempcpy): Likewise. Do not use BP_SYM.
19390 (mempcpy): Do not use BP_SYM in weak_alias.
19391 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19393 (PARMS): Do not use macros from bp-asm.h.
19396 [!BZERO_P] (CHR): Likewise.
19397 (memset): Likewise. Do not use BP_SYM.
19398 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19400 (PARMS): Do not use macros from bp-asm.h.
19402 (strcmp): Do not use BP_SYM.
19403 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19405 (PARMS): Do not use macros from bp-asm.h.
19408 [USE_AS_STRTOK_R] (SAVE): Likewise.
19409 (FUNCTION): Likewise. Do not use BP_SYM.
19410 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19412 (strtok_r): Likewise.
19413 (__GI___strtok_r): Likewise.
19414 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19415 (PARMS): Do not use macros from bp-asm.h.
19418 (__mpn_lshift): Do not use BP_SYM.
19419 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19420 (PARMS): Do not use macros from bp-asm.h.
19423 (__memchr): Do not use BP_SYM.
19424 (memchr): Do not use BP_SYM in weak_alias.
19425 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19426 (PARMS): Do not use macros from bp-asm.h.
19429 (memcmp): Do not use BP_SYM.
19430 (bcmp): Do not use BP_SYM in weak_alias.
19431 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19432 (PARMS): Do not use macros from bp-asm.h.
19435 (__mpn_mul_1): Do not use BP_SYM.
19436 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19438 (PARMS): Do not use macros from bp-asm.h.
19441 (__rawmemchr): Do not use BP_SYM.
19442 (rawmemchr): Do not use BP_SYM in weak_alias.
19443 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19444 (PARMS): Do not use macros from bp-asm.h.
19447 (__mpn_rshift): Do not use BP_SYM.
19448 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19449 (PARMS): Do not use macros from bp-asm.h.
19450 (SIGMSK): Likewise.
19451 (__sigsetjmp): Likewise. Do not use BP_SYM.
19452 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19453 (_start): Do not use BP_SYM.
19454 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19455 (PARMS): Do not use macros from bp-asm.h.
19458 (__stpcpy): Likewise. Do not use BP_SYM.
19459 (stpcpy): Do not use BP_SYM in weak_alias.
19460 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19462 (PARMS): Do not use macros from bp-asm.h.
19466 (__stpncpy): Likewise. Do not use BP_SYM.
19467 (stpncpy): Do not use BP_SYM in weak_alias.
19468 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19469 (PARMS): Do not use macros from bp-asm.h.
19472 (strchr): Likewise. Do not use BP_SYM.
19473 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19475 (PARMS): Do not use macros from bp-asm.h.
19478 (__strchrnul): Likewise. Do not use BP_SYM.
19479 (strchrnul): Do not use BP_SYM in weak_alias.
19480 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19482 (PARMS): Do not use macros from bp-asm.h.
19484 (strcspn): Do not use BP_SYM.
19485 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19487 (PARMS): Do not use macros from bp-asm.h.
19490 (strpbrk): Likewise. Do not use BP_SYM.
19491 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19493 (PARMS): Do not use macros from bp-asm.h.
19496 (strrchr): Likewise. Do not use BP_SYM.
19497 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19498 (PARMS): Do not use macros from bp-asm.h.
19500 (strspn): Do not use BP_SYM.
19501 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19502 (PARMS): Do not use macros from bp-asm.h.
19506 (FUNCTION): Likewise. Do not use BP_SYM.
19507 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19509 (strtok_r): Likewise.
19510 (__GI___strtok_r): Likewise.
19511 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19512 (PARMS): Do not use macros from bp-asm.h.
19516 (__mpn_sub_n): Do not use BP_SYM.
19517 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19519 (PARMS): Do not use macros from bp-asm.h.
19522 (__mpn_submul_1): Do not use BP_SYM.
19523 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19525 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19527 (PARMS): Do not use macros from bp-asm.h.
19532 (__clone): Do not use BP_SYM.
19533 (clone): Do not use BP_SYM in weak_alias.
19534 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19536 (PARMS): Do not use macros from bp-asm.h.
19538 (__mmap64): Do not use BP_SYM.
19539 (mmap64): Do not use BP_SYM in weak_alias.
19540 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19541 <bp-sym.h> and <bp-asm.h>.
19542 (PARMS): Do not use macros from bp-asm.h.
19543 (__posix_fadvise64_l64): Do not use BP_SYM.
19544 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19545 (PARMS): Do not use macros from bp-asm.h.
19547 (semtimedop): Do not use BP_SYM.
19548 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19551 2013-02-21 Allan McRae <allan@archlinux.org>
19553 * manual/message.texi (Charset conversion in gettext):
19554 Move @end statement to beginning of line.
19556 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19563 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19564 (denorm): Likewise.
19565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19568 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19570 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19571 tail-call to the resolved function if pltexit isn't needed.
19573 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19576 or Y being zero as being unlikely.
19577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19580 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19582 * manual/nss.texi (System Databases and Name Service Switch):
19583 Remove frobnicate @pxref.
19585 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19587 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19588 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19590 2013-02-20 Petr Machata <pmachata@redhat.com>
19592 * elf/elf.h (R_ARM_TARGET1): New macro.
19593 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19594 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19595 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19596 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19597 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19598 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19599 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19600 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19601 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19602 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19603 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19604 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19605 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19606 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19607 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19608 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19609 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19610 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19611 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19612 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19613 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19614 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19615 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19616 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19617 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19618 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19619 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19620 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19621 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19622 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19623 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19624 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19625 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19626 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19627 (R_ARM_THM_GOT_BREL12): Likewise.
19628 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19629 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19630 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19631 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19632 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19633 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19634 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19635 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19636 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19638 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19640 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19641 __attribute_used__ to __attribute__ ((unused)).
19643 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19645 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19647 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19648 comment formatting.
19649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19651 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19654 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19656 (ENTER): Remove both macro definitions.
19658 (CHECK_BOUNDS_LOW): Likewise.
19659 (CHECK_BOUNDS_HIGH): Likewise.
19660 (CHECK_BOUNDS_BOTH): Likewise.
19661 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19662 (RETURN_BOUNDED_POINTER): Likewise.
19663 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19664 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19665 (POP_ERRNO_LOCATION_RETURN): Likewise.
19666 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19667 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19668 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19670 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19671 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19672 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19673 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19674 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19675 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19676 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19677 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19678 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19679 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19680 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19681 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19682 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19683 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19685 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19686 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19688 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19689 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19690 * sysdeps/i386/i586/memset.S (memset): Likewise.
19691 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19692 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19693 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19695 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19696 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19697 Change uses of L(2) to L(out).
19698 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19699 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19700 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19701 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19702 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19704 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19705 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19707 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19708 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19709 (RETURN): Do not use macro LEAVE.
19710 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19711 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19712 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19713 * sysdeps/i386/i686/memset.S (memset): Likewise.
19714 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19715 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19716 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19717 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19719 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19720 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19721 L(1_2) and L(1_3) into L(1).
19722 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19723 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19724 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19725 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19726 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19727 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19728 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19729 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19730 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19732 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19733 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19734 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19735 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19736 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19737 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19738 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19739 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19740 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19741 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19742 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19743 * sysdeps/i386/strspn.S (strspn): Likewise.
19744 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19746 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19747 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19748 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19749 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19750 L(1_3) into L(1_1).
19751 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19752 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19753 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19755 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19757 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19759 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19762 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19764 * math/atest-exp.c (exp_mpn): Remove ROUND.
19765 * math/atest-exp2.c (exp_mpn): Likewise.
19766 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19768 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19769 * stdlib/tst-tls-atexit-lib.c: Likewise.
19770 * stdlib/tst-tls-atexit.c: Likewise.
19772 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19774 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19775 and __attribute_alloc_size__.
19777 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19779 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19780 __attribute_alloc_size__.
19781 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19782 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19784 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19786 * include/programs/xmalloc.h: New file.
19787 * catgets/gencat.c: Include it.
19788 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19789 * elf/pldd.c: Likewise.
19790 * iconv/iconv_charmap.c: Likewise.
19791 * iconv/iconvconfig.c: Likewise.
19792 * iconv/strtab.c: Likewise.
19793 * locale/programs/locale.c: Likewise.
19794 * locale/programs/localedef.h: Likewise.
19795 * locale/programs/simple-hash.c: Likewise.
19796 * nscd/nscd.h: Likewise.
19797 * nss/makedb.c: Likewise.
19798 * sysdeps/generic/ldconfig.h: Likewise.
19800 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19802 * Versions.def: Add GLIBC_2.18.
19803 * include/link.h (struct link_map): New member l_tls_dtor_count.
19804 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19805 (__call_tls_dtors): Likewise.
19806 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19807 __cxa_thread_atexit_impl.
19808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19816 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19824 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19825 (tests): Add test case tst-tls-atexit.
19826 (modules-names): Add shared library for tst-tls-atexit.
19827 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19828 (GLIBC_PRIVATE): Add __call_tls_dtors.
19829 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19831 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19832 * stdlib/tst-tls-atexit.c: New test case.
19833 * stdlib/tst-tls-atexit-lib.c: New test case.
19835 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19837 * elf/Versions (ld): Add _dl_find_dso_for_object.
19838 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19839 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19840 (dl_open_worker): Use _dl_find_dso_for_object.
19841 * elf/dl-sym.c (do_sym): Likewise.
19842 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19844 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19846 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19847 Syntactic changes only.
19848 (_dl_runtime_profile): Do a tail-call to the resolved function.
19850 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19853 * sysdeps/x86_64/bp-asm.h: Remove file.
19854 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19855 <bp-sym.h> and <bp-asm.h>.
19856 (__clone): Do not use BP_SYM.
19857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19858 <bp-sym.h> and <bp-asm.h>.
19859 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19860 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19862 (_setjmp): Do not use BP_SYM.
19863 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19865 (setjmp): Do not use BP_SYM.
19866 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19868 (mempcpy): Do not use BP_SYM in weak_alias.
19869 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19871 (strchr): Do not use BP_SYM.
19872 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19874 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19875 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19876 (_start): Do not use BP_SYM.
19877 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19879 (strcat): Do not use BP_SYM.
19880 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19882 (STRCMP): Do not use BP_SYM.
19883 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19885 (STRCPY): Do not use BP_SYM.
19886 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19888 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19890 (FUNCTION): Do not use BP_SYM.
19891 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19893 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19895 2013-02-17 Andreas Jaeger <aj@suse.de>
19897 * time/Versions: Sort entries.
19898 * string/Versions: Likewise.
19899 * resolv/Versions: Likewise.
19900 * posix/Versions: Likewise.
19901 * iconv/Versions: Likewise.
19902 * elf/Versions: Likewise.
19903 * wcsmbs/Versions: Likewise.
19905 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19907 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19908 loop termination condition.
19910 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19911 variable to calculate EZ.
19914 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19915 the lower precision input.
19917 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19920 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19921 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19922 (run-via-rtld-prefix): Do not handle %-bp tests.
19923 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19924 (all-object-suffixes): Remove .ob.
19925 (bppfx): Remove variable.
19926 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19927 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19928 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19929 [$(build-bounded) = yes] (libtype.ob): Likewise.
19930 * Makerules (elide-routines.ob): Remove variable.
19931 (do-tests-clean): Do not handle *-bp.out.
19932 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19933 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19934 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19935 (tests): Do not include $(tests-bp.out).
19936 (xtests): Do not include $(xtests-bp.out).
19937 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19938 [$(build-bounded) = yes] ($(addprefix
19939 $(objpfx),$(binaries-bounded))): Remove rule.
19940 ($(objpfx)%-bp.out): Remove rule.
19941 * config.make.in (build-bounded): Remove variable.
19942 * crypt/Makefile [$(build-bounded) = yes]
19943 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19944 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19945 append to variable.
19946 [$(build-bounded) = yes] (install-lib): Likewise.
19947 [$(build-bounded) = yes] (generated): Likewise.
19948 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19950 * intl/Makefile [$(build-bounded) = yes]
19951 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19952 * math/Makefile [$(build-bounded) = yes]
19953 ($(tests:%=$(objpfx)%-bp): Likewise.
19954 * misc/Makefile [$(build-bounded) = yes]
19955 ($(objpfx)tst-tsearch-bp): Likewise.
19956 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19957 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19959 * string/Makefile (o-objects.ob): Remove variable.
19960 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19961 (CFLAGS-.ob): Remove variable.
19962 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19963 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19964 both definitions of variable.
19965 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19966 (ASFLAGS-.ob): Remove variable.
19968 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19971 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19972 Remove __BOUNDED_POINTERS__ from condition.
19973 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19974 * string/bits/string2.h [!__NO_STRING_INLINES &&
19975 !__BOUNDED_POINTERS__]: Likewise.
19976 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19978 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19979 Remove conditional code.
19980 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19981 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19982 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19986 * csu/libc-start.c: Do not include <bp-sym.h>.
19987 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19988 * elf/dl-open.c: Do not include <bp-sym.h>.
19989 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19990 * math/fegetenv.c: Do not include <bp-sym.h>.
19991 (fegetenv): Do not use BP_SYM in versioned symbols.
19992 * nptl/sysdeps/pthread/bits/libc-lockP.h
19993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19996 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19998 (__pthread_mutex_destroy): Likewise.
19999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20000 (__pthread_mutex_lock): Likewise.
20001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20002 (__pthread_mutex_trylock): Likewise.
20003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20004 (__pthread_mutex_unlock): Likewise.
20005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20006 (__pthread_mutexattr_init): Likewise.
20007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20008 (__pthread_mutexattr_destroy): Likewise.
20009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20010 (__pthread_mutexattr_settype): Likewise.
20011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20012 (__pthread_rwlock_init): Likewise.
20013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20014 (__pthread_rwlock_destroy): Likewise.
20015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20016 (__pthread_rwlock_rdlock): Likewise.
20017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20018 (__pthread_rwlock_tryrdlock): Likewise.
20019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20020 (__pthread_rwlock_wrlock): Likewise.
20021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20022 (__pthread_rwlock_trywrlock): Likewise.
20023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20024 (__pthread_rwlock_unlock): Likewise.
20025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20026 (__pthread_key_create): Likewise.
20027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20028 (__pthread_setspecific): Likewise.
20029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20030 (__pthread_getspecific): Likewise.
20031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20034 (_pthread_cleanup_push_defer): Likewise.
20035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20036 (_pthread_cleanup_pop_restore): Likewise.
20037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20038 (pthread_setcancelstate): Likewise.
20039 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20041 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20042 (memchr): Do not use BP_SYM in weak_alias.
20043 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20044 (fegetenv): Do not use BP_SYM in versioned symbols.
20045 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20046 (fesetenv): Do not use BP_SYM in versioned symbols.
20047 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20048 (feupdateenv): Do not use BP_SYM in versioned symbols.
20049 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20050 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20051 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20052 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20053 (open64): Do not use BP_SYM in weak_alias.
20054 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20055 (fegetenv): Do not use BP_SYM in versioned symbols.
20056 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20057 (fesetenv): Do not use BP_SYM in versioned symbols.
20058 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20059 (feupdateenv): Do not use BP_SYM in versioned symbols.
20060 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20061 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20062 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20063 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20064 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20065 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20066 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20068 (__libc_start_main): Do not use BP_SYM.
20070 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20073 redundant return line.
20075 (denorm): Likewise.
20076 (dbl_mp): Likewise.
20077 (sub_magnitudes): Likewise.
20083 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20085 (denorm): Likewise.
20086 (dbl_mp): Likewise.
20087 (sub_magnitudes): Likewise.
20094 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20096 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20097 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20100 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20101 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20102 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20103 of __mul for squares.
20104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20108 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20109 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20111 2013-02-13 Joseph Myers <joseph@codesourcery.com>
20114 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20116 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20117 prototype or function definition. Rename ubp_* variables and
20118 parameters. Remove argv definitions conditional on
20119 [__BOUNDED_POINTERS__].
20120 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20121 * elf/dl-runtime.c (_dl_fixup): Likewise.
20122 * include/set-hooks.h (RUN_HOOK): Likewise.
20123 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20125 * string/strcpy.c (strcpy): Do not use __unbounded.
20126 * sysdeps/generic/frame.h (struct layout): Likewise.
20127 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20128 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20129 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20130 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20131 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20132 (__backtrace): Likewise.
20133 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20135 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20136 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20137 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20139 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20140 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20141 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20142 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20143 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20144 Do not use __unbounded.
20145 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20146 Rename __unboundedrlimits parameter to rlimits in prototype.
20147 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20148 Do not use __unbounded.
20149 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20150 not use __ptrvalue.
20151 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20152 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20153 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20154 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20155 __ptrvalue or __unbounded.
20156 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20157 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20159 (__new_msgctl): Do not use __ptrvalue.
20160 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20162 (__libc_msgrcv): Do not use __ptrvalue.
20163 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20164 startup_info): Do not use __unbounded.
20165 (__libc_start_main): Likewise. Rename ubp_* variables and
20166 parameters. Remove argv definitions conditional on
20167 [__BOUNDED_POINTERS__].
20168 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20170 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20172 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20174 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20176 (__new_shmctl): Do not use __ptrvalue.
20177 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20178 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20180 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20181 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20182 (__libc_sigaction): Likewise.
20183 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20184 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20186 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20188 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
20190 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20192 * string/mempcpy.c: Implement by calling memcpy.
20194 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20198 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20201 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20202 values in the mantissa.
20204 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20205 minimize writes to Z.
20206 (sub_magnitudes): Simplify code a bit.
20208 2013-02-12 Roland McGrath <roland@hack.frob.com>
20210 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20211 from the message. The linker prefixes all warnings with that already.
20213 2013-02-12 Andreas Schwab <schwab@suse.de>
20216 * posix/regexec.c (extend_buffers): Add parameter min_len.
20217 (check_matching): Pass minimum needed length.
20218 (clean_state_log_if_needed): Likewise.
20219 (get_subexp): Likewise.
20220 * posix/Makefile (tests): Add bug-regex34.
20221 (bug-regex34-ENV): Define.
20222 * posix/bug-regex34.c: New file.
20225 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20226 elements compare against the byte sequence of it, not its name.
20227 * posix/Makefile (tests): Add bug-regex35.
20228 (bug-regex35-ENV): Define.
20229 * posix/bug-regex35.c: New file.
20231 2013-02-11 Tom de Vries <tom@codesourcery.com>
20233 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20235 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20236 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20237 (CHECK_EOL): Add undef.
20239 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
20241 * bits/stdlib-bsearch.h: New file.
20242 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20243 * stdlib/stdlib.h: Likewise.
20245 2013-02-11 Roland McGrath <roland@hack.frob.com>
20247 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20248 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20250 * manual/search.texi (Array Search Function): Add missing const in
20252 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20253 declaration to use rlim_t.
20254 (Basic Scheduling Functions): Remove erroneous const from
20255 sched_getparam prototype. Remove erroneous * from
20256 sched_get_priority_max and sched_get_priority_min prototypes.
20257 (Resource Usage): Fix summary @comment on vtimes to refer to
20258 sys/vtimes.h rather than vtimes.h.
20259 Add missing *s in vtimes prototype.
20260 (Limits on Resources): Fix ulimit prototype to return long int.
20261 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20262 prototypes to use long int rather than double.
20263 (BSD Random): Fix initstate and setstate to use char *, not void *.
20264 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20265 prototype to make second argument 'struct aiocb64 *const[]'.
20266 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20267 (Status of AIO Operations): Remove erroneous const in aio_return and
20268 aio_return64 prototypes.
20269 (Synchronizing I/O): Fix sync prototype to return void.
20270 * manual/startup.texi (Suboptions): Remove an erroneous const in
20271 getsubopt prototype.
20272 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20273 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20274 use size_t rather than int.
20275 (Scanning All Users): Likewise for getpwent_r.
20276 (Setting Groups): Add missing const to setgroups prototype.
20277 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20278 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20279 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20280 'const void *' rather than 'const char *'.
20281 (Host Address Functions): Likewise for inet_ntop.
20282 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20283 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20284 ssize_t for return value.
20285 (Sending Data): Likewise for send, sendto, sendmsg.
20286 (Socket Option Functions): Add a missing const in setsockopt prototype.
20287 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20288 use wchar_t for the argument.
20289 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20290 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20292 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20293 double/float/long double for second argument.
20294 Fix return types of significand, significandf, significandl.
20295 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20296 argument in fchmod prototype.
20297 (File Owner): Use uid_t and gid_t in fchown prototype.
20298 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20299 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20300 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20301 use 'const struct dirent **' as argument types to CMP function pointer
20303 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20304 (File Times): Fix summary magic @comment for struct utimbuf and utime
20305 to refer to utime.h, not time.h.
20306 * manual/string.texi (Argz Functions): Add missing const in
20307 argz_extract and argz_next prototypes.
20308 (Finding Tokens in a String): Likewise for basename.
20309 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20310 (Copying and Concatenation): Fix typo in wmemmove prototype.
20311 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20312 (Signal Stack): Remove erroneous const in sigstack prototype.
20313 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20315 (Simple Calendar Time): Likewise for stime.
20316 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20318 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20319 say sys/sysctl.h instead.
20320 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20321 and vsyslog prototypes.
20323 2013-02-11 Tom de Vries <tom@codesourcery.com>
20325 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20328 2013-02-11 Roland McGrath <roland@hack.frob.com>
20330 * misc/sys/mman.h: Fix typo in mremap comment.
20332 2013-02-08 Roland McGrath <roland@hack.frob.com>
20334 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20335 the '\0' terminator.
20337 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20340 * debug/segfault.c: Don't include <bp-checks.h>.
20341 * sysdeps/generic/bp-checks.h: Remove file.
20342 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20343 (__GETDENTS): Don't use CHECK_N.
20344 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20345 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20346 (__getgroups): Don't use CHECK_N.
20347 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20348 (setgroups): Don't use CHECK_N.
20349 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20350 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20351 (__libc_msgrcv): Don't use CHECK_N.
20352 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20353 (__libc_msgsnd): Don't use CHECK_N.
20354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20356 (__libc_pread): Don't use CHECK_N.
20357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20358 include <bp-checks.h>.
20359 (__libc_pread64): Don't use CHECK_N.
20360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20361 include <bp-checks.h>.
20362 (__libc_pwrite): Don't use CHECK_N.
20363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20364 include <bp-checks.h>.
20365 (__libc_pwrite64): Don't use CHECK_N.
20366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20368 (__libc_pread): Don't use CHECK_N.
20369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20370 include <bp-checks.h>.
20371 (__libc_pread64): Don't use CHECK_N.
20372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20373 include <bp-checks.h>.
20374 (__libc_pwrite): Don't use CHECK_N.
20375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20376 include <bp-checks.h>.
20377 (__libc_pwrite64): Don't use CHECK_N.
20378 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20379 (do_pread): Don't use CHECK_N.
20380 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20381 (do_pread64): Don't use CHECK_N.
20382 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20383 (do_pwrite): Don't use CHECK_N.
20384 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20385 (do_pwrite64): Don't use CHECK_N.
20386 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20387 (__libc_readv): Don't use CHECK_N.
20388 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20389 (semop): Don't use CHECK_N.
20390 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20392 (semtimedop): Don't use CHECK_N.
20393 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20394 (__libc_pread): Don't use CHECK_N.
20395 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20397 (__libc_pread64): Don't use CHECK_N.
20398 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20400 (__libc_pwrite): Don't use CHECK_N.
20401 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20403 (__libc_pwrite64): Don't use CHECK_N.
20404 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20406 (__libc_msgrcv): Don't use CHECK_N.
20407 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20408 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20409 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20410 (__libc_writev): Don't use CHECK_N.
20412 2013-02-08 Roland McGrath <roland@hack.frob.com>
20414 * string/strcpy.c: Removed unused variable.
20416 * Makeconfig (+sysdep-includes): Define with := rather than =.
20417 Use an existing include/ subdir of each sysdeps dir before it.
20419 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20421 * nscd/connection.c (register_traced_file): Comment function.
20422 [HAVE_INOTIFY] (union __inev): Define.
20423 [HAVE_INOTIFY] (inotify_check_files): New function.
20424 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20425 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20427 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20429 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20431 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20432 loaded if not already and that a failure is permanent.
20434 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20437 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20438 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20440 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20443 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20444 (CHECK_1_NULL_OK): Likewise.
20445 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20446 (__fxstat): Do not use CHECK_1.
20447 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20449 (___fxstat64): Do not use CHECK_1.
20450 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20452 (__fxstatat): Do not use CHECK_1.
20453 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20455 (__fxstatat64): Do not use CHECK_1.
20456 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20458 (__fxstat): Do not use CHECK_1.
20459 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20461 (__fxstatat): Do not use CHECK_1.
20462 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20464 (__getresgid): Do not use CHECK_1.
20465 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20467 (__getresuid): Do not use CHECK_1.
20468 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20470 (__lxstat): Do not use CHECK_1.
20471 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20473 (__old_msgctl): Do not use CHECK_1.
20474 (__new_msgctl): Likewise.
20475 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20477 (__new_setrlimit): Do not use CHECK_1.
20478 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20480 (__old_shmctl): Do not use CHECK_1.
20481 (__new_shmctl): Likewise.
20482 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20484 (__xstat): Do not use CHECK_1.
20485 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20486 (__lxstat): Do not use CHECK_1.
20487 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20489 (___lxstat64): Do not use CHECK_1.
20490 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20491 (__old_msgctl): Do not use CHECK_1.
20492 (__new_msgctl): Likewise.
20493 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20495 (__gettimeofday): Do not use CHECK_1.
20496 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20497 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20498 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20500 (__gettimeofday): Do not use CHECK_1.
20501 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20502 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20503 (__new_shmctl): Do not use CHECK_1.
20504 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20506 (do_sigtimedwait): Do not use CHECK_1.
20507 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20509 (do_sigwaitinfo): Do not use CHECK_1.
20510 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20512 (msgctl): Do not use CHECK_1.
20513 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20515 (shmctl): Do not use CHECK_1.
20516 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20517 (ustat): Do not use CHECK_1.
20518 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20520 (__fxstat): Do not use CHECK_1.
20521 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20523 (__fxstatat): Do not use CHECK_1.
20524 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20526 (__lxstat): Do not use CHECK_1.
20527 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20529 (__xstat): Do not use CHECK_1.
20530 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20531 (__xstat): Do not use CHECK_1.
20532 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20533 (___xstat64): Do not use CHECK_1.
20536 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20538 (CHECK_BOUNDS_HIGH): Likewise.
20539 * string/strcpy.c: Do not include <bp-checks.h>.
20540 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20542 2013-02-07 Roland McGrath <roland@hack.frob.com>
20544 * nscd/nscd-client.h (__nscd_drop_map_ref):
20545 Add __attribute__ ((unused)).
20546 * nis/nss-nisplus.h (niserr2nss): Likewise.
20548 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20549 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20551 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20552 Remove inline keyword.
20553 * include/rounding-mode.h (round_away): Likewise.
20554 * libio/wfileops.c (adjust_wide_data): Likewise.
20555 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20556 (__m128i_strloadu_tolower): Likewise.
20557 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20558 (__m128i_strloadu_tolower): Likewise.
20559 * time/mktime.c (ydhms_diff): Likewise.
20560 * locale/elem-hash.h (elem_hash): Likewise.
20561 * locale/setlocale.c (setdata): Likewise.
20562 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20563 (re_string_wchar_at): Likewise.
20564 (bitset_not, bitset_merge, bitset_mask): Likewise.
20565 [!(__GNUC__ > 3)] (inline): Remove macro.
20566 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20567 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20568 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20569 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20570 * string/memcmp.c (memcmp_bytes): Likewise.
20571 * locale/programs/locarchive.c (compute_hashval): Likewise.
20572 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20573 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20574 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20575 * nss/getent.c (print_rpc, print_protocols): Likewise.
20576 (print_passwd, print_group, print_aliases): Likewise.
20577 * nis/nss-nisplus.h (niserr2nss): Likewise.
20578 * nscd/connections.c (restart_p): Likewise.
20579 Change return type to bool.
20581 2013-02-05 Roland McGrath <roland@hack.frob.com>
20583 * Makeconfig (all-Depend-files): Add existing
20584 $(sorted-subdirs:=/Depend) files.
20585 (all-subdirs): Remove nss.
20586 * sysdeps/unix/inet/Subdirs: Add it here instead.
20587 * hesiod/Depend: New file.
20589 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20590 instead of calling alloca.
20592 * io/lseek.c (__lseek): Rename to __libc_lseek.
20593 Define __lseek as an alias.
20595 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20597 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20599 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20600 else clause and remove check for non-standard endianness.
20602 2013-02-04 David S. Miller <davem@davemloft.net>
20604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20606 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20609 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20610 (__ubp_memchr): Remove prototype.
20611 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20612 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20613 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20614 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20615 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20617 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20618 (__ubp_memchr): Likewise.
20619 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20620 (__ubp_memchr): Likewise.
20621 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20622 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20623 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20624 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20626 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20627 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20628 (__getcwd): Do not use CHECK_STRING.
20629 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20631 (__real_chown): Do not use CHECK_STRING.
20632 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20634 (fchownat): Do not use CHECK_STRING.
20635 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20637 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20639 (__lchown): Do not use CHECK_STRING.
20640 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20641 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20642 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20643 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20645 include <bp-checks.h>.
20646 (truncate64): Do not use CHECK_STRING.
20647 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20649 (__real_chown): Do not use CHECK_STRING.
20650 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20652 (__lchown): Do not use CHECK_STRING.
20653 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20655 (__chown): Do not use CHECK_STRING.
20656 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20658 (truncate64): Do not use CHECK_STRING.
20659 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20661 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20662 (__xmknod): Do not use CHECK_STRING.
20663 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20665 (__xmknodat): Do not use CHECK_STRING.
20666 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20667 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20669 2013-02-04 Andreas Schwab <schwab@suse.de>
20672 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20673 * include/netdb.h: Likewise for h_errno.
20674 * elf/tst-stackguard1.c: Include <tls.h>.
20676 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20678 * elf/link.h (struct link_map): Extend the l_addr comment.
20679 * include/link.h (struct link_map): Likewise.
20681 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20684 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20685 (BOUNDED_1): Remove macro.
20686 * debug/backtrace.c: Don't include <bp-checks.h>.
20687 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20688 (__backtrace): Likewise.
20689 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20691 (__backtrace): Don't use BOUNDED_1.
20692 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20694 (__backtrace): Don't use BOUNDED_1.
20695 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20696 (__backtrace): Don't use BOUNDED_1.
20697 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20698 (shmat): Don't use BOUNDED_N.
20700 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20703 * sysdeps/generic/bp-start.h: Remove file.
20704 * csu/libc-start.c: Don't include <bp-start.h>.
20705 (LIBC_START_MAIN): Set up __environ directly instead of using
20706 INIT_ARGV_and_ENVIRON.
20707 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20711 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20713 (CHECK_FCNTL): Likewise.
20714 (CHECK_N_PAGES): Likewise.
20717 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20719 (CHECK_SIGSET_NULL_OK): Likewise.
20720 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20722 (sigpending): Don't use CHECK_SIGSET.
20723 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20725 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20726 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20728 (do_sigsuspend): Don't use CHECK_SIGSET.
20729 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20731 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20732 (do_sigwait): Don't use CHECK_SIGSET.
20733 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20735 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20736 include <bp-checks.h>.
20737 (sigpending): Don't use CHECK_SIGSET.
20738 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20739 include <bp-checks.h>.
20740 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20741 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20743 (sigpending): Don't use CHECK_SIGSET.
20744 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20746 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20749 * sysdeps/generic/bp-semctl.h: Remove file.
20750 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20751 <bp-checks.h> and <bp-semctl.h>.
20752 (__old_semctl): Don't use CHECK_SEMCTL.
20753 (__new_semctl): Likewise.
20754 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20756 (__old_semctl): Don't use CHECK_SEMCTL.
20757 (__new_semctl): Likewise.
20758 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20759 <bp-checks.h> and <bp-semctl.h>.
20760 (__old_semctl): Don't use CHECK_SEMCTL.
20761 (__new_semctl): Likewise.
20762 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20763 <bp-checks.h> and <bp-semctl.h>.
20764 (semctl): Don't use CHECK_SEMCTL.
20767 * Makerules (elide-bp-thunks): Remove variable.
20768 (elide-routines.oS): Don't use $(elide-bp-thunks).
20769 (elide-routines.os): Likewise.
20770 (elide-routines.o): Likewise.
20771 (elide-routines.op): Likewise.
20772 (elide-routines.og): Likewise.
20773 (objects): Don't use $(bp-thunks).
20774 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20776 (common-generated): Do not add s-proto-bp.d.
20777 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20780 Do not generate makefile rules for bounded-pointer thunks.
20781 * sysdeps/generic/bp-thunks.h: Remove file.
20782 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20783 * sysdeps/unix/s-proto-bp.S: Likewise.
20786 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20787 parts of result separately when argument is not close to line from
20788 -i to i and one part of argument is small.
20789 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20790 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20791 * math/libm-test.inc (cacos_test): Add more tests.
20792 (casin_test): Likewise.
20793 (casinh_test): Likewise.
20794 * sysdeps/i386/fpu/libm-test-ulps: Update.
20795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20797 2013-01-31 David S. Miller <davem@davemloft.net>
20799 * po/de.po: Update from translation team.
20801 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20803 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20805 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20807 * configure.in (_AC_PROG_CC_C89): New definition.
20808 * configure: Regenerate.
20810 * configure.in (AC_PROG_CPP): New definition.
20811 * configure: Regenerate.
20813 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20815 * debug/tst-backtrace.h: New file.
20816 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20817 (ret): Remove variable.
20819 (FAIL): Remove macro.
20820 (NO_INLINE): Likewise.
20821 (fn1): Use match function instead of strstr.
20822 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20823 (ret): Remove variable.
20825 (FAIL): Remove macro.
20826 (NO_INLINE): Likewise.
20827 (fn): Use match function instead of strstr.
20828 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20829 (ret): Remove variable.
20831 (FAIL): Remove macro.
20832 (NO_INLINE): Likewise.
20833 (handle_signal): Use match function instead of strstr.
20834 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20835 (ret): Remove variable.
20837 (FAIL): Remove macro.
20838 (NO_INLINE): Likewise.
20839 (handle_signal): Use match function instead of strstr.
20841 2013-01-23 Roland McGrath <roland@hack.frob.com>
20843 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20845 2013-01-23 David S. Miller <davem@davemloft.net>
20847 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20848 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20849 argument of CAS if possible.
20850 * sysdeps/sparc/sparc64/bits/atomic.h
20851 (__arch_compare_and_exchange_val_32_acq): Likewise.
20852 (__arch_compare_and_exchange_val_64_acq): Likewise.
20854 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20856 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20857 * sysdeps/posix/ulimit.c: ... this.
20858 Include <limits.h>.
20859 * sysdeps/unix/bsd/ulimit.c: Remove file.
20861 2013-01-23 Adam Conrad <adconrad@0c3.net>
20863 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20864 (LDFLAGS-tst-array5): Likewise.
20866 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20869 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20870 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20871 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20872 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20874 2013-01-21 David S. Miller <davem@davemloft.net>
20876 * sysdeps/sparc/backtrace.c: New file.
20877 * sysdeps/sparc/sparc32/backtrace.h: New file.
20878 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20879 * sysdeps/sparc/sparc64/backtrace.h: New file.
20880 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20881 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20884 2013-01-21 Andreas Schwab <schwab@suse.de>
20887 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20890 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20896 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20897 Mark Mitchell <mark@codesourcery.com>
20898 Tom de Vries <tom@codesourcery.com>
20899 Paul Pluzhnikov <ppluzhnikov@google.com>
20901 * debug/tst-backtrace2.c: New file.
20902 * debug/tst-backtrace3.c: Likewise.
20903 * debug/tst-backtrace4.c: Likewise.
20904 * debug/tst-backtrace5.c: Likewise.
20905 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20906 (CFLAGS-tst-backtrace3.c): Likewise.
20907 (CFLAGS-tst-backtrace4.c): Likewise.
20908 (CFLAGS-tst-backtrace5.c): Likewise.
20909 (LDFLAGS-tst-backtrace2): Likewise.
20910 (LDFLAGS-tst-backtrace3): Likewise.
20911 (LDFLAGS-tst-backtrace4): Likewise.
20912 (LDFLAGS-tst-backtrace5): Likewise.
20913 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20914 tst-backtrace4 and tst-backtrace5.
20916 2013-01-18 Anton Blanchard <anton@samba.org>
20917 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20919 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20920 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20921 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20922 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20924 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20925 "+r" and remove output regs list as redundant. Add explicit inline
20926 asm to specify register of return val to work around compiler codegen
20927 bug. Remove (int) cast on return value. Add return type parameter to
20928 use in macro so that this macro does not truncate return value for
20930 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20931 pass to INTERNAL_VSYSCALL_NCS.
20932 (INLINE_VSYSCALL): Add 'long int' as return type to
20933 INTERNAL_VSYSCALL_NCS macro invocation.
20934 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20935 INTERNAL_VSYSCALL_NCS macro invocation.
20936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20938 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20941 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20942 Fix application of SIMD FP exception mask.
20944 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20945 mp_no from a power of two.
20946 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20947 __mpexp_twomm1. Use __pow_mp.
20949 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20952 2013-01-17 David S. Miller <davem@davemloft.net>
20954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20956 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20959 * include/complex.h: Condition contents on [!_COMPLEX_H].
20960 (__kernel_casinhf): New prototype.
20961 (__kernel_casinh): Likewise.
20962 (__kernel_casinhl): Likewise.
20963 * math/Makefile (libm_calls): Add k_casinh.
20964 * math/k_casinh.c: New file.
20965 * math/k_casinhf.c: Likewise.
20966 * math/k_casinhl.c: Likewise.
20967 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20968 finite nonzero arguments.
20969 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20970 finite nonzero arguments.
20971 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20972 finite nonzero arguments.
20973 * math/s_casinh.c: Do not include <float.h>.
20974 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20975 * math/s_casinhf.c: Do not include <float.h>.
20976 (__casinhf): Move code for finite nonzero arguments to
20978 * math/s_casinhl.c: Do not include <float.h>.
20979 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20981 (__casinhl): Move code for finite nonzero arguments to
20983 * math/libm-test.inc (cacos_test): Add more tests.
20984 * sysdeps/i386/fpu/libm-test-ulps: Update.
20985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20987 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20989 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20990 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20991 [!HAVE_MREMAP]: Remove [defined linux] case.
20992 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20994 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20996 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20998 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
21000 * elf/elf.h (R_386_SIZE32): New relocation.
21001 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21003 (elf_machine_rela): Likewise.
21004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21005 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21007 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21009 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21010 (FP_FAST_FMA): Do not define.
21011 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21012 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21013 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21014 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21015 !_SOFT_FLOAT]: Likewise.
21016 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21017 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21019 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21020 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21021 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21022 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21023 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21024 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21027 2013-01-16 Andreas Schwab <schwab@suse.de>
21030 * include/stdlib.h (__mktemp): Add declaration.
21031 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21032 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21034 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21036 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21038 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21039 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21040 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21042 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21043 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21045 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21047 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21048 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21049 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21051 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21052 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21054 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21056 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21058 2013-01-15 David S. Miller <davem@davemloft.net>
21060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21061 trunc{,f} to libm-sysdep_routes.
21062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21072 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21073 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21074 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21075 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21076 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21077 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21080 nearbyint{,f} to libm-sysdep_routes.
21081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21092 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21094 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21095 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21097 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21098 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21099 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21101 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21102 libc_feholdexcept and libc_fesetenv.
21104 2013-01-15 Mike Frysinger <vapier@gentoo.org>
21106 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21108 2013-01-14 David S. Miller <davem@davemloft.net>
21110 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21111 (SPARC_ASM_VIS2_IFUNC): Likewise.
21112 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21114 use of 'siam' instruction.
21115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21135 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21136 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21148 routines to libm-sysdep_routines.
21149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21152 fdim/fdimf to libm-sysdep_routines.
21153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21161 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21162 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21163 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21164 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21166 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21168 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21169 to optimize copies.
21171 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21173 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21176 local variable MPTWO.
21177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21180 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21182 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21185 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21187 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21189 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21191 * manual/pattern.texi (glob_t): Document gl_flags.
21192 (glob64_t): Likewise.
21194 2013-01-11 David S. Miller <davem@davemloft.net>
21196 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21197 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21198 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
21199 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21200 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21201 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21202 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21203 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21204 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21205 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21206 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21207 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21208 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21210 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21211 sparc V9 rather than using V8 code.
21212 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21213 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21215 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21217 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21220 2013-01-11 Roland McGrath <roland@hack.frob.com>
21222 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21223 not in the main loop.
21224 * configure: Regenerated.
21226 2013-01-11 Joseph Myers <joseph@codesourcery.com>
21228 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21229 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21231 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21232 [!__GLIBC_HAVE_LONG_LONG] case.
21233 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21234 condition to just #else.
21235 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21236 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21237 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21238 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21240 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21241 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21242 #elif condition to just #else.
21243 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21244 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21245 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21246 #elif condition to just #else.
21248 2013-01-11 Steve Ellcey <sellcey@mips.com>
21250 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21251 (EF_MIPS_ARCH_64): Fix value.
21252 (EF_MIPS_ARCH_32R2): New.
21253 (EF_MIPS_ARCH_64R2): New.
21255 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21257 * Makeconfig (+link-pie-before-libc): New.
21258 (+link-pie-after-libc): Likewise.
21259 (+link-pie-tests): Likewise.
21260 (+link-pie): Rewritten.
21261 (link-before-libc): Remove $(config-LDFLAGS).
21262 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21263 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21264 (config-LDFLAGS): Renamed to ...
21265 (rtld-LDFLAGS): This.
21266 (rtld-tests-LDFLAGS): New macro.
21267 (link-libc-rpath-link): Likewise.
21268 (link-libc-tests-rpath-link): Likewise.
21269 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21270 (link-libc): Prepand $(link-libc-rpath-link).
21271 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21272 (test-program-prefix): New macro.
21273 (test-via-rtld-prefix): Likewise.
21274 (test-program-cmd): Likewise.
21275 (host-test-program-cmd): Likewise.
21276 * Makefile ($(common-objpfx)testrun.sh): Replace
21277 $(run-program-prefix) with $(test-program-prefix).
21278 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21280 ($(common-objpfx)shlib.lds): Likewise.
21281 (build-module-helper): Likewise.
21282 ($(common-objpfx)format.lds): Likewise.
21283 * Rules (binaries-pie-tests): New.
21284 (binaries-pie-notests): Likewise.
21285 (binaries-pie): Rewritten.
21286 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21287 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21288 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21289 (make-test-out): Replace $(host-built-program-cmd) with
21290 $(host-test-program-cmd).
21291 * config.make.in (build-hardcoded-path-in-tests): New variable.
21292 * configure.in (--enable-hardcoded-path-in-tests): New configure
21294 (hardcoded_path_in_tests): New AC_SUBST.
21295 * configure: Regenerated.
21296 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21297 $(built-program-cmd) with $(test-program-cmd).
21298 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21299 (test_program_cmd): This.
21300 * elf/Makefile ($(objpfx)order.out): Run test with
21301 $(test-program-prefix).
21302 ($(objpfx)order2.out): Likewise.
21303 ($(objpfx)tst-initorder.out): Likewise.
21304 ($(objpfx)tst-initorder2.out): Likewise.
21305 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21306 $(test-program-cmd).
21307 ($(objpfx)tst-array1-static.out): Likewise.
21308 ($(objpfx)tst-array2.out): Likewise.
21309 ($(objpfx)tst-array3.out): Likewise.
21310 ($(objpfx)tst-array4.out): Likewise.
21311 ($(objpfx)tst-array5.out): Likewise.
21312 ($(objpfx)tst-array5-static.out): Likewise.
21313 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21314 $(test-program-cmd).
21315 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21316 $(run-program-prefix) with $(test-program-prefix).
21317 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21318 (test_program_prefix): This.
21319 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21320 $(run-program-prefix) with $(test-program-prefix).
21321 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21322 (test_program_prefix): This.
21323 * iconvdata/tst-tables.sh: Likewise.
21324 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21325 $(run-program-prefix) with $(test-program-prefix).
21326 ($(objpfx)tst-translit.out): Likewise.
21327 ($(objpfx)tst-gettext2.out): Likewise.
21328 ($(objpfx)tst-gettext4.out): Likewise.
21329 ($(objpfx)tst-gettext6.out): Likewise.
21330 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21331 (test_program_prefix): This.
21332 * intl/tst-gettext2.sh: Likewise.
21333 * intl/tst-gettext4.sh Likewise.
21334 * intl/tst-gettext6.sh: Likewise.
21335 * intl/tst-translit.sh: Likewise.
21336 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21337 with $(test-program-cmd).
21338 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21339 $(run-program-prefix) with $(test-program-prefix).
21340 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21341 (test_program_prefix): This.
21342 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21343 $(run-program-prefix) with $(test-program-prefix).
21344 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21345 (test_program_prefix): This.
21346 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21347 * posix/Makefile ($(objpfx)globtest.out): Replace
21348 $(run-via-rtld-prefix) and $(test-wrapper) with
21349 $(test-program-prefix) and $(test-via-rtld-prefix).
21350 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21351 $(test-program-prefix).
21352 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21353 $(host-test-program-cmd).
21354 (tst-spawn-ARGS): Likewise.
21355 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21356 $(test-program-prefix).
21357 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21358 (test_via_rtld_prefix): This.
21359 (test_wrapper): Renamed to ...
21360 (test_program_prefix): This.
21361 (run_program_prefix): Replaced by test_program_prefix.
21362 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21363 (test_program_prefix): This.
21364 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21365 with $(host-test-program-cmd).
21366 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21367 $(run-program-prefix) with $(test-program-prefix).
21368 ($(objpfx)tst-printf.out): Likewise.
21369 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21370 $(test-program-cmd).
21371 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21372 (test_program_prefix): This.
21373 * stdio-common/tst-unbputc.sh: Likewise.
21374 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21375 $(run-program-prefix) with $(test-program-prefix).
21376 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21377 (test_program_prefix): This.
21378 * string/Makefile ($(objpfx)tst-svc.out): Replace
21379 $(built-program-cmd) with $(test-program-cmd).
21381 2013-01-11 Andreas Jaeger <aj@suse.de>
21384 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21385 value. Sync with Linux 3.7.
21387 2013-01-10 David S. Miller <davem@davemloft.net>
21389 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21390 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21391 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21393 2013-01-10 Roland McGrath <roland@hack.frob.com>
21395 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21397 * configure: Regenerated.
21399 2013-01-10 David S. Miller <davem@davemloft.net>
21401 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21402 sparc V9 rather than using V8 code.
21403 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21404 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21406 2013-01-10 Roland McGrath <roland@hack.frob.com>
21408 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21409 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21410 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21411 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21412 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21413 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21414 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21415 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21416 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21417 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21418 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21419 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21420 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21421 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21422 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21423 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21424 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21425 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21426 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21427 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21428 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21429 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21430 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21431 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21432 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21433 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21434 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21436 2013-01-10 David S. Miller <davem@davemloft.net>
21438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21440 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21442 * posix/Makefile (tests-static): New variable.
21443 (tests): Add $(tests-static).
21444 (tst-exec-static-ARGS): New variable.
21445 (tst-spawn-static-ARGS): Likewise.
21446 * posix/tst-exec-static.c: New file.
21447 * posix/tst-spawn-static.c: Likewise.
21448 * posix/tst-exec.c: Support run directly.
21449 * posix/tst-spawn.c: Likewise.
21451 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21453 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21455 * math/bits/mathcalls.h (llrint): Likewise.
21456 (llround): Likewise.
21457 * stdlib/stdlib.h (struct drand48_data): Likewise.
21458 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21459 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21460 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21462 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21464 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21465 (elf_greg_t): Likewise.
21466 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21467 (__jmp_buf): Likewise.
21468 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21470 (llrint): Likewise, for all definitions.
21471 (llrintl): Likewise.
21473 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21474 Remove [__GNUC__] condition.
21475 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21476 condition to just [__USE_ISOC99].
21477 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21479 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21482 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21483 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21485 (_POSIX_V6_ILP32_OFF32): Likewise.
21486 (_XBS5_ILP32_OFF32): Likewise.
21487 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21488 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21490 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21492 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21494 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21495 doubles __mpexp_twomm1. Adjust usage.
21496 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21499 2013-01-10 Andreas Schwab <schwab@suse.de>
21502 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21503 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21505 2013-01-09 David S. Miller <davem@davemloft.net>
21508 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21509 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21510 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21511 (TCP_FASTOPEN): Define.
21512 (tcp_repair_opt): New structure.
21513 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21515 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21516 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21517 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21518 (tcp_cookie_transactions): New structure.
21520 2013-01-09 Anton Blanchard <anton@samba.org>
21522 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21523 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21524 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21525 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21527 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21529 * include/features.h (__USE_ANSI): Remove.
21531 2013-01-09 Roland McGrath <roland@hack.frob.com>
21533 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21535 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21537 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21539 * sysdeps/s390/fpu/libm-test-ulps: Update.
21541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21543 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21547 (denorm): Likewise.
21548 (__mp_dbl): Likewise.
21549 (__dbl_mp): Likewise.
21550 (add_magnitudes): Likewise.
21551 (sub_magnitudes): Likewise.
21557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21561 (denorm): Likewise.
21562 (__mp_dbl): Likewise.
21563 (__dbl_mp): Likewise.
21564 (add_magnitudes): Likewise.
21565 (sub_magnitudes): Likewise.
21571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21575 (denorm): Likewise.
21576 (__mp_dbl): Likewise.
21577 (__dbl_mp): Likewise.
21578 (add_magnitudes): Likewise.
21579 (sub_magnitudes): Likewise.
21586 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21588 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21589 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21590 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21591 2 && __USE_EXTERN_INLINES]: Likewise.
21593 2013-01-08 Andreas Jaeger <aj@suse.de>
21596 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21598 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21599 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21601 2013-01-07 Anton Blanchard <anton@samba.org>
21603 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21604 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21605 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21606 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21607 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21608 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21609 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21610 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21612 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21613 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21614 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21615 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21616 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21617 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21618 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21619 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21620 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21621 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21622 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21623 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21624 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21625 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21626 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21627 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21628 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21629 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21630 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21631 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21632 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21633 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21635 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21636 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21637 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21638 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21639 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21640 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21641 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21642 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21643 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21644 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21645 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21647 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21649 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21650 (__MALLOC_PMT): Likewise.
21651 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21652 [__GNUC__], only on [_LIBC].
21653 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21654 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21655 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21656 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21657 forward declaration.
21658 (realloc_hook_ini): Likewise.
21659 (memalign_hook_ini): Likewise.
21660 (__libc_memalign): Do not use __MALLOC_PMT in variable
21662 (__libc_valloc): Likewise.
21663 (__libc_pvalloc): Likewise.
21664 (__libc_calloc): Likewise.
21665 (__posix_memalign): Likewise.
21668 * math/s_casinh.c: Include <float.h>.
21669 (__casinh): Do not do computation with squaring and square root
21670 for large arguments.
21671 * math/s_casinhf.c: Include <float.h>.
21672 (__casinhf): Do not do computation with squaring and square root
21673 for large arguments.
21674 * math/s_casinhl.c: Include <float.h>.
21675 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21676 (__casinhl): Do not do computation with squaring and square root
21677 for large arguments.
21678 * math/libm-test.inc (casin_test): Add more tests.
21679 (casinh_test): Likewise.
21680 * sysdeps/i386/fpu/libm-test-ulps: Update.
21681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21683 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21685 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21686 (__x86_64_raw_data_cache_size): Likewise.
21687 (__x86_64_data_cache_size_half): Likewise.
21688 (__x86_64_raw_data_cache_size_half): Likewise.
21689 (__x86_64_shared_cache_size): Likewise.
21690 (__x86_64_raw_shared_cache_size): Likewise.
21691 (__x86_64_shared_cache_size_half): Likewise.
21692 (__x86_64_raw_shared_cache_size_half): Likewise.
21693 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21695 (__x86_data_cache_size): This.
21696 (__x86_64_raw_data_cache_size): Renamed to ...
21697 (__x86_raw_data_cache_size): This.
21698 (__x86_64_data_cache_size_half): Renamed to ...
21699 (__x86_data_cache_size_half): This.
21700 (__x86_64_raw_data_cache_size_half): Renamed to ...
21701 (__x86_raw_data_cache_size_half): This.
21702 (__x86_64_shared_cache_size): Renamed to ...
21703 (__x86_shared_cache_size): This.
21704 (__x86_64_raw_shared_cache_size): Renamed to ...
21705 (__x86_raw_shared_cache_size): This.
21706 (__x86_64_shared_cache_size_half): Renamed to ...
21707 (__x86_shared_cache_size_half): This.
21708 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21709 (__x86_raw_shared_cache_size_half): This.
21710 * sysdeps/x86_64/memcpy.S: Updated.
21711 * sysdeps/x86_64/memset.S: Likewise.
21712 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21713 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21716 2013-01-04 David S. Miller <davem@davemloft.net>
21718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21720 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21722 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21723 1 to avoid redefinition warning.
21724 (__USE_GNU): Don't define.
21725 (init_signaling_nan): Protoize.
21727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21729 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21731 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21733 (__cpymn): Likewise.
21734 (norm): Remove commented code.
21735 (denorm): Likewise.
21736 (__mp_dbl): Likewise.
21738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21739 (__cpymn): Likewise.
21740 (norm): Remove commented code.
21741 (denorm): Likewise.
21742 (__mp_dbl): Likewise.
21745 * sysdeps/powerpc/powerpc32/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.
21750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21751 mp_no value for 1.0 and 2.0.
21752 (norm): Use RADIXI instead of radixi.d.
21753 (denorm): Likewise.
21754 (__mul): Use 0.0 instead of zero.d.
21756 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21759 * math/s_casinh.c (__casinh): Reduce finite argument to first
21760 quadrant then set signs of results at the end.
21761 * math/s_casinhf.c (__casinhf): Likewise.
21762 * math/s_casinhl.c (__casinhl): Likewise.
21763 * math/libm-test.inc (casin_test): Add more tests.
21764 (casinh_test): Likewise.
21765 * sysdeps/i386/fpu/libm-test-ulps: Update.
21766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21768 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21770 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21772 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21774 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21776 (denorm): Likewise.
21777 (__mp_dbl): Likewise.
21780 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21781 and adjust the header comment.
21783 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21784 variable name from declaration.
21786 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21789 Initialize COMMON_CPUID_INDEX_7 element.
21790 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21791 (CPUID_RTM): Likewise.
21792 (HAS_RTM): Likewise.
21793 (COMMON_CPUID_INDEX_7): New enum.
21795 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21798 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21799 size is zero, record memory as freed.
21801 2013-01-03 Andreas Jaeger <aj@suse.de>
21803 * po/ia.po: Add new Interlingua translation.
21805 2012-01-03 Allan McRae <allan@archlinux.org>
21807 * locale/programs/localedef.c: Fix description of '--posix' flag.
21809 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21811 * NEWS: Update dates in second copyright notice.
21812 * README: Update copyright dates in example.
21813 * manual/libc.texinfo: Update copyright dates.
21814 * scripts/test-installation.pl: Update copyright date in --version
21817 * hurd/ctty-input.c: Fix copyright notice formatting.
21818 * hurd/ctty-output.c: Likewise.
21819 * hurd/dtable.c: Likewise.
21820 * hurd/hurd-raise.c: Likewise.
21821 * hurd/hurdprio.c: Likewise.
21822 * hurd/msgportdemux.c: Likewise.
21823 * misc/sys/file.h: Likewise.
21824 * misc/sys/ioctl.h: Likewise.
21825 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21826 * sysdeps/mach/hurd/chdir.c: Likewise.
21827 * sysdeps/mach/hurd/fchdir.c: Likewise.
21828 * sysdeps/mach/hurd/rename.c: Likewise.
21829 * sysdeps/mach/hurd/rmdir.c: Likewise.
21830 * sysdeps/mach/hurd/seekdir.c: Likewise.
21831 * sysdeps/mach/hurd/setsid.c: Likewise.
21832 * sysdeps/posix/wait3.c: Likewise.
21834 * All files with FSF copyright notices: Update copyright dates
21835 using scripts/update-copyrights.
21836 * intl/plural.c: Regenerated.
21837 * locale/programs/charmap-kw.h: Likewise.
21838 * locale/programs/locfile-kw.h: Likewise.
21840 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21842 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21845 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21846 calculation loop and add branch prediction.
21848 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21849 check access beyond bounds of m1np.
21851 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21853 (__inv): Remove local variable MPTWO to use the global
21855 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21856 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21858 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21859 MP3HALFS static const.
21861 2013-01-01 David S. Miller <davem@davemloft.net>
21863 * po/ca.po: Update from translation team.
21865 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21867 * scripts/update-copyrights: New file.
21868 * Makeconfig: Reformat copyright notice.
21869 * ctype/ctype.h: Likewise.
21870 * debug/swprintf_chk.c: Likewise.
21871 * elf/dl-cache.c: Likewise.
21872 * elf/dl-debug.c: Likewise.
21873 * elf/dl-object.c: Likewise.
21874 * grp/initgroups.c: Likewise.
21875 * hurd/Makefile: Likewise.
21876 * hurd/hurd/signal.h: Likewise.
21877 * hurd/hurdfault.c: Likewise.
21878 * hurd/hurdioctl.c: Likewise.
21879 * hurd/hurdlookup.c: Likewise.
21880 * hurd/intr-msg.c: Likewise.
21881 * iconv/gconv_open.c: Likewise.
21882 * libio/swprintf.c: Likewise.
21883 * locale/lc-ctype.c: Likewise.
21884 * locale/nl_langinfo.c: Likewise.
21885 * mach/Machrules: Likewise.
21886 * mach/Makefile: Likewise.
21887 * malloc/obstack.h: Likewise.
21888 * manual/Makefile: Likewise.
21889 * manual/tsort.awk: Likewise.
21890 * misc/bits/stab.def: Likewise.
21891 * nis/nis_print_group_entry.c: Likewise.
21892 * nis/nis_table.c: Likewise.
21893 * nis/nss_compat/compat-pwd.c: Likewise.
21894 * nis/nss_compat/compat-spwd.c: Likewise.
21895 * po/Makefile: Likewise.
21896 * posix/fnmatch.c: Likewise.
21897 * posix/regex.h: Likewise.
21898 * resolv/Makefile: Likewise.
21899 * resolv/nss_dns/dns-network.c: Likewise.
21900 * resolv/res_hconf.c: Likewise.
21901 * scripts/gen-sorted.awk: Likewise.
21902 * soft-fp/soft-fp.h: Likewise.
21903 * stdio-common/printf.h: Likewise.
21904 * stdlib/monetary.h: Likewise.
21905 * stdlib/random.c: Likewise.
21906 * stdlib/random_r.c: Likewise.
21907 * sysdeps/generic/Makefile: Likewise.
21908 * sysdeps/gnu/Makefile: Likewise.
21909 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21910 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21911 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21913 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21916 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21917 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21919 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21920 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21921 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21926 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21927 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21929 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21930 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21931 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21932 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21933 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21934 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21935 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21936 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21937 * sysdeps/mach/hurd/errnos.awk: Likewise.
21938 * sysdeps/mach/hurd/fork.c: Likewise.
21939 * sysdeps/mach/hurd/getcwd.c: Likewise.
21940 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21941 * sysdeps/mach/hurd/mmap.c: Likewise.
21942 * sysdeps/mach/hurd/utimes.c: Likewise.
21943 * sysdeps/mach/hurd/xmknod.c: Likewise.
21944 * sysdeps/posix/profil.c: Likewise.
21945 * sysdeps/posix/readdir_r.c: Likewise.
21946 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21947 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21948 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21949 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21951 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21952 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21953 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21955 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21956 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21957 * sysdeps/pthread/lio_listio.c: Likewise.
21958 * sysdeps/sparc/dl-procinfo.h: Likewise.
21959 * sysdeps/unix/i386/sysdep.S: Likewise.
21960 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21961 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21962 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21963 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21965 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21966 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21967 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21968 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21969 * sysdeps/wordsize-32/divdi3.c: Likewise.
21970 * time/sys/time.h: Likewise.
21971 * wcsmbs/Makefile: Likewise.
21973 2013-01-01 David S. Miller <davem@davemloft.net>
21975 * po/fr.po: Update from translation team.
21977 * catgets/gencat.c: Update copyright year.
21978 * csu/version.c: Likewise.
21979 * debug/catchsegv.sh: Likewise.
21980 * debug/pcprofiledump.c: Likewise.
21981 * debug/xtrace.sh: Likewise.
21982 * elf/ldconfig.c: Likewise.
21983 * elf/ldd.bash.in: Likewise.
21984 * elf/pldd.c: Likewise.
21985 * elf/sotruss.ksh: Likewise.
21986 * elf/sprof.c: Likewise.
21987 * iconv/iconv_prog.c: Likewise.
21988 * iconv/iconvconfig.c: Likewise.
21989 * locale/programs/locale.c: Likewise.
21990 * locale/programs/localedef.c: Likewise.
21991 * login/programs/pt_chown.c: Likewise.
21992 * malloc/memusage.sh: Likewise.
21993 * malloc/memusagestat.c: Likewise.
21994 * malloc/mtrace.pl: Likewise.
21995 * nscd/nscd.c: Likewise.
21996 * nss/getent.c: Likewise.
21997 * nss/makedb.c: Likewise.
21998 * posix/getconf.c: Likewise.
22000 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22002 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22005 2012-12-30 Mike Frysinger <vapier@gentoo.org>
22007 * math/bits/mathcalls.h (modf): Use __nonnull.
22009 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22011 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22012 (split): Use macro CN instead of the bare value.
22013 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22016 instead of the bare value.
22017 (power1): Likewise.
22019 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22021 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22023 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22025 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22027 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22028 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22029 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22030 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22032 2012-12-28 Andreas Jaeger <aj@suse.de>
22034 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22035 values are from Linux 3.7.
22037 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22038 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22040 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22042 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22045 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22047 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22048 variables with preprocessor constants.
22049 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22050 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22051 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22053 2012-12-27 Bruno Haible <bruno@clisp.org>
22056 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22059 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22061 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22062 and use variable directly.
22063 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22065 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22067 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22068 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22070 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22071 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22072 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22073 include directive. Remove local variable MPONE.
22074 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22075 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22076 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22078 2012-12-25 David S. Miller <davem@davemloft.net>
22080 * version.h (RELEASE): Set to "development".
22081 (VERSION): Set to "2.17.90".
22082 * NEWS: Add 2.18 section.
22084 2012-12-21 David S. Miller <davem@davemloft.net>
22086 * po/hr.po: Update from translation team.
22088 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22090 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22092 2012-12-19 Steve Ellcey <sellcey@mips.com>
22094 * NEWS: Mention new memcpy for MIPS.
22096 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22098 * manual/contrib.texi (Contributors): Spelling correction.
22100 2012-12-15 David S. Miller <davem@davemloft.net>
22102 * po/ru.po: Update from translation team.
22104 2012-12-13 David S. Miller <davem@davemloft.net>
22106 * NEWS: Mention IFUNC testsuite enhancements.
22108 * po/pl.po: Update from translation team.
22109 * po/bg.po: Likewise.
22111 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22112 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22114 2012-12-11 David S. Miller <davem@davemloft.net>
22116 * po/sv.po: Update from translation team.
22118 * po/vi.po: Update from translation team.
22120 * po/cs.po: Update from translation team.
22122 * po/de.po: Update from translation team.
22123 * po/eo.po: Likewise.
22124 * po/nl.po: Likewise.
22126 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22129 * manual/argp.texi (Argp Helper Functions): Move node to follow
22130 Argp Parsing State.
22133 * manual/conf.texi (Limits on File System Capacity): Mention if
22134 terminating null is included in the max size.
22136 2012-12-10 Andreas Jaeger <aj@suse.de>
22138 * po/cs.po: Update from translation team.
22140 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22142 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22143 void pointer and cast to uintptr_t.
22144 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22146 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22147 * sysdeps/s390/s390-64/memset.S: Likewise.
22149 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
22152 * menual/message.texi (Message Translation): Fix typos.
22153 (Helper programs for gettext): Likewise.
22155 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22158 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22161 2012-12-07 David S. Miller <davem@davemloft.net>
22163 * po/libc.pot: Update.
22165 2012-12-07 Richard Henderson <rth@redhat.com>
22168 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22169 normal/normal case to before the switch.
22170 (_FP_DIV): Likewise.
22172 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22173 Mike Frysinger <vapier@gentoo.org>
22175 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22176 check for __NR_fadvise64_64.
22178 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22180 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22181 0, not just to plain "0" as a statement.
22182 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22185 2012-12-06 Joseph Myers <joseph@codesourcery.com>
22187 * NEWS: Use sourceware.org in Bugzilla URL.
22189 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22192 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22194 * stdio-common/tst-put-error.c (do_test): Add newline to the
22195 padded test to ensure flush.
22197 2012-12-05 Jeff Law <law@redhat.com>
22199 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22201 2012-12-05 Joseph Myers <joseph@codesourcery.com>
22203 * README: Don't refer to ports add-on as distributed separately.
22204 Mention AArch64 in list of systems supported in the ports add-on.
22206 * LICENSES: Add more non-FSF copyright and license notices.
22208 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22211 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22213 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22214 10000 as width of padded output.
22216 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22218 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22220 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22221 variable LX with __attribute__ ((unused)).
22222 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22224 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22226 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22227 with __attribute__ ((unused)).
22229 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
22231 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22233 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22235 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22236 (CFLAGS-nldbl-acos.c): New variable.
22237 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22238 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22239 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22240 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22241 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22242 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22243 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22244 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22245 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22246 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22247 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22248 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22249 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22250 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22251 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22252 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22253 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22254 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22255 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22256 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22257 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22258 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22259 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22260 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22261 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22262 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22263 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22264 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22265 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22266 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22267 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22268 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22269 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22270 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22271 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22272 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22273 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22274 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22275 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22276 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22277 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22278 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22279 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22280 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22281 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22282 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22283 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22284 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22285 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22286 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22287 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22288 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22289 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22290 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22291 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22292 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22293 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22294 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22295 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22296 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22297 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22298 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22299 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22300 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22301 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22302 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22303 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22304 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22305 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22306 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22307 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22308 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22309 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22310 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22311 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22312 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22313 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22314 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22315 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22316 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22317 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22318 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22319 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22320 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22321 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22322 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22323 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22324 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22325 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22326 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22327 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22328 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22329 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22330 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22331 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22332 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22333 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22336 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22339 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22340 whole low double instead of just low 47 bits when splitting values
22343 2012-12-03 Allan McRae <allan@archlinux.org>
22345 * manual/stdio.texi (Predefined Printf Handlers): Remove
22346 @hsep and @vsep usage.
22348 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22350 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22351 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22353 2012-12-03 Jeff Law <law@redhat.com>
22355 * time/sys/time.h (settimeofday): Do not mark TV argument
22358 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22360 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22361 when currently writing and seek to current position when not.
22362 * libio/Makefile (tests): Remove bug-fclose1.
22363 * libio/bug-fclose1.c: Delete.
22365 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22367 * manual/arith.texi (feenableexcept): Fix typo.
22368 (fedisableexcept): Likewise.
22370 2012-11-30 Roland McGrath <roland@hack.frob.com>
22372 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22373 second, differently-typed declaration, rather than a cast.
22375 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22377 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22378 * include/rpc/svc.h: ... here.
22380 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22383 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22384 depending n and resplen2 to catch cases where answer
22387 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22389 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22390 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22392 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22394 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22396 2012-11-29 Roland McGrath <roland@hack.frob.com>
22398 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22400 2012-11-28 Jeff Law <law@redhat.com>
22403 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22404 dataset_temporary. Track alloca usage into alloca_used.
22405 If dataset is large allocate and release it via malloc/free.
22407 2012-06-04 Florian Weimer <fweimer@redhat.com>
22410 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22412 2012-11-28 David S. Miller <davem@davemloft.net>
22414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22416 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22419 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22420 of pi/2 rounded to nearest to 64 bits.
22421 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22422 nearest to 64 bits.
22423 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22426 2012-11-28 Jeff Law <law@redhat.com>
22427 Martin Osvald <mosvald@redhat.com>
22430 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22431 * sunrpc/svc.c: Include time.h.
22432 (__svc_accept_failed): New function.
22433 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22434 any reason other than EINTR, call __svc_accept_failed.
22435 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22436 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22438 2012-11-28 Andreas Schwab <schwab@suse.de>
22440 * scripts/abilist.awk: Also handle indirect functions in .opd
22443 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22446 * sysdeps/x86/fpu/powl_helper.c: New file.
22447 * sysdeps/x86/fpu/Makefile: Likewise.
22448 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22450 (__ieee754_powl): Use __powl_helper for finite arguments except
22451 integer exponents below 8.
22452 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22454 (__ieee754_powl): Use __powl_helper for finite arguments except
22455 integer exponents below 8.
22456 * math/libm-test.inc (pow_test): Add more tests and enable some
22457 previously disabled tests.
22458 * sysdeps/i386/fpu/libm-test-ulps: Update.
22459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22461 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22462 Carlos O'Donell <carlos_odonell@mentor.com>
22464 * nss/makedb.c (is_prime): Assert that input is odd and greater
22465 than 4. Note that fact in a comment too.
22466 (next_prime): Add 4 to input.
22468 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22471 * libio/Makefile (tests): Add test case tst-fwrite-error.
22472 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22473 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22474 * libio/tst-fwrite-error.c: New test case.
22476 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22478 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22479 before casting to void *.
22480 * include/libc-internal.h (__pointer_type): New macro.
22481 (__integer_if_pointer_type_sub): Likewise.
22482 (__integer_if_pointer_type): Likewise.
22483 (cast_to_integer): Likewise.
22484 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22485 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22486 before casting to atomic64_t.
22487 (atomic_exchange_acq): Likewise.
22488 (__arch_exchange_and_add_body): Likewise.
22489 (__arch_add_body): Likewise.
22490 (atomic_add_negative): Likewise.
22491 (atomic_add_zero): Likewise.
22493 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22495 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22496 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22497 (add_fdes): Likewise.
22498 (linear_search_fdes): Likewise.
22499 (binary_search_unencoded_fdes): Likewise.
22501 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22503 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22505 2012-11-24 Adam Conrad <adconrad@0c3.net>
22507 * configure.in: Autodetect C++ header directories.
22508 * configure: Regenerated.
22510 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22512 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22514 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22518 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22520 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22521 LDBL_MANT_DIG == 106]: Disable some tests.
22522 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22524 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22528 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22529 input for small inputs. Return +/- pi/2 for large inputs.
22530 * math/libm-test.inc (atan_test): Add more tests.
22532 * sysdeps/generic/unwind-dw2-fde-glibc.c
22533 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22534 __attribute__ ((unused)).
22537 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22538 x * y if x and y are nonzero and z is zero.
22541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22542 nonzero exponents with absolute value below 0x1p-117 to +/-
22546 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22547 up arguments below 2**-450, not just those below 2**-500.
22548 * math/libm-test.inc (hypot_test): Add another test.
22551 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22552 Return a+b for ratio over 2**120, not 2**60.
22553 * math/libm-test.inc (hypot_test): Add another test.
22555 * math/libm-test.inc (clog_test): Use
22556 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22557 (clog10_test): Likewise.
22560 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22562 2012-11-22 Andreas Schwab <schwab@suse.de>
22564 * sysdeps/i386/fpu/libm-test-ulps: Update.
22566 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22568 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22569 printf output with newline.
22571 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22574 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22575 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22576 -z nodlopen, -z initfirst and -z execstack support.
22577 * configure: Regenerated.
22579 * elf/elf.h (DF_1_NODIRECT): New macro.
22580 (DF_1_IGNMULDEF): Likewise.
22581 (DF_1_NOKSYMS): Likewise.
22582 (DF_1_NOHDR): Likewise.
22583 (DF_1_EDITED): Likewise.
22584 (DF_1_NORELOC): Likewise.
22585 (DF_1_SYMINTPOSE): Likewise.
22586 (DF_1_GLOBAUDIT): Likewise.
22587 (DF_1_SINGLETON): Likewise.
22588 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22589 DT_1_SUPPORTED_MASK bits.
22590 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22592 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22594 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22596 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22598 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22601 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22602 (sendmmsg): Move declarations...
22603 * socket/sys/socket.h: ... here.
22604 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22605 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22607 * socket/recvmmsg.c: ... this new file.
22608 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22609 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22610 definition of __sendmmsg hidden.
22611 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22612 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22613 Move ENOSYS stub into and include it from...
22614 * socket/sendmmsg.c: ... this new file.
22615 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22616 (sysdep_routines): Move recvmmsg and sendmmsg...
22617 * socket/Makefile (routines): ... here.
22618 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22619 (GLIBC_PRIVATE): Add __sendmmsg.
22620 * include/sys/socket.h (__sendmmsg): Add declarations.
22621 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22624 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22626 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22627 variable I1 with __attribute__ ((unused)).
22628 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22630 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22632 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22633 DUMMY variables with __attribute__ ((unused)).
22635 * bits/byteswap.h: Include <bits/types.h>.
22636 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22638 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22640 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22641 string_t. Do not manually set errno.
22642 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22643 length with __strnlen. Make sure to both set errno and return it on
22646 2012-11-19 David S. Miller <davem@davemloft.net>
22648 With help from Joseph Myers.
22649 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22650 very large arguments properly.
22651 * math/libm-test.inc (atan_test): New tests.
22652 (atan2_test): New tests.
22653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22656 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22659 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22662 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22663 [POSIX] (EADDRNOTAVAIL): Likewise.
22664 [POSIX] (EAFNOSUPPORT): Likewise.
22665 [POSIX] (EALREADY): Likewise.
22666 [POSIX] (ECONNABORTED): Likewise.
22667 [POSIX] (ECONNREFUSED): Likewise.
22668 [POSIX] (ECONNRESET): Likewise.
22669 [POSIX] (EDESTADDRREQ): Likewise.
22670 [POSIX] (EDQUOT): Likewise.
22671 [POSIX] (EHOSTUNREACH): Likewise.
22672 [POSIX] (EIDRM): Likewise.
22673 [POSIX] (EISCONN): Likewise.
22674 [POSIX] (ELOOP): Likewise.
22675 [POSIX] (EMULTIHOP): Likewise.
22676 [POSIX] (ENETDOWN): Likewise.
22677 [POSIX] (ENETUNREACH): Likewise.
22678 [POSIX] (ENOBUFS): Likewise.
22679 [POSIX] (ENODATA): Likewise.
22680 [POSIX] (ENOLINK): Likewise.
22681 [POSIX] (ENOMSG): Likewise.
22682 [POSIX] (ENOPROTOOPT): Likewise.
22683 [POSIX] (ENOSR): Likewise.
22684 [POSIX] (ENOSTR): Likewise.
22685 [POSIX] (ENOTCONN): Likewise.
22686 [POSIX] (ENOTSOCK): Likewise.
22687 [POSIX] (EOPNOTSUPP): Likewise.
22688 [POSIX] (EOVERFLOW): Likewise.
22689 [POSIX] (EPROTO): Likewise.
22690 [POSIX] (EPROTONOSUPPORT): Likewise.
22691 [POSIX] (EPROTOTYPE): Likewise.
22692 [POSIX] (ESTALE): Likewise.
22693 [POSIX] (ETIME): Likewise.
22694 [POSIX] (ETXTBSY): Likewise.
22695 [POSIX] (EWOULDBLOCK): Likewise.
22696 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22697 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22698 [POSIX] (SEEK_CUR): Likewise.
22699 [POSIX] (SEEK_END): Likewise.
22700 [POSIX || UNIX98] (mode_t): Do not require.
22701 [POSIX] (off_t): Likewise.
22702 [POSIX] (pid_t): Likewise.
22703 [POSIX] (sys/stat.h): Do not allow header.
22704 [POSIX] (unistd.h): Likewise.
22705 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22706 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22707 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22708 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22710 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22711 sigevent): Specify elements.
22712 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22714 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22715 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22717 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22718 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22719 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22720 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22721 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22722 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22723 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22724 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22725 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22726 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22727 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22728 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22729 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22730 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22732 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22734 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22736 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22738 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22739 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22740 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22741 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22742 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22743 Specify lower bound on value.
22744 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22745 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22746 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22747 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22748 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22749 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22750 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22751 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22753 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22755 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22756 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22757 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22758 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22759 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22760 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22761 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22762 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22763 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22764 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22765 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22766 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22767 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22768 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22769 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22770 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22772 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22774 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22775 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22776 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22777 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22778 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22779 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22781 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22782 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22783 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22784 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22785 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22786 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22787 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22789 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22790 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22791 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22792 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22793 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22794 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22795 specify as optional.
22796 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22797 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22798 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22799 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22800 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22801 [XPG3] (NL_LANGMAX): Likewise.
22802 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22803 [POSIX || XPG3] (NL_NMAX): Likewise.
22804 [POSIX || XPG3] (NL_SETMAX): Likewise.
22805 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22806 [XPG3] (NZERO): Likewise.
22807 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22808 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22809 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22810 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22811 (REG_ERANGE): Expect.
22812 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22814 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22815 Use (void) in prototype.
22816 [POSIX] (*_t): Allow.
22817 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22818 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22819 (WRDE_BADVAL): Expect.
22821 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22823 [XPG3 || XPG4] (O_RSYNC): Likewise.
22824 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22826 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22827 [XPG3 || XPG4] (sigqueue): Likewise.
22828 [XPG3 || XPG4] (sigtimedwait): Likewise.
22829 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22830 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22831 [XPG3 || XPG4] (vsnprintf): Likewise.
22832 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22834 [XPG3 || XPG4] (blksize_t): Likewise.
22835 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22837 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22838 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22839 [XPG3 || XPG4] (struct itimerspec): Likewise.
22840 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22841 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22842 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22843 [XPG3 || XPG4] (clockid_t): Likewise.
22844 [XPG3 || XPG4] (timer_t): Likewise.
22845 [XPG3 || XPG4] (clock_getres): Likewise.
22846 [XPG3 || XPG4] (clock_gettime): Likewise.
22847 [XPG3 || XPG4] (clock_settime): Likewise.
22848 [XPG3 || XPG4] (nanosleep): Likewise.
22849 [XPG3 || XPG4] (timer_create): Likewise.
22850 [XPG3 || XPG4] (timer_delete): Likewise.
22851 [XPG3 || XPG4] (timer_gettime): Likewise.
22852 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22853 [XPG3 || XPG4] (timer_settime): Likewise.
22854 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22855 [XPG3 || XPG4] (getlogin_r): Likewise.
22856 [XPG3 || XPG4] (pread): Likewise.
22857 [XPG3 || XPG4] (pthread_atfork): Likewise.
22858 [XPG3 || XPG4] (pwrite): Likewise.
22861 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22864 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22866 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22867 finalizing MALLSTREAM.
22869 * sysdeps/mach/hurd/syncfs.c: New file.
22871 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22874 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22875 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22876 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22877 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22878 (_nss_dns_gethostbyname4_r): Likewise.
22879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22880 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22882 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22885 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22887 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22889 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22890 * elf/cache.c (print_entry): Print ",AArch64" for
22893 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22894 * elf/cache.c (print_entry): Print ",hard-float" for
22897 2012-11-18 David S. Miller <davem@davemloft.net>
22899 With help from Joseph Myers.
22900 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22902 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22904 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22905 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22907 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22908 * math/libm-test.inc (y0_test): New tests.
22909 (y1_test): New tests.
22910 * sysdeps/i386/fpu/libm-test-ulps: Update.
22911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22914 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22916 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22918 * configure: Regenerated.
22920 2012-11-17 David S. Miller <davem@davemloft.net>
22923 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22924 nonzero exponents with absolute value below 0x1p-128 to +/-
22927 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22929 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22931 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22933 * posix/getconf-speclist.c: New file.
22934 * posix/posix-envs.def: Likewise.
22935 * posix/confstr.c (START_ENV_GROUP): New macro.
22936 (END_ENV_GROUP): Likewise.
22937 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22938 (KNOWN_PRESENT_ENV_STRING): Likewise.
22939 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22940 (UNKNOWN_ENVIRONMENT): Likewise.
22941 (confstr): Include posix-envs.def instead of handling
22942 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22943 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22944 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22945 (END_ENV_GROUP): Likewise.
22946 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22947 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22948 (UNKNOWN_ENVIRONMENT): Likewise.
22949 (__sysconf): Include posix-envs.def instead of handling associated
22950 cases directly here.
22951 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22952 preprocessing getconf-speclist.c rather than running getconf or
22953 generating empty file.
22955 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22957 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22959 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22962 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22964 2012-11-16 David S. Miller <davem@davemloft.net>
22966 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22967 smaller than LDBL_EPSILON/2.0L, just return xm1.
22969 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22971 * elf/tst-array1.c (init): Set constructor priority to 1000.
22972 (fini): Set destructor priority to 1000.
22973 * elf/tst-array2dep.c: Likewise.
22975 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22978 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22979 (_IO_new_file_xsputn): Also return EOF if none of the input
22980 data was written when overflow failed.
22981 * libio/iopadn.c (_IO_padn): Likewise.
22982 * libio/iowpadn.c (_IO_wpadn): Likewise.
22983 * stdio-common/tst-put-error.c: Add copyright notice.
22984 (do_test): Add case for printing padded string.
22985 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22986 _IO_padn returned error.
22987 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22988 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22991 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22993 * libio/libioP.h: Add comment note that the references to C++
22994 bits are now obsolete.
22996 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22998 * math/libm-test.inc (check_complex): Use asprintf.
23000 2012-11-14 Joseph Myers <joseph@codesourcery.com>
23002 * debug/pcprofiledump.c (print_version): Update copyright year.
23003 * malloc/memusagestat.c (print_version): Likewise.
23005 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23008 * elf/Makefile (tests): Add tst-audit8.
23009 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23010 ($(objpfx)tst-audit8.out): New target.
23011 (tst-audit8-ENV): New variable.
23012 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23013 audit if l_reloc_result is NULL.
23014 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23015 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23016 * elf/tst-audit8.c: New file.
23018 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23020 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23021 * misc/Makefile (CFLAGS-select.c): Define.
23022 * posix/Makefile (CFLAGS-pause.c): Define.
23024 2012-11-13 David S. Miller <davem@davemloft.net>
23026 * crypt/Makefile: Move test targets after toplevel Rules
23027 inclusion. Grab any necessary sysdep routines when linking.
23028 * crypt/md5.c (md5_process_block): Remove define, we will always
23029 name it __md5_process_block.
23030 (md5_finish_ctx): Update md5_process_block call.
23031 (md5_stream): Likewise.
23032 (md5_process_bytes): Likewise.
23033 (md5_process_block): Rename to __md5_process_block and move to ...
23034 * crypt/md5-block.c: ... here.
23035 * crypt/sha256.c (sha256_process_block): Move to ...
23036 * crypt/sha256-block.c: ... here.
23037 * crypt/sha512.c (sha512_process_block): Move to ...
23038 * crypt/sha512-block.c: ... here.
23039 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23041 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23042 * sysdeps/sparc/sparc64/multiarch/Makefile
23043 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23045 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23046 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23048 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23049 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23050 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23051 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23052 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23053 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23054 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23055 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23056 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23058 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23059 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23061 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23063 2012-11-13 Joseph Myers <joseph@codesourcery.com>
23065 * timezone/tzselect.ksh: Update from tzcode git revision
23066 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23067 * timezone/zdump.c: Likewise.
23068 * timezone/zic.c: Likewise.
23069 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23070 in TZVERSION setting, not $(PKGVERSION).
23071 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23072 REPORT_BUGS_TO settings.
23075 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23078 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23080 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23081 detection to immediately after _FP_ROUND().
23082 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23085 2012-11-11 David S. Miller <davem@davemloft.net>
23087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23089 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23090 __close rather than their public counterparts.
23092 2012-11-10 Joseph Myers <joseph@codesourcery.com>
23094 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23096 [UNIX98] (sem_timedwait): Do not expect.
23097 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23098 [XPG4 || UNIX98] (sockatmark): Do not expect.
23099 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23100 (clock_getcpuclockid): Do not expect.
23101 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23102 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23104 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23105 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23106 [UNIX98] (vwscanf): Likewise.
23107 [UNIX98] (vswscanf): Likewise.
23109 2012-11-09 Joseph Myers <joseph@codesourcery.com>
23111 * timezone/version.h: Remove file.
23112 * timezone/README: Do not refer to version.h.
23113 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23114 $(objpfx)version.h.
23115 ($(objpfx)zdump.o): Likewise.
23116 ($(objpfx)version.h): New target.
23118 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23120 * timezone/README: Don't mention modification to tzselect.ksh.
23121 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23122 work on unmodified tzselect.ksh. Substitute version numbers in
23125 * Makefile (format-me): Remove.
23126 (INSTALL): Adjust indentation. Use commands directly instead of
23127 using $(format-me).
23129 * aclocal.m4 (ACX_PKGVERSION): New macro.
23130 (ACX_BUGURL): Likewise.
23131 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23132 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23133 (REPORT_BUGS_TO): Likewise.
23134 * configure: Regenerated.
23135 * config.h.in (PKGVERSION): New macro.
23136 (REPORT_BUGS_TO): Likewise.
23137 * config.make.in (PKGVERSION): New variable.
23138 (PKGVERSION_TEXI): Likewise.
23139 (REPORT_BUGS_TO): Likewise.
23140 (REPORT_BUGS_TEXI): Likewise.
23141 * Makefile (format-me): Use -I$(common-objpfx)manual.
23142 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23143 ($(common-objpfx)manual/%): New target.
23144 (manual/%): Remove target.
23145 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23146 (print_version): Use PKGVERSION.
23147 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23148 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23149 and REPORT_BUGS_TO.
23150 ($(objpfx)xtrace): Likewise.
23151 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23152 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23153 (print_version): Use PKGVERSION.
23154 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23155 (do_version): Use PKGVERSION.
23156 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23158 (common-ldd-rewrite): Likewise.
23159 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23160 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23161 (print_version): Use PKGVERSION.
23162 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23163 * elf/pldd.c (argp_program_bug_address): Remove variable.
23164 (more_help): New function.
23165 (argp): Use more_help.
23166 (print_version): Use PKGVERSION.
23167 * elf/sln.c (main): Use PKGVERSION.
23168 (usage): Use REPORT_BUGS_TO.
23169 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23170 (top level): Use PKGVERSION.
23171 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23172 (print_version): Use PKGVERSION.
23173 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23174 (print_version): Use PKGVERSION.
23175 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23176 (print_version): Use PKGVERSION.
23177 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23178 (print_version): Use PKGVERSION.
23179 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23180 (print_version): Use PKGVERSION.
23181 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23182 (print_version): Use PKGVERSION.
23183 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23185 ($(objpfx)memusage): Likewise.
23186 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23187 (do_version): Use PKGVERSION.
23188 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23189 (print_version): Use PKGVERSION.
23190 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23191 ($PKGVERSION): New variable.
23192 ($REPORT_BUGS_TO): Likewise.
23193 (usage): Use $REPORT_BUGS_TO.
23194 (top level): Use $PKGVERSION.
23195 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23196 ($(objpfx)pkgvers.texi): New rule.
23197 ($(objpfx)stamp-pkgvers): Likewise.
23198 * manual/install.texi: Include pkgvers.texi.
23199 (--with-pkgversion): Document new configure option.
23200 (--with-bugurl): Likewise.
23201 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23202 than necessarily for this particular distribution. Use
23203 REPORT_BUGS_TO for where to report bugs.
23204 * INSTALL: Regenerated.
23205 * manual/libc.texinfo: Include pkgvers.texi.
23206 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23207 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23208 (print_version): Use PKGVERSION.
23209 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23210 (print_version): Use PKGVERSION.
23211 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23212 (print_version): Use PKGVERSION.
23213 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23214 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23216 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23217 (print_version): Use PKGVERSION.
23218 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23219 (print_version): Use PKGVERSION.
23220 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23223 * timezone/checktab.awk: Update from tzcode 2012i.
23224 * timezone/ialloc.c: Likewise.
23225 * timezone/private.h: Likewise.
23226 * timezone/scheck.c: Likewise.
23227 * timezone/tzfile.h: Likewise.
23228 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23229 (TZVERSION): Hardcode tzcode version number.
23230 * timezone/zdump.c: Update from tzcode 2012i.
23231 * timezone/zic.c: Likewise.
23232 * timezone/version.h: New file.
23233 * timezone/README: Describe version.h. Update upstream location.
23236 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23237 (mktemp): Enable declaration.
23238 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23239 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23240 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23241 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23243 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23245 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23247 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23249 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23251 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23255 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23256 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23257 for copies of such integer values.
23258 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23259 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23261 2012-11-09 Andreas Jaeger <aj@suse.de>
23263 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23264 definitions and declarations that are provided by
23265 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23267 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23269 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23270 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23271 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23274 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23276 * elf/elf.h: Update comment before AArch64 relocations.
23278 2012-11-07 David S. Miller <davem@davemloft.net>
23280 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23281 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23282 (__start_context): Declare.
23283 (__makecontext_ret): Delete.
23284 (__makecontext): Hook up __start_context instead of
23286 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23287 (sysdep_routines): Add __start_context when in stdlib.
23289 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23291 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23292 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23293 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23295 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23296 (READELF): New variable. Use it instead of hardcoded "readelf".
23298 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23300 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23301 * sysdeps/x86/Makefile: Here.
23302 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23303 * sysdeps/x86/tst-xmmymm.sh: This.
23305 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23307 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23309 [UNIX98] (pthread_barrier_t): Do not expect.
23310 [UNIX98] (pthread_barrierattr_t): Likewise.
23311 [UNIX98] (pthread_spinlock_t): Likewise.
23312 [UNIX98] (pthread_barrier_destroy): Likewise.
23313 [UNIX98] (pthread_barrier_init): Likewise.
23314 [UNIX98] (pthread_barrier_wait): Likewise.
23315 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23316 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23317 [UNIX98] (pthread_barrierattr_init): Likewise.
23318 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23319 [UNIX98] (pthread_getcpuclockid): Likewise.
23320 [UNIX98] (pthread_mutex_timedlock): Likewise.
23321 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23322 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23323 [UNIX98] (pthread_sigmask): Likewise.
23324 [UNIX98] (pthread_spin_destroy): Likewise.
23325 [UNIX98] (pthread_spin_init): Likewise.
23326 [UNIX98] (pthread_spin_lock): Likewise.
23327 [UNIX98] (pthread_spin_trylock): Likewise.
23328 [UNIX98] (pthread_spin_unlock): Likewise.
23329 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23331 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23332 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23333 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23334 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23335 [XPG3 || XPG4] (pthread_key_t): Likewise.
23336 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23337 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23338 [XPG3 || XPG4] (pthread_once_t): Likewise.
23339 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23340 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23341 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23342 [XPG3 || XPG4] (pthread_t): Likewise.
23344 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23346 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23348 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23349 Change function return type to int.
23351 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23352 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23353 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23354 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23355 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23356 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23357 [!POSIX] (posix_madvise): Likewise.
23358 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23360 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23361 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23362 (mode_t): Likewise.
23363 (posix_mem_offset): Likewise.
23364 (posix_typed_mem_get_info): Likewise.
23365 (posix_typed_mem_open): Likewise.
23367 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23368 Change condition to [XOPEN2K8].
23370 * conform/conformtest.pl: Preprocess allow-header data with -x c
23371 instead of from stdin.
23372 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23373 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23374 [C99-based standards] (cerfc): Likewise.
23375 [C99-based standards] (cexp2): Likewise.
23376 [C99-based standards] (cexpm1): Likewise.
23377 [C99-based standards] (clog10): Likewise.
23378 [C99-based standards] (clog1p): Likewise.
23379 [C99-based standards] (clog2): Likewise.
23380 [C99-based standards] (clgamma): Likewise.
23381 [C99-based standards] (ctgamma): Likewise.
23382 [C99-based standards] (cerff): Likewise.
23383 [C99-based standards] (cerfcf): Likewise.
23384 [C99-based standards] (cexp2f): Likewise.
23385 [C99-based standards] (cexpm1f): Likewise.
23386 [C99-based standards] (clog10f): Likewise.
23387 [C99-based standards] (clog1pf): Likewise.
23388 [C99-based standards] (clog2f): Likewise.
23389 [C99-based standards] (clgammaf): Likewise.
23390 [C99-based standards] (ctgammaf): Likewise.
23391 [C99-based standards] (cerfl): Likewise.
23392 [C99-based standards] (cerfcl): Likewise.
23393 [C99-based standards] (cexp2l): Likewise.
23394 [C99-based standards] (cexpm1l): Likewise.
23395 [C99-based standards] (clog10l): Likewise.
23396 [C99-based standards] (clog1pl): Likewise.
23397 [C99-based standards] (clog2l): Likewise.
23398 [C99-based standards] (clgammal): Likewise.
23399 [C99-based standards] (ctgammal): Likewise.
23400 * conform/data/inttypes.h-data [C99-based standards]: Include
23401 stdint.h-data. Remove all expectations for stdint.h contents.
23402 [C99-based standards] (PRI*): Do not allow.
23403 [C99-based standards] (SCN*): Likewise.
23404 [C99-based standards] (*_t): Likewise.
23405 [C99-based-standards] (PRId8): Expect macro.
23406 [C99-based-standards] (PRIi8): Likewise.
23407 [C99-based-standards] (PRIo8): Likewise.
23408 [C99-based-standards] (PRIu8): Likewise.
23409 [C99-based-standards] (PRIx8): Likewise.
23410 [C99-based-standards] (PRIX8): Likewise.
23411 [C99-based-standards] (SCNd8): Likewise.
23412 [C99-based-standards] (SCNi8): Likewise.
23413 [C99-based-standards] (SCNo8): Likewise.
23414 [C99-based-standards] (SCNu8): Likewise.
23415 [C99-based-standards] (SCNx8): Likewise.
23416 [C99-based-standards] (PRIdLEAST8): Likewise.
23417 [C99-based-standards] (PRIiLEAST8): Likewise.
23418 [C99-based-standards] (PRIoLEAST8): Likewise.
23419 [C99-based-standards] (PRIuLEAST8): Likewise.
23420 [C99-based-standards] (PRIxLEAST8): Likewise.
23421 [C99-based-standards] (PRIXLEAST8): Likewise.
23422 [C99-based-standards] (SCNdLEAST8): Likewise.
23423 [C99-based-standards] (SCNiLEAST8): Likewise.
23424 [C99-based-standards] (SCNoLEAST8): Likewise.
23425 [C99-based-standards] (SCNuLEAST8): Likewise.
23426 [C99-based-standards] (SCNxLEAST8): Likewise.
23427 [C99-based-standards] (PRIdFAST8): Likewise.
23428 [C99-based-standards] (PRIiFAST8): Likewise.
23429 [C99-based-standards] (PRIoFAST8): Likewise.
23430 [C99-based-standards] (PRIuFAST8): Likewise.
23431 [C99-based-standards] (PRIxFAST8): Likewise.
23432 [C99-based-standards] (PRIXFAST8): Likewise.
23433 [C99-based-standards] (SCNdFAST8): Likewise.
23434 [C99-based-standards] (SCNiFAST8): Likewise.
23435 [C99-based-standards] (SCNoFAST8): Likewise.
23436 [C99-based-standards] (SCNuFAST8): Likewise.
23437 [C99-based-standards] (SCNxFAST8): Likewise.
23438 [C99-based-standards] (PRId16): Likewise.
23439 [C99-based-standards] (PRIi16): Likewise.
23440 [C99-based-standards] (PRIo16): Likewise.
23441 [C99-based-standards] (PRIu16): Likewise.
23442 [C99-based-standards] (PRIx16): Likewise.
23443 [C99-based-standards] (PRIX16): Likewise.
23444 [C99-based-standards] (SCNd16): Likewise.
23445 [C99-based-standards] (SCNi16): Likewise.
23446 [C99-based-standards] (SCNo16): Likewise.
23447 [C99-based-standards] (SCNu16): Likewise.
23448 [C99-based-standards] (SCNx16): Likewise.
23449 [C99-based-standards] (PRIdLEAST16): Likewise.
23450 [C99-based-standards] (PRIiLEAST16): Likewise.
23451 [C99-based-standards] (PRIoLEAST16): Likewise.
23452 [C99-based-standards] (PRIuLEAST16): Likewise.
23453 [C99-based-standards] (PRIxLEAST16): Likewise.
23454 [C99-based-standards] (PRIXLEAST16): Likewise.
23455 [C99-based-standards] (SCNdLEAST16): Likewise.
23456 [C99-based-standards] (SCNiLEAST16): Likewise.
23457 [C99-based-standards] (SCNoLEAST16): Likewise.
23458 [C99-based-standards] (SCNuLEAST16): Likewise.
23459 [C99-based-standards] (SCNxLEAST16): Likewise.
23460 [C99-based-standards] (PRIdFAST16): Likewise.
23461 [C99-based-standards] (PRIiFAST16): Likewise.
23462 [C99-based-standards] (PRIoFAST16): Likewise.
23463 [C99-based-standards] (PRIuFAST16): Likewise.
23464 [C99-based-standards] (PRIxFAST16): Likewise.
23465 [C99-based-standards] (PRIXFAST16): Likewise.
23466 [C99-based-standards] (SCNdFAST16): Likewise.
23467 [C99-based-standards] (SCNiFAST16): Likewise.
23468 [C99-based-standards] (SCNoFAST16): Likewise.
23469 [C99-based-standards] (SCNuFAST16): Likewise.
23470 [C99-based-standards] (SCNxFAST16): Likewise.
23471 [C99-based-standards] (PRId32): Likewise.
23472 [C99-based-standards] (PRIi32): Likewise.
23473 [C99-based-standards] (PRIo32): Likewise.
23474 [C99-based-standards] (PRIu32): Likewise.
23475 [C99-based-standards] (PRIx32): Likewise.
23476 [C99-based-standards] (PRIX32): Likewise.
23477 [C99-based-standards] (SCNd32): Likewise.
23478 [C99-based-standards] (SCNi32): Likewise.
23479 [C99-based-standards] (SCNo32): Likewise.
23480 [C99-based-standards] (SCNu32): Likewise.
23481 [C99-based-standards] (SCNx32): Likewise.
23482 [C99-based-standards] (PRIdLEAST32): Likewise.
23483 [C99-based-standards] (PRIiLEAST32): Likewise.
23484 [C99-based-standards] (PRIoLEAST32): Likewise.
23485 [C99-based-standards] (PRIuLEAST32): Likewise.
23486 [C99-based-standards] (PRIxLEAST32): Likewise.
23487 [C99-based-standards] (PRIXLEAST32): Likewise.
23488 [C99-based-standards] (SCNdLEAST32): Likewise.
23489 [C99-based-standards] (SCNiLEAST32): Likewise.
23490 [C99-based-standards] (SCNoLEAST32): Likewise.
23491 [C99-based-standards] (SCNuLEAST32): Likewise.
23492 [C99-based-standards] (SCNxLEAST32): Likewise.
23493 [C99-based-standards] (PRIdFAST32): Likewise.
23494 [C99-based-standards] (PRIiFAST32): Likewise.
23495 [C99-based-standards] (PRIoFAST32): Likewise.
23496 [C99-based-standards] (PRIuFAST32): Likewise.
23497 [C99-based-standards] (PRIxFAST32): Likewise.
23498 [C99-based-standards] (PRIXFAST32): Likewise.
23499 [C99-based-standards] (SCNdFAST32): Likewise.
23500 [C99-based-standards] (SCNiFAST32): Likewise.
23501 [C99-based-standards] (SCNoFAST32): Likewise.
23502 [C99-based-standards] (SCNuFAST32): Likewise.
23503 [C99-based-standards] (SCNxFAST32): Likewise.
23504 [C99-based-standards] (PRId64): Likewise.
23505 [C99-based-standards] (PRIi64): Likewise.
23506 [C99-based-standards] (PRIo64): Likewise.
23507 [C99-based-standards] (PRIu64): Likewise.
23508 [C99-based-standards] (PRIx64): Likewise.
23509 [C99-based-standards] (PRIX64): Likewise.
23510 [C99-based-standards] (SCNd64): Likewise.
23511 [C99-based-standards] (SCNi64): Likewise.
23512 [C99-based-standards] (SCNo64): Likewise.
23513 [C99-based-standards] (SCNu64): Likewise.
23514 [C99-based-standards] (SCNx64): Likewise.
23515 [C99-based-standards] (PRIdLEAST64): Likewise.
23516 [C99-based-standards] (PRIiLEAST64): Likewise.
23517 [C99-based-standards] (PRIoLEAST64): Likewise.
23518 [C99-based-standards] (PRIuLEAST64): Likewise.
23519 [C99-based-standards] (PRIxLEAST64): Likewise.
23520 [C99-based-standards] (PRIXLEAST64): Likewise.
23521 [C99-based-standards] (SCNdLEAST64): Likewise.
23522 [C99-based-standards] (SCNiLEAST64): Likewise.
23523 [C99-based-standards] (SCNoLEAST64): Likewise.
23524 [C99-based-standards] (SCNuLEAST64): Likewise.
23525 [C99-based-standards] (SCNxLEAST64): Likewise.
23526 [C99-based-standards] (PRIdFAST64): Likewise.
23527 [C99-based-standards] (PRIiFAST64): Likewise.
23528 [C99-based-standards] (PRIoFAST64): Likewise.
23529 [C99-based-standards] (PRIuFAST64): Likewise.
23530 [C99-based-standards] (PRIxFAST64): Likewise.
23531 [C99-based-standards] (PRIXFAST64): Likewise.
23532 [C99-based-standards] (SCNdFAST64): Likewise.
23533 [C99-based-standards] (SCNiFAST64): Likewise.
23534 [C99-based-standards] (SCNoFAST64): Likewise.
23535 [C99-based-standards] (SCNuFAST64): Likewise.
23536 [C99-based-standards] (SCNxFAST64): Likewise.
23537 [C99-based-standards] (PRIdMAX): Likewise.
23538 [C99-based-standards] (PRIiMAX): Likewise.
23539 [C99-based-standards] (PRIoMAX): Likewise.
23540 [C99-based-standards] (PRIuMAX): Likewise.
23541 [C99-based-standards] (PRIxMAX): Likewise.
23542 [C99-based-standards] (PRIXMAX): Likewise.
23543 [C99-based-standards] (SCNdMAX): Likewise.
23544 [C99-based-standards] (SCNiMAX): Likewise.
23545 [C99-based-standards] (SCNoMAX): Likewise.
23546 [C99-based-standards] (SCNuMAX): Likewise.
23547 [C99-based-standards] (SCNxMAX): Likewise.
23548 [C99-based-standards] (PRIdPTR): Likewise.
23549 [C99-based-standards] (PRIiPTR): Likewise.
23550 [C99-based-standards] (PRIoPTR): Likewise.
23551 [C99-based-standards] (PRIuPTR): Likewise.
23552 [C99-based-standards] (PRIxPTR): Likewise.
23553 [C99-based-standards] (PRIXPTR): Likewise.
23554 [C99-based-standards] (SCNdPTR): Likewise.
23555 [C99-based-standards] (SCNiPTR): Likewise.
23556 [C99-based-standards] (SCNoPTR): Likewise.
23557 [C99-based-standards] (SCNuPTR): Likewise.
23558 [C99-based-standards] (SCNxPTR): Likewise.
23559 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23561 * conform/data/stdint.h-data: Update comments to clarify
23563 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23565 [C99-based standards] (INT8_MAX): Likewise.
23566 [C99-based standards] (INT16_MIN): Likewise.
23567 [C99-based standards] (INT16_MAX): Likewise.
23568 [C99-based standards] (INT32_MIN): Likewise.
23569 [C99-based standards] (INT32_MAX): Likewise.
23570 [C99-based standards] (INT64_MIN): Likewise.
23571 [C99-based standards] (INT64_MAX): Likewise.
23572 [C99-based standards] (UINT8_MAX): Likewise.
23573 [C99-based standards] (UINT16_MAX): Likewise.
23574 [C99-based standards] (UINT32_MAX): Likewise.
23575 [C99-based standards] (UINT64_MAX): Likewise.
23576 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23577 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23578 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23579 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23580 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23581 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23582 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23583 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23584 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23585 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23586 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23587 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23588 [C99-based standards] (INT_FAST8_MIN): Likewise.
23589 [C99-based standards] (INT_FAST8_MAX): Likewise.
23590 [C99-based standards] (INT_FAST16_MIN): Likewise.
23591 [C99-based standards] (INT_FAST16_MAX): Likewise.
23592 [C99-based standards] (INT_FAST32_MIN): Likewise.
23593 [C99-based standards] (INT_FAST32_MAX): Likewise.
23594 [C99-based standards] (INT_FAST64_MIN): Likewise.
23595 [C99-based standards] (INT_FAST64_MAX): Likewise.
23596 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23597 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23598 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23599 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23600 [C99-based standards] (INTPTR_MIN): Likewise.
23601 [C99-based standards] (INTPTR_MAX): Likewise.
23602 [C99-based standards] (UINTPTR_MAX): Likewise.
23603 [C99-based standards] (INTMAX_MIN): Likewise.
23604 [C99-based standards] (INTMAX_MAX): Likewise.
23605 [C99-based standards] (UINTMAX_MAX): Likewise.
23606 [C99-based standards] (PTRDIFF_MIN): Likewise.
23607 [C99-based standards] (PTRDIFF_MAX): Likewise.
23608 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23609 [C99-based standards] (SIZE_MAX): Likewise.
23610 [C99-based standards] (WCHAR_MAX): Likewise.
23611 [C99-based standards] (WINT_MAX): Likewise.
23612 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23613 constraint on value.
23614 [C99-based standards] (WCHAR_MIN): Likewise.
23615 [C99-based standards] (WINT_MIN): Likewise.
23616 [C99-based standards] (*_t): Allow.
23617 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23618 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23619 Include math.h-data and complex.h-data. Remove all expectations
23620 of math.h and complex.h contents.
23621 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23623 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23624 (struct tm): Expect tag.
23625 [C99-based-standards] (wcstof): Expect function.
23626 [C99-based-standards] (wcstold): Likewise.
23627 [C99-based-standards] (wcstoll): Likewise.
23628 [C99-based-standards] (wcstoull): Likewise.
23629 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23630 macro-int-constant. Specify type.
23631 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23632 constraint on value.
23633 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23635 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23637 [ISO C standards]: Do not allow headers.
23638 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23639 wcs[abcdefghijklmnopqrstuvwxyz]*.
23640 [ISO C standards] (*_t): Do not allow.
23641 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23643 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23644 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23646 [ISO C standards]: Do not allow headers.
23647 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23648 is[abcdefghijklmnopqrstuvwxyz]*.
23649 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23650 to[abcdefghijklmnopqrstuvwxyz]*.
23651 [ISO C standards] (*_t): Do not allow.
23652 * conform/data/stdalign.h-data: New file.
23653 * conform/data/stdbool.h-data: Likewise.
23654 * conform/data/stdnoreturn.h-data: Likewise.
23656 2012-11-07 Roland McGrath <roland@hack.frob.com>
23659 * manual/filesys.texi (Directory Entries): Typo fix.
23660 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23662 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23664 * elf/elf.h (EM_AARCH64): New macro.
23665 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23666 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23667 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23668 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23669 (R_AARCH64_TLSDESC): Likewise.
23670 (NT_ARM_TLS): Likewise.
23671 (NT_ARM_HW_BREAK): Likewise.
23672 (NT_ARM_HW_WATCH): Likewise.
23674 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23677 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23678 (__ieee754_powl): Saturate nonzero exponents with absolute value
23679 below 0x1p-79 to +/- 0x1p-79.
23680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23681 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23682 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23683 nonzero exponents with absolute value below 0x1p-32 to +/-
23685 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23686 (__ieee754_powl): Saturate nonzero exponents with absolute value
23687 below 0x1p-79 to +/- 0x1p-79.
23688 * math/libm-test.inc (pow_test): Add more tests.
23690 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23692 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23693 _dl_s390_cap_flags with kernel. Increase string length.
23694 (_dl_s390_platforms): Add z196 and zEC12.
23696 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23698 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23699 Change XOPEN21K to XOPEN2K.
23701 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23703 * string/memmove.c: Use memcpy when possible.
23705 2012-11-06 Andreas Jaeger <aj@suse.de>
23707 * po/eo.po: Update from translation team.
23709 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23712 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23713 exponent and small x and y exponents, scale x or y up. Increase
23714 by 2 the exponent used in scaling up.
23715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23717 * math/libm-test.inc (fma_test): Add more tests.
23718 (fma_test_towardzero): Likewise.
23719 (fma_test_downward): Likewise.
23720 (fma_test_upward): Likewise.
23722 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23725 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23729 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23730 namespace for names of struct fields.
23731 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23733 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23734 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23736 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23739 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23741 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23743 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23747 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23750 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23753 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23754 definitely overflow as x * y not x * y + z.
23755 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23756 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23757 * math/libm-test.inc (fma_test): Add more tests.
23758 (fma_test_towardzero): Likewise.
23759 (fma_test_downward): Likewise.
23760 (fma_test_upward): Likewise.
23762 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23766 * include/stub-tag.h: Remove file.
23767 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23769 * manual/maint.texi (Porting): Don't reference it.
23770 * Makerules ($(objpfx)stubs): Likewise.
23771 * dirent/closedir.c: Don't include <stub-tag.h>.
23772 * dirent/dirfd.c: Likewise.
23773 * dirent/fdopendir.c: Likewise.
23774 * dirent/getdents.c: Likewise.
23775 * dirent/getdents64.c: Likewise.
23776 * dirent/opendir.c: Likewise.
23777 * dirent/readdir.c: Likewise.
23778 * dirent/readdir64.c: Likewise.
23779 * dirent/readdir64_r.c: Likewise.
23780 * dirent/readdir_r.c: Likewise.
23781 * dirent/rewinddir.c: Likewise.
23782 * dirent/seekdir.c: Likewise.
23783 * dirent/telldir.c: Likewise.
23784 * gmon/profil.c: Likewise.
23785 * grp/setgroups.c: Likewise.
23786 * inet/if_index.c: Likewise.
23787 * io/access.c: Likewise.
23788 * io/chdir.c: Likewise.
23789 * io/chmod.c: Likewise.
23790 * io/chown.c: Likewise.
23791 * io/close.c: Likewise.
23792 * io/dup.c: Likewise.
23793 * io/dup2.c: Likewise.
23794 * io/dup3.c: Likewise.
23795 * io/euidaccess.c: Likewise.
23796 * io/faccessat.c: Likewise.
23797 * io/fchdir.c: Likewise.
23798 * io/fchmod.c: Likewise.
23799 * io/fchmodat.c: Likewise.
23800 * io/fchown.c: Likewise.
23801 * io/fchownat.c: Likewise.
23802 * io/fcntl.c: Likewise.
23803 * io/flock.c: Likewise.
23804 * io/fstatfs.c: Likewise.
23805 * io/fstatfs64.c: Likewise.
23806 * io/fstatvfs.c: Likewise.
23807 * io/fstatvfs64.c: Likewise.
23808 * io/futimens.c: Likewise.
23809 * io/fxstat.c: Likewise.
23810 * io/fxstat64.c: Likewise.
23811 * io/fxstatat.c: Likewise.
23812 * io/fxstatat64.c: Likewise.
23813 * io/getcwd.c: Likewise.
23814 * io/isatty.c: Likewise.
23815 * io/lchmod.c: Likewise.
23816 * io/lchown.c: Likewise.
23817 * io/link.c: Likewise.
23818 * io/linkat.c: Likewise.
23819 * io/lseek.c: Likewise.
23820 * io/lseek64.c: Likewise.
23821 * io/lxstat64.c: Likewise.
23822 * io/mkdir.c: Likewise.
23823 * io/mkdirat.c: Likewise.
23824 * io/mkfifo.c: Likewise.
23825 * io/mkfifoat.c: Likewise.
23826 * io/open.c: Likewise.
23827 * io/open64.c: Likewise.
23828 * io/openat.c: Likewise.
23829 * io/openat64.c: Likewise.
23830 * io/pipe.c: Likewise.
23831 * io/pipe2.c: Likewise.
23832 * io/poll.c: Likewise.
23833 * io/posix_fadvise.c: Likewise.
23834 * io/posix_fadvise64.c: Likewise.
23835 * io/posix_fallocate.c: Likewise.
23836 * io/posix_fallocate64.c: Likewise.
23837 * io/read.c: Likewise.
23838 * io/readlink.c: Likewise.
23839 * io/readlinkat.c: Likewise.
23840 * io/rmdir.c: Likewise.
23841 * io/sendfile.c: Likewise.
23842 * io/sendfile64.c: Likewise.
23843 * io/statfs.c: Likewise.
23844 * io/statfs64.c: Likewise.
23845 * io/statvfs.c: Likewise.
23846 * io/statvfs64.c: Likewise.
23847 * io/symlink.c: Likewise.
23848 * io/symlinkat.c: Likewise.
23849 * io/ttyname.c: Likewise.
23850 * io/ttyname_r.c: Likewise.
23851 * io/umask.c: Likewise.
23852 * io/unlink.c: Likewise.
23853 * io/unlinkat.c: Likewise.
23854 * io/utime.c: Likewise.
23855 * io/utimensat.c: Likewise.
23856 * io/write.c: Likewise.
23857 * io/xmknod.c: Likewise.
23858 * io/xmknodat.c: Likewise.
23859 * io/xstat.c: Likewise.
23860 * io/xstat64.c: Likewise.
23861 * login/getpt.c: Likewise.
23862 * login/grantpt.c: Likewise.
23863 * login/unlockpt.c: Likewise.
23864 * math/e_acoshl.c: Likewise.
23865 * math/e_acosl.c: Likewise.
23866 * math/e_asinl.c: Likewise.
23867 * math/e_atan2l.c: Likewise.
23868 * math/e_atanhl.c: Likewise.
23869 * math/e_coshl.c: Likewise.
23870 * math/e_expl.c: Likewise.
23871 * math/e_fmodl.c: Likewise.
23872 * math/e_gammal_r.c: Likewise.
23873 * math/e_hypotl.c: Likewise.
23874 * math/e_j0l.c: Likewise.
23875 * math/e_j1l.c: Likewise.
23876 * math/e_jnl.c: Likewise.
23877 * math/e_lgammal_r.c: Likewise.
23878 * math/e_log10l.c: Likewise.
23879 * math/e_log2l.c: Likewise.
23880 * math/e_logl.c: Likewise.
23881 * math/e_powl.c: Likewise.
23882 * math/e_rem_pio2l.c: Likewise.
23883 * math/e_sinhl.c: Likewise.
23884 * math/e_sqrtl.c: Likewise.
23885 * math/fclrexcpt.c: Likewise.
23886 * math/fedisblxcpt.c: Likewise.
23887 * math/feenablxcpt.c: Likewise.
23888 * math/fegetenv.c: Likewise.
23889 * math/fegetexcept.c: Likewise.
23890 * math/fegetround.c: Likewise.
23891 * math/feholdexcpt.c: Likewise.
23892 * math/fesetenv.c: Likewise.
23893 * math/fesetround.c: Likewise.
23894 * math/feupdateenv.c: Likewise.
23895 * math/fgetexcptflg.c: Likewise.
23896 * math/fraiseexcpt.c: Likewise.
23897 * math/fsetexcptflg.c: Likewise.
23898 * math/ftestexcept.c: Likewise.
23899 * math/k_cosl.c: Likewise.
23900 * math/k_rem_pio2l.c: Likewise.
23901 * math/k_sinl.c: Likewise.
23902 * math/k_tanl.c: Likewise.
23903 * math/s_asinhl.c: Likewise.
23904 * math/s_atanl.c: Likewise.
23905 * math/s_cbrtl.c: Likewise.
23906 * math/s_erfl.c: Likewise.
23907 * math/s_expm1l.c: Likewise.
23908 * math/s_log1pl.c: Likewise.
23909 * math/s_tanhl.c: Likewise.
23910 * misc/acct.c: Likewise.
23911 * misc/brk.c: Likewise.
23912 * misc/chflags.c: Likewise.
23913 * misc/chroot.c: Likewise.
23914 * misc/fchflags.c: Likewise.
23915 * misc/fgetxattr.c: Likewise.
23916 * misc/flistxattr.c: Likewise.
23917 * misc/fremovexattr.c: Likewise.
23918 * misc/fsetxattr.c: Likewise.
23919 * misc/fsync.c: Likewise.
23920 * misc/ftruncate.c: Likewise.
23921 * misc/futimes.c: Likewise.
23922 * misc/futimesat.c: Likewise.
23923 * misc/getdomain.c: Likewise.
23924 * misc/getdtsz.c: Likewise.
23925 * misc/gethostid.c: Likewise.
23926 * misc/gethostname.c: Likewise.
23927 * misc/getloadavg.c: Likewise.
23928 * misc/getpagesize.c: Likewise.
23929 * misc/getsysstats.c: Likewise.
23930 * misc/getxattr.c: Likewise.
23931 * misc/gtty.c: Likewise.
23932 * misc/ioctl.c: Likewise.
23933 * misc/lgetxattr.c: Likewise.
23934 * misc/listxattr.c: Likewise.
23935 * misc/llistxattr.c: Likewise.
23936 * misc/lremovexattr.c: Likewise.
23937 * misc/lsetxattr.c: Likewise.
23938 * misc/lutimes.c: Likewise.
23939 * misc/madvise.c: Likewise.
23940 * misc/mincore.c: Likewise.
23941 * misc/mlock.c: Likewise.
23942 * misc/mlockall.c: Likewise.
23943 * misc/mmap.c: Likewise.
23944 * misc/mprotect.c: Likewise.
23945 * misc/msync.c: Likewise.
23946 * misc/munlock.c: Likewise.
23947 * misc/munlockall.c: Likewise.
23948 * misc/munmap.c: Likewise.
23949 * misc/preadv.c: Likewise.
23950 * misc/preadv64.c: Likewise.
23951 * misc/ptrace.c: Likewise.
23952 * misc/pwritev.c: Likewise.
23953 * misc/pwritev64.c: Likewise.
23954 * misc/readv.c: Likewise.
23955 * misc/reboot.c: Likewise.
23956 * misc/remap_file_pages.c: Likewise.
23957 * misc/removexattr.c: Likewise.
23958 * misc/revoke.c: Likewise.
23959 * misc/select.c: Likewise.
23960 * misc/setdomain.c: Likewise.
23961 * misc/setegid.c: Likewise.
23962 * misc/seteuid.c: Likewise.
23963 * misc/sethostid.c: Likewise.
23964 * misc/sethostname.c: Likewise.
23965 * misc/setregid.c: Likewise.
23966 * misc/setreuid.c: Likewise.
23967 * misc/setxattr.c: Likewise.
23968 * misc/sstk.c: Likewise.
23969 * misc/stty.c: Likewise.
23970 * misc/swapoff.c: Likewise.
23971 * misc/swapon.c: Likewise.
23972 * misc/sync.c: Likewise.
23973 * misc/syncfs.c: Likewise.
23974 * misc/syscall.c: Likewise.
23975 * misc/truncate.c: Likewise.
23976 * misc/ualarm.c: Likewise.
23977 * misc/usleep.c: Likewise.
23978 * misc/ustat.c: Likewise.
23979 * misc/utimes.c: Likewise.
23980 * misc/vhangup.c: Likewise.
23981 * misc/writev.c: Likewise.
23982 * posix/_exit.c: Likewise.
23983 * posix/alarm.c: Likewise.
23984 * posix/execve.c: Likewise.
23985 * posix/fexecve.c: Likewise.
23986 * posix/fork.c: Likewise.
23987 * posix/fpathconf.c: Likewise.
23988 * posix/getaddrinfo.c: Likewise.
23989 * posix/getegid.c: Likewise.
23990 * posix/geteuid.c: Likewise.
23991 * posix/getgid.c: Likewise.
23992 * posix/getgroups.c: Likewise.
23993 * posix/getlogin.c: Likewise.
23994 * posix/getlogin_r.c: Likewise.
23995 * posix/getpgid.c: Likewise.
23996 * posix/getpid.c: Likewise.
23997 * posix/getppid.c: Likewise.
23998 * posix/getresgid.c: Likewise.
23999 * posix/getresuid.c: Likewise.
24000 * posix/getsid.c: Likewise.
24001 * posix/getuid.c: Likewise.
24002 * posix/glob64.c: Likewise.
24003 * posix/nanosleep.c: Likewise.
24004 * posix/pathconf.c: Likewise.
24005 * posix/pause.c: Likewise.
24006 * posix/posix_madvise.c: Likewise.
24007 * posix/pread.c: Likewise.
24008 * posix/pread64.c: Likewise.
24009 * posix/pwrite.c: Likewise.
24010 * posix/pwrite64.c: Likewise.
24011 * posix/sched_getaffinity.c: Likewise.
24012 * posix/sched_getp.c: Likewise.
24013 * posix/sched_gets.c: Likewise.
24014 * posix/sched_primax.c: Likewise.
24015 * posix/sched_primin.c: Likewise.
24016 * posix/sched_rr_gi.c: Likewise.
24017 * posix/sched_setaffinity.c: Likewise.
24018 * posix/sched_setp.c: Likewise.
24019 * posix/sched_sets.c: Likewise.
24020 * posix/sched_yield.c: Likewise.
24021 * posix/setgid.c: Likewise.
24022 * posix/setlogin.c: Likewise.
24023 * posix/setpgid.c: Likewise.
24024 * posix/setresgid.c: Likewise.
24025 * posix/setresuid.c: Likewise.
24026 * posix/setsid.c: Likewise.
24027 * posix/setuid.c: Likewise.
24028 * posix/sleep.c: Likewise.
24029 * posix/spawni.c: Likewise.
24030 * posix/sysconf.c: Likewise.
24031 * posix/times.c: Likewise.
24032 * posix/wait.c: Likewise.
24033 * posix/wait3.c: Likewise.
24034 * posix/wait4.c: Likewise.
24035 * posix/waitpid.c: Likewise.
24036 * resolv/gai_sigqueue.c: Likewise.
24037 * resource/getpriority.c: Likewise.
24038 * resource/getrlimit.c: Likewise.
24039 * resource/getrusage.c: Likewise.
24040 * resource/nice.c: Likewise.
24041 * resource/setpriority.c: Likewise.
24042 * resource/setrlimit.c: Likewise.
24043 * resource/ulimit.c: Likewise.
24044 * rt/aio_cancel.c: Likewise.
24045 * rt/aio_fsync.c: Likewise.
24046 * rt/aio_read.c: Likewise.
24047 * rt/aio_sigqueue.c: Likewise.
24048 * rt/aio_suspend.c: Likewise.
24049 * rt/aio_write.c: Likewise.
24050 * rt/clock_getres.c: Likewise.
24051 * rt/clock_gettime.c: Likewise.
24052 * rt/clock_nanosleep.c: Likewise.
24053 * rt/clock_settime.c: Likewise.
24054 * rt/lio_listio.c: Likewise.
24055 * rt/mq_close.c: Likewise.
24056 * rt/mq_getattr.c: Likewise.
24057 * rt/mq_notify.c: Likewise.
24058 * rt/mq_open.c: Likewise.
24059 * rt/mq_receive.c: Likewise.
24060 * rt/mq_send.c: Likewise.
24061 * rt/mq_setattr.c: Likewise.
24062 * rt/mq_timedreceive.c: Likewise.
24063 * rt/mq_timedsend.c: Likewise.
24064 * rt/mq_unlink.c: Likewise.
24065 * rt/shm_open.c: Likewise.
24066 * rt/shm_unlink.c: Likewise.
24067 * rt/timer_create.c: Likewise.
24068 * rt/timer_delete.c: Likewise.
24069 * rt/timer_getoverr.c: Likewise.
24070 * rt/timer_gettime.c: Likewise.
24071 * rt/timer_settime.c: Likewise.
24072 * setjmp/__longjmp.c: Likewise.
24073 * setjmp/setjmp.c: Likewise.
24074 * signal/kill.c: Likewise.
24075 * signal/killpg.c: Likewise.
24076 * signal/raise.c: Likewise.
24077 * signal/sigaction.c: Likewise.
24078 * signal/sigaltstack.c: Likewise.
24079 * signal/sigblock.c: Likewise.
24080 * signal/sigignore.c: Likewise.
24081 * signal/sigintr.c: Likewise.
24082 * signal/signal.c: Likewise.
24083 * signal/sigpause.c: Likewise.
24084 * signal/sigpending.c: Likewise.
24085 * signal/sigqueue.c: Likewise.
24086 * signal/sigreturn.c: Likewise.
24087 * signal/sigset.c: Likewise.
24088 * signal/sigsetmask.c: Likewise.
24089 * signal/sigstack.c: Likewise.
24090 * signal/sigsuspend.c: Likewise.
24091 * signal/sigtimedwait.c: Likewise.
24092 * signal/sigvec.c: Likewise.
24093 * signal/sigwait.c: Likewise.
24094 * signal/sigwaitinfo.c: Likewise.
24095 * signal/sysv_signal.c: Likewise.
24096 * socket/accept.c: Likewise.
24097 * socket/accept4.c: Likewise.
24098 * socket/bind.c: Likewise.
24099 * socket/connect.c: Likewise.
24100 * socket/getpeername.c: Likewise.
24101 * socket/getsockname.c: Likewise.
24102 * socket/getsockopt.c: Likewise.
24103 * socket/isfdtype.c: Likewise.
24104 * socket/listen.c: Likewise.
24105 * socket/recv.c: Likewise.
24106 * socket/recvfrom.c: Likewise.
24107 * socket/recvmsg.c: Likewise.
24108 * socket/send.c: Likewise.
24109 * socket/sendmsg.c: Likewise.
24110 * socket/sendto.c: Likewise.
24111 * socket/setsockopt.c: Likewise.
24112 * socket/shutdown.c: Likewise.
24113 * socket/sockatmark.c: Likewise.
24114 * socket/socket.c: Likewise.
24115 * socket/socketpair.c: Likewise.
24116 * stdio-common/ctermid.c: Likewise.
24117 * stdio-common/cuserid.c: Likewise.
24118 * stdio-common/remove.c: Likewise.
24119 * stdio-common/rename.c: Likewise.
24120 * stdio-common/renameat.c: Likewise.
24121 * stdio-common/tempname.c: Likewise.
24122 * stdlib/getcontext.c: Likewise.
24123 * stdlib/makecontext.c: Likewise.
24124 * stdlib/setcontext.c: Likewise.
24125 * stdlib/swapcontext.c: Likewise.
24126 * stdlib/system.c: Likewise.
24127 * streams/fattach.c: Likewise.
24128 * streams/fdetach.c: Likewise.
24129 * streams/getmsg.c: Likewise.
24130 * streams/getpmsg.c: Likewise.
24131 * streams/putmsg.c: Likewise.
24132 * streams/putpmsg.c: Likewise.
24133 * sysdeps/unix/bsd/getpt.c: Likewise.
24134 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24135 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24136 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24139 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24140 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24141 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24142 * sysvipc/msgctl.c: Likewise.
24143 * sysvipc/msgget.c: Likewise.
24144 * sysvipc/msgrcv.c: Likewise.
24145 * sysvipc/msgsnd.c: Likewise.
24146 * sysvipc/semctl.c: Likewise.
24147 * sysvipc/semget.c: Likewise.
24148 * sysvipc/semop.c: Likewise.
24149 * sysvipc/semtimedop.c: Likewise.
24150 * sysvipc/shmat.c: Likewise.
24151 * sysvipc/shmctl.c: Likewise.
24152 * sysvipc/shmdt.c: Likewise.
24153 * sysvipc/shmget.c: Likewise.
24154 * termios/tcdrain.c: Likewise.
24155 * termios/tcflow.c: Likewise.
24156 * termios/tcflush.c: Likewise.
24157 * termios/tcgetattr.c: Likewise.
24158 * termios/tcgetpgrp.c: Likewise.
24159 * termios/tcsendbrk.c: Likewise.
24160 * termios/tcsetattr.c: Likewise.
24161 * termios/tcsetpgrp.c: Likewise.
24162 * time/adjtime.c: Likewise.
24163 * time/clock.c: Likewise.
24164 * time/getitimer.c: Likewise.
24165 * time/gettimeofday.c: Likewise.
24166 * time/setitimer.c: Likewise.
24167 * time/settimeofday.c: Likewise.
24168 * time/stime.c: Likewise.
24169 * time/time.c: Likewise.
24171 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
24173 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24176 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24178 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24180 2012-11-03 Joseph Myers <joseph@codesourcery.com>
24183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24184 FE_TONEAREST before applying Dekker multiplication and Knuth
24185 addition. Clear inexact exceptions and check for exact zero
24186 results afterwards.
24187 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24188 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24189 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24190 * math/libm-test.inc (fma_test): Add more tests.
24191 (fma_test_towardzero): Likewise.
24192 (fma_test_downward): Likewise.
24193 (fma_test_upward): Likewise.
24194 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24196 (libc_fesetround): New macro.
24197 (libc_fesetroundf): Likewise.
24198 (libc_fesetroundl): Likewise.
24199 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24201 (libc_fesetround_387): Likewise.
24202 (libc_fesetroundf): New macro.
24203 (libc_fesetround): Likewise.
24204 (libc_fesetroundl): Likewise.
24205 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24207 (libc_fesetroundf): New macro.
24208 (libc_fesetround): Likewise.
24209 (libc_fesetroundl): Likewise.
24210 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24211 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24212 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24214 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24215 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24217 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24218 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24220 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24224 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24225 integer constant usable in #if and use that to give value to enum
24227 (FE_DIVBYZERO): Likewise.
24228 (FE_UNDERFLOW): Likewise.
24229 (FE_OVERFLOW): Likewise.
24230 (FE_INVALID): Likewise.
24231 (FE_INVALID_SNAN): Likewise.
24232 (FE_INVALID_ISI): Likewise.
24233 (FE_INVALID_IDI): Likewise.
24234 (FE_INVALID_ZDZ): Likewise.
24235 (FE_INVALID_IMZ): Likewise.
24236 (FE_INVALID_COMPARE): Likewise.
24237 (FE_INVALID_SOFTWARE): Likewise.
24238 (FE_INVALID_SQRT): Likewise.
24239 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24240 (FE_TONEAREST): Likewise.
24241 (FE_TOWARDZERO): Likewise.
24242 (FE_UPWARD): Likewise.
24243 (FE_DOWNWARD): Likewise.
24244 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24245 (FE_DIVBYZERO): Likewise.
24246 (FE_OVERFLOW): Likewise.
24247 (FE_UNDERFLOW): Likewise.
24248 (FE_INEXACT): Likewise.
24249 (FE_TONEAREST): Likewise.
24250 (FE_DOWNWARD): Likewise.
24251 (FE_UPWARD): Likewise.
24252 (FE_TOWARDZERO): Likewise.
24253 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24254 (FE_UNDERFLOW): Likewise.
24255 (FE_OVERFLOW): Likewise.
24256 (FE_DIVBYZERO): Likewise.
24257 (FE_INVALID): Likewise.
24258 (FE_TONEAREST): Likewise.
24259 (FE_TOWARDZERO): Likewise.
24260 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24261 (FE_OVERFLOW): Likewise.
24262 (FE_UNDERFLOW): Likewise.
24263 (FE_DIVBYZERO): Likewise.
24264 (FE_INEXACT): Likewise.
24265 (FE_TONEAREST): Likewise.
24266 (FE_TOWARDZERO): Likewise.
24267 (FE_UPWARD): Likewise.
24268 (FE_DOWNWARD): Likewise.
24269 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24270 (FE_DIVBYZERO): Likewise.
24271 (FE_OVERFLOW): Likewise.
24272 (FE_UNDERFLOW): Likewise.
24273 (FE_INEXACT): Likewise.
24274 (FE_TONEAREST): Likewise.
24275 (FE_DOWNWARD): Likewise.
24276 (FE_UPWARD): Likewise.
24277 (FE_TOWARDZERO): Likewise.
24279 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24281 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24283 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24285 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24286 commands. Quote $PWD.
24287 (blacklist_exports): Don't use remove_newlines. Replace "declare
24289 (remove_newlines): Remove.
24291 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24293 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24294 * stdlib/stdlib.h (atof): Moved to ...
24295 * include/bits/stdlib-float.h: Here. New file.
24296 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24297 * stdlib/bits/stdlib-float.h: New file.
24298 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24300 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24303 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24305 * conform/conformtest.pl (@headers): Add fenv.h.
24306 * conform/data/fenv.h-data: New file.
24307 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24308 include of <math/fenv.h>.
24310 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24311 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24312 && !UNIX98]. Enables tests for XOPEN2K8.
24313 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24314 POSIX2008]: Likewise.
24316 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24317 (struct rusage): Do not expect type or its members.
24320 * math/math.h (FP_NAN): Define macro to integer constant usable in
24321 #if and use that to give value to enum constant.
24322 (FP_INFINITE): Likewise.
24323 (FP_ZERO): Likewise.
24324 (FP_SUBNORMAL): Likewise.
24325 (FP_NORMAL): Likewise.
24327 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24329 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24330 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24333 2012-11-02 Roland McGrath <roland@hack.frob.com>
24335 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24336 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24337 autoconf-time if not.
24338 * configure.in: Remove AC_PREREQ.
24340 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24342 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24343 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24344 of the internal implementation.
24346 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24348 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24349 except include of <misc/sys/syslog.h>.
24351 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24354 function returns with a NULL context exit with zero.
24356 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24358 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24360 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24362 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24363 (run_program_cmd): This.
24364 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24365 (tst_langinfo): New variable. Use it.
24367 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24369 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24370 floating point opcodes.
24372 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24374 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24377 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24379 * sysdeps/mach/hurd/powerpc: Remove directory.
24380 * sysdeps/mach/powerpc: Likewise.
24382 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24384 * scripts/check-local-headers.sh: Ignore c++ headers.
24386 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24388 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24389 __libc_cleanup_region_start argument.
24391 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24396 x * y using scaling, not as x * y + z.
24397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24398 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24399 * math/libm-test.inc (fma_test): Add more tests.
24400 (fma_test_towardzero): Likewise.
24401 (fma_test_downward): Likewise.
24402 (fma_test_upward): Likewise.
24404 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24406 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24408 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24410 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24413 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24415 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24417 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24424 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24427 Fix the order of the list for glibc 2.17.
24428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24431 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24435 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24438 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24439 for low part of x being zero before using __atanl (y).
24440 * math/libm-test.inc (atan2_test): Add another test.
24442 * manual/install.texi (Configuring and compiling): Document
24443 general use of test-wrapper and test-wrapper-env.
24444 * INSTALL: Regenerated.
24446 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24447 (__fma): Do not extract and scale down low bits on after-rounding
24448 systems when result rounded to normal precision would have normal
24450 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24451 (__fmal): Do not extract and scale down low bits on after-rounding
24452 systems when result rounded to normal precision would have normal
24454 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24455 (__fmal): Do not extract and scale down low bits on after-rounding
24456 systems when result rounded to normal precision would have normal
24458 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24460 (fma_test): Add more tests.
24461 (fma_test_towardzero): Likewise.
24462 (fma_test_downward): Likewise.
24463 (fma_test_upward): Likewise.
24465 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24467 * sysdeps/i386/tininess.h: Renamed to ...
24468 * sysdeps/x86/tininess.h: This.
24469 * sysdeps/x86_64/tininess.h: Removed.
24471 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24473 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24474 input. Use $(build-program-cmd).
24475 ($(objpfx)tst-array1-static.out): Likewise.
24476 ($(objpfx)tst-array2.out): Likewise.
24477 ($(objpfx)tst-array3.out): Likewise.
24478 ($(objpfx)tst-array4.out): Likewise.
24479 ($(objpfx)tst-array5.out): Likewise.
24480 ($(objpfx)tst-array5-static.out): Likewise.
24482 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24484 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24487 * nss/nsswitch.h (nss_interface_function): Provide new
24488 macro for use with NSS functions.
24489 * grp/initgroups.c: Use new macro.
24490 * nss/getXXbyYY.c: Likewise.
24491 * nss/getXXbyYY_r.c: Likewise.
24492 * nss/getXXent.c: Likewise.
24493 * nss/getXXent_r.c: Likewise.
24494 * sysdeps/posix/getaddrinfo.c: Likewise.
24496 2012-10-30 Andreas Jaeger <aj@suse.de>
24498 * po/ru.po: Update Russion translation from translation project.
24500 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24505 result and shift together with sticky bit instead of replicating
24506 round-to-nearest rounding.
24507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24508 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24509 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24510 missing underflow exceptions.
24511 (fma_test_towardzero): Add more tests.
24512 (fma_test_downward): Likewise.
24513 (fma_test_upward): Likewise.
24516 * sysdeps/generic/tininess.h: New file.
24517 * sysdeps/i386/tininess.h: Likewise.
24518 * sysdeps/sh/tininess.h: Likewise.
24519 * sysdeps/x86_64/tininess.h: Likewise.
24520 * stdlib/tst-strtod-underflow.c: Likewise.
24521 * stdlib/tst-tininess.c: Likewise.
24522 * stdlib/strtod_l.c: Include <tininess.h>.
24523 (round_and_return): Do not set errno for exact underflow cases.
24524 Force an underflow exception when setting errno for underflow.
24525 Determine underflow based on rounding to normal precision if
24526 TININESS_AFTER_ROUNDING.
24527 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24528 ERANGE for exact underflow cases.
24529 * stdlib/Makefile (tests): Add tst-tininess and
24530 tst-strtod-underflow.
24531 ($(objpfx)tst-tininess): Use $(link-libm).
24532 ($(objpfx)tst-strtod-underflow): Likewise.
24534 2012-10-30 Andreas Jaeger <aj@suse.de>
24537 * elf/Makefile (tests): Remove conditional for have-initfini-array
24538 since this is now always required and the variable does not exist
24540 (tests-static): Likewise.
24541 (modules-names): Likewise.
24543 * po/eo.po: Add Esperanto translation from translation project.
24545 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24546 merged with constructor/destructor.
24547 (init_array): Likewise.
24548 * elf/tst-array2dep.c (fini_array): Likewise.
24549 (init_array): Likewise.
24551 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24553 * manual/message.texi: Delete @cartouche tags.
24555 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24557 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24559 * sysdeps/mach/hurd/fsync.c: Likewise.
24561 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24562 [_POSIX_REALTIME_SIGNALS]: Change condition to
24563 [_POSIX_REALTIME_SIGNALS > 0].
24565 2012-10-27 Andreas Jaeger <aj@suse.de>
24567 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24568 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24570 [__WORDSIZE != 64]: Likewise.
24572 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24574 * iconvdata/tst-table.sh: Remove ${SHELL}.
24575 * iconvdata/tst-tables.sh: Likewise.
24577 2012-10-25 David S. Miller <davem@davemloft.net>
24579 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24580 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24585 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24586 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24587 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24590 2012-10-25 Roland McGrath <roland@hack.frob.com>
24592 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24593 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24596 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24597 Jim Blandy <jimb@codesourcery.com>
24599 * scripts/cross-test-ssh.sh: New file.
24600 * manual/install.texi (Configuring and compiling): Document use of
24602 * INSTALL: Regenerated.
24604 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24606 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24609 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24611 * Makeconfig (run-program-prefix): Fix comment.
24613 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24614 Jim Blandy <jimb@codesourcery.com>
24616 * Makeconfig (test-wrapper): New variable,
24617 (test-wrapper-env): Likewise.
24618 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24619 (run-built-tests): Define to yes.
24620 (run-program-prefix): Use $(test-wrapper).
24621 (built-program-cmd): Likewise.
24622 * Rules (make-test-out): Use $(test-wrapper-env) and
24623 $(host-built-program-cmd).
24624 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24625 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24627 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24628 $(test-wrapper-env) to tst-rtld-load-self.sh.
24629 ($(objpfx)order2.out): Use $(test-wrapper).
24630 ($(objpfx)tst-initorder.out): Likewise.
24631 ($(objpfx)tst-initorder2.out): Likewise.
24632 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24633 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24634 (test_wrapper_env): New variable. Use it to run ld.so.
24635 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24636 Use it to run ld.so.
24637 (test_wrapper_env): Likewise.
24638 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24639 $(test-wrapper) to run-iconv-test.sh.
24640 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24641 (ICONV): Use $test_wrapper.
24642 * posix/Makefile ($(objpfx)globtest.out): Pass
24643 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24644 globtest.sh, not $(run-program-prefix).
24645 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24646 (test_wrapper): Likewise.
24647 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24648 set together with run_via_rtld_prefix.
24649 (run_program_prefix): Define in terms of test_wrapper and
24650 run_via_rtld_prefix.
24652 2012-10-24 Roland McGrath <roland@hack.frob.com>
24654 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24655 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24659 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24660 Declare __clock_getres, __clock_gettime, __clock_settime,
24661 __clock_nanosleep, and __clock_getcpuclockid.
24662 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24663 Remove librt_hidden_def (clock_gettime).
24664 * sysdeps/unix/clock_gettime.c: Likewise.
24665 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24666 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24667 * rt/clock_getres.c: Define __clock_getres as an alias.
24668 * sysdeps/posix/clock_getres.c: Likewise.
24669 * rt/clock_settime.c: Define __clock_settime as an alias.
24670 * sysdeps/unix/clock_settime.c: Likewise.
24671 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24672 * sysdeps/unix/clock_nanosleep.c: Likewise.
24673 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24674 * rt/clock-compat.c: New file.
24675 * rt/Makefile (librt-routines): Add clock-compat and move
24676 $(clock-routines) to ...
24677 (routines): ... here, new variable.
24678 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24679 Don't add get_clockfreq here.
24680 * rt/Versions (libc: GLIBC_2.17): New version set.
24681 Add clock_* symbols here.
24682 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24683 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24684 (GLIBC_2.17): Add clock_* symbols.
24685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24687 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24696 * NEWS: Mention the move.
24698 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24699 Use __open, __read, __close rather than their public counterparts.
24700 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24701 (__get_clockfreq_via_cpuinfo): Likewise.
24702 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24703 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24705 * config.h.in (HAVE_IFUNC): New #undef.
24706 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24708 * configure: Regenerated.
24710 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24712 * configure.in: Move READELF check to start of file.
24713 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24714 libc_cv_asm_gnu_indirect_function in the process.
24715 * configure: Regenerated.
24717 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24719 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24720 send the output to /dev/null.
24721 (libc_cv_cc_with_libunwind): Likewise.
24722 (libc_cv_as_noexecstack): Likewise.
24723 * configure: Regenerate.
24725 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24727 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24729 * posix/globtest.sh (TMPDIR): Do not set.
24730 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24731 (testout): Likewise.
24733 2012-10-24 Andreas Jaeger <aj@suse.de>
24735 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24736 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24737 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24738 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24739 posix_fadvise64, posix_fallocate64.
24741 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24742 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24743 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24745 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24747 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24750 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24751 <bits/fcntl-linux.h>.
24752 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24754 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24755 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24756 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24757 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24758 [__WORDSIZE != 64]: Likewise.
24760 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24762 * Makeconfig (run-built-tests): New variable.
24763 * Rules [$(cross-compiling) = yes]: Change condition to
24764 [$(run-built-tests) = no].
24765 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24766 to [$(run-built-tests) = yes].
24767 * elf/Makefile [$(cross-compiling) = no]: Likewise
24768 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24769 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24770 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24771 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24772 * io/Makefile [$(cross-compiling) = no]: Likewise.
24773 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24774 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24775 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24776 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24777 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24778 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24779 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24780 * string/Makefile [$(cross-compiling) = no]: Likewise.
24782 * posix/Makefile ($(objpfx)globtest.out): Pass
24783 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24784 $(rtld-installed-name).
24785 * posix/globtest.sh (elf_objpfx): Remove variable.
24786 (rtld_installed_name): Likewise.
24787 (library_path): Likewise.
24788 (run_program_prefix): New variable. Use for running globtest
24791 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24792 Joseph Myers <joseph@codesourcery.com>
24794 * Makeconfig (host-built-program-cmd): New variable.
24795 * elf/Makefile (tst-stackguard1-ARGS): Use
24796 $(host-built-program-cmd).
24797 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24798 (tst-spawn-ARGS): Likewise.
24799 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24801 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24802 Jim Blandy <jimb@codesourcery.com>
24804 * Makeconfig (run-via-rtld-prefix): New variable.
24805 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24806 (built-program-cmd): Likewise.
24808 2012-10-22 Andreas Jaeger <aj@suse.de>
24810 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24811 __O_RSYNC if it exists, otherwise to O_SYNC.
24813 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24814 Joseph Myers <joseph@codesourcery.com>
24816 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24818 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24820 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24823 2012-10-22 Andreas Jaeger <aj@suse.de>
24825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24830 bits/fcntl-linux.h.
24832 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24833 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24835 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24840 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24841 Joseph Myers <joseph@codesourcery.com>
24843 * config.make.in (NM): New variable.
24845 2012-10-21 Andreas Jaeger <aj@suse.de>
24847 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24848 definitions and declarations that are provided by
24849 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24851 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24854 * elf/Makefile (tests-static): Add tst-leaks1-static.
24855 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24856 ($(objpfx)tst-leaks1-static): New rule.
24857 ($(objpfx)tst-leaks1-static-mem): Likewise.
24858 (tst-leaks1-static-ENV): New macro.
24859 * elf/dl-open.c (dl_open_worker): Check the main application
24860 only if SHARED is defined.
24861 * elf/tst-leaks1-static.c: New file.
24863 2012-10-20 Andreas Jaeger <aj@suse.de>
24865 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24866 generic values for Linux.
24867 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24868 and declarations that are provided by <bits/fcntl-linux.h> and
24869 include <bits/fcntl-linux.h>.
24870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24871 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24873 2012-10-20 Roland McGrath <roland@hack.frob.com>
24875 * io/fcntl.h: Move include of <bits/types.h> to the top and
24876 include it unconditionally.
24878 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24880 * wcsmbs/Makefile (tests-ifunc): New variable.
24881 (tests): Add $(tests-ifunc).
24882 * wcsmbs/test-wcschr-ifunc.c: New file.
24883 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24884 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24885 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24886 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24887 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24889 * string/Makefile (tests-ifunc): New variable.
24890 (tests): Add $(tests-ifunc).
24891 * string/test-memccpy.c (TEST_NAME): New macro.
24892 * string/test-memchr.c (TEST_NAME): Likewise.
24893 * string/test-memcmp.c (TEST_NAME): Likewise.
24894 * string/test-memcpy.c (TEST_NAME): Likewise.
24895 * string/test-memmem.c (TEST_NAME): Likewise.
24896 * string/test-memmove.c (TEST_NAME): Likewise.
24897 * string/test-memset.c (TEST_NAME): Likewise.
24898 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24899 * string/test-stpcpy.c (TEST_NAME): Likewise.
24900 * string/test-stpncpy.c (TEST_NAME): Likewise.
24901 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24902 * string/test-strcasestr.c (TEST_NAME): Likewise.
24903 * string/test-strcat.c (TEST_NAME): Likewise.
24904 * string/test-strchr.c (TEST_NAME): Likewise.
24905 * string/test-strcmp.c(TEST_NAME): Likewise.
24906 * string/test-strcpy.c (TEST_NAME): Likewise.
24907 * string/test-strcspn.c (TEST_NAME): Likewise.
24908 * string/test-strlen.c (TEST_NAME): Likewise.
24909 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24910 * string/test-strncmp.c (TEST_NAME): Likewise.
24911 * string/test-strncpy.c (TEST_NAME): Likewise.
24912 * string/test-strnlen.c (TEST_NAME): Likewise.
24913 * string/test-strpbrk.c (TEST_NAME): Likewise.
24914 * string/test-strrchr.c (TEST_NAME): Likewise.
24915 * string/test-strspn.c (TEST_NAME): Likewise.
24916 * string/test-strstr.c (TEST_NAME): Likewise.
24917 * string/test-bcopy-ifunc.c: New file.
24918 * string/test-bzero-ifunc.c: Likewise.
24919 * string/test-memccpy-ifunc.c: Likewise.
24920 * string/test-memchr-ifunc.c: Likewise.
24921 * string/test-memcmp-ifunc.c: Likewise.
24922 * string/test-memcpy-ifunc.c: Likewise.
24923 * string/test-memmem-ifunc.c: Likewise.
24924 * string/test-memmove-ifunc.c: Likewise.
24925 * string/test-mempcpy-ifunc.c: Likewise.
24926 * string/test-memset-ifunc.c: Likewise.
24927 * string/test-rawmemchr-ifunc.c: Likewise.
24928 * string/test-stpcpy-ifunc.c: Likewise.
24929 * string/test-stpncpy-ifunc.c: Likewise.
24930 * string/test-strcasecmp-ifunc.c: Likewise.
24931 * string/test-strcasestr-ifunc.c: Likewise.
24932 * string/test-strcat-ifunc.c: Likewise.
24933 * string/test-strchr-ifunc.c: Likewise.
24934 * string/test-strchrnul-ifunc.c: Likewise.
24935 * string/test-strcmp-ifunc.c: Likewise.
24936 * string/test-strcpy-ifunc.c: Likewise.
24937 * string/test-strcspn-ifunc.c: Likewise.
24938 * string/test-strlen-ifunc.c: Likewise.
24939 * string/test-strncasecmp-ifunc.c: Likewise.
24940 * string/test-strncat-ifunc.c: Likewise.
24941 * string/test-strncmp-ifunc.c: Likewise.
24942 * string/test-strncpy-ifunc.c: Likewise.
24943 * string/test-strnlen-ifunc.c: Likewise.
24944 * string/test-strpbrk-ifunc.c: Likewise.
24945 * string/test-strrchr-ifunc.c: Likewise.
24946 * string/test-strspn-ifunc.c: Likewise.
24947 * string/test-strstr-ifunc.c: Likewise.
24949 * debug/Makefile (tests-ifunc): New variable.
24950 (tests): Add $(tests-ifunc).
24951 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24952 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24953 * debug/test-stpcpy_chk-ifunc.c: New file.
24954 * debug/test-strcpy_chk-ifunc.c: Likewise.
24956 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24959 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24960 header is not read in.
24962 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24964 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24965 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24966 directly. Pass built executable to script as
24967 $(built-program-cmd).
24968 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24969 $testprogram without using LD_LIBRARY_PATH and $ldso.
24971 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24972 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24973 $(rtld-installed-name).
24974 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24975 (rtld_installed_name): Likewise.
24976 (library_path): Likewise.
24977 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24978 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24979 $(run-program-prefix) to tst-tables.sh.
24980 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24981 it to run tst-table-from and tst-table-to.
24982 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24983 Pass it to tst-table.sh.
24984 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24985 $(run-program-prefix) to tst-gettext.sh.
24986 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24988 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24990 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24991 to run tst-gettext.
24992 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24993 to run tst-gettext2.
24994 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24995 to run tst-translit.
24996 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24997 $(run-program-prefix) to tst-mtrace.sh.
24998 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25000 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25001 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25002 $(rtld-installed-name).
25003 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25004 (rtld_installed_name): Likewise.
25005 (run_program_prefix): New variable. Use it to run wordexp-test.
25007 * Makeconfig (ARCH): Remove all definitions.
25008 (machine): Likewise.
25009 [ARCH]: Remove conditional code.
25010 [!objdir]: Give error.
25011 [!objdir] (objpfx): Remove.
25012 [!objdir] (common-objpfx): Likewise.
25013 [!objdir] (common-objdir): Likewise.
25014 * configure.in (config_makefile): Remove. Hardcode Makefile in
25015 AC_CONFIG_FILES call.
25016 * configure: Regenerated.
25019 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25021 (testout): Likewise.
25023 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25024 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25025 $(rtld-installed-name).
25026 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25027 (rtld_installed_name): Likwise.
25028 (runit): Remove function.
25029 (run_getconf): New variable, Use it for running getconf binary.
25031 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25034 * string/test-memmem.c (check_result): New function.
25035 (do_one_test): Use it.
25036 (check1): New function.
25037 (test_main): Use it.
25039 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25041 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25043 2012-10-18 Joseph Myers <joseph@codesourcery.com>
25045 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25046 (_G_LSEEK64): Likewise.
25047 (_G_MMAP64): Likewise.
25048 (_G_FSTAT64): Likewise.
25049 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25050 (_G_LSEEK64): Likewise.
25051 (_G_MMAP64): Likewise.
25052 (_G_FSTAT64): Likewise.
25053 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25054 unconditional. Call __mmap64 directly.
25055 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25056 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25057 __lseek64 directly.
25058 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25059 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25061 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25062 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25063 __lseek64 directly.
25064 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25065 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25066 __lseek64 directly.
25067 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25068 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25069 __lseek64 directly.
25070 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25071 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25072 __fxstat64 directly.
25073 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25074 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25076 (freopen64) [!_G_OPEN64]: Remove conditional code.
25077 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25079 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25080 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25082 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25083 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25085 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25086 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25088 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25089 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25091 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25092 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25094 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25095 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25097 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25099 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25102 * manual/memory.texi (Malloc Tunable Parameters): Add note
25103 about free list pointers overwriting some perturb bytes.
25104 Wording suggested by Roland McGrath.
25106 2012-10-17 Joseph Myers <joseph@codesourcery.com>
25108 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25109 (lgamma_test): Likewise.
25110 (tgamma_test): Likewise.
25112 2012-10-16 Florian Weimer <fweimer@redhat.com>
25115 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25116 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25118 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25120 * NEWS: Mention BZ #14716.
25121 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25122 when removing AVAILABLE1_USES_J macro.
25124 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25126 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25127 (__bswap_64): __uint64_t for unsigned 64-bit int.
25129 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25131 * include/string.h (memmem): Declare libc hidden alias.
25132 * string/memmem.c (memmem): Define libc hidden alias.
25133 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25134 __read, __close instead of open, read, close.
25136 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25139 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25141 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25142 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25143 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25145 (__rawmemchr_sse2): Likewise.
25146 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25147 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25148 (__strchr_sse2): Likewise.
25149 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25150 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25151 (__strcasecmp_sse2): Likewise.
25152 (__strncasecmp_sse2): Likewise.
25153 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25154 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25155 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25156 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25157 (__strrchr_sse2): Likewise.
25158 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25160 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25161 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25162 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25163 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25164 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25165 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25166 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25167 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25168 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25169 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25170 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25171 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25172 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25173 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25174 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25175 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25176 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25177 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25178 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25179 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25180 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25181 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25182 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25183 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25184 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25185 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25186 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25187 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25188 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25189 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25191 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25193 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25194 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25195 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25196 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25198 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25200 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25201 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25202 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25203 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25205 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25206 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25207 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25208 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25209 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25210 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25211 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25212 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25213 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25214 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25215 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25216 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25217 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25218 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25219 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25220 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25221 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25222 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25223 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25224 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25225 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25226 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25227 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25228 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25229 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25230 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25231 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25232 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25233 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25234 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25235 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25236 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25237 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25238 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25239 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25240 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25241 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25242 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25243 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25244 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25245 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25247 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25248 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25249 * include/ifunc-impl-list.h: New file.
25250 * misc/ifunc-impl-list.c: Likewise.
25251 * misc/Makefile (routines): Add ifunc-impl-list.
25252 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25253 * string/test-string.h: Include <ifunc-impl-list.h>.
25254 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25255 TEST_NAME]: New variables.
25256 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25258 (test_init): Call __libc_ifunc_impl_list to initialize
25259 func_list if TEST_IFUNC and TEST_NAME are defined.
25261 * string/Makefile (strop-tests): Add bcopy and bzero.
25262 * string/test-bcopy.c: New file.
25263 * string/test-bzero.c: Likewise.
25264 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25266 * string/test-memset.c: Support bzero test if TEST_BZERO is
25268 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25270 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25272 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25275 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25277 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25278 * configure: Regenerated.
25280 * Makeconfig (+link-static-before-libc): Don't include
25281 $(link-static-libc).
25283 * libio/libio.h (_IO_pos_t): Remove.
25285 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25287 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25290 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25292 * crypt/crypt-entry.c: Include fips-private.h.
25293 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25294 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25295 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25296 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25298 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25300 * crypt/crypt-private.h: Include stdbool.h.
25301 (_ufc_setup_salt_r): Return bool.
25302 * crypt/crypt-entry.c: Include errno.h.
25303 (__crypt_r): Return NULL with EINVAL for bad salt.
25304 * crypt/crypt_util.c (bad_for_salt): New.
25305 (_ufc_setup_salt_r): Check that salt is long enough and within
25306 the specified alphabet.
25307 * crypt/badsalttest.c: New file.
25308 * crypt/Makefile (tests): Add it.
25309 ($(objpfx)badsalttest): New.
25311 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25313 * NEWS: Add entry for BZ #14602.
25315 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25317 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25319 * math/libm-test.inc: Update comment listing what functions and
25321 (isgreater_test): New function.
25322 (isgreaterequal_test): Likewise.
25323 (isless_test): Likewise.
25324 (islessequal_test): Likewise.
25325 (islessgreater_test): Likewise.
25326 (isunordered_test): Likewise.
25327 (main): Call the new functions.
25329 2012-10-09 Roland McGrath <roland@hack.frob.com>
25331 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25332 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25333 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25334 * sysdeps/i386/configure: Regenerated.
25335 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25336 * sysdeps/mach/configure: Regenerated.
25337 * sysdeps/mach/hurd/configure: Regenerated.
25338 * sysdeps/powerpc/configure: Regenerated.
25339 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25340 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25341 * sysdeps/s390/s390-32/configure: Regenerated.
25342 * sysdeps/s390/s390-64/configure: Regenerated.
25343 * sysdeps/sh/configure: Regenerated.
25344 * sysdeps/sparc/configure: Regenerated.
25345 * sysdeps/unix/sysv/linux/configure: Regenerated.
25346 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25347 * sysdeps/x86_64/configure: Regenerated.
25349 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25350 defined. Don't check if MAP is NULL.
25352 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25354 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25355 (_G_stat64): Likewise.
25356 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25357 (_G_stat64): Likewise.
25358 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25359 instead of struct _G_stat64.
25360 * libio/fileops.c (mmap_remap_check): Likewise.
25361 (decide_maybe_mmap): Likewise.
25362 (_IO_new_file_seekoff): Likewise.
25363 (_IO_file_stat): Likewise.
25364 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25366 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25367 instead of struct _G_stat64.
25368 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25370 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25373 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25375 (CHECK_EOL): New macro.
25376 (two_way_short_needle): Check beginning of haystack for EOL. Use
25378 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25379 Replace with CHECK_EOL.
25380 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25381 Replace with CHECK_EOL.
25383 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25385 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25387 * math/libm-test.inc: Update comment listing what functions and
25389 (finite_test): New function.
25390 (isinf_test): Likewise.
25391 (isnan_test): Likewise.
25392 (fpclassify_test): Test subnormal input.
25393 (isfinite_test): Likewise.
25394 (isnormal_test): Likewise.
25395 (main): Call the new functions.
25397 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25400 * Makerules (%.dynsym): Force C locale when running
25401 $(OBJDUMP) --dynamic-syms.
25403 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25405 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25408 2012-10-06 David S. Miller <davem@davemloft.net>
25410 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25411 upper 32-bits of the length value in %o2 since we use branch-on-register
25412 tests which consider the entire 64-bit register.
25414 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25416 * string/test-strstr.c (check2): Add a test for page boundary.
25418 2012-10-05 David S. Miller <davem@davemloft.net>
25420 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25421 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25423 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25425 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25426 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25427 and bzero when HWCAP_SPARC_CRYPTO is present.
25429 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25432 * string/test-strstr.c (check2): New function.
25433 (test_main): Call check2.
25435 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25437 * string/bug-strcasestr1.c (do_test): Moved to ...
25438 * string/test-strcasestr.c (check1): Here. New function.
25439 (do_one_test): Break out result checking code into ...
25440 (check_result): This. New function.
25441 (do_one_test): Call check_result.
25442 (test_main): Call check1.
25443 * string/bug-strchr1.c (do_test): Moved to ...
25444 * string/test-strchr.c (check1): Here. New function.
25445 (do_one_test): Break out result checking code into ...
25446 (check_result): This. New function.
25447 (do_one_test): Call check_result.
25448 (test_main): Call check1.
25449 * string/bug-strstr1.c (main): Moved to ...
25450 * string/test-strstr.c (check1): Here. New function.
25451 (do_one_test): Break out result checking code into ...
25452 (check_result): This. New function.
25453 (do_one_test): Call check_result.
25454 (test_main): Call check1.
25455 * string/bug-strcasestr1.c: Removed.
25456 * string/bug-strchr1.c: Likewise.
25457 * string/bug-strstr1.c: Likewise.
25459 * elf/Makefile (dl-routines): Add hwcaps.
25460 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25461 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25462 (_dl_important_hwcaps): Moved to ...
25463 * elf/dl-hwcaps.c: Here. New file.
25464 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25467 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25468 if IS_IN_rtld isn't defined.
25470 * elf/dl-support.c (_dl_sysinfo_map): New.
25471 Include "get-dynamic-info.h" and "setup-vdso.h".
25472 (_dl_non_dynamic_init): Call setup_vdso.
25473 * elf/dynamic-link.h: Don't include <assert.h>.
25474 (elf_get_dynamic_info): Moved to ...
25475 * elf/get-dynamic-info.h: Here. New file.
25476 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25477 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25478 * elf/setup-vdso.h: Here. New file.
25479 * elf/rtld.c: Include "setup-vdso.h".
25480 (dl_main): Call setup_vdso.
25482 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25484 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25485 creal in comment listing functions tested. List finite, isinf,
25486 isnan, isless, islessequal, isgreater, isgreaterequal,
25487 islessgreater, isunordered, lgamma_r and pow10 as functions and
25488 macros not tested. Mention which functions not tested are aliases
25489 for other functions. Fix typo. Note that signs of NaNs are not
25492 * scripts/config.guess: Update from config.git.
25493 * scripts/config.sub: Likewise.
25495 2012-10-04 Roland McGrath <roland@hack.frob.com>
25497 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25498 * misc/madvise.c (madvise): Renamed to __madvise.
25499 Make madvise a weak alias.
25500 * include/sys/mman.h: Declare __madvise.
25501 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25502 * sysdeps/unix/syscalls.list
25503 (madvise): Make __madvise the strong name, and madvise a weak alias.
25504 * sysdeps/unix/sysv/linux/syscalls.list
25505 (madvise, mmap): Remove redundant entries.
25506 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25507 * malloc/malloc.c (mtrim): Likewise.
25508 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25510 2012-10-03 Roland McGrath <roland@hack.frob.com>
25512 * sysdeps/mach/hurd/dl-cache.c: File removed.
25513 * config.h.in (USE_LDCONFIG): New #undef.
25514 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25515 * configure: Regenerated.
25516 * elf/Makefile (dl-routines): Add dl-cache only under
25517 [$(use-ldconfig) = yes].
25518 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25519 cache on [USE_LDCONFIG].
25520 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25522 * elf/rtld.c (dl_main): Likewise.
25524 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25526 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25527 _SC_LEVEL4_CACHE_LINESIZE.
25529 2012-10-03 Roland McGrath <roland@hack.frob.com>
25531 * sysdeps/unix/bsd/confstr.h: File removed.
25533 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25535 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25538 2012-10-02 Roland McGrath <roland@hack.frob.com>
25540 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25541 Make 'mapoff' field ElfW(Off) rather than off_t.
25543 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25545 * nscd/Makefile: Remove nscd-cflags and all its users.
25546 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25547 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25550 * malloc.c (malloc_printerr): Clarify error message.
25552 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25556 Set bit_FMA_Usable if FMA is supported.
25557 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25559 (bit_FMA4_Usable): Updated.
25560 (index_FMA_Usable): New macro.
25561 (CPUID_FMA): Likewise
25562 (HAS_FMA): Defined with bit_FMA_Usable.
25564 2012-10-01 Roland McGrath <roland@hack.frob.com>
25566 * bits/types.h (__swblk_t): Type removed.
25567 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25568 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25569 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25570 (__SWBLK_T_TYPE): Likewise.
25571 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25572 (__SWBLK_T_TYPE): Likewise.
25573 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25574 (__SWBLK_T_TYPE): Likewise.
25575 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25576 (__SWBLK_T_TYPE): Likewise.
25578 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25579 Honza Horak <hhorak@redhat.com>
25581 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25582 (xdr_mapname): Use YPMAXMAP as maxsize.
25583 (xdr_peername): Use YPMAXPEER as maxsize.
25584 (xdr_keydat): Use YPAXRECORD as maxsize.
25585 (xdr_valdat): Use YPMAXRECORD as maxsize.
25587 2012-10-01 Roland McGrath <roland@hack.frob.com>
25589 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25591 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25592 * csu/init-first.c: ... here.
25593 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25594 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25595 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25596 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25597 * sysdeps/i386/init-first.c: File removed.
25598 * sysdeps/sh/init-first.c: File removed.
25600 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25604 if x * y might underflow to zero and z is zero.
25605 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25607 * math/libm-test.inc (min_subnorm_value): New variable.
25608 (fma_test): Add more tests.
25609 (fma_test_towardzero): Likewise.
25610 (fma_test_downward): Likewise
25611 (fma_test_upward): Likewise.
25612 (initialize): Set min_subnorm_value.
25614 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25619 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25620 mode for addition resulting in exact zero.
25621 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25622 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25624 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25625 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25626 * math/libm-test.inc (fma_test): Add more tests.
25627 (fma_test_towardzero): New function.
25628 (fma_test_downward): Likewise.
25629 (fma_test_upward): Likewise.
25630 (main): Call the new functions.
25632 2012-09-28 David S. Miller <davem@davemloft.net>
25634 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25636 2012-09-28 Roland McGrath <roland@hack.frob.com>
25638 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25639 instead of SIGALRM.
25641 * sysdeps/gnu/_G_config.h: Moved to ...
25642 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25643 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25644 * sysdeps/generic/_G_config.h: ... here.
25646 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25648 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25650 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25651 Conditionalize target on [libnss_test1.so-version].
25653 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25655 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25656 (elfobjdir): Move out of conditionals.
25658 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25659 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25660 (__nss_lookup_function): Conditionalize label remove_from_tree on
25661 [!DO_STATIC_NSS || SHARED], matching its only use.
25663 2012-09-28 David S. Miller <davem@davemloft.net>
25665 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25666 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25668 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25670 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25672 when HWCAP_SPARC_CRYPTO is present.
25674 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25676 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25678 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25681 * stdio-common/vfprintf.c (process_string_arg): Revert
25684 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25686 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25688 * stdio-common/tst-sprintf.c: Include <locale.h>
25689 (main): Test sprintf's handling of incomplete multibyte
25692 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25694 * elf/dl-runtime.c (VERSYMIDX): Removed.
25695 * elf/dl-version.c (VERSYMIDX): Likewise.
25696 * elf/do-rel.h (VERSYMIDX): Likewise.
25697 (VALIDX): Likewise.
25698 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25699 * elf/rtld.c (VALIDX): Likewise.
25700 (ADDRIDX): Likewise.
25701 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25702 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25703 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25704 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25705 (VALIDX): Likewise.
25706 (ADDRIDX): Likewise.
25708 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25710 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25712 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25715 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25717 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25718 addresses are in the same scope as 192.0.2/24.
25719 * posix/gai.conf: Document new scope table defaults.
25721 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25724 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25725 for ftell. Compute offsets from write pointers instead.
25726 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25728 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25731 * libio/Makefile (tests): New test case tst-fseek.
25732 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25733 combination works in wide mode.
25734 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25735 state when the external buffer state changes.
25737 2012-09-27 David S. Miller <davem@davemloft.net>
25740 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25741 pass reloc->r_addend in as the 'high' argument to
25742 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25746 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25748 * rt/tst-aio2.c: Include <pthread.h>.
25749 * rt/tst-aio3.c: Likewise.
25751 2012-09-27 Steve Ellcey <sellcey@mips.com>
25753 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25755 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25757 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25758 contents on [SHARED].
25760 2012-09-26 Marek Polacek <polacek@redhat.com>
25764 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25765 for C++ and GCC <4.3 as well as for non GCC compilers.
25767 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25771 2012-09-25 Roland McGrath <roland@hack.frob.com>
25773 * Makefile.in (all, install): Declare with .PHONY.
25774 Reported by Michael Hope <michael.hope@linaro.org>.
25776 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25778 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25779 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25781 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25783 (sydep_routines): Add the new and the internal functions.
25784 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25785 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25787 (GLIBC_2.17): Add the new function.
25788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25789 (GLIBC_2.17): Likewise.
25790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25791 (GLIBC_2.17): Likewise.
25792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25793 (GLIBC_2.17): Likewise.
25794 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25796 2012-09-25 Alan Modra <amodra@gmail.com>
25798 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25799 Add release barrier before setting once_control to say
25800 initialisation is done. Add hints on lwarx. Use macro in
25802 (clear_once_control): Add release barrier.
25804 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25807 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25809 * math/s_clog10.c (__clog10): Likewise.
25810 * math/s_clog10f.c (__clog10f): Likewise.
25811 * math/s_clog10l.c (__clog10l): Likewise.
25812 * math/s_clogf.c (__clogf): Likewise.
25813 * math/s_clogl.c (__clogl): Likewise.
25814 * math/Makefile (libm-calls): Add x2y2m1.
25815 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25816 (__x2y2m1): Likewise.
25817 (__x2y2m1l): Likewise.
25818 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25819 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25820 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25821 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25822 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25823 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25824 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25825 * sysdeps/i386/fpu/libm-test-ulps: Update.
25826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25829 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25830 int as type of variable DEPTH.
25831 (glob): Use size_t instead of int as type of variables NEWCOUNT
25834 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25836 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25837 Add s_sincosf-sse2.
25838 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25839 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25840 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25841 macros for using routine as __sincosf_ia32.
25842 Use macro for function declaration and weak_alias.
25843 * sysdeps/i386/fpu/libm-test-ulps: Update.
25845 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25846 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25848 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25849 subnormal argument.
25850 * math/s_cexpf.c (__cexpf): Likewise.
25851 * math/s_csinf.c (__csinf): Likewise.
25852 * math/s_csinhf.c (__csinhf): Likewise.
25853 * math/s_ctanf.c (__ctanf): Likewise.
25854 * math/s_ctanhf.c (__ctanhf): Likewise.
25855 * math/s_ccosh.c (__ccoshf): Likewise.
25856 * math/s_cexp.c (__cexpl): Likewise.
25857 * math/s_csin.c (__csin): Likewise.
25858 * math/s_csinh.c (__csinh): Likewise.
25859 * math/s_ctan.c (__ctan): Likewise.
25860 * math/s_ctanh.c (ctanh): Likewise.
25861 * math/s_ccoshl.c (__ccoshl): Likewise.
25862 * math/s_cexpl.c (__cexpl): Likewise.
25863 * math/s_csinl.c (__csinl): Likewise.
25864 * math/s_csinhl.c (__csinhl): Likewise.
25865 * math/s_ctanl.c (__ctanl): Likewise.
25866 * math/s_ctanhl.c (__ctanhl): Likewise.
25868 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25870 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25871 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25872 (_IO_off_t): Define to __off_t, not _G_off_t.
25873 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25874 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25875 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25876 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25877 type of __dummy and __dummy2 fields.
25878 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25879 (_G_ssize_t): Likewise.
25880 (_G_off_t): Likewise.
25881 (_G_pid_t): Likewise.
25882 (_G_uid_t): Likewise.
25883 (_G_wchar_t): Likewise.
25884 (_G_wint_t): Likewise.
25885 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25886 (_G_ssize_t): Likewise.
25887 (_G_off_t): Likewise.
25888 (_G_pid_t): Likewise.
25889 (_G_uid_t): Likewise.
25890 (_G_wchar_t): Likewise.
25891 (_G_wint_t): Likewise.
25892 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25893 (_G_ssize_t): Likewise.
25894 (_G_off_t): Likewise.
25895 (_G_pid_t): Likewise.
25896 (_G_uid_t): Likewise.
25897 (_G_wchar_t): Likewise.
25898 (_G_wint_t): Likewise.
25900 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25902 * malloc/arena.c: Include malloc-sysdep.h.
25903 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25904 is sufficient to shrink the heap or an unmap is needed.
25905 * sysdeps/generic/malloc-sysdep.h: New file. Define
25906 new function check_may_shrink_heap.
25907 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25908 new function check_may_shrink_heap.
25910 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25912 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25915 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25917 * catgets/test-gencat.sh: Add "set -e".
25918 * elf/tst-pathopt.sh: Likewise.
25919 * grp/tst_fgetgrent.sh: Likewise.
25920 * iconvdata/run-iconv-test.sh: Likewise.
25921 * intl/tst-gettext.sh: Likewise.
25922 * intl/tst-gettext2.sh: Likewise.
25923 * intl/tst-gettext4.sh: Likewise.
25924 * intl/tst-gettext6.sh: Likewise.
25925 * intl/tst-translit.sh: Likewise.
25926 * io/ftwtest-sh: Likewise.
25927 * libio/test-freopen.sh: Likewise.
25928 * malloc/tst-mtrace.sh: Likewise.
25929 * posix/globtest.sh: Likewise.
25930 * posix/tst-getconf.sh: Likewise.
25931 * posix/wordexp-tst.sh: Likewise.
25932 * stdio-common/tst-printf.sh: Likewise.
25933 * stdio-common/tst-unbputc.sh: Likewise.
25934 * stdlib/tst-fmtmsg.sh: Likewise.
25935 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25936 * catgets/Makefile: Do not specify -e option when running
25937 testsuite shell scripts.
25938 * elf/Makefile: Likewise.
25939 * grp/Makefile: Likewise.
25940 * iconvdata/Makefile: Likewise.
25941 * intl/Makefile: Likewise.
25942 * io/Makefile: Likewise.
25943 * libio/Makefile: Likewise.
25944 * malloc/Makefile: Likewise.
25945 * posix/Makefile: Likewise.
25946 * stdio-common/Makefile: Likewise.
25947 * stdlib/Makefile: Likewise.
25948 * sysdeps/x86_64/Makefile: Likewise.
25950 * io/ftwtest-sh: Add copyright header.
25951 * posix/globtest.sh: Likewise.
25952 * posix/tst-getconf.sh: Likewise.
25953 * posix/wordexp-tst.sh: Likewise.
25954 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25956 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25959 * Makeconfig (+link): Defined as $(+link-static) if
25960 $(build-shared) isn't yes.
25961 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25963 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25965 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25968 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25969 new chunk size with MALLOC_ALIGN_MASK.
25971 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25974 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25976 (__printf_fphex): Determine rounding using get_rounding_mode and
25978 * stdio-common/tst-printf-round.c (struct hex_test): New
25980 (hex_tests): New variable.
25981 (test_hex_in_one_mode): New function.
25982 (do_test): Also run tests for hex float output.
25984 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25986 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25987 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25988 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25989 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25990 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25991 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25992 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25993 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25995 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25997 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25998 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25999 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26000 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26002 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26005 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26007 * elf/tst-rtld-load-self.sh: New test.
26008 * elf/Makefile: Run it.
26010 2012-09-18 Joseph Myers <joseph@codesourcery.com>
26012 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26013 (tst-writev-ENV): Remove.
26014 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26016 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26018 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26020 2012-09-17 Joseph Myers <joseph@codesourcery.com>
26022 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26024 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26026 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26027 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26028 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26031 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26034 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26035 * config.make.in (have-cpp-asm-debuginfo): Removed.
26036 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26037 * configure: Regenerated.
26039 2012-09-14 Joseph Myers <joseph@codesourcery.com>
26042 * stdio-common/printf_fp.c: Include <stdbool.h> and
26044 (___printf_fp): Determine rounding using get_rounding_mode and
26046 * stdio-common/tst-printf-round.c: New file.
26047 * stdio-common/Makefile (tests): Add tst-printf-round.
26048 (link-libm): New variable.
26049 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26051 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26054 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26055 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26057 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26060 2012-09-13 Joseph Myers <joseph@codesourcery.com>
26062 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26063 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26064 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26065 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26067 2012-09-12 Joseph Myers <joseph@codesourcery.com>
26070 * include/rounding-mode.h: New file.
26071 * sysdeps/generic/get-rounding-mode.h: Likewise.
26072 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26073 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26074 (MAX_VALUE): New macro.
26075 (MIN_VALUE): Likewise.
26076 (overflow_value): New function.
26077 (underflow_value): Likewise.
26078 (round_and_return): Use overflow_value and underflow_value to
26079 determine return values in overflow and underflow cases. Use
26080 round_away to determine rounding depending on rounding mode.
26081 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26082 determine return values in overflow and underflow cases.
26083 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26084 (struct test_results): New structure.
26085 (struct test): Use struct test_results to store expected results
26086 for all rounding modes.
26087 (TEST): Include expected results for all rounding modes.
26088 (test_in_one_mode): New function.
26089 (do_test): Use test_in_one_mode to compute and check results.
26090 Check results for all rounding modes.
26091 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26094 2012-12-09 Allan McRae <allan@archlinux.org>
26096 * sysdeps/i386/fpu/libm-test-ulps: Update
26098 2012-09-11 Joseph Myers <joseph@codesourcery.com>
26100 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26101 (_G_int32_t): Likewise.
26102 (_G_uint16_t): Likewise.
26103 (_G_uint32_t): Likewise.
26104 (_G_HAVE_BOOL): Likewise.
26105 (_G_HAVE_ATEXIT): Likewise.
26106 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26107 (_G_HAVE_IO_FILE_OPEN): Likewise.
26108 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26109 (_G_int32_t): Likewise.
26110 (_G_uint16_t): Likewise.
26111 (_G_uint32_t): Likewise.
26112 (_G_HAVE_BOOL): Likewise.
26113 (_G_HAVE_ATEXIT): Likewise.
26114 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26115 (_G_HAVE_IO_FILE_OPEN): Likewise.
26116 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26117 (_G_int32_t): Likewise.
26118 (_G_uint16_t): Likewise.
26119 (_G_uint32_t): Likewise.
26120 (_G_HAVE_BOOL): Likewise.
26121 (_G_HAVE_ATEXIT): Likewise.
26122 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26123 (_G_HAVE_IO_FILE_OPEN): Likewise.
26125 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26127 * csu/libc-tls.c: Update copyright years.
26129 2012-09-10 Joseph Myers <joseph@codesourcery.com>
26131 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26132 [!_G_USING_THUNKS]: Remove conditional code.
26133 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26134 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26136 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26137 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26138 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26139 (_G_VTABLE_LABEL_PREFIX): Likewise.
26140 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26141 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26142 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26143 (_G_VTABLE_LABEL_PREFIX): Likewise.
26144 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26145 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26146 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26147 (_G_VTABLE_LABEL_PREFIX): Likewise.
26148 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26150 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26152 * libio/Makefile: Include ../Makeconfig before tests.
26153 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26154 only if $(build-shared) is yes.
26156 * iconv/gconv_db.c: Update copyright years.
26158 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26160 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26161 unwind info if defined PIC. Fix special cases description.
26162 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26164 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26166 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26168 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26170 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26172 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26175 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26176 (LDLIBS-tst-chk4): This.
26177 (LDFLAGS-tst-chk5): Renamed to ...
26178 (LDLIBS-tst-chk5): This.
26179 (LDFLAGS-tst-chk6): Renamed to ...
26180 (LDLIBS-tst-chk6): This.
26181 (LDFLAGS-tst-lfschk4): Renamed to ...
26182 (LDLIBS-tst-lfschk4): This.
26183 (LDFLAGS-tst-lfschk5): Renamed to ...
26184 (LDLIBS-tst-lfschk5): This.
26185 (LDFLAGS-tst-lfschk6): Renamed to ...
26186 (LDLIBS-tst-lfschk6): This.
26188 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26189 on $(common-objpfx)soversions.mk.
26191 2012-09-07 Joseph Myers <joseph@codesourcery.com>
26194 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26197 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26199 * malloc/arena.c (arena_get_retry): New function that gets
26200 another arena for the caller to try its request on.
26201 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26202 current arena cannot fulfill the request.
26203 (__libc_memalign): Likewise.
26204 (__libc_memalign): Likewise.
26205 (__libc_pvalloc): Likewise.
26206 (__libc_calloc): Likewise.
26208 2012-09-05 John Tobey <john.tobey@gmail.com>
26211 * manual/arith.texi (Operations on Complex): Fix description
26212 of carg branch cut.
26214 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26217 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26221 * manual/memory.texi (Memory): Make order of menu items match
26224 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26226 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26227 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26228 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26230 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26232 * csu/libc-tls.c (static_dtv): Renamed to ...
26233 (_dl_static_dtv): This. Make it global.
26234 (_dl_initial_dtv): Removed.
26235 (__libc_setup_tls): Updated.
26236 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26237 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26240 2012-09-06 Petr Machata <pmachata@redhat.com>
26242 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26243 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26244 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26245 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26247 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26250 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26251 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26254 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26257 * Makeconfig (link-static-before-libc): Replace $(+prector)
26259 (link-static-after-libc): Replace $(+postctor) with
26261 (link-bounded): Replace $(+prector)/$(+postctor) with
26262 $(+prectorT)/$(+postctorT).
26263 (+prectorT): New macro.
26264 (+postctorT): Likewise.
26266 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26268 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26269 (round_str): Handle values above the maximum for IBM long double
26271 * stdlib/tst-strtod-round.c (tests): Regenerated.
26273 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26275 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26277 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26278 zarch_nohighgprs around the zarch optimized routines.
26279 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26280 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26281 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26284 2012-09-05 David S. Miller <davem@davemloft.net>
26286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26288 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26289 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26290 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26291 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26294 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26296 * malloc/arena.c: Fold copyright years.
26297 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26299 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26301 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26303 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26305 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26307 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26309 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26310 change internal state upon failure.
26312 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26314 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26315 * malloc/memusage.c (mmap): Likewise.
26316 (mmap64, mremap): Likewise. Adjust name in comment.
26318 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26320 * libio/fileops.c: Fix typos in comments.
26321 * libio/oldfileops.c: Likewise.
26322 * libio/wfileops.c: Likewise.
26324 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26327 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26328 (tst-malloc-usable-ENV): Set environment for test case.
26329 * malloc/hooks.c (malloc_check_get_size): New function to get
26331 * malloc/malloc.c (musable): Use malloc_check_get_size.
26332 * malloc/tst-malloc-usable.c: New test case.
26334 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26336 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26338 2012-09-05 Allan McRae <allan@archlinux.org>
26341 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26342 determine header location.
26343 * configure: Regenerated.
26345 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26347 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26349 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26350 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26352 (test): Regenerate.
26354 2012-09-04 David S. Miller <davem@davemloft.net>
26356 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26357 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26358 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26360 2012-09-04 Florian Weimer <fweimer@redhat.com>
26362 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26365 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26367 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26370 * libio/iogetdelim.c: Include <limits.h>.
26371 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26372 + len + 1 would overflow.
26374 2012-09-03 Andreas Jaeger <aj@suse.de>
26376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26377 * sysdeps/i386/fpu/libm-test-ulps: Update.
26379 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26381 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26382 Add s_sinf-sse2, s_conf-sse2.
26384 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26385 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26386 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26387 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26389 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26390 for using routine as __sinf_ia32.
26391 Use macro for function declaration and weak_alias.
26392 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26393 for using routine as __cosf_ia32.
26394 Use macro for function declaration and weak_alias.
26396 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26397 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26399 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26400 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26403 * math/libm-test.inc (cos_test): Add more test cases.
26404 (sin_test): Likewise.
26405 (sincos_test): Likewise.
26407 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26409 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26410 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26412 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26414 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26417 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26418 first element of the GOT.
26419 (elf_machine_load_address): Return the difference between
26420 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26422 2012-09-01 Allan McRae <allan@archlinux.org>
26425 * configure.in (AWK): Require gawk version 3.0 or later.
26426 * configure: Regenerated.
26428 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26430 * sysdeps/unix/sysv/linux/kernel-features.h
26431 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26432 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26433 [__NR_clock_getres]: Make code unconditional.
26434 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26435 (clock_getcpuclockid): Remove code left unreachable by removal of
26437 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26438 code unconditional.
26439 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26440 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26441 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26442 Make code unconditional.
26443 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26444 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26445 * sysdeps/unix/sysv/linux/clock_settime.c
26446 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26448 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26449 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26451 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26454 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26455 scripts/test-installation.pl.
26457 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26458 and $ld_so_version if it is set.
26460 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26463 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26464 failure if reading from procfs failed.
26465 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26467 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26469 * sysdeps/unix/sysv/linux/kernel-features.h
26470 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26471 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26472 Remove conditional code.
26473 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26474 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26475 Remove conditional code.
26476 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26477 * sysdeps/unix/sysv/linux/i386/fxstat.c
26478 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26479 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26480 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26481 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26482 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26483 * sysdeps/unix/sysv/linux/i386/lxstat.c
26484 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26485 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26486 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26487 Remove conditional code.
26488 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26489 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26490 Remove conditional code.
26491 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26492 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26493 <kernel-features.h>.
26494 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26496 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26497 Remove conditional code.
26498 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26499 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26500 Remove conditional.
26502 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26505 * NEWS: Add fixed bug number.
26507 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26510 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26511 underflowing exponent in case of negative sign.
26512 * stdlib/tst-strtod-round-data: Add more tests.
26513 * stdlib/tst-strtod-round.c (tests): Regenerated.
26516 * stdlib/strtod_l.c (NDIG): Remove.
26517 (HEXNDIG): Likewise.
26518 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26519 smallest representable value.
26520 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26521 lie within an exact representation of 1/2 ulp of the result.
26522 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26524 (TENS_P9_IDX): Define unconditionally.
26525 (TENS_P9_SIZE): Likewise.
26526 (TENS_P10_IDX): Likewise.
26527 (TENS_P10_SIZE): Likewise.
26528 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26529 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26530 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26531 entries for 10^2^13 and 10^2^14.
26532 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26533 (TENS_P13_IDX): Define.
26534 (TENS_P13_SIZE): Likewise.
26535 (TENS_P14_IDX): Likewise.
26536 (TENS_P14_SIZE): Likewise.
26537 (_fpioconst_pow10): Change array size to
26538 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26540 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26541 1024]: Add entries for 10^2^13 and 10^2^14.
26542 [LAST_POW10 > _LAST_POW10]: Remove #error.
26543 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26544 (_fpioconst_pow10): Change array size to
26545 FPIOCONST_POW10_ARRAY_SIZE.
26546 * stdlib/gen-fpioconst.c: New file.
26547 * stdlib/gen-tst-strtod-round.c: Likewise.
26548 * stdlib/tst-strtod-round-data: Likewise.
26549 * stdlib/tst-strtod-round.c: Likewise.
26550 * stdlib/Makefile (tests): Add tst-strtod-round.
26553 * stdlib/strtod_l.c: Include <stdint.h>.
26554 (NDEBUG): Do not define.
26555 (round_and_return): Change EXPONENT parameter to type intmax_t.
26556 Rearrange calculations to avoid internal overflow possibilities.
26557 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26558 Rearrange calculations to avoid internal overflow possibilities.
26559 Assert that number fits inside MPNSIZE limbs.
26560 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26561 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26562 calculations and add assertions to avoid internal overflow
26563 possibilities. Add casts to avoid signed/unsigned operations.
26564 * stdlib/tst-strtod-overflow.c: New file.
26565 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26567 2012-08-25 Marek Polacek <polacek@redhat.com>
26569 * time/time.h: Fix some typos in comments.
26571 2012-08-23 Roland McGrath <roland@hack.frob.com>
26573 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26574 * posix/tst-rfc3484-2.c: Likewise.
26575 * posix/tst-rfc3484-3.c: Likewise.
26577 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26579 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26580 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26582 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26584 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26585 #include of fxstatat64.c.
26587 2012-08-22 Roland McGrath <roland@hack.frob.com>
26589 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26590 * shadow/getspent_r.c: Likewise.
26591 * shadow/getspnam.c: Likewise.
26592 * shadow/getspnam_r.c: Likewise.
26593 * gshadow/getsgent.c: Likewise.
26594 * gshadow/getsgent_r.c: Likewise.
26595 * gshadow/getsgnam.c: Likewise.
26596 * gshadow/getsgnam_r.c: Likewise.
26597 * inet/getnetbyad.c: Likewise.
26598 * inet/getnetbyad_r.c: Likewise.
26599 * inet/getnetbynm.c: Likewise.
26600 * inet/getnetbynm_r.c: Likewise.
26601 * inet/getnetent.c: Likewise.
26602 * inet/getnetent_r.c: Likewise.
26603 * inet/getproto.c: Likewise.
26604 * inet/getproto_r.c: Likewise.
26605 * inet/getprtent.c: Likewise.
26606 * inet/getprtent_r.c: Likewise.
26607 * inet/getprtname.c: Likewise.
26608 * inet/getprtname_r.c: Likewise.
26609 * inet/getrpcbyname.c: Likewise.
26610 * inet/getrpcbyname_r.c: Likewise.
26611 * inet/getrpcbynumber.c: Likewise.
26612 * inet/getrpcbynumber_r.c: Likewise.
26613 * inet/getrpcent.c: Likewise.
26614 * inet/getrpcent_r.c: Likewise.
26615 * inet/getaliasent.c: Likewise.
26616 * inet/getaliasent_r.c: Likewise.
26617 * inet/getaliasname.c: Likewise.
26618 * inet/getaliasname_r.c: Likewise.
26619 * nscd/getgrgid_r.c: Likewise.
26620 * nscd/getgrnam_r.c: Likewise.
26621 * nscd/gethstbyad_r.c: Likewise.
26622 * nscd/gethstbynm3_r.c: Likewise.
26623 * nscd/getpwnam_r.c: Likewise.
26624 * nscd/getpwuid_r.c: Likewise.
26625 * nscd/getsrvbynm_r.c: Likewise.
26626 * nscd/getsrvbypt_r.c: Likewise.
26627 * nscd/gai.c: Likewise.
26629 * configure.in (build_nscd): New substituted variable, set
26630 by --disable-build-nscd and defaults to $use_nscd.
26631 * configure: Regenerated.
26632 * config.make.in (build-nscd): New substituted variable.
26633 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26634 Change conditional to require [$(build-nscd) = yes] as well.
26635 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26638 * configure.in (use_nscd): New substituted variable, set by
26639 --disable-nscd. If enabled, define USE_NSCD.
26640 * configure: Regenerated.
26641 * config.h.in: Add USE_NSCD.
26642 * config.make.in (use-nscd): New substituted variable.
26643 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26644 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26645 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26646 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26647 (CFLAGS-getgrnam_r.c): Likewise.
26648 (CFLAGS-initgroups.c): Likewise.
26649 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26650 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26652 * inet/getnetgrent_r.c
26653 (nscd_setnetgrent): New function, broken out of ...
26654 (setnetgrent): ... here. Call it.
26655 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26656 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26657 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26658 * nscd/Makefile (routines, aux): Move definitions after include of
26659 Makeconfig. Conditionalize on [$(use-nscd) != no].
26660 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26661 Conditionalize on [USE_NSCD].
26662 (is_nscd, nscd_init_cb): Likewise.
26663 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26664 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26665 * nss/nss_db/db-init.c: Likewise.
26666 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26668 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26669 (make_request): Use it.
26670 (cache_valid_p): New function.
26671 (__check_pf): Use it.
26672 * NEWS: Add item for --disable-nscd.
26674 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26676 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26677 to support sed >= 4.2.1-20-ga9bf076.
26678 * configure: Regenerated.
26680 2012-08-22 Roland McGrath <roland@hack.frob.com>
26682 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26683 Conditionalize whole body on [IREL].
26685 2012-08-22 Jeff Law <law@redhat.com>
26688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26689 if the family is PF_UNSPEC.
26691 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26693 * Makerules (lib-version): Rename from V.
26694 (install-lib-nosubdir): Change V to lib-version.
26696 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26699 * powerpc32/power6/wcschr.c: New file.
26700 * powerpc32/power6/wcscpy.c: New file.
26701 * powerpc32/power6/wcsrchr.c: New file.
26702 * powerpc64/power6/wcschr.c: New file.
26703 * powerpc64/power6/wcscpy.c: New file.
26704 * powerpc64/power6/wcsrchr.c: New file.
26706 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26708 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26709 (two_way_short_needle): Use it.
26710 * string/strstr.c (AVAILABLE1_USES_J): Define.
26711 * string/strcasestr.c: Likewise.
26713 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26715 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26718 * NEWS: Add an entry.
26719 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26720 define their defaults.
26721 (two_way_short_needle): Detect end-of-string on-the-fly.
26722 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26723 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26724 * string/bug-strcasestr1.c: New test.
26725 * string/Makefile: Run it.
26727 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26730 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26731 the first character.
26733 2012-08-21 Roland McGrath <roland@hack.frob.com>
26735 * csu/elf-init.c (__libc_csu_irel): Function removed.
26736 * csu/libc-start.c (apply_irel): New function.
26737 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26739 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26741 * sysdeps/unix/sysv/linux/kernel-features.h
26742 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26743 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26744 <kernel-features.h>.
26745 [__NR_fadvise64_64]: Make code unconditional.
26746 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26747 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26748 !__NR_fadvise64_64)]: Likewise.
26749 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26750 !__NR_fadvise64_64))]: Likewise.
26751 [__NR_fadvise64]: Make code unconditional.
26752 [!__NR_fadvise64]: Remove conditional code.
26753 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26754 <kernel-features.h>.
26755 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26757 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26760 not include <kernel-features.h>.
26761 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26763 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26765 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26766 include <kernel-features.h>.
26767 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26769 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26772 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26774 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26775 slight instruction rearrangements per scrollpipe analysis.
26776 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26778 2012-08-20 Roland McGrath <roland@hack.frob.com>
26780 * manual/syslog.texi (syslog; vsyslog, closelog):
26781 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26782 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26784 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26785 DSOCAPS to match condition on defining it.
26787 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26789 * sysdeps/unix/sysv/linux/kernel-features.h
26790 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26792 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26793 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26795 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26796 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26798 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26799 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26801 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26802 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26804 * sysdeps/unix/sysv/linux/kernel-features.h
26805 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26806 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26808 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26809 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26810 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26811 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26812 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26813 Make code unconditional.
26814 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26815 (__mmap64) [!__NR_mmap2]: Likewise.
26816 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26817 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26818 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26819 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26820 [__NR_mmap2]: Make code unconditional.
26821 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26822 (__mmap64) [!__NR_mmap2]: Likewise.
26824 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26826 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26828 2012-08-18 Andreas Jaeger <aj@suse.de>
26830 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26832 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26834 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26835 * include/unistd.h (__have_sock_cloexec): Likewise.
26836 (__have_pipe2): Likewise.
26837 (__have_dup3): Likewise.
26839 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26842 * include/unistd.h (__have_pipe2): Change define into an extern int.
26843 (__have_dup3): Likewise.
26844 * socket/have_sock_cloexec.c: Include fcntl.h.
26845 (__have_pipe2): New variable.
26846 (__have_dup3): Likewise.
26848 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26850 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26852 2012-08-17 Marek Polacek <polacek@redhat.com>
26854 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26855 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26857 2012-08-17 Roland McGrath <roland@hack.frob.com>
26859 * configure.in: Add AC_SUBST for sysheaders.
26860 * configure: Regenerated.
26861 * config.make.in (sysheaders): New substituted variable.
26863 * sysdeps/unix/mkfifo.c: Moved ...
26864 * sysdeps/posix/mkfifo.c: ... here.
26865 * sysdeps/unix/mkfifoat.c: Moved ...
26866 * sysdeps/posix/mkfifoat.c: ... here.
26868 * sysdeps/unix/utime.c: Moved ...
26869 * sysdeps/posix/utime.c: ... here.
26871 * sysdeps/unix/time.c: Moved ...
26872 * sysdeps/posix/time.c: ... here.
26873 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26874 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26876 * sysdeps/unix/nice.c: Moved ...
26877 * sysdeps/posix/nice.c: ... here.
26879 * sysdeps/unix/alarm.c: Moved ...
26880 * sysdeps/posix/alarm.c: ... here.
26882 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26884 2012-08-17 Jeff Law <law@redhat.com>
26886 * intl/Makefile (codeset_mo): New variable.
26887 ($(codeset_mo)): New target.
26888 (tst-codeset.out): Depend on that. Remove explicit rule.
26889 (tst-gettext3.out, tst-gettext5.out): Likewise.
26890 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26891 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26892 * intl/tst-codeset.sh: Remove.
26893 * intl/tst-gettext3.sh: Likewise.
26894 * intl/tst-gettext5.sh: Likewise.
26896 2012-08-17 Roland McGrath <roland@hack.frob.com>
26898 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26899 * sysdeps/unix/syscalls.list: ... here.
26901 * sysdeps/posix/getaddrinfo.c
26902 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26903 (gaiconf_init, gaiconf_reload): Use them.
26904 [!_STATBUF_ST_NSEC]
26905 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26906 Define using time_t rather than struct timespec.
26908 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26909 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26911 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26913 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26914 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26917 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26918 __libc_cleanup_push argument.
26920 * bits/param.h: New file.
26921 * misc/sys/param.h: New file.
26922 * include/sys/param.h: New file.
26923 * misc/Makefile (headers): Add bits/param.h.
26924 * sysdeps/generic/sys/param.h: File removed.
26925 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26926 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26927 * sysdeps/mach/hurd/bits/param.h: New file.
26928 * sysdeps/mach/hurd/sys/param.h: File removed.
26930 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26933 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26935 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26936 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26939 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26940 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26941 rather than -D_IO_MTSAFE_IO conditionally.
26942 * stdio-common/Makefile (CPPFLAGS): Likewise.
26943 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26944 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26945 Use $(libio-mtsafe).
26946 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26947 of -D_IO_MTSAFE_IO.
26948 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26949 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26950 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26951 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26952 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26953 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26954 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26955 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26956 (CFLAGS-fread_u_chk.c): Likewise.
26957 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26958 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26959 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26960 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26961 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26962 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26963 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26964 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26965 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26967 * libio/Makefile: Test [$(libc-reentrant) = yes]
26968 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26971 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26972 * sysdeps/pthread/configure: File removed.
26973 * sysdeps/pthread/Makeconfig: New file.
26974 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26975 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26977 2012-08-16 Gary Benson <gbenson@redhat.com>
26979 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26980 unmapping the first object in a namespace.
26982 2012-08-16 Roland McGrath <roland@hack.frob.com>
26984 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26985 (__internal_setnetgrent): ... this. Add internal_function to
26986 definition. Add libc_hidden_def.
26987 (setnetgrent): Update caller.
26988 (internal_endnetgrent): Renamed to ...
26989 (__internal_endnetgrent): ... this. Add internal_function to
26990 definition. Add libc_hidden_def.
26991 (endnetgrent): Update caller.
26992 (internal_getnetgrent_r): Renamed to ...
26993 (__internal_getnetgrent_r): ... this. Add internal_function to
26994 definition. Add libc_hidden_def.
26995 (__getnetgrent_r): Update caller.
26996 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26998 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27000 * stdlib/longlong.h: Update from GCC.
27002 2012-08-16 Roland McGrath <roland@hack.frob.com>
27004 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27005 on _QL, which is set by umul_ppmm but never used.
27006 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27007 variables, which are set by GMP macros but never used.
27008 * stdio-common/_itowa.c (_itowa): Likewise.
27009 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27010 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27012 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27014 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27015 struct La_sh_regs is not constant.
27016 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27017 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27018 and struct La_sparc64_regs are not constant.
27020 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27022 * sysdeps/unix/sysv/linux/kernel-features.h
27023 (__ASSUME_POSIX_TIMERS): Remove.
27024 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27025 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27026 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27027 Make code unconditional.
27028 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27029 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27030 Make code unconditional.
27031 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27032 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27033 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27034 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27035 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27036 Make code unconditional.
27037 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27038 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27039 (__libc_missing_posix_timers): Remove.
27041 2012-08-15 Roland McGrath <roland@hack.frob.com>
27043 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27044 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27046 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27048 * elf/dl-sym.c: Include <stdlib.h>.
27050 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27051 constants, which avoids warnings in 32-bit builds.
27053 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27054 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27056 * misc/lseek.c: File moved to ...
27057 * io/lseek.c: ... here.
27059 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27061 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27062 shifting LEN more than 31 bits at once.
27064 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27067 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27068 segmentation fault for a case of two empty input strings.
27069 * string/test-strncasecmp.c (check1): Renamed to...
27070 (bz12205): ...this.
27071 (bz14195): Add new testcase for two empty input strings and N > 0.
27072 (test_main): Call new testcase, adapt for renamed function.
27074 2012-08-15 Andreas Jaeger <aj@suse.de>
27077 * crypt/md5test2.c: New test, based on test supplied by Serge
27078 Belyshev <belyshev@depni.sinp.msu.ru>.
27079 * crypt/Makefile (xtests): Add md5test-giant..
27080 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27082 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27085 * crypt/md5.c (md5_process_block): Don't assume the buffer
27086 length is less than 2**32.
27087 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27088 length is less than 2**64.
27090 2012-08-15 Roland McGrath <roland@hack.frob.com>
27092 * string/str-two-way.h: Include <sys/param.h>.
27093 (MAX): Macro removed.
27095 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27096 Move #define and #undef of memmove to just before and after
27097 including <string.h>.
27099 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27100 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27101 and after including <string.h>. Move declarations of
27102 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27103 to before #include "string/memmove.c".
27105 * include/dirent.h: Declare __getdirentries.
27107 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27108 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27110 2012-08-14 Mike Frysinger <vapier@gentoo.org>
27112 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27113 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27114 * sysdeps/i386/configure: Regenerated.
27115 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27116 STABS_CURRENT_FILE, and STABS_FUN.
27117 (END): Remove call to STABS_FUN_END.
27118 (STABS_CURRENT_FILE1): Delete.
27119 (STABS_CURRENT_FILE): Likewise.
27120 (STABS_FUN): Likewise.
27121 (STABS_FUN_END): Likewise.
27122 (STABS_FUN2): Likewise.
27123 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27124 * sysdeps/x86_64/configure: Regenerated.
27126 2012-08-14 Roland McGrath <roland@hack.frob.com>
27128 * elf/dl-open.c: Include <atomic.h>.
27129 * elf/dl-lookup.c: Likewise.
27131 2012-08-14 Joseph Myers <joseph@codesourcery.com>
27133 * sysdeps/unix/sysv/linux/kernel-features.h
27134 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27135 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27137 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27139 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27140 condition on __ASSUME_CLONE_THREAD_FLAGS.
27142 2012-08-14 Andreas Jaeger <aj@suse.de>
27144 * sysdeps/i386/fpu/libm-test-ulps: Update.
27146 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27148 * include/atomic.h (atomic_exchange_and_add): Split into ...
27149 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27152 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27156 2012-08-13 Jeff Law <law@redhat.com>
27158 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27159 null byte in the output string.
27161 2012-08-10 Joseph Myers <joseph@codesourcery.com>
27163 * sysdeps/unix/sysv/linux/kernel-features.h
27164 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27165 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27166 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27167 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27168 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27169 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27170 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27172 2012-08-09 Jeff Law <law@redhat.com>
27175 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27176 When avoid_arena is set, don't retry in the that arena. Pick the
27177 next one, whatever it might be.
27178 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27179 (arena_lock): Pass in new parameter to arena_get2.
27180 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27182 (__libc_malloc): Unify retrying after main arena failure with
27183 __libc_memalign version.
27184 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27186 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27189 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27190 to __redirect_strstr.
27191 (__strstr_sse42): Use typeof __redirect_strstr.
27192 (__strstr_ia32): Likewise.
27193 (__libc_strstr): New prototype.
27194 (strstr): Renamed to ...
27195 (__libc_strstr): This.
27196 (strstr): New strong alias of __libc_strstr.
27197 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27198 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27201 (__libc_time): New prototype.
27202 (time_ifunc): Replace time with __libc_time.
27203 (time): New strong alias and hidden definition of __libc_time.
27204 (__GI_time): Remove strong alias.
27205 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27206 Include <stddef.h>.
27207 (memmove): Redefined to __redirect_memmove.
27208 (__memmove_sse2): Use typeof __redirect_memmove.
27209 (__memmove_ssse3): Likewise.
27210 (__memmove_ssse3_back): Likewise.
27211 (__libc_memmove): New prototype.
27212 (memmove): Renamed to ...
27213 (__libc_memmove): This.
27214 (memmove): New strong alias of __libc_memmove.
27216 2012-08-08 Mark Salter <msalter@redhat.com>
27219 (R_MN10300_TLS_GD): Define.
27220 (R_MN10300_TLS_LD): Likewise.
27221 (R_MN10300_TLS_LDO): Likewise.
27222 (R_MN10300_TLS_GOTIE): Likewise.
27223 (R_MN10300_TLS_IE): Likewise.
27224 (R_MN10300_TLS_LE): Likewise.
27225 (R_MN10300_TLS_DTPMOD): Likewise.
27226 (R_MN10300_TLS_DTPOFF): Likewise.
27227 (R_MN10300_TLS_TPOFF): Likewise.
27228 (R_MN10300_SYM_DIFF): Likewise.
27229 (R_MN10300_ALIGN): Likewise.
27230 (R_MN10300_NUM): Update.
27232 2012-08-08 Joseph Myers <joseph@codesourcery.com>
27234 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27237 2012-08-08 Roland McGrath <roland@hack.frob.com>
27239 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27241 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27242 sysdeps/unix -> sysdeps/posix move.
27243 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27245 2012-08-07 Allan McRae <allan@archlinux.org>
27248 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27249 (SUNOS_CPP): Likewise.
27250 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27252 (open_input): Call CPP using execvp.
27254 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27256 * sysdeps/unix/sysv/linux/kernel-features.h
27257 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27258 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27259 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27260 (__ASSUME_WAITID_SYSCALL): Likewise.
27261 * sysdeps/unix/sysv/linux/dl-execstack.c
27262 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27263 code unconditional.
27264 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27266 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27267 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27268 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27270 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27272 [__ASSUME_WAITID_SYSCALL]: Likewise.
27273 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27275 2012-08-07 Roland McGrath <roland@hack.frob.com>
27277 * sysdeps/unix/closedir.c: Renamed to ...
27278 * sysdeps/posix/closedir.c: ... here.
27279 * sysdeps/unix/dirfd.c: Renamed to ...
27280 * sysdeps/posix/dirfd.c: ... here.
27281 * sysdeps/unix/dirstream.h: Renamed to ...
27282 * sysdeps/posix/dirstream.h: ... here.
27283 * sysdeps/unix/fdopendir.c: Renamed to ...
27284 * sysdeps/posix/fdopendir.c: ... here.
27285 * sysdeps/unix/opendir.c: Renamed to ...
27286 * sysdeps/posix/opendir.c: ... here.
27287 * sysdeps/unix/readdir.c: Renamed to ...
27288 * sysdeps/posix/readdir.c: ... here.
27289 * sysdeps/unix/readdir_r.c: Renamed to ...
27290 * sysdeps/posix/readdir_r.c: ... here.
27291 * sysdeps/unix/rewinddir.c: Renamed to ...
27292 * sysdeps/posix/rewinddir.c: ... here.
27293 * sysdeps/unix/seekdir.c: Renamed to ...
27294 * sysdeps/posix/seekdir.c: ... here.
27295 * sysdeps/unix/telldir.c: Renamed to ...
27296 * sysdeps/posix/telldir.c: ... here.
27297 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27298 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27299 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27300 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27302 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27303 * bits/fcntl.h: ... here.
27305 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27307 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27308 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27309 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27310 (struct flock): Move l_start, l_len to the beginning.
27311 Use __pid_t for l_pid.
27312 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27313 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27314 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27315 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27316 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27317 [__USE_LARGEFILE64] (struct flock64): New type.
27318 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27320 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27321 * bits/dirent.h: ... here.
27323 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27324 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27326 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27328 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27329 Change from 2.6.0 to 2.6.16.
27330 * sysdeps/unix/sysv/linux/configure: Regenerated.
27331 * sysdeps/unix/sysv/linux/kernel-features.h
27332 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27333 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27335 (__ASSUME_UTIMES): Likewise.
27336 (__ASSUME_CLONE_STOPPED): Remove.
27337 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27338 architectures, not kernel version.
27339 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27340 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27341 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27342 (__ASSUME_WAITID_SYSCALL): Likewise.
27343 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27344 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27345 * README: State 2.6.16 as minimum Linux kernel version. Do not
27346 refer to older versions.
27348 2012-08-06 Roland McGrath <roland@hack.frob.com>
27350 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27351 Define alphasort64 as an alias.
27352 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27353 Define versionsort64 as an alias.
27354 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27355 Define scandir64 as an alias.
27356 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27357 Define scandirat64 as an alias.
27358 * dirent/alphasort64.c (alphasort64):
27359 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27360 * dirent/versionsort64.c: Likewise.
27361 * dirent/scandir64.c: Likewise.
27362 * dirent/scandirat64.c: Likewise.
27363 * sysdeps/wordsize-64/alphasort.c: File removed.
27364 * sysdeps/wordsize-64/alphasort64.c: File removed.
27365 * sysdeps/wordsize-64/scandir.c: File removed.
27366 * sysdeps/wordsize-64/scandir64.c: File removed.
27367 * sysdeps/wordsize-64/scandirat.c: File removed.
27368 * sysdeps/wordsize-64/scandirat64.c: File removed.
27369 * sysdeps/wordsize-64/versionsort.c: File removed.
27370 * sysdeps/wordsize-64/versionsort64.c: File removed.
27371 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27372 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27373 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27374 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27375 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27376 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27378 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27380 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27381 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27382 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27384 [defined __arch64__ || defined __sparcv9]
27385 (__INO_T_MATCHES_INO64_T): New macro.
27386 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27387 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27388 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27389 * sysdeps/unix/sysv/linux/bits/dirent.h
27390 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27391 (_DIRENT_MATCHES_DIRENT64): New macro.
27393 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27394 Define lockf64 as an alias.
27395 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27396 Define fseeko64 as an alias.
27397 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27398 Define ftello64 as an alias.
27399 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27400 Define _IO_fgetpos64 and fgetpos64 as aliases.
27401 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27402 Define _IO_fsetpos64 and fsetpos64 as aliases.
27403 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27404 Conditionalize body on this.
27405 * libio/fseeko64.c: Likewise.
27406 * libio/ftello64.c: Likewise.
27407 * libio/iofgetpos64.c: Likewise.
27408 * libio/iofsetpos64.c: Likewise.
27409 * sysdeps/wordsize-64/lockf.c: File removed.
27410 * sysdeps/wordsize-64/lockf64.c: File removed.
27411 * sysdeps/wordsize-64/fseeko.c: File removed.
27412 * sysdeps/wordsize-64/fseeko64.c: File removed.
27413 * sysdeps/wordsize-64/ftello.c: File removed.
27414 * sysdeps/wordsize-64/ftello64.c: File removed.
27415 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27416 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27417 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27418 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27419 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27420 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27421 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27422 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27423 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27424 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27425 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27426 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27427 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27428 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27430 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27431 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27432 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27434 [defined __arch64__ || defined __sparcv9]
27435 (__OFF_T_MATCHES_OFF64_T): New macro.
27436 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27437 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27438 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27439 (__OFF_T_MATCHES_OFF64_T): New macro.
27441 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27443 * stdlib/secure-getenv.c (__secure_getenv): Replace
27444 GLIBC_2_16 with GLIBC_2_17.
27446 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27448 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27449 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27451 2012-08-03 David S. Miller <davem@davemloft.net>
27453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27455 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27457 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27459 (__ASSUME_CORRECT_SI_PID): Likewise.
27460 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27461 (__ASSUME_TMPFS_NAME): Likewise.
27462 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27463 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27464 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27465 (HAVE_AUX_SECURE): Make definition unconditional.
27466 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27467 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27469 2012-08-03 Roland McGrath <roland@hack.frob.com>
27471 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27472 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27473 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27474 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27475 __eloop_threshold instead of SYMLOOP_MAX.
27477 * sysdeps/generic/eloop-threshold.h: New file.
27478 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27480 * elf/chroot_canon.c (chroot_canon): Likewise.
27482 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27485 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27486 Change to 2.6.0 everywhere.
27487 * sysdeps/unix/sysv/linux/configure: Regenerated.
27488 * sysdeps/unix/sysv/linux/kernel-features.h
27489 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27490 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27492 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27493 (__ASSUME_FUTEX_REQUEUE): Remove.
27494 (__ASSUME_STATFS64): Define unconditionally.
27495 (__ASSUME_AT_SECURE): Likewise.
27496 (__ASSUME_CORRECT_SI_PID): Likewise.
27497 (__ASSUME_TGKILL): Define without depending on kernel version for
27499 (__ASSUME_UTIMES): Likewise.
27500 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27502 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27503 (__ASSUME_TMPFS_NAME): Likewise.
27504 * README: Update reference to Linux kernel versions.
27506 2012-08-02 Marek Polacek <polacek@redhat.com>
27509 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27510 libc_cv_asm_type_prefix with %.
27511 * configure: Regenerated.
27512 * include/libc-symbols.h: Remove comment about
27513 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27514 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27515 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27516 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27517 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27518 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27519 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27520 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27521 * elf/tst-unique2mod1.c: Likewise.
27522 * elf/tst-unique1mod2.c: Likewise.
27523 * elf/tst-unique1mod1.c: Likewise.
27524 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27525 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27526 Replace ASM_TYPE_DIRECTIVE with .type.
27527 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27528 * sysdeps/i386/sysdep.h: Likewise.
27529 * sysdeps/x86_64/sysdep.h: Likewise.
27530 * sysdeps/sh/sysdep.h: Likewise.
27531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27532 Do not define ASM_TYPE_DIRECTIVE.
27533 * sysdeps/powerpc/sysdep.h: Likewise.
27534 * sysdeps/powerpc/powerpc32/sysdep.h:
27535 Replace ASM_TYPE_DIRECTIVE with .type.
27536 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27537 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27538 * sysdeps/i386/fpu/e_powf.S: Likewise.
27539 * sysdeps/i386/fpu/e_expl.S: Likewise.
27540 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27541 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27542 * sysdeps/i386/fpu/e_pow.S: Likewise.
27543 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27544 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27545 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27546 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27547 * sysdeps/i386/fpu/e_log2.S: Likewise.
27548 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27549 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27550 * sysdeps/i386/fpu/e_powl.S: Likewise.
27551 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27552 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27553 * sysdeps/i386/fpu/e_logl.S: Likewise.
27554 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27555 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27556 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27557 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27558 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27559 * sysdeps/i386/fpu/e_log.S: Likewise.
27560 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27561 * sysdeps/i386/fpu/e_logf.S: Likewise.
27562 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27563 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27564 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27565 * sysdeps/i386/fpu/e_log10.S: Likewise.
27566 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27567 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27568 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27569 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27570 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27571 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27572 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27573 * sysdeps/i386/i686/strtok.S: Likewise.
27574 * sysdeps/i386/i386-mcount.S: Likewise.
27575 * sysdeps/i386/strtok.S: Likewise.
27576 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27577 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27578 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27579 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27580 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27581 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27582 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27583 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27584 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27585 * sysdeps/x86_64/_mcount.S: Likewise.
27586 * sysdeps/x86_64/strtok.S: Likewise.
27587 * sysdeps/sh/_mcount.S: Likewise.
27589 2012-08-01 Roland McGrath <roland@hack.frob.com>
27591 * libio/iofopen.c: Include <fcntl.h>.
27592 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27593 (_IO_fopen64, fopen64): Define as aliases.
27594 * libio/iofopen64.c: Include <fcntl.h>.
27595 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27596 Conditionalize body on this.
27597 * sysdeps/wordsize-64/iofopen.c: File removed.
27598 * sysdeps/wordsize-64/iofopen64.c: File removed.
27600 2012-08-01 Marek Polacek <polacek@redhat.com>
27602 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27603 Use dlfcn directly instead of a variable.
27604 (binfmt-subdir): Do not define.
27607 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27609 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27610 Remove all definitions.
27611 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27612 <kernel-features.h>.
27613 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27614 (miss_F_GETOWN_EX): Remove all definitions.
27615 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27617 [!__ASSUME_FCNTL64]: Remove conditional code.
27618 [__ASSUME_FCNTL64]: Make code unconditional.
27619 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27620 <kernel-features.h>.
27621 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27622 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27623 (lockf64) [__NR_fcntl64]: Make code unconditional.
27624 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27626 * sysdeps/unix/sysv/linux/kernel-features.h
27627 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27628 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27629 Make code unconditional.
27630 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27631 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27633 [__NR_vfork]: Make code unconditional.
27634 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27635 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27637 [__NR_vfork]: Make code unconditional.
27638 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27639 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27641 2012-08-01 Roland McGrath <roland@hack.frob.com>
27643 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27644 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27646 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27647 Define mkstemp64 as an alias.
27648 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27649 Define mkstemps64 as an alias.
27650 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27651 Define mkostemp64 as an alias.
27652 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27653 Define mkostemps64 as an alias.
27654 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27655 Conditionalize body on this.
27656 * misc/mkostemp64.c: Likewise.
27657 * misc/mkostemps64.c: Likewise.
27658 * misc/mkstemps64.c: Likewise.
27659 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27660 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27661 * sysdeps/wordsize-64/mkostemp.c: File removed.
27662 * sysdeps/wordsize-64/mkstemp.c: File removed.
27663 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27664 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27665 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27666 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27669 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27670 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27671 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27672 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27674 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27675 compat_symbol macros from <shlib-compat.h> rather than the underlying
27676 default_symbol_version and symbol_version macros, so that DEFAULT
27677 lines in shlib-versions are respected.
27678 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27680 2012-08-01 Florian Weimer <fweimer@redhat.com>
27682 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27683 Declare with warn_unused_result.
27684 (setgid, setregid, setegid, setresgid): Likewise.
27685 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27687 * WUR-REPORT: Remove set*id functions.
27689 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27691 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27693 2012-07-31 Roland McGrath <roland@hack.frob.com>
27696 * include/sys/socket.h (__libc_accept, __libc_accept4):
27697 Add attribute_hidden.
27698 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27700 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27702 * inet/getnetgrent_r.c (setup): Likewise.
27704 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27706 2012-07-31 David S. Miller <davem@davemloft.net>
27708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27710 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27713 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27714 value between 1.0 and 2.0 and smaller part has absolute value less
27716 * math/s_clog10.c (__clog10): Likewise.
27717 * math/s_clog10f.c (__clog10f): Likewise.
27718 * math/s_clog10l.c (__clog10l): Likewise.
27719 * math/s_clogf.c (__clogf): Likewise.
27720 * math/s_clogl.c (__clogl): Likewise.
27721 * math/libm-test.inc (clog_test): Add more tests.
27722 (clog10_test): Likewise.
27723 * sysdeps/i386/fpu/libm-test-ulps: Update.
27724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27726 2012-07-31 Florian Weimer <fweimer@redhat.com>
27728 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27729 Exit with zero in case no suitable GID is found, and write a
27730 message to standard error.
27732 2012-07-30 Roland McGrath <roland@hack.frob.com>
27734 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27736 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27737 (MAXPATHLEN): Removed.
27738 (NOGROUP, NODEV): New macros.
27739 (setbit, clrbit, isset, isclr): New macros.
27740 (howmany, roundup, powerof2): New macros.
27741 (DEV_BSIZE): New macro.
27743 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27744 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27746 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27747 definition on [!__NO_LONG_DOUBLE_MATH].
27749 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27750 PTR_MANGLE and PTR_DEMANGLE.
27752 * socket/accept4.c (accept4): Rename to __libc_accept4.
27753 Define accept4 as a weak alias.
27755 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27756 on [_DIRENT_HAVE_D_TYPE].
27757 * io/ftw.c (ftw_dir): Likewise.
27759 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27761 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27763 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27764 Use the BSD numbers rather than the arbitrary ones we had.
27765 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27766 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27767 (SIGXCPU, SIGXFSZ): New macros.
27770 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27771 initializer on [_LIBC_REENTRANT].
27773 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27774 definitions inside [_POSIX_MAPPED_FILES].
27776 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27778 * dirent/opendir.c: Include <fcntl.h>.
27780 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27781 (__libc_getspecific): Likewise.
27782 (__libc_key_create): Likewise.
27784 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27785 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27786 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27787 (tmpfile64): Define as alias.
27788 * sysdeps/wordsize-64/tmpfile.c: File removed.
27789 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27790 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27791 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27793 * stdio-common/vfscanf.c: Include <stdbool.h>.
27794 * nss/makedb.c: Likewise.
27795 * stdio-common/_i18n_number.h: Likewise.
27796 * argp/argp-help.c: Likewise.
27797 * posix/wordexp.c: Likewise.
27798 * sysdeps/posix/spawni.c: Likewise.
27799 * nss/nss_files/files-initgroups.c: Likewise.
27800 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27801 * nss/nss_files/files-initgroups.c: Likewise.
27802 * nss/nss_db/db-netgrp.c: Likewise.
27803 * nss/nss_db/db-initgroups.c: Likewise.
27804 * io/fchmodat.c: Include <sys/stat.h>.
27806 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27807 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27809 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27812 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27813 Add multiple inclusion protection.
27815 2012-07-27 David S. Miller <davem@davemloft.net>
27817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27819 2012-07-27 Gary Benson <gbenson@redhat.com>
27822 * elf/rtld.c: Include <stap-probe.h>.
27823 (dl_main): Added static probes "init_start" and "init_complete".
27824 * elf/dl-load.c: Include <stap-probe.h>.
27825 (lose): Take new parameter "nsid".
27826 Added static probe "map_failed".
27827 (_dl_map_object_from_fd): Pass namespace id to lose.
27828 Added static probe "map_start".
27829 (open_verify): Pass namespace id to lose.
27830 * elf/dl-open.c: Include <stap-probe.h>.
27831 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27832 and "reloc_complete".
27833 * elf/dl-close.c: Include <stap-probe.h>.
27834 (_dl_close_worker): Added static probes "unmap_start" and
27836 * elf/rtld-debugger-interface.txt: New file documenting the above.
27838 2012-07-26 Roland McGrath <roland@hack.frob.com>
27840 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27841 rather than a string variable.
27842 * sunrpc/rpc_main.c (h_output): Likewise.
27843 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27845 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27847 * inet/check_native.c: New file.
27849 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27852 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27853 if larger part has absolute value 1.0.
27854 * math/s_clog10.c (__clog10): Likewise.
27855 * math/s_clog10f.c (__clog10f): Likewise.
27856 * math/s_clog10l.c (__clog10l): Likewise.
27857 * math/s_clogf.c (__clogf): Likewise.
27858 * math/s_clogl.c (__clogl): Likewise.
27859 * math/libm-test.inc (clog_test): Add more tests.
27860 (clog10_test): Likewise.
27861 * sysdeps/i386/fpu/libm-test-ulps: Update.
27862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27864 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27865 (pltexit): Likewise.
27866 (La_regs): Likewise.
27867 (La_retval): Likewise.
27868 (int_retval): Likewise.
27869 Update #error for removed macros to refer only to definitions in
27871 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27873 (pltexit): Likewise.
27874 (La_regs): Likewise.
27875 (La_retval): Likewise.
27876 (int_retval): Likewise.
27877 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27879 (pltexit): Likewise.
27880 (La_regs): Likewise.
27881 (La_retval): Likewise.
27882 (int_retval): Likewise.
27883 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27885 (pltexit): Likewise.
27886 (La_regs): Likewise.
27887 (La_retval): Likewise.
27888 (int_retval): Likewise.
27889 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27891 (pltexit): Likewise.
27892 (La_regs): Likewise.
27893 (La_retval): Likewise.
27894 (int_retval): Likewise.
27895 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27897 (pltexit): Likewise.
27898 (La_regs): Likewise.
27899 (La_retval): Likewise.
27900 (int_retval): Likewise.
27901 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27903 (pltexit): Likewise.
27904 (La_regs): Likewise.
27905 (La_retval): Likewise.
27906 (int_retval): Likewise.
27907 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27908 macro definitions in tst-audit.h.
27909 * sysdeps/i386/tst-audit.h: New file.
27910 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27911 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27912 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27913 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27914 * sysdeps/sh/tst-audit.h: Likewise.
27915 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27916 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27917 * sysdeps/x86_64/tst-audit.h: Likewise.
27919 2012-07-26 Andreas Jaeger <aj@suse.de>
27921 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27924 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27925 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27926 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27928 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27929 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27930 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27932 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27935 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27937 (si_call_addr, si_syscall, si_arch): Define new macro.
27938 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27940 (si_call_addr, si_syscall, si_arch): Define new marcro.
27941 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27943 (si_call_addr, si_syscall, si_arch): Define new macro.
27944 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27946 (si_call_addr, si_syscall, si_arch): Define new macro.
27948 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27952 Change to 2.4.21 where previously 2.4.1.
27953 * sysdeps/unix/sysv/linux/configure: Regenerated.
27954 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27955 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27956 Linux kernel version.
27957 (__ASSUME_STD_AUXV): Remove.
27958 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27960 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27961 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27962 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27963 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27964 (__ASSUME_NETLINK_SUPPORT): Likewise.
27965 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27966 (__no_netlink_support): Remove conditional definition.
27967 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27969 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27970 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27971 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27972 (if_nameindex_ioctl): Remove.
27973 (if_nameindex_netlink): Do not handle __no_netlink_support.
27974 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27976 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27977 Remove conditional code.
27978 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27980 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27982 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27983 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27984 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27986 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27987 [!__ASSUME_STD_AUXV]: Remove conditional code.
27988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27989 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27990 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27992 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27993 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27995 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27997 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27998 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28000 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28002 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28005 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28008 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28009 code unconditional.
28010 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28012 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28014 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28017 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28019 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28022 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28023 code unconditional.
28024 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28026 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28028 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28031 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28032 code unconditional.
28033 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28035 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28037 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28040 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28042 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28043 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28044 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28045 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28046 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28047 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28048 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28049 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28050 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28051 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28052 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28053 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28054 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28055 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28056 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28057 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28058 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28059 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28060 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28062 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28063 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28064 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28066 2012-07-25 Florian Weimer <fweimer@redhat.com>
28068 * Versions.def: Add GLIBC_2.17.
28069 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28070 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28071 Introduce __libc_secure_getenv.
28072 * stdlib/Versions (2.17): Add secure_getenv
28073 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28074 * stdlib/secure-getenv.c: Rename __secure_getenv to
28075 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28076 symbol __secure_getenv for GLIBC_2.0.
28077 * stdlib/tst-secure-getenv.c: New.
28078 * stdlib/Makefile (tests): Add testcase.
28079 * manual/startup.texi (Environment Access): Document
28081 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28082 __libc_secure_getenv.
28083 * inet/ruserpass.c (ruserpass): Likewise.
28084 * malloc/mtrace.c (mtrace): Likewise.
28085 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28086 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28087 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28088 * sysdeps/posix/tempname.c: Likewise. Evaluate
28089 HAVE_SECURE_GETENV.
28090 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28091 __secure_getenv to __libc_secure_getenv.
28092 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28099 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28105 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28107 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28108 (struct La_i86_retval): Likewise.
28109 (struct La_x86_64_regs): Likewise.
28110 (struct La_x86_64_retval): Likewise.
28111 (struct La_x32_regs): Likewise.
28112 (struct La_x32_retval): Likewise.
28113 (struct La_ppc32_regs): Likewise.
28114 (struct La_ppc32_retval): Likewise.
28115 (struct La_ppc64_regs): Likewise.
28116 (struct La_ppc64_retval): Likewise.
28117 (struct La_sh_regs): Likewise.
28118 (struct La_sh_retval): Likewise.
28119 (struct La_s390_32_regs): Likewise.
28120 (struct La_s390_32_retval): Likewise.
28121 (struct La_s390_64_regs): Likewise.
28122 (struct La_s390_64_retval): Likewise.
28123 (struct La_sparc32_regs): Likewise.
28124 (struct La_sparc32_retval): Likewise.
28125 (struct La_sparc64_regs): Likewise.
28126 (struct La_sparc64_retval): Likewise.
28127 (struct audit_ifaces): Remove architecture-specific pltenter and
28129 * sysdeps/i386/ldsodefs.h: New file.
28130 * sysdeps/powerpc/ldsodefs.h: Likewise.
28131 * sysdeps/s390/ldsodefs.h: Likewise.
28132 * sysdeps/sh/ldsodefs.h: Likewise.
28133 * sysdeps/sparc/ldsodefs.h: Likewise.
28134 * sysdeps/x86_64/ldsodefs.h: Likewise.
28136 2012-07-25 Marek Polacek <polacek@redhat.com>
28139 * math/libm-test.inc (yn_test): Add another test.
28140 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28141 to ERANGE when the result is +-Inf.
28142 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28143 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28144 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28145 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28147 2012-07-24 Joseph Myers <joseph@codesourcery.com>
28149 * conform/data/time.h-data (NULL): Use macro-constant. Require
28151 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28153 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28155 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28157 * configure.in <sysdeps resolving>: Correct printing
28159 * configure: Regenerate.
28161 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28163 * math/w_ilogb.c: Include <limits.h>.
28164 * math/w_ilogbl.c: Likewise.
28166 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28168 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28169 va_copy. Document allowing for unavailable va_copy only as
28170 pre-C99 compatibility.
28171 * manual/string.texi (Copying and Concatenation): Use va_copy
28172 instead of __va_copy in concat example.
28174 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28176 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28177 (__sendto): Use create_address_port. Initialize APORT and deallocate
28180 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28181 with O_NOLINK passed to __file_name_lookup.
28183 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28184 with O_NOLINK passed to __file_name_lookup.
28186 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28187 negative N or less than NGIDS.
28189 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28190 type to string_t. Set ERANGE as errno and return it if NAME is not big
28191 enough. Use memcpy instead of strncpy.
28193 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28195 * elf/Makefile (check-data): Remove.
28196 (localplt.data): New vpath directive.
28197 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28198 instead of $(check-data).
28199 * scripts/data/localplt-generic.data: Move to ...
28200 * sysdeps/generic/localplt.data: ... here.
28201 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28202 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28203 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28206 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28209 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28212 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28215 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28218 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28222 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28224 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28225 PPC32 and PPC64 files.
28226 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28227 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28229 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28231 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28232 __makecontext_ret to ...
28233 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28234 ... here and call exit if uc_link is NULL. New file.
28235 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28236 __makecontext_ret.S.
28237 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28238 __makecontext_ret to ...
28239 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28240 ... here and call exit if uc_link is NULL. New file.
28241 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28242 __makecontext_ret.S.
28244 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28246 * elf/elf.h (R_390_IRELATIVE): New definition.
28247 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28248 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28249 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28250 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28251 (elf_machine_lazy_rel): Likewise.
28252 * sysdeps/s390/dl-irel.h: New file.
28253 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28254 * sysdeps/s390/s390-64/memset.S: New asm code.
28255 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28256 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28257 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28258 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28259 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28260 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28261 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28262 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28263 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28264 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28265 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28266 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28267 * sysdeps/s390/s390-32/memset.S: New asm code.
28268 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28270 2012-07-17 Marek Polacek <polacek@redhat.com>
28273 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28274 * sysdeps/s390/s390-64/configure.in: Likewise.
28275 * sysdeps/sparc/configure.in: Likewise.
28276 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28277 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28278 * sysdeps/i386/configure.in: Likewise.
28279 * sysdeps/x86_64/configure.in: Likewise.
28280 * sysdeps/sh/configure.in: Likewise.
28281 * sysdeps/s390/s390-32/configure: Regenerated.
28282 * sysdeps/s390/s390-64/configure: Likewise.
28283 * sysdeps/x86_64/configure: Likewise.
28284 * sysdeps/sh/configure: Likewise.
28285 * sysdeps/powerpc/powerpc64/configure: Likewise.
28286 * sysdeps/powerpc/powerpc32/configure: Likewise.
28287 * sysdeps/sparc/configure: Likwise.
28288 * sysdeps/i386/configure: Likewise.
28290 * elf/dl-open.c: Comment fixes.
28292 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28294 * Makefile [CXX] (check-data): Remove.
28295 [CXX] (c++-types.data): New vpath directive.
28296 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28297 vpath. Do not allow for C++ type data being missing.
28298 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28299 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28300 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28301 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28302 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28303 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28304 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28307 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28310 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28313 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28316 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28319 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28322 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28325 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28328 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28329 definitions to architecture-specific files.
28330 (TLS_IE): Likewise.
28331 (TLS_LD): Likewise.
28332 (TLS_GD): Likewise.
28333 * sysdeps/i386/tls-macros.h: New file.
28334 * sysdeps/powerpc/tls-macros.h: Likewise.
28335 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28336 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28337 * sysdeps/sh/tls-macros.h: Likewise.
28338 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28339 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28340 * sysdeps/x86_64/tls-macros.h: Likewise.
28342 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28344 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28345 zero value for regular exit case.
28347 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28348 (__start_context): Preserve zero value for regular exit case.
28350 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28351 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28353 * manual/setjmp.texi (setcontext): Clarify normal process
28354 termination when uc_link is the null pointer.
28355 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28358 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28360 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28361 preprocessor. Test for each exception mask separately.
28363 2012-07-16 Andreas Jaeger <aj@suse.de>
28365 * po/ru.po: Update from translation team.
28367 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28369 * conform/data/string.h-data (NULL): Use macro-constant. Require
28371 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28372 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28373 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28374 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28377 2012-07-13 Andreas Jaeger <aj@suse.de>
28379 * po/fr.po: Update from translation team.
28381 2012-07-12 Marek Polacek <polacek@redhat.com>
28384 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28385 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28388 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28391 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28392 Change to 2.4.1 where previously 2.4.0.
28393 * sysdeps/unix/sysv/linux/configure: Regenerated.
28394 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28395 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28397 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28398 (__ASSUME_AT_CLKTCK): Remove.
28399 (__ASSUME_AT_PAGESIZE): Likewise.
28400 (__ASSUME_AT_XID): Likewise.
28401 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28402 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28403 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28405 (HAVE_AUX_PAGESIZE): Likewise.
28406 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28407 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28408 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28410 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28414 the temporary buffer used to invoke __gethostbyname2_r,
28415 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28416 host_data / struct gaih_addrtuple.
28417 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28418 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28419 header file nss/nsswitch.h.
28420 * nss/nsswitch.h (global scope): Add definition of implementation
28421 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28422 resolv/nss_dns/dns-host.c).
28424 2012-07-11 Andreas Jaeger <aj@suse.de>
28426 * po/fr.po: Update from translation team.
28428 * po/sv.po: Update from translation team
28429 * po/fr.po: Another update from translation team.
28431 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28433 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28434 for subnormals or multiply small sinh result by itself.
28435 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28438 2012-07-11 David S. Miller <davem@davemloft.net>
28440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28442 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28445 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28446 (INTERNAL_MARK): Shift it here.
28448 2012-07-10 Marek Polacek <polacek@redhat.com>
28451 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28452 libc_cv_asm_global_directive with .globl.
28453 * configure: Regenerated.
28454 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28456 * sysdeps/i386/configure: Regenerated.
28457 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28459 * sysdeps/x86_64/configure: Regenerated.
28460 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28461 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28462 * elf/tst-unique2mod2.c: Likewise.
28463 * elf/tst-unique2mod1.c: Likewise.
28464 * elf/tst-unique1mod2.c: Likewise.
28465 * elf/tst-unique1mod1.c: Likewise.
28466 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28467 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28468 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28469 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28470 * sysdeps/mach/sysdep.h: Likewise.
28471 * sysdeps/i386/sysdep.h: Likewise.
28472 * sysdeps/i386/i386-mcount.S: Likewise.
28473 * sysdeps/x86_64/_mcount.S: Likewise.
28474 * sysdeps/x86_64/sysdep.h: Likewise.
28475 * sysdeps/sh/_mcount.S: Likewise.
28476 * sysdeps/sh/sysdep.h: Likewise.
28477 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28478 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28479 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28480 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28481 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28482 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28483 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28484 * locale/localeinfo.h: Likewise.
28485 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28486 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28488 2012-07-09 Roland McGrath <roland@hack.frob.com>
28491 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28493 * manual/message.texi (The Uniforum approach): Likewise.
28494 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28495 (glibc iconv Implementation): Likewise.
28497 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28500 * math/s_clog.c (__clog): Avoid scaling a value down where that
28501 could result in underflow.
28502 * math/s_clog10.c (__clog10): Likewise.
28503 * math/s_clog10f.c (__clog10f): Likewise.
28504 * math/s_clog10l.c (__clog10l): Likewise.
28505 * math/s_clogf.c (__clogf): Likewise.
28506 * math/s_clogl.c (__clogl): Likewise.
28507 * math/libm-test.inc (clog_test): Add more tests.
28508 (clog10_test): Likewise.
28509 * sysdeps/i386/fpu/libm-test-ulps: Update.
28510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28512 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28515 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28516 by 7 not 8 to examine high bit of fractional part.
28519 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28520 for call to __mcount_internal.
28521 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28522 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28523 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28525 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28528 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28529 approximation for values within 0x1p-13f of an odd multiple of
28531 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28532 exception. Add more tests.
28533 * sysdeps/i386/fpu/libm-test-ulps: Update.
28536 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28537 inputs and return -1 for them. Do not check for +Inf in case not
28538 reachable for +Inf.
28539 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28540 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
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 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28546 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28547 and return -1 for them. Do not check for +Inf in case not
28548 reachable for +Inf.
28549 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28550 spurious underflow.
28551 * sysdeps/i386/fpu/libm-test-ulps: Update.
28552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28554 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28556 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28558 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28562 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28563 could result in spurious underflow. Scale down values above
28564 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28565 * math/s_csqrtf.c (__csqrtf): Likewise.
28566 * math/s_csqrtl.c (__csqrtl): Likewise.
28567 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28568 spurious underflow.
28569 * sysdeps/i386/fpu/libm-test-ulps: Update.
28570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28572 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28574 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28576 * catgets/xopen-msg.awk: New file.
28577 * catgets/xopen-msg.sed: Removed.
28579 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28581 * intl/po2test.awk: New file.
28582 * intl/po2test.sed: Removed.
28584 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28587 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28588 or multiply small sinh result by itself.
28589 * math/s_ctanf.c (__ctanf): Likewise.
28590 * math/s_ctanh.c (__ctanh): Likewise.
28591 * math/s_ctanhf.c (__ctanhf): Likewise.
28592 * math/s_ctanhl.c (__ctanhl): Likewise.
28593 * math/s_ctanl.c (__ctanl): Likewise.
28594 * math/libm-test.inc (ctan_test_tonearest): New function.
28595 (ctan_test_towardzero): Likewise.
28596 (ctan_test_downward): Likewise.
28597 (ctan_test_upward): Likewise.
28598 (ctanh_test_tonearest): Likewise.
28599 (ctanh_test_towardzero): Likewise.
28600 (ctanh_test_downward): Likewise.
28601 (ctanh_test_upward): Likewise.
28602 (main): Call these new functions.
28603 * sysdeps/i386/fpu/libm-test-ulps: Update.
28604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28606 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28608 * .gitignore: Delete /ports entry.
28610 2012-07-03 Andreas Jaeger <aj@suse.de>
28612 * po/bg.po: Update from translation team.
28613 * po/cs.po: Likewise.
28614 * po/de.po: Likewise.
28615 * po/hr.po: Likewise.
28616 * po/nl.pl: Likewise.
28617 * po/pl.po: Likewise.
28618 * po/vi.po: Likewise.
28620 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28622 * Makeconfig [!+link] (+link-before-libc): New variable.
28623 [!+link] (+link-after-libc): Likewise.
28624 [!+link] (+link-tests): Likewise.
28625 [!+link] (+link): Define in terms of $(+link-before-libc) and
28626 $(+link-after-libc).
28627 [!+link-static] (+link-static-before-libc): New variable.
28628 [!+link-static] (+link-static-after-libc): Likewise.
28629 [!+link-static] (+link-static-tests): Likewise.
28630 [!+link-static] (+link-static): Define in terms of
28631 $(+link-static-before-libc) and $(+link-static-after-libc).
28632 [build-shared] (link-libc-before-gnulib): New variable.
28633 [build-shared] (link-libc-tests): Likewise.
28634 [build-shared] (link-libc): Define in terms of
28635 $(link-libc-before-gnulib).
28636 [!build-shared] (link-libc-tests): New variable.
28637 (link-libc-static-tests): New variable.
28638 [!gnulib] (gnulib-arch): New variable.
28639 [!gnulib] (gnulib-tests): Likewise.
28640 [!gnulib] (static-gnulib-arch): Likewise.
28641 [!gnulib] (static-gnulib-tests): Likewise.
28642 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28643 Define with "=" instead of ":=".
28644 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28645 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28646 * Rules (binaries-all-notests): New variable.
28647 (binaries-all-tests): Likewise.
28648 (binaries-static-notests): Likewise.
28649 (binaries-static-tests): Likewise.
28650 (binaries-all): Define using $(binaries-all-notests) and
28651 $(binaries-all-tests).
28652 (binaries-static): Define using $(binaries-static-notests) and
28653 $(binaries-static-tests).
28654 (binaries-shared-tests): New variable.
28655 (binaries-shared-notests): Likewise.
28656 (binaries-shared): Remove variable.
28657 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28658 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28659 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28660 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28661 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28662 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28663 * elf/Makefile (sln-modules): New variable.
28664 (extra-objs): Add $(sln-modules:=.o).
28665 (ldconfig-modules): Add static-stubs.
28666 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28667 * elf/static-stubs.c: New file.
28670 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28671 by 7 not 8 to examine high bit of fractional part. Use volatile
28672 variables when splitting into final array of floats if
28673 __FLT_EVAL_METHOD__ != 0.
28674 * math/libm-test.inc (cos_test): Add another test.
28675 (sin_test): Likewise.
28676 * sysdeps/i386/fpu/libm-test-ulps: Update.
28679 * math/libm-test.inc (cosh_test): Add more tests.
28681 * version.h (RELEASE): Set to "development".
28682 (VERSION): Set to "2.16.90".
28684 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28686 * NEWS: Update copyright. Remove last-updated date.
28687 Mention math library bug fixes and timezone data changes.
28688 * README: Mention GNU/Hurd, x32, and HPPA support status.
28690 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28692 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28694 2012-06-27 Andreas Jaeger <aj@suse.de>
28696 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28698 2012-06-25 Andreas Jaeger <aj@suse.de>
28700 * sysdeps/s390/fpu/libm-test-ulps: Update.
28702 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28703 Thomas Schwinge <thomas@codesourcery.com>
28705 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28706 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28707 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28710 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28712 * sysdeps/mach/start.c: Remove file.
28713 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28714 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28715 * sysdeps/sh/init-first.c: Likewise.
28717 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28718 registers for frame unwinding purposes, add CFI directives.
28719 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28720 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28721 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28724 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28725 __fortify_fail returning.
28726 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28728 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28729 sysdeps/sh/____longjmp_chk.S.
28730 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28731 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28732 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28733 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28735 * sysdeps/sh/abort-instr.h: New file.
28736 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28737 process in case exit returns.
28739 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28740 initialize the GOT register before use.
28742 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28743 calculation of ARGC > 4.
28745 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28746 meaningful names to some local labels.
28748 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28749 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28751 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28752 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28753 (__arch_compare_and_exchange_val_16_acq): Likewise.
28754 (__arch_compare_and_exchange_val_32_acq): Likewise.
28755 (atomic_exchange_and_add): Fix gUSA sequence.
28756 (atomic_add): Likewise.
28757 (atomic_add_negative): Likewise.
28758 (atomic_add_zero): Likewise.
28759 (atomic_bit_test_set): Likewise.
28761 2012-06-22 Andreas Schwab <schwab@redhat.com>
28764 * include/link.h (struct link_map): Add l_free_initfini.
28765 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28767 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28768 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28769 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28772 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28774 * configure.in: Use AC_LANG_SOURCE.
28775 * configure: Regenerate.
28777 2012-06-22 Roland McGrath <roland@hack.frob.com>
28779 * configure.in (libc_cv_localstatedir): New substituted variable.
28780 * configure: Regenerated.
28781 * config.make.in (localstatedir): New variable, substituted from
28782 libc_cv_localstatedir.
28783 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28784 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28785 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28786 * sysdeps/gnu/configure: Regenerated.
28788 2012-06-21 Jeff Law <law@redhat.com>
28791 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28792 free. Simplify list management for _LIBC case.
28794 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28797 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28798 Clear sign bit of 64-bit integer value before comparing against
28801 * sysdeps/mach/configure: Regenerated.
28803 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28806 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28808 2012-06-21 Jeff Law <law@redhat.com>
28811 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28812 uint16_t for elements in the "seen" array to avoid char overflows.
28813 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28814 * elf/dl-open.c (dl_open_worker): Likewise.
28816 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28818 * scripts/list-sources.sh: Scan PORTS for translations.
28819 * po/libc.pot: Regenerated.
28821 2012-06-21 Andreas Jaeger <aj@suse.de>
28824 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28826 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28827 * bits/byteswap-16.h (__bswap_16): Likewise.
28828 * bits/byteswap.h (__bswap_constant_16): Likewise.
28830 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28833 * sysdeps/i386/fpu_control.h: Removed.
28834 * sysdeps/x86_64/fpu_control.h: Moved to ...
28835 * sysdeps/x86/fpu_control.h: Here.
28837 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28838 (_FPU_SETCW): Likewise.
28840 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28843 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28844 * sysdeps/x86/fpu/bits/mathinline.h: This.
28845 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28849 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28850 functions if __x86_64__ is defined.
28852 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28854 * string/endian.h: Add !__ASSEMBLER__ condition for including
28855 conversion interfaces.
28857 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28860 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28861 of ABS(x) in calculating zero to negative powers other than odd
28863 * math/libm-test.inc (pow_test): Add more tests.
28865 2012-06-15 Andreas Jaeger <aj@suse.de>
28867 * manual/contrib.texi (Contributors): Update entry of Liubov
28868 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28871 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28873 * string/string.h: Add __wur to GNU version of strerror_r.
28875 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28878 * string/Makefile (tests): Add tst-strtok_r.
28879 * string/tst-strtok_r.c: New file.
28880 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28881 RAX_LP/RDX_LP on SAVE_PTR.
28883 2012-06-14 Roland McGrath <roland@hack.frob.com>
28885 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28887 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28889 * libm_test.inc (csqrt_test): Allow more spurious underflow
28891 (j0_test): Likewise.
28892 (j1_test): Likewise.
28893 (y0_test): Likewise.
28894 (y1_test): Likewise.
28896 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28898 * po/Makefile (libc.pot): Use UTF-8 charset.
28900 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28903 Suppress sign-conversion warning from FD_SET.
28904 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28905 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28906 not unsigned long int.
28907 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28909 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28913 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28914 __extern_always_inline instead of __extern_inline.
28915 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28916 (__signbit): Likewise.
28917 (__signbitl): Support C++ namespace.
28918 (lrintf): New inline function.
28920 (llrintf): Likewise.
28921 (llrint): Likewise.
28931 (floorf): Likewise.
28932 (nearbyint): Likewise.
28933 (nearbyintf): Likewise.
28935 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28937 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28938 non-default versions.
28940 2012-06-11 Roland McGrath <roland@hack.frob.com>
28943 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28945 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28947 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28948 (FE_UPWARD, FE_DOWNWARD): Don't define.
28949 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28950 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28952 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28954 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28955 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28957 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28959 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28960 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28961 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28962 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28964 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28967 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28968 * sysdeps/i386/fpu/Implies: New file.
28969 * sysdeps/x86_64/fpu/Implies: Likewise.
28970 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28971 * sysdeps/x86/fpu/bits/fenv.h: This.
28973 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28976 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28979 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28980 character 0xffff that matches the last element of the
28983 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28985 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28988 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28990 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28991 values higher than 25.6283.
28993 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28996 subnormal exponent extraction and add some __builtin_expect.
28997 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28998 Fix for subnormal mantissa calculation.
29000 2012-06-04 Mike Frysinger <vapier@gentoo.org>
29002 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29003 cpu2 is -1 and errno is not ENOSYS.
29005 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29008 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29009 * sysdeps/x86/bits/string.h: This.
29010 * sysdeps/x86_64/bits/string.h: Removed.
29012 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29013 if not compiling for x86-64, but compiling for >= i486.
29015 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29016 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29018 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29019 New macro from Linux kernel 3.4.0.
29020 (FP_XSTATE_MAGIC2): Likewise.
29021 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29022 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29023 (struct _fpx_sw_bytes): New struct.
29024 (struct _xsave_hdr): Likewise.
29025 (struct _ymmh_state): Likewise.
29026 (struct _xstate): Likewise.
29028 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29029 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29030 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29031 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29032 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29033 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29035 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29036 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29037 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29038 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29039 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29040 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29042 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29045 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29046 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29047 (sysdep_headers): Include sys/platform/ppc.h.
29048 * sysdeps/powerpc/test-gettimebase.c: Test for
29049 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29050 * manual/Makefile (appendices): Include platform.texi.
29051 * manual/contrib.texi (Contributors): Update @node pointers.
29052 * manual/maint.texi (Maintenance): Likewise.
29053 (Platform): New node.
29054 * manual/platform.texi: New file. Document the new features.
29056 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29057 Jakub Jelinek <jakub@redhat.com>
29060 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29061 where __builtin_expect is unavailable.
29063 2012-06-03 David S. Miller <davem@davemloft.net>
29065 * stdlib/longlong.h: Updated from GCC.
29067 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29070 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29071 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29074 (GLIBC_2.16): Likewise.
29076 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29078 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29080 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29083 (default-abi): New variable.
29084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29085 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29087 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29089 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29091 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29094 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29095 definition. Document in comment.
29097 2012-06-01 David S. Miller <davem@davemloft.net>
29099 * stdlib/longlong.h: Updated from GCC.
29101 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29104 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29105 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29106 sys/debugreg.h sys/io.h here.
29107 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29108 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29110 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29111 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29112 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29113 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29114 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29115 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29117 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29118 Define only if __x86_64__ is defined.
29120 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29123 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29124 Use int64_t for variable i.
29125 * math/libm-test.inc (fmod_test): Add more tests.
29127 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29128 z computation is not scheduled after fetestexcept.
29129 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29130 Use math_force_eval instead of asm to ensure calculation scheduled
29131 before exception test.
29132 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29133 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29135 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29138 computation is not scheduled after fetestexcept.
29140 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29143 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29144 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29146 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29148 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29149 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29151 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29154 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29156 (__WCHAR_MIN): Support __WORDSIZE == 64.
29157 (__WCHAR_MAX): Likewise.
29159 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29160 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29163 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29164 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29167 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29168 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29170 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29171 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29173 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29174 Defined to 1 if __x86_64__ isn't defined.
29175 (_STAT_VER_LINUX_OLD): New.
29176 (st_atime): Remove duplicate.
29177 (st_mtime): Likewise.
29178 (st_ctime): Likewise.
29180 2012-05-31 David S. Miller <davem@davemloft.net>
29182 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29185 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29187 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29191 * elf/dl-reloc.c: Include <_itoa.h>.
29192 (_dl_reloc_bad_type): Remove use of INTUSE.
29193 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29194 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29195 * stdio-common/psiginfo.c (psiginfo): Likewise.
29196 * stdio-common/psignal.c (psignal): Likewise.
29197 * string/strsignal.c (strsignal): Likewise.
29198 * include/signal.h (_sys_siglist): Declare hidden proto.
29199 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29200 INTVARDEF with libc_hidden_data_def.
29201 * stdio-common/itoa-udigits.c: Likewise.
29202 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29203 (_itoa_lower_digits_internal): Remove declaration.
29204 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29205 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29206 (_sys_sigabbrev_internal): Remove aliases.
29207 (_sys_siglist): Define hidden alias.
29209 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29214 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29217 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29218 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29220 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29221 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29222 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29223 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29224 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29225 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29227 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29228 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29229 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29231 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29239 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29240 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29241 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29243 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29244 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29245 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29246 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29247 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29248 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29250 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29251 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29253 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29254 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29256 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29258 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29260 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29261 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29263 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29265 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29266 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29267 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29269 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29271 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29273 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29275 * math/math.h (M_El): Use two more decimal places.
29276 (M_LOG2El): Likewise.
29277 (M_LOG10El): Likewise.
29278 (M_LN2l): Likewise.
29279 (M_LN10l): Likewise.
29281 (M_PI_2l): Likewise.
29282 (M_PI_4l): Likewise.
29283 (M_1_PIl): Likewise.
29284 (M_2_PIl): Likewise.
29285 (M_2_SQRTPIl): Likewise.
29286 (M_SQRT2l): Likewise.
29287 (M_SQRT1_2l): Likewise.
29289 2012-05-31 David S. Miller <davem@davemloft.net>
29291 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29292 values between float registers.
29293 * sysdeps/sparc/sparc64/memset.S: Likewise.
29294 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29296 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29298 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29299 -D_FORTIFY_SOURCE=1.
29300 (CPPFLAGS-tst-longjmp_chk.c): Define.
29301 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29302 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29303 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29304 CFLAGS-tst-wchar-h.c.
29306 2012-05-31 Marek Polacek <polacek@redhat.com>
29309 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29310 __endmntent_internal): Remove declaration.
29311 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29312 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29313 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29315 2012-05-30 David S. Miller <davem@davemloft.net>
29317 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29318 (___Q_simulate_exceptions): Use real FP ops rather than writing
29320 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29323 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29326 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29327 * sysdeps/x86/bits/xtitypes.h: This.
29329 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29330 * sysdeps/x86/bits/wordsize.h: This.
29332 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29333 * sysdeps/x86/bits/huge_vall.h: This.
29335 * sysdeps/i386/bits/select.h: Removed.
29336 * sysdeps/x86_64/bits/select.h: Renamed to ...
29337 * sysdeps/x86/bits/select.h: This.
29339 * sysdeps/i386/bits/setjmp.h: Removed.
29340 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29341 * sysdeps/x86/bits/setjmp.h: This.
29343 * sysdeps/i386/bits/mathdef.h: Removed.
29344 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29345 * sysdeps/x86/bits/mathdef.h: This.
29347 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29350 * include/sys/socket.h (__connect_internal)
29351 (__libc_sa_len_internal): Remove declaration.
29352 (__connect, __libc_sa_len): Declare hidden_proto.
29353 (SA_LEN): Remove use of INTUSE.
29354 * socket/connect.c: Add libc_hidden_def.
29355 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29356 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29357 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29359 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29360 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29361 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29362 of adding _internal alias.
29364 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29367 * sysdeps/i386/bits/link.h: Removed.
29368 * sysdeps/i386/bits/linkmap.h: Likewise.
29369 * sysdeps/x86_64/bits/link.h: Renamed to ...
29370 * sysdeps/x86/bits/link.h: This.
29371 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29372 * sysdeps/x86/bits/linkmap.h: This.
29374 * sysdeps/i386/bits/endian.h: Removed.
29375 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29376 * sysdeps/x86/bits/endian.h: This.
29378 * sysdeps/i386/bits/byteswap.h: Removed.
29379 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29380 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29381 * sysdeps/x86/bits/byteswap.h: This.
29382 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29383 * sysdeps/x86/bits/byteswap-16.h: This.
29384 * sysdeps/i386/Implies: Add x86.
29385 * sysdeps/x86_64/Implies: Likewise.
29387 2012-05-30 David S. Miller <davem@davemloft.net>
29389 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29390 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29391 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29392 (FP_TRAPPING_EXCEPTIONS): Define.
29393 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29394 (FP_TRAPPING_EXCEPTIONS): Define.
29395 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29396 subnormals only when inexact has been signalled or underflow
29397 exceptions are enabled.
29398 (_FP_PACK_CANONICAL): Likewise.
29400 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29403 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29404 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29406 2012-05-30 Richard Henderson <rth@twiddle.net>
29408 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29409 with #ifndef NOT_IN_libc.
29411 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29412 marked to avoid plt entry.
29414 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29417 * Makeconfig (default-abi): New macro.
29418 (abi-includes): Likewise.
29419 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29420 $(abi-$(default-abi)-lib-soname) for soname if defined.
29421 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29423 * Makefile (installed-stubs): Likewise.
29424 * include/stubs-biarch.h: Removed.
29425 * scripts/lib-names.awk: Only handle one library at a time.
29426 * scripts/soversions.awk: Remove WORDSIZE support.
29427 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29429 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29431 (syscall-list-default-condition): Likewise.
29432 (syscall-list-default-condition): Likewise.
29433 (syscall-list-includes): Likewise.
29434 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29435 syscall-list-* with abi-*. Handle undefined abi-variants.
29436 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29437 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29438 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29439 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29440 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29441 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29443 (syscall-list-32-options): Likewise.
29444 (syscall-list-32-condition): Likewise.
29445 (syscall-list-64-options): Likewise.
29446 (syscall-list-64-condition): Likewise.
29447 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29449 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29452 (abi-64-ld-soname): New macro.
29453 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29454 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29457 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29458 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29460 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29462 * sysdeps/unix/sysv/linux/kernel-features.h
29463 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29464 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29465 include <kernel-features.h>.
29466 [!__NR_ftruncate64]: Remove conditional code.
29467 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29468 [__NR_ftruncate64]: Make code unconditional.
29469 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29470 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29471 include <kernel-features.h>.
29472 [!__NR_ftruncate64]: Remove conditional code.
29473 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29474 [__NR_ftruncate64]: Make code unconditional.
29475 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29477 include <kernel-features.h>.
29478 [!__NR_ftruncate64]: Remove conditional code.
29479 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29480 [__NR_ftruncate64]: Make code unconditional.
29481 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29483 include <kernel-features.h>.
29484 [!__NR_ftruncate64]: Remove conditional code.
29485 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29486 [__NR_ftruncate64]: Make code unconditional.
29487 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29489 * configure.in (libc_cv_fpie): Weaken to a compile test using
29490 LIBC_TRY_CC_OPTION.
29491 * configure: Regenerated.
29493 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29508 2012-05-27 David S. Miller <davem@davemloft.net>
29510 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29512 (__Q_simulate_exceptions): Return void. Change to simulate
29513 exceptions by writing into the %fsr.
29514 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29515 (__Qp_handle_exceptions): Likewise.
29517 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29518 __Qp_handle_exceptions.
29519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29520 __Qp_handle_exceptions.
29521 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29522 as unused and give dummy FP_RND_NEAREST initializer.
29523 (FP_INHIBIT_RESULTS): Define.
29524 (___Q_simulate_exceptions): Update declaration.
29525 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29527 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29528 as unused and give dummy FP_RND_NEAREST initializer.
29529 (__Qp_handle_exceptions): Update declaration.
29530 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29533 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29535 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29536 the temporary FPU control word.
29537 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29538 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29539 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29540 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29541 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29542 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29543 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29544 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29545 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29546 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29547 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29549 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29551 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29554 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29556 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29557 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29558 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29559 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29561 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29562 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29565 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29567 * po/h.po: Update from translation team.
29569 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29571 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29573 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29574 handling of denormals.
29575 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29576 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29577 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29578 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29579 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29580 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29581 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29584 2012-05-26 Marek Polacek <polacek@redhat.com>
29587 * math/libm-test.inc (fma_test): Don't always expect underflow
29590 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29593 * elf/tst-execstack.c: Include stackinfo.h.
29594 (do_test): Adjust test case to ensure that pthread_getattr_np
29595 behaviour remains the same after marking stack executable.
29597 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29599 * sysdeps/unix/sysv/linux/kernel-features.h
29600 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29601 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29603 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29604 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29605 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29607 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29608 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29610 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29612 * configure.in: Define the default includes to being none.
29613 * configure: Regenerated.
29615 2012-05-25 Roland McGrath <roland@hack.frob.com>
29617 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29618 * sysdeps/x86_64/setjmp.S: Likewise.
29619 * sysdeps/i386/bsd-setjmp.S: Likewise.
29620 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29621 * sysdeps/i386/setjmp.S: Likewise.
29622 * sysdeps/i386/__longjmp.S: Likewise.
29623 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29624 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29626 * include/stap-probe.h: New file.
29627 * configure.in: Handle --enable-systemtap.
29628 * configure: Regenerated.
29629 * config.h.in (USE_STAP_PROBE): New #undef.
29630 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29631 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29632 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29634 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29637 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29638 to 2.4.0 where earlier.
29639 * sysdeps/unix/sysv/linux/configure: Regenerated.
29640 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29641 <kernel-features.h>.
29642 [__ASSUME_32BITUIDS]: Make code unconditional.
29643 [!__ASSUME_32BITUIDS]: Remove conditional code.
29644 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29645 <kernel-features.h>.
29646 [__ASSUME_32BITUIDS]: Make code unconditional.
29647 [!__ASSUME_32BITUIDS]: Remove conditional code.
29648 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29649 [__ASSUME_32BITUIDS]: Make code unconditional.
29650 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29651 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29652 <kernel-features.h>.
29653 [__ASSUME_32BITUIDS]: Make code unconditional.
29654 [!__ASSUME_32BITUIDS]: Remove conditional code.
29655 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29656 <kernel-features.h>.
29657 [__ASSUME_32BITUIDS]: Make code unconditional.
29658 [!__ASSUME_32BITUIDS]: Remove conditional code.
29659 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29660 <kernel-features.h>.
29661 [__ASSUME_32BITUIDS]: Make code unconditional.
29662 [!__ASSUME_32BITUIDS]: Remove conditional code.
29663 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29664 <kernel-features.h>.
29665 [__ASSUME_32BITUIDS]: Make code unconditional.
29666 [!__ASSUME_32BITUIDS]: Remove conditional code.
29667 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29668 <kernel-features.h>.
29669 [__ASSUME_32BITUIDS]: Make code unconditional.
29670 [!__ASSUME_32BITUIDS]: Remove conditional code.
29671 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29672 <kernel-features.h>.
29673 [__ASSUME_32BITUIDS]: Make code unconditional.
29674 [!__ASSUME_32BITUIDS]: Remove conditional code.
29675 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29676 <kernel-features.h>.
29677 [__ASSUME_32BITUIDS]: Make code unconditional.
29678 [!__ASSUME_32BITUIDS]: Remove conditional code.
29679 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29680 <kernel-features.h>.
29681 [__ASSUME_32BITUIDS]: Make code unconditional.
29682 [!__ASSUME_32BITUIDS]: Remove conditional code.
29683 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29684 <kernel-features.h>.
29685 [__ASSUME_32BITUIDS]: Make code unconditional.
29686 [!__ASSUME_32BITUIDS]: Remove conditional code.
29687 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29688 <kernel-features.h>.
29689 [__ASSUME_32BITUIDS]: Make code unconditional.
29690 [!__ASSUME_32BITUIDS]: Remove conditional code.
29691 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29692 <kernel-features.h>.
29693 [__NR_setresgid] (__setresgid): Do not declare.
29694 [__ASSUME_32BITUIDS]: Make code unconditional.
29695 [!__ASSUME_32BITUIDS]: Remove conditional code.
29696 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29697 <kernel-features.h>.
29698 [__NR_setresuid] (__setresuid): Do not declare.
29699 [__ASSUME_32BITUIDS]: Make code unconditional.
29700 [!__ASSUME_32BITUIDS]: Remove conditional code.
29701 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29702 <kernel-features.h>.
29703 [__ASSUME_32BITUIDS]: Make code unconditional.
29704 [!__ASSUME_32BITUIDS]: Remove conditional code.
29705 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29706 <kernel-features.h>.
29707 [__ASSUME_32BITUIDS]: Make code unconditional.
29708 [!__ASSUME_32BITUIDS]: Remove conditional code.
29709 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29710 <kernel-features.h>.
29711 [__ASSUME_32BITUIDS]: Make code unconditional.
29712 [!__ASSUME_32BITUIDS]: Remove conditional code.
29713 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29714 <kernel-features.h>.
29715 [__ASSUME_32BITUIDS]: Make code unconditional.
29716 [!__ASSUME_32BITUIDS]: Remove conditional code.
29717 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29718 <kernel-features.h>.
29719 [__ASSUME_32BITUIDS]: Make code unconditional.
29720 [!__ASSUME_32BITUIDS]: Remove conditional code.
29721 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29722 <kernel-features.h>.
29723 [__ASSUME_32BITUIDS]: Make code unconditional.
29724 [!__ASSUME_32BITUIDS]: Remove conditional code.
29725 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29726 <kernel-features.h>.
29727 [__ASSUME_32BITUIDS]: Make code unconditional.
29728 [!__ASSUME_32BITUIDS]: Remove conditional code.
29729 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29730 <kernel-features.h>.
29731 [__ASSUME_32BITUIDS]: Make code unconditional.
29732 [!__ASSUME_32BITUIDS]: Remove conditional code.
29733 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29734 <kernel-features.h>.
29735 [__ASSUME_32BITUIDS]: Make code unconditional.
29736 [!__ASSUME_32BITUIDS]: Remove conditional code.
29737 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29738 <kernel-features.h>.
29739 [__ASSUME_32BITUIDS]: Make code unconditional.
29740 [!__ASSUME_32BITUIDS]: Remove conditional code.
29741 * sysdeps/unix/sysv/linux/kernel-features.h
29742 (__ASSUME_SETRESUID_SYSCALL): Remove.
29743 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29744 (__ASSUME_32BITUIDS): Likewise.
29745 (__ASSUME_LDT_WORKS): Likewise.
29746 (__ASSUME_O_DIRECTORY): Likewise.
29747 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29748 architecture but not kernel version.
29749 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29750 (__ASSUME_MMAP2_SYSCALL): Likewise.
29751 (__ASSUME_STAT64_SYSCALL): Likewise.
29752 (__ASSUME_IPC64): Likewise.
29753 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29754 <kernel-features.h>.
29755 [__ASSUME_32BITUIDS]: Make code unconditional.
29756 [!__ASSUME_32BITUIDS]: Remove conditional code.
29757 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29758 <kernel-features.h>.
29759 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29760 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29761 132096]: Remove conditional code.
29762 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29763 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29764 <kernel-features.h>.
29765 [__ASSUME_32BITUIDS]: Make code unconditional.
29766 [!__ASSUME_32BITUIDS]: Remove conditional code.
29767 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29768 <kernel-features.h>.
29769 [__ASSUME_32BITUIDS]: Make code unconditional.
29770 [!__ASSUME_32BITUIDS]: Remove conditional code.
29771 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29772 <kernel-features.h>.
29773 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29775 (__setresgid): Do not declare.
29776 [__ASSUME_32BITUIDS]: Make code unconditional.
29777 [!__ASSUME_32BITUIDS]: Remove conditional code.
29778 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29779 <kernel-features.h>.
29780 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29782 (__setresuid): Do not declare.
29783 [__ASSUME_32BITUIDS]: Make code unconditional.
29784 [!__ASSUME_32BITUIDS]: Remove conditional code.
29785 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29786 <kernel-features.h>.
29787 [__ASSUME_32BITUIDS]: Make code unconditional.
29788 [!__ASSUME_32BITUIDS]: Remove conditional code.
29789 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29790 <kernel-features.h>.
29791 [__ASSUME_32BITUIDS]: Make code unconditional.
29792 [!__ASSUME_32BITUIDS]: Remove conditional code.
29794 2012-05-25 Richard Henderson <rth@twiddle.net>
29796 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29797 dl_hwcap to ifunc resolver.
29798 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29800 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29801 dl_hwcap to ifunc resolver.
29802 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29804 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29807 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29808 for |x| <= 2**-26, not 2**-57.
29809 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29812 2012-05-24 Jeff Law <law@redhat.com>
29814 * stdio-common/Makefile (tests): Add bug25.
29815 * stdio-common/bug25.c: New test.
29817 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29820 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29821 multiple of MALLOC_ALIGNMENT in size.
29822 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29824 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29826 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29828 (FILENAME_MAX): Use macro-int-constant.
29829 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29830 (_IOFBF): Use macro-int-constant.
29831 (_IOLBF): Likewise.
29832 (_IONBF): Likewise.
29833 (SEEK_CUR): Likewise.
29834 (SEEK_END): Likewise.
29835 (SEEK_SET): Likewise.
29836 (TMP_MAX): Likewise.
29837 (EOF): Use macro-int-constant. Require < 0.
29838 (NULL): Use macro-constant. Require == 0.
29839 (stdin): Require type to be FILE *.
29840 (stdout): Likewise.
29841 (stderr): Likewise.
29842 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29843 macro-int-constant.
29844 (EXIT_SUCCESS): Likewise.
29845 (NULL): Use macro-constant. Require == 0.
29846 (RAND_MAX): Use macro-int-constant.
29847 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29848 [C99-based standards] (strtof): Require function.
29849 [C99-based standards] (strtold): Likewise.
29850 [C99-based standards] (strtoll): Likewise.
29851 [C99-based standards] (strtoull): Likewise.
29852 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29853 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29854 [ISO || ISO99 || ISO11] (math.h): Likewise.
29855 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29856 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29857 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29859 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29862 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29863 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29864 * intl/dgettext.c (DCGETTEXT): Likewise.
29865 * intl/gettext.c (DCGETTEXT): Likewise.
29866 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29867 * posix/regex_internal.h (gettext): Likewise.
29868 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29869 Remove declaration.
29870 * include/argz.h (__argz_count_internal)
29871 (__argz_stringify_internal): Remove declaration.
29872 (__argz_count, __argz_stringify): Declare hidden proto.
29873 * intl/dcgettext.c: Remove use of INTDEF.
29874 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29875 * string/argz-stringify.c: Likewise.
29876 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29877 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29878 Declare hidden proto.
29879 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29880 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29881 Declare hidden proto.
29882 * include/stdio.h (__asprintf_internal): Don't declare.
29883 (__asprintf): Don't define as macro. Declare hidden proto.
29884 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29885 (__fsetlocking): Declare hidden proto.
29886 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29887 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29889 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29890 (_IO_setlinebuf): Remove use of INTUSE.
29891 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29892 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29893 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29894 Remove declaration.
29895 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29896 (_IO_do_flush): Remove use of INTUSE.
29897 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29898 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29899 (_IO_adjust_column, _IO_least_wmarker)
29900 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29901 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29902 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29903 (_IO_default_doallocate, _IO_wdefault_doallocate)
29904 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29905 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29906 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29907 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29908 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29909 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29910 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29911 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29912 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29913 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29914 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29915 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29916 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29918 (_IO_flush_all_internal, _IO_adjust_column_internal)
29919 (_IO_default_uflow_internal, _IO_default_finish_internal)
29920 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29921 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29922 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29923 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29924 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29925 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29926 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29927 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29928 (_IO_file_close_internal, _IO_file_close_it_internal)
29929 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29930 (_IO_file_init_internal, _IO_file_attach_internal)
29931 (_IO_file_fopen_internal, _IO_file_read_internal)
29932 (_IO_file_sync_internal, _IO_file_seek_internal)
29933 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29934 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29935 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29936 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29937 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29938 (_IO_list_all_internal, _IO_link_in_internal)
29939 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29940 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29941 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29942 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29943 (_IO_do_write_internal, _IO_padn_internal)
29944 (_IO_getline_info_internal, _IO_getline_internal)
29945 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29946 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29947 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29948 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29949 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29950 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29951 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29952 with libc_hidden_ver, remove use of INTUSE.
29953 * libio/genops.c: Likewise.
29954 * libio/freopen.c: Likewise.
29955 * libio/freopen64.c: Likewise.
29956 * libio/iofclose.c: Likewise.
29957 * libio/iofdopen.c: Likewise.
29958 * libio/iofflush.c: Likewise.
29959 * libio/iofflush_u.c: Likewise.
29960 * libio/iofgets.c: Likewise.
29961 * libio/iofgets_u.c: Likewise.
29962 * libio/iofopen.c: Likewise.
29963 * libio/iofopncook.c: Likewise.
29964 * libio/iofread.c: Likewise.
29965 * libio/iofread_u.c: Likewise.
29966 * libio/ioftell.c: Likewise.
29967 * libio/iofwrite.c: Likewise.
29968 * libio/iogetline.c: Likewise.
29969 * libio/iogets.c: Likewise.
29970 * libio/iogetwline.c: Likewise.
29971 * libio/iopadn.c: Likewise.
29972 * libio/iopopen.c: Likewise.
29973 * libio/ioseekoff.c: Likewise.
29974 * libio/ioseekpos.c: Likewise.
29975 * libio/iosetbuffer.c: Likewise.
29976 * libio/iosetvbuf.c: Likewise.
29977 * libio/ioungetc.c: Likewise.
29978 * libio/ioungetwc.c: Likewise.
29979 * libio/iovdprintf.c: Likewise.
29980 * libio/iovsprintf.c: Likewise.
29981 * libio/iovsscanf.c: Likewise.
29982 * libio/memstream.c: Likewise.
29983 * libio/obprintf.c: Likewise.
29984 * libio/oldfileops.c: Likewise.
29985 * libio/oldiofclose.c: Likewise.
29986 * libio/oldiofdopen.c: Likewise.
29987 * libio/oldiofopen.c: Likewise.
29988 * libio/oldiopopen.c: Likewise.
29989 * libio/oldstdfiles.c: Likewise.
29990 * libio/putc.c: Likewise.
29991 * libio/setbuf.c: Likewise.
29992 * libio/setlinebuf.c: Likewise.
29993 * libio/stdfiles.c: Likewise.
29994 * libio/strops.c: Likewise.
29995 * libio/vasprintf.c: Likewise.
29996 * libio/vscanf.c: Likewise.
29997 * libio/vsnprintf.c: Likewise.
29998 * libio/vswprintf.c: Likewise.
29999 * libio/wfiledoalloc.c: Likewise.
30000 * libio/wfileops.c: Likewise.
30001 * libio/wgenops.c: Likewise.
30002 * libio/wmemstream.c: Likewise.
30003 * libio/wstrops.c: Likewise.
30004 * libio/__fpurge.c: Likewise.
30005 * libio/__fsetlocking.c: Likewise.
30006 * assert/assert.c: Likewise.
30007 * debug/fgets_chk.c: Likewise.
30008 * debug/fgets_u_chk.c: Likewise.
30009 * debug/fread_chk.c: Likewise.
30010 * debug/fread_u_chk.c: Likewise.
30011 * debug/gets_chk.c: Likewise.
30012 * debug/obprintf_chk.c: Likewise.
30013 * debug/vasprintf_chk.c: Likewise.
30014 * debug/vdprintf_chk.c: Likewise.
30015 * debug/vsnprintf_chk.c: Likewise.
30016 * debug/vsprintf_chk.c: Likewise.
30017 * malloc/mtrace.c: Likewise.
30018 * misc/error.c: Likewise.
30019 * misc/syslog.c: Likewise.
30020 * stdio-common/asprintf.c: Likewise.
30021 * stdio-common/fxprintf.c: Likewise.
30022 * stdio-common/getw.c: Likewise.
30023 * stdio-common/isoc99_fscanf.c: Likewise.
30024 * stdio-common/isoc99_scanf.c: Likewise.
30025 * stdio-common/isoc99_vfscanf.c: Likewise.
30026 * stdio-common/isoc99_vscanf.c: Likewise.
30027 * stdio-common/isoc99_vsscanf.c: Likewise.
30028 * stdio-common/printf-prs.c: Likewise.
30029 * stdio-common/printf_fp.c: Likewise.
30030 * stdio-common/printf_fphex.c: Likewise.
30031 * stdio-common/printf_size.c: Likewise.
30032 * stdio-common/putw.c: Likewise.
30033 * stdio-common/scanf.c: Likewise.
30034 * stdio-common/sprintf.c: Likewise.
30035 * stdio-common/tmpfile.c: Likewise.
30036 * stdio-common/vfprintf.c: Likewise.
30037 * stdio-common/vfscanf.c: Likewise.
30038 * stdlib/strfmon_l.c: Likewise.
30039 * sunrpc/openchild.c: Likewise.
30040 * sunrpc/xdr_stdio.c: Likewise.
30041 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30042 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30044 2012-05-24 Roland McGrath <roland@hack.frob.com>
30046 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30048 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30049 in the third column, to generate for the shared library an IFUNC
30050 that uses _dl_vdso_vsym.
30051 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30052 * Makeconfig (object-suffixes-noshared): New variable.
30054 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30055 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30056 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30057 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30060 * include/sys/time.h (__gettimeofday): Remove macro.
30061 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30062 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30064 (__gettimeofday): Add libc_hidden_def.
30065 (gettimeofday): Add libc_hidden_weak.
30066 * sysdeps/mach/gettimeofday.c: Likewise.
30067 * sysdeps/posix/gettimeofday.c: Likewise.
30068 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30069 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30070 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30071 (__gettimeofday_internal): Remove strong_alias.
30072 (__gettimeofday): Add libc_hidden_def.
30073 (gettimeofday): Add libc_hidden_weak.
30074 * sysdeps/unix/syscalls.list (gettimeofday):
30075 Remove __gettimeofday_internal alias.
30077 2012-05-24 Daniel Jacobowitz <drow@false.org>
30078 H.J. Lu <hongjiu.lu@intel.com>
30081 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30082 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30083 (largebin_index_32_big): New.
30084 (largebin_index): Use it for 16-byte alignment.
30085 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30086 correction with front_misalign.
30088 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30116 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30117 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30119 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30123 * math/libm-test.inc (exp_test): Add test from bug 14036.
30124 (pow_test): Add test from bug 10846.
30126 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30128 (special_function): Do not include flags in test name.
30129 (parse_args): Likewise.
30130 * sysdeps/i386/fpu/libm-test-ulps: Update.
30131 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30132 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30133 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30136 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30138 * math/libm-test.inc ("Philosophy"): Update comment about
30140 (UNDERFLOW_EXCEPTION): New macro.
30141 (UNDERFLOW_EXCEPTION_OK): Likewise.
30142 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30143 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30144 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30145 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30146 (INVALID_EXCEPTION_OK): Update value.
30147 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30148 (OVERFLOW_EXCEPTION_OK): Likewise.
30149 (IGNORE_ZERO_INF_SIGN): Likewise.
30150 (test_exceptions): Handle underflow exceptions.
30151 (acos_test): Update for underflow exception expectations.
30152 (cexp_test): Likewise.
30153 (clog_test): Likewise.
30154 (clog10_test): Likewise.
30155 (csqrt_test): Likewise.
30156 (ctan_test): Likewise.
30157 (ctanh_test): Likewise.
30158 (exp_test): Likewise.
30159 (exp10_test): Likewise.
30160 (exp2_test): Likewise.
30161 (expm1_test): Likewise.
30162 (fma_test): Likewise.
30163 (j0_test): Likewise.
30164 (jn_test): Likewise.
30165 (nexttoward_test): Likewise.
30166 (pow_test): Likewise.
30167 (scalbn_test): Likewise.
30168 (scalbln_test): Likewise.
30169 (tan_test): Likewise.
30170 (y1_test): Likewise.
30171 * sysdeps/i386/fpu/libm-test-ulps: Update.
30172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30174 2012-05-23 David S. Miller <davem@davemloft.net>
30176 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30177 (__libc_sigaction): Remove unused local variables.
30179 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30181 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30183 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30185 mktime: avoid signed integer overflow
30186 * time/mktime.c (__mktime_internal): Do not mishandle the case
30187 where diff == INT_MIN.
30189 mktime: simplify computation of average
30190 * time/mktime.c (ranged_convert): Use new time_t_avg function
30191 instead of rolling our own (probably-slower) code.
30193 mktime: do not assume signed right shift propagates sign bit
30194 * time/mktime.c (isdst_differ): New static function.
30195 (__mktime_internal): No need to normalize tm_isdst now.
30196 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30199 mktime: merge another wrapv change from gnulib
30200 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30201 from some compilers.
30203 mktime: remove incorrect attempt at unusual arithmetics
30204 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30205 The code didn't really work on such machines anyway.
30206 (TYPE_MINIMUM): Assume two's complement.
30207 (twos_complement_arithmetic): Verify that long_int and time_t
30208 are two's complement (or unsigned, in the latter case).
30210 mktime: check signed shifts on long_int and time_t, too
30211 * time/mktime.c (SHR): Check that shifts work as desired
30212 on the types long_int and time_t too, as SHR is used on
30215 mktime: do not assume 'long' is wide enough
30216 * time/mktime.c (verify): Move decl up.
30217 (long_int): New type.
30218 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30219 to remove assumption in the code that 'long' is wide enough to
30220 store year values. This assumption is not true on x32 and on
30221 some non-glibc platforms.
30223 mktime: merge wrapv change from gnulib
30224 * time/mktime.c (WRAPV): New macro.
30225 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30226 (guess_time_tm, __mktime_internal): Do not assume that signed
30227 integer overflow wraps around; modern compilers generate code
30228 where this assumption is no longer valid.
30230 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30232 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30233 Replace "jmp L(pseudo_end)" with "ret".
30234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30237 2012-05-23 Andreas Jaeger <aj@suse.de>
30239 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30240 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30242 2012-05-23 Andreas Jaeger <aj@suse.de>
30243 Maximilian Attems <max@stro.at>
30245 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30248 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30250 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30251 code so that pseudo_end is just ret and the stack pointer is
30252 correct also for static library in error case.
30254 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30256 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30257 move to syscalls.list.
30258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30263 * manual/install.texi (Running make install): Do not mention Linux
30264 kernel version for which pt_chown is not needed.
30265 (Linux): Do not mention problems with nscd with 2.0 kernels.
30266 * INSTALL: Regenerated.
30268 2012-05-23 Andreas Jaeger <aj@suse.de>
30270 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30271 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30273 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30274 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30275 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30276 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30277 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30278 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30279 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30280 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30281 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30282 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30283 * sysdeps/unix/sysv/linux/bits/in.h
30284 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30286 2012-05-22 Roland McGrath <roland@hack.frob.com>
30288 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30289 (PREPARE_VERSION): Just use assert instead, it will be elided
30290 under [NDEBUG] anyway.
30292 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30294 * sysdeps/unix/sysv/linux/Makefile: Include
30295 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30296 (sysdep_routines): Remove sysctl.
30297 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30298 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30299 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30300 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30301 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30303 2012-05-22 Andreas Jaeger <aj@suse.de>
30305 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30306 that pseudo_end is just ret and the stack pointer is correct also
30307 for static library in error case.
30309 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30312 * nss/nsswitch.c (defconfig_entries): New variable.
30313 (__nss_database_lookup): Don't leak defconfig entries.
30314 (nss_parse_service_list): Don't leak on error paths.
30315 (free_database_entries): New function.
30316 (free_defconfig): New function.
30317 (free_mem): Move common code to free_database_entries.
30319 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30321 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30323 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30325 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30326 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30327 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30329 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30330 (INTERNAL_SYSCALL_TYPES): Likewise.
30331 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30332 (LOAD_REGS_TYPES_[1-6]): Likewise.
30333 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30334 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30336 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30338 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30339 copysignl for GLIBC_2_0.
30340 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30341 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30342 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30343 logbl for GLIBC_2_0.
30344 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30345 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30347 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30349 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30350 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30352 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30355 * time/mktime.c: Update copyright years.
30357 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30359 mktime: merge comment-quoting-style change from gnulib
30360 * time/mktime.c: Quote 'like this' in comments.
30361 The GNU coding standards suggest that we no longer quote `like this',
30362 as "`" and "'" are typically rendered asymmetrically nowadays.
30363 The typical gnulib style is to quote 'like this' when quoting
30364 code, and "like this" when quoting English.
30366 * time/mktime.c (compile-command): Add "-I.".
30368 mktime: merge mktime-internal.h change from gnulib
30369 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30371 mktime: merge time_r change from gnulib
30372 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30374 mktime: merge DEBUG change from gnulib
30375 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30376 case system <time.h> has a #define.
30378 mktime: merge <sys/types.h> change from gnulib
30379 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30380 since <time.t> is now guaranteed to define time_t.
30382 mktime: merge HAVE_CONFIG_H change from gnulib
30383 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30385 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30390 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30392 (struct rusage): Use anonymous union to pad each field to
30395 2012-05-21 David S. Miller <davem@davemloft.net>
30397 * Makefules (o-iterator): Remove .s cases.
30398 (compile-command.s): Delete.
30399 (COMPILE.s): Delete.
30400 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30402 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30404 * configure.in (libc_cv_predef_stack_protector): Only consider
30405 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30406 * configure: Regenerated.
30408 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30411 New macro. Use R*LP on int and pointer.
30412 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30413 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30414 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30415 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30417 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30418 [__WORDSIZE_TIME64_COMPAT32] instead of
30419 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30420 (struct utmp): Likewise.
30421 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30422 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30424 (__WORDSIZE_TIME64_COMPAT32): This.
30425 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30426 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30427 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30428 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30429 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30430 (__WORDSIZE_TIME64_COMPAT32): New macro.
30432 2012-05-21 Andreas Jaeger <aj@suse.de>
30434 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30435 only if [SHARED]. Add prototype for __wcschr_ia32.
30437 2012-05-21 Roland McGrath <roland@hack.frob.com>
30439 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30440 of %rbp unmolested in the jmp_buf while mangling the low bits.
30441 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30442 unmolested high bits of %rbp while demangling the low bits.
30443 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30445 2012-05-21 Andreas Jaeger <aj@suse.de>
30447 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30448 * sunrpc/svc_simple.c: Use it for registerrpc.
30449 * sunrpc/xcrypt.c: Use it for passwd2des.
30451 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30453 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30455 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30456 Don't define if [__SYSCALL_WORDSIZE != 32].
30457 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30460 2012-05-21 Bruno Haible <bruno@clisp.org>
30461 Andreas Jaeger <aj@suse.de>
30463 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30464 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30465 inptr and inend for must_buffer_ch.
30466 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30467 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30468 * stdio-common/Makefile (tests): Remove bug15.
30469 (bug15-ENV): Remove macro.
30470 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30473 2012-05-19 Andreas Jaeger <aj@suse.de>
30474 Roland McGrath <roland@hack.frob.com>
30476 * manual/contrib.texi: Completely rewritten. It contains now an
30477 alphabetical list of contributors and their contributions.
30479 2012-05-21 Richard Henderson <rth@twiddle.net>
30481 * misc/getauxval.c (__getauxval): Use unsigned long int.
30482 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30483 (getauxval): Use unsigned long int.
30485 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30487 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30489 2012-05-21 Roland McGrath <roland@hack.frob.com>
30491 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30492 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30493 __alignof__ (long double).
30495 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30499 2012-05-20 Richard Henderson <rth@twiddle.net>
30501 * misc/getauxval.c: New file.
30502 * misc/sys/auxv.h: New file.
30503 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30504 (routines): Add getauxval.
30505 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30506 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30507 * elf/dl-sysdep.c (_dl_auxv): Remove.
30508 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30509 * elf/dl-support.c (_dl_auxv): New variable.
30510 (_dl_aux_init): Initialize it.
30511 * manual/startup.texi (Auxiliary Vector): New node.
30512 * sysdeps/generic/bits/hwcap.h: New file.
30513 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30514 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30515 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30516 * sysdeps/sparc/sysdep.h: ... here. Include it.
30517 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30518 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30524 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30530 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30534 2012-05-19 David S. Miller <davem@davemloft.net>
30536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30538 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30541 * math/s_ccosh.c: Include <float.h>
30542 (__ccosh): Avoid internal overflow calculating sinh and cosh
30543 values before multiplying by sin and cos values.
30544 * math/s_ccoshf.c: Likewise.
30545 * math/s_ccoshl.c: Likewise.
30546 * math/s_csin.c: Likewise.
30547 * math/s_csinf.c: Likewise.
30548 * math/s_csinl.c: Likewise.
30549 * math/s_csinh.c: Likewise.
30550 * math/s_csinhf.c: Likewise.
30551 * math/s_csinhl.c: Likewise.
30552 * math/libm-test.inc (ccos_test): Add more tests.
30553 (ccosh_test): Likewise.
30554 (csin_test): Likewise.
30555 (csinh_test): Likewise.
30556 * sysdeps/i386/fpu/libm-test-ulps: Update.
30557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30559 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30561 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30562 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30564 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30566 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30568 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30569 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30570 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30571 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30572 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30573 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30574 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30575 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30576 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30577 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30578 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30579 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30580 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30581 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30582 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30583 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30584 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30585 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30586 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30587 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30588 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30589 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30590 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30591 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30592 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30593 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30594 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30595 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30596 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30597 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30598 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30600 2012-05-18 Andreas Jaeger <aj@suse.de>
30602 * csu/.gitignore: Delete.
30604 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30606 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30607 (timex): Use __syscall_slong_t.
30609 2012-05-18 Andreas Jaeger <aj@suse.de>
30610 Carlos O'Donell <carlos_odonell@mentor.com>
30612 * manual/install.texi (Configuring and compiling): Update
30613 description about files modified in the source directory.
30614 * INSTALL: Regenerated.
30616 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30618 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30619 value. Use "or" to set return value to -1.
30620 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30621 negate return value.
30623 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30625 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30626 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30627 failure if the compiler has Graphite support disabled.
30628 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30630 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30631 (CFLAGS-memmove.c): Likewise.
30632 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30635 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30637 * sysdeps/x86_64/x32/_itoa.h: New file.
30639 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30640 getdents system call only if kernel and user dirents have the
30641 same d_ino and d_off.
30643 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30644 LLONG_MAX != LONG_MAX.
30645 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30646 (_fitoa_word): Likewise.
30648 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30650 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30651 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30652 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30654 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30655 include <bits/wordsize.h>. Check __x86_64__ instead of
30657 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30658 if __x86_64__ is defined. Use anonymous union on fpstate.
30660 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30663 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30665 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30666 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30667 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30668 Refer to _rtld_local_ro instead of _rtld_global_ro.
30669 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30671 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30673 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30675 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30676 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30677 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30679 * sysdeps/powerpc/powerpc32/dl-machine.c
30680 (__elf_machine_runtime_setup) [PROF]: Don't reference
30683 2012-05-18 Andreas Jaeger <aj@suse.de>
30685 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30686 function only available for GCCs before 3.4 since GCC 3.4
30687 introduced a builtin.
30689 (llrintf): Likewise.
30690 (llrint): Likewise.
30697 (nearbyint): Likewise.
30698 (nearbyintf): Likewise.
30702 (floorf): Likewise.
30704 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30706 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30707 on both fields and cast pointer to __syscall_ulong_t.
30709 * bits/types.h (__fsword_t): New type.
30710 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30711 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30713 (__FSWORD_T_TYPE): Likewise.
30714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30715 (__FSWORD_T_TYPE): Likewise.
30716 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30717 (__FSWORD_T_TYPE): Likewise.
30718 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30719 (__FSWORD_T_TYPE): Likewise.
30720 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30721 __SWORD_TYPE with __fsword_t.
30722 (statfs64): Likewise.
30724 2012-05-17 David S. Miller <davem@davemloft.net>
30726 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30728 2012-05-17 Andreas Jaeger <aj@suse.de>
30730 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30733 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30735 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30737 2012-05-17 Andreas Jaeger <aj@suse.de>
30739 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30742 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30744 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30746 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30748 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30749 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30751 2012-05-17 Andreas Jaeger <aj@suse.de>
30752 Carlos O'Donell <carlos_odonell@mentor.com>
30755 * sysdeps/x86_64/multiarch/init-arch.h
30756 (bit_YMM_Usable): Rename to...
30757 (bit_AVX_Usable): ... this.
30758 (bit_FMA4_Usable): New macro.
30759 (bit_XMM_state): New macro.
30760 (bit_YMM_state): New macro.
30761 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30762 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30763 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30764 (CPUID_OSXSAVE): New macro.
30765 (CPUID_AVX): New macro.
30766 (CPUID_FMA4): New macro.
30767 (index_YMM_Usable): Rename to...
30768 (index_AVX_Usable): ... this.
30769 (HAS_AVX): Use HAS_ARCH_FEATURE.
30770 (HAS_FMA4): Likewise.
30771 (HAS_YMM_USABLE): Remove.
30772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30773 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30775 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30776 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30777 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30778 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30779 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30781 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30783 * math/libm-test.c: Support platforms without multiple rounding modes.
30784 * math/bug-nextafter.c: Support platforms without FP exceptions.
30785 * math/bug-nexttoward.c: Likewise.
30786 * math/test-fenv.c: Likewise.
30787 * math/test-misc.c: Likewise.
30788 * stdlib/bug-getcontext.c: Likewise.
30790 2012-05-17 Andreas Jaeger <aj@suse.de>
30792 * manual/examples/search.c (critter_cmp): Change signature to
30794 * manual/string.texi (Collation Functions): Likewise.
30796 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30798 * bits/types.h: Fold copyright years.
30799 * bits/typesizes.h: Likewise.
30800 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30801 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30804 * time/time.h: Likewise.
30806 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30809 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30810 in instead of returning them. Return void.
30811 (__libc_mallinfo): Accumulate over all arenas.
30812 (__malloc_stats): Adjust for change in int_mallinfo interface.
30814 2012-05-16 Roland McGrath <roland@hack.frob.com>
30817 * configure.in (NM): Add AC_CHECK_TOOL for it.
30818 (libc_extra_cflags): New substituted variable.
30819 Check for -fstack-protector being used implicitly.
30820 * configure: Regenerated.
30821 * config.make.in (config-extra-cflags): New variable,
30822 gets @libc_extra_cflags@.
30823 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30826 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30827 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30828 * configure: Regenerated.
30829 * config.make.in (CPPUNDEFS): New substituted variable.
30830 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30831 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30832 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30834 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30836 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30837 (mq_attr): Use __syscall_slong_t.
30839 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30841 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30842 Check __x86_64__ instead of __WORDSIZE.
30843 (_STAT_VER_LINUX): Likewise.
30844 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30845 __syscall_ulong_t and __syscall_slong_t.
30846 (stat64): Likewise.
30848 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30850 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30852 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30854 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30856 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30858 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30861 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30862 include <bits/wordsize.h>. Check __x86_64__ instead of
30864 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30866 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30868 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30869 include <bits/wordsize.h>. Check __x86_64__ instead of
30871 (user_regs_struct): Use "__extension__ unsigned long long"
30872 instead of "unsigned long" if __x86_64__ is defined.
30873 (user): Likewise. Pad after pointer field if __ILP32__ is
30876 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30878 * configure.in (makeinfo): Require version 4.5 or later. Allow
30880 * configure: Regenerated.
30881 * manual/install.texi (texinfo): Increase version requirement to
30883 * INSTALL: Regenerated.
30885 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30887 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30889 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30891 * sysdeps/x86_64/x32/ffs.c: New file.
30893 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30895 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30896 defined. Use __syscall_ulong_t.
30897 (shminfo): Use __syscall_ulong_t.
30898 (shm_info): Likewise.
30900 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30903 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30905 (msgqnum_t): Use __syscall_ulong_t.
30906 (msglen_t): Likewise.
30907 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30910 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30911 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30913 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30915 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30916 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30918 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30921 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30922 include <bits/wordsize.h>. Check __x86_64__ instead of
30925 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30926 "unsigned long long int" if __x86_64__ is defined.
30927 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30929 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30930 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30931 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30933 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30935 (GET_PC): Cast to uintptr_t first.
30936 (GET_FRAME): Likewise.
30937 (GET_STACK): Likewise.
30939 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30940 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30941 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30942 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30943 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30944 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30945 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30946 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30947 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30948 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30949 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30950 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30951 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30952 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30953 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30954 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30955 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30956 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30957 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30958 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30959 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30960 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30961 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30962 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30963 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30964 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30965 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30966 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30967 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30969 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30971 * Makerules (+depfiles): Also collect depfiles from .oS in
30973 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30974 .oS, $(libnldbl-routines)).
30976 * Makerules (native-compile-mkdep-flags): Define.
30977 * sunrpc/Makefile (extra-objs): Add $(addprefix
30978 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30979 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30980 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30981 calling $(make-target-directory).
30983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30985 * bits/types.h (__snseconds_t): Removed.
30986 * time/time.h (struct timespec): Replace __snseconds_t with
30988 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30989 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30991 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30992 (__SNSECONDS_T_TYPE): Likewise.
30993 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30994 (__SNSECONDS_T_TYPE): Likewise.
30995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30996 (__SNSECONDS_T_TYPE): Likewise.
30998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31000 * sysdeps/mach/hurd/bits/typesizes.h
31001 (__SYSCALL_SLONG_TYPE): New macro.
31002 (__SYSCALL_ULONG_TYPE): Likewise.
31004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31006 * bits/types.h (__syscall_slong_t): New type.
31007 (__syscall_ulong_t): Likewise.
31009 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31010 (__SYSCALL_ULONG_TYPE): Likewise.
31011 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31012 (__SYSCALL_SLONG_TYPE): Likewise.
31013 (__SYSCALL_ULONG_TYPE): Likewise.
31014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31015 (__SYSCALL_SLONG_TYPE): Likewise.
31016 (__SYSCALL_ULONG_TYPE): Likewise.
31017 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31018 (__SYSCALL_SLONG_TYPE): Likewise.
31019 (__SYSCALL_ULONG_TYPE): Likewise.
31021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31023 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31024 Add sigaltstack-offsets.sym.
31025 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31026 <sigaltstack-offsets.h>.
31027 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31028 longjmp_msg pointer.
31029 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31030 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31032 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31034 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31036 * elf/stackguard-macros.h: Remove file.
31037 * sysdeps/generic/stackguard-macros.h: New file.
31038 * sysdeps/i386/stackguard-macros.h: Likewise.
31039 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31040 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31041 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31042 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31043 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31044 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31045 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31046 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31047 <elf/stackguard-macros.h>.
31050 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31051 __aligned__ in attribute.
31052 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31053 (gregset_t): Likewise.
31055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31057 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31058 * sysdeps/x86_64/64/Implies-after: Here. New file.
31059 * sysdeps/x86_64/x32/Implies-after: New file.
31061 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31063 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31064 and access return value for _dl_profile_fixup. Use R10_LP to
31067 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31069 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31073 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31074 * sysdeps/x86_64/x32/sysdep.h: New file.
31076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31078 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31079 * sysdeps/x86_64/setjmp.S: Likewise.
31081 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31083 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31084 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31085 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31086 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31087 remove unused global constant.
31089 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31091 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31092 include of <not-cancel.h>.
31094 2012-05-15 Roland McGrath <roland@hack.frob.com>
31096 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31098 2012-05-15 Jeff Law <law@redhat.com>
31099 Andreas Jaeger <aj@suse.de>
31102 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31104 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31105 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31106 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31107 code changing __hst_map_handle.map.
31109 2012-05-15 Roland McGrath <roland@hack.frob.com>
31111 * configure.in (sysnames): Look for Implies-before and Implies-after
31113 * configure: Regenerated.
31115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31117 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31118 8-byte data alignment with LP_SIZE alignment.
31120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31122 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31125 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31127 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31129 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31131 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31132 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31133 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31135 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31139 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31140 (stackinfo_sub_sp): Likewise.
31142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31144 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31149 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31154 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31157 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31159 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31163 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31164 into R11_LP and load __x86_64_shared_cache_size_half into
31167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31169 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31172 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31174 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31178 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31180 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31181 powerpc32/power7/fpu/s_logb.c via #include.
31182 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31183 powerpc32/power7/fpu/s_logbf.c via #include.
31184 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31185 powerpc32/power7/fpu/s_logbl.c via #include.
31187 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31189 * README.libm: Remove file.
31191 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31193 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31194 count for x32. Use R*_LP and omit operand-size suffix.
31196 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31198 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31199 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31200 * sysdeps/x86_64/x32/shlib-versions: New file.
31202 2012-05-14 Roland McGrath <roland@hack.frob.com>
31204 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31205 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31206 Use _dl_fatal_printf instead.
31208 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31210 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31211 set if not set by the user. Do not allow for being unset.
31212 * sysdeps/unix/sysv/linux/configure: Regenerated.
31214 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31216 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31217 the `q' suffix from lea and replace .quad with ASM_ADDR.
31219 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31222 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31224 (PTR_DEMANGLE): Likewise.
31226 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31228 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31230 (ASM_ADDR): Likewise.
31231 (RAX_LP): Likewise.
31232 (RBP_LP): Likewise.
31233 (RBX_LP): Likewise.
31234 (RCX_LP): Likewise.
31235 (RDI_LP): Likewise.
31236 (RSI_LP): Likewise.
31237 (RSP_LP): Likewise.
31240 (R10_LP): Likewise.
31241 (R10_LP): Likewise.
31242 (R11_LP): Likewise.
31243 (R12_LP): Likewise.
31244 (R13_LP): Likewise.
31245 (R14_LP): Likewise.
31246 (R15_LP): Likewise.
31248 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31250 * sysdeps/x86_64/x32/dl-machine.h: New file.
31252 2012-05-14 Andreas Jaeger <aj@suse.de>
31254 * manual/Makefile (subdir): Remove export of subdir.
31255 (all): Remove target.
31256 (.PHONY): Remove all from list.
31257 (mkinstalldirs): Remove.
31258 (.PHONY): Remove installdirs from list.
31259 ($(inst_infodir)/libc.info): Use make-target-directory.
31260 (installdirs): Remove.
31261 (subdir_%): Remove.
31262 (glibc-targets): Remove.
31265 ($(objpfx)stubs ../po/manual.pot): Remove.
31266 ($(objpfx)stamp%): Remove.
31267 (make-target-directory): Remove.
31268 (subdir_install): Remove.
31269 (routines): Remove.
31276 * manual/.gitignore: Remove, it's not needed anymore.
31277 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31279 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31281 (texis): Renamed to $(objpfx)texis.
31282 (texis-path): New, contains path to generated files.
31283 (chapters.%): Use texis-path for complete path, add extra argument
31285 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31286 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31287 (summary,texi, stamp-summary): Use complete path of
31288 files. Generate files in build dir.
31289 (dir-add.texi): Build in build dir.
31290 (libm-err.texi,stamp-libm-err): Likewise.
31291 (version.texi, stamp-version): Likewise.
31292 (.%c.texi): Likewise.
31293 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31294 (mostlyclean): Remove target.
31295 (realclean): Remove target.
31296 (generated): Add new variable with contents from mostlyclean and
31297 realclean, remove entries duplicated in common-mostlyclean, add
31298 stamp-libm-err and stamp-version.
31299 (generated-dirs): Add libc directory.
31300 ($(inst_infodir)/libc.info): Install files from build dir.
31302 * manual/install.texi (Configuring and compiling): Adjust since
31303 the info files are not part of the tar ball anymore.
31305 2012-05-14 Andreas Jaeger <aj@suse.de>
31307 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31310 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31313 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31314 to 2.2.0 where earlier.
31315 * sysdeps/unix/sysv/linux/configure: Regenerated.
31316 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31317 Remove conditional code.
31318 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31319 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31320 Remove conditional code.
31321 [!__NR_lchown]: Likewise.
31322 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31323 [__NR_lchown]: Likewise.
31324 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31325 comment referencing __ASSUME_LCHOWN_SYSCALL.
31326 * sysdeps/unix/sysv/linux/i386/sigaction.c
31327 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31328 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31329 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31330 Remove conditional code.
31331 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31332 (__protocol_available): Remove #if 0 code.
31333 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31335 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31336 * sysdeps/unix/sysv/linux/kernel-features.h
31337 (__ASSUME_GETCWD_SYSCALL): Don't define.
31338 (__ASSUME_REALTIME_SIGNALS): Likewise.
31339 (__ASSUME_PREAD_SYSCALL): Likewise.
31340 (__ASSUME_PWRITE_SYSCALL): Likewise.
31341 (__ASSUME_POLL_SYSCALL): Likewise.
31342 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31343 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31345 (__ASSUME_SIOCGIFNAME): Don't define.
31346 (__ASSUME_MSG_NOSIGNAL): Likewise.
31347 (__ASSUME_SENDFILE): Define unconditionally.
31348 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31349 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31351 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31352 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31353 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31354 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31355 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31356 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31357 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31359 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31360 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31362 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31363 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31365 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31366 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31368 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31369 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31371 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31372 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31374 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31375 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31377 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31378 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31380 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31381 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31382 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31383 Remove conditional code.
31384 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31385 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31386 Remove conditional code.
31387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31388 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31389 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31390 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31391 Remove conditional code.
31392 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31393 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31394 Remove conditional code.
31395 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31396 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31397 Remove conditional code.
31398 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31399 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31400 Remove conditional code.
31401 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31402 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31403 Remove conditional code.
31404 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31405 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31406 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31407 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31408 * sysdeps/unix/sysv/linux/sigaction.c
31409 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31410 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31411 * sysdeps/unix/sysv/linux/sigpending.c
31412 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31413 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31414 * sysdeps/unix/sysv/linux/sigprocmask.c
31415 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31416 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31417 * sysdeps/unix/sysv/linux/sigsuspend.c
31418 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31419 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31420 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31421 (__libc_missing_rt_sigs): Remove.
31422 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31423 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31424 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31425 Remove conditional code.
31426 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31427 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31429 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31430 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31431 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31432 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31434 2012-05-14 Andreas Jaeger <aj@suse.de>
31436 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31437 it's not used in glibc.
31438 (__coshm1): Likewise.
31439 (__acosh1p): Likewise.
31442 * manual/string.texi (Copying and Concatenation): Add missing
31443 variable in concat example.
31444 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31446 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31449 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31450 __builtin_clzl with __builtin_clzll.
31452 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31455 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31458 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31460 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31461 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31462 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31463 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31465 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31467 * NEWS: Update ia64 info.
31469 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31471 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31474 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31476 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31477 * sysdeps/unix/syscalls.list (dup3): Likewise.
31478 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31479 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31481 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31483 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31484 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31486 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31488 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31490 (TLS_IE): Use mov/add instead of movq/addq to load thread
31492 (TLS_GD_PREFIX): New.
31495 2012-05-11 David S. Miller <davem@davemloft.net>
31497 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31498 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31499 (_FPU_SETCW): Likewise.
31501 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31503 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31504 is 32-byte aligned.
31506 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31509 * iconvdata/gb18030.c: Update tables.
31510 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31511 characters specially.
31512 (BODY for TO_LOOP): Add encoding of missing ranges.
31514 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31517 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31518 * sysdeps/mach/hurd/dup3.c: Likewise.
31519 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31520 * sysdeps/powerpc/memmove.c:: Likewise.
31522 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31524 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31525 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31527 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31529 * elf/elf.h (R_X86_64_RELATIVE64): New.
31530 (R_X86_64_NUM): Updated.
31531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31532 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31533 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31534 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31535 tst-quad1pie tst-quad2pie
31536 (modules-names): Add tst-quadmod1 tst-quadmod2.
31537 ($(objpfx)tst-quad1): New dependency.
31538 ($(objpfx)tst-quad2): Likewise.
31539 ($(objpfx)tst-quad1pie): Likewise.
31540 ($(objpfx)tst-quad2pie): Likewise.
31541 * sysdeps/x86_64/tst-quad1.c: New file.
31542 * sysdeps/x86_64/tst-quad1pie.c: New file.
31543 * sysdeps/x86_64/tst-quad2.c: Likewise.
31544 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31545 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31546 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31547 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31548 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31550 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31552 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31553 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31554 * streams/stropts.h (t_scalar_t): Define type.
31556 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31557 (_PATH_PRESERVE): Set to "/var/lib".
31558 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31560 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31563 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31564 if __dir_mkfile succeeded.
31566 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31567 checking for _hurd_dtablesize. Unlock it right after having
31568 finished _hurd_dtable allocation.
31570 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31572 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31573 * sysdeps/mach/hurd/configure: Regenerated.
31574 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31575 special-casing to...
31576 * sysdeps/gnu/configure.in: ... this new file.
31577 * sysdeps/unix/sysv/linux/configure: Regenerated.
31578 * sysdeps/gnu/configure: New generated file.
31580 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31581 for Linux: use nsec instead of usec, as well as:
31582 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31583 members of type struct timespec.
31584 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31586 (struct stat64): Likewise.
31587 (_STATBUF_ST_NSEC): New macro.
31588 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31590 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31591 __strtoul_internal rather than strtoul.
31593 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31595 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31598 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31600 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31601 which preserves existing values.
31602 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31604 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31606 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31607 TIMEOUT values. Return EINVAL for NFDS values either negative or
31608 greater than FD_SETSIZE.
31610 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31612 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31613 allocated, call __vm_protect to finish enabling the existing space, and
31614 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31615 allocate the remainder.
31617 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31619 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31620 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31622 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31624 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31625 sysdeps/mach/hurd/readlink.c.
31627 * posix/tst-sysconf.c (posix_options): Only use
31628 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31629 _POSIX_SYNCHRONIZED_IO when they are defined
31630 * sysdeps/mach/hurd/bits/posix_opt.h:
31631 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31632 (_XOPEN_REALTIME): Undefine macro.
31633 (_XOPEN_REALTIME_THREADS): Undefine macro.
31634 (_XOPEN_SHM): Undefine macro.
31635 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31637 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31639 (_POSIX_ASYNC_IO): Undefine macro.
31640 (_POSIX_PRIORITIZED_IO): Undefine macro.
31641 (_POSIX_SPIN_LOCKS): Define macro to -1.
31643 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31644 SA_NODEFER, SA_RESETHAND.
31645 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31646 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31649 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31651 * elf/Makefile (pldd-modules): Define unconditionally.
31653 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31655 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31657 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31659 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31660 Return ENOENT when name is empty.
31661 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31663 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31665 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31667 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31669 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31671 Fix mlock in all cases except non-readable pages.
31672 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31673 instead of VM_PROT_ALL as parameter to __vm_wire function.
31675 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31676 (__mkdir): When path is `/', just fail with EEXIST.
31677 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31679 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31681 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31682 <sys/uio.h> (for writev).
31683 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31684 and <sys/param.h> (for MIN).
31686 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31688 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31689 REQUESTED_TIME. Properly set the remaining time and return EINTR
31692 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31694 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31695 Depend on against $(link-rpcuserlibs).
31697 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31699 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31700 (__libc_stack_end): Do not use attribute_relro.
31701 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31702 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31703 to libthread-provided value.
31704 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31707 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31710 * bits/libc-lock.h (__libc_once_get): New macro.
31711 * sysdeps/mach/bits/libc-lock.h: Likewise.
31712 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31713 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31714 instead of using implementation details.
31716 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31717 * libio/freopen.c: Likewise.
31718 * libio/freopen64.c: Likewise.
31719 * misc/syslog.c: Likewise.
31720 * nscd/connections.c: Likewise.
31721 * nscd/netgroupcache.c: Likewise.
31722 * sysdeps/posix/getcwd.c: Likewise.
31724 2012-05-10 Roland McGrath <roland@hack.frob.com>
31726 * math/w_ilogbf.c: Add #include <limits.h>.
31728 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31730 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31731 path instead of returning without unlocking.
31733 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31734 immediate-write ioctls.
31735 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31737 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31739 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31740 __builtin_frame_address instead of making assumptions about the
31741 location of the return address relative to DATA. Force early load of
31742 the return address.
31743 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31744 __builtin_frame_address.
31747 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31748 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31749 implement dup3 and do some further code clean-ups.
31750 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31751 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31753 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31755 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31757 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31758 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31759 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31760 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31761 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31764 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31765 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31766 when handler == SIG_ERR, not when handler != SIG_ERR.
31768 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31770 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31771 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31774 accept4 for GNU Hurd.
31775 * include/sys/socket.h (__libc_accept4): New prototype.
31776 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31777 to implement __libc_accept4.
31778 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31780 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31782 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31783 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31784 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31785 signal-defines.sym.
31787 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31789 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31791 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31793 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31794 assertion on O_CLOEXEC flag.
31795 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31796 * hurd/intern-fd.c: Likewise.
31797 * hurd/port2fd.c: Likewise.
31799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31802 * bits/in.h (IPV6_PKTINFO): Define new macro.
31803 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31805 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31810 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31811 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31812 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31813 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31814 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31815 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31816 * math/libm-test.inc (logb_test) : Additional logb tests.
31818 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31819 Andreas Jaeger <aj@suse.de>
31821 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31822 * configure: Regenerated.
31823 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31824 * config.make.in (link-obsolete-rpc): New substituted variable.
31825 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31826 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31827 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31828 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31829 so that libc.a contains the symbols.
31830 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31831 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31832 * sunrpc/auth_none.c: Likewise.
31833 * sunrpc/auth_unix.c: Likewise.
31834 * sunrpc/authdes_prot.c: Likewise.
31835 * sunrpc/authuxprot.c: Likewise.
31836 * sunrpc/clnt_gen.c: Likewise.
31837 * sunrpc/clnt_perr.c: Likewise.
31838 * sunrpc/clnt_raw.c: Likewise.
31839 * sunrpc/clnt_simp.c: Likewise.
31840 * sunrpc/clnt_tcp.c: Likewise.
31841 * sunrpc/clnt_udp.c: Likewise.
31842 * sunrpc/clnt_unix.c: Likewise.
31843 * sunrpc/des_crypt.c: Likewise.
31844 * sunrpc/des_soft.c: Likewise.
31845 * sunrpc/get_myaddr.c: Likewise.
31846 * sunrpc/key_call.c: Likewise.
31847 * sunrpc/key_prot.c: Likewise.
31848 * sunrpc/netname.c: Likewise.
31849 * sunrpc/pm_getmaps.c: Likewise.
31850 * sunrpc/pm_getport.c: Likewise.
31851 * sunrpc/pmap_clnt.c: Likewise.
31852 * sunrpc/pmap_prot.c: Likewise.
31853 * sunrpc/pmap_prot2.c: Likewise.
31854 * sunrpc/pmap_rmt.c: Likewise.
31855 * sunrpc/publickey.c: Likewise.
31856 * sunrpc/rpc_cmsg.c: Likewise.
31857 * sunrpc/rpc_common.c: Likewise.
31858 * sunrpc/rpc_dtable.c: Likewise.
31859 * sunrpc/rpc_prot.c: Likewise.
31860 * sunrpc/rpc_thread.c: Likewise.
31861 * sunrpc/rtime.c: Likewise.
31862 * sunrpc/svc.c: Likewise.
31863 * sunrpc/svc_auth.c: Likewise.
31864 * sunrpc/svc_raw.c: Likewise.
31865 * sunrpc/svc_run.c: Likewise.
31866 * sunrpc/svc_tcp.c: Likewise.
31867 * sunrpc/svc_udp.c: Likewise.
31868 * sunrpc/svc_unix.c: Likewise.
31869 * sunrpc/svcauth_des.c: Likewise.
31870 * sunrpc/xcrypt.c: Likewise.
31871 * sunrpc/xdr.c: Likewise.
31872 * sunrpc/xdr_array.c: Likewise.
31873 * sunrpc/xdr_float.c: Likewise.
31874 * sunrpc/xdr_intXX_t.c: Likewise.
31875 * sunrpc/xdr_mem.c: Likewise.
31876 * sunrpc/xdr_rec.c: Likewise.
31877 * sunrpc/xdr_ref.c: Likewise.
31878 * sunrpc/xdr_sizeof.c: Likewise.
31879 * sunrpc/xdr_stdio.c: Likewise.
31881 2012-05-10 Roland McGrath <roland@hack.frob.com>
31883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31884 change. Update copyright years.
31886 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31888 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31890 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31891 Joseph Myers <joseph@codesourcery.com>
31892 Paul Pluzhnikov <ppluzhnikov@google.com>
31895 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31897 [cross-compiling] (extra-libs): Likewise.
31898 [cross-compiling] (extra-libs-others): Likewise.
31899 [cross-compiling] (librpcsvc-routines): Likewise.
31900 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31901 [cross-compiling] (omit-deps): Likewise.
31902 (sunrpc-CPPFLAGS): New variable.
31903 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31904 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31905 (cross-rpcgen-objs): New variable.
31906 (extra-objs): Append $(cross-rpcgen-objs).
31907 ($(cross-rpcgen-objs)): New rule.
31908 ($(objpfx)cross-rpcgen): Likewise.
31909 (rpcgen-cmd): Define to use $(built-program-file). Expand
31911 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31912 ($(objpfx)x%.stmp): Likewise.
31913 * sunrpc/proto.h [IS_IN_build] (_): Define.
31914 [IS_IN_build] (_libc_intl_domainname): Likewise.
31916 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31919 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31920 and R_X86_64_TPOFF64.
31922 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31924 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31925 sysdeps/unix/sysv/syscalls.list.
31928 * sysdeps/unix/sysv/syscalls.list: Remove file.
31930 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31933 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31934 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31935 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31936 (__LC_IDENTIFICATION): Make these macros useful in #if
31937 expressions, as required by C99.
31939 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31941 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31942 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31945 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31947 * stdlib/longlong.h: Updated from GCC.
31949 2012-05-09 Andreas Jaeger <aj@suse.de>
31951 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31952 default is first entry.
31953 (run_mode): Set type.
31954 (main): Remove informal message about syslog.
31955 (options): Fix typo.
31958 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31961 (llrintf): Likewise.
31962 (llrint): Likewise.
31965 (nearbyint): Likewise.
31966 (nearbyintf): Likewise.
31968 2012-05-09 Andreas Jaeger <aj@suse.de>
31969 Pedro Alves <palves@redhat.com>
31971 * nscd/nscd.c (run_mode): Use enum.
31972 (main): Cleanup coding style issue.
31974 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31975 Andreas Jaeger <aj@suse.de>
31977 * nscd/nscd.c (go_background): Replaced with...
31978 (run_mode): ... this.
31979 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31980 (options): Add -F --foreground.
31981 (main): Implement it.
31982 (parse_opt): Parse it.
31984 2012-05-09 Andreas Jaeger <aj@suse.de>
31987 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31988 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31989 -Wconversion warning.
31990 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31993 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31995 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31997 (LC_ALL): Use macro-int-constant.
31998 (LC_COLLATE): Likewise.
31999 (LC_CTYPE): Likewise.
32000 (LC_MESSAGES): Likewise.
32001 (LC_MONETARY): Likewise.
32002 (LC_NUMERIC): Likewise.
32003 (LC_TIME): Likewise.
32004 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32005 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32007 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32009 [C99-based standards] (float_t): Expect type.
32010 [C99-based standards] (double_t): Expect type.
32011 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32013 [C99-based standards] (HUGE_VALL): Likewise.
32014 [C99-based standards] (INFINITY): Likewise.
32015 [C99-based standards] (NAN): Likewise.
32016 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32017 [C99-based standards] (FP_NAN): Likewise.
32018 [C99-based standards] (FP_NORMAL): Likewise.
32019 [C99-based standards] (FP_SUBNORMAL): Likewise.
32020 [C99-based standards] (FP_ZERO): Likewise.
32021 [C99-based standards] (FP_FAST_FMA): Use
32022 optional-macro-int-constant. Specify type. Require == 1.
32023 [C99-based standards] (FP_FAST_FMAF): Likewise.
32024 [C99-based standards] (FP_FAST_FMAL): Likewise.
32025 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32026 [C99-based standards] (FP_ILOGBNAN): Likewise.
32027 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32029 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32030 [C99-based standards] (math_errhandling): Specify type.
32031 [ISO99 || ISO11] (signgam): Do not allow.
32032 [non-C99-based standards] (copysignf): Do not allow.
32033 [non-C99-based standards] (exp2f): Likewise.
32034 [non-C99-based standards] (log2f): Likewise.
32035 [non-C99-based standards] (modff): Allow.
32036 [non-C99-based standards] (erff): Do not allow.
32037 [non-C99-based standards] (erfcf): Likewise.
32038 [non-C99-based standards] (gammaf): Likewise.
32039 [non-C99-based standards] (hypotf): Likewise.
32040 [non-C99-based standards] (j0f): Likewise.
32041 [non-C99-based standards] (j1f): Likewise.
32042 [non-C99-based standards] (jnf): Likewise.
32043 [non-C99-based standards] (lgammaf): Likewise.
32044 [non-C99-based standards] (tgammaf): Likewise.
32045 [non-C99-based standards] (y0f): Likewise.
32046 [non-C99-based standards] (y1f): Likewise.
32047 [non-C99-based standards] (ynf): Likewise.
32048 [non-C99-based standards] (isnanf): Likewise.
32049 [non-C99-based standards] (acoshf): Likewise.
32050 [non-C99-based standards] (asinhf): Likewise.
32051 [non-C99-based standards] (atanhf): Likewise.
32052 [non-C99-based standards] (cbrtf): Likewise.
32053 [non-C99-based standards] (expm1f): Likewise.
32054 [non-C99-based standards] (ilogbf): Likewise.
32055 [non-C99-based standards] (log1pf): Likewise.
32056 [non-C99-based standards] (logbf): Likewise.
32057 [non-C99-based standards] (nextafterf): Likewise.
32058 [non-C99-based standards] (remainderf): Likewise.
32059 [non-C99-based standards] (rintf): Likewise.
32060 [non-C99-based standards] (scalbf): Likewise.
32061 [non-C99-based standards] (copysignl): Likewise.
32062 [non-C99-based standards] (exp2l): Likewise.
32063 [non-C99-based standards] (log2l): Likewise.
32064 [non-C99-based standards] (modfl): Allow.
32065 [non-C99-based standards] (erfl): Do not allow.
32066 [non-C99-based standards] (erfcl): Likewise.
32067 [non-C99-based standards] (gammal): Likewise.
32068 [non-C99-based standards] (hypotl): Likewise.
32069 [non-C99-based standards] (j0l): Likewise.
32070 [non-C99-based standards] (j1l): Likewise.
32071 [non-C99-based standards] (jnl): Likewise.
32072 [non-C99-based standards] (lgammal): Likewise.
32073 [non-C99-based standards] (tgammal): Likewise.
32074 [non-C99-based standards] (y0l): Likewise.
32075 [non-C99-based standards] (y1l): Likewise.
32076 [non-C99-based standards] (ynl): Likewise.
32077 [non-C99-based standards] (isnanl): Likewise.
32078 [non-C99-based standards] (acoshl): Likewise.
32079 [non-C99-based standards] (asinhl): Likewise.
32080 [non-C99-based standards] (atanhl): Likewise.
32081 [non-C99-based standards] (cbrtl): Likewise.
32082 [non-C99-based standards] (expm1l): Likewise.
32083 [non-C99-based standards] (ilogbl): Likewise.
32084 [non-C99-based standards] (log1pl): Likewise.
32085 [non-C99-based standards] (logbl): Likewise.
32086 [non-C99-based standards] (nextafterl): Likewise.
32087 [non-C99-based standards] (remainderl): Likewise.
32088 [non-C99-based standards] (rintl): Likewise.
32089 [non-C99-based standards] (scalbl): Likewise.
32090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32091 [non-C99-based standards] (FP_*): Do not allow.
32092 [C99-based standards] (FP_*): Change to
32093 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32094 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32096 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32097 (SIG_ERR): Likewise.
32098 [X/Open-based standards] (SIG_HOLD): Likewise.
32099 (SIG_IGN): Likewise.
32100 (SIGABRT): Use macro-int-constant. Specify type. Require
32102 (SIGFPE): Likewise.
32103 (SIGILL): Likewise.
32104 (SIGINT): Likewise.
32105 (SIGSEGV): Likewise.
32106 (SIGTER): Likewise.
32107 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32108 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32109 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32110 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32111 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32112 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32113 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32114 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32115 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32116 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32117 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32118 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32119 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32120 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32121 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32122 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32123 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32124 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32125 [X/Open-based standards] (SIGTRAP): Likewise.
32126 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32127 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32128 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32129 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32130 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32133 2012-05-08 Ian Wienand <ianw@vmware.com>
32136 * time/tzset.c (__tzset_parse_tz): Update default rules for
32137 daylight time changes in the Energy Policy Act of 2005.
32139 2012-05-09 Andreas Jaeger <aj@suse.de>
32142 * elf/ldconfig.c (parse_conf): Change string to make clear that
32143 ldconfig only issued a warning if ld.so.conf does not exist.
32145 2012-05-08 David S. Miller <davem@davemloft.net>
32147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32148 movxtod instead of popping the value on the stack.
32150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32152 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32154 * config.h.in: Add HAVE_ARM_PCS_VFP.
32156 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
32159 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32160 checking but the checks are disabled for any reason.
32162 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32164 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32165 and ELF64_R_TYPE with ELFW(R_TYPE).
32167 2012-05-08 Joseph Myers <joseph@codesourcery.com>
32169 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32170 (ulimit): Likewise.
32172 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32173 (settimeofday): Likewise.
32175 2012-05-08 Mike Frysinger <vapier@gentoo.org>
32177 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32178 a struct th_u2 inside the union, and move tu_block/tu_code into
32179 a new th_u3 union of tu_block/tu_code inside of that. Move
32180 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32181 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32182 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32183 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32184 (th_stuff): Change to th_u1.tu_stuff.
32186 (th_msg): Change to th_u1.th_u2.tu_data.
32188 2012-05-07 David S. Miller <davem@davemloft.net>
32190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32193 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32194 (SETUP_PIC_REG): Use it.
32195 (SETUP_PIC_REG_LEAF): Use it.
32197 2012-05-07 Joseph Myers <joseph@codesourcery.com>
32201 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32203 (EXPL_FINITE): Likewise.
32204 (FLDLOG): Likewise.
32205 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32206 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32208 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32210 (EXPL_FINITE): Likewise.
32211 (FLDLOG): Likewise.
32212 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32213 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32215 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32216 test of -max_value argument for long double.
32217 * sysdeps/i386/fpu/libm-test-ulps: Update.
32218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32220 2012-05-06 David S. Miller <davem@davemloft.net>
32222 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32223 quad soft-float symbols whose references which are compiler
32225 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32227 2012-05-06 Joseph Myers <joseph@codesourcery.com>
32231 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32233 (EXPL_FINITE): Likewise.
32234 (FLDLOG): Likewise.
32237 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32238 Adjust comments for base varying.
32239 (__expl_finite): Change alias to EXPL_FINITE.
32240 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32242 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32243 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32244 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32245 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32246 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32248 (EXPL_FINITE): Likewise.
32249 (FLDLOG): Likewise.
32252 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32253 Adjust comments for base varying.
32254 (__expl_finite): Change alias to EXPL_FINITE.
32255 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32260 * math/libm-test.inc (check_float_internal): Correct ulp
32261 calculation for subnormal expected results.
32263 2012-05-06 Andreas Jaeger <aj@suse.de>
32265 * Makeconfig (+math-flags): New, set to -frounding-math.
32266 (+cflags): Add +math-flags so that all of glibc gets compiled with
32269 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32271 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32273 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32279 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32280 (__ieee754_expl): Allow for and saturate large arguments.
32281 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32282 (u_threshold): Likewise.
32283 (__exp): Call __ieee754_exp before checking for overflow and
32285 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32286 (u_threshold): Likewise.
32287 (__expf): Call __ieee754_expf before checking for overflow and
32289 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32290 (u_threshold): Likewise.
32291 (__expl): Call __ieee754_expl before checking for overflow and
32293 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32294 (__ieee754_expl): Allow for and saturate large arguments.
32295 * math/libm-test.inc (exp_test): Add another test. Do not allow
32296 missing overflow exception on overflow.
32297 (expm1_test): Do not allow missing overflow exception on overflow.
32299 * sysdeps/i386/fpu/e_expl.c: Move to ...
32300 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32301 rather than using inline asm.
32302 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32303 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32304 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32306 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32309 (signal): Likewise.
32313 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32315 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32316 sysdeps/unix/common/syscalls.list.
32317 (fchmod): Likewise.
32318 (fchown): Likewise.
32319 (ftruncate): Likewise.
32320 (getrusage): Likewise.
32321 (gettimeofday): Likewise.
32322 (setpgid): Likewise.
32323 (setregid): Likewise.
32324 (setreuid): Likewise.
32325 (sigaction): Likewise.
32326 (truncate): Likewise.
32327 (vhangup): Likewise.
32328 * sysdeps/unix/common/syscalls.list: Remove file.
32329 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32330 * sysdeps/unix/sysv/linux/Implies: Likewise.
32332 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32334 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32336 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32340 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32343 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32346 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32349 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32352 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32355 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32358 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32362 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32366 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32369 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32373 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32377 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32379 * sysdeps/unix/common/bits/dirent.h: Remove file.
32380 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32382 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32383 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32384 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32385 * sysdeps/unix/bsd/isatty.c: Likewise.
32386 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32387 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32388 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32390 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32393 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32394 long double comparison inaccuracies.
32395 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32398 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32400 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32401 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32403 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32406 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32407 nonzero digits before rounding a hex value.
32408 * stdlib/tst-strtod.c (tests): Add another test.
32410 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32412 * sysdeps/s390/fpu/libm-test-ulps: Update.
32414 2012-05-03 Andreas Jaeger <aj@suse.de>
32416 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32417 does not get optimized out.
32418 (malloc_opt_barrier): New.
32420 2012-05-03 Andreas Jaeger <aj@suse.de>
32421 Roland McGrath <roland@hack.frob.com>
32423 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32424 intermediate file deletion.
32425 (generated): Add .symlist files.
32427 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32430 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32431 Redirect under this condition.
32432 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32433 [__USE_GNU] (__dprintf_chk): Not under this condition.
32434 [__USE_GNU] (__vdprintf_chk): Likewise.
32435 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32436 under this condition.
32437 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32438 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32439 [__USE_XOPEN2K8] (vdprintf): Likewise.
32440 [__USE_GNU] (__dprintf_chk): Not under this condition.
32441 [__USE_GNU] (__vdprintf_chk): Likewise.
32442 [__USE_GNU] (dprintf): Likewise.
32443 [__USE_GNU] (vdprintf): Likewise.
32445 2012-05-03 Roland McGrath <roland@hack.frob.com>
32447 * elf/Makefile (common-generated): Set this instead of generated for
32448 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32449 $(all-built-dso)-derived lists.
32451 2012-05-03 Andreas Jaeger <aj@suse.de>
32453 * sysdeps/i386/fpu/libm-test-ulps: Update.
32456 * FAQ.in: Likewise.
32457 * scripts/gen-FAQ.pl: Likewise.
32458 * manual/install.texi (Installation): Point to online location of
32460 * Makefile (files-for-dist): Remove FAQ.
32463 2012-05-02 Allan McRae <allan@archlinux.org>
32465 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32466 (LDFLAGS-reldepmod5.so): Likewise.
32467 (LDFLAGS-reldep6mod1.so): Likewise.
32468 (LDFLAGS-reldep6mod4.so): Likewise.
32469 (LDFLAGS-reldep8mod3.so): Likewise.
32470 (LDFLAGS-unload4mod1.so): Likewise.
32471 (LDFLAGS-unload4mod2.so): Likewise.
32472 (LDFLAGS-tst-initorder): Likewise.
32473 (LDFLAGS-tst-initordera2.so): Likewise.
32474 (LDFLAGS-tst-initordera3.so): Likewise.
32475 (LDFLAGS-tst-initordera4.so): Likewise.
32476 (LDFLAGS-tst-initorderb2.so): Likewise.
32477 (LDFLAGS-noload): Likewise.
32478 (LDFLAGS-next): Likewise.
32479 (LDFLAGS-order2mod1.so): Likewise.
32480 (LDFLAGS-order2mod2.so): Likewise.
32481 (LDFLAGS-tst-initorder2): Likewise.
32482 (LDFLAGS-tst-initorder2a.so): Likewise.
32483 (LDFLAGS-tst-initorder2b.so): Likewise.
32484 (LDFLAGS-tst-initorder2c.so): Likewise.
32485 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32487 2012-05-02 David S. Miller <davem@davemloft.net>
32489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32491 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32494 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32496 2012-05-02 Andreas Jaeger <aj@suse.de>
32498 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32499 since we manipulate rounding mode.
32500 (CPPFLAGS-test-idouble.c): Likewise.
32501 (CPPFLAGS-test-ifloat.c): Likewise.
32502 (CFLAGS-test-ldouble.c): Likewise.
32503 (CFLAGS-test-double.c): Likewise.
32504 (CFLAGS-test-float.c): Likewise.
32505 (CFLAGS-test-misc.c): Likewise.
32506 (CFLAGS-test-test-fenv.c): Likewise.
32508 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32512 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32513 comparisons to determine direction to adjust input.
32515 2012-05-01 Roland McGrath <roland@hack.frob.com>
32517 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32518 output to the target.
32520 * scripts/localplt.awk: New file.
32521 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32522 (check-localplt-CFLAGS): Variable removed.
32523 ($(all-built-dso:=.jmprel)): New static pattern rule.
32524 (generated): Add those targets.
32525 (localplt-built-dso): New variable.
32526 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32528 * elf/check-localplt.c: File removed.
32530 * scripts/check-execstack.awk: New file.
32531 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32532 (check-execstack-CFLAGS): Variable removed.
32533 ($(objpfx)check-execstack.h): Target removed.
32534 ($(objpfx)execstack-default): New target.
32535 (generated): Add that instead of check-execstack.h.
32536 ($(all-built-dso:=.phdr)): New static pattern rule.
32537 (generated): Add those targets.
32538 * elf/check-execstack.c: File removed.
32540 * scripts/check-textrel.awk: New file.
32541 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32542 (check-textrel-CFLAGS): Variable removed.
32543 (all-built-dso): Use := to define.o
32544 ($(all-built-dso:=.dyn)): New static pattern rule.
32545 (generated): Add those targets.
32546 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32547 * config.make.in (READELF): New substituted variable.
32548 * elf/check-textrel.c: File removed.
32550 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32552 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32554 * conform/data/ctype.h-data [C99-based standards] (isblank):
32556 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32557 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32558 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32559 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32560 Specify type. Require positive value.
32561 (EILSEQ): Likewise.
32562 (ERANGE): Likewise.
32563 [ISO || POSIX] (EILSEQ): Do not expect.
32564 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32565 Specify type. Require positive value.
32566 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32567 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32568 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32569 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32570 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32571 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32572 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32573 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32574 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32575 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32576 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32577 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32578 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32579 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32580 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32581 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32582 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32583 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32584 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32585 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32586 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32587 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32588 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32589 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32590 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32591 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32592 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32593 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32594 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32595 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32596 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32597 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32598 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32599 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32600 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32601 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32602 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32603 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32604 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32605 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32606 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32607 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32608 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32609 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32610 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32611 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32612 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32613 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32614 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32615 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32616 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32617 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32618 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32619 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32620 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32621 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32622 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32623 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32624 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32625 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32626 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32627 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32628 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32629 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32630 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32631 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32632 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32633 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32634 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32635 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32636 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32637 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32638 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32639 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32640 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32641 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32642 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32644 (FLT_ROUNDS): Expect as macro, not constant.
32645 (FLT_MANT_DIG): Use macro-int-constant.
32646 (DBL_MANT_DIG): Likewise.
32647 (LDBL_MANT_DIG): Likewise.
32648 (FLT_DIG): Likewise.
32649 (DBL_DIG): Likewise.
32650 (LDBL_DIG): Likewise.
32651 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32652 (DBL_MIN_EXP): Likewise.
32653 (LDBL_MIN_EXP): Likewise.
32654 (FLT_MAX_EXP): Use macro-int-constant.
32655 (DBL_MAX_EXP): Likewise.
32656 (LDBL_MAX_EXP): Likewise.
32657 (FLT_MAX_10_EXP): Likewise.
32658 (DBL_MAX_10_EXP): Likewise.
32659 (LDBL_MAX_10_EXP): Likewise.
32660 (FLT_MAX): Use macro-constant.
32661 (DBL_MAX): Likewise.
32662 (LDBL_MAX): Likewise.
32663 (FLT_EPSILON): Use macro-constant. Give upper bound.
32664 (DBL_EPSILON): Likewise.
32665 (LDBL_EPSILON): Likewise.
32666 (FLT_MIN): Likewise.
32667 (DBL_MIN): Likewise.
32668 (LDBL_MIN): Likewise.
32669 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32670 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32671 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32672 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32673 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32674 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32675 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32676 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32677 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32678 [ISO11] (FLT_TRUE_MIN): Likewise.
32679 [ISO11] (LDBL_TRUE_MIN): Likewise.
32680 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32681 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32682 (SCHAR_MIN): Use macro-int-constant. Specify type.
32683 (SCHAR_MAX): Likewise.
32684 (UCHAR_MAX): Likewise.
32685 (CHAR_MIN): Likewise.
32686 (CHAR_MAX): Likewise.
32687 (MB_LEN_MAX): Use macro-int-constant.
32688 (SHRT_MIN): Use macro-int-constant. Specify type.
32689 (SHRT_MAX): Likewise.
32690 (USHRT_MAX): Likewise.
32691 (INT_MAX): Likewise.
32692 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32694 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32696 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32698 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32699 bound negative. Suffix upper bound with "L".
32700 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32702 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32704 [C99-based standards] (LLONG_MAX): Likewise.
32705 [C99-based standards] (ULLONG_MAX): Likewise.
32706 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32708 [ISO11] (max_align_t): Require type.
32709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32711 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32712 from $CFLAGS, without defining away __attribute__ calls.
32713 (checknamespace): Use $CFLAGS_namespace.
32715 * conform/conformtest.pl (@keywords): Only include C99 keywords
32716 for standards based on C99 or C11.
32718 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32720 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32723 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32724 usability of symbols in #if.
32726 * conform/conformtest.pl: If macro or constant types start
32727 "promoted:", expect the symbol to be of the following type
32728 promoted by the integer promotions.
32730 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32731 in one place. Also handle "macro-constant".
32733 * conform/conformtest.pl: Only accept expected macro values with
32734 "==". Parse all "macro" lines in one place.
32735 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32737 * conform/conformtest.pl: Handle braced types on "constant" lines
32738 instead of handling "typed-constant".
32739 * conform/data/signal.h-data: Use "constant" instead of
32742 * conform/conformtest.pl: Handle "optional-" at start of lines in
32743 one place rather than duplicating several cases. Handle each
32744 format of "macro" line with initial "optional-".
32746 * conform/conformtest.pl: Only accept expected constant or
32747 optional-constant values with "==". Parse all "constant" lines in
32748 one place. Parse all "optional-constant" lines in one place.
32749 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32750 * conform/data/fmtmsg.h-data: Likewise.
32751 * conform/data/netinet/in.h-data: Likewise.
32752 * conform/data/tar.h-data: Likewise.
32753 * conform/data/limits.h-data: Use "==" form on "constant" and
32754 "optional-constant" lines.
32756 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32757 Use -std=c99 for XOPEN2K.
32758 (@knownproblems): Remove.
32759 (newtoken): Don't check %isknown.
32761 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32762 Do not expect macro.
32763 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32764 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32765 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32766 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32767 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32768 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32769 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32770 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32771 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32772 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32773 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32774 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32775 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32776 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32777 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32778 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32779 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32780 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32781 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32782 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32783 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32784 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32785 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32786 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32787 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32788 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32789 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32790 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32791 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32792 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32793 [XPG3] (acosh): Likewise.
32794 [XPG3] (asinh): Likewise.
32795 [XPG3] (atanh): Likewise.
32796 [XPG3] (cbrt): Likewise.
32797 [XPG3] (expm1): Likewise.
32798 [XPG3] (ilogb): Likewise.
32799 [XPG3] (log1p): Likewise.
32800 [XPG3] (logb): Likewise.
32801 [XPG3] (nextafter): Likewise.
32802 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32803 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32804 [XPG3] (remainder): Likewise.
32805 [XPG3] (rint): Likewise.
32806 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32807 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32808 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32809 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32810 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32811 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32812 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32813 [UNIX98 || XOPEN2K] (scalb): Expect.
32814 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32815 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32816 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32817 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32818 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32819 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32820 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32821 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32822 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32823 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32824 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32825 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32826 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32827 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32828 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32829 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32830 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32831 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32832 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32833 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32834 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32835 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32836 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32837 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32838 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32839 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32840 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32841 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32842 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32843 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32844 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32845 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32846 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32847 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32848 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32849 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32850 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32851 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32852 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32853 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32854 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32855 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32856 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32857 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32858 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32859 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32860 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32861 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32862 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32863 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32864 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32865 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32866 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32867 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32868 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32869 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32870 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32871 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32872 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32873 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32874 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32875 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32876 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32877 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32878 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32879 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32880 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32881 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32882 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32883 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32884 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32885 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32886 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32887 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32888 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32889 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32890 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32891 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32892 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32893 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32894 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32895 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32896 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32897 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32898 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32899 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32900 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32901 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32902 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32903 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32904 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32905 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32906 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32907 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32908 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32909 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32910 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32911 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32912 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32913 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32914 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32915 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32916 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32917 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32918 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32919 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32920 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32921 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32922 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32923 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32924 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32925 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32926 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32927 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32928 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32929 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32930 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32931 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32932 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32933 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32934 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32935 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32936 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32937 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32938 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32939 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32940 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32941 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32942 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32943 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32944 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32945 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32946 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32947 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32948 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32949 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32950 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32952 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32953 _XOPEN_SOURCE_EXTENDED for XPG4.
32955 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32957 * Makeconfig (localtime): Remove variable.
32958 (inst_localtime-file): Likewise.
32960 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32981 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32985 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32986 comparisons to determine direction to adjust input.
32987 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32988 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32989 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32991 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32993 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32995 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32996 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32998 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33000 * math/libm-test.inc (nexttoward_test): Add more tests.
33002 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33005 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33006 in version GLIBC_2.1, not GLIBC_2.0.
33007 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33010 2012-04-30 Joseph Myers <joseph@codesourcery.com>
33013 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33015 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33016 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33017 * math/libm-test.inc (acos_test): Add more tests.
33018 (asin_test): Likewise.
33019 * sysdeps/i386/fpu/libm-test-ulps: Update.
33020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33023 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33025 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33026 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33027 * math/libm-test.inc (acos_test_tonearest): New function.
33028 (acos_test_towardzero): Likewise.
33029 (acos_test_downward): Likewise.
33030 (acos_test_upward): Likewise.
33031 (asin_test_tonearest): Likewise.
33032 (asin_test_towardzero): Likewise.
33033 (asin_test_downward): Likewise.
33034 (asin_test_upward): Likewise.
33035 (main): Call the new functions.
33036 * sysdeps/i386/fpu/libm-test-ulps: Update.
33037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33041 * math/e_exp10.c: Include <float.h>.
33042 (__ieee754_exp10): Handle underflow here rather than multiplying
33043 large negative argument by M_LN10.
33044 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33046 * math/e_exp10l.c: Include <float.h>.
33047 (__ieee754_exp10l): Handle underflow here rather than multiplying
33048 large negative argument by M_LN10l.
33049 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33050 spurious overflow exception on underflow.
33052 2012-04-29 Marek Polacek <polacek@redhat.com>
33054 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33055 (__fortify_function): New macro.
33056 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33057 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33058 __extern_always_inline.
33059 * libio/bits/stdio2.h: Likewise.
33060 * libio/bits/stdio.h: Likewise.
33061 * string/string.h: Likewise.
33062 * string/bits/string3.h: Likewise.
33063 * include/stdio.h: Likewise.
33064 * stdlib/bits/stdlib.h: Likewise.
33065 * stdlib/stdlib.h: Likewise.
33066 * rt/bits/mqueue2.h: Likewise.
33067 * rt/mqueue.h: Likewise.
33068 * posix/bits/unistd.h: Likewise.
33069 * posix/unistd.h: Likewise.
33070 * io/bits/poll2.h: Likewise.
33071 * io/bits/fcntl2.h: Likewise.
33072 * io/fcntl.h: Likewise.
33073 * io/sys/poll.h: Likewise.
33074 * misc/bits/syslog.h: Likewise.
33075 * misc/bits/syslog-ldbl.h: Likewise.
33076 * misc/sys/syslog.h: Likewise.
33077 * socket/bits/socket2.h: Likewise.
33078 * socket/sys/socket.h: Likewise.
33079 * debug/tst-chk1.c: Likewise.
33080 * wcsmbs/bits/wchar2.h: Likewise.
33081 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33082 * wcsmbs/wchar.h: Likewise.
33084 2012-04-29 Andreas Jaeger <aj@suse.de>
33086 * Makerules (tests): Remove enable-check-abi protection.
33087 (check-abi-warn): Remove.
33088 (check-abi-%): Remove check-abi-warn usage.
33090 * configure.in: Remove check-abi configure option.
33091 * configure: Regenerated.
33092 * config.make.in (enable-check-abi): Remove.
33094 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33097 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33098 double functions to double *_finite functions.
33101 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33102 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33104 * stdio-common/Makefile (tests): Add tst-sprintf3.
33105 * stdio-common/tst-sprintf3.c: New file.
33107 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33108 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33110 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33112 * conform/conformtest.pl: Remove duplicate typed-constant
33115 2012-04-28 David S. Miller <davem@davemloft.net>
33117 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33118 (check-abi-%): Remove AWK script prerequisite and explicit
33120 (check-abi): Rewrite to just diff the symlist with the abilist.
33121 (config-tls, config-abi-config): Delete, no longer used.
33122 (update-abi-%): Remove AWK script and explicit abilist directory.
33123 (update-abi): Rewrite to simply compare and conditionally copy the
33124 symlist and the sysdep abilist file. Remove update-abi-config
33126 * abilist/ld.abilist: Remove.
33127 * abilist/libBrokenLocale.abilist: Remove.
33128 * abilist/libanl.abilist: Remove.
33129 * abilist/libcrypt.abilist: Remove.
33130 * abilist/libdl.abilist: Remove.
33131 * abilist/librt.abilist: Remove.
33132 * abilist/libthread_db.abilist: Remove.
33133 * abilist/libutil.abilist: Remove.
33134 * scripts/extract-abilist.awk: Remove.
33135 * scripts/merge-abilist.awk: Remove.
33136 * sysdeps/generic/libcidn.abilist: New file.
33137 * sysdeps/generic/libnss_compat.abilist: New file.
33138 * sysdeps/generic/libnss_db.abilist: New file.
33139 * sysdeps/generic/libnss_dns.abilist: New file.
33140 * sysdeps/generic/libnss_files.abilist: New file.
33141 * sysdeps/generic/libnss_hesiod.abilist: New file.
33142 * sysdeps/generic/libnss_nis.abilist: New file.
33143 * sysdeps/generic/libnss_nisplus.abilist: New file.
33144 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33145 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33146 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33148 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33149 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33150 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33151 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33152 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33153 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33154 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33155 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33156 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33158 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33159 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33160 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33161 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33163 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33164 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33165 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33166 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33167 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33168 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33170 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33171 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33172 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33174 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33277 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33278 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33279 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33281 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33282 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33283 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33284 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33285 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33286 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33287 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33288 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33289 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33290 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33342 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33344 * conform/conformtest.pl: Fix typo in handling typed-constant from
33347 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33349 * README: Cut down references to pre-2.6 Linux kernels and
33350 Linuxthreads. Update lists of configurations in libc and ports
33351 and sort alphabetically. Say "or newer" with Linux kernel version
33354 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33356 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33359 * math/libm-test.inc (logb_test_downward): New test to expose
33360 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33363 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33366 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33368 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33369 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33371 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33373 * sysdeps/unix/i386/brk.S: Remove file.
33374 * sysdeps/unix/i386/dl-brk.S: Likewise.
33375 * sysdeps/unix/i386/pipe.S: Likewise.
33376 * sysdeps/unix/i386/sigreturn.S: Likewise.
33377 * sysdeps/unix/i386/syscall.S: Likewise.
33378 * sysdeps/unix/i386/vfork.S: Likewise.
33379 * sysdeps/unix/i386/wait.S: Likewise.
33381 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33382 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33384 * configure.in (arm*-none*): Do not allow without
33385 --enable-hacker-mode.
33386 (netbsd*): Remove case setting base_os.
33387 (386bsd*): Likewise.
33388 (freebsd*): Likewise.
33391 (sunos*): Likewise.
33392 (ultrix*): Likewise.
33393 (newsos*): Likewise.
33394 (dynix*): Likewise.
33400 (minix*): Likewise.
33401 (irix4*): Likewise.
33402 (irix6*): Likewise.
33403 (solaris[2-9]*): Likewise.
33405 * configure: Regenerated.
33407 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33410 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33411 overflow or cancellation in calculating denominator.
33412 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33413 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33414 down expression to avoid unexpected rounding in newer GCCs.
33415 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33417 2012-04-26 David S. Miller <davem@davemloft.net>
33419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33420 long-double compat symbols.
33421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33435 2012-04-25 David S. Miller <davem@davemloft.net>
33437 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33438 HWCAP_* values only after the memory barriers have been defined.
33439 (atomic_full_barrier): Define.
33440 (atomic_read_barrier): Define.
33441 (atomic_write_barrier): Define.
33443 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33445 * shlib-versions: Add libgcc_s version information.
33446 * sysdeps/generic/libgcc_s.h: Remove.
33447 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33449 * sysdeps/gnu/unwind-resume.c: Likewise.
33450 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33452 2012-04-25 David S. Miller <davem@davemloft.net>
33454 * sysdeps/unix/sparc/brk.S: Delete.
33455 * sysdeps/unix/sparc/dl-brk.S: Delete.
33456 * sysdeps/unix/sparc/pipe.S: Delete.
33457 * sysdeps/unix/sparc/sysdep.S: Delete.
33458 * sysdeps/unix/sparc/sysdep.h: Delete.
33459 * sysdeps/unix/sparc/vfork.S: Delete.
33460 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33461 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33462 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33463 (ret_ERRVAL, r0, r1, MOVE): Define.
33464 (JUMPTARGET): Remove.
33465 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33466 sysdeps/unix/sparc/sysdep.h
33467 (ENTRY, END): Remove.
33468 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33470 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33472 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33473 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33476 * timezone/README: Update upstream location and email address for
33478 * timezone/zdump.c: Update from tzcode 2012b.
33479 * timezone/zic.c: Likewise.
33481 * configure.in (libc_cv_as_needed): Remove test.
33482 * configure: Regenerated.
33483 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33484 conditional definition.
33485 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33486 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33487 * config.make.in (have-as-needed): Remove variable.
33489 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33490 Paul Pluzhnikov <ppluzhnikov@google.com>
33492 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33495 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33497 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33498 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33499 * sysdeps/sh/strlen.S: Likewise.
33501 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33503 * sysdeps/unix/fork.S: Remove file.
33504 * sysdeps/unix/i386/fork.S: Likewise.
33505 * sysdeps/unix/sparc/fork.S: Likewise.
33507 * sysdeps/unix/system.c: Remove file.
33508 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33510 * sysdeps/unix/getegid.S: Remove file.
33511 * sysdeps/unix/geteuid.S: Likewise.
33513 2012-04-24 Roland McGrath <roland@hack.frob.com>
33515 * scripts/check-localplt.awk: New file.
33516 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33518 * scripts/data/localplt-generic.data: Add a comment.
33520 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33521 NODE when __dir_mkfile failed.
33522 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33523 Reported by Ludovic Courtès <ludo@gnu.org>.
33525 2012-04-24 Andreas Jaeger <aj@suse.de>
33527 * Makerules (common-clean): Also remove gen-as-const-headers
33530 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33532 * Makerules (native-compile): Do not change working directory for
33533 build. Use $(OUTPUT_OPTION) in command.
33534 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33536 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33539 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33540 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33541 * math/libm-test.inc (floor_test): Add more tests.
33542 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33544 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33546 * sysdeps/unix/getdents.c: Remove file.
33547 * sysdeps/unix/sysv/getdents.c: Likewise.
33548 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33550 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33551 sysdeps/unix/mman/syscalls.list.
33553 (mprotect): Likewise.
33555 (munmap): Likewise.
33556 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33557 * sysdeps/unix/mman/syscalls.list: Remove.
33558 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33560 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33561 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33562 * configure: Regenerated.
33563 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33564 $(libgcc_s_suffix).
33565 * config.make.in (libgcc_s_suffix): Remove variable.
33567 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33569 * sysdeps/unix/sysv/gethostname.c: Move to ...
33570 * sysdeps/posix/gethostname.c: ... here.
33572 * sysdeps/unix/execve.S: Remove file.
33574 * sysdeps/unix/_exit.S: Remove file.
33576 2012-04-23 Andreas Jaeger <aj@suse.de>
33579 * manual/Makefile: Remove make dist support, there's no
33580 need for a stand-alone documentation tar ball.
33581 (TEXI2DVI): Define always, it's not in Makeconfig.
33584 (edition): Removed.
33585 (glibc-doc-$(edition).tar): Removed
33589 (ETAGS): Remove, it's in Makeconfig.
33590 (move-if-change): Remove, it's in Makeconfig.
33592 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33595 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33596 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33597 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33598 (strtod_l, strtof_l, strtold_l): Remove __wur.
33599 It is not necessarily an error to ignore strtol's return value.
33600 One can reliably look at the stored endptr to decide whether
33601 the number had valid syntax.
33603 2012-04-21 Andreas Jaeger <aj@suse.de>
33606 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33608 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33610 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33611 * sysdeps/unix/sysv/Versions: Remove file.
33613 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33618 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33621 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33622 version from __vm86.
33624 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33626 * sysdeps/unix/common/lxstat.c: Remove file.
33627 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33629 * sysdeps/unix/sysv/Makefile: Remove file.
33631 * sysdeps/unix/sysv/direct.h: Remove file.
33633 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33634 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33635 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33636 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33637 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33638 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33639 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33641 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33643 * sysdeps/unix/xmknod.c: Remove file.
33644 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33646 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33648 * sysdeps/unix/sysv/i386/time.S: Remove file.
33650 * sysdeps/unix/fxstat.c: Remove file.
33651 * sysdeps/unix/xstat.c: Likewise.
33652 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33654 * sysdeps/unix/sysv/sigaction.c: Remove file.
33656 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33657 (sysdep_headers): Remove variable.
33658 [termio.h not in sysdep_headers] (generated): Likewise.
33659 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33660 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33661 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33662 * sysdeps/unix/sysv/tcflow.c: Likewise.
33663 * sysdeps/unix/sysv/tcflush.c: Likewise.
33664 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33665 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33666 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33667 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33668 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33670 * sysdeps/unix/siglist.c: Remove file.
33672 * sysdeps/unix/getppid.S: Remove file.
33674 * sysdeps/unix/mkdir.c: Remove file.
33675 * sysdeps/unix/rmdir.c: Likewise.
33677 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33679 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33681 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33682 errlist-compat value.
33684 2012-04-18 David S. Miller <davem@davemloft.net>
33686 * sysdeps/generic/memcopy.h (reg_char): Delete.
33687 * debug/strcat_chk.c: Use char, not reg_char.
33688 * debug/strcpy_chk.c: Likewise.
33689 * debug/strncat_chk.c: Likewise.
33690 * debug/strncpy_chk.c: Likewise.
33691 * string/memchr.c: Likewise.
33692 * string/memrchr.c: Likewise.
33693 * string/rawmemchr.c: Likewise.
33694 * string/strcat.c: Likewise.
33695 * string/strchr.c: Likewise.
33696 * string/strchrnul.c: Likewise.
33697 * string/strcmp.c: Likewise.
33698 * string/strcpy.c: Likewise.
33699 * string/strncat.c: Likewise.
33700 * string/strncmp.c: Likewise.
33701 * string/strncpy.c: Likewise.
33703 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33705 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33706 __builtin_memcopy is called when src and dest ranges are known to not
33709 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33711 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33712 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33713 fwd_align_merge macro call.
33714 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33715 bwd_align_merge macro call.
33716 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33718 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33720 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33721 bwd_align_merge macros.
33722 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33723 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33724 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33726 2012-04-18 David S. Miller <davem@davemloft.net>
33728 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33730 2012-04-18 Andreas Jaeger <aj@suse.de>
33733 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33734 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33735 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33737 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33738 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33739 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33741 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33742 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33743 Adjust for changed ldbl-128 files.
33745 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33746 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33747 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33749 2012-04-17 David S. Miller <davem@davemloft.net>
33751 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33753 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33755 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33756 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33757 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33758 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33759 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33760 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33762 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33765 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33766 * math/libm-test.inc: Add ilogb errno and exception tests.
33767 * math/w_ilogb.c: New file: ilogb wrapper.
33768 * math/w_ilogbf.c: New file: ilogbf wrapper.
33769 * math/w_ilogbl.c: New file: ilogbl wrapper.
33770 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33771 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33772 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33773 exception being thrown with 0.0 as argument.
33774 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33775 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33776 exception being thrown with 0.0 as argument.
33777 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33778 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33779 exception being thrown with 0.0 as argument.
33780 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33781 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33782 exception being thrown with 0.0 as argument.
33783 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33784 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33785 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33786 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33787 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33788 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33789 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33790 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33791 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33793 2012-04-17 Petr Baudis <pasky@ucw.cz>
33795 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33798 2012-04-16 Marek Polacek <polacek@redhat.com>
33800 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33802 2012-04-16 Marek Polacek <polacek@redhat.com>
33804 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33805 operands of fdivp instruction.
33807 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33809 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33810 * elf/tst-auditmod3b.c: Likewise.
33811 * elf/tst-auditmod4b.c: Likewise.
33812 * elf/tst-auditmod5b.c: Likewise.
33813 * elf/tst-auditmod6b.c: Likewise.
33814 * elf/tst-auditmod6c.c: Likewise.
33815 * elf/tst-auditmod7b.c: Likewise.
33816 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33817 * sysdeps/x86_64/preconfigure.in: Likewise.
33818 * sysdeps/x86_64/preconfigure: Regenerated.
33820 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33822 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33825 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33827 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33828 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33830 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33833 * locale/iso-639.def: Fix gl language name. Spotted by
33836 2012-04-12 Roland McGrath <roland@hack.frob.com>
33839 * libio/libio.h (__io_write_fn): Update comment.
33841 2012-04-12 Petr Baudis <pasky@ucw.cz>
33844 * stdio.texi (Hook Functions): The user provided writer function
33845 is not allowed to return -1.
33847 2012-04-11 David S. Miller <davem@davemloft.net>
33849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33851 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33853 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33854 Add a leading slash to rtkaio.
33856 2012-04-11 Jim Meyering <meyering@redhat.com>
33859 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33860 It is not necessarily an error to ignore fwrite's return
33861 value. One can reliably use ferror to test for errors after
33864 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33866 * bits/types.h (__snseconds_t): New type.
33867 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33869 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33871 (__SNSECONDS_T_TYPE): Likewise.
33872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33873 (__SNSECONDS_T_TYPE): Likewise.
33874 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33875 (__SNSECONDS_T_TYPE): Likewise.
33877 2012-04-10 Andreas Jaeger <aj@suse.de>
33880 * manual/time.texi (Processor Time): Return type of times is
33881 elapsed real time since an arbitrary point in the past.
33882 (CPU Time): Move CLK_TCK from here...
33883 (Processor Time): ...to here. Correct description.
33884 * manual/conf.texi (Constants for Sysconf): Correct description of
33887 2012-04-10 David S. Miller <davem@davemloft.net>
33890 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33891 where the is a gap between DT_REL(A) and DT_JMPREL.
33893 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33895 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33896 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33897 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33899 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33901 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33902 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33903 (dl_main): Handle --inhibit-cache.
33904 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33906 * elf/dl-load.c (_dl_map_object): Use it.
33907 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33909 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33912 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33913 (__ieee754_powl): Saturate large exponents rather than testing for
33914 overflow of y*log2(x).
33915 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33916 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33920 * math/s_ctan.c: Include <float.h>.
33921 (__ctan): Avoid internal overflow or cancellation in calculating
33923 * math/s_ctanf.c: Likewise.
33924 * math/s_ctanl.c: Likewise.
33925 * math/s_ctanh.c: Likewise.
33926 * math/s_ctanhf.c: Likewise.
33927 * math/s_ctanhl.c: Likewise.
33928 * math/libm-test.inc (ctan_test): Add more tests.
33929 (ctanh_test): Likewise.
33930 * sysdeps/i386/fpu/libm-test-ulps: Update.
33931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33933 2012-04-09 Andreas Jaeger <aj@suse.de>
33936 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33937 is an optional BSD extension.
33940 * manual/stdio.texi (Opening Streams): Document additional fopen
33943 2012-04-09 Roland McGrath <roland@hack.frob.com>
33945 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33946 %eax without telling the compiler.
33948 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33951 * manual/install.texi: Use sourceware.org.
33953 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33956 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33957 (__ieee754_pow): Generate overflow and underflow using huge*huge
33958 and tiny*tiny rather than just returning constant infinity or zero
33959 for large exponents.
33960 * math/libm-test.inc (pow_test): Require overflow exceptions for
33961 applicable cases of large exponents.
33964 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33965 (__ieee754_pow): Use iterative multiplication algorithm only for
33966 integer exponents with absolute value below 1024. Check for odd
33967 integer exponents when using algorithm for real exponents.
33968 * math/libm-test.inc (pow_test): Add more tests.
33969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33971 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33974 * math/libm-test.inc (exp_test): Do not allow overflow exception
33977 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33980 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33981 instead of __kernel_standard_f.
33983 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33985 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33986 * sysdeps/x86_64/memset_chk.S: Likewise.
33988 2012-04-08 Andreas Jaeger <aj@suse.de>
33991 * manual/startup.texi (Environment Access): Describe return value
33992 for putenv and setenv.
33995 * manual/filesys.texi (Directory Entries): Add description for
33999 * manual/filesys.texi (Directory Entries): Clarify that it's file
34000 system not operating system in the description of DT_UNKNOWN.
34003 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34005 2012-04-08 Stephen Compall <s11@member.fsf.org>
34008 * manual/llio.texi (Opening and Closing Files): Add cross
34009 reference to explain mode argument.
34011 2012-04-07 Mike Frysinger <vapier@gentoo.org>
34013 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34014 * sysdeps/x86_64/memset_chk.S: Likewise.
34016 2012-04-07 David S. Miller <davem@davemloft.net>
34018 * elf/elf.h (R_SPARC_WDISP10): Define.
34019 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34021 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34022 R_SPARC_SIZE64 and R_SPARC_H34.
34024 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34026 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34027 conditions and remove no longer applicable assertion.
34029 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34031 * bits/byteswap.h: Include <features.h>.
34032 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34033 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34035 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34037 * bits/byteswap.h (__bswap_16): Removed.
34038 Include <bits/byteswap-16.h> to get __bswap_16.
34039 * sysdeps/i386/bits/byteswap.h: Likewise.
34040 * sysdeps/s390/bits/byteswap.h: Likewise.
34041 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34042 * bits/byteswap-16.h: New file.
34043 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34044 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34045 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34046 * string/Makefile (headers): Add bits/byteswap-16.h.
34048 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34051 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34053 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34054 * nss/tst-nss-static.c: New.
34056 2012-04-06 Robert Millan <rmh@gnu.org>
34059 * manual/llio.texi (File Position Primitive): lseek
34060 refers to WHENCE when it really means OFFSET.
34062 2012-04-06 Andreas Jaeger <aj@suse.de>
34064 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34065 strncmp declarations.
34067 * abilist/libc.abilist: Add __poll and __ppoll.
34069 2012-04-05 David S. Miller <davem@davemloft.net>
34071 * scripts/check-local-headers.sh: Accept a host triplet in the
34072 path matched by the exclude regexp.
34074 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34076 * sysdeps/powerpc/powerpc32/dl-machine.h
34077 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34078 * sysdeps/s390/s390-32/dl-machine.h
34079 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34080 * sysdeps/sparc/sparc32/dl-machine.h
34081 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34082 * sysdeps/sparc/sparc64/dl-machine.h
34083 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34085 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34087 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34088 undefined symbol errors.
34090 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34093 2012-04-05 Michael Matz <matz@suse.de>
34096 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34098 2012-04-05 Andreas Jaeger <aj@suse.de>
34101 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34104 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34106 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34107 which ROUND is no valid rounding mode.
34109 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34111 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34113 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34115 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34117 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34118 an exception using FPU order intentionally.
34120 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34122 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34123 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34124 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34125 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34127 2012-04-05 Simon Josefsson <simon@josefsson.org>
34130 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34131 EINVAL when BUFLEN is too smal.
34133 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34136 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34137 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34139 2012-04-03 Andreas Jaeger <aj@suse.de>
34142 * manual/setjmp.texi (System V contexts): Fix sentence.
34145 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34146 New macro for this case.
34147 [!__GNUC__] (__bswap_64): New inline function for this case.
34148 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34149 * bits/byteswap.h: Likewise.
34150 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34151 ull, guard with __GLIBC_HAVE_LONG_LONG.
34153 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34154 __GLIBC_HAVE_LONG_LONG.
34156 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34157 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34159 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34162 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34163 inptr and inend, rather than using last_ch.
34165 2012-04-02 David S. Miller <davem@davemloft.net>
34167 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34168 * stdio-common/printf-parse.h (read_int): Change return type to
34169 'int', return -1 on INT_MAX overflow.
34170 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34171 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34172 overflows INT_MAX. Check for overflow of in-format-string precision
34173 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34174 SIZE_MAX not INT_MAX for integer overflow test.
34175 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34176 skip the construct in the format string but do not record anything.
34177 * stdio-common/bug22.c: Adjust to test both width/prevision
34178 INT_MAX overflow as well as total length INT_MAX overflow. Check
34179 explicitly for proper errno values.
34181 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34183 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34185 * string/test-strcmp.c [! WIDE]: Likewise.
34186 * time/tst-mktime2.c: Likewise for INT_MAX.
34187 * string/test-string.h: #include <sys/param.h> for MIN.
34189 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34190 * sysdeps/i386/init-first.c (init): Likewise.
34191 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34192 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34193 * sysdeps/sh/init-first.c (init): Likewise.
34195 2012-04-01 Ulrich Drepper <drepper@gmail.com>
34197 * po/ru.po: Update from translation team.
34198 * po/vi.po: Likewise.
34200 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34202 * resolv/nss_dns/dns-host.c: Merge copyright years.
34204 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34206 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34207 Optimize memcpy with prefetch if
34208 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34209 src, dst pointers have unequal 16 byte alignments.
34211 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34214 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34215 from a CNAME entry and return the minimum ttl for the query.
34216 (gaih_getanswer_slice): Likewise.
34218 2012-03-30 Jeff Law <law@redhat.com>
34220 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34222 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34223 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34225 * resolv/nss_dns/dns-host.c: Update copyright year.
34227 2012-03-30 Ulrich Drepper <drepper@gmail.com>
34229 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34230 requests to save a system call. Fix check that all bytes are sent.
34232 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34233 comments for sendmmsg.
34235 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34238 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34239 with only 1 character between 0x0041 and 0x01b0.
34240 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34241 * wcsmbs/tst-mbsnrtowcs.c: New file.
34243 2012-03-29 David S. Miller <davem@davemloft.net>
34245 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34246 small copies by hand.
34248 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34251 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34252 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34255 2012-03-28 David S. Miller <davem@davemloft.net>
34257 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34258 that branches into memcpy.
34259 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34260 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34261 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34262 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34265 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34266 implementation too.
34267 * sysdeps/sparc/mempcpy.S: New file.
34269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34270 the IFUNC routine in the libc case.
34271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34273 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34274 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34275 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34276 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34277 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34278 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34279 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34280 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34282 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34283 loop to 256 bytes instead of 64 bytes and fix test signedness.
34285 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34286 * sysdeps/sparc/sparc32/Makefile: rather than here...
34287 * sysdeps/sparc/sparc64/Makefile: and here.
34289 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34291 * malloc/mallocbug.c: Avoid warnings about unused variables.
34293 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34296 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34297 in the right place. Discard and retry query if response is
34298 larger than input buffer size.
34300 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34305 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34306 x for large integer exponent.
34307 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34308 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34309 sign of result as needed afterwards.
34310 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34311 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34312 result for underflowing pow the same as for overflow.
34313 (__kernel_standard_l): Handle powl overflow and underflow here
34314 rather than calling __kernel_standard.
34315 * math/libm-test.inc (pow_test): Add more tests.
34330 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34331 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34332 (__kernel_standard_l): New function.
34333 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34335 * math/w_acosl.c (__acosl): Likewise.
34336 * math/w_asinl.c (__asinl): Likewise.
34337 * math/w_atan2l.c (__atan2l): Likewise.
34338 * math/w_atanhl.c (__atanhl): Likewise.
34339 * math/w_coshl.c (__coshl): Likewise.
34340 * math/w_exp10l.c (__exp10l): Likewise.
34341 * math/w_exp2l.c (__exp2l): Likewise.
34342 * math/w_fmodl.c (__fmodl): Likewise.
34343 * math/w_hypotl.c (__hypotl): Likewise.
34344 * math/w_j0l.c (__j0l, __y0l): Likewise.
34345 * math/w_j1l.c (__j1l, __y1l): Likewise.
34346 * math/w_jnl.c (__jnl, __ynl): Likewise.
34347 * math/w_lgammal.c (__lgammal): Likewise.
34348 * math/w_log10l.c (__log10l): Likewise.
34349 * math/w_log2l.c (__log2l): Likewise.
34350 * math/w_logl.c (__logl): Likewise.
34351 * math/w_powl.c (__powl): Likewise.
34352 * math/w_remainderl.c (__remainderl): Likewise.
34353 * math/w_scalbl.c (sysv_scalbl): Likewise.
34354 * math/w_sinhl.c (__sinhl): Likewise.
34355 * math/w_sqrtl.c (__sqrtl): Likewise.
34356 * math/w_tgammal.c (__tgammal): Likewise.
34357 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34358 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34359 * math/libm-test.inc (acos_test): Add more tests.
34360 (acosh_test): Likewise.
34361 (asin_test): Likewise.
34362 (atanh_test): Likewise.
34363 (exp_test): Likewise.
34364 (exp10_test): Likewise.
34365 (exp2_test): Likewise.
34366 (expm1_test): Likewise.
34367 (lgamma_test): Likewise.
34368 (log_test): Likewise.
34369 (log10_test): Likewise.
34370 (log1p_test): Likewise.
34371 (log2_test): Likewise.
34372 (pow_test): Do not allow some spurious overflow exceptions.
34373 (sqrt_test): Add more tests.
34374 (tgamma_test): Likewise.
34375 (y0_test): Likewise.
34376 (y1_test): Likewise.
34377 (yn_test): Likewise.
34379 2012-03-27 Anton Blanchard <anton@samba.org>
34381 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34383 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34384 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34385 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34387 2012-03-27 David S. Miller <davem@davemloft.net>
34389 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34391 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34392 have-as-vis3 check.
34394 2012-03-27 Andreas Jaeger <aj@suse.de>
34396 * sysdeps/x86_64/elf/configure.in: Moved to ...
34397 * sysdeps/x86_64/configure.in: ... here.
34398 * sysdeps/x86_64/elf/start.S: Moved to ...
34399 * sysdeps/x86_64/start.S: ... here.
34400 * sysdeps/x86_64/elf/configure: Delete.
34402 * sysdeps/x86_64/configure.in: Merge contents from
34403 sysdeps/i386/configure.in (without i686 check).
34405 * sysdeps/i386/elf/Versions: Merge into ...
34406 * sysdeps/i386/Versions: ... this.
34407 * sysdeps/i386/elf/Versions: Delete file.
34408 * sysdeps/i386/elf/start.S: Moved to ...
34409 * sysdeps/i386/start.S: ...here.
34410 * sysdeps/i386/elf/configure.in: Merge into...
34411 * sysdeps/i386/configure.in: ...here.
34412 * sysdeps/i386/elf/configure.in: Delete file.
34413 * sysdeps/i386/elf/configure: Delete file.
34415 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34416 * debug/backtracesyms.c: ... here.
34417 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34418 * debug/backtracesymsfd.c: ... here.
34419 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34420 * sysdeps/generic/ifunc-sel.h: ... here.
34422 * sysdeps/unix/i386/start.c: Delete file.
34423 * sysdeps/unix/sparc/start.c: Delete file.
34424 * sysdeps/unix/start.c: Delete file.
34426 * sysdeps/sh/elf/configure.in: Moved to ...
34427 * sysdeps/sh/configure.in: ... here.
34428 * sysdeps/sh/elf/start.S: Moved to ...
34429 * sysdeps/sh/start.S: ... here.
34430 * sysdeps/sh/elf/configure: Delete file.
34432 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34433 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34434 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34435 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34436 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34437 * sysdeps/powerpc/powerpc64/start.S: here.
34438 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34439 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34440 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34441 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34442 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34444 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34445 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34446 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34447 * sysdeps/powerpc/powerpc32/start.S: ... here.
34448 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34449 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34450 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34452 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34453 * sysdeps/powerpc/ifunc-sel.h: ... here.
34454 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34455 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34457 * sysdeps/sparc/elf/configure.in: Moved to ...
34458 * sysdeps/sparc/configure.in: ... here.
34459 * sysdeps/sparc/elf/configure: Delete file.
34460 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34461 * sysdeps/sparc/sparc32/start.S: ... here.
34462 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34463 * sysdeps/sparc/sparc64/start.S: ... here.
34464 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34465 * sysdeps/sparc/sparc32/Makefile: ... this.
34466 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34467 * sysdeps/sparc/sparc64/Makefile: ... this.
34469 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34470 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34471 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34472 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34473 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34474 * sysdeps/s390/s390-32/setjmp.S: ... here.
34475 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34476 * sysdeps/s390/s390-32/configure.in: ... here.
34477 * sysdeps/s390/s390-32/elf/configure: Delete file.
34478 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34479 * sysdeps/s390/s390-32/start.S: ... here.
34481 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34482 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34483 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34484 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34485 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34486 * sysdeps/s390/s390-64/setjmp.S: ... here.
34487 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34488 * sysdeps/s390/s390-64/configure.in: ... here
34489 * sysdeps/s390/s390-64/elf/configure: Delete file.
34490 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34491 * sysdeps/s390/s390-64/start.S: ... here.
34492 * sysdeps/s390/s390-64/elf/configure: Delete.
34494 * configure.in: Remove support for elf directories in sysdeps.
34496 * configure: Regenerated.
34497 * sysdeps/i386/configure: Regenerated.
34498 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34499 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34500 * sysdeps/s390/s390-32/configure: Regenerated.
34501 * sysdeps/s390/s390-64/configure: Regenerated.
34502 * sysdeps/sh/configure: Regenerated.
34503 * sysdeps/sparc/configure: Regenerated.
34504 * sysdeps/x86_64/configure: Regenerated.
34506 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34510 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34511 denormal result into account.
34513 2012-03-25 Roland McGrath <roland@hack.frob.com>
34515 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34516 Reported by Allan McRae <allan@archlinux.org>.
34518 2012-03-23 Jeff Law <law@redhat.com>
34520 * nss/getnssent.c (__nss_getent): Fix typo.
34522 2012-03-23 David S. Miller <davem@davemloft.net>
34524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34526 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34528 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34529 to pad to uint64_t for each field.
34530 (dl_tls_index): Replace unsigned long with uint64_t.
34532 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34533 Paul Pluzhnikov <ppluzhnikov@google.com>
34536 * grp/Makefile (otherlibs): Don't set it.
34537 * inet/Makefile (otherlibs): Likewise.
34538 * login/Makefile (otherlibs): Likewise.
34539 * nscd/Makefile (otherlibs): Likewise.
34540 * posix/Makefile (otherlibs): Likewise.
34541 * pwd/Makefile (otherlibs): Likewise.
34542 * rt/Makefile (otherlibs): Likewise.
34543 * sunrpc/Makefile (otherlibs): Likewise.
34544 * nss/Makefile (otherlibs): Likewise.
34545 Add libnss_files to routines and static-only-routines.
34546 ($(objpfx)getent): Remove rule.
34547 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34548 static-only-routines.
34550 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34553 * math/s_cexp.c: Include <float.h>.
34554 (__cexp): Handle exp result overflowing not necessarily
34555 overflowing both real and imaginary parts of result.
34556 * math/s_cexpf.c: Likewise.
34557 * math/s_cexpl.c: Likewise.
34558 * math/libm-test.inc (cexp_test): Add more tests.
34559 * sysdeps/i386/fpu/libm-test-ulps: Update.
34560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34562 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34564 * include/link.h (ELFW): New macro.
34565 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34566 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34568 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34570 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34573 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34575 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34577 (struct La_x32_retval): Likewise.
34579 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34581 * sysdeps/x86_64/preconfigure.in: New file.
34582 * sysdeps/x86_64/preconfigure: New generated file.
34584 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34587 * math/e_exp2l.c: Include <float.h>.
34588 (__ieee754_exp2l): Handle overflow and underflow cases
34589 separately. Only pass fractional part of argument to
34591 * math/libm-test.inc (exp2_test): Add more tests.
34593 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34594 negating x to take absolute value.
34595 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34597 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34598 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34600 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34601 computing low part if x was negated.
34602 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34604 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34606 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34607 la_x32_gnu_pltexit.
34608 (pltexit): Cast int_retval to ptrdiff_t.
34609 * elf/tst-auditmod3b.c: Likewise.
34610 * elf/tst-auditmod4b.c: Likewise.
34611 * elf/tst-auditmod5b.c: Likewise.
34612 * elf/tst-auditmod6b.c: Likewise.
34613 * elf/tst-auditmod6c.c: Likewise.
34614 * elf/tst-auditmod7b.c: Likewise.
34616 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34617 and x32_gnu_pltexit.
34619 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34620 __ELF_NATIVE_CLASS.
34621 (La_x32_regs): New macro.
34622 (La_x32_retval): Likewise.
34623 (la_x32_gnu_pltenter): New function prototype.
34624 (la_x32_gnu_pltexit): Likewise.
34626 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34628 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34633 * configure.in (libc_cv_cc_nofma): Check for option to disable
34634 generation of FMA instructions.
34635 * configure: Regenerate.
34636 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34637 * sysdeps/ieee754/dbl-64/Makefile: New file.
34638 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34639 Remove brandred-fma4.
34640 (CFLAGS-brandred-fma4.c): Remove.
34641 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34642 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34644 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34647 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34649 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34650 LLONG_MAX != LONG_MAX.
34651 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34652 (_fitoa_word): Likewise.
34653 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34654 LLONG_MAX != LONG_MAX.
34655 * stdio-common/_itowa.h: Include <_itoa.h>.
34656 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34657 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34658 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34659 only if not defined.
34660 (_ITOA_WORD_TYPE): Likewise.
34661 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34662 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34664 2012-03-21 David S. Miller <davem@davemloft.net>
34666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34668 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34670 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34671 of x86_64 when setting libc_cv_slibdir, libdir and
34673 * sysdeps/unix/sysv/linux/configure: Regenerated.
34675 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34677 * manual/lang.texi (Old Varargs): Remove section.
34678 (How Variadic): Update menu.
34679 (va_start): Do not mention varargs.h.
34681 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34682 Joseph Myers <joseph@codesourcery.com>
34684 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34686 * configure: Regenerated.
34688 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34690 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34691 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34694 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34697 * Makefile (files-for-dist): Remove NOTES.
34698 (NOTES): Remove rule.
34699 * README: Don't refer to NOTES.
34700 * manual/creature.texi: Don't include macros.texi.
34701 * manual/intro.texi (creature.texi): Remove comment referring to
34704 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34705 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34706 * configure: Regenerated.
34707 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34708 LIBC_TRY_CC_OPTION.
34709 (libc_cv_as_i686): Likewise.
34710 (libc_cv_cc_avx): Likewise.
34711 (libc_cv_cc_sse2avx): Likewise.
34712 (libc_cv_cc_fma4): Likewise.
34713 (libc_cv_cc_novzeroupper): Likewise.
34714 * sysdeps/i386/configure: Regenerated.
34717 * sysdeps/i386/fpu/s_cexp.S: Remove.
34718 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34719 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34720 * math/libm-test.inc (cexp_test): Add more tests.
34721 * sysdeps/i386/fpu/libm-test-ulps: Update.
34722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34724 2012-03-21 Allan McRae <allan@archlinux.org>
34726 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34728 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34731 * math/w_exp2.c: Do not include <float.h>.
34732 (o_threshold, u_threshold): Remove.
34733 (__exp2): Calculate result before checking finiteness and calling
34735 * math/w_exp2f.c: Likewise.
34736 * math/w_exp2l.c: Likewise.
34737 * math/libm-test.inc (exp2_test): Require overflow exception for
34741 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34742 range of signed 64-bit integers before using fistpll. Remove
34743 checks for whether integers fit in mantissa bits.
34744 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34745 the range of signed 32-bit integers before using fistpl. Remove
34746 checks for whether integers fit in mantissa bits.
34747 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34748 (__ieee754_powl): Test for y outside the range of signed 64-bit
34749 integers before using fistpll. Reduce 64-bit values to 63-bit
34751 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34752 divide-by-zero is raised for zero to large negative powers.
34753 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34754 (__ieee754_powl): Test for y outside the range of signed 64-bit
34755 integers before using fistpll. Reduce 64-bit values to 63-bit
34757 * math/libm-test.inc (pow_test): Add more tests.
34759 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34761 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34762 <stdio-common/_itoa.h>.
34763 * debug/segfault.c: Likewise.
34764 * elf/dl-cache.c: Likewise.
34765 * elf/dl-minimal.c: Likewise.
34766 * elf/dl-misc.c: Likewise.
34767 * elf/dl-sysdep.c: Likewise.
34768 * elf/dl-version.c: Likewise.
34769 * elf/rtld.c: Likewise.
34770 * hurd/hurdsock.c: Likewise.
34771 * hurd/lookup-retry.c: Likewise.
34772 * malloc/malloc.c: Likewise.
34773 * malloc/mtrace.c: Likewise.
34774 * nscd/nscd_getgr_r.c: Likewise.
34775 * nscd/nscd_getpw_r.c: Likewise.
34776 * nscd/nscd_getserv_r.c: Likewise.
34777 * posix/getopt_init.c: Likewise.
34778 * posix/wordexp.c: Likewise.
34779 * stdio-common/_itoa.c: Likewise.
34780 * stdio-common/printf_fphex.c: Likewise.
34781 * stdio-common/vfprintf.c: Likewise.
34782 * string/_strerror.c: Likewise.
34783 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34784 * sysdeps/i386/i686/hp-timing.h: Likewise.
34785 * sysdeps/mach/_strerror.c: Likewise.
34786 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34787 * sysdeps/mach/hurd/sethostid.c: Likewise.
34788 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34789 * sysdeps/mach/xpg-strerror.c: Likewise.
34790 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34791 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34792 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34793 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34794 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34795 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34796 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34797 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34798 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34799 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34800 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34801 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34802 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34803 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34804 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34805 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34806 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34807 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34808 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34809 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34810 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34812 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34814 * stdio-common/_itoa.h: Moved to ...
34815 * sysdeps/generic/_itoa.h: Here.
34817 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34819 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34820 instead of "_itoa.h" and "_itowa.h".
34821 * stdio-common/vfprintf.: Likewise.
34823 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34825 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34827 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34828 (__signbit): Likwise.
34829 (llrintf): Likwise.
34832 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34834 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34837 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34839 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34840 OVERFLOW_EXCEPTION_OK.
34841 * math/libm-test.inc ("Philosophy"): Update comment about
34843 (OVERFLOW_EXCEPTION): Define.
34844 (OVERFLOW_EXCEPTION_OK): Likewise.
34845 (INVALID_EXCEPTION_OK): Renumber.
34846 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34847 (IGNORE_ZERO_INF_SIGN): Likewise.
34848 (test_exceptions): Handle FE_OVERFLOW.
34849 (exp10_test): Expect overflow exceptions.
34850 (exp2_test): Likewise.
34851 (expm1_test): Likewise.
34852 (nextafter_test): Likewise.
34853 (pow_test): Likewise.
34854 (scalbn_test): Likewise.
34855 (scalbln_test): Likewise.
34857 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34859 * sysdeps/x86_64/bits/atomic.h
34860 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34862 (atomic_exchange_acq): Likewise.
34863 (__arch_exchange_and_add_body): Likewise.
34864 (__arch_add_body): Likewise.
34865 (atomic_add_negative): Likewise.
34866 (atomic_add_zero): Likewise.
34868 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34870 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34871 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34873 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34875 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34876 Check __x86_64__ instead of __WORDSIZE.
34878 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34880 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34882 2012-03-19 David S. Miller <davem@davemloft.net>
34884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34886 * sysdeps/sparc/fpu/fenv_private.h: New file.
34887 * sysdeps/sparc/fpu/math_private.h: Use it.
34888 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34890 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34891 (libc_feholdexcept_setroundl): Remove.
34892 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34894 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34895 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34897 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34899 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34900 int64_t instead of long int.
34901 (INSERT_WORDS64): Likwise.
34903 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34905 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34906 _Unwind_GetCFA return to _Unwind_Ptr first.
34908 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34911 * math/s_clog.c: Include <float.h>.
34912 (__clog): Scale large or subnormal inputs.
34913 * math/s_clogf.c: Likewise.
34914 * math/s_clogl.c: Likewise.
34915 * math/s_clog10.c: Include <float.h>.
34916 (M_LOG10_2): Define.
34917 (__clog10): Scale large or subnormal inputs.
34918 * math/s_clog10f.c: Likewise.
34919 * math/s_clog10l.c: Likewise.
34920 * math/libm-test.inc (clog_test): Add more tests.
34921 (clog10_test): Likewise.
34922 * sysdeps/i386/fpu/libm-test-ulps: Update.
34923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34926 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34928 * math/libm-test.inc (atan2_test): Add another test.
34930 * Makerules (common-objdir-compile): Remove.
34931 * sysdeps/unix/Makefile (config-generated): Do not add
34932 $(unix-generated) to variable.
34933 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34934 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34936 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34938 [generic bits/local_lim.h] (before-compile): Do not append to
34940 [generic bits/local_lim.h] (common-generated): Likewise.
34941 [generic sys/param.h] (before-compile): Do not append to variable.
34942 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34943 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34944 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34945 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34947 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34948 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34949 [generic sys/param.h] ($(addprefix
34950 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34951 [generic sys/param.h] (common-generated): Do not append to
34953 [generic sys/param.h] (sysdep_headers): Likewise.
34954 [generic bits/errno.h] (before-compile): Do not append to
34956 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34958 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34959 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34960 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34961 [generic bits/errno.h] (common-generated): Do not append to
34963 [generic bits/ioctls.h] (before-compile): Do not append to
34965 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34967 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34968 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34969 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34971 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34972 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34973 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34974 [generic bits/ioctls.h] (common-generated): Do not append to
34976 [generic sys/syscall.h] (syscall.h): Remove variable.
34977 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34979 [generic sys/syscall.h] (before-compile): Do not append to
34981 [generic sys/syscall.h] (common-generated): Likewise.
34982 * sysdeps/unix/errnos-tmpl.c: Remove file.
34983 * sysdeps/unix/errnos.awk: Likewise.
34984 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34985 * sysdeps/unix/ioctls.awk: Likewise.
34986 * sysdeps/unix/mk-local_lim.c: Likewise.
34987 * sysdeps/unix/snarf-ioctls: Likewise.
34989 2012-03-19 Richard Henderson <rth@twiddle.net>
34991 * sysdeps/i386/fpu/fenv_private.h: New file.
34992 * sysdeps/i386/fpu/math_private.h: Use it.
34993 (math_opt_barrier, math_force_eval): Remove.
34994 (libc_feholdexcept_setround_53bit): Remove.
34995 (libc_feupdateenv_53bit): Remove.
34996 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34997 (math_opt_barrier, math_force_eval): Remove.
34998 (libc_feholdexcept): Remove.
34999 (libc_feholdexcept_setround): Remove.
35000 (libc_fetestexcept, libc_fesetenv): Remove.
35001 (libc_feupdateenv_test): Remove.
35002 (libc_feupdateenv, libc_feholdsetround): Remove.
35003 (libc_feresetround): Remove.
35005 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35006 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35008 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35009 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35010 (libc_feupdateenv_testl): New.
35011 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35012 (libc_feupdateenv_testf): New.
35013 (libc_feupdateenv): Use libc_feupdateenv_test.
35014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35015 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35017 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35018 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35019 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35020 (libc_feresetround_noex): New.
35021 (libc_feresetround_noexf): New.
35022 (libc_feresetround_noexl): New.
35023 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35024 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35025 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35026 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35029 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35031 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35032 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35033 SET_RESTORE_ROUND_NOEX.
35034 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35035 SET_RESTORE_ROUND_NOEXF.
35036 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35037 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35038 (libc_feholdsetroundf): New.
35039 (libc_feresetround, libc_feresetroundf): New.
35041 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35042 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35043 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35045 * sysdeps/generic/math_private.h: Include <fenv.h>.
35046 (default_libc_feholdexcept): New.
35047 (default_libc_feholdexcept_setround): New.
35048 (default_libc_fesetenv, default_libc_feupdateenv): New.
35049 (libc_feholdexcept): Only define if undefined.
35050 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35051 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35052 (libc_feholdexcept_setroundl): Likewise.
35053 (libc_feholdexcept_setround_53bit): Likewise.
35054 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35055 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35056 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35057 (libc_feupdateenv_53bit): Likewise.
35058 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35059 (libc_feholdexcept): Convert from macro to inline function.
35060 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35061 (libc_fesetenv, libc_feupdateenv): Likewise.
35063 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35064 not previously defined.
35065 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35066 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35067 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35068 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35069 * sysdeps/ieee754/flt-32/math_private.h: New file.
35070 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35071 math_private.h below SET_FLOAT_WORD.
35072 (__isnan, __isinf_ns, __finite): Remove.
35073 (__isnanf, __isinf_nsf, __finitef): Remove.
35075 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35079 2012-03-17 David S. Miller <davem@davemloft.net>
35082 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35085 2012-03-16 David S. Miller <davem@davemloft.net>
35087 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35091 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35093 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35094 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35095 sysdep_routines when subdir is sysvipc.
35096 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35097 __getshmlba helper.
35099 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35101 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35103 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35106 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35108 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35109 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35110 (__lround): Renamed to ...
35111 (__llround): This. Replace long int with long long int.
35112 Define lround functions as aliases of llround functions.
35113 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35115 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35117 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35118 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35119 adresses to uintptr_t. Replace "long int" and "unsigned long
35120 int" with "greg_t" on va_arg.
35122 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35124 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35125 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35127 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35128 Move e_machine check before EI_CLASS check. Handle x32
35129 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35130 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35131 SKIP_EM_IA_64 and include
35132 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35134 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35135 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35136 (add_system_dir): New macro.
35138 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35139 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35141 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35152 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35154 * math/w_j0f.c (j0f): Likewise.
35156 * math/w_j0l.c (__j0l): Likewise.
35158 * math/w_j1.c (j1): Likewise.
35160 * math/w_j1f.c (j1f): Likewise.
35162 * math/w_j1l.c (__j1l): Likewise.
35164 * math/w_jn.c (jn): Likewise.
35166 * math/w_jnf.c (jnf): Likewise.
35168 * math/w_jnl.c (__jnl): Likewise.
35170 * math/libm-test.inc (j0_test): Add more tests.
35171 (j1_test): Likewise.
35172 (jn_test): Likewise. Add trailing semicolon to existing test.
35173 (y0_test): Likewise.
35174 (y1_test): Likewise.
35175 * sysdeps/i386/fpu/libm-test-ulps: Update.
35176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35180 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35181 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35182 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35183 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35184 (__tanl): Set errno for infinite argument.
35185 * sysdeps/i386/fpu/mptan.c: Remove.
35186 * sysdeps/i386/fpu/s_tan.S: Likewise.
35187 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35188 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35189 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35190 * math/libm-test.inc (tan_test): Add more tests and enable more
35191 tests for double and long double.
35192 * sysdeps/i386/fpu/libm-test-ulps: Update.
35193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35195 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35197 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35198 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35200 2012-03-16 Roland McGrath <roland@hack.frob.com>
35202 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35203 * configure.in: Use it for both main tree and add-ons.
35204 * configure: Regenerated.
35206 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35208 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35210 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35212 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35216 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35217 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35222 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35223 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35224 != 0 for prec == 2.
35225 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35226 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35227 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35228 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35229 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35230 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35231 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35232 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35233 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35234 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35235 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35236 * math/libm-test.inc (cos_test): Add more tests and enable more
35237 tests for long double.
35238 (sin_test): Likewise.
35239 (sincos_test): Likewise.
35240 * sysdeps/i386/fpu/libm-test-ulps: Update.
35241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35243 2012-03-16 David S. Miller <davem@davemloft.net>
35245 * sysdeps/sparc/fpu/math_private.h: New file.
35247 2012-03-15 David S. Miller <davem@davemloft.net>
35249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35263 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35264 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35266 * sysdeps/sparc/sparc-ifunc.h: New file.
35267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35293 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35294 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35306 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35309 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35312 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35314 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35318 2012-03-15 Andreas Jaeger <aj@suse.de>
35321 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35322 ieee754/flt-32 implementation for sin, cos and sincos.
35323 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35324 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35325 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35326 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35327 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35328 ieee754/flt-32 implementation for tan.
35330 * math/libm-test.inc (cos_test): Enable some large input tests for
35332 (sin_test): Likewise.
35333 (sincos_test): Likewise.
35334 (tan_test): Add tests for large input.
35336 * sysdeps/i386/fpu/libm-test-ulps: Update.
35338 2012-03-15 Andreas Jaeger <aj@suse.de>
35341 * math/libm-test.inc (cos_test): Add more test cases.
35342 (sin_test): Likewise.
35343 (sincos_test): Likewise.
35345 2012-03-15 Andreas Jaeger <aj@suse.de>
35348 * math/libm-test.inc (cos_test): Add a test case for large input
35350 (sin_test): Likewise.
35351 (sincos_test): Likewise.
35353 2012-03-15 Andreas Jaeger <aj@suse.de>
35354 Joseph Myers <joseph@codesourcery.com>
35357 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35358 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35359 * sysdeps/i386/fpu/branred.c: Likewise.
35360 * sysdeps/i386/fpu/dosincos.c: Likewise.
35361 * sysdeps/i386/fpu/mpa.c: Likewise.
35362 * sysdeps/i386/fpu/s_cos.S: Likewise.
35363 * sysdeps/i386/fpu/s_sin.S: Likewise.
35364 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35365 * sysdeps/i386/fpu/sincos32.c: Likewise.
35367 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35369 (libc_feupdateenv_53bit): Define.
35370 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35372 (libc_feupdateenv_53bit): Define.
35374 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35375 53 bit (without extend i386 double precision).
35377 * math/libm-test.inc (sincos_test): Add tests for large input.
35381 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35383 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35387 2012-03-15 David S. Miller <davem@davemloft.net>
35389 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35390 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35391 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35392 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35417 fmin/fmax sysdep routines.
35418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35420 2012-03-14 David S. Miller <davem@davemloft.net>
35422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35426 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35427 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35428 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35429 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35450 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35494 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35499 * sysdeps/sparc/configure.in: New file.
35500 * sysdeps/sparc/configure: Generate.
35501 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35502 * configure: Regenerate.
35503 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35504 * config.make.in (have-as-vis3): New.
35505 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35506 available use -Av9d instead of -Av9a.
35507 * sysdeps/sparc/sparc64/Makefile: Likewise.
35508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35517 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35518 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35519 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35520 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35521 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35523 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35524 fzeros/fnegs to load 0x80000000 into a float register instead of
35526 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35528 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35532 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35533 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35534 ($(inst_includedir)/bits/syscall.h): Remove rule.
35535 ($(objpfx)bits/syscall.d): Include instead of
35536 $(objpfx)syscall-list.d.
35537 (generated): Change syscall-list.h and syscall-list.d to
35538 bits/syscall.h and bits/syscall.d.
35540 2012-03-14 Roland McGrath <roland@hack.frob.com>
35543 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35545 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35548 * math/s_csqrt.c: Include <float.h>.
35549 (__csqrt): Scale large or subnormal inputs.
35550 * math/s_csqrtf.c: Likewise.
35551 * math/s_csqrtl.c: Likewise.
35552 * math/libm-test.inc (csqrt_test): Add more tests.
35553 * sysdeps/i386/fpu/libm-test-ulps: Update.
35554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35557 * math/libm-test.inc (hypot_test): Add more tests.
35559 2012-03-13 David S. Miller <davem@davemloft.net>
35562 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35563 double-precision for the calculation instead of scaling.
35565 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35567 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35568 manipulate bits before adding and subtracting TWO52[sx].
35569 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35570 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35572 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35574 2012-03-13 David S. Miller <davem@davemloft.net>
35576 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35577 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35579 rtld-global-offsets.h
35580 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35582 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35585 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35587 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35588 'err' in the ifdef scope in which it is actually used.
35590 * nss/nss_db/db-init.c: Include string.h
35592 2012-03-12 David S. Miller <davem@davemloft.net>
35594 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35595 masking out of the most significant byte of random value used.
35596 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35597 Fix coding style in previous change.
35599 * sysdeps/unix/sysv/linux/kernel-features.h
35600 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35601 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35603 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35606 2012-03-11 David S. Miller <davem@davemloft.net>
35608 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35609 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35610 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35611 for 'resultvar' otherwise things get truncated on 64-bit.
35613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35614 Fix masking out of the most significant byte of random value used.
35616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35618 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35622 2012-03-09 David S. Miller <davem@davemloft.net>
35624 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35625 variables with appropriate CPP guards.
35626 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35627 from the frame pointer, not the stack pointer. Correct layout
35628 comments. Fix test on resulting framesize and the management of
35629 the outregs buffer for pltexit. Preserve floating point return
35630 values across _dl_call_pltexit call.
35631 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35632 framesize and the management of the outregs buffer for pltexit.
35633 Preserve floating point return values across _dl_call_pltexit
35635 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35636 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35637 (la_sparc64_gnu_pltexit): New functions.
35638 (print_exit): Fix format string for return register value.
35640 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35642 * sunrpc/Makefile (others): Add rpcgen.
35643 ($(objpfx)rpcgen): Remove special build rule and dependency on
35645 * sunrpc/rpcgen.c: New file.
35647 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35650 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35651 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35652 * sysdeps/i386/crti.S: Likewise.
35653 * sysdeps/i386/crtn.S: Likewise.
35654 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35655 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35656 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35657 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35658 * sysdeps/sh/crti.S: Likewise.
35659 * sysdeps/sh/crtn.S: Likewise.
35660 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35663 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35665 * locale/programs/locfile-kw.gperf: Likewise.
35666 * locale/programs/charmap-kw.h: Regenerated.
35667 * locale/programs/locfile-kw.h: Likewise.
35670 * intl/plural.y: Replace FSF snail mail address with URL.
35671 * intl/plural.c: Regenerated.
35673 2012-03-09 Richard Henderson <rth@twiddle.net>
35675 * include/math_private.h: Remove file.
35676 * math/math_private.h: Move file ...
35677 * sysdeps/generic/math_private.h: ... here.
35679 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35680 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35681 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35683 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35684 and <math_private.h>.
35685 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35686 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35687 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35688 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35689 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35690 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35691 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35692 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35693 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35694 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35696 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35697 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35698 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35699 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35700 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35701 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35702 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35703 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35704 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35706 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35707 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35709 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35710 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35711 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35712 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35715 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35716 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35717 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35718 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35719 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35720 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35721 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35722 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35723 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35724 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35725 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35726 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35727 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35728 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35729 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35730 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35731 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35732 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35733 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35734 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35735 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35736 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35737 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35738 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35739 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35740 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35741 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35742 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35743 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35744 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35745 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35746 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35748 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35749 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35750 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35751 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35752 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35753 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35754 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35755 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35756 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35757 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35758 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35759 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35760 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35761 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35763 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35764 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35765 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35766 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35767 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35768 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35769 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35771 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35772 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35773 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35774 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35775 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35776 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35778 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35779 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35780 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35781 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35782 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35783 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35784 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35785 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35786 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35787 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35788 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35789 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35790 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35791 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35792 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35793 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35794 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35795 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35796 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35797 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35798 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35799 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35800 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35801 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35802 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35803 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35804 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35805 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35806 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35807 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35808 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35809 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35810 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35811 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35812 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35813 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35814 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35815 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35816 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35817 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35818 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35819 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35820 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35821 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35822 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35823 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35824 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35825 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35826 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35827 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35828 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35829 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35830 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35831 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35832 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35833 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35834 * sysdeps/ieee754/k_standard.c: Likewise.
35835 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35836 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35837 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35838 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35839 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35840 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35841 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35842 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35843 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35844 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35845 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35846 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35847 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35848 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35849 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35850 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35851 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35852 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35853 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35854 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35855 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35856 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35857 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35858 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35859 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35860 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35861 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35862 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35863 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35866 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35867 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35868 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35869 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35870 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35871 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35872 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35873 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35874 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35875 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35876 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35877 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35880 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35881 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35882 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35883 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35884 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35885 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35886 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35887 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35890 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35892 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35893 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35894 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35895 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35896 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35897 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35898 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35899 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35900 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35901 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35902 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35903 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35904 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35905 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35906 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35907 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35908 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35909 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35910 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35911 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35912 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35913 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35914 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35915 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35916 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35917 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35918 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35919 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35920 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35921 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35922 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35923 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35925 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35926 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35928 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35931 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35932 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35933 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35934 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35936 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35937 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35938 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35939 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35940 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35942 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35943 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35944 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35945 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35946 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35947 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35949 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35950 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35951 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35952 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35953 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35954 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35955 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35956 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35957 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35958 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35959 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35960 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35961 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35962 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35963 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35964 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35965 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35966 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35967 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35968 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35969 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35970 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35971 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35972 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35973 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35974 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35975 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35976 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35977 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35978 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35979 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35980 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35981 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35982 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35983 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35984 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35985 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35986 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35987 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35988 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35989 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35990 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35991 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35992 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35993 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35994 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35995 * sysdeps/ieee754/s_lib_version.c: Likewise.
35996 * sysdeps/ieee754/s_matherr.c: Likewise.
35997 * sysdeps/ieee754/s_signgam.c: Likewise.
35998 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35999 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36000 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36001 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36002 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36003 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36004 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36005 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36006 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36007 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36008 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36009 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36010 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36011 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36012 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36013 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36014 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36015 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36016 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36017 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36018 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36020 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36022 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36023 * sunrpc/rpc_main.c: Likewise.
36024 * sunrpc/rpc_svcout.c: Likewise.
36026 2012-03-09 David S. Miller <davem@davemloft.net>
36028 * include/math_private.h: New file.
36030 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36032 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36033 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36034 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36035 from <bits/socket_type.h>.
36036 (enum __socket_type): Don't define here.
36037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36039 bits/socket_type.h.
36042 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36043 checking __USE_GNU.
36045 * Makerules ($(inst_includedir)/%.h): New rule.
36046 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36047 (install-others): Remove variable setting.
36048 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36050 2012-03-08 Richard Henderson <rth@twiddle.net>
36052 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36053 from macro to inline function; merge with the
36054 !__LIBC_INTERNAL_MATH_INLINES version.
36055 (__ieee754_sqrtf): Likewise.
36057 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36058 to inline function.
36059 (__rintf, __floor, __floorf): Likewise.
36061 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36062 macro to inline function.
36063 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36065 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36066 not <math/math_private.h>.
36068 2012-03-08 David S. Miller <davem@davemloft.net>
36070 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36072 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36074 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36076 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36078 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36079 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36081 2012-03-08 Ulrich Drepper <drepper@gmail.com>
36083 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36084 be defined individually, they must be defined as a block. Define
36085 S for printing a string instead of hidint the different by using a
36086 macro for adding the 'l'.
36087 * stdio-common/tst-fphex-wide.c: Adjust.
36089 2012-03-07 Marek Polacek <polacek@redhat.com>
36091 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36093 2012-03-08 Marek Polacek <polacek@redhat.com>
36096 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36097 * stdio-common/tst-fphex.c: Define a few macros to make the
36098 test reusable. Use them.
36099 * stdio-common/tst-fphex-wide.c: New file.
36101 2012-03-08 Joseph Myers <joseph@codesourcery.com>
36104 * manual/macros.texi (gnusystems): New macro.
36105 (nongnusystems): Likewise.
36106 (gnulinuxhurdsystems): Likewise.
36107 (gnuhurdsystems): Likewise..
36108 (gnulinuxsystems): Likewise.
36109 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36110 variants of the GNU system, not "GNU system".
36111 * manual/conf.texi: Likewise.
36112 * manual/errno.texi: Likewise. Update example of errno macro
36114 * manual/filesys.texi: Likewise.
36115 (getumask): Document as specific to GNU/Hurd.
36116 * manual/install.texi: Likewise. Reword some references to
36118 * manual/intro.texi: Likewise.
36119 * manual/io.texi: Likewise.
36120 (File Name Portability): Detail which constraints are inapplicable
36121 to all GNU systems and which are only inapplicable to GNU/Hurd.
36122 * manual/job.texi: Likewise.
36123 * manual/llio.texi: Likewise.
36124 (O_NOCTTY): Document as present on GNU/Linux.
36125 * manual/maint.texi: Likewise.
36126 * manual/memory.texi: Likewise.
36127 * manual/pattern.texi: Likewise.
36128 * manual/pipe.texi: Likewise.
36129 * manual/process.texi: Likewise.
36130 * manual/resource.texi: Likewise.
36131 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36133 * manual/setjmp.texi: Likewise.
36134 * manual/signal.texi: Likewise.
36135 * manual/startup.texi: Likewise.
36136 * manual/stdio.texi: Likewise.
36137 * manual/terminal.texi: Likewise.
36138 (ONLCR): Document as POSIX.
36139 (OXTABS): Document availability on GNU/Linux as XTABS.
36140 (ONOEOT): Document availability separately from other bits.
36141 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36142 * manual/time.texi: Likewise.
36143 * manual/users.texi: Likewise.
36144 * INSTALL: Regenerated.
36145 * sysdeps/gnu/errlist.c: Regenerated.
36147 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36148 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36149 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36151 * configure: Regenerated.
36153 2012-03-07 Joseph Myers <joseph@codesourcery.com>
36155 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36156 default includes instead of AC_HEADER_CHECK.
36157 * sysdeps/i386/configure: Regenerated.
36160 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36161 * math/s_cacoshf.c (__cacoshf): Likewise.
36162 * math/s_cacoshl.c (__cacoshl): Likewise.
36163 * math/s_casinh.c (__casinh): Set signs of result from argument.
36164 * math/s_casinhf.c (__casinhf): Likewise.
36165 * math/s_casinhl.c (__casinhl): Likewise.
36166 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36167 (casinh_test): Add more tests.
36168 * sysdeps/i386/fpu/libm-test-ulps: Update.
36169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36171 2012-03-07 Ulrich Drepper <drepper@gmail.com>
36173 * po/zh_TW.po: Update from translation team.
36175 * login/Makefile (distribute): Remove variable.
36176 * catgets/Makefile: Likewise.
36177 * mach/Makefile: Likewise.
36178 * malloc/Makefile: Likewise.
36179 * misc/Makefile: Likewise.
36180 * iconv/Makefile: Likewise.
36181 * nscd/Makefile: Likewise.
36182 * hurd/Makefile: Likewise.
36183 * manual/Makefile: Likewise.
36184 * locale/Makefile: Likewise.
36185 * intl/Makefile: Likewise.
36186 * conform/Makefile: Likewise.
36187 * nss/Makefile: Likewise.
36188 * time/Makefile: Likewise.
36189 * soft-fp/Makefile: Likewise.
36190 * dirent/Makefile: Likewise.
36191 * gmon/Makefile: Likewise.
36192 * po/Makefile: Likewise.
36193 * rt/Makefile: Likewise.
36194 * socket/Makefile: Likewise.
36195 * math/Makefile: Likewise.
36196 * signal/Makefile: Likewise.
36197 * debug/Makefile: Likewise.
36198 * elf/Makefile: Likewise.
36199 * timezone/Makefile: Likewise.
36200 * stdlib/Makefile: Likewise.
36201 * iconvdata/Makefile: Likewise.
36202 * sunrpc/Makefile: Likewise.
36203 * io/Makefile: Likewise.
36204 * argp/Makefile: Likewise.
36205 * inet/Makefile: Likewise.
36206 * hesiod/Makefile: Likewise.
36207 * grp/Makefile: Likewise.
36208 * csu/Makefile: Likewise.
36209 * wctype/Makefile: Likewise.
36210 * crypt/Makefile: Likewise.
36211 * libio/Makefile: Likewise.
36212 * string/Makefile: Likewise.
36213 * nis/Makefile: Likewise.
36214 * resolv/Makefile: Likewise.
36215 * stdio-common/Makefile: Likewise.
36216 * wcsmbs/Makefile: Likewise.
36217 * dlfcn/Makefile: Likewise.
36218 * posix/Makefile: Likewise.
36221 * timezone/Makefile: Don't install timezone files, just the programs
36224 2012-03-06 Ulrich Drepper <drepper@gmail.com>
36226 * nss/databases.def: Add missing gshadow entry.
36228 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36230 2012-03-06 Marek Polacek <polacek@redhat.com>
36233 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36234 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36235 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36236 * stdio-common/tst-long-dbl-fphex.c: New file.
36238 2012-03-06 David S. Miller <davem@davemloft.net>
36240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36241 (set_obp_int): New function.
36242 (get_obp_int): New function.
36243 (__get_clockfreq_via_dev_openprom): Likewise.
36244 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36245 Avoid unused variable warnings on 'val' and use builtin_expect.
36246 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36248 (INLINE_CLONE_SYSCALL): Likewise.
36250 2012-03-05 David S. Miller <davem@davemloft.net>
36252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36254 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36258 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36259 only for |x| >= 40.
36260 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36262 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36264 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36265 Replace gettimeofday with __vdso_gettimeofday.
36267 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36268 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36269 __vdso_clock_gettime and __vdso_getcpu.
36271 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36272 time with __vdso_time.
36274 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36276 * manual/lang.texi (size_t): Note types to which size_t may be
36277 equivalent with the GNU C Library, but do not describe when
36278 differences between them are significant.
36280 2012-03-05 Andreas Jaeger <aj@suse.de>
36282 * sysdeps/i386/fpu/libm-test-ulps: Update.
36284 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36287 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36288 (__ieee754_pow): Save and restore rounding mode and use
36289 round-to-nearest for main computations.
36290 * math/libm-test.inc (pow_test_tonearest): New function.
36291 (pow_test_towardzero): Likewise.
36292 (pow_test_downward): Likewise.
36293 (pow_test_upward): Likewise.
36294 (main): Call the new functions.
36295 * sysdeps/i386/fpu/libm-test-ulps: Update.
36296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36299 * math/libm-test.inc (cosh_test_tonearest): New function.
36300 (cosh_test_towardzero): Likewise.
36301 (cosh_test_downward): Likewise.
36302 (cosh_test_upward): Likewise.
36303 (sinh_test_tonearest): Likewise.
36304 (sinh_test_towardzero): Likewise.
36305 (sinh_test_downward): Likewise.
36306 (sinh_test_upward): Likewise.
36307 (main): Call the new functions.
36308 * sysdeps/i386/fpu/libm-test-ulps: Update.
36309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36311 2012-03-05 Tom de Vries <tom@codesourcery.com>
36313 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36314 default stack guard is set in last bytes.
36315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36317 2012-03-05 Kees Cook <keescook@chromium.org>
36319 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36322 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36323 possibly allocate from heap instead of stack.
36324 * stdio-common/bug-vfprintf-nargs.c: New file.
36325 * stdio-common/Makefile (tests): Add nargs overflow test.
36327 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36331 2012-03-03 Marek Polacek <polacek@redhat.com>
36333 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36334 * math/math_private.h: Likewise.
36335 * stdlib/tst-strtod.c: Likewise.
36336 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36337 * sysdeps/x86_64/bits/atomic.h: Likewise.
36339 2012-03-02 David S. Miller <davem@davemloft.net>
36341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36345 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36346 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36347 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36348 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36350 2012-03-02 Roland McGrath <roland@hack.frob.com>
36353 * manual/examples/README: New file, says the example source files
36354 can be used under GPL>=2.
36355 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36356 line containing just "*/".
36357 * manual/examples/add.c: Add copyright header (GPL>=2).
36358 * manual/examples/argp-ex1.c: Likewise.
36359 * manual/examples/argp-ex2.c: Likewise.
36360 * manual/examples/argp-ex3.c: Likewise.
36361 * manual/examples/argp-ex4.c: Likewise.
36362 * manual/examples/atexit.c: Likewise.
36363 * manual/examples/db.c: Likewise.
36364 * manual/examples/dir.c: Likewise.
36365 * manual/examples/dir2.c: Likewise.
36366 * manual/examples/execinfo.c: Likewise.
36367 * manual/examples/filecli.c: Likewise.
36368 * manual/examples/filesrv.c: Likewise.
36369 * manual/examples/fmtmsgexpl.c: Likewise.
36370 * manual/examples/genpass.c: Likewise.
36371 * manual/examples/inetcli.c: Likewise.
36372 * manual/examples/inetsrv.c: Likewise.
36373 * manual/examples/isockad.c: Likewise.
36374 * manual/examples/longopt.c: Likewise.
36375 * manual/examples/memopen.c: Likewise.
36376 * manual/examples/memstrm.c: Likewise.
36377 * manual/examples/mkfsock.c: Likewise.
36378 * manual/examples/mkisock.c: Likewise.
36379 * manual/examples/mygetpass.c: Likewise.
36380 * manual/examples/pipe.c: Likewise.
36381 * manual/examples/popen.c: Likewise.
36382 * manual/examples/rprintf.c: Likewise.
36383 * manual/examples/search.c: Likewise.
36384 * manual/examples/select.c: Likewise.
36385 * manual/examples/setjmp.c: Likewise.
36386 * manual/examples/sigh1.c: Likewise.
36387 * manual/examples/sigusr.c: Likewise.
36388 * manual/examples/stpcpy.c: Likewise.
36389 * manual/examples/strdupa.c: Likewise.
36390 * manual/examples/strftim.c: Likewise.
36391 * manual/examples/strncat.c: Likewise.
36392 * manual/examples/subopt.c: Likewise.
36393 * manual/examples/swapcontext.c: Likewise.
36394 * manual/examples/termios.c: Likewise.
36395 * manual/examples/testopt.c: Likewise.
36396 * manual/examples/testpass.c: Likewise.
36397 * manual/examples/timeval_subtract.c: Likewise.
36400 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36402 * manual/timeval_subtract.c.texi: ... here, new file.
36404 2012-03-02 David S. Miller <davem@davemloft.net>
36406 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36408 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36411 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36412 (__sin): Save and restore rounding mode and use round-to-nearest
36413 for all computations.
36414 (__cos): Save and restore rounding mode and use round-to-nearest
36415 for all computations.
36416 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36418 (tan): Save and restore rounding mode and use round-to-nearest for
36420 * math/libm-test.inc (cos_test_tonearest): New function.
36421 (cos_test_towardzero): Likewise.
36422 (cos_test_downward): Likewise.
36423 (cos_test_upward): Likewise.
36424 (sin_test_tonearest): Likewise.
36425 (sin_test_towardzero): Likewise.
36426 (sin_test_downward): Likewise.
36427 (sin_test_upward): Likewise.
36428 (tan_test_tonearest): Likewise.
36429 (tan_test_towardzero): Likewise.
36430 (tan_test_downward): Likewise.
36431 (tan_test_upward): Likewise.
36432 (main): Call the new functions.
36433 * sysdeps/i386/fpu/libm-test-ulps: Update.
36434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36437 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36438 small n, then large n, before computing and testing k+n.
36439 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36440 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36444 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36445 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36448 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36449 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36450 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36451 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36452 * math/libm-test.inc (scalbn_test): Add more tests.
36453 (scalbln_test): Likewise.
36455 * manual/filesys.texi (mode_t): Describe constraints on size and
36456 signedness, not exact equivalence to a particular type.
36458 (ino64_t): Likewise.
36460 (nlink_t): Likewise.
36461 (blkcnt_t): Likewise.
36462 (blkcnt64_t): Likewise.
36463 * manual/llio.texi (off_t): Likewise.
36466 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36467 (__ieee754_exp): Save and restore rounding mode and use
36468 round-to-nearest for all computations.
36469 * math/libm-test.inc (exp_test_tonearest): New function.
36470 (exp_test_towardzero): Likewise.
36471 (exp_test_downward): Likewise.
36472 (exp_test_upward): Likewise.
36473 (main): Call the new functions.
36474 * sysdeps/i386/fpu/libm-test-ulps: Update.
36475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36477 2012-03-01 Chris Demetriou <cgd@google.com>
36479 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36480 have predictable order.
36482 2012-03-01 David S. Miller <davem@davemloft.net>
36484 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36486 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36487 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36488 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36489 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36491 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36492 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36493 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36495 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36496 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36497 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36498 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36499 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36503 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36504 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36505 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36507 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36508 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36509 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36510 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36511 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36513 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36514 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36515 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36516 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36517 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36518 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36519 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36520 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36521 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36523 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36524 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36525 * sysdeps/sparc/elf/configure: Regenerated.
36527 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36529 * configure.in (AS, LD): Require binutils 2.20 or later.
36530 * configure: Regenerated.
36531 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36532 as required minimum version.
36533 * INSTALL: Regenerated.
36537 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36538 before squaring exponent.
36539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36540 bottom long double and 27 bits of top long double before squaring
36542 * math/libm-test.inc (erfc_test): Add more tests.
36543 * sysdeps/i386/fpu/libm-test-ulps: Update.
36544 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36547 2012-03-01 Kai Tietz <ktietz@redhat.com>
36549 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36550 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36551 containing bit-fields.
36552 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36553 * soft-fp/single.h (_FP_UNION_S): Likewise.
36554 * soft-fp/double.h (_FP_UNION_D): Likewise.
36556 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36559 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36560 not include ../strcmp.S.
36561 [USE_AS_STRNCASECMP_L]: Likewise.
36562 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36563 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36564 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36565 (__strncasecmp_l_ia32): Define as alias to
36566 __strncasecmp_l_nonascii.
36569 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36570 * sysdeps/i386/fpu/libm-test-ulps: Update.
36571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36573 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36576 2012-02-29 Jeff Law <law@redhat.com>
36578 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36579 out of bounds read.
36581 2012-02-29 Marek Polacek <polacek@redhat.com>
36584 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36585 * elf/Makefile: Add rules to run tst-unused-dep.out.
36587 2012-02-28 David S. Miller <davem@davemloft.net>
36589 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36590 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36591 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36592 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36593 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36594 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36596 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36598 * math/libm-test.inc (llround_test): Move one test from
36599 lround_test. Use TEST_f_L in moved test.
36600 (lround_test): Move misplaced test to llround_test. Add testcase
36603 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36605 * sysdeps/x86_64/fpu/e_expf.S: New file.
36606 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36608 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36611 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36612 of remain_len that may cause incomplete multi-byte character and
36614 * posix/bug-regex33.c: New file.
36615 * posix/Makefile (tests): Add bug-regex33.
36617 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36619 * manual/macros.texi: New file.
36620 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36621 * manual/libc.texinfo: Include macros.texi.
36622 * manual/creatute.texi: Likewise.
36623 * manual/install.texi: Likewise.
36624 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36625 @glibcadj{} in references to the GNU C Library.
36626 * manual/charset.texi: Likewise.
36627 * manual/conf.texi: Likewise.
36628 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36629 when not using those macros.
36630 * manual/creature.texi: Likewise.
36631 * manual/crypt.texi: Likewise.
36632 * manual/errno.texi: Likewise.
36633 * manual/filesys.texi: Likewise.
36634 * manual/header.texi: Likewise.
36635 * manual/install.texi: Likewise.
36636 * manual/intro.texi: Likewise.
36637 * manual/io.texi: Likewise.
36638 * manual/job.texi: Likewise.
36639 * manual/lang.texi: Likewise.
36640 * manual/libc.texiinfo: Likewise.
36641 * manual/llio.texi: Likewise.
36642 * manual/locale.texi: Likewise.
36643 * manual/maint.texi: Likewise.
36644 * manual/math.texi: Likewise.
36645 * manual/memory.texi: Likewise.
36646 * manual/message.texi: Likewise.
36647 * manual/nss.texi: Likewise.
36648 * manual/pattern.texi: Likewise.
36649 * manual/process.texi: Likewise.
36650 * manual/resource.texi: Likewise.
36651 * manual/search.texi: Likewise.
36652 * manual/setjmp.texi: Likewise.
36653 * manual/signal.texi: Likewise.
36654 * manual/socket.texi: Likewise.
36655 * manual/startup.texi: Likewise.
36656 * manual/stdio.texi: Likewise.
36657 * manual/string.texi: Likewise.
36658 * manual/sysinfo.texi: Likewise.
36659 * manual/syslog.texi: Likewise.
36660 * manual/terminal.texi: Likewise.
36661 * manual/time.texi: Likewise.
36662 * manual/users.texi: Likewise.
36663 * INSTALL: Regenerated.
36664 * NOTES: Regenerated.
36665 * sysdeps/gnu/errlist.c: Regenerated.
36667 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36669 * include/dirent.h: Include <dirstream.h> before
36672 2012-02-28 David S. Miller <davem@davemloft.net>
36674 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36675 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36676 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36677 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36679 2012-02-27 David S. Miller <davem@davemloft.net>
36681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36683 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36684 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36687 frame pointer instead of stack pointer relative arg slot.
36688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36689 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36690 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36692 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36695 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36697 2012-02-27 David S. Miller <davem@davemloft.net>
36699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36703 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36704 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36705 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36706 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36708 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36710 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36711 later. Allow versions 5-9.
36712 * configure: Regenerated.
36713 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36714 required minimum version and 4.6 as recommended version. Do not
36715 mention bugs in GCC 2.7 and 2.8.
36716 * INSTALL: Regenerated.
36718 2012-02-27 David S. Miller <davem@davemloft.net>
36720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36724 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36725 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36726 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36727 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36729 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36730 manipulate bits before adding and subtracting TWO112[sx].
36731 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36733 2012-02-27 Roland McGrath <roland@hack.frob.com>
36736 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36737 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36738 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36739 being in POSIX, because they are in 1003.1-2008.
36741 * rt/tst-aio.c: Include <fcntl.h>.
36742 * rt/tst-aio7.c: Likewise.
36743 * rt/tst-aio64.c: Likewise.
36745 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36747 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36749 * manual/install.texi (--with-headers): Describe headers as
36750 interface headers, not private headers.
36751 (Specific advice for GNU/Linux systems): Describe use of headers
36752 from "make headers_install", not private headers from older
36754 * INSTALL: Regenerated.
36755 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36757 * sysdeps/unix/sysv/linux/configure: Regenerated.
36759 * manual/llio.texi (fclean): Remove documentation.
36761 * manual/Makefile (libc-texi-generated): New variable. Include
36763 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36764 $(libc-texi-generated), not duplicated list of files.
36765 (version.texi, stamp-version): New rules.
36766 (realclean): Remove $(libc-texi-generated), not individual files
36767 from that list. Do not remove dir-add.texinfo.
36768 * manual/libc.texinfo: Comment out uses of edition numbers and
36769 references to printed manual. Remove last-updated dates.
36770 (EDITION): Comment out.
36772 (VERSION, UPDATED): Remove.
36773 (version.texi): Include.
36775 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36777 * sysdeps/posix/spawni.c: Include <signal.h>.
36778 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36779 * sysdeps/pthread/aio_fsync.c: Likewise.
36781 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36783 * conform/Makefile (tests): Run only when not cross-compiling and
36784 when fast-check is not defined.
36786 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36787 * conform/data/limits.h-data: Fixes for POSIX2008.
36788 * conform/run-conformtest.sh: Run all tests.
36789 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36791 * include/bits/dlfcn.h: Likewise.
36792 * include/langinfo.h: Likewise.
36793 * include/monetary.h: Likewise.
36794 * include/sys/poll.h: Likewise.
36796 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36798 * posix/spawn.h: Define __need_sigset_t.
36799 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36800 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36801 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36802 to get sigevent_t only.
36803 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36804 only for __USE_GNU.
36805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36806 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36807 process_vm_writev only for __USE_GNU.
36808 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36810 * conform/Makefile: For now ignore errors from run-conformtest.
36811 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36812 POSIX to avoid namespace pollution. Don't prepend headers.
36813 * conform/data/aio.h-data: Fixes for POSIX testing.
36814 * conform/data/fcntl.h-data: Likewise.
36815 * conform/data/glob.h-data: Likewise.
36816 * conform/data/grp.h-data: Likewise.
36817 * conform/data/pthread.h-data: Likewise.
36818 * conform/data/pwd.h-data: Likewise.
36819 * conform/data/signal.h-data: Likewise.
36820 * conform/data/spawn.h-data: Likewise.
36821 * conform/data/stdio.h-data: Likewise.
36822 * conform/data/stdlib.h-data: Likewise.
36823 * conform/data/stropts.h-data: Likewise.
36824 * conform/data/sys/mman.h-data: Likewise.
36825 * conform/data/sys/stat.h-data: Likewise.
36826 * conform/data/sys/types.h-data: Likewise.
36827 * conform/data/sys/wait.h-data: Likewise.
36828 * conform/data/time.h-data: Likewise.
36829 * conform/data/unistd.h-data: Likewise.
36830 * conform/data/utime.h-data: Likewise.
36832 * io/sys/stat.h: fchmod was always in POSIX.
36833 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36834 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36835 * rt/aio.h: Define __need_timespec before including <time.h>.
36836 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36837 struct. Add forward declaration of pthread_attr_t and use it in
36839 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36841 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36842 always remove CLK_TCK definition.
36844 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36846 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36848 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36850 * conform/run-conformtest.sh: New file.
36851 * conform/Makefile: Run run-conformtest for tests.
36852 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36855 * conform/data/uchar.h-data: New file.
36856 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36857 * conform/data/arpa/inet.h-data: Likewise.
36858 * conform/data/assert.h-data: Likewise.
36859 * conform/data/complex.h-data: Likewise.
36860 * conform/data/cpio.h-data: Likewise.
36861 * conform/data/ctype.h-data: Likewise.
36862 * conform/data/dirent.h-data: Likewise.
36863 * conform/data/dlfcn.h-data: Likewise.
36864 * conform/data/errno.h-data: Likewise.
36865 * conform/data/fcntl.h-data: Likewise.
36866 * conform/data/float.h-data: Likewise.
36867 * conform/data/fmtmsg.h-data: Likewise.
36868 * conform/data/fnmatch.h-data: Likewise.
36869 * conform/data/ftw.h-data: Likewise.
36870 * conform/data/glob.h-data: Likewise.
36871 * conform/data/grp.h-data: Likewise.
36872 * conform/data/iconv.h-data: Likewise.
36873 * conform/data/inttypes.h-data: Likewise.
36874 * conform/data/langinfo.h-data: Likewise.
36875 * conform/data/libgen.h-data: Likewise.
36876 * conform/data/limits.h-data: Likewise.
36877 * conform/data/locale.h-data: Likewise.
36878 * conform/data/math.h-data: Likewise.
36879 * conform/data/monetary.h-data: Likewise.
36880 * conform/data/mqueue.h-data: Likewise.
36881 * conform/data/ndbm.h-data: Likewise.
36882 * conform/data/net/if.h-data: Likewise.
36883 * conform/data/netdb.h-data: Likewise.
36884 * conform/data/netinet/in.h-data: Likewise.
36885 * conform/data/nl_types.h-data: Likewise.
36886 * conform/data/poll.h-data: Likewise.
36887 * conform/data/pthread.h-data: Likewise.
36888 * conform/data/pwd.h-data: Likewise.
36889 * conform/data/regex.h-data: Likewise.
36890 * conform/data/sched.h-data: Likewise.
36891 * conform/data/search.h-data: Likewise.
36892 * conform/data/semaphore.h-data: Likewise.
36893 * conform/data/setjmp.h-data: Likewise.
36894 * conform/data/signal.h-data: Likewise.
36895 * conform/data/spawn.h-data: Likewise.
36896 * conform/data/stdarg.h-data: Likewise.
36897 * conform/data/stdio.h-data: Likewise.
36898 * conform/data/stdlib.h-data: Likewise.
36899 * conform/data/string.h-data: Likewise.
36900 * conform/data/strings.h-data: Likewise.
36901 * conform/data/stropts.h-data: Likewise.
36902 * conform/data/sys/ipc.h-data: Likewise.
36903 * conform/data/sys/mman.h-data: Likewise.
36904 * conform/data/sys/msg.h-data: Likewise.
36905 * conform/data/sys/resource.h-data: Likewise.
36906 * conform/data/sys/select.h-data: Likewise.
36907 * conform/data/sys/sem.h-data: Likewise.
36908 * conform/data/sys/shm.h-data: Likewise.
36909 * conform/data/sys/socket.h-data: Likewise.
36910 * conform/data/sys/stat.h-data: Likewise.
36911 * conform/data/sys/statvfs.h-data: Likewise.
36912 * conform/data/sys/time.h-data: Likewise.
36913 * conform/data/sys/timeb.h-data: Likewise.
36914 * conform/data/sys/times.h-data: Likewise.
36915 * conform/data/sys/types.h-data: Likewise.
36916 * conform/data/sys/uio.h-data: Likewise.
36917 * conform/data/sys/un.h-data: Likewise.
36918 * conform/data/sys/utsname.h-data: Likewise.
36919 * conform/data/sys/wait.h-data: Likewise.
36920 * conform/data/syslog.h-data: Likewise.
36921 * conform/data/tar.h-data: Likewise.
36922 * conform/data/termios.h-data: Likewise.
36923 * conform/data/utime.h-data: Likewise.
36924 * conform/data/utmpx.h-data: Likewise.
36925 * conform/data/varargs.h-data: Likewise.
36926 * conform/data/wchar.h-data: Likewise.
36927 * conform/data/wctype.h-data: Likewise.
36928 * conform/data/wordexp.h-data: Likewise.
36930 * include/stropts.h: New file.
36931 * include/uchar.h: New file.
36932 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36933 * include/assert.h: Likewise.
36934 * include/ctype.h: Likewise.
36935 * include/dirent.h: Likewise.
36936 * include/dlfcn.h: Likewise.
36937 * include/fcntl.h: Likewise.
36938 * include/fnmatch.h: Likewise.
36939 * include/glob.h: Likewise.
36940 * include/grp.h: Likewise.
36941 * include/libio.h: Likewise.
36942 * include/locale.h: Likewise.
36943 * include/math.h: Likewise.
36944 * include/net/if.h: Likewise.
36945 * include/netdb.h: Likewise.
36946 * include/netinet/in.h: Likewise.
36947 * include/pthread.h: Likewise.
36948 * include/pwd.h: Likewise.
36949 * include/regex.h: Likewise.
36950 * include/sched.h: Likewise.
36951 * include/search.h: Likewise.
36952 * include/setjmp.h: Likewise.
36953 * include/signal.h: Likewise.
36954 * include/stdio.h: Likewise.
36955 * include/stdlib.h: Likewise.
36956 * include/string.h: Likewise.
36957 * include/sys/cdefs.h: Likewise.
36958 * include/sys/mman.h: Likewise.
36959 * include/sys/msg.h: Likewise.
36960 * include/sys/resource.h: Likewise.
36961 * include/sys/select.h: Likewise.
36962 * include/sys/socket.h: Likewise.
36963 * include/sys/stat.h: Likewise.
36964 * include/sys/statvfs.h: Likewise.
36965 * include/sys/time.h: Likewise.
36966 * include/sys/times.h: Likewise.
36967 * include/sys/uio.h: Likewise.
36968 * include/sys/utsname.h: Likewise.
36969 * include/sys/wait.h: Likewise.
36970 * include/termios.h: Likewise.
36971 * include/time.h: Likewise.
36972 * include/ulimit.h: Likewise.
36973 * include/unistd.h: Likewise.
36974 * include/utime.h: Likewise.
36975 * include/wchar.h: Likewise.
36976 * include/wctype.h: Likewise.
36977 * include/wordexp.h: Likewise.
36979 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36981 * time/time.h: TIME_UTC must be a macro.
36982 Make timespec_get available for ISO C11 only as well.
36984 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36986 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36987 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36989 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36991 * configure.in: Use -o not -a in test for unsupported multi-arch.
36993 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36995 * manual/texinfo.tex: Update to version 2012-01-19.16.
36997 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36999 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37001 2012-02-24 Roland McGrath <roland@hack.frob.com>
37004 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37005 * manual/fdl-1.3.texi: New file.
37006 * manual/fdl-1.1.texi: File removed.
37009 * manual/libc.texinfo (FDL_VERSION): New @set.
37010 Use it for mention of FDL in cover text.
37011 (Documentation License): Use it in @include file name.
37013 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37014 Roland McGrath <roland@hack.frob.com>
37017 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37018 (not LONG_LONG_MAX and LONG_LONG_MIN.
37019 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37020 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37022 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37024 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37028 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37029 manipulate bits before adding and subtracting TWO23[sx].
37030 * math/libm-test.inc (nearbyint_test): Add more tests.
37032 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37035 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37036 bits before adding and subtracting TWO23[sx].
37037 * math/libm-test.inc (rint_test): Add more tests.
37038 (rint_test_tonearest): Likewise.
37039 (rint_test_towardzero): Likewise.
37040 (rint_test_downward): Likewise.
37041 (rint_test_upward: Likewise.
37043 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37046 * include/stdc-predef.h: New file. Extracted from features.h.
37047 * include/features.h: Include stdc-predef.h.
37048 * Makefile (headers): Add stdc-predef.h.
37049 * CONFORMANCE (Compiler limitations): Update.
37051 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37053 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37055 2012-02-21 David S. Miller <davem@davemloft.net>
37057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37058 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37060 2012-02-20 David S. Miller <davem@davemloft.net>
37062 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37063 using a normal save/restore sequence, rather than allocating a
37064 dummy stack frame just to store a frame pointer and restore.
37065 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37067 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37069 * manual/install.texi: Fix stray word in line-wrapped comment.
37071 2012-02-20 David S. Miller <davem@davemloft.net>
37073 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37074 both binutils and gcc support GOTDATA.
37076 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37077 "rd %pc" in the PIC register setup sequences.
37079 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37080 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37081 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37082 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37083 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37085 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37086 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37088 (SYSCALL_ERROR_HANDLER): Likewise.
37089 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37090 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37092 (SYSCALL_ERROR_HANDLER): Likewise.
37094 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37095 (HAVE_GCC_GOTDATA): New.
37096 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37097 relocation support in both binutils and gcc.
37098 * sysdeps/sparc/elf/configure: Regenerate.
37100 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37101 * sysdeps/sparc/sparc32/elf/configure: Delete.
37102 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37103 * sysdeps/sparc/sparc64/elf/configure: Delete.
37104 * sysdeps/sparc/elf/configure.in: New file.
37105 * sysdeps/sparc/elf/configure: Generate.
37107 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37108 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37109 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37110 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37111 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37113 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37115 * manual/install.texi: Do not mention specific glibc version
37117 * manual/libc.texinfo (VERSION, UPDATED): Update.
37118 (@copying): Use @copyright{} and range of years.
37120 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37123 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37124 [crti.S not in sysdirs] (generated): Do not append.
37125 [crti.S not in sysdirs] (omit-deps): Likewise.
37126 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37127 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37128 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37129 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37130 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37132 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37133 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37134 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37135 * csu/defs.awk: Remove file.
37136 * sysdeps/generic/initfini.c: Likewise.
37137 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37139 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37142 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37144 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37145 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37146 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37147 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37148 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37149 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37151 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37152 (__EPOLL_PACKED): Define to empty if not defined by
37154 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37158 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37160 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37161 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37162 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37163 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37165 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37169 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37171 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37173 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37174 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37175 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37178 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37180 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37181 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37183 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37185 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37186 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37188 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37190 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37193 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37195 * math/w_acos.c: Use non-signaling floating-point comparisons.
37196 * math/w_acosf.c: Likewise.
37197 * math/w_acosh.c: Likewise.
37198 * math/w_acoshf.c: Likewise.
37199 * math/w_acoshl.c: Likewise.
37200 * math/w_acosl.c: Likewise.
37201 * math/w_asin.c: Likewise.
37202 * math/w_asinf.c: Likewise.
37203 * math/w_asinl.c: Likewise.
37204 * math/w_atanh.c: Likewise.
37205 * math/w_atanhf.c: Likewise.
37206 * math/w_atanhl.c: Likewise.
37207 * math/w_exp2.c: Likewise.
37208 * math/w_exp2f.c: Likewise.
37209 * math/w_exp2l.c: Likewise.
37210 * math/w_j0.c: Likewise.
37211 * math/w_j0f.c: Likewise.
37212 * math/w_j0l.c: Likewise.
37213 * math/w_j1.c: Likewise.
37214 * math/w_j1f.c: Likewise.
37215 * math/w_j1l.c: Likewise.
37216 * math/w_jn.c: Likewise.
37217 * math/w_jnf.c: Likewise.
37218 * math/w_log.c: Likewise.
37219 * math/w_log10.c: Likewise.
37220 * math/w_log10f.c: Likewise.
37221 * math/w_log10l.c: Likewise.
37222 * math/w_log2.c: Likewise.
37223 * math/w_log2f.c: Likewise.
37224 * math/w_log2l.c: Likewise.
37225 * math/w_logf.c: Likewise.
37226 * math/w_logl.c: Likewise.
37227 * math/w_sqrt.c: Likewise.
37228 * math/w_sqrtf.c: Likewise.
37229 * math/w_sqrtl.c: Likewise.
37230 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37231 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37232 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37233 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37234 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37236 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37239 * manual/string.texi (strnlen): Use correct parameter name in
37240 equivalent expression.
37242 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37245 * manual/users.texi (seteuid): Consistently use neweuid for
37248 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37251 * manual/nss.texi (Services in the NSS configuration): Correct
37252 list of services in example configuration file.
37254 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37257 * manual/arith.texi: Remove statements about negative zero
37258 behaving identically to zero.
37260 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37263 * manual/install.texi: Do not document upgrading from libc5.
37265 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37268 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37270 2012-02-18 David S. Miller <davem@davemloft.net>
37272 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37273 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37274 %o7 across the call.
37275 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37278 SETUP_PIC_REG_LEAF.
37279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37280 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37281 * sysdeps/sparc/crtn.S: Likewise.
37283 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37285 * aout/Makefile: Remove.
37287 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37290 * manual/examples/argp-ex1.c (main): Format definition in GNU
37292 * manual/examples/argp-ex2.c (main): Likewise.
37293 * manual/examples/argp-ex3.c (main): Likewise.
37294 * manual/examples/argp-ex4.c (main): Likewise.
37295 * manual/examples/longopt.c (main): Use new-style prototype
37297 * manual/examples/strncat.c (main): Specify return type and use
37298 (void) for arguments.
37299 * manual/examples/subopt.c (main): Use char **argv argument.
37301 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37304 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37307 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37310 * manual/string.texi (strchr): Change when strchrnul is
37313 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37316 * manual/locale.texi (setlocale): Document LOCPATH.
37318 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37321 * manual/process.texi (execle): Move @dots{} before last argument.
37323 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37326 * manual/charset.texi (Generic Charset Conversion): Fix typo
37327 (LC_TYPE -> LC_CTYPE).
37329 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37332 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37333 (scalbnf): Likewise.
37334 (scalbnl): Likewise.
37335 (scalbln): Likewise.
37336 (scalblnf): Likewise.
37337 (scalblnl): Likewise.
37338 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37339 (vwarnx): Likewise.
37342 * manual/filesys.texi (telldir): Use braces around return type.
37343 * manual/llio.texi (mmap): Add space after comma.
37344 (mmap64): Likewise.
37345 * manual/math.texi (jn): Use @var{} on parameter names.
37351 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37353 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37355 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37356 (sched_get_priority_max): Likewise.
37357 * manual/signal.texi (sigvec): Add space after comma.
37358 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37360 (if_indextoname): Likewise.
37361 (if_freenameindex): Likewise.
37362 (sendto): Use ',' instead of '.' in prototype.
37363 * manual/startup.texi (syscall): Use @dots{} instead of literal
37365 * manual/stdio.texi (__fpending): Separate initial words of
37366 paragraph from @deftypefun line.
37367 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37369 (vsyslog): Use @var{} on parameter names.
37370 * manual/terminal.texi (stty): Use @var{} on parameter names.
37371 * manual/users.texi (getutmp): Use @var{} on parameter names.
37372 (getutmpx): Likewise.
37374 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37377 * manual/stdio.texi (fopen): Fix typos in description of
37380 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37383 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37384 get clock_id definition.
37386 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37389 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37390 (madvise): Cast every argument to void on its own.
37392 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37395 * manual/startup.texi (Exit Status): Fix typo.
37397 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37400 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37401 * manual/examples/argp-ex2.c: Likewise.
37402 * manual/examples/argp-ex3.c: Likewise.
37404 2012-02-16 Richard Henderson <rth@redhat.com>
37406 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37407 * sysdeps/s390/s390-32/initfini.c: Remove.
37408 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37409 * sysdeps/s390/s390-64/initfini.c: Remove.
37411 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37413 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37414 compiler output for sysdeps/generic/initfini.c.
37415 * sysdeps/sh/elf/initfini.c: Remove file.
37417 2012-02-16 David S. Miller <davem@davemloft.net>
37420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37422 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37423 * sysdeps/sparc/crti.S: New file.
37424 * sysdeps/sparc/crtn.S: New file.
37425 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37426 * sysdeps/sparc/sparc64/Makefile: Likewise.
37428 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37431 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37433 2012-02-15 Roland McGrath <roland@hack.frob.com>
37436 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37438 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37439 (write, read, close): Likewise.
37440 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37442 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37444 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37445 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37446 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37447 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37449 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37453 2012-02-14 Marek Polacek <polacek@redhat.com>
37455 * sysdeps/x86_64/crti.S: New file.
37456 * sysdeps/x86_64/crtn.S: New file.
37457 * sysdeps/x86_64/elf/initfini.c: Remove file.
37459 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37461 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37462 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37463 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37464 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37466 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37470 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37472 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37473 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37474 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37475 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37477 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37481 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37483 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37484 __feraiseexcept instead of feraiseexcept.
37486 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37487 nanosleep invocations.
37488 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37489 strings, and add error checking for a nanosleep invocations.
37491 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37493 Replace FSF snail mail address with URLs, as per GNU coding standards.
37494 Most of the snail mail addresses were wrong anyway, and omitting
37495 them makes the source code easier to maintain. Almost all of the
37496 changes are to license notices and to locale LC_IDENTIFICATION
37497 addresses, except for this one:
37498 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37499 not its snail mail address.
37501 2012-02-09 Richard Henderson <rth@twiddle.net>
37503 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37504 of kernel-features.h.
37506 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37508 2012-02-08 Marek Polacek <polacek@redhat.com>
37510 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37511 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37512 * sysdeps/gnu/_G_config.h: Likewise.
37513 * sysdeps/generic/_G_config.h: Likewise.
37515 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37517 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37521 * sysdeps/powerpc/powerpc32/crti.S: New file.
37522 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37523 * sysdeps/powerpc/powerpc64/crti.S: New file.
37524 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37526 * Makeconfig (have-initfini): Don't set.
37527 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37528 * configure.in (nopic_initfini): Don't substitute.
37529 * config.h.in (HAVE_INITFINI): Don't #undef.
37530 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37531 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37533 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37535 Support crti.S and crtn.S provided directly by architectures.
37536 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37537 [crti.S in sysdirs] (omit-deps): Likewise.
37538 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37539 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37540 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37541 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37542 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37543 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37544 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37545 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37546 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37547 compiler output for sysdeps/generic/initfini.c.
37548 * sysdeps/i386/elf/Makefile: Remove file.
37549 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37551 2012-02-07 Marek Polacek <polacek@redhat.com>
37553 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37554 * sysdeps/gnu/_G_config.h: Likewise.
37555 * sysdeps/mach/hurd/_G_config.h: Likewise.
37557 2012-02-07 Marek Polacek <polacek@redhat.com>
37559 * math/Makefile (tests): Add tst-CMPLX2.
37560 * math/tst-CMPLX2.c: New file.
37562 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37564 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37566 * math/libm-test.inc (jn_test): Add missing L suffix.
37568 2012-02-06 Marek Polacek <polacek@redhat.com>
37570 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37571 * sysdeps/i386/fpu/e_powf.S: Likewise.
37572 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37573 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37574 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37575 * sysdeps/i386/fpu/e_pow.S: Likewise.
37576 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37577 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37578 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37579 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37580 * sysdeps/i386/fpu/e_log2.S: Likewise.
37581 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37582 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37583 * sysdeps/i386/fpu/e_powl.S: Likewise.
37584 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37585 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37586 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37587 * sysdeps/i386/fpu/e_logl.S: Likewise.
37588 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37589 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37590 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37591 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37592 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37593 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37594 * sysdeps/i386/fpu/e_log.S: Likewise.
37595 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37596 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37597 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37598 * sysdeps/i386/fpu/e_logf.S: Likewise.
37599 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37600 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37601 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37602 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37603 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37604 * sysdeps/i386/fpu/e_log10.S: Likewise.
37605 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37606 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37607 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37608 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37609 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37610 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37611 * sysdeps/i386/asm-syntax.h: Likewise.
37612 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37613 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37614 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37615 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37616 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37617 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37618 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37619 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37620 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37621 * sysdeps/powerpc/sysdep.h: Likewise.
37622 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37623 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37625 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37628 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37630 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37632 * sysdeps/i386/sysdep.h: Include <features.h>.
37633 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37636 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37638 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37640 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37643 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37645 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37646 (SETUP_PIC_REG): Use GET_PC_THUNK.
37647 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37650 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37652 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37653 for non-PIC compilation.
37654 (SETUP_PIC_REG): Add .p2align directive.
37655 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37656 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37657 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37658 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37659 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37660 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37661 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37662 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37663 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37664 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37665 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37666 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37667 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37668 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37669 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37670 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37671 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37672 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37673 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37674 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37675 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37676 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37677 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37678 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37680 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37681 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37682 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37683 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37684 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37685 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37686 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37687 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37688 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37689 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37690 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37691 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37692 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37693 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37694 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37695 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37697 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37699 * math/tst-CMPLX.c: Include <stdio.h>.
37701 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37703 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37705 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37706 * sysdeps/sparc/bits/mathdef.h: Likewise.
37708 2012-01-31 Marek Polacek <polacek@redhat.com>
37710 * libio/libio.h: Don't define _PARAMS.
37711 * locale/programs/config.h: Don't define PARAMS.
37712 * stdlib/strtol_l.c: Likewise.
37713 (__strtol_l): Remove PARAMS from the prototype.
37715 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37717 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37718 names. Just use the correct names. Remove unnecessary wrapper
37720 * malloc/arena.c: Likewise.
37721 * malloc/hooks.c: Likewise.
37723 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37724 ARENA_TEST says not to. Simplify test for creation of a new arena.
37725 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37727 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37729 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37731 (update_get_addr): New function.
37732 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37733 GET_ADDR_MODULE parameter.
37735 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37737 * crypt/cert.c: Remove __STDC__ conditionals.
37738 * crypt/crypt-entry.c: Likewise.
37739 * crypt/crypt_util.c: Likewise.
37740 * libio/filedoalloc.c: Likewise.
37741 * libio/fileops.c: Likewise.
37742 * libio/genops.c: Likewise.
37743 * libio/iofclose.c: Likewise.
37744 * libio/iofdopen.c: Likewise.
37745 * libio/iofopen.c: Likewise.
37746 * libio/iofopen64.c: Likewise.
37747 * libio/iogetdelim.c: Likewise.
37748 * libio/iopopen.c: Likewise.
37749 * libio/obprintf.c: Likewise.
37750 * libio/oldfileops.c: Likewise.
37751 * libio/oldiofclose.c: Likewise.
37752 * libio/oldiofdopen.c: Likewise.
37753 * libio/oldiofopen.c: Likewise.
37754 * libio/oldiopopen.c: Likewise.
37755 * libio/wfiledoalloc.c: Likewise.
37756 * libio/wgenops.c: Likewise.
37757 * locale/programs/xmalloc.c: Likewise.
37758 * misc/syslog.c: Likewise.
37759 * stdio-common/xbug.c: Likewise.
37760 * string/memchr.c: Likewise.
37761 * string/memcmp.c: Likewise.
37762 * string/memrchr.c: Likewise.
37763 * string/rawmemchr.c: Likewise.
37764 * sysdeps/posix/getcwd.c: Likewise.
37765 * time/strftime_l.c: Likewise.
37767 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37769 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37770 * config.make.in (config-cflags-sse2avx): Define.
37771 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37774 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37776 * scripts/config.guess: Update from upstream config git repository.
37777 * scripts/config.sub: Likewise.
37779 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37781 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37783 (R_TILEPRO_*, R_TILEGX_*): New macros.
37785 * scripts/firstversions.awk: Fix bug in version range handling.
37787 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37789 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37791 * include/sys/epoll.h: New file.
37792 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37795 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37797 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37798 Avoid unnecessary __WORDSIZE == 64 test.
37799 (fmaxf): Use VEX format if possible.
37804 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37805 * math/math_private.h: Remove libc_fegetround* and
37807 * sysdeps/i386/configure.in: Check for -msse2avx.
37808 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37809 also if SSE2AVX is defined.
37810 Remove libc_fegetround* and libc_fesetround*.
37811 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37812 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37813 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37815 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37816 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37817 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37819 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37821 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37823 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37825 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37827 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37829 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37832 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37834 * Makeconfig (libm): Define.
37835 * elf/Makefile: Add rules to build and run tst-relsort1.
37836 * elf/tst-relsort1.c: New file.
37837 * elf/tst-relsort1mod1.c: New file.
37838 * elf/tst-relsort1mod2.c: New file.
37840 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37842 * math/s_ldexp.c: Remove __STDC__ conditionals.
37843 * math/s_ldexpf.c: Likewise.
37844 * math/s_ldexpl.c: Likewise.
37845 * math/s_nextafter.c: Likewise.
37846 * math/s_nexttowardf.c: Likewise.
37847 * math/s_significand.c: Likewise.
37848 * math/s_significandf.c: Likewise.
37849 * math/s_significandl.c: Likewise.
37850 * math/w_jnl.c: Likewise.
37851 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37852 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37853 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37854 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37855 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37857 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37858 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37859 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37860 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37861 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37863 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37864 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37865 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37866 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37867 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37868 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37870 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37871 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37872 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37873 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37874 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37875 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37876 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37877 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37878 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37879 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37880 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37881 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37882 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37883 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37884 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37885 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37886 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37887 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37888 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37889 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37890 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37891 * sysdeps/ieee754/k_standard.c: Likewise.
37892 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37893 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37894 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37895 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37896 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37897 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37898 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37899 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37900 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37901 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37902 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37903 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37904 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37905 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37906 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37908 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37910 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37911 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37914 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37915 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37916 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37917 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37918 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37919 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37921 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37922 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37923 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37924 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37925 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37926 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37927 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37928 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37929 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37930 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37931 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37932 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37933 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37934 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37935 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37936 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37937 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37938 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37939 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37940 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37941 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37942 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37943 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37944 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37945 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37946 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37947 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37948 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37949 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37950 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37951 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37952 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37953 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37954 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37955 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37956 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37957 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37958 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37959 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37960 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37961 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37962 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37963 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37964 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37965 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37966 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37967 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37968 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37969 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37970 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37971 * sysdeps/ieee754/s_matherr.c: Likewise.
37972 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37973 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37977 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37979 * crypt/md5.h: Remove __STDC__ conditionals.
37980 * libio/libioP.h: Likewise.
37981 * locale/programs/config.h: Likewise.
37982 * sysdeps/generic/sysdep.h: Likewise.
37983 * sysdeps/i386/asm-syntax.h: Likewise.
37984 * sysdeps/s390/asm-syntax.h: Likewise.
37985 * sysdeps/unix/sysdep.h: Likewise.
37986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37989 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37991 * libio/libio.h: Remove __STDC__ conditionals.
37992 * malloc/obstack.h: Likewise.
37993 * math/complex.h: Likewise.
37994 * math/math.h: Likewise.
37995 * sysdeps/generic/_G_config.h: Likewise.
37996 * sysdeps/gnu/_G_config.h: Likewise.
37997 * sysdeps/mach/hurd/_G_config.h: Likewise.
37998 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37999 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38000 * sysdeps/sparc/bits/mathdef.h: Likewise.
38002 2012-01-26 Ulrich Drepper <drepper@gmail.com>
38005 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38006 Clean up HAS_* macros.
38007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38008 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38010 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38012 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38013 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38014 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38015 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38016 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38018 2012-01-25 Joseph Myers <joseph@codesourcery.com>
38020 * elf/tst-unique3.cc (gets): Remove declaration.
38021 * elf/tst-unique3lib.cc (gets): Likewise.
38022 * elf/tst-unique3lib2.cc (gets): Likewise.
38023 * elf/tst-unique4.cc (gets): Likewise.
38025 2012-01-24 Ulrich Drepper <drepper@gmail.com>
38027 * include/stdio.h: Add C++ protection. Add gets declarations and
38029 * debug/tst-chk1.c: Don't declare gets here.
38030 * stdio-common/tst-gets.c: Likewise.
38032 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38034 * posix/glob: Remove directory.
38036 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38038 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38040 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38042 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38043 of the non-standard EPFNOSUPPORT.
38045 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38047 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38048 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38049 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38051 2012-01-21 Ulrich Drepper <drepper@gmail.com>
38053 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38055 2012-01-20 Ulrich Drepper <drepper@gmail.com>
38057 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38059 * nscd/grpcache.c (cache_addgr): Likewise.
38060 * nscd/hstcache.c (cache_addhst): Likewise.
38061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38062 * nscd/pwdcache.c (cache_addpw): Likewise.
38063 * nscd/servicescache.c (cache_addserv): Likewise.
38065 2012-01-16 Ulrich Drepper <drepper@gmail.com>
38067 * malloc/malloc.c: Various cleanups.
38068 * malloc/hooks.c: Likewise.
38070 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38071 * stdlib/bug-fmtmsg1.c: New file.
38073 * stdlib/fmtmsg.c (init): Add missing unlock.
38074 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38076 2012-01-12 Marek Polacek <polacek@redhat.com>
38078 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38081 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38083 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38084 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38085 macro to ensure uniqueness of label name.
38086 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38087 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38089 2012-01-11 Ulrich Drepper <drepper@gmail.com>
38091 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38093 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38094 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38095 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38098 2012-01-10 Ulrich Drepper <drepper@gmail.com>
38100 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38102 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38103 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38104 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38106 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38108 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38109 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38110 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38113 * math/bits/math-finite.h: Add ldexp support.
38115 2012-01-10 Marek Polacek <polacek@redhat.com>
38117 * locale/programs/localedef.h (show_archive_content): Add noreturn
38120 2012-01-09 Ulrich Drepper <drepper@gmail.com>
38122 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38124 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38126 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38128 * io/Makefile (headers): Add bits/poll2.h.
38130 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38133 typo #include statement.
38135 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38137 * include/sys/cdefs.h: Define __attribute_alloc_size.
38138 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38139 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38140 * elf/pldd.c: Likewise.
38141 * iconv/iconv_charmap.c: Likewise.
38142 * iconv/iconvconfig.c: Likewise.
38143 * iconv/strtab.c: Likewise.
38144 * locale/programs/locale.c: Likewise.
38145 * locale/programs/localedef.h: Likewise.
38146 * locale/programs/simple-hash.c: Likewise.
38147 * nscd/nscd.h: Likewise.
38148 * nss/makedb.c: Likewise.
38149 * sysdeps/generic/ldconfig.h: Likewise.
38150 * locale/programs/localedef.c: Remove xmalloc prototype.
38151 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38153 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38155 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38158 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38160 * math/Makefile (tests): Add tst-CMPLX.
38161 * math/tst-CMPLX.c: New file.
38163 * math/complex.h (CMPLXL): Fix typo.
38165 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38166 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38168 * debug/tst-chk1.c: Add poll and ppoll tests.
38169 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38170 * include/sys/poll.h: Add hidden proto for ppoll.
38171 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38172 * sysdeps/mach/hurd/ppoll.c: Likewise.
38173 * io/ppoll.c: Likewise.
38174 * debug/poll_chk.c: New file.
38175 * debug/ppoll_chk.c: New file.
38176 * include/bits/poll2.h: New file.
38177 * io/bits/poll2.h: New file.
38180 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38182 * configure.in: static is always set to yes. Remove.
38183 * config.make.in: Don't set build-static.
38184 * Makeconfig: Remove use of build-static.
38185 * dlfcn/Makefile: Likewise.
38186 * elf/Makefile: Likewise.
38187 * math/Makefile: Likewise.
38188 * misc/Makefile: Likewise.
38189 * nptl/Makefile: Likewise.
38190 * sysdeps/mach/hurd/Makefile: Likewise.
38192 * configure.in: PWD_P is not used anymore.
38193 * config.make.in: Remove PWD_P entry.
38195 * configure.in: Remove last remnants of RANLIB.
38196 No need to check for signed size_t anymore.
38197 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38199 Remove __builtin_expect test because we require at least gcc 3.4.
38200 * aclocal.m4: Likewise.
38202 * wcsmbs/mbrtoc16.c: Implement using towc function.
38203 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38204 * wcsmbs/wcsmbsload.c: Likewise.
38205 * iconv/gconv_simple.c: Likewise.
38206 * iconv/gconv_int.h: Likewise.
38207 * iconv/gconv_builtin.h: Likewise.
38208 * iconv/iconv_prog.c: Remove CHAR16 handling.
38210 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38212 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38214 * configure.in: Remove --with-elf and --enable-bounded options.
38215 Dont set base_machine for ia64. More non-ELF conditions removed.
38216 Remove testing and setting of leading underscore information.
38217 * config.make.in (build-bounded): Set to no.
38218 * config.h.in: Remove NO_UNDERSCORES entry.
38219 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38221 * csu/start.c: Remove !NO_UNDERSCORE code.
38222 * locale/localeinfo.h: Likewise.
38223 * sysdeps/generic/machine-gmon.h: Likewise.
38224 * sysdeps/generic/sysdep.h: Likewise.
38225 * sysdeps/i386/sysdep.h: Likewise.
38226 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38227 * sysdeps/mach/sysdep.h: Likewise.
38228 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38229 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38230 * sysdeps/sh/sysdep.h: Likewise.
38231 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38232 * sysdeps/unix/i386/sysdep.S: Likewise.
38233 * sysdeps/unix/sparc/start.c: Likewise.
38234 * sysdeps/unix/sparc/sysdep.S: Likewise.
38235 * sysdeps/unix/sparc/sysdep.h: Likewise.
38236 * sysdeps/unix/start.c: Likewise.
38237 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38238 * sysdeps/x86_64/sysdep.h: Likewise.
38240 2012-01-07 Ulrich Drepper <drepper@gmail.com>
38243 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38245 * argp/argp-fmtstream.h: Use const instead __const.
38246 * argp/argp.h: Likewise.
38247 * assert/assert.h: Likewise.
38248 * bits/fenv.h: Likewise.
38249 * bits/sched.h: Likewise.
38250 * bits/sigset.h: Likewise.
38251 * bits/sigthread.h: Likewise.
38252 * catgets/nl_types.h: Likewise.
38253 * conform/data/pthread.h-data: Likewise.
38254 * crypt/crypt-private.h: Likewise.
38255 * crypt/crypt.h: Likewise.
38256 * crypt/crypt_util.c: Likewise.
38257 * ctype/ctype.h: Likewise.
38258 * debug/execinfo.h: Likewise.
38259 * debug/mbsnrtowcs_chk.c: Likewise.
38260 * debug/mbsrtowcs_chk.c: Likewise.
38261 * debug/wcsnrtombs_chk.c: Likewise.
38262 * debug/wcsrtombs_chk.c: Likewise.
38263 * debug/wcstombs_chk.c: Likewise.
38264 * dirent/dirent.h: Likewise.
38265 * dlfcn/dlfcn.h: Likewise.
38266 * elf/neededtest4.c: Likewise.
38267 * grp/grp.h: Likewise.
38268 * gshadow/gshadow.h: Likewise.
38269 * iconv/gconv.h: Likewise.
38270 * iconv/gconv_int.h: Likewise.
38271 * iconv/gconv_simple.c: Likewise.
38272 * iconv/iconv.h: Likewise.
38273 * iconv/loop.c: Likewise.
38274 * iconv/skeleton.c: Likewise.
38275 * include/aio.h: Likewise.
38276 * include/aliases.h: Likewise.
38277 * include/argz.h: Likewise.
38278 * include/arpa/inet.h: Likewise.
38279 * include/assert.h: Likewise.
38280 * include/dirent.h: Likewise.
38281 * include/dlfcn.h: Likewise.
38282 * include/execinfo.h: Likewise.
38283 * include/fcntl.h: Likewise.
38284 * include/fenv.h: Likewise.
38285 * include/glob.h: Likewise.
38286 * include/grp.h: Likewise.
38287 * include/libintl.h: Likewise.
38288 * include/mntent.h: Likewise.
38289 * include/netdb.h: Likewise.
38290 * include/pwd.h: Likewise.
38291 * include/rpc/netdb.h: Likewise.
38292 * include/sched.h: Likewise.
38293 * include/search.h: Likewise.
38294 * include/shadow.h: Likewise.
38295 * include/signal.h: Likewise.
38296 * include/stdio.h: Likewise.
38297 * include/stdlib.h: Likewise.
38298 * include/string.h: Likewise.
38299 * include/sys/socket.h: Likewise.
38300 * include/sys/stat.h: Likewise.
38301 * include/sys/statfs.h: Likewise.
38302 * include/sys/statvfs.h: Likewise.
38303 * include/sys/syslog.h: Likewise.
38304 * include/sys/time.h: Likewise.
38305 * include/sys/uio.h: Likewise.
38306 * include/time.h: Likewise.
38307 * include/unistd.h: Likewise.
38308 * include/utmp.h: Likewise.
38309 * include/wchar.h: Likewise.
38310 * include/wctype.h: Likewise.
38311 * inet/aliases.h: Likewise.
38312 * inet/arpa/inet.h: Likewise.
38313 * inet/netinet/ether.h: Likewise.
38314 * inet/netinet/in.h: Likewise.
38315 * intl/libintl.h: Likewise.
38316 * io/bits/fcntl2.h: Likewise.
38317 * io/fcntl.h: Likewise.
38318 * io/ftw.h: Likewise.
38319 * io/sys/poll.h: Likewise.
38320 * io/sys/stat.h: Likewise.
38321 * io/sys/statfs.h: Likewise.
38322 * io/sys/statvfs.h: Likewise.
38323 * io/utime.h: Likewise.
38324 * libio/bits/stdio.h: Likewise.
38325 * libio/bits/stdio2.h: Likewise.
38326 * libio/libio.h: Likewise.
38327 * libio/libioP.h: Likewise.
38328 * libio/stdio.h: Likewise.
38329 * locale/lc-ctype.c: Likewise.
38330 * locale/locale.h: Likewise.
38331 * login/utmp.h: Likewise.
38332 * malloc/arena.c: Likewise.
38333 * malloc/malloc.c: Likewise.
38334 * malloc/malloc.h: Likewise.
38335 * malloc/mcheck.c: Likewise.
38336 * malloc/mtrace.c: Likewise.
38337 * math/bits/mathcalls.h: Likewise.
38338 * math/fenv.h: Likewise.
38339 * math/math_private.h: Likewise.
38340 * misc/bits/error.h: Likewise.
38341 * misc/bits/syslog.h: Likewise.
38342 * misc/err.h: Likewise.
38343 * misc/error.h: Likewise.
38344 * misc/fstab.h: Likewise.
38345 * misc/mntent.h: Likewise.
38346 * misc/regexp.h: Likewise.
38347 * misc/search.h: Likewise.
38348 * misc/sgtty.h: Likewise.
38349 * misc/sys/mman.h: Likewise.
38350 * misc/sys/syslog.h: Likewise.
38351 * misc/sys/uio.h: Likewise.
38352 * misc/sys/xattr.h: Likewise.
38353 * misc/ttyent.h: Likewise.
38354 * nis/rpcsvc/ypclnt.h: Likewise.
38355 * nss/nss.h: Likewise.
38356 * posix/bits/unistd.h: Likewise.
38357 * posix/fnmatch.h: Likewise.
38358 * posix/glob.h: Likewise.
38359 * posix/sched.h: Likewise.
38360 * posix/spawn.h: Likewise.
38361 * posix/sys/wait.h: Likewise.
38362 * posix/unistd.h: Likewise.
38363 * posix/wordexp.h: Likewise.
38364 * pwd/pwd.h: Likewise.
38365 * resolv/netdb.h: Likewise.
38366 * resource/sys/resource.h: Likewise.
38367 * rt/aio.h: Likewise.
38368 * rt/bits/mqueue2.h: Likewise.
38369 * rt/mqueue.h: Likewise.
38370 * shadow/shadow.h: Likewise.
38371 * signal/signal.h: Likewise.
38372 * socket/send.c: Likewise.
38373 * socket/sendto.c: Likewise.
38374 * socket/sys/socket.h: Likewise.
38375 * stdio-common/printf.h: Likewise.
38376 * stdlib/bits/stdlib.h: Likewise.
38377 * stdlib/fmtmsg.h: Likewise.
38378 * stdlib/monetary.h: Likewise.
38379 * stdlib/stdlib.h: Likewise.
38380 * stdlib/ucontext.h: Likewise.
38381 * streams/stropts.h: Likewise.
38382 * string/argz.h: Likewise.
38383 * string/bits/string2.h: Likewise.
38384 * string/string.h: Likewise.
38385 * string/strings.h: Likewise.
38386 * sunrpc/rpc/auth.h: Likewise.
38387 * sunrpc/rpc/auth_des.h: Likewise.
38388 * sunrpc/rpc/clnt.h: Likewise.
38389 * sunrpc/rpc/netdb.h: Likewise.
38390 * sunrpc/rpc/pmap_clnt.h: Likewise.
38391 * sunrpc/rpc/xdr.h: Likewise.
38392 * sysdeps/generic/inttypes.h: Likewise.
38393 * sysdeps/generic/net/if.h: Likewise.
38394 * sysdeps/generic/sys/swap.h: Likewise.
38395 * sysdeps/gnu/net/if.h: Likewise.
38396 * sysdeps/gnu/utmpx.h: Likewise.
38397 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38398 * sysdeps/i386/i486/bits/string.h: Likewise.
38399 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38400 * sysdeps/s390/bits/string.h: Likewise.
38401 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38402 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38403 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38404 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38405 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38406 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38407 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38408 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38409 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38410 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38411 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38412 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38413 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38414 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38415 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38416 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38417 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38419 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38421 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38422 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38423 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38424 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38425 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38426 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38427 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38428 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38429 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38431 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38432 * sysvipc/sys/ipc.h: Likewise.
38433 * sysvipc/sys/msg.h: Likewise.
38434 * sysvipc/sys/sem.h: Likewise.
38435 * sysvipc/sys/shm.h: Likewise.
38436 * termios/termios.h: Likewise.
38437 * time/sys/time.h: Likewise.
38438 * time/time.h: Likewise.
38439 * wcsmbs/bits/wchar2.h: Likewise.
38440 * wcsmbs/uchar.h: Likewise.
38441 * wcsmbs/wchar.h: Likewise.
38442 * wctype/wctype.h: Likewise.
38445 * Makeconfig: Remove all but ELF support including AIX support.
38446 * Makerules: Likewise.
38447 * config.h.in: Likewise.
38448 * config.make.in: Likewise.
38449 * configure: Likewise.
38450 * configure.in: Likewise.
38451 * csu/Makefile: Likewise.
38452 * csu/version.c: Likewise.
38453 * debug/Makefile: Likewise.
38454 * dlfcn/Makefile: Likewise.
38455 * elf/Makefile: Likewise.
38456 * extra-lib.mk: Likewise.
38457 * iconv/Makefile: Likewise.
38458 * include/libc-symbols.h: Likewise.
38459 * include/shlib-compat.h: Likewise.
38460 * resolv/Makefile: Likewise.
38461 * resolv/res_libc.c: Likewise.
38462 * rt/Makefile: Likewise.
38463 * sysdeps/i386/asm-syntax.h: Likewise.
38464 * sysdeps/i386/sysdep.h: Likewise.
38465 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38466 * sysdeps/mach/sysdep.h: Likewise.
38467 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38468 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38469 * sysdeps/s390/asm-syntax.h: Likewise.
38470 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38471 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38472 * sysdeps/sh/sysdep.h: Likewise.
38473 * sysdeps/unix/sparc/sysdep.h: Likewise.
38474 * sysdeps/wordsize-32/divdi3.c: Likewise.
38475 * sysdeps/x86_64/sysdep.h: Likewise.
38477 * argp/Versions: Remove _argp_unlock_xxx.
38480 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38481 * abilist/libBrokenLocale.abilist: Likewise.
38482 * abilist/libanl.abilist: Likewise.
38483 * abilist/libc.abilist: Likewise.
38484 * abilist/libcrypt.abilist: Likewise.
38485 * abilist/libdl.abilist: Likewise.
38486 * abilist/libm.abilist: Likewise.
38487 * abilist/libnsl.abilist: Likewise.
38488 * abilist/libpthread.abilist: Likewise.
38489 * abilist/libresolv.abilist: Likewise.
38490 * abilist/librt.abilist: Likewise.
38491 * abilist/libthread_db.abilist: Likewise.
38492 * abilist/libutil.abilist: Likewise.
38493 * abilist/libnss_db.abilist: New file.
38495 * scripts/abilist.awk: Add support for indirect functions.
38497 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38499 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38501 * shlib-versions: Remove entries for ports architectures.
38503 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38505 * elf/stackguard-macros.h: Remove support for IA-64.
38506 * elf/tst-auditmod1.c: Likewise.
38507 * sysdeps/generic/ldsodefs.h: Likewise.
38509 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38510 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38514 * configure.in: Remove --enable-omitfp support.
38516 * config.make.in: Likewise.
38517 * Makeconfig: Likewise.
38518 * manual/install.texi: Likewise.
38520 In case anyone cares, the IA-64 architecture could move to ports.
38521 * sysdeps/ia64/*: Removed.
38522 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38523 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38526 * configure.in: Remove entries for unsupported architectures.
38529 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38530 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38532 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38533 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38534 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38535 fall back to using wcrtomb.
38536 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38537 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38539 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38540 * wcsmbs/tst-c16c32-1.c: New file.
38542 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38545 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38547 * elf/tst-unique3.cc: Add explicit declaration of gets.
38548 * elf/tst-unique3lib.cc: Likewise.
38549 * elf/tst-unique3lib2.cc: Likewise.
38550 * elf/tst-unique4.cc: Likewise.
38552 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38554 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38557 * assert/assert.h (static_assert): Don't define for C++.
38558 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38559 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38561 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38563 * iconv/loop.c (single loop): Fix assertion in storing of
38566 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38568 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38570 * posix/getconf.c: Update copyright year.
38571 * nss/getent.c: Likewise.
38572 * nss/makedb.c: Likewise.
38573 * iconv/iconvconfig.c: Likewise.
38574 * iconv/iconv_prog.c: Likewise.
38575 * elf/ldconfig.c: Likewise.
38576 * elf/pldd.c: Likewise.
38577 * elf/sotruss.ksh: Likewise.
38578 * catgets/gencat.c: Likewise.
38579 * csu/version.c: Likewise.
38580 * elf/ldd.bash.in: Likewise.
38581 * elf/sprof.c (print_version): Likewise.
38582 * locale/programs/locale.c: Likewise.
38583 * locale/programs/localedef.c: Likewise.
38584 * login/programs/pt_chown.c: Likewise.
38585 * nscd/nscd.c (print_version): Likewise.
38586 * debug/xtrace.sh: Likewise.
38587 * malloc/memusage.sh: Likewise.
38588 * malloc/mtrace.pl: Likewise.
38589 * debug/catchsegv.sh: Likewise.
38591 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38593 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38596 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38599 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38600 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38602 * iconv/gconv_int.h: Likewise.
38603 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38604 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38605 from libc for GLIBC_2.16.
38606 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38607 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38608 * wcsmbs/uchar.h: Really define mbstate_t.
38609 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38610 * wcsmbs/c16rtomb.c: New file.
38611 * wcsmbs/mbrtoc16.c: New file.
38612 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38613 for C/POSIX locale.
38614 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38615 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38617 * wcsmbs/wchar.h: Add missing __restrict.
38619 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38622 * time/Makefile (routines): Add timespec_get.
38623 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38624 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38625 timespec for ISO C11.
38626 * time/timespec_get.c: New file.
38627 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38628 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38631 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38632 * stdlib/stdlib.h: Declare aligned_alloc.
38633 * Versions.def: Add GLIBC_2.16 for libc.
38634 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38637 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38640 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38644 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38647 * assert/assert.h (static_assert): Define.
38649 * version.h: Update for 2.16 development version.
38652 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38655 * version.h (RELEASE): Bump for 2.15 release.
38656 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38658 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38659 Patch by Marek Polacek <mpolacek@redhat.com>.
38661 * bits/byteswap.h: Protect long long constants with __extension__.
38662 * sysdeps/i386/bits/byteswap.h: Likewise.
38663 * sysdeps/ia64/bits/byteswap.h: Likewise.
38664 * sysdeps/s390/bits/byteswap.h: Likewise.
38665 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38667 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38670 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38671 destination buffer.
38672 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38674 2011-12-23 Marek Polacek <polacek@redhat.com>
38676 * elf/dl-addr.c (determine_info): Add inline keyword.
38677 * elf/tst-auditmod4b.c (check_avx): Likewise.
38678 * elf/tst-auditmod6b.c (check_avx): Likewise.
38679 * elf/tst-auditmod6c.c (check_avx): Likewise.
38680 * elf/tst-auditmod7b.c (check_avx): Likewise.
38682 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38684 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38687 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38690 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38691 processing for last bytes.
38693 2011-08-06 Bruno Haible <bruno@clisp.org>
38696 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38697 U+0385, not to U+1FEE.
38700 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38701 entry for U+00A5 U+0301.
38703 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38706 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38707 buffer for the output is too small.
38709 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38713 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38714 SSE flags if possible.
38716 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38719 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38720 processing for last bytes.
38722 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38724 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38725 (syscall-list-default-options, syscall-list-default-condition)
38726 (syscall-list-includes): Define.
38727 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38728 list of ABIs and options and #if conditions for each ABI. Do not
38729 handle common syscalls between ABIs specially.
38730 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38732 (syscall-list-variants, syscall-list-32bit-options)
38733 (syscall-list-32bit-condition, syscall-list-64bit-options)
38734 (syscall-list-64bit-condition): Define.
38735 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
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/sparc/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.
38744 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38746 (syscall-list-variants, syscall-list-32bit-options)
38747 (syscall-list-32bit-condition, syscall-list-64bit-options)
38748 (syscall-list-64bit-condition): Define.
38750 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38752 * locale/iso-639.def: Add brx entry.
38755 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38756 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38758 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38759 __feraiseexcept_renamed.
38761 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38764 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38765 EPOLLET with unsigned values.
38766 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38769 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38770 to large cancellation.
38771 * math/s_cacoshf.c: Likewise.
38772 * math/s_cacoshl.c: Likewise.
38774 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38778 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38779 * math/s_cacoshf.c: Likewise.
38780 * math/s_cacoshl.c: Likewise.
38782 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38785 * iconv/gconv.h: Define __GCONV_SWAP.
38786 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38787 * iconvdata/utf-16.c: Likewise.
38788 * iconvdata/utf-32.c: Likewise.
38790 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38793 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38794 numerator after shifting it by one limb.
38796 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38798 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38799 under [__USE_EXTERN_INLINES].
38801 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38804 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38806 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38808 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38809 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38811 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38812 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38813 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38814 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38815 for strncasecmp/strncasecmp_l compilation.
38816 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38817 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38819 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38822 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38825 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38828 * time/tzfile.c (__tzfile_read): Check values from file header.
38830 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38832 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38833 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38834 * powerpc/powerpc32/dl-start.S: Likewise.
38835 * powerpc/powerpc32/elf/start.S: Likewise.
38836 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38837 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38838 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38839 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38840 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38841 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38842 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38843 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38844 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38845 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38846 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38847 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38848 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38849 * powerpc/powerpc32/memset.S: Likewise.
38850 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38851 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38852 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38853 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38854 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38855 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38856 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38857 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38858 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38859 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38860 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38861 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38862 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38864 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38866 * math/libm-test.inc: Added more nearbyint tests.
38867 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38868 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38870 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38872 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38874 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38877 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38879 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38880 Add wcscpy-ssse3 wcscpy-c.
38881 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38882 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38883 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38884 * sysdeps/x86_64/wcschr.S: New file.
38885 * sysdeps/x86_64/wcsrchr.S: New file.
38886 * string/test-strcmp.c: Remove checking of wcscmp function for
38888 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38889 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38890 wcsrchr-sse2 wcsrchr-c.
38891 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38892 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38893 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38894 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38895 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38896 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38897 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38898 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38899 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38900 * wcsmbc/wcschr.c (WCSCHR): New macro.
38902 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38904 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38905 * wcsmbs/test-wcsrchr.c: New file.
38906 * string/test-strrchr.c: Add wcsrchr support.
38908 * wcsmbs/test-wcscpy.c: New file.
38909 * string/test-strcpy.c: Add wcscpy support.
38912 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38914 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38917 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38920 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38922 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38924 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38925 Minor optimizations.
38927 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38928 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38929 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38931 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38933 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38934 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38935 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38936 for gcc to avoid warnings.
38937 * inet/Makefile (tests): Add tst-checks.
38938 * inet/tst-checks.c: New file.
38940 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38943 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38946 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38947 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38949 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38951 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38953 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38956 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38958 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38960 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38961 conditional on GCC version.
38962 (__arch_compare_and_exchange_val_8_acq)
38963 (__arch_compare_and_exchange_val_16_acq)
38964 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38965 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38966 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38968 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38970 * sysdeps/sh/backtrace.c: New file.
38972 2011-12-02 Andreas Schwab <schwab@redhat.com>
38974 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38977 2011-12-01 Andreas Schwab <schwab@redhat.com>
38979 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38980 falling back to utime.
38982 2011-11-30 Andreas Schwab <schwab@redhat.com>
38984 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38985 expectations for float.
38987 2011-11-29 Andreas Schwab <schwab@redhat.com>
38989 * locale/weight.h (findidx): Add parameter len.
38990 * locale/weightwc.h (findidx): Likewise.
38991 * posix/fnmatch_loop.c (FCT): Adjust caller.
38992 * posix/regcomp.c (build_equiv_class): Likewise.
38993 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38994 * posix/regexec.c (check_node_accept_bytes): Likewise.
38995 * string/strcoll_l.c (STRCOLL): Likewise.
38996 * string/strxfrm_l.c (STRXFRM): Likewise.
38998 2011-11-17 Ulrich Drepper <drepper@gmail.com>
39000 * Makefile.in: Remove CVSOPT handling.
39001 * configure.in: Remove use of AC_REVISION.
39002 * iconvdata/Makefile (distribute): No need to filter out CVS.
39003 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39006 2011-11-16 Andreas Schwab <schwab@redhat.com>
39008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39009 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39010 [USE_AS_STRNCASECMP_L]: Likewise.
39011 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39012 NO_TLS_DIRECT_SEG_REFS.
39013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39014 Fix argument offsets for non-PIC.
39015 [USE_AS_STRNCASECMP_L]: Likewise.
39016 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39017 NO_TLS_DIRECT_SEG_REFS.
39019 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39021 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39023 * locale/loadlocale.c (_nl_load_locale): Likewise.
39025 2011-11-15 Andreas Schwab <schwab@redhat.com>
39027 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39028 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39029 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39030 (SYSCALL_GETTIME): Set errno on error.
39032 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39033 count references to noai6ai_cached.
39035 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39037 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39039 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39040 FD_CLOEXEC for /proc/self/maps.
39042 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39043 FD_CLOEXEC for /proc/meminfo.
39045 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39048 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39049 FD_CLOEXEC for given file.
39051 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39053 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39054 FD_CLOEXEC for /etc/hosts.
39055 (_gethtent): Likewise.
39057 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39059 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39060 cancellation and set FD_CLOEXEC for /etc/netgroup.
39062 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39063 reading /etc/publickey.
39065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39066 allow cancellation when reading /etc/group.
39068 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39070 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39072 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39073 when using data file.
39075 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39077 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39078 (write_nis_obj): Use "c" and "e" in fopen.
39080 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39082 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39084 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39086 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39088 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39091 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39093 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39095 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39097 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39098 file parsing and set FD_CLOEXEC.
39100 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39102 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39104 2011-11-14 Andreas Schwab <schwab@redhat.com>
39106 * malloc/arena.c (arena_get2): Don't call reused_arena when
39107 _int_new_arena failed.
39109 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39111 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39112 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39113 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39114 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39115 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39116 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39117 to compile strcasecmp and strncasecmp.
39118 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39119 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39121 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39123 2011-11-13 Ulrich Drepper <drepper@gmail.com>
39125 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39126 locale-defines.sym to gen-as-const-headers.
39127 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39128 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39130 to compile strcasecmp and strncasecmp.
39131 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39132 strcasecmp_l and strncasecmp_l.
39133 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39134 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39135 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39136 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39137 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39138 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39139 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39140 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39141 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39142 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39143 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39145 2011-11-12 Ulrich Drepper <drepper@gmail.com>
39147 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39148 result of SYSDEP_GETTIME_CPU to retval.
39149 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39150 parameter list to macro. Remove trailing semicolon. Adjust users.
39152 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39155 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39157 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39159 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39160 from unused variable.
39162 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39164 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39167 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39170 * sunrpc/rpc_prot.c (rejected): Fix case value.
39172 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39173 unsigned long long int to avoid warnings in shift.
39175 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39177 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39180 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39181 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39182 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39184 * nis/nis_table.c (nis_list): Use variable of correct type for
39185 result of __follow_path call.
39187 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39189 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39190 of math functions ceil, trunc, floor, round, and sqrt, when
39191 avaliable on the platform.
39192 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39194 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39195 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39196 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39198 2011-10-30 Marek Polacek <mpolacek@redhat.com>
39200 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39201 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39203 2011-11-11 Roland McGrath <roland@hack.frob.com>
39205 * include/unistd.h: Fix __readlink return type.
39206 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39208 2011-11-11 Ulrich Drepper <drepper@gmail.com>
39210 * stdlib/ucontext.h: Undo last change for makecontext.
39212 2011-11-11 Andreas Schwab <schwab@redhat.com>
39214 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39216 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39217 * setjmp/setjmp.h: Mark functions as non-leaf.
39218 * setjmp/bits/setjmp2.h: Likewise.
39219 * stdlib/ucontext.h: Likewise.
39221 2011-11-10 Andreas Schwab <schwab@redhat.com>
39223 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39224 (reused_arena): Don't check arena limit.
39225 (arena_get2): Atomically check arena limit.
39227 2011-11-08 Ulrich Drepper <drepper@gmail.com>
39229 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39230 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39235 2011-11-07 Andreas Schwab <schwab@redhat.com>
39237 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39238 handler when locking.
39240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39241 Fix size of allocated buffer.
39243 2011-11-04 Andreas Schwab <schwab@redhat.com>
39246 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39247 declarations for long double functions.
39248 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39250 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39252 2011-11-03 Andreas Schwab <schwab@redhat.com>
39254 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39257 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39260 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39262 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39264 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39266 * include/alloca.h (stackinfo_alloca_round): Define.
39267 (extend_alloca): Use it.
39268 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39269 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39272 * scripts/check-local-headers.sh: Ignore libaudit.h.
39274 * nscd/Makefile (extra-objs): Make recursively expanded.
39276 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39278 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39279 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39281 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39282 * posix/tst-rfc3484-2.c: Likewise.
39283 * posix/tst-rfc3484-3.c: Likewise.
39285 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39287 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39289 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39290 process_vm_writev from libc using GLIBC_2.15 version.
39292 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39294 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39296 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39299 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39302 * nss/getent.c (initgroups_keys): Show error message in case no group
39305 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39306 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39307 __bump_nl_timestamp.
39308 * nscd/connections (nscd_init): When host database is served open
39309 netlink socket and request notification about configuration changes.
39310 (main_loop_poll): Track netlink file descriptor and bump timestamp
39311 in case data becomes available.
39312 (main_loop_epoll): Likewise.
39313 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39314 (database_pers_head): Add extra_data fileds.
39315 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39316 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39317 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39319 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39320 in6ai data, call __free_in6ai.
39321 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39322 Add -DHAVE_NETLINK.
39323 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39324 interface information. Reuse previous data if netlink timestamp
39326 (__bump_nl_timestamp): New function.
39327 (__free_in6ai): New function.
39329 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39331 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39332 close_not_cancel_no_status here.
39333 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39335 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39338 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39341 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39342 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39343 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39345 2011-07-03 Andreas Jaeger <aj@suse.de>
39348 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39349 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39350 * math/libm-test.inc (sin_test): Add test case.
39352 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39355 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39356 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39358 * elf/chroot_canon.c (chroot_canon): Cleanups.
39360 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39363 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39364 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39366 * string/test-strchr.c: Make usable for strchrnul testing.
39367 * string/test-strchrnul.c: New file.
39368 * string/Makefile (strop-tests): Add strchrnul.
39370 * po/it.po: Update from translation team.
39371 * po/es.po: Likewise.
39373 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39375 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39376 the three constants needed as parameters. Drop the others.
39377 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39378 __m128i_strloadu_tolower.
39379 Create and initialize variable zero and use it in all the places
39380 where _mm_setzero_si128 was used.
39382 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39383 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39384 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39385 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39387 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39388 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39389 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39390 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39391 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39392 __mpranred, __mptan.
39393 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39394 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39395 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39396 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39397 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39398 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39399 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39400 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39401 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39403 2011-10-28 Andreas Schwab <schwab@redhat.com>
39405 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39406 redefine if SHARED.
39407 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39410 wide char related routines to wcsmbs subdir.
39412 2011-10-27 Andreas Schwab <schwab@redhat.com>
39415 * misc/sys/cdefs.h (__THROWNL): Define.
39416 * posix/unistd.h: Use __THREADNL instead of __THREAD
39417 for memory synchronization functions.
39419 2011-10-26 Roland McGrath <roland@hack.frob.com>
39422 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39424 * manual/stdio.texi (Obstack Streams): Node removed.
39426 2011-10-26 Andreas Schwab <schwab@redhat.com>
39428 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39429 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39430 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39432 * math/math_private.h (math_force_eval): Allow non-addressable
39434 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39436 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39438 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39439 file is not needed.
39441 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39442 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39444 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39446 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39447 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39448 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39450 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39451 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39452 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39453 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39454 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39455 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39456 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39457 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39458 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39459 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39460 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39461 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39462 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39463 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39464 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39465 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39466 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39467 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39468 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39470 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39471 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39474 place. Use VEX encoding when compiling for AVX.
39476 2011-10-25 Andreas Schwab <schwab@redhat.com>
39478 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39479 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39481 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39483 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39485 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39486 useless if() expression.
39487 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39488 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39489 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39490 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39491 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39492 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39493 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39494 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39495 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39497 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39498 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39499 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39500 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39501 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39502 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39503 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39504 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39505 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39507 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39509 2011-10-25 Andreas Schwab <schwab@redhat.com>
39511 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39513 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39515 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39517 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39518 .text section. Avoid duplicate constants.
39519 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39523 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39527 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39528 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39529 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39530 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39531 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39532 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39533 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39534 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39535 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39536 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39537 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39539 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39540 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39541 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39542 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39543 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39544 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39545 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39546 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39547 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39548 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39549 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39550 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39551 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39552 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39553 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39554 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39555 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39556 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39557 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39558 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39559 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39561 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39562 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39563 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39565 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39567 * sysdeps/x86_64/dla.h: Move to ...
39568 * sysdeps/x86_64/fpu/dla.h: ...here.
39569 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39570 situations. Use __builtin_fma only for gcc 4.6 and up.
39572 * config.make.in: Add have-mfma4 entry.
39573 * configure.in: Substitute libc_cv_cc_fma4.
39574 * math/Makefile (dbl-only-routines): Add sincostab.
39575 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39576 Use __sincostab not sincos.
39577 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39579 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39584 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39585 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39586 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39587 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39589 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39590 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39592 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39593 define aliases when function name is a macro.
39594 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39595 sysdeps/ieee754/dbl-64/sincos.tbl.
39596 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39597 fma4-enabled routines.
39598 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39599 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39600 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39601 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39602 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39603 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39604 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39605 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39606 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39607 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39608 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39609 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39610 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39611 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39612 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39613 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39614 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39615 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39616 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39617 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39618 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39619 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39621 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39623 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39624 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39625 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39626 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39627 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39629 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39636 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39637 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39640 2011-10-24 Andreas Schwab <schwab@redhat.com>
39642 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39644 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39646 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39648 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39650 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39652 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39653 Remove unused variable magic_bits.
39654 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39656 * string/strnlen.c: Define and use STRNLEN macro.
39657 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39658 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39660 * wcsmbs/wcslen.c: Define and use WCSLEN.
39661 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39662 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39663 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39664 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39665 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39666 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39667 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39669 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39672 strnlen-sse2-no-bsf.
39673 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39674 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39675 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39676 Add strnlen support.
39677 (USE_AS_STRNLEN): New macro.
39678 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39679 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39680 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39681 * sysdeps/x86_64/wcslen.S: New file.
39683 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39685 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39686 XMM-moves are used for copying on small sizes.
39688 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39690 * wcsmbs/Makefile (strop-tests): Add wcschr.
39691 * wcsmbs/test-wcschr.c: New file.
39692 * string/test-strchr.c: Update.
39693 Add wcschr support.
39696 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39698 * wcsmbs/Makefile (strop-tests): Add wcslen.
39699 * wcsmbs/test-wcslen.c: New file.
39700 * string/test-strlen.c: Update.
39701 Add wcslen support.
39704 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39706 * po/it.po: Update from translation team.
39708 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39710 * sysdeps/x86_64/wcscmp.S: Update.
39711 Fix wrong comparison semantics.
39712 wcscmp shall use signed comparison not unsigned.
39713 Don't use substraction to avoid overflow bug.
39714 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39715 * wcsmbc/wcscmp.c: Likewise.
39716 * string/test-strcmp.c: Likewise.
39717 Add new tests to check cases with negative values.
39719 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39721 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39722 * sysdeps/x86_64/dla.h: ...here. New file.
39723 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39724 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39730 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39733 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39736 __ynl_finite aliases.
39738 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39742 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39744 [DLA_FMA] (EMULV): Use DLA_FMA.
39745 [DLA_FMA] (MUL12): Use EMULV.
39746 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39747 that are not needed.
39748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39750 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39754 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39756 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39758 * math/s_nan.c: Undef __nan.
39759 * math/s_nanf.c: Undef __nanf.
39760 * math/s_nanl.c: Undef __nanl.
39761 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39764 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39766 * math/s_catan.c: Add branch predictions.
39767 * math/s_catanf.c: Likewise.
39768 * math/s_catanh.c: Likewise.
39769 * math/s_catanhf.c: Likewise.
39770 * math/s_catanhl.c: Likewise.
39771 * math/s_catanl.c: Likewise.
39772 * math/s_cexp.c: Likewise.
39773 * math/s_cexpf.c: Likewise.
39774 * math/s_cexpl.c: Likewise.
39775 * math/s_clog.c: Likewise.
39776 * math/s_clog10.c: Likewise.
39777 * math/s_clog10f.c: Likewise.
39778 * math/s_clog10l.c: Likewise.
39779 * math/s_clogf.c: Likewise.
39780 * math/s_clogl.c: Likewise.
39781 * math/s_csqrt.c: Likewise.
39782 * math/s_csqrtf.c: Likewise.
39783 * math/s_csqrtl.c: Likewise.
39784 * math/s_ctanf.c: Likewise.
39785 * math/s_ctanh.c: Likewise.
39786 * math/s_ctanhf.c: Likewise.
39787 * math/s_ctanhl.c: Likewise.
39788 * math/s_ctanl.c: Likewise.
39790 * math/math_private.h: Define __nan, __nanf, __nanl.
39791 * math/s_cacosh.c: Include <math_private.h>.
39792 * math/s_cacoshl.c: Likewise.
39793 * math/s_casinh.c: Likewise.
39794 * math/s_casinhf.c: Likewise.
39795 * math/s_casinhl.c: Likewise.
39796 * math/s_ccos.c: Rely entire on ccosh.
39797 * math/s_ccosf.c: Rely entire on ccoshf.
39798 * math/s_ccosl.c: Rely entirely on ccoshl.
39799 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39800 Remove tests for FE_INVALID.
39801 * math/s_ccoshf.c: Likewise.
39802 * math/s_ccoshl.c: Likewise.
39803 * math/s_csin.c: Likewise.
39804 * math/s_csinf.c: Likewise.
39805 * math/s_csinh.c Likewise.
39806 * math/s_csinhf.c: Likewise.
39807 * math/s_csinhl.c: Likewise.
39808 * math/s_csinl.c: Likewise.
39809 * math/s_ctan.c: Likewise.
39810 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39811 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39812 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39814 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39817 compilation problems.
39819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39822 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39824 * sysdeps/i386/configure.in: Test for -mfma4 option.
39825 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39826 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39827 COMMON_CPUID_INDEX_80000001.
39828 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39829 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39830 use it if FMA3 is not supported.
39831 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39833 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39834 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39836 2011-10-20 Andreas Schwab <schwab@redhat.com>
39839 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39840 it would create a cycle with a link time dependency.
39842 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39844 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39846 * string/Makefile (strop-tests): Add rawmemchr.
39847 * string/test-rawmemchr.c: New file.
39849 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39850 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39851 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39852 when compiling str{,n}casecmp and when AVX is available. Hook up
39853 new optimized code in initializers.
39855 2011-10-19 Andreas Schwab <schwab@redhat.com>
39857 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39858 __feraiseexcept instead of feraiseexcept.
39860 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39862 * math/math_private.h: Define defaults for libc_fetestexcept and
39864 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39865 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39866 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39867 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39868 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39869 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39870 libc_fetestexcept and libc_feupdateenv.
39872 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39873 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39874 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39875 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39876 libc_feholdexcept_setround.
39878 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39879 Add s_nearbyint-c and s_nearbyintf-c.
39880 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39881 nearbyintf inlines.
39882 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39883 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39884 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39885 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39887 * math/math_private.h: Define defaults for libc_fegetround,
39888 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39889 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39890 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39891 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39892 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39893 standard functions.
39894 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39895 Remove comments and hacks for old compiler versions.
39896 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39897 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39898 libc_feholdexceptl.
39900 2011-10-18 Andreas Schwab <schwab@redhat.com>
39902 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39903 (__feraiseexcept_renamed): Add __NTH.
39904 (feraiseexcept): Add __NTH. Rename local variables to fix
39905 namespace violations.
39907 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39909 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39911 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39913 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39914 recently added interfaces.
39915 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39917 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39918 about macro parameter expansion.
39920 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39921 __NO_MATH_INLINES is defined. Cleanups.
39923 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39924 and __floorf is target has SSE4.1.
39925 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39926 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39927 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39928 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39930 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39932 (floorf): Likewise.
39934 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39936 2011-10-17 Andreas Schwab <schwab@redhat.com>
39938 * misc/sys/cdefs.h: Fix last change.
39940 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39943 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39945 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39947 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39948 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39949 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39950 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39951 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39952 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39953 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39954 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39955 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39956 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39957 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39958 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39959 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39960 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39961 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39962 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39963 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39964 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39965 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39966 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39967 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39968 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39970 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39971 ceil, ceilf, floor, floorf.
39973 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39974 Perform IRELATIVE relocations last.
39976 * elf/do-rel.h: Add another parameter nrelative, replacing the
39977 local variable with the same name. Change name of the function
39978 to end in Rel or Rela (uppercase).
39979 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39980 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39981 elf_dynamic_do_##reloc function.
39983 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39985 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39986 is sufficient, at least on modern CPUs.
39988 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39990 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39991 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39993 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39995 * math/bits/math-finite.h: Add entries for exp.
39996 * math/e_expl.c: Add __*_finite alias.
39997 * sysdeps/i386/fpu/e_exp.S: Likewise.
39998 * sysdeps/i386/fpu/e_expf.S: Likewise.
39999 * sysdeps/i386/fpu/e_expl.c: Likewise.
40000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40001 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40002 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40003 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40004 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40005 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40006 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40008 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40009 is sufficient, at least on modern CPUs.
40011 * ctype/ctype-info.c (__ctype_init): Define.
40012 * include/ctype.h (__ctype_init): Declare.
40013 (__ctype_b_loc): The variable is always initialized.
40014 (__ctype_toupper_loc): Likewise.
40015 (__ctype_tolower_loc): Likewise.
40016 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40017 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40019 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40021 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40023 * configure.in: Also look in $cxxmachine/include for C++ system
40026 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40028 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40029 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40030 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40031 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40032 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40033 (USE_AS_WMEMCMP): New macro.
40035 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40036 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40037 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40038 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40040 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40041 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40042 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40043 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40044 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40045 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40046 (USE_AS_WMEMCMP): New macro.
40047 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40048 * sysdeps/string/test-memcmp.c: Update.
40049 Fix simple_wmemcmp.
40051 * wcsmbs/wmemcmp.c: Update.
40052 (WMEMCMP): New macro.
40055 2011-10-12 Andreas Jaeger <aj@suse.de>
40058 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40060 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40062 * libio/iofwide.c (do_length): Avoid warning.
40064 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40066 2011-10-14 Ulrich Drepper <drepper@gmail.com>
40068 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40070 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40071 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40072 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40073 * sysdeps/i386/i686/fpu/e_log.S: New file.
40074 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40075 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40077 * ctype/ctype.h: Add support for inlined isXXX functions when
40078 compiling C++ code.
40080 2011-10-14 Andreas Schwab <schwab@redhat.com>
40082 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40084 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40086 2011-10-13 Roland McGrath <roland@hack.frob.com>
40089 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40091 2011-10-13 Andreas Schwab <schwab@redhat.com>
40093 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40094 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40097 * sysdeps/x86_64/memrchr.S: Check for zero size.
40099 * string/stratcliff.c: Add memrchr tests.
40101 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40104 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40105 rawmemchr-sse2 rawmemchr-sse2-bsf.
40106 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40107 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40108 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40109 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40110 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40111 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40112 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40113 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40114 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40115 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40116 * string/memrchr.c (MEMRCHR): New macro.
40118 2011-10-12 Ulrich Drepper <drepper@gmail.com>
40120 Add integration with gcc's -ffinite-math-only and optimize wrapper
40122 * Versions.def: Define GLIBC_2.15 version for libm.
40123 * math/Makefile (headers): Add bits/math-finite.h.
40124 * math/bits/math-finite.h: New file.
40125 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40126 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40127 * math/e_acoshl.c: Add __*_finite alias.
40128 * math/e_acosl.c: Likewise.
40129 * math/e_asinl.c: Likewise.
40130 * math/e_atan2l.c: Likewise.
40131 * math/e_atanhl.c: Likewise.
40132 * math/e_coshl.c: Likewise.
40133 * math/e_exp10.c: Likewise.
40134 * math/e_exp10f.c: Likewise.
40135 * math/e_exp10l.c: Likewise.
40136 * math/e_exp2l.c: Likewise.
40137 * math/e_fmodl.c: Likewise.
40138 * math/e_gammal_r.c: Likewise.
40139 * math/e_hypotl.c: Likewise.
40140 * math/e_j0l.c: Likewise.
40141 * math/e_j1l.c: Likewise.
40142 * math/e_jnl.c: Likewise.
40143 * math/e_lgammal_r.c: Likewise.
40144 * math/e_log10l.c: Likewise.
40145 * math/e_log2l.c: Likewise.
40146 * math/e_logl.c: Likewise.
40147 * math/e_powl.c: Likewise.
40148 * math/e_sinhl.c: Likewise.
40149 * math/e_sqrtl.c: Likewise.
40150 * math/e_scalb.c: Completely rewritten and optimized.
40151 * math/e_scalbf.c: Likewise.
40152 * math/e_scalbl.c: Likewise.
40153 * math/w_acos.c: Likewise.
40154 * math/w_acosf.c: Likewise.
40155 * math/w_acosl.c: Likewise.
40156 * math/w_acosh.c: Likewise.
40157 * math/w_acoshf.c: Likewise.
40158 * math/w_acoshl.c: Likewise.
40159 * math/w_asin.c: Likewise.
40160 * math/w_asinf.c: Likewise.
40161 * math/w_asinl.c: Likewise.
40162 * math/w_atan2.c: Likewise.
40163 * math/w_atan2f.c: Likewise.
40164 * math/w_atan2l.c: Likewise.
40165 * math/w_atanh.c: Likewise.
40166 * math/w_atanhf.c: Likewise.
40167 * math/w_atanhl.c: Likewise.
40168 * math/w_exp10.c: Likewise.
40169 * math/w_exp10f.c: Likewise.
40170 * math/w_exp10l.c: Likewise.
40171 * math/w_fmod.c: Likewise.
40172 * math/w_fmodf.c: Likewise.
40173 * math/w_fmodl.c: Likewise.
40174 * math/w_j0.c: Likewise.
40175 * math/w_j0f.c: Likewise.
40176 * math/w_j0l.c: Likewise.
40177 * math/w_j1.c: Likewise.
40178 * math/w_j1f.c: Likewise.
40179 * math/w_j1l.c: Likewise.
40180 * math/w_jn.c: Likewise.
40181 * math/w_jnf.c: Likewise.
40182 * math/w_log.c: Likewise.
40183 * math/w_logf.c: Likewise.
40184 * math/w_logl.c: Likewise.
40185 * math/w_log10.c: Likewise.
40186 * math/w_log10f.c: Likewise.
40187 * math/w_log10l.c: Likewise.
40188 * math/w_log2.c: Likewise.
40189 * math/w_log2f.c: Likewise.
40190 * math/w_log2l.c: Likewise.
40191 * math/w_pow.c: Likewise.
40192 * math/w_powf.c: Likewise.
40193 * math/w_powl.c: Likewise.
40194 * math/w_remainder.c: Likewise.
40195 * math/w_remainderf.c: Likewise.
40196 * math/w_remainderl.c: Likewise.
40197 * math/w_scalb.c: Likewise.
40198 * math/w_scalbf.c: Likewise.
40199 * math/w_scalbl.c: Likewise.
40200 * math/w_sqrt.c: Likewise.
40201 * math/w_sqrtf.c: Likewise.
40202 * math/w_sqrtl.c: Likewise.
40203 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40204 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40206 * math/math_private.h: Declare __kernel_standard_f.
40207 * math/w_cosh.c: Remove cruft and optimize a bit.
40208 * math/w_coshf.c: Likewise.
40209 * math/w_coshl.c: Likewise.
40210 * math/w_exp2.c: Likewise.
40211 * math/w_exp2f.c: Likewise.
40212 * math/w_exp2l.c: Likewise.
40213 * math/w_hypot.c: Likewise.
40214 * math/w_hypotf.c: Likewise.
40215 * math/w_hypotl.c: Likewise.
40216 * math/w_lgamma.c: Likewise.
40217 * math/w_lgamma_r.c: Likewise.
40218 * math/w_lgammaf.c: Likewise.
40219 * math/w_lgammaf_r.c: Likewise.
40220 * math/w_lgammal.c: Likewise.
40221 * math/w_lgammal_r.c: Likewise.
40222 * math/w_sinh.c: Likewise.
40223 * math/w_sinhf.c: Likewise.
40224 * math/w_sinhl.c: Likewise.
40225 * math/w_tgamma.c: Likewise.
40226 * math/w_tgammaf.c: Likewise.
40227 * math/w_tgammal.c: Likewise.
40228 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40229 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40230 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40231 Minor optimizations. Pretty printing. Remove cruft.
40232 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40233 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40234 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40235 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40236 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40237 * sysdeps/i386/fpu/e_asin.S: Likewise.
40238 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40239 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40240 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40241 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40242 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40243 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40244 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40245 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40246 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40247 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40248 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40249 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40250 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40251 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40252 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40253 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40254 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40255 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40256 * sysdeps/i386/fpu/e_log.S: Likewise.
40257 * sysdeps/i386/fpu/e_log10.S: Likewise.
40258 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40259 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40260 * sysdeps/i386/fpu/e_log2.S: Likewise.
40261 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40262 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40263 * sysdeps/i386/fpu/e_logf.S: Likewise.
40264 * sysdeps/i386/fpu/e_logl.S: Likewise.
40265 * sysdeps/i386/fpu/e_pow.S: Likewise.
40266 * sysdeps/i386/fpu/e_powf.S: Likewise.
40267 * sysdeps/i386/fpu/e_powl.S: Likewise.
40268 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40269 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40270 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40271 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40272 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40273 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40274 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40275 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40276 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40277 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40278 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40280 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40281 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40282 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40283 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40284 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40285 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40286 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40287 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40288 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40290 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40291 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40293 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40294 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40295 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40297 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40298 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40299 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40300 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40301 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40302 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40303 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40304 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40305 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40306 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40307 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40308 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40309 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40310 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40311 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40312 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40313 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40314 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40315 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40316 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40317 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40318 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40319 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40322 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40323 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40324 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40325 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40327 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40328 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40329 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40330 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40332 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40333 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40334 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40335 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40336 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40337 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40338 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40339 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40341 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40342 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40343 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40344 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40345 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40346 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40347 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40348 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40349 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40350 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40351 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40352 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40353 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40354 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40355 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40356 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40357 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40358 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40359 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40360 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40361 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40362 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40363 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40364 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40365 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40366 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40367 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40368 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40369 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40370 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40371 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40372 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40373 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40374 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40375 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40376 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40377 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40378 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40379 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40380 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40381 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40382 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40383 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40384 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40385 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40386 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40387 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40388 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40389 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40390 (__isnanf): Likewise.
40391 (__isinf_ns): Likewise.
40392 (__isinf_nsf): Likewise.
40393 (__finite): Likewise.
40394 (__finitef): Likewise.
40395 (__ieee754_sqrt): Define as macro.
40396 (__ieee754_sqrtf): Define as macro.
40397 (__ieee754_sqrtl): Define as macro.
40398 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40400 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40401 __FINITE_MATH_ONLY__ consistent.
40402 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40404 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40406 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40409 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40411 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40413 * po/ja.po: Update from translation team.
40415 2011-10-08 Roland McGrath <roland@hack.frob.com>
40417 * locale/programs/locarchive.c (prepare_address_space): New function.
40418 (create_archive, enlarge_archive, open_archive): Use it.
40420 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40421 inside [SHARED], where it is used.
40423 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40425 * nss/getent.c (netgroup_keys): Remove unused variable.
40426 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40428 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40430 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40431 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40433 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40434 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40435 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40436 * math/Makefile (libm-calls): Add s_isinf_ns.
40437 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40438 * math/multc3.c: Likewise.
40439 * math/s_casin.c: Likewise.
40440 * math/s_casinf.c: Likewise.
40441 * math/s_casinl.c: Likewise.
40442 * math/s_ccos.c: Likewise.
40443 * math/s_ccosf.c: Likewise.
40444 * math/s_ccosl.c: Likewise.
40445 * math/s_ctan.c: Likewise.
40446 * math/s_ctanf.c: Likewise.
40447 * math/s_ctanh.c: Likewise.
40448 * math/s_ctanhf.c: Likewise.
40449 * math/s_ctanhl.c: Likewise.
40450 * math/s_ctanl.c: Likewise.
40451 * math/w_fmod.c: Likewise.
40452 * math/w_fmodf.c: Likewise.
40453 * math/w_fmodl.c: Likewise.
40454 * math/w_remainder.c: Likewise.
40455 * math/w_remainderf.c: Likewise.
40456 * math/w_remainderl.c: Likewise.
40457 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40458 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40459 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40461 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40462 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40463 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40464 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40466 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40468 * stdio-common/printf_fphex.c: Likewise.
40469 * stdio-common/printf_size.c: Likewise.
40471 * math/e_exp10.c: Include math_private.h using <...> not "...".
40472 * math/e_exp10f.c: Likewise.
40473 * math/e_exp10l.c: Likewise.
40474 * math/e_exp2l.c: Likewise.
40475 * math/e_j0l.c: Likewise.
40476 * math/e_j1l.c: Likewise.
40477 * math/e_jnl.c: Likewise.
40478 * math/e_lgammal_r.c: Likewise.
40479 * math/e_rem_pio2l.c: Likewise.
40480 * math/e_scalb.c: Likewise.
40481 * math/e_scalbf.c: Likewise.
40482 * math/e_scalbl.c: Likewise.
40483 * math/k_cosl.c: Likewise.
40484 * math/k_sinl.c: Likewise.
40485 * math/k_tanl.c: Likewise.
40486 * math/s_cacoshf.c: Likewise.
40487 * math/s_catan.c: Likewise.
40488 * math/s_catanf.c: Likewise.
40489 * math/s_catanh.c: Likewise.
40490 * math/s_catanhf.c: Likewise.
40491 * math/s_catanhl.c: Likewise.
40492 * math/s_catanl.c: Likewise.
40493 * math/s_ccosh.c: Likewise.
40494 * math/s_ccoshf.c: Likewise.
40495 * math/s_ccoshl.c: Likewise.
40496 * math/s_cexp.c: Likewise.
40497 * math/s_cexpf.c: Likewise.
40498 * math/s_cexpl.c: Likewise.
40499 * math/s_clog.c: Likewise.
40500 * math/s_clog10.c: Likewise.
40501 * math/s_clog10f.c: Likewise.
40502 * math/s_clog10l.c: Likewise.
40503 * math/s_clogf.c: Likewise.
40504 * math/s_clogl.c: Likewise.
40505 * math/s_csin.c: Likewise.
40506 * math/s_csinf.c: Likewise.
40507 * math/s_csinh.c: Likewise.
40508 * math/s_csinhf.c: Likewise.
40509 * math/s_csinhl.c: Likewise.
40510 * math/s_csinl.c: Likewise.
40511 * math/s_csqrt.c: Likewise.
40512 * math/s_csqrtf.c: Likewise.
40513 * math/s_csqrtl.c: Likewise.
40514 * math/s_ctan.c: Likewise.
40515 * math/s_ctanf.c: Likewise.
40516 * math/s_ctanh.c: Likewise.
40517 * math/s_ctanhf.c: Likewise.
40518 * math/s_ctanhl.c: Likewise.
40519 * math/s_ctanl.c: Likewise.
40520 * math/s_ldexp.c: Likewise.
40521 * math/s_ldexpf.c: Likewise.
40522 * math/s_ldexpl.c: Likewise.
40523 * math/s_significand.c: Likewise.
40524 * math/s_significandf.c: Likewise.
40525 * math/s_significandl.c: Likewise.
40526 * math/w_acos.c: Likewise.
40527 * math/w_acosf.c: Likewise.
40528 * math/w_acosh.c: Likewise.
40529 * math/w_acoshf.c: Likewise.
40530 * math/w_acoshl.c: Likewise.
40531 * math/w_acosl.c: Likewise.
40532 * math/w_asin.c: Likewise.
40533 * math/w_asinf.c: Likewise.
40534 * math/w_asinl.c: Likewise.
40535 * math/w_atan2.c: Likewise.
40536 * math/w_atan2f.c: Likewise.
40537 * math/w_atan2l.c: Likewise.
40538 * math/w_atanh.c: Likewise.
40539 * math/w_atanhf.c: Likewise.
40540 * math/w_atanhl.c: Likewise.
40541 * math/w_cosh.c: Likewise.
40542 * math/w_coshf.c: Likewise.
40543 * math/w_coshl.c: Likewise.
40544 * math/w_dremf.c: Likewise.
40545 * math/w_exp10.c: Likewise.
40546 * math/w_exp10f.c: Likewise.
40547 * math/w_exp10l.c: Likewise.
40548 * math/w_exp2.c: Likewise.
40549 * math/w_exp2f.c: Likewise.
40550 * math/w_fmod.c: Likewise.
40551 * math/w_fmodf.c: Likewise.
40552 * math/w_fmodl.c: Likewise.
40553 * math/w_hypot.c: Likewise.
40554 * math/w_hypotf.c: Likewise.
40555 * math/w_hypotl.c: Likewise.
40556 * math/w_j0.c: Likewise.
40557 * math/w_j0f.c: Likewise.
40558 * math/w_j0l.c: Likewise.
40559 * math/w_j1.c: Likewise.
40560 * math/w_j1f.c: Likewise.
40561 * math/w_j1l.c: Likewise.
40562 * math/w_jn.c: Likewise.
40563 * math/w_jnf.c: Likewise.
40564 * math/w_jnl.c: Likewise.
40565 * math/w_lgamma.c: Likewise.
40566 * math/w_lgamma_r.c: Likewise.
40567 * math/w_lgammaf.c: Likewise.
40568 * math/w_lgammaf_r.c: Likewise.
40569 * math/w_lgammal.c: Likewise.
40570 * math/w_lgammal_r.c: Likewise.
40571 * math/w_log.c: Likewise.
40572 * math/w_log10.c: Likewise.
40573 * math/w_log10f.c: Likewise.
40574 * math/w_log10l.c: Likewise.
40575 * math/w_log2.c: Likewise.
40576 * math/w_log2f.c: Likewise.
40577 * math/w_log2l.c: Likewise.
40578 * math/w_logf.c: Likewise.
40579 * math/w_logl.c: Likewise.
40580 * math/w_pow.c: Likewise.
40581 * math/w_powf.c: Likewise.
40582 * math/w_powl.c: Likewise.
40583 * math/w_remainder.c: Likewise.
40584 * math/w_remainderf.c: Likewise.
40585 * math/w_remainderl.c: Likewise.
40586 * math/w_scalb.c: Likewise.
40587 * math/w_scalbf.c: Likewise.
40588 * math/w_scalbl.c: Likewise.
40589 * math/w_sinh.c: Likewise.
40590 * math/w_sinhf.c: Likewise.
40591 * math/w_sinhl.c: Likewise.
40592 * math/w_sqrt.c: Likewise.
40593 * math/w_sqrtf.c: Likewise.
40594 * math/w_sqrtl.c: Likewise.
40595 * math/w_tgamma.c: Likewise.
40596 * math/w_tgammaf.c: Likewise.
40597 * math/w_tgammal.c: Likewise.
40599 * po/ja.po: Update from translation team.
40601 2011-09-29 Andreas Jaeger <aj@suse.de>
40604 * sunrpc/netname.c (netname2host): Fix logic.
40608 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40610 * math/w_remainder.c (__remainder): Likewise.
40611 * math/w_remainderf.c (__remainderf): Likewise.
40612 * math/libm-test.inc (remainder_test): Add test cases.
40614 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40616 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40619 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40621 * string/test-memcmp.c: Avoid unncessary #defines.
40622 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40624 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40626 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40627 Use new sse2 version for core i3 - i7 as it's faster
40628 than sse42 version.
40629 (bit_Prefer_PMINUB_for_stringop): New.
40630 * sysdeps/x86_64/rawmemchr.S: Update.
40631 Replace with faster SSE2 version.
40632 * sysdeps/x86_64/memrchr.S: New file.
40633 * sysdeps/x86_64/memchr.S: Update.
40634 Replace with faster SSE2 version.
40636 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40638 * elf/dl-load.c (lose): Add cast to avoid warning.
40640 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40642 * po/ca.po: Update from translation team.
40644 * inet/getnetgrent_r.c: Hook up nscd.
40645 * nscd/Makefile (routines): Add nscd_netgroup.
40646 (nscd-modules): Add netgroupcache.
40647 (CFLAGS-netgroupcache.c): Define.
40648 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40649 (cache_search): Add const to second parameter.
40650 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40652 (dbs): Add netgrdb entry.
40653 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40654 (verify_persistent_db): Handle netgrdb.
40655 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40656 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40658 (netgroup_response_header): Define.
40659 (innetgroup_response_header): Define.
40660 (datahead): Add netgroup_response_header and innetgroup_response_header
40662 * nscd/nscd.conf: Add entries for netgroup cache.
40663 * nscd/nscd.h (dbtype): Add netgrdb.
40664 (_PATH_NSCD_NETGROUP_DB): Define.
40665 (netgroup_iov_disabled): Declare.
40666 (xmalloc, xcalloc, xrealloc): Move declarations here.
40667 (cache_search): Adjust prototype.
40668 Add netgroup-related prototypes.
40669 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40670 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40671 (__nscd_innetgr): Declare.
40672 * nscd/selinux.c (perms): Use access_vector_t as element type and
40673 add netgroup-related initializers.
40674 * nscd/netgroupcache.c: New file.
40675 * nscd/nscd_netgroup.c: New file.
40676 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40677 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40678 For four parameters use innetgr.
40679 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40680 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40681 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40682 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40684 * nscd/connections.c (register_traced_file): Don't register file
40685 for disabled databases.
40687 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40689 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40691 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40692 from tree and freeing node.
40694 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40696 * nss/nsswitch.c (__nss_database_lookup): Handle
40697 nss_parse_service_list out of memory case.
40699 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40701 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40702 out of memory case.
40704 2011-10-04 Andreas Schwab <schwab@redhat.com>
40706 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40707 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40709 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40710 elf_machine_rela, elf_machine_lazy_rel.
40711 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40712 (ELF_DYNAMIC_DO_REL): Likewise.
40713 (ELF_DYNAMIC_DO_RELA): Likewise.
40714 (ELF_DYNAMIC_RELOCATE): Likewise.
40715 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40716 to ELF_DYNAMIC_DO_REL.
40717 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40718 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40719 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40721 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40722 skip_ifunc, don't call ifunc function if non-zero.
40723 (elf_machine_rela): Likewise.
40724 (elf_machine_lazy_rel): Likewise.
40725 (elf_machine_lazy_rela): Likewise.
40726 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40727 (elf_machine_lazy_rel): Likewise.
40728 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40730 (elf_machine_lazy_rel): Likewise.
40731 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40733 (elf_machine_lazy_rel): Likewise.
40734 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40735 (elf_machine_lazy_rel): Likewise.
40736 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40737 (elf_machine_lazy_rel): Likewise.
40738 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40739 (elf_machine_lazy_rel): Likewise.
40740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40741 (elf_machine_lazy_rel): Likewise.
40742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40743 (elf_machine_lazy_rel): Likewise.
40744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40745 (elf_machine_lazy_rel): Likewise.
40747 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40749 * nss/nss_files/files-init.c (_nss_files_init): Use static
40750 initialization for all the *_traced_file variables.
40752 2011-09-28 Andreas Schwab <schwab@redhat.com>
40754 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40756 2011-09-27 Roland McGrath <roland@hack.frob.com>
40759 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40761 2011-09-27 Andreas Schwab <schwab@redhat.com>
40763 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40764 Reread the line before reparsing it.
40766 2011-09-26 Andreas Schwab <schwab@redhat.com>
40768 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40770 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40771 Maxim Kuvyrkov <maxim@codesourcery.com>
40772 Joseph Myers <joseph@codesourcery.com>
40774 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40775 if needed for __stack_chk_guard.
40777 2011-09-19 Roland McGrath <roland@hack.frob.com>
40779 * sysdeps/posix/spawni.c (script_execute): Always define it.
40780 It will be optimized away if unused.
40781 (maybe_script_execute): New function.
40782 (__spawni): Call it.
40784 * Makerules: Don't include tls.make.
40785 (config-tls): Always set to thread.
40786 * tls.make.c: File removed.
40788 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40790 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40791 * config.make.in (CPPFLAGS-config): New substituted variable.
40793 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40795 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40798 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40799 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40801 2011-09-15 Roland McGrath <roland@hack.frob.com>
40803 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40804 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40806 (CALL_FAIL): Likewise.
40807 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40808 (CALL_FAIL): Macro removed.
40809 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40811 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40813 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40814 for __FINITE_MATH_ONLY__ == 1.
40816 2011-09-15 Andreas Schwab <schwab@redhat.com>
40818 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40819 __ieee754_sqrt instead of sqrt.
40820 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40821 __ieee754_sqrtf instead of sqrtf.
40822 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40823 __floorf instead of floorf.
40824 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40825 __floorf, __truncf instead of floorf, truncf.
40827 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40829 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40831 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40832 __extern_always_inline.
40833 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40836 2011-09-14 Andreas Schwab <schwab@redhat.com>
40838 * elf/rtld.c (dl_main): Also relocate in dependency order when
40839 doing symbol dependency testing.
40841 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40844 Always define `refsym'.
40846 2011-09-13 Andreas Schwab <schwab@redhat.com>
40848 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40849 (__FD_ELT): Renamed from __FDELT.
40850 * misc/bits/select2.h (__FD_ELT): Likewise.
40851 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40852 __FD_MASK instead of __FDELT, __FDMASK.
40853 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40855 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40858 * elf/Makefile (gen-ldd): Fix pattern.
40860 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40861 (init_tls): Likewise.
40863 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40865 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40867 2011-09-12 Andreas Schwab <schwab@redhat.com>
40869 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40870 `struct cmsghdr *' instead of `void *'.
40871 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40874 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40876 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40878 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40879 ldd_rewrite_script.
40881 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40883 * configure.in: Remove --with-tls option.
40884 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40885 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40886 out in case it is missing.
40887 * sysdeps/ia64/elf/configure.in: Likewise.
40888 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40889 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40890 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40891 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40892 * sysdeps/sh/elf/configure.in: Likewise.
40893 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40894 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40895 * sysdeps/x86_64/elf/configure.in: Likewise.
40896 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40897 * sysdeps/mach/hurd/tls.h: Likewise.
40900 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40903 * configure.in: Fix use of AC_INIT.
40905 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40907 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40909 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40911 * malloc/hooks.c: Likewise.
40914 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40915 variables statically.
40916 (narenas): Initialize.
40917 (list_lock): Initialize.
40918 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40919 initializtion of main_arena and list_lock. Small cleanups.
40920 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40921 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40922 Add initializers to main_arena and mp_.
40923 (malloc_state): Remove pagesize member. Change all users to use
40926 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40927 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40928 is always initialized.
40930 * malloc/malloc.c: Removed unused configurations and dead code.
40931 * malloc/arena.c: Likewise.
40932 * malloc/hooks.c: Likewise.
40933 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40935 * include/tls.h: Removed. USE___THREAD must always be defined.
40936 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40937 * elf/dl-libc.c: Likewise.
40938 * elf/dl-tsd.c: Likewise.
40939 * include/errno.h: Likewise.
40940 * include/netdb.h: Likewise.
40941 * include/resolv.h: Likewise.
40942 * inet/herrno-loc.c: Likewise.
40943 * inet/herrno.c: Likewise.
40944 * malloc/arena.c: Likewise.
40945 * malloc/hooks.c: Likewise.
40946 * malloc/malloc.c: Likewise.
40947 * resolv/res-state.c: Likewise.
40948 * resolv/res_libc.c: Likewise.
40949 * sysdeps/i386/dl-machine.h: Likewise.
40950 * sysdeps/ia64/dl-machine.h: Likewise.
40951 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40952 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40953 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40954 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40955 * sysdeps/sh/dl-machine.h: Likewise.
40956 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40957 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40958 * sysdeps/unix/i386/sysdep.S: Likewise.
40959 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40960 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40963 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40964 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40965 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40967 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40969 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40970 * sysdeps/x86_64/dl-machine.h: Likewise.
40971 * tls.make.c: Likewise.
40973 * configure.in: Remove --with-__thread option. Make tests for
40974 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40975 tls_model attribute fail if no support is available. Remove
40977 * Makeconfig: Adjust for dropped configure option. All features are
40979 * Makerules: Likewise.
40980 * Versions.def: Likewise.
40981 * argp/argp-fmtstream.c: Likewise.
40982 * argp/argp-fmtstream.h: Likewise.
40983 * argp/argp-help.c: Likewise.
40984 * assert/assert.c: Likewise.
40985 * config.h.in: Likewise.
40986 * config.make.in: Likewise.
40987 * configure: Likewise.
40988 * configure.in: Likewise.
40989 * csu/Versions: Likewise.
40990 * csu/init.c: Likewise.
40991 * elf/tst-audit2.c: Likewise.
40992 * elf/tst-tls10.c: Likewise.
40993 * elf/tst-tls10.h: Likewise.
40994 * elf/tst-tls11.c: Likewise.
40995 * elf/tst-tls12.c: Likewise.
40996 * elf/tst-tls14.c: Likewise.
40997 * elf/tst-tlsmod11.c: Likewise.
40998 * elf/tst-tlsmod12.c: Likewise.
40999 * elf/tst-tlsmod13.c: Likewise.
41000 * elf/tst-tlsmod13a.c: Likewise.
41001 * elf/tst-tlsmod14a.c: Likewise.
41002 * elf/tst-tlsmod15b.c: Likewise.
41003 * elf/tst-tlsmod16a.c: Likewise.
41004 * elf/tst-tlsmod16b.c: Likewise.
41005 * elf/tst-tlsmod7.c: Likewise.
41006 * elf/tst-tlsmod8.c: Likewise.
41007 * elf/tst-tlsmod9.c: Likewise.
41008 * gmon/gmon.c: Likewise.
41009 * grp/fgetgrent_r.c: Likewise.
41010 * grp/putgrent.c: Likewise.
41011 * hurd/fopenport.c: Likewise.
41012 * include/libc-symbols.h: Likewise.
41013 * include/tls.h: Likewise.
41014 * intl/gettextP.h: Likewise.
41015 * intl/loadinfo.h: Likewise.
41016 * locale/global-locale.c: Likewise.
41017 * locale/localeinfo.h: Likewise.
41018 * mach/devstream.c: Likewise.
41019 * malloc/arena.c: Likewise.
41020 * malloc/set-freeres.c: Likewise.
41021 * misc/err.c: Likewise.
41022 * misc/getttyent.c: Likewise.
41023 * misc/mntent_r.c: Likewise.
41024 * posix/getopt.c: Likewise.
41025 * posix/wordexp.c: Likewise.
41026 * pwd/fgetpwent_r.c: Likewise.
41027 * resolv/Versions: Likewise.
41028 * resolv/res_hconf.c: Likewise.
41029 * shadow/fgetspent_r.c: Likewise.
41030 * shadow/putspent.c: Likewise.
41031 * stdio-common/printf_fphex.c: Likewise.
41032 * stdio-common/tmpfile.c: Likewise.
41033 * stdlib/abort.c: Likewise.
41034 * stdlib/fmtmsg.c: Likewise.
41035 * sunrpc/auth_unix.c: Likewise.
41036 * sunrpc/clnt_perr.c: Likewise.
41037 * sunrpc/clnt_tcp.c: Likewise.
41038 * sunrpc/clnt_udp.c: Likewise.
41039 * sunrpc/clnt_unix.c: Likewise.
41040 * sunrpc/openchild.c: Likewise.
41041 * sunrpc/svc_simple.c: Likewise.
41042 * sunrpc/svc_tcp.c: Likewise.
41043 * sunrpc/svc_udp.c: Likewise.
41044 * sunrpc/svc_unix.c: Likewise.
41045 * sunrpc/xdr.c: Likewise.
41046 * sunrpc/xdr_array.c: Likewise.
41047 * sunrpc/xdr_rec.c: Likewise.
41048 * sunrpc/xdr_ref.c: Likewise.
41049 * sunrpc/xdr_stdio.c: Likewise.
41051 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41053 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41055 2011-07-03 Andreas Jaeger <aj@suse.de>
41057 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41058 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41059 regenerate with gen-libm-tests.pl.
41061 2010-05-12 Petr Baudis <pasky@suse.cz>
41064 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41065 around j0() zero points by switching to j1().
41066 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41067 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41069 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41071 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41073 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41075 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41078 Patch in part by Pavel Roskin <proski@gnu.org>.
41081 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41083 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41084 Free memory block if necessary.
41087 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41088 be NULL. Don't lock in this case.
41090 2011-09-09 Roland McGrath <roland@hack.frob.com>
41092 * elf/elf.h (ELFOSABI_GNU): New macro.
41093 (ELFOSABI_LINUX): Define to that.
41095 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41097 * string/strncat.c (strncat): Undef the symbol in case it has been
41098 defined in bits/string.h.
41100 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41102 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41104 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41107 2011-08-17 Andreas Jaeger <aj@suse.de>
41109 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41111 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41112 Ian Lance Taylor <iant@google.com>
41114 * math/libm-test.inc (lround_test): New testcase.
41115 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41117 2011-09-08 Ulrich Drepper <drepper@gmail.com>
41119 * Makefile: Remove support for automatic cvs check-ins.
41120 * Makerules: Likewise.
41121 * config.make.in: Likewise.
41122 * configure.in: Likewise.
41123 * intl/Makefile: Likewise.
41124 * locale/Makefile: Likewise.
41125 * po/Makefile: Likewise.
41126 * posix/Makefile: Likewise.
41127 * sysdeps/gnu/Makefile: Likewise.
41128 * sysdeps/mach/hurd/Makefile: Likewise.
41129 * sysdeps/sparc/sparc32/Makefile: Likewise.
41132 * posix/Makefile (bug-regex32-ENV): Define.
41133 Patch by John Stanley <jpsinthemix@verizon.net>.
41135 * misc/Makefile (headers): Add bits/select2.h.
41136 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41137 * misc/bits/select2.h: New file.
41138 * include/bits/select2.h: New file.
41139 * debug/Makefile (routines): Add fdelt_chk.
41140 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41141 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41143 * debug/fdelt_chk.c: New file.
41145 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41146 * wcsmbs/test-wmemcmp.c: Likewise.
41147 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41148 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41150 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41152 * string/Makefile (strop-tests): Add memcmp.
41153 * string/test-wmemcmp.c: New file.
41154 * string/test-memcmp.c: Add wmemcmp support.
41156 2011-09-08 Roland McGrath <roland@hack.frob.com>
41159 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41162 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41163 garbage value in a __mach_port_mod_refs call in the cases of the
41164 task-self and thread-self ports.
41166 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41168 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41170 2011-09-08 Andreas Schwab <schwab@redhat.com>
41172 * elf/dl-load.c (lose): Check for non-null L.
41174 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41176 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41178 * elf/dl-libc.c (dlerror_run): Pass back error code from
41182 * elf/dl-load.c (lose): Free l_origin if it is valid.
41184 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41186 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41187 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41188 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41189 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41190 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41191 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41193 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41195 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41196 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41197 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41198 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41199 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41200 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41201 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41202 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41203 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41204 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41206 2011-08-15 Alan Modra <amodra@gmail.com>
41209 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41210 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41211 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41212 ppc_mcount to static-only-routines.
41213 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41215 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41216 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41218 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41220 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41221 for finite and infinity parameters.
41223 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41225 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41226 and add nop instructions for throughput optimization.
41227 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41229 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41231 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41232 aligned copy for power7 with vector-scalar instructions.
41233 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41235 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41237 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41240 2011-09-07 Andreas Schwab <schwab@redhat.com>
41243 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41246 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41248 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41249 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41250 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41251 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41254 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41256 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41257 Forgot to demangle the pointer.
41259 * sysdeps/i386/sysdep.h: Define atom_text_section.
41260 * sysdeps/x86_64/sysdep.h: Likewise.
41261 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41262 section with atom_text_section.
41263 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41264 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41265 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41266 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41267 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41269 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41270 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41271 already be defined. Change to take two parameters and don't assign
41272 result to variable. Adjust all users.
41273 Define INTERNAL_GETTIME if not already defined.
41274 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41277 HAVE_CLOCK_GETTIME_VSYSCALL.
41278 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41281 gettimeofday vsyscall, just use time.
41283 2011-09-06 Andreas Schwab <schwab@redhat.com>
41285 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41288 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41290 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41294 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41295 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41296 syscall if possible.
41298 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41300 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41301 e_ident. Don't pass to find_mapsXX.
41302 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41304 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41307 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41308 * sysdeps/x86_64/multiarch/strchr.S: Update.
41309 Check bit_slow_BSF bit.
41310 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41311 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41312 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41314 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41317 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41319 (tryshell): Define.
41320 (__spawni): Change last parameter to be flag. Test
41321 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41322 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41323 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41324 * posix/spawni.c: Likewise.
41325 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41326 * posix/spawnp.c: Likewise. Change normal version to use
41327 SPAWN_XFLAGS_USE_PATH.
41328 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41329 SPAWN_XFLAGS_TRY_SHELL.
41332 * posix/glob.h: Remove gcc 1.x support.
41335 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41337 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41340 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41342 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41343 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41344 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41345 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41346 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41347 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41349 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41351 * sysdeps/x86_64/wcscmp.S: New file.
41353 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41354 wcscmp-c wcscmp-sse2
41355 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41356 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41357 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41358 * wcsmbs/wcscmp.c: Allow renaming.
41360 2011-09-05 David S. Miller <davem@davemloft.net>
41362 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41363 stack slot, rather than the struct return pointer slot.
41364 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41365 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41367 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41369 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41371 * po/ja.po: Update from translation team.
41374 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41375 kernel in 64-bit binaries.
41377 2011-09-01 David S. Miller <davem@davemloft.net>
41379 * elf/elf.h (HWCAP_SPARC_*): Move to..
41380 * sysdeps/sparc/sysdep.h: this new file and add new values.
41381 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41382 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41383 _DL_HWCAP_COUNT to 24.
41384 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41386 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41387 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41388 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41390 instead of magic constants.
41391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41393 2011-08-31 David S. Miller <davem@davemloft.net>
41395 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41397 Reimplement to do errno handling inline.
41398 (SYSCALL_ERROR_HANDLER): New macro.
41399 (__SYSCALL_STRING): Do not do errno handling in asm.
41400 (__CLONE_SYSCALL_STRING): Delete.
41401 (__INTERNAL_SYSCALL_STRING): Delete.
41402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41403 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41404 (PSEUDO): Reimplement to do errno handling inline.
41405 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41406 (SYSCALL_ERROR_HANDLER): New macro.
41407 (__SYSCALL_STRING): Do not do errno handling in asm.
41408 (__CLONE_SYSCALL_STRING): Delete.
41409 (__INTERNAL_SYSCALL_STRING): Delete.
41410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41411 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41413 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41414 (inline_syscall*): Add 'err' argument.
41415 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41416 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41417 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41418 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41420 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41421 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41423 2011-08-30 Andreas Schwab <schwab@redhat.com>
41425 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41427 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41429 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41432 2011-08-24 David S. Miller <davem@davemloft.net>
41434 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41436 2011-08-24 Andreas Schwab <schwab@redhat.com>
41438 * elf/Makefile: Add rules to build and run unload8 test.
41439 * elf/unload8.c: New file.
41440 * elf/unload8mod1.c: New file.
41441 * elf/unload8mod1x.c: New file.
41442 * elf/unload8mod2.c: New file.
41443 * elf/unload8mod3.c: New file.
41445 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41448 2011-08-23 David S. Miller <davem@davemloft.net>
41450 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41451 subtract stack bias.
41452 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41453 %sp not %fp in calculations.
41454 (_JMPBUF_UNWINDS_ADJ): Likewise.
41456 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41457 (aio_suspend): Call it to force an exception region around the
41458 AIO_MISC_WAIT() invocation.
41460 2011-08-23 Andreas Schwab <schwab@redhat.com>
41462 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41465 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41467 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41469 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41470 and <dl-machine.h>.
41471 (Elf64_FuncDesc): Remove.
41473 2011-08-22 David S. Miller <davem@davemloft.net>
41475 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41476 sigaltstack check, add missing cfi directives.
41477 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41478 missing cfi directives, and sigaltstack handling.
41480 2011-08-16 Andreas Schwab <schwab@redhat.com>
41483 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41484 object is seen twice.
41485 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41487 * elf/Makefile (distribute): Add tst-initorder2.c.
41488 (tests): Add tst-initorder2.
41489 (modules-names): Add tst-initorder2a tst-initorder2b
41490 tst-initorder2c tst-initorder2d. Add rules to build them.
41491 ($(objpfx)tst-initorder2.out): New rule.
41492 * elf/tst-initorder2.c: New file.
41493 * elf/tst-initorder2.exp: New file.
41495 2011-08-22 Andreas Schwab <schwab@redhat.com>
41497 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41499 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41500 dependencies back to end of function.
41502 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41503 $(elfobjdir)/ld.so.
41505 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41507 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41508 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41509 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41510 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41511 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41512 of __vdso_gettimeofday.
41513 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41514 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41516 (_libc_vdso_platform_setup): Remove initialization of
41517 __vdso_gettimeofday and __vdso_time.
41519 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41521 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41522 and fgetc_unlocked.
41523 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41526 * elf/dl-open.c (add_to_global): Report additions to the global scope
41527 for LD_DEBUG=scopes.
41528 (dl_open_worker): Also print scope of newly loaded dependencies.
41529 (_dl_show_scope): Indicate if there is no scope.
41532 * stdio-common/Makefile (tests): Add bug24.
41533 * stdio-common/bug24.c: New file.
41535 2011-08-19 Andreas Jaeger <aj@suse.de>
41538 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41539 non-existant file when using close-on-exec mode.
41541 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41544 the very first instruction.
41546 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41547 the CFI state in the end.
41548 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41549 inclusion of dl-trampoline.h.
41550 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41552 2011-08-19 Andreas Schwab <schwab@redhat.com>
41554 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41555 expectations for long double.
41557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41558 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41560 2011-08-14 David S. Miller <davem@davemloft.net>
41562 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41563 artificual limit depends upon the system page size.
41565 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41567 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41568 * resolv/Makefile: Define CFLAGS-libresolv.
41570 2011-08-17 Andreas Schwab <schwab@redhat.com>
41572 * nss/makedb.c (compute_tables): Make variables used in nested
41575 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41577 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41578 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41579 if buffer was too small.
41581 * elf/pldd.c (main): Attach to all threads in the process.
41582 Rewrite /proc handling to use *at functions.
41584 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41586 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41587 specifies first scope to show.
41588 (dl_open_worker): Update callers. Move printing scope of new
41589 object to before the relocation.
41590 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41591 * sysdeps/generic/ldsodefs.h: Update declaration.
41593 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41594 string for the scope number.
41596 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41598 * nscd/servicescache.c (cache_addserv): Make sure written is always
41601 2011-08-14 Roland McGrath <roland@hack.frob.com>
41603 * sysdeps/i386/i486/bits/atomic.h
41604 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41605 statement expression, so as to suppress "set but not used" warning.
41606 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41608 * string/strncat.c (STRNCAT): Use prototype definition.
41610 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41611 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41613 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41614 (localedef-modules): Add localedef.
41615 (locale-modules): Add locale.
41617 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41618 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41619 to avoid a warning.
41621 2011-08-14 David S. Miller <davem@davemloft.net>
41623 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41624 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41626 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41628 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41629 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41630 * elf/rtld.c (dl_main): Set l_name of vDSO.
41631 Call _dl_show_scope when DL_DEBUG_SCOPES.
41632 (process_dl_debug): Recognize scopes flag and also set it for all.
41633 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41634 Declare _dl_show_scope.
41636 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41637 (do_dlopen): Pass caller_dlopen to dl_open.
41638 (__libc_dlopen_mode): Initialize caller_dlopen.
41640 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41641 of libc. Make tolower call locale-independent. Optimize a bit by
41642 using isdigit instead of isalnum.
41643 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41645 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41647 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41648 was a dependency or dynamically loaded.
41650 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41652 * intl/l10nflist.c: Allow architecture-specific pop function.
41653 * sysdeps/x86_64/l10nflist.c: New file.
41655 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41658 2011-08-10 Andreas Schwab <schwab@redhat.com>
41660 * include/dirent.h: Add libc_hidden_proto for scandirat and
41661 scandirat64. Don't declare __scandirat64.
41662 * dirent/scandirat.c: Add libc_hidden_def.
41663 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41664 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41666 2011-08-10 David S. Miller <davem@davemloft.net>
41668 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41670 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41671 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41672 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41674 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41676 * Versions.def [libc]: Add GLIBC_2.15.
41677 * dirent/Makefile (routines): Add scandirat and scandirat64.
41678 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41680 * dirent/dirent.h: Declare scandirat and scandirat64.
41681 * dirent/scandirat.c: New file.
41682 * dirent/scandirat64.c: New file.
41683 * sysdeps/wordsize-64/scandirat.c: New file.
41684 * sysdeps/wordsize-64/scandirat64.c: New file.
41685 * dirent/opendir.c: Define opendirat.
41686 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41688 * dirent/scandir64.c: Adjust for scandir.c change.
41689 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41690 __scandirat64, and __scandir_cancel_handler.
41691 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41692 additional parameter and use openat instead of open (outside of ld.so).
41693 Add new __opendir as wrapper around __opendirat.
41694 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41695 here without requiring old scandirat implementation.
41697 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41699 * dirent/scandir.c (cancel_handler): Renamed to
41700 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41701 defined. Adjust users.
41702 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41703 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41705 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41707 * string/test-string.h (IMPL): Use __STRING to expand name and then
41710 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41713 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41715 * string/Makefile: Update.
41716 (strop-tests): Append strncat.
41717 * string/test-wcscmp.c: New file.
41718 New comprehensive test for wcscmp.
41719 * string/test-strcmp.c: Update.
41720 (WIDE): New define.
41722 2011-07-22 Andreas Schwab <schwab@redhat.com>
41724 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41727 2011-07-26 Andreas Schwab <schwab@redhat.com>
41729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41730 encoding to ACE if AI_IDN.
41732 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41735 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41737 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41739 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41740 Fix overflow bug in strncat.
41741 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41743 * string/test-strncat.c: Update.
41744 Add new tests for checking overflow bugs.
41746 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41749 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41750 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41751 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41752 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41753 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41754 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41755 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41756 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41758 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41759 (USE_AS_STRCAT): Define.
41760 Add strcat and strncat support.
41761 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41763 2011-07-25 Andreas Schwab <schwab@redhat.com>
41765 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41766 __n bigger than INT_MAX+1.
41767 (__strncmp_g): Likewise.
41769 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41771 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41772 * libio/stido.h: Likewise.
41774 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41779 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41780 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41783 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41786 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41791 (_dl_x86_64_save_sse): Likewise.
41793 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41797 (_dl_x86_64_save_sse): Likewise.
41799 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41801 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41803 2011-07-21 Andreas Schwab <schwab@redhat.com>
41805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41807 (_dl_x86_64_save_sse): Use correct AVX check.
41809 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41811 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41812 bug in strncpy/strncat.
41813 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41815 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41817 * string/tester.c (test_strcat): Add tests for different alignments
41818 of source and destination.
41819 (test_strncat): Likewise.
41821 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41824 * posix/glob.c (glob): Check passed in values before using them in
41825 expressions to avoid some overflows.
41826 (glob_in_dir): Likewise.
41829 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41830 check for AVX enablement so that we don't crash with old kernels and
41832 * elf/tst-audit4.c: Add same checks here.
41833 * elf/tst-audit6.c: Likewise.
41835 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41837 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41839 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41841 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41843 * po/cs.po: Update from translation team.
41844 * po/bg.po: Likewise.
41846 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41848 * misc/sys/cdefs.h: Add support for const attribute.
41849 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41850 to gnu_dev_{major,minor,makedev} functions.
41852 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41854 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41856 2011-07-20 Andreas Schwab <schwab@redhat.com>
41858 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41861 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41863 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41864 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41865 register in order to avoid conflicts with the soft frame pointer
41866 being held in r11 when necessary.
41867 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41868 (INTERNAL_VSYSCALL_NCS): Likewise.
41870 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41872 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41873 * elf/dl-fini.c (_dl_fini): Adjust caller.
41874 * elf/dl-close.c (_dl_close_worker): Likewise.
41875 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41877 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41879 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41880 "aux_cache->nlibs < 0".
41882 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41883 in the reload-count case.
41885 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41888 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41889 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41890 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41891 * sysdeps/x86_64/multiarch/strcat.S: New file.
41892 * sysdeps/x86_64/multiarch/strncat.S: New file.
41893 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41894 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41895 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41896 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41897 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41898 (USE_AS_STRCAT): Define.
41899 Add strcat and strncat support.
41900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41901 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41902 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41903 * string/strncat.c: Update.
41904 (USE_AS_STRNCAT): Define.
41905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41906 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41908 * sysdeps/x86_64/multiarch/init-arch.h
41909 (bit_Prefer_PMINUB_for_stringop): New.
41910 (index_Prefer_PMINUB_for_stringop): Likewise.
41911 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41912 bit_Prefer_PMINUB_for_stringop.
41914 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41916 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41918 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41919 of casting of buffer.
41920 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41921 buffer32 and buffer64.
41922 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41923 writes instead of casting of buffer.
41924 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41926 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41929 2011-07-19 Andreas Schwab <schwab@redhat.com>
41931 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41933 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41935 * nscd/nscd.c (termination_handler): Don't do anything for a database
41936 if it has not yet been initialized.
41938 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41940 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41942 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41944 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41946 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41948 * po/nl.po: Update from translation team.
41949 * po/sv.po: Likewise.
41951 2011-07-16 Roland McGrath <roland@hack.frob.com>
41953 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41954 now disallowed by GCC.
41956 * configure.in (use-default-link): Default to yes if a test -shared
41957 link meets our qualifications.
41958 * configure: Regenerated.
41960 * config.make.in (output-format): New variable.
41961 * configure.in: Check for ld --print-output-format support.
41962 * configure: Regenerated.
41963 * Makerules ($(common-objpfx)format.lds)
41964 [$(output-format) != unknown]: Just use $(output-format),
41965 instead of the linker-script munging.
41967 2011-07-14 Roland McGrath <roland@hack.frob.com>
41969 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41970 of $(common-objpfx)shlib.lds.
41971 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41973 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41974 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41976 * configure.in (-z relro check): Adjust test code to add a large
41977 writable data section after it.
41978 * configure: Regenerated.
41980 2011-07-11 Roland McGrath <roland@hack.frob.com>
41982 * configure.in (-z relro check): Fix test code to make the variable
41984 * configure: Regenerated.
41986 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41988 * nscd/nscd.h (struct traced_file): Define.
41989 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41990 elements. Add traced_files.
41991 (inotify_fd): Declare.
41992 (register_traced_file): Declare.
41993 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41994 (inotify_fd): Export.
41995 (resolv_conf_descr): Remove.
41996 (nscd_init): Move inotify descriptor creation to main.
41997 Don't register files for notification here.
41998 (register_traced_file): New function.
41999 (invalidate_cache): Don't use reset_res to determine whether to call
42000 res_init, go through the list of registered files.
42001 (main_loop_poll): The inotify descriptors are now stored in the
42002 structures for the traced files.
42003 (main_loop_epoll): Likewise
42004 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42005 to __nss_disable_nscd.
42006 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42007 for a database anymore. Check the records for all the registered
42009 * nss/Makefile (libnss_files-routines): Add files-init.
42010 (libnss_db-routines): Add db-init.
42011 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42012 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42013 * nss/nss_db/db-init.c: New file.
42014 * nss/nss_files/files-init.c: New file.
42015 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42016 __nss_lookup_function.
42017 (__nss_lookup_function): Call nss_load_library.
42018 (nss_load_all_libraries): New function.
42019 (__nss_disable_nscd): Take parameter with callback function for files
42020 to register. Set is_nscd. Load all the DSOs for the NSS modules
42021 used for the cached services.
42022 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42023 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42024 options for features to all the files in nscd.
42026 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42028 2011-07-10 Roland McGrath <roland@hack.frob.com>
42030 * csu/elf-init.c (__libc_csu_init): Comment typo.
42032 2011-07-09 Ulrich Drepper <drepper@gmail.com>
42034 * po/pl.po: Update from translation team.
42035 * po/ja.po: Likewise.
42036 * po/ru.po: Likewise.
42037 * po/ko.po: Likewise.
42038 * po/fr.po: Likewise.
42040 2011-07-09 Roland McGrath <roland@hack.frob.com>
42042 * configure.in (.ctors/.dtors header and trailer check):
42043 Use an empirical test on a built program.
42044 * configure: Regenerated.
42046 * configure.in (-z relro check): Use an empirical test on a built DSO.
42047 Detect, but do not require, on ia64.
42048 * configure: Regenerated.
42050 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42051 Update tests that use readelf to use $READELF instead.
42052 * configure: Regenerated.
42054 2011-07-08 Ulrich Drepper <drepper@gmail.com>
42056 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42057 if the result is not used.
42059 2011-07-05 Andreas Jaeger <aj@suse.de>
42062 * stdlib/tst-strtod.c: Add testcase.
42064 2011-07-07 Ulrich Drepper <drepper@gmail.com>
42066 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42067 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42068 The latter has a higher limit. Take additional parameter to pass to
42070 (__pathconf): Pass file to __statfs_link_max.
42071 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42073 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42077 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42078 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42080 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42081 (__statfs_filesize_max): Likewise.
42082 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42084 2011-07-05 Andreas Jaeger <aj@suse.de>
42086 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42088 2011-07-06 Marek Polacek <mpolacek@redhat.com>
42090 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42092 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42095 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42097 * Makefile (strop-tests): Add strncat.
42098 * string/test-strncat.c: New file.
42100 2011-06-30 Marek Polacek <mpolacek@redhat.com>
42102 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42104 2011-06-21 Andreas Jaeger <aj@suse.de>
42106 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42107 Copy rule from iconvdata/Makefile.
42109 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42112 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42113 but no long options are defined, just return 'W'.
42115 2011-06-22 Marek Polacek <mpolacek@redhat.com>
42118 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42120 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42122 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42124 (innetgr): Likewise.
42126 2011-07-05 Roland McGrath <roland@hack.frob.com>
42128 * config.make.in (install_root): Default to $(DESTDIR).
42130 2011-07-05 Ulrich Drepper <drepper@gmail.com>
42132 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42134 2011-07-02 Roland McGrath <roland@hack.frob.com>
42136 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42138 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42139 containing directory rather than embedding absolute directory names.
42141 * scripts/check-local-headers.sh: Rewritten using awk.
42142 Match by word, not by line. Print error messages for matches.
42143 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42145 * Makerules [shlib-lds-flags empty]:
42146 ($(common-objpfx)libc_pic.opts): New target.
42147 ($(common-objpfx)libc_pic.os.clean): New target.
42148 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42150 * config.make.in (OBJCOPY): New variable.
42151 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42152 * configure: Regenerated.
42154 * config.make.in (use-default-link): New variable.
42155 * configure.in (use_default_link): Grok --with-default-link to set it.
42156 * configure: Regenerated.
42157 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42158 (shlib-lds, shlib-lds-flags): Define to empty.
42160 * Makerules (shlib-lds): New variable.
42161 (shlib-lds-flags): New variable.
42162 (build-shlib, build-moduile, build-module-asneeded): Use it.
42163 ($(common-objpfx)libc.so): Use $(shlib-lds).
42164 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42165 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42167 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42168 DT_FLAGS/DT_FLAGS_1 with zero flags.
42170 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42171 linker script munging.
42173 2011-07-02 Ulrich Drepper <drepper@gmail.com>
42175 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42177 * crypt/sha512.c (sha512_process_block): Perform total addition using
42178 128-bit if possible.
42179 (__sha512_finish_ctx): Likewise.
42180 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42182 * crypt/sha256.c (SWAP64): Define.
42183 (sha256_process_block): Perform total addition using 64-bit if
42185 (__sha256_finish_ctx): Likewise.
42187 2011-07-01 Ulrich Drepper <drepper@gmail.com>
42189 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42190 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42191 * nscd/hstcache.c (cache_addhst): Likewise.
42192 * nscd/grpcache.c (cache_addgr): Likewise.
42193 * nscd/aicache.c (addhstaiX): Likewise
42194 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42196 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
42198 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42200 * nscd/hstcache.c (cache_addhst): Likewise.
42201 * nscd/grpcache.c (cache_addgr): Likewise.
42202 * nscd/aicache.c (addhstaiX): Likewise
42204 2011-07-01 Andreas Schwab <schwab@redhat.com>
42206 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42207 domain only when needed.
42209 2011-06-30 Andreas Schwab <schwab@redhat.com>
42211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42212 is always restored.
42214 2011-06-29 Ulrich Drepper <drepper@gmail.com>
42216 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42217 are re-adding the entry.
42218 * nscd/servicescache.c (cache_addserv): Likewise.
42220 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42222 * sysdeps/generic/dl-irel.h: fix protection against multiple
42224 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42226 2011-06-28 Ulrich Drepper <drepper@gmail.com>
42229 * malloc/memusage.sh: Fix quoting in message.
42230 * debug/xtrace.sh: Likewise.
42232 * configure.in: Remove support for --experimental-malloc option, make
42234 * config.make.in: Likewise.
42235 * malloc/Makefile: Likewise.
42237 2011-06-27 Andreas Schwab <schwab@redhat.com>
42239 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42240 two-byte characters.
42242 2011-06-27 Roland McGrath <roland@hack.frob.com>
42244 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42245 AC_CACHE_CHECK invocation.
42246 * configure: Regenerated.
42248 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42250 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42253 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42254 bit from old_res_options.
42256 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42258 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42259 value type for setfct.
42261 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42263 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42264 __gettimeofday instead of gettimeofday.
42266 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42268 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42270 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42272 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42274 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42277 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42280 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42281 strcpy-sse2-unaligned strncpy-sse2-unaligned
42282 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42283 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42284 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42285 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42286 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42287 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42288 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42289 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42290 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42291 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42292 (STRCPY): Support SSE2 and SSSE3 versions.
42294 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42297 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42298 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42299 kernels which artificially limit size of requests.
42301 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42304 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42305 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42306 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42307 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42308 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42309 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42310 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42311 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42313 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42314 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42315 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42316 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42317 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42319 Enable unaligned load optimization for Intel Core i3, i5 and i7
42321 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42323 (index_Fast_Unaligned_Load): Define.
42324 (HAS_FAST_UNALIGNED_LOAD): Define.
42326 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42328 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42330 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42334 until it is clear that the information is realy needed.
42335 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42337 2011-06-22 Andreas Schwab <schwab@redhat.com>
42339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42341 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42343 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42344 /sys/devices/system/cpu/online if it is usable.
42346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42347 reading the information from the /proc filesystem to once a second.
42349 2011-06-21 Andreas Jaeger <aj@suse.de>
42351 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42352 NULL after inclusion of kernel headers.
42354 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42356 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42357 calls to internal_setent.
42360 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42361 addresses using gethostbyname4_r ignore IPv4 addresses.
42363 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42364 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42366 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42368 2011-06-20 David S. Miller <davem@davemloft.net>
42370 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42372 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42374 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42375 (elf_irel): Use it.
42376 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42377 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42378 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42379 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42380 * sysdeps/x86_64/dl-irel.h: Likewise.
42382 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42383 * elf/dl-sym.c: Likewise.
42385 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42387 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42388 need to dereference resplen2.
42390 2011-06-14 Andreas Schwab <schwab@redhat.com>
42392 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42394 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42396 * Makeconfig: Define vardbdir and inst_vardbdir.
42397 * nss/Makefile: Add rules to install db-Makefile.
42399 * nss/nss_db/db-XXX.c: Cleanup.
42401 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42402 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42404 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42405 * nss/makedb.c: Implement -g option to specify that value strings
42406 are generated and should not be added to table iterated over for
42408 * nss/nss_db/db-initgroups.c: New file.
42410 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42413 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42414 (internal_getgrouplist): Adjust to name change.
42415 Update use_initgroups_entry if this is not the first call.
42416 * nss/databases.def: Add initgroups entry.
42418 * nss/makedb.c (compute_tables): Check result of multiple hash table
42419 sizes to minimize maximum chain length.
42421 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42423 * Versions.def: Add entry for libnss_db.
42424 * shlib-versions: Likewise.
42425 * nss/Makefile: Add rules to build libnss_db.
42426 * nss/Versions: Add libnss_db information. Organize libnss_files
42428 * nss/db-Makefile: Add gshadow support. Change rules for the new
42429 makedb progra. Some minor improvements to generate smaller files.
42430 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42432 * nss/makedb.c: ...here.
42433 Improve database format to be smaller and require less memory at
42435 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42437 * nss/nss_db/db-netgrp.c: Likewise.
42438 * nss/nss_db/db-open.c: Likewise.
42439 * nss/nss_files/flies-XXX.x: Adjust comments.
42440 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42441 * nss/nss_files/files-grp.c: Likewise.
42442 * nss/nss_files/files-hosts.c: Likewise.
42443 * nss/nss_files/files-network.c: Likewise.
42444 * nss/nss_files/files-proto.c: Likewise.
42445 * nss/nss_files/files-pwd.c: Likewise.
42446 * nss/nss_files/files-rpc.c: Likewise.
42447 * nss/nss_files/files-service.c: Likewise.
42448 * nss/nss_files/files-sgrp.c: Likewise.
42449 * nss/nss_files/files-spwd.c: Likewise.
42450 * nss/nss_db/db-alias.c: Removed.
42451 * nss/nss_db/dummy-db.h: Removed.
42453 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42455 * nss/makedb.c: Rewritten to not use database library.
42456 * nss/Makefile: Update to build new makedb program.
42458 2011-06-14 Andreas Jaeger <aj@suse.de>
42460 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42461 memset declaration.
42463 2011-06-10 Andreas Schwab <schwab@redhat.com>
42465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42468 2011-06-10 Roland McGrath <roland@hack.frob.com>
42470 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42471 * elf/Makefile ($(objpfx)ld.so): Likewise.
42473 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42474 Don't list ld.so twice in dependencies.
42476 * posix/bug-regex31.c: Include <stdlib.h>.
42478 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42480 * nis/nss_compat/compat-spwd.c
42481 (getspent_next_nss_netgr): Remove unused variable.
42482 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42484 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42485 nonmembers" output to use the right array.
42487 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42489 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42491 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42492 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42493 * catgets/gencat.c (read_input_file): Likewise.
42494 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42496 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42497 variable definition inside #if's controlling its use.
42499 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42501 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42503 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42505 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42508 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42510 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42511 * configure: Regenerated.
42513 * Makerules: Revert last change.
42514 * elf/Makefile: Likewise.
42516 2011-06-09 Roland McGrath <roland@hack.frob.com>
42518 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42519 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42520 (reloc-link): Likewise.
42522 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42524 * elf/Makefile: Add rules to build pldd.
42525 * elf/pldd.c: New file.
42526 * elf/pldd-xx.c: New file.
42528 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42530 * version.h: Update for 2.15 development version.
42532 2011-06-07 David S. Miller <davem@davemloft.net>
42534 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42536 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42537 elf_machine_lazy_rel): Likewise.
42538 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42540 elf_machine_lazy_rel): Likewise.
42541 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42542 dl_hwcap via passed in argument.
42543 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42546 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42548 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42550 2011-06-06 Roland McGrath <roland@hack.frob.com>
42553 * manual/fdl-1.1.texi: New file, verbatim from:
42554 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42555 * manual/lgpl-2.1.texi: New file, verbatim from:
42556 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42557 * manual/Makefile (licenses): New variable, list those new file names.
42559 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42561 * manual/fdl.texi: File removed.
42562 * manual/lesser.texi: File removed.
42563 * manual/libc.texinfo (Copying, Documentation License):
42564 Use new @include file names, put @appendix directive before @include.
42566 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42569 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42570 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42571 (mq_open): Add __NTH.
42573 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42576 Assume Intel Core i3/i5/i7 processor if AVX is available.
42578 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42580 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42583 2011-05-31 Andreas Schwab <schwab@redhat.com>
42585 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42586 memory. Use alloca_account. Fix memory leak when retrying.
42588 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42590 * version.h (RELEASE): Bump for 2.14 release.
42591 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42593 * config.make.in (RANLIB): Remove entry.
42595 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42597 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42598 (libc.pot): Work around missing support for .ksh extension in xgettext.
42601 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42602 if both request failed.
42603 (send_dg): In case of server errors clear resplen or *resplen2.
42606 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42607 when there are multiple maps.
42608 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42609 (_dl_fini): Remove test here.
42611 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42613 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42616 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42617 bit from old_res_options.
42618 (gaih_inet): Likewise.
42621 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42624 * resolv/res_init.c (res_setoptions): Make the code more compact.
42627 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42631 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42633 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42636 * malloc/malloc.h: Declare malloc hook variables as volatile.
42638 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42642 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42643 raise in the comment.
42644 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42645 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42646 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42648 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42651 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42652 grow the buffers more if it already has to be sufficient.
42653 (build_wcs_upper_buffer): Likewise.
42654 * posix/regexec.c (check_matching): Likewise.
42655 (clean_state_log_if_needed): Likewise.
42656 (extend_buffers): Don't enlarge buffers beyond size of the input
42658 Patches mostly by Emil Wojak <emil@wojak.eu>.
42659 * posix/bug-regex32.c: New file.
42660 * posix/Makefile (tests): Add bug-regex32.
42662 * locale/findlocale.c (_nl_find_locale): Return right away if
42663 _nl_explode_name failed.
42664 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42666 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42668 * debug/xtrace.sh: Unify messages.
42669 * malloc/memusage.sh: Likewise.
42672 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42673 time symbol from vDSO. Substitute with vsyscall if not available.
42674 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42677 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42678 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42679 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42680 Add sendmmsg and internal_sendmmsg.
42681 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42682 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42683 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42685 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42686 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42687 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42689 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42692 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42693 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42695 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42699 * iconvdata/Makefile (tests): Add bug-iconv9.
42700 * iconvdata/bug-iconv9.c: New file.
42702 2011-05-27 Andreas Schwab <schwab@redhat.com>
42705 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42707 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42710 (struct user_regs_struct): Change intcs field back to cs.
42712 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42714 * po/ja.po: Update from translation team.
42716 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42719 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42720 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42722 2011-05-20 Andreas Schwab <schwab@redhat.com>
42724 * stdlib/longlong.h: Update from GCC.
42726 2011-05-23 Andreas Schwab <schwab@redhat.com>
42728 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42730 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42731 Add parameter name.
42732 (__sysconf): Pass it down.
42734 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42737 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42740 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42741 add in in __libc_use_alloca calls. Adjust callers.
42742 (glob): Use malloc in some situations.
42744 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42745 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42748 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42750 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42751 and CLOCK_BOOTTIME_ALARM.
42754 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42757 * string/_strerror.c (__strerror_r): Print negative errors as signed
42761 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42762 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42763 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42765 * configure.in: Fix typo in redirection and correct removal of test
42766 files in two cases.
42769 * locale/setlocale.c (new_composite_name): Fix test to check for
42770 identical name of all categories.
42773 * libio/filedoalloc.c (local_isatty): New function.
42774 (_IO_file_doallocate): Use local_isatty.
42775 * stdio-common/perror.c (perror): In case a new stream is used
42776 forward the stream error.
42777 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42780 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42785 * include/alloca.h (extend_alloca_account): Define.
42788 * posix/regex.h: Fix comments with documentation of user-accessible
42789 fields after compilation and describe correct free'ing of pattern
42790 after re_compile_pattern.
42791 Patch by Reuben Thomas <rrt@sc3d.org>.
42793 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42795 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42796 and -mno-altivec to prevent the compiler from using Altivec and/or
42797 VSX instructions when the corresponding registers are not available.
42799 2011-05-19 Andreas Schwab <schwab@redhat.com>
42801 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42803 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42805 * libio/freopen.c (freopen): Use __dup2, not dup2.
42806 * libio/freopen64.c (freopen64): Likewise.
42808 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42811 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42812 * math/Makefile (tests): Add test-powl.
42813 (CFLAGS-test-powl.c): Define.
42814 * math/test-powl.c: New file.
42816 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42818 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42820 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42823 * iconvdata/gb18030.c: Update to GB18020-2005.
42825 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42827 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42828 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42829 Patch by Aharon Robbins <arnold@skeeve.com>.
42832 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42836 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42837 through underflows.
42840 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42841 point to strings before performing equality test for error_one_per_line
42845 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42849 (struct user_fpregs_struct): Avoid __uint*_t types.
42852 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42853 symbol info. Use it instead of calling _dl_addr locally.
42854 (lock_and_info): New function.
42855 (tr_freehook): Call lock_and_info and pass symbol info as additional
42856 parameter to tr_where.
42857 (tr_mallochook): Likewise.
42858 (tr_reallochook): Likewise.
42859 (tr_memalignhook): Likewise.
42861 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42862 used and couldn't be at all thread-safe.
42864 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42866 * libio/freopen.c (freopen): Don't close old file descriptor
42867 before the new one is opened. Instead dup the new file descriptor
42868 to the old one after the new stream is created.
42869 * libio/freopen64.c (freopen64): Likewise.
42870 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42871 * libio/fileops.c (_IO_new_file_close_it): Handle new
42872 _IO_FLAGS2_NOCLOSE flag.
42873 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42874 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42875 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42876 _IO_FLAGS2_NOCLOSE flag.
42877 * include/unistd.h: Add hidden_proto for dup3.
42878 Define __have_dup3.
42879 * io/dup3.c: Define hidden symbol.
42880 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42883 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42884 when an incomplete long option is used.
42885 * posix/tst-getopt_long1.c: New file.
42886 * posix/Makefile (tests): Add tst-getopt_long1.
42889 * scripts/config.guess: Update from autoconf-2.68.
42890 * scripts/config.sub: Likewise.
42893 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42895 (has_cpuclock): ...this. New function.
42896 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42897 macro here based on has_cpuclock code.
42900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42901 First byte (not low byte) is now always NUL.
42902 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42905 Use non-cancelable interfaces.
42908 * locale/iso-639.def: Add entry for Sorani.
42911 * include/stdlib.h: Move include protection to the right place.
42912 Define abort_msg_s. Declare __abort_msg with it.
42913 * stdlib/abort.c (__abort_msg): Adjust type.
42914 * assert/assert.c (__assert_fail_base): New function. Majority
42915 of code from __assert_fail. Allocate memory for __abort_msg with
42917 (__assert_fail): Now call __assert_fail_base.
42918 * assert/assert-perr.c: Remove bulk of implementation. Use
42919 __assert_fail_base.
42920 * include/assert.hL Declare __assert_fail_base.
42921 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42923 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42925 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42929 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42930 until all modules are registered in the DTV.
42931 * elf/Makefile: Add rules to build and run tst-tls19.
42932 * elf/tst-tls19.c: New file.
42933 * elf/tst-tls19mod1.c: New file.
42934 * elf/tst-tls19mod2.c: New file.
42935 * elf/tst-tls19mod3.c: New file.
42936 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42939 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42943 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42944 two-byte sequence errors.
42945 * iconvdata/Makefile (tests): Add bug-iconv8.
42946 * iconvdata/bug-iconv8.c: New file.
42949 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42952 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42955 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42956 (dummy_getcfa): New function.
42957 (init): Get _Unwind_GetCFA address, use dummy if not found.
42958 (backtrace_helper): In recursion check, also check whether CFA changes.
42959 (__backtrace): Completely initialize arg.
42961 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42962 storing incomplete byte sequence in state object. Avoid testing for
42963 guaranteed too small input if we know there is enough data available.
42965 2011-05-11 Andreas Schwab <schwab@redhat.com>
42967 * Makeconfig (+link-pie): Indent.
42968 * Rules (binaries-pie): Define if $(have-fpie) and
42970 (binaries-shared): Also filter out $(binaries-pie).
42971 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42972 * nscd/Makefile (others-pie): Add nscd.
42973 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42974 ($(objpfx)nscd): Remove command override.
42975 * login/Makefile (others-pie): Add pt_chown.
42976 ($(objpfx)pt_chown): Remove command override.
42977 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42978 remove command overrides.
42980 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42982 * libio/tst_putwc.c: Fix error messages.
42985 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42986 currently writing and seek to current position when not.
42987 * libio/Makefile (tests): Add bug-fclose1.
42988 * libio/bug-fclose1.c: New file.
42990 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42993 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42994 don't set DF_1_NODELETE here.
42995 (do_lookup_x): When entering new entry test for copy relocation
42996 and if necessary set DF_1_NODELETE flag.
42997 * elf/tst-unique4.cc: New file.
42998 * elf/tst-unique4.h: New file.
42999 * elf/tst-unique4lib.cc: New file.
43000 * elf/Makefile: Add rules to build and run tst-unique4.
43001 Patch by Piotr Bury <pbury@goahead.com>.
43003 2011-05-11 Ulrich Drepper <drepper@gmail.com>
43006 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43009 * misc/mntent_r.c (addmntent): Flush the stream after the output
43012 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43013 (is_trusted_path_normalize): Skip initial colon. Append slash
43014 to empty buffer. Duplicate is_trusted_path code but allow
43015 constructed patch to be prefix.
43016 (is_dst): Allow $ORIGIN followed by /.
43017 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43018 Correct testing of result of is_trusted_path_normalize
43019 (decompose_rpath): Fix warning.
43021 2011-05-10 Ulrich Drepper <drepper@gmail.com>
43024 * grp/initgroups.c (internal_getgrouplist): When we found the service
43025 list through the initgroups entry in nsswitch.conf do not always
43026 continue on a successful lookup. Don't always use the
43027 __nss_group_database value if it is set.
43028 * nss/nsswitch.conf (initgroups): Change action for successful db
43029 lookup to continue for compatibility.
43031 2011-05-09 Ulrich Drepper <drepper@gmail.com>
43034 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43036 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43038 * iconvdata/tst-tables.sh: Likewise.
43039 * iconvdata/cp770.c: New file.
43040 * iconvdata/cp771.c: New file.
43041 * iconvdata/cp772.c: New file.
43042 * iconvdata/cp773.c: New file.
43043 * iconvdata/cp774.c: New file.
43044 * iconvdata/testdata/CP770: New file.
43045 * iconvdata/testdata/CP770..UTF8: New file.
43046 * iconvdata/testdata/CP771: New file.
43047 * iconvdata/testdata/CP771..UTF8: New file.
43048 * iconvdata/testdata/CP772: New file.
43049 * iconvdata/testdata/CP772..UTF8: New file.
43050 * iconvdata/testdata/CP773: New file.
43051 * iconvdata/testdata/CP773..UTF8: New file.
43052 * iconvdata/testdata/CP774: New file.
43053 * iconvdata/testdata/CP774..UTF8: New file.
43055 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43057 * iconvdata/gen-8bit-gap.sh: Likewise.
43058 * iconvdata/gen-8bit.sh: Likewise.
43060 * locale/iso-639.def: Add ary entry.
43063 * locale/C-translit.h.in: Add U20A1 transliteration.
43066 * locale/iso-639.def: Add wae entry.
43067 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43070 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43074 * locale/C-translit.h.in: Add entry for U20B9.
43075 Patch by pravin.d.s@gmail.com.
43077 2011-05-08 Ulrich Drepper <drepper@gmail.com>
43080 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43081 ENAMETOOLONG use generic getcwd.
43082 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43083 in rtld. Use *stat64.
43084 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43085 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43086 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43087 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43088 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43089 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43090 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43091 __fstatat64 macros.
43092 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43093 * dirent/rewinddir.c: Add libc_hidden_def.
43094 * sysdeps/mach/hurd/rewinddir.c: Likewise.
43095 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
43097 * include/dirent.h (__alloc_dir): Add flags parameter.
43098 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43099 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43101 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43102 from fdopendir if O_CLOEXEC is already set.
43104 2011-03-15 Alan Modra <amodra@gmail.com>
43106 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43107 l_tls_firstbyte_offset non-zero. Save padding offset in
43108 l_tls_firstbyte_offset for later use.
43109 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43110 freeing static tls block.
43112 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43114 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43115 where #ifdef was intended. The intent is to prevent ARG_MAX from
43116 being defined by the kernel headers.
43118 2011-05-07 Ulrich Drepper <drepper@gmail.com>
43121 * resolv/resolv.h: Define RES_NOTLDQUERY.
43122 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43123 no-tld-query and set RES_NOTLDQUERY.
43124 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43125 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43126 modern BIND to search name as TLD unless forbidden.
43128 2011-05-07 Petr Baudis <pasky@suse.cz>
43129 Ulrich Drepper <drepper@gmail.com>
43132 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43133 (is_trusted_path): ...to here.
43134 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43135 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43136 using is_trusted_path_normalize() in setuid scripts.
43138 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43140 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43141 __BEGIN/__END_DECLS.
43143 2011-05-06 Ulrich Drepper <drepper@gmail.com>
43145 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43146 NSS_STATUS_NOTFOUND if no record was found.
43148 2011-05-05 Andreas Schwab <schwab@redhat.com>
43150 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43151 (headers-not-in-tirpc): Remove rpc/netdb.h
43152 * resolv/netdb.h: Revert last change.
43154 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43156 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43157 circular dependency between libgcc.a and libc.a.
43159 2011-05-05 Andreas Schwab <schwab@redhat.com>
43161 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43162 * nis/Makefile: Don't install rpcsvc/*.
43163 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43164 instead of <rpc/types.h>.
43165 (MAXHOSTNAMELEN): Define.
43167 2011-05-03 Andreas Schwab <schwab@redhat.com>
43169 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43171 2011-04-28 Maciej Babinski <mbabinski@google.com>
43174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43175 gethostbyname4_r when IPv6 results are possible.
43177 2011-05-02 Ulrich Drepper <drepper@gmail.com>
43180 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43181 _PC_PIPE_BUF handling.
43183 2011-04-30 Bruno Haible <bruno@clisp.org>
43186 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43187 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43189 * inet/getnameinfo.c (getnameinfo): Likewise.
43191 2011-04-29 Ulrich Drepper <drepper@gmail.com>
43193 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43194 to groups setting in database lookup.
43195 * nss/nsswitch.conf: Add initgroups entry.
43197 2011-04-22 Ulrich Drepper <drepper@gmail.com>
43200 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43202 Patch by Eric Blake <eblake@redhat.com>.
43204 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43206 * sunrpc/Makefile (need-export-routines): Add svc_run.
43207 (routines): Remove svc_run.
43208 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43209 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43210 * sunrpc/svc_run.c (svc_run): Likewise.
43211 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43213 2011-04-21 Ulrich Drepper <drepper@gmail.com>
43215 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43216 problem in reallocation in last patch.
43218 2011-04-20 Ulrich Drepper <drepper@gmail.com>
43220 * sunrpc/Makefile: Move inclusion of Rules.
43222 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43224 * nss/nss_files/files-initgroups.c: New file.
43225 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43226 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43227 _nss_files_initgroups_dyn.
43229 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43231 * elf/elf.h (R_ARM_IRELATIVE): Define.
43233 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43235 * po/ru.po: Update from translation team.
43237 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43239 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43242 2011-02-06 Mike Frysinger <vapier@gentoo.org>
43245 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43246 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43247 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43249 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43251 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43253 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43255 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43256 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43257 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43259 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43262 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43264 * stdlib/bug-getcontext.c: New file.
43265 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43267 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43269 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43270 instructions into .machine "z9-109".
43271 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43272 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43274 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43276 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43277 between environment variables and auxiliary vector.
43279 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43281 * Makefile: Add rules to build linkobj/libc.so.
43282 * include/libc-symbols.h: Define libc_hidden_nolink.
43283 * include/rpc/auth.h: Mark functions which are to be hidden.
43284 * include/rpc/auth_des.h: Likewise.
43285 * include/rpc/auth_unix.h: Likewise.
43286 * include/rpc/clnt.h: Likewise.
43287 * include/rpc/des_crypt.h: Likewise.
43288 * include/rpc/key_prot.h: Likewise.
43289 * include/rpc/pmap_clnt.h: Likewise.
43290 * include/rpc/pmap_prot.h: Likewise.
43291 * include/rpc/pmap_rmt.h: Likewise.
43292 * include/rpc/rpc_msg.h: Likewise.
43293 * include/rpc/svc.h: Likewise.
43294 * include/rpc/svc_auth.h: Likewise.
43295 * include/rpc/xdr.h: Likewise.
43296 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43297 * nss/Makefile: Likewise.
43298 * sunrpc/Makefile: Don't install headers. Build library with normal
43299 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43300 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43301 for the compat linking library. Remove use of INTDEF/INTUSE.
43302 * sunrpc/auth_none.c: Likewise.
43303 * sunrpc/auth_unix.c: Likewise.
43304 * sunrpc/authdes_prot.c: Likewise.
43305 * sunrpc/authuxprot.c: Likewise.
43306 * sunrpc/clnt_gen.c: Likewise.
43307 * sunrpc/clnt_perr.c: Likewise.
43308 * sunrpc/clnt_raw.c: Likewise.
43309 * sunrpc/clnt_simp.c: Likewise.
43310 * sunrpc/clnt_tcp.c: Likewise.
43311 * sunrpc/clnt_udp.c: Likewise.
43312 * sunrpc/clnt_unix.c: Likewise.
43313 * sunrpc/des_crypt.c: Likewise.
43314 * sunrpc/des_soft.c: Likewise.
43315 * sunrpc/get_myaddr.c: Likewise.
43316 * sunrpc/key_call.c: Likewise.
43317 * sunrpc/key_prot.c: Likewise.
43318 * sunrpc/netname.c: Likewise.
43319 * sunrpc/pm_getmaps.c: Likewise.
43320 * sunrpc/pm_getport.c: Likewise.
43321 * sunrpc/pmap_clnt.c: Likewise.
43322 * sunrpc/pmap_prot.c: Likewise.
43323 * sunrpc/pmap_prot2.c: Likewise.
43324 * sunrpc/pmap_rmt.c: Likewise.
43325 * sunrpc/publickey.c: Likewise.
43326 * sunrpc/rpc_cmsg.c: Likewise.
43327 * sunrpc/rpc_common.c: Likewise.
43328 * sunrpc/rpc_dtable.c: Likewise.
43329 * sunrpc/rpc_prot.c: Likewise.
43330 * sunrpc/rpc_thread.c: Likewise.
43331 * sunrpc/rtime.c: Likewise.
43332 * sunrpc/svc.c: Likewise.
43333 * sunrpc/svc_auth.c: Likewise.
43334 * sunrpc/svc_authux.c: Likewise.
43335 * sunrpc/svc_raw.c: Likewise.
43336 * sunrpc/svc_run.c: Likewise.
43337 * sunrpc/svc_simple.c: Likewise.
43338 * sunrpc/svc_tcp.c: Likewise.
43339 * sunrpc/svc_udp.c: Likewise.
43340 * sunrpc/svc_unix.c: Likewise.
43341 * sunrpc/svcauth_des.c: Likewise.
43342 * sunrpc/xcrypt.c: Likewise.
43343 * sunrpc/xdr.c: Likewise.
43344 * sunrpc/xdr_array.c: Likewise.
43345 * sunrpc/xdr_float.c: Likewise.
43346 * sunrpc/xdr_intXX_t.c: Likewise.
43347 * sunrpc/xdr_mem.c: Likewise.
43348 * sunrpc/xdr_rec.c: Likewise.
43349 * sunrpc/xdr_ref.c: Likewise.
43350 * sunrpc/xdr_sizeof.c: Likewise.
43351 * sunrpc/xdr_stdio.c: Likewise.
43353 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43356 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43357 * sysdeps/ia64/dl-tls.h: Likewise.
43358 * sysdeps/powerpc/dl-tls.h: Likewise.
43359 * sysdeps/s390/dl-tls.h: Likewise.
43360 * sysdeps/sh/dl-tls.h: Likewise.
43361 * sysdeps/sparc/dl-tls.h: Likewise.
43362 * sysdeps/x86_64/dl-tls.h: Likewise.
43363 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43365 2011-03-14 Andreas Schwab <schwab@redhat.com>
43367 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43368 rpath element also skip the following colon.
43369 (expand_dynamic_string_token): Add is_path parameter and pass
43370 down to DL_DST_REQUIRED and _dl_dst_substitute.
43371 (decompose_rpath): Call expand_dynamic_string_token with
43372 non-zero is_path. Ignore empty rpaths.
43373 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43376 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43381 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43384 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43385 Patch by Filipe David Manana <fdmanana@apache.org>.
43387 2011-04-07 Andreas Schwab <schwab@redhat.com>
43389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43390 Maintain aligned stack.
43391 (CHECK_RSP): Remove unused macro.
43393 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43395 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43396 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43398 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43400 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43402 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43404 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43407 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43408 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43409 * sysdeps/x86_64/memmove.c: New file.
43410 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43411 (memcpy): Renamed to ...
43412 (__new_memcpy): This.
43413 (memcpy): Provide GLIBC_2_14 memcpy.
43414 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43415 (memcpy): Provide GLIBC_2_2_5 memcpy.
43417 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43420 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43422 2011-03-30 Andreas Schwab <schwab@redhat.com>
43424 * misc/syncfs.c: New file.
43425 * misc/Makefile (routines): Add syncfs.
43426 * posix/unistd.h: Declare syncfs.
43427 * sysdeps/unix/syscalls.list: Add syncfs.
43429 2011-04-01 Andreas Schwab <schwab@redhat.com>
43431 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43434 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43436 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43438 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43439 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43441 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43443 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43444 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43445 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43447 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43449 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43451 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43452 sync_file_range.c with -fexceptions.
43453 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43454 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43455 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43456 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43457 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43458 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43460 sync_file_range as cancellation point
43461 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43462 now a wrapper around __call_sync_file_range with cancellation handling.
43463 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43464 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43465 function name to __call_sync_file_range.
43466 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43467 Add call_sync_file_range.
43469 2011-04-01 Andreas Schwab <schwab@redhat.com>
43471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43474 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43476 * iconv/iconv.h: Fix typo in comment.
43477 * io/fcntl.h: Likewise.
43478 * libio/stdio.h: Likewise.
43479 * posix/spawn.h: Likewise.
43480 * posix/unistd.h: Likewise.
43481 * stdlib/stdlib.h: Likewise.
43482 * time/time.h: Likewise.
43483 * wcsmbs/wchar.h: Likewise.
43485 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43486 open_by_handle): Add.
43487 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43488 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43489 Augment a few comments.
43490 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43492 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43495 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43498 * io/fcntl.h (AT_EMPTY_PATH): Define.
43500 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43502 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43503 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43504 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43506 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43507 * Versions.def: Add GLIBC_2.14.
43508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43511 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43513 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43515 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43517 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43520 * string/test-strncmp.c (do_page_test): New function.
43521 (check2): Likewise.
43522 (test_main): Call check2.
43523 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43525 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43528 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43529 Handle cache information in CPU leaf 4.
43530 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43532 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43535 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43536 character representation.
43537 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43539 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43541 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43542 END(__isnan) to END(__isnanf) to match function entry point/label
43543 EALIGN(__isnanf,...).
43545 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43547 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43549 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43552 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43553 copy from the symbol referenced in the relocation to initialize the
43555 Patch by Piotr Bury <pbury@goahead.com>.
43556 * elf/Makefile: Add rules to build and tst-unique3.
43557 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43558 * elf/tst-unique3.cc: New file.
43559 * elf/tst-unique3.h: New file.
43560 * elf/tst-unique3lib.cc: New file.
43561 * elf/tst-unique3lib2.cc: New file.
43563 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43565 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43567 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43568 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43571 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43573 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43574 to-be-loaded object along a path to loader is ld.so.
43576 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43577 Ulrich Drepper <drepper@gmail.com>
43579 * sysdeps/x86_64/memset.S: After aligning destination, code
43580 branches to different locations depending on the value of
43581 misalignment, when multiarch is enabled. Fix this.
43583 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43585 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43586 Set _x86_64_preferred_memory_instruction for AMD processsors.
43587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43588 Set bit_Prefer_SSE_for_memop for AMD processors.
43590 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43592 * libio/fmemopen.c (fmemopen): Optimize a bit.
43594 2011-03-03 Andreas Schwab <schwab@redhat.com>
43596 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43598 2011-03-03 Roland McGrath <roland@redhat.com>
43600 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43602 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43604 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43605 __bzero_ultra1 instead of __memset_ultra1.
43607 2011-02-23 Andreas Schwab <schwab@redhat.com>
43608 Ulrich Drepper <drepper@gmail.com>
43611 * include/link.h (struct link_map): Add l_orig_initfini.
43612 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43613 returning unsuccessfully.
43614 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43615 close of a file loaded at startup, restore the original l_initfini
43617 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43618 list, store the pointer.
43619 * elf/Makefile ($(objpfx)noload-mem): New rule.
43620 (noload-ENV): Define.
43621 (tests): Add $(objpfx)noload-mem.
43622 * elf/noload.c: Include <memcheck.h>.
43623 (main): Call mtrace. Close all opened handles.
43625 2011-02-17 Andreas Schwab <schwab@redhat.com>
43628 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43629 dependencies are missing.
43631 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43633 Fix __if_freereq crash: Unlike the generic version which uses free,
43635 * sysdeps/mach/hurd/ifreq.h: New file.
43637 2011-01-27 Petr Baudis <pasky@suse.cz>
43638 Ulrich Drepper <drepper@gmail.com>
43641 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43642 to extend_alloca().
43643 * stdio-common/bug23.c: New file.
43644 * stdio-common/Makefile (tests): Add bug23.
43646 2010-09-28 Andreas Schwab <schwab@redhat.com>
43647 Ulrich Drepper <drepper@gmail.com>
43650 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43651 before performing relro protection. At old place add assertion
43652 to make sure nothing changed.
43654 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43655 Glauber de Oliveira Costa <glommer@gmail.com>
43657 * elf/elf.h: Add new ARM TLS relocs.
43659 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43662 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43664 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43666 * sysdeps/wordsize-64/tst-writev.c: New file.
43668 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43670 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43671 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43672 insns in _dl_start to prevent a TOC reference before relocs are
43675 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43678 * Makeconfig: Remove RANLIB definition.
43679 * Makerules: Don't use RANLIB.
43680 * aclocal.m4: Remove ranlib test.
43681 * configure.in: No need to check for ranlib.
43682 * elf/rtld-Rules: Don't use RANLIB.
43684 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43686 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43688 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43689 inclusion protection macro.
43691 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43692 SIGRTMIN and SIGRTMAX and print information in that case only when
43693 SIGRTMIN is defined.
43695 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43697 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43698 arginfo fn returning -1.
43700 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43701 and thousands string is zero terminated.
43703 2011-02-03 Andreas Schwab <schwab@redhat.com>
43705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43706 sysdeps/unix/sysv/linux/bits/socket.h.
43708 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43710 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43711 (__CPU_COUNT): Remove old macros.
43712 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43713 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43714 (__CPU_ALLOC, __CPU_FREE): Add macros.
43715 (__sched_cpualloc, __sched_cpufree): Add declarations.
43717 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43719 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43720 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43721 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43722 (readdhstai): Return value of addhstaiX call.
43723 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43724 (addgrbyX): Return value returned by cache_addgr.
43725 (readdgrbyname): Return value returned by addgrbyX.
43726 (readdgrbygid): Likewise.
43727 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43728 (addpwbyX): Return value returned by cache_addpw.
43729 (readdpwbyname): Return value returned by addhstbyX.
43730 (readdpwbyuid): Likewise.
43731 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43732 (addservbyX): Return value returned by cache_addserv.
43733 (readdservbyname): Return value returned by addservbyX:
43734 (readdservbyport): Likewise.
43735 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43736 (addhstbyX): Return value returned by cache_addhst.
43737 (readdhstbyname): Return value returned by addhstbyX.
43738 (readdhstbyaddr): Likewise.
43739 (readdhstbynamev6): Likewise.
43740 (readdhstbyaddrv6): Likewise.
43741 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43742 (readdinitgroups): Return value returned by addinitgroupsX.
43743 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43744 (prune_cache): Keep track of timeout value of re-added entries.
43745 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43746 * nscd/nscd.h: Adjust prototypes of readd* functions.
43748 2011-02-04 Roland McGrath <roland@redhat.com>
43750 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43751 (nis_stats): Likewise.
43752 * nis/nis_modify.c (nis_modify): Likewise.
43753 * nis/nis_remove.c (nis_remove): Likewise.
43754 * nis/nis_add.c (nis_add): Likewise.
43756 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43758 * posix/fnmatch_loop.c: Add some consts.
43760 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43762 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43765 * config.make.in (config-cflags-novzeroupper): Define.
43766 * configure.in: Substitute libc_cv_cc_novzeroupper.
43767 * elf/Makefile (AVX-CFLAGS): Define.
43768 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43769 (CFLAGS-tst-auditmod4a.c): Likewise.
43770 (CFLAGS-tst-auditmod4b.c): Likewise.
43771 (CFLAGS-tst-auditmod6b.c): Likewise.
43772 (CFLAGS-tst-auditmod6c.c): Likewise.
43773 (CFLAGS-tst-auditmod7b.c): Likewise.
43774 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43776 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43778 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43779 function to the callback.
43780 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43782 2011-02-02 Andreas Schwab <schwab@redhat.com>
43784 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43787 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43790 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43792 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43794 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43797 * elf/Makefile: Add rules to build and run new test.
43798 * elf/tst-initorder.c: New file.
43799 * elf/tst-initorder.exp: New file.
43800 * elf/tst-initordera1.c: New file.
43801 * elf/tst-initordera2.c: New file.
43802 * elf/tst-initordera3.c: New file.
43803 * elf/tst-initordera4.c: New file.
43804 * elf/tst-initorderb1.c: New file.
43805 * elf/tst-initorderb2.c: New file.
43806 * elf/tst-order-a1.c: New file.
43807 * elf/tst-order-a2.c: New file.
43808 * elf/tst-order-a3.c: New file.
43809 * elf/tst-order-a4.c: New file.
43810 * elf/tst-order-b1.c: New file.
43811 * elf/tst-order-b2.c: New file.
43812 * elf/tst-order-main.c: New file.
43813 New test case by George Gensure <werkt0@gmail.com>.
43815 2010-10-01 Andreas Schwab <schwab@redhat.com>
43817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43818 decoding ACE if AI_CANONIDN.
43820 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43822 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43824 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43826 * version.h (RELEASE): Bump for 2.13 release.
43827 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43829 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43831 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43833 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43834 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43835 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43836 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43837 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43838 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43840 * posix/getconf.c: Update copyright year.
43841 * catgets/gencat.c: Likewise.
43842 * csu/version.c: Likewise.
43843 * debug/catchsegv.sh: Likewise.
43844 * debug/xtrace.sh: Likewise.
43845 * elf/ldconfig.c: Likewise.
43846 * elf/ldd.bash.in: Likewise.
43847 * elf/sprof.c (print_version): Likewise.
43848 * iconv/iconv_prog.c: Likewise.
43849 * iconv/iconvconfig.c: Likewise.
43850 * locale/programs/locale.c: Likewise.
43851 * locale/programs/localedef.c: Likewise.
43852 * malloc/memusage.sh: Likewise.
43853 * malloc/mtrace.pl: Likewise.
43854 * nscd/nscd.c (print_version): Likewise.
43855 * nss/getent.c: Likewise.
43857 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43858 PF_CAIF, and PF_ALG.
43859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43861 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43863 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43864 (modules-names): Use them.
43865 (ifunc-test-modules, ifunc-pie-tests): Define.
43866 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43867 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43868 (test-extras): Likewise.
43869 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43870 $(compile-command.c).
43871 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43872 (all-built-dso): Define.
43873 (check-textrel.out, check-execstack.out): Depend on it.
43875 * configure.in: Don't override --enable-multi-arch.
43877 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43880 * nscd/hstcache.c (tryagain): Define.
43881 (cache_addhst): Return tryagain not notfound for temporary errors.
43882 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43885 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43888 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43889 to make the syscall.
43890 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43893 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43894 and fall back to matching as normal character if the string ends before
43895 the matching ']' is found. This is what POSIX requires.
43896 * posix/testfnm.c: Adjust test result.
43897 * posix/globtest.sh: Adjust test result. Add new test.
43898 * posix/tst-fnmatch.input: Likewise.
43899 * posix/tst-fnmatch2.c: Add new test.
43901 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43903 * elf/Makefile (check-execstack): Revert last change. Depend on
43905 (check-execstack.h): New target.
43906 (generated): Add check-execstack.h.
43907 * elf/check-execstack.c: Include "check-execstack.h".
43908 (main): Revert last change.
43909 (handle_file): Return zero if GNU_STACK is absent and
43910 DEFAULT_STACK_PERMS doesn't include PF_X.
43912 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43914 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43915 in child fails because the descriptor is already closed.
43916 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43917 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43918 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43921 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43925 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43926 temporary buffer used to handle multi lookups locally.
43927 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43929 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43931 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43934 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43936 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43937 alignment for SSE2.
43939 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43942 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43943 characters. When rounding increased number of integer digits recompute
43945 * stdio-common/tst-grouping.c: New file.
43946 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43948 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43950 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43951 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43953 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43955 * bits/select.h: Likewise.
43957 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43959 * po/ja.po: Update from translation team.
43961 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43964 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43965 implementation just like for lxstat, fxstatat, et al.
43967 2010-12-27 Jim Meyering <meyering@redhat.com>
43970 * posix/regexec.c (build_trtable): Return failure indication upon
43971 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43973 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43976 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43977 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43978 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43982 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43985 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43986 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43988 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43990 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43991 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43992 script has SORT_BY_INIT_PRIORITY.
43993 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43994 NO_CTORS_DTORS_SECTIONS is defined.
43995 * elf/soinit.c: Likewise.
43996 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43997 NO_CTORS_DTORS_SECTIONS is defined.
43998 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43999 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44000 * sysdeps/sh/init-first.c: Likewise.
44001 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44003 2010-12-24 Ulrich Drepper <drepper@gmail.com>
44005 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44006 always use the slow path.
44008 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44010 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44011 similar rule which adds the sysdep directories to the header search in
44012 order to pick up the correct platform stackinfo.h.
44013 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44014 perform test if it is, otherwise return successfully without testing.
44015 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44016 DEFAULT_STACK_PERMS define in stackinfo.h.
44017 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44018 defined in stackinfo.h.
44019 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44020 DEFAULT_STACK_PERMS defined in stackinfo.h.
44021 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44022 * sysdeps/ia64/stackinfo.h: Likewise.
44023 * sysdeps/s390/stackinfo.h: Likewise.
44024 * sysdeps/sh/stackinfo.h: Likewise.
44025 * sysdeps/sparc/stackinfo.h: Likewise.
44026 * sysdeps/x86_64/stackinfo.h: Likewise.
44027 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44028 PF_X for powerpc64. Retain PF_X for powerpc32.
44030 2010-12-19 Ulrich Drepper <drepper@gmail.com>
44032 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44034 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44035 GETDENTS_64BIT_ALIGNED.
44037 2010-12-14 Ulrich Drepper <dreper@gmail.com>
44039 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44041 2010-12-10 Andreas Schwab <schwab@redhat.com>
44043 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44046 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44047 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44049 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44050 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44052 2010-12-09 Ulrich Drepper <drepper@gmail.com>
44055 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44058 2010-12-09 Jakub Jelinek <jakub@redhat.com>
44060 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44062 2010-12-03 Ulrich Drepper <drepper@gmail.com>
44064 * po/it.po: Update from translation team.
44066 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44071 2010-11-30 Ulrich Drepper <drepper@gmail.com>
44073 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44075 2010-11-24 Andreas Schwab <schwab@redhat.com>
44077 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44079 (gaih_getanswer_slice): Likewise.
44081 2010-10-20 Jakub Jelinek <jakub@redhat.com>
44083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44085 2010-05-31 Petr Baudis <pasky@suse.cz>
44088 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44089 silently even in the chroot mode.
44091 2010-11-22 Ulrich Drepper <drepper@gmail.com>
44093 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44094 last patch a bit. Pretty printing
44096 2010-05-31 Petr Baudis <pasky@suse.cz>
44099 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44100 initialization of skip_initgroups_dyn.
44102 2010-11-19 Ulrich Drepper <drepper@gmail.com>
44104 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44107 2010-11-16 Ulrich Drepper <drepper@gmail.com>
44109 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44111 2010-11-11 Andreas Schwab <schwab@redhat.com>
44113 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44114 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44115 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44116 ($(objpfx)tst-fnmatch-mem): New rule.
44117 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44118 * posix/tst-fnmatch.c (main): Call mtrace.
44120 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44123 Support Intel processor model 6 and model 0x2c.
44125 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
44127 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44130 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44133 * string/test-strncasecmp.c (check_result): New function.
44134 (do_one_test): Use it.
44135 (check1): New function.
44136 (test_main): Use it.
44137 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44138 Support strcasecmp and strncasecmp.
44140 2010-11-08 Ulrich Drepper <drepper@gmail.com>
44143 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44144 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44146 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44148 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44152 * sysdeps/x86_64/multiarch/bzero.S: New file.
44153 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44154 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44155 * sysdeps/x86_64/multiarch/memset.S: New file.
44156 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44158 Set bit_Prefer_SSE_for_memop for Intel processors.
44159 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44161 (index_Prefer_SSE_for_memop): Define.
44162 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44164 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
44166 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44167 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44169 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44172 * sysdeps/i386/i686/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.
44177 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44178 (__x86_64_raw_data_cache_size_half): Likewise.
44179 (__x86_64_raw_shared_cache_size): Likewise.
44180 (__x86_64_raw_shared_cache_size_half): Likewise.
44181 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44182 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44183 and __x86_64_raw_shared_cache_size_half. Round
44184 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44185 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44186 to multiple of 256 bytes.
44188 2010-11-03 Ulrich Drepper <drepper@gmail.com>
44191 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44192 of inacessible symlinks. Verify result of symlink before returning it.
44193 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44194 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44196 2010-10-28 Erich Ritz <erichritz@gmail.com>
44198 * math/math.h (isinf): Fix typo in comment.
44200 2010-11-01 Ulrich Drepper <drepper@gmail.com>
44202 * po/da.po: Update from translation team.
44204 2010-10-26 Ulrich Drepper <drepper@gmail.com>
44206 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44207 is added to the list.
44209 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44210 Ulrich Drepper <drepper@gmail.com>
44212 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44213 the global list here. Move code to...
44214 (_dl_add_to_namespace_list): ...here. New function.
44215 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44216 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44217 * elf/dl-load.c (lose): Don't remove the element from the list.
44218 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44219 (_dl_map_object): Likewise.
44221 2010-10-25 Ulrich Drepper <drepper@gmail.com>
44224 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44225 into all bytes of SSE register.
44226 Patch by Richard Li <richardpku@gmail.com>.
44228 2010-10-24 Ulrich Drepper <drepper@gmail.com>
44231 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44234 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44236 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44237 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44238 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44239 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44244 2010-10-22 Andreas Schwab <schwab@redhat.com>
44246 * include/dlfcn.h (__RTLD_SECURE): Define.
44247 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44248 mode & __RTLD_SECURE instead.
44249 (open_path): Rename preloaded parameter to secure.
44250 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44251 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44252 * elf/dl-deps.c (openaux): Likewise.
44253 * elf/rtld.c (struct map_args): Remove is_preloaded.
44254 (map_doit): Don't use it.
44255 (dl_main): Likewise.
44256 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44257 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44259 2010-09-09 Andreas Schwab <schwab@redhat.com>
44261 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44262 (sysd-rules-targets): Remove duplicates.
44263 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44264 rtld-%.$o dependency.
44266 2010-10-18 Andreas Schwab <schwab@redhat.com>
44268 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44269 _dl_map_object do it.
44271 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44273 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44274 fast fma builtins, define the macros in the C99 standard.
44275 (FP_FAST_FMAF): Likewise.
44276 (FP_FAST_FMAL): Likewise.
44277 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44279 * bits/mathdef.h: Update copyright year.
44280 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44282 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44284 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44285 builtins, define the macros in the C99 standard.
44286 (FP_FAST_FMAF): Likewise.
44287 (FP_FAST_FMAL): Likewise.
44288 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44290 (FP_FAST_FMAF): Likewise.
44292 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44295 * math/libm-test.inc (fma_test): Some new testcases.
44296 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44297 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44298 y and infinite z. Do multiplication by C already in long double.
44299 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44301 y and infinite z. Do bitwise or of inexact bit into u.d.
44302 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44303 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44304 * sysdeps/i386/fpu/s_fma.S: Removed.
44305 * sysdeps/i386/fpu/s_fmal.S: Removed.
44307 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44310 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44311 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44312 computation is not scheduled after fetestexcept. Fix value
44313 of minimum denormal long double.
44315 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44318 * math/libm-test.inc (fma_test): Add some more tests.
44319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44322 2010-10-15 Andreas Schwab <schwab@redhat.com>
44324 * scripts/data/localplt-s390-linux-gnu.data: New file.
44325 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44327 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44330 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44331 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44333 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44335 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44337 if one of x and y is very large and the other is subnormal.
44338 * sysdeps/s390/fpu/s_fmaf.c: New file.
44339 * sysdeps/s390/fpu/s_fma.c: New file.
44340 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44341 * sysdeps/powerpc/fpu/s_fma.S: New file.
44342 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44343 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44344 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44346 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44349 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44351 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44352 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44353 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44354 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44355 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44356 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44357 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44359 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44362 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44363 * posix/bug-regex31.input: Add test case.
44365 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44367 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44368 * posix/bug-regex31.input: New file.
44371 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44372 (parse_sub_exp): Fix last change, use postorder.
44374 * posix/bug-regex31.c: New file.
44375 * posix/Makefile: Add rules to build and run bug-regex31.
44377 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44380 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44383 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44384 to have entries in sys_siglist.
44387 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44390 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44393 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44394 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44395 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44396 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44397 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44398 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44399 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44400 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44401 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44402 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44403 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44404 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44405 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44406 * math/ftestexcept.c (fetestexcept): Likewise.
44407 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44408 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44409 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44410 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44411 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44412 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44413 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44415 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44418 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44421 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44423 * string/bug-strstr1.c: New file.
44424 * string/Makefile: Add rules to build and run bug-strstr1.
44426 2010-10-05 Eric Blake <eblake@redhat.com>
44429 * string/str-two-way.h (two_way_long_needle): Always clear memory
44430 when skipping input due to the shift table.
44432 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44435 * malloc/mcheck.c: Handle large requests.
44438 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44439 for strncmp and strncasecmp.
44440 * string/stratcliff.c: Add tests for strcmp and strncmp.
44441 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44443 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44445 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44448 2010-09-30 Andreas Jaeger <aj@suse.de>
44450 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44451 (CGROUP_SUPER_MAGIC): Define.
44452 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44453 Handle btrfs and cgroup file systems.
44454 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44457 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44459 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44460 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44462 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44465 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44466 trying to locate the ELF header.
44468 2010-09-27 Andreas Schwab <schwab@redhat.com>
44471 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44472 Mask out sign-bit copies when constructing f_fsid.
44474 2010-09-24 Petr Baudis <pasky@suse.cz>
44476 * debug/stack_chk_fail_local.c: Add missing licence exception.
44477 * debug/warning-nop.c: Likewise.
44479 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44481 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44482 implementing getdents64 using getdents syscall, set d_type if
44483 __ASSUME_GETDENTS32_D_TYPE.
44485 2010-09-16 Andreas Schwab <schwab@redhat.com>
44487 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44488 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44490 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44493 * posix/unistd.h: Undo change of feature selection for ftruncate from
44496 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44498 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44501 2010-09-20 Andreas Schwab <schwab@redhat.com>
44503 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44505 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44507 2010-09-14 Andreas Schwab <schwab@redhat.com>
44509 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44510 variables after CHECK_SP call.
44511 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44513 2010-09-13 Andreas Schwab <schwab@redhat.com>
44514 Ulrich Drepper <drepper@redhat.com>
44516 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44517 re-relocationg ld.so.
44518 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44519 _dl_init_paths call.
44520 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44523 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44525 * resolv/res_init.c (__res_vinit): Count the default server we added.
44527 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44528 Ulrich Drepper <drepper@redhat.com>
44531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44532 (____longjmp_chk): Use %ebx for saving value across system call.
44535 2010-09-06 Andreas Schwab <schwab@redhat.com>
44537 * manual/Makefile: Don't mix pattern rules with normal rules.
44539 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44541 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44543 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44544 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44545 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44546 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44547 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44550 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44553 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44554 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44556 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44558 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44559 * sysdeps/x86_64/addmul_1.S: Likewise.
44560 * sysdeps/x86_64/lshift.S: Likewise.
44561 * sysdeps/x86_64/mul_1.S: Likewise.
44562 * sysdeps/x86_64/rshift.S: Likewise.
44563 * sysdeps/x86_64/sub_n.S: Likewise.
44564 * sysdeps/x86_64/submul_1.S: Likewise.
44566 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44568 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44569 Define __sched_param instead of SCHED_* and sched_param when
44570 <bits/sched.h> is included with __need_schedparam defined.
44571 * bits/sched.h [__need_schedparam]
44572 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44573 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44574 (__defined_schedparam): Define to 1.
44575 (__sched_param): New structure, identical to sched_param.
44576 (__need_schedparam): Undefine.
44578 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44580 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44581 (epoll_create1): Declare.
44583 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44585 2010-08-31 Andreas Schwab <schwab@redhat.com>
44588 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44589 shifting retval into place.
44591 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44593 * nis/rpcsvc/nis.h: Update copyright notice.
44594 * nis/rpcsvc/nis.x: Likewise.
44595 * nis/rpcsvc/nis_callback.h: Likewise.
44596 * nis/rpcsvc/nis_callback.x: Likewise.
44597 * nis/rpcsvc/nis_object.x: Likewise.
44598 * nis/rpcsvc/nis_tags.h: Likewise.
44599 * nis/rpcsvc/yp.h: Likewise.
44600 * nis/rpcsvc/yp.x: Likewise.
44601 * nis/rpcsvc/ypupd.h: Likewise.
44602 * nis/yp_xdr.c: Likewise.
44603 * nis/ypupdate_xdr.c: Likewise.
44605 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44606 mainly the body of pmap_getport. Add parameters to specify timeouts.
44607 (pmap_getport): Use __libc_rpc_getport.
44608 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44609 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44610 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44612 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44617 2010-08-27 Roland McGrath <roland@redhat.com>
44619 * sysdeps/i386/i686/multiarch/Makefile
44620 (CFLAGS-varshift.c): New variable.
44622 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44624 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44625 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44629 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44631 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44633 * sysdeps/x86_64/strlen.S: Unroll the loop.
44634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44635 strlen-sse2 strlen-sse2-bsf.
44636 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44637 __strlen_no_bsf if bit_Slow_BSF is set.
44638 (__strlen_sse42): Removed.
44639 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44640 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44642 2010-08-25 Roland McGrath <roland@redhat.com>
44644 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44645 * sysdeps/x86_64/multiarch/varshift.c: New file.
44646 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44647 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44648 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44649 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44651 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44654 strlen-sse2 strlen-sse2-bsf.
44655 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44656 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44657 (__strlen_sse2): Removed.
44658 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44661 bit_Slow_BSF for Atom.
44662 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44663 (index_Slow_BSF): Define.
44664 (HAS_SLOW_BSF): Define.
44666 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44669 * resolv/res_init.c (__res_vinit): When no server address at all
44670 is given default to loopback.
44672 2010-08-24 Roland McGrath <roland@redhat.com>
44674 * configure.in: Remove config-name.h generation.
44675 * configure: Regenerated.
44676 * config-name.in: File removed.
44677 * scripts/config-uname.sh: New file.
44678 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44679 ($(objdir)config-name.h): New target.
44681 * sunrpc/rpc_parse.h: Avoid nested comment.
44683 2010-08-24 Richard Henderson <rth@redhat.com>
44684 Ulrich Drepper <drepper@redhat.com>
44685 H.J. Lu <hongjiu.lu@intel.com>
44687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44689 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44690 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44691 _mm_alignr_epi8 with _mm_loadu_si128.
44692 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44693 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44694 (__m128i_shift_right): Removed.
44695 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44696 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44697 * sysdeps/x86_64/multiarch/varshift.h: New file.
44698 * sysdeps/x86_64/multiarch/varshift.S: New file.
44700 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44702 * configure.in: Move assembler checks to before sysdep dir checking.
44704 2010-08-20 Petr Baudis <pasky@suse.cz>
44706 * LICENSES: Sync the sunrpc license.
44708 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44710 * sunrpc/auth_des.c: Update copyright notice once again.
44711 * sunrpc/auth_none.c: Likewise.
44712 * sunrpc/auth_unix.c: Likewise.
44713 * sunrpc/authdes_prot.c: Likewise.
44714 * sunrpc/authuxprot.c: Likewise.
44715 * sunrpc/bindrsvprt.c: Likewise.
44716 * sunrpc/clnt_gen.c: Likewise.
44717 * sunrpc/clnt_perr.c: Likewise.
44718 * sunrpc/clnt_raw.c: Likewise.
44719 * sunrpc/clnt_simp.c: Likewise.
44720 * sunrpc/clnt_tcp.c: Likewise.
44721 * sunrpc/clnt_udp.c: Likewise.
44722 * sunrpc/clnt_unix.c: Likewise.
44723 * sunrpc/des_crypt.c: Likewise.
44724 * sunrpc/des_soft.c: Likewise.
44725 * sunrpc/get_myaddr.c: Likewise.
44726 * sunrpc/getrpcport.c: Likewise.
44727 * sunrpc/key_call.c: Likewise.
44728 * sunrpc/key_prot.c: Likewise.
44729 * sunrpc/openchild.c: Likewise.
44730 * sunrpc/pm_getmaps.c: Likewise.
44731 * sunrpc/pm_getport.c: Likewise.
44732 * sunrpc/pmap_clnt.c: Likewise.
44733 * sunrpc/pmap_prot.c: Likewise.
44734 * sunrpc/pmap_prot2.c: Likewise.
44735 * sunrpc/pmap_rmt.c: Likewise.
44736 * sunrpc/rpc/auth.h: Likewise.
44737 * sunrpc/rpc/auth_unix.h: Likewise.
44738 * sunrpc/rpc/clnt.h: Likewise.
44739 * sunrpc/rpc/des_crypt.h: Likewise.
44740 * sunrpc/rpc/key_prot.h: Likewise.
44741 * sunrpc/rpc/netdb.h: Likewise.
44742 * sunrpc/rpc/pmap_clnt.h: Likewise.
44743 * sunrpc/rpc/pmap_prot.h: Likewise.
44744 * sunrpc/rpc/pmap_rmt.h: Likewise.
44745 * sunrpc/rpc/rpc.h: Likewise.
44746 * sunrpc/rpc/rpc_des.h: Likewise.
44747 * sunrpc/rpc/rpc_msg.h: Likewise.
44748 * sunrpc/rpc/svc.h: Likewise.
44749 * sunrpc/rpc/svc_auth.h: Likewise.
44750 * sunrpc/rpc/types.h: Likewise.
44751 * sunrpc/rpc/xdr.h: Likewise.
44752 * sunrpc/rpc_clntout.c: Likewise.
44753 * sunrpc/rpc_cmsg.c: Likewise.
44754 * sunrpc/rpc_common.c: Likewise.
44755 * sunrpc/rpc_cout.c: Likewise.
44756 * sunrpc/rpc_dtable.c: Likewise.
44757 * sunrpc/rpc_hout.c: Likewise.
44758 * sunrpc/rpc_main.c: Likewise.
44759 * sunrpc/rpc_parse.c: Likewise.
44760 * sunrpc/rpc_parse.h: Likewise.
44761 * sunrpc/rpc_prot.c: Likewise.
44762 * sunrpc/rpc_sample.c: Likewise.
44763 * sunrpc/rpc_scan.c: Likewise.
44764 * sunrpc/rpc_scan.h: Likewise.
44765 * sunrpc/rpc_svcout.c: Likewise.
44766 * sunrpc/rpc_tblout.c: Likewise.
44767 * sunrpc/rpc_util.c: Likewise.
44768 * sunrpc/rpc_util.h: Likewise.
44769 * sunrpc/rpcinfo.c: Likewise.
44770 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44771 * sunrpc/rpcsvc/key_prot.x: Likewise.
44772 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44773 * sunrpc/rpcsvc/mount.x: Likewise.
44774 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44775 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44776 * sunrpc/rpcsvc/rex.x: Likewise.
44777 * sunrpc/rpcsvc/rstat.x: Likewise.
44778 * sunrpc/rpcsvc/rusers.x: Likewise.
44779 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44780 * sunrpc/rpcsvc/spray.x: Likewise.
44781 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44782 * sunrpc/rtime.c: Likewise.
44783 * sunrpc/svc.c: Likewise.
44784 * sunrpc/svc_auth.c: Likewise.
44785 * sunrpc/svc_authux.c: Likewise.
44786 * sunrpc/svc_raw.c: Likewise.
44787 * sunrpc/svc_run.c: Likewise.
44788 * sunrpc/svc_simple.c: Likewise.
44789 * sunrpc/svc_tcp.c: Likewise.
44790 * sunrpc/svc_udp.c: Likewise.
44791 * sunrpc/svc_unix.c: Likewise.
44792 * sunrpc/svcauth_des.c: Likewise.
44793 * sunrpc/xcrypt.c: Likewise.
44794 * sunrpc/xdr.c: Likewise.
44795 * sunrpc/xdr_array.c: Likewise.
44796 * sunrpc/xdr_float.c: Likewise.
44797 * sunrpc/xdr_mem.c: Likewise.
44798 * sunrpc/xdr_rec.c: Likewise.
44799 * sunrpc/xdr_ref.c: Likewise.
44800 * sunrpc/xdr_sizeof.c: Likewise.
44801 * sunrpc/xdr_stdio.c: Likewise.
44803 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44806 2010-08-19 Andreas Schwab <schwab@redhat.com>
44808 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44810 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44812 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44813 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44814 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44815 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44816 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44817 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44818 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44819 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44820 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44821 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44822 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44823 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44824 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44825 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44827 2010-07-26 Anton Blanchard <anton@samba.org>
44829 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44830 * malloc/arena.c (heap_trim): Likewise.
44832 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44834 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44837 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44839 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44841 * sysdeps/i386/elf/Makefile: New file.
44843 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44845 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44846 from fanotify_init.
44847 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44850 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44852 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44854 * sysdeps/multiarch/strcmp.S: Likewise.
44856 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44858 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44859 strncase_l-nonascii.
44860 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44861 Add strncase_l-ssse3.
44862 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44863 * sysdeps/x86_64/strcmp.S: Likewise.
44864 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44865 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44866 * sysdeps/x86_64/strncase.S: New file.
44867 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44868 * sysdeps/x86_64/strncase_l.S: New file.
44869 * string/Makefile (strop-tests): Add strncasecmp.
44870 * string/test-strncasecmp.c: New file.
44872 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44875 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44876 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44878 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44880 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44882 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44884 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44885 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44886 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44888 2010-05-01 Alan Modra <amodra@gmail.com>
44890 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44891 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44892 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44893 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44894 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44895 tidying. Don't tail-call __sigjmp_save for static lib.
44896 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44898 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44899 (CALL_MCOUNT): Add eh info, and nop after bl.
44900 (TAIL_CALL_SYSCALL_ERROR): New macro.
44901 (PSEUDO_RET): Use it.
44902 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44903 Correct save location of integer regs and cr.
44904 (_dl_profile_resolve): Correct cr save location. Delete nops
44905 after bl when SHARED. Reduce cfi size a little by better
44906 placement of cfi directives.
44907 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44908 make a stack frame. Instead use parm save area as a temp.
44909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44910 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44912 Don't make a stack frame for parent, use parm save area.
44913 Increase child stack frame to 112 bytes. Don't save unused reg,
44914 and adjust reg usage. Set up cfi on error recovery and
44915 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44917 (__makecontext): Add dummy nop after jump to exit.
44918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44919 Use correct parm save area and cr save, reduce stack frame.
44920 Correct cfi for possible PSEUDO_RET frame setup.
44921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44922 Branch to local label emitted by PSEUDO_RET rather than
44925 2010-08-12 Andreas Schwab <schwab@redhat.com>
44928 * locale/programs/locale.c (print_assignment): New function.
44929 (show_locale_vars): Use it.
44931 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44933 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44935 (struct statfs64): Likewise.
44936 (_STATFS_F_FLAGS): Define.
44937 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44938 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44939 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44940 (ST_VALID): Define locally.
44941 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44942 __statvfs_getflags, use the provided value.
44943 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44944 __ASSUME_STATFS_F_FLAGS.
44946 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44948 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44949 Add sys/fanotify.h.
44950 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44951 fanotify_mask for GLIBC_2.13.
44952 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44953 fanotify_init and fanotify_mark.
44954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44955 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44957 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44959 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44960 prlimit64 for GLIBC_2.13.
44961 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44963 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44966 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44967 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44968 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44971 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44974 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44975 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44977 * nss/Makefile: Add rules to build and run tst-nss-test1.
44978 * shlib-versions: Add entry for libnss_test1.
44979 * nss/nss_test1.c: New file.
44980 * nss/tst-nss-test1.c: New file.
44982 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44983 (__nss_configure_lookup): Set appropriate entry in
44984 __nss_configure_lookup to true.
44985 * nss/nsswitch.h: Define enum with indeces of databases in
44986 databases and __nss_database_custom arrays. Declare
44987 __nss_database_custom.
44988 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44989 to avoid using nscd when custom rules are installed.
44990 * nss/getXXbyYY_r.c: Likewise.
44991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44993 * nss/nss_files/files-parse.c: Whitespace fixes.
44995 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44998 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44999 * posix/fnmatch_loop.c: Likewise.
45001 2010-07-17 Andi Kleen <ak@linux.intel.com>
45003 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45004 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45005 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45006 * Versions.def [GLIBC_2.13]: Add.
45008 2010-08-06 Ulrich Drepper <drepper@redhat.com>
45010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45011 Also fail if tpwd after pwuid call is NULL.
45013 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45015 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45016 when converting to ms.
45018 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45020 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45021 EOPNOTSUPP errors with ENOTTY.
45022 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45023 EOPNOTSUPP errors with ENOTTY.
45025 2010-07-31 Ulrich Drepper <drepper@redhat.com>
45027 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45028 Add strcasecmp_l-ssse3.
45029 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45031 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45032 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45033 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45035 2010-07-30 Ulrich Drepper <drepper@redhat.com>
45037 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45039 * string/Makefile (strop-tests): Add strcasecmp.
45040 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45041 strcasecmp_l-nonascii.
45042 (gen-as-const-headers): Add locale-defines.sym.
45043 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45044 * sysdeps/x86_64/strcasecmp.S: New file.
45045 * sysdeps/x86_64/strcasecmp_l.S: New file.
45046 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45047 * sysdeps/x86_64/locale-defines.sym: New file.
45048 * string/test-strcasecmp.c: New file.
45050 * string/test-strcasestr.c: Test both ends of the range of characters.
45051 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45053 2010-07-29 Roland McGrath <roland@redhat.com>
45056 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45058 2010-07-27 Ulrich Drepper <drepper@redhat.com>
45060 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45063 2010-07-27 Andreas Schwab <schwab@redhat.com>
45065 * manual/memory.texi (Malloc Tunable Parameters): Document
45068 2010-07-26 Roland McGrath <roland@redhat.com>
45071 * configure.in (-fgnu89-inline check): Set and substitute
45072 gnu89_inline, not libc_cv_gnu89_inline.
45073 * configure: Regenerated.
45074 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45076 2010-07-26 Ulrich Drepper <drepper@redhat.com>
45078 * string/test-strnlen.c: New file.
45079 * string/Makefile (strop-tests): Add strnlen.
45080 * string/tester.c (test_strnlen): Add a few more test cases.
45081 * string/tst-strlen.c: Better error reporting.
45083 * sysdeps/x86_64/strnlen.S: New file.
45085 2010-07-24 Ulrich Drepper <drepper@redhat.com>
45087 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45088 lower-latency instructions.
45090 2010-07-23 Ulrich Drepper <drepper@redhat.com>
45092 * string/test-strcasestr.c: New file.
45093 * string/test-strstr.c: New file.
45094 * string/Makefile (strop-tests): Add strstr and strcasestr.
45095 * string/str-two-way.h: Don't undefine MAX.
45096 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45098 2010-07-21 Andreas Schwab <schwab@redhat.com>
45100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45101 strcasestr-nonascii.
45102 (CFLAGS-strcasestr-nonascii.c): Define.
45103 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45104 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45105 Remove unused attribute.
45107 2010-07-20 Roland McGrath <roland@redhat.com>
45109 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45110 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45111 ld.so.cache was broken. With it, there is no way to disable dsocaps
45112 like LD_HWCAP_MASK can disable hwcaps.
45114 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45116 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45118 2010-07-16 Ulrich Drepper <drepper@redhat.com>
45120 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45121 call in strcasestr.
45122 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45123 __strcasestr_sse42_nonascii.
45124 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45125 strcasestr-nonascii.c.
45126 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45128 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
45130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45131 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45132 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45133 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45135 2010-07-09 Ulrich Drepper <drepper@redhat.com>
45137 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45140 2010-07-06 Andreas Schwab <schwab@redhat.com>
45143 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45146 2010-07-06 Ulrich Drepper <drepper@redhat.com>
45148 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45149 _PC_PIPE_BUF using F_GETPIPE_SZ.
45151 2010-07-05 Roland McGrath <roland@redhat.com>
45153 * manual/arith.texi (Rounding Functions): Fix rint description
45154 implicit in round description.
45156 2010-07-02 Ulrich Drepper <drepper@redhat.com>
45158 * elf/Makefile: Fix linking for a few tests to make recent linker
45161 2010-06-30 Andreas Schwab <schwab@redhat.com>
45163 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45164 $(common-objpfx)libc_nonshared.a.
45166 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
45168 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45169 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45170 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45171 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45172 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45173 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45174 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45175 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45190 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45191 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45192 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45193 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45194 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45195 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45196 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45197 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45198 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45199 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45200 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45201 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45217 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45219 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45220 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45221 * string/memmove.c (memmove): Renamed to ...
45222 (MEMMOVE): ...this. Default to memmove.
45223 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45224 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45227 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45228 mempcpy-ssse3-back memmove-ssse3-back.
45229 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45230 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45231 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45232 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45233 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45234 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45235 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45236 * sysdeps/x86_64/multiarch/memmove.c: New file.
45237 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45238 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45239 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45240 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45241 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45242 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45244 (index_Fast_Copy_Backward): Define.
45245 (HAS_ARCH_FEATURE): Define.
45246 (HAS_FAST_REP_STRING): Define.
45247 (HAS_FAST_COPY_BACKWARD): Define.
45249 2010-06-21 Andreas Schwab <schwab@redhat.com>
45251 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45252 Restore proper fallback handling.
45254 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45257 * posix/group_member.c (__group_member): Correct checking loop.
45259 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45260 OOM in getpwuid_r correctly. Return error number when the caller
45261 should return, otherwise -1.
45262 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45263 call returning > 0 value.
45264 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45266 2010-06-07 Andreas Schwab <schwab@redhat.com>
45268 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45269 libc_nonshared.a from targets in modules-names.
45271 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45273 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45276 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45278 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45279 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45280 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45281 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45283 2010-06-02 Andreas Schwab <schwab@redhat.com>
45285 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45287 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45289 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45298 2010-06-14 Roland McGrath <roland@redhat.com>
45300 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45302 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45304 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45305 __REDIRECT followed by __THROW.
45306 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45307 * posix/getopt.h (getopt): Likewise.
45309 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45311 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45312 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45313 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45315 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45316 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45318 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45320 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45322 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45326 Properly check family and model.
45328 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45330 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45332 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45334 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45336 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45338 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45341 2010-05-19 Andreas Schwab <schwab@redhat.com>
45343 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45346 2010-05-21 Andreas Schwab <schwab@redhat.com>
45348 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45349 and internal_recvmmsg.
45350 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45351 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45352 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45353 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45355 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45356 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45357 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45359 2010-05-20 Andreas Schwab <schwab@redhat.com>
45361 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45363 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45365 POWER7 optimizations.
45366 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45367 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45369 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45371 * version.h: Update for 2.13 development version.
45373 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45375 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45376 exceptions. Return 0.
45378 2010-05-07 Roland McGrath <roland@redhat.com>
45380 * elf/ldconfig.c (main): Add a const.
45382 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45384 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45385 (args_options): Add no-idn option.
45386 (ahosts_keys_int): Add idn_flags to ai_flags.
45387 (parse_option): Handle 'i' option to clear idn_flags.
45389 * malloc/malloc.c (_int_free): Possible race in the most recently
45390 added check. Only act on the data if no current modification
45393 See ChangeLog.17 for earlier changes.