1 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3 * sysdeps/aarch64/fpu/math_private.h
4 (libc_feholdsetround_noex_aarch64_ctx): New function.
6 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8 * sysdeps/arm/armv6/strcpy.S (strcpy):
9 Fix performance issue in misaligned cases.
11 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14 Move definition from termios.h.
15 (struct termio): Likewise.
16 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
18 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22 Move definition to ioctl-types.h
23 (struct termio): Likewise.
24 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30 2014-08-05 Richard Henderson <rth@redhat.com>
32 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
34 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
38 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
39 Protect libm symbols with IS_IN_libm.
41 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
43 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
45 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
47 2014-08-04 Will Newton <will.newton@linaro.org>
49 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
52 2014-08-04 Mike Frysinger <vapier@gentoo.org>
54 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
55 variants for each function.
57 2014-08-04 Roland McGrath <roland@hack.frob.com>
59 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
61 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
62 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
64 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
65 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
66 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
67 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
68 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
69 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
70 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
71 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
72 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
73 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
74 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
75 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
76 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
77 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
78 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
79 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
80 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
81 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
82 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
83 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
84 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
85 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
86 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
87 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
88 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
89 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
90 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
91 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
93 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
95 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
97 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
99 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
100 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
101 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
102 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
103 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
104 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
105 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
106 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
107 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
108 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
109 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
110 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
111 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
112 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
113 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
114 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
115 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
116 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
118 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
119 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
121 2014-08-04 Roland McGrath <roland@hack.frob.com>
123 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
124 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
125 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
126 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
127 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
128 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
130 2014-08-04 Roland McGrath <roland@hack.frob.com>
132 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
133 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
134 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
135 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
137 2014-08-04 Roland McGrath <roland@hack.frob.com>
139 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
140 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
141 (__libc_vfork): Define function under this name.
142 (__vfork): Define as an alias.
143 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
144 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
146 2014-08-04 Roland McGrath <roland@hack.frob.com>
148 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
149 that was previously under [RESET_PID].
150 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
152 2014-08-04 Andreas Schwab <schwab@suse.de>
154 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
156 2014-08-03 Mike Frysinger <vapier@gentoo.org>
158 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
161 2014-08-01 Roland McGrath <roland@hack.frob.com>
163 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
165 2014-08-01 Richard Henderon <rth@redhat.com>
167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
168 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
169 typo in exact zero test.
170 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
171 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
172 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
174 2014-08-01 Roland McGrath <roland@hack.frob.com>
176 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
177 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
178 * sysdeps/arm/sysdep.h: ... here.
179 [!__ASSEMBLER__]: Include <stdint.h>.
181 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
183 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
184 (HAVE_WCTYPE_H): Likewise.
185 (HAVE_ISWCTYPE): Likewise.
186 (ENABLE_NLS): Likewise.
187 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
188 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
190 * posix/regex_internal.c: Check if DEBUG is defined and is
193 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
194 (HAVE_MBSRTOWCS): Likewise.
195 * posix/fnmatch.c: Include string.h unconditionally.
197 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
199 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
202 2014-07-31 Roland McGrath <roland@hack.frob.com>
204 * sysdeps/generic/safe-fatal.h: New file.
205 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
206 * nptl/forward.c: Include it.
207 (__pthread_unwind): Use __safe_fatal as default action, rather
208 than a bogus use of INTERNAL_SYSCALL that could never work.
210 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
211 * configure.ac (libc_cv_builtin_trap): New test.
212 * configure: Regenerated.
213 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
214 (ABORT_INSTRUCTION): Define using __builtin_trap.
216 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
217 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
218 * sysdeps/nptl/nptl-signals.h: New file.
219 * nptl/pthreadP.h: Include <nptl-signals.h>.
221 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
223 * sysdeps/s390/s390-64/utf16-utf32-z9.c
224 (ONE_DIRECTION): Define.
225 * sysdeps/s390/s390-64/utf8-utf16-z9.c
226 (ONE_DIRECTION): Define.
227 * sysdeps/s390/s390-64/utf8-utf32-z9.c
228 (ONE_DIRECTION): Define.
230 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
232 * sysdeps/s390/Makefile: Delete file.
233 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
234 * sysdeps/s390/__longjmp.c: Delete file.
235 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
236 Remove fields __flags and __reserved.
237 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
239 * sysdeps/s390/rtld-__longjmp.c: Delete file.
240 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
241 * sysdeps/s390/rtld-setjmp.S: Likewise.
242 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
243 * sysdeps/s390/s390-32/__longjmp.c: ... here.
244 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
245 * sysdeps/s390/s390-32/setjmp.S: ... here.
247 (__sigsetjmp): Remove setting __flags field.
248 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
249 * sysdeps/s390/s390-64/__longjmp.c: ... here.
250 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
251 * sysdeps/s390/s390-64/setjmp.S: ... here.
253 (__sigsetjmp): Remove setting __flags field.
254 * sysdeps/s390/setjmp.S: Delete file.
255 * sysdeps/s390/sigjmp.c: Likewise.
256 * sysdeps/s390/v1-longjmp.c: Likewise.
257 * sysdeps/s390/v1-setjmp.h: Likewise.
258 * sysdeps/s390/v1-sigjmp.c: Likewise.
259 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
260 Remove v1-longjmp_chk.
261 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
262 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
263 Include debug/longjmp_chk.c and add versioning.
264 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
265 Include nptl/pt-longjmp.c and add versioning.
266 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
267 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
269 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
271 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
272 (__getcontext): Remove setting __flags field.
274 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
275 Don't restore upper high grps.
276 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
278 (__swapcontext): Remove setting uc_flags field.
279 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
281 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
283 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
285 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
286 (__getcontext): Remove setting __flags field.
288 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
289 (__swapcontext): Remove setting uc_flags field.
290 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
291 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
292 Remove fields uc_high_gprs and __reserved.
293 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
294 New file with reverted content.
295 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
296 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
298 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
301 2014-07-31 Andreas Schwab <schwab@suse.de>
303 * config.h.in (HAVE_IFUNC): Define to 0.
304 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
307 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
310 memmove-avx-unaligned, memcpy-avx-unaligned and
311 mempcpy-avx-unaligned.
312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
313 Add tests for AVX memcpy functions.
314 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
315 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
317 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
318 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
320 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
321 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
323 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
324 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
325 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
327 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
333 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
336 * manual/llio.texi: Add section about open file description locks.
337 * manual/examples/ofdlocks.c: Example of open file description
339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
340 F_OFD_SETLK, and F_OFD_SETLKW.
342 2014-07-23 Allan McRae <allan@archlinux.org>
344 * po/es.po: Update Spanish translation from translation project.
346 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
348 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
350 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
353 * sysdeps/arm/dl-machine.h (elf_machine_rela)
354 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
355 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
357 2014-07-17 Joseph Myers <joseph@codesourcery.com>
360 * math/fesetenv.c (__fesetenv)
361 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
362 * math/feupdateenv.c (__feupdateenv)
363 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
365 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
366 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
367 (__ASSUME_SOCKETCALL): Do not define.
369 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
370 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
371 (__ASSUME_SOCKETCALL): Do not define.
372 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
373 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
374 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
375 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
376 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
377 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
378 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
379 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
381 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
382 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
383 (__ASSUME_SOCKETCALL): Do not define.
384 (__ASSUME_IPC64): Define unconditionally.
385 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
386 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
387 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
388 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
389 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
390 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
391 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
394 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
395 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
396 (__ASSUME_SOCKETCALL): Do not define.
397 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
398 (__ASSUME_FUTEX_LOCK_PI): Likewise.
399 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
400 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
401 (__ASSUME_REQUEUE_PI): Define unconditionally.
402 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
403 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
404 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
405 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
406 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
407 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
409 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
410 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
411 (__ASSUME_SOCKETCALL): Do not define.
412 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
413 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
414 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
415 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
416 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
417 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
419 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
420 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
421 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
422 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
423 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
424 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
425 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
426 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
427 (__ASSUME_GETCPU_SYSCALL): Likewise.
429 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
430 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
431 cases for individual architectures.
432 * sysdeps/gnu/configure: Regenerated.
433 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
434 LIBC_SLIBDIR_RTLDDIR.
435 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
436 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
437 LIBC_SLIBDIR_RTLDDIR.
438 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
440 LIBC_SLIBDIR_RTLDDIR.
441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
443 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
444 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
446 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
447 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
449 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
450 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
451 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
452 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
454 * sysdeps/aarch64/shlib-versions: Move to ...
455 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
456 * sysdeps/alpha/shlib-versions: Move to ...
457 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
458 * sysdeps/arm/shlib-versions: Move to ...
459 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
460 * sysdeps/hppa/shlib-versions: Move all contents except for
461 libgcc_s entry to ...
462 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
464 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
465 * sysdeps/ia64/shlib-versions: Move to ...
466 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
468 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
469 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
470 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
471 * sysdeps/microblaze/shlib-versions: Move to ...
472 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
473 * sysdeps/mips/shlib-versions: Move to ...
474 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
476 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
477 * sysdeps/tile/shlib-versions: Move to ...
478 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
479 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
481 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
482 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
484 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
486 2014-07-17 Will Newton <will.newton@linaro.org>
488 * sysdeps/arm/bits/atomic.h
489 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
490 (__arch_compare_and_exchange_bool_16_int): Likewise.
491 (__arch_compare_and_exchange_bool_64_int): Likewise.
493 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
496 2014-07-16 Roland McGrath <roland@hack.frob.com>
498 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
499 just Linux configurations. Test empirically that the compiler sets
500 __ARM_EABI__, rather than using the tuple to decide.
501 * sysdeps/arm/preconfigure: Regenerated.
502 * sysdeps/unix/sysv/linux/arm/configure: File removed.
503 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
504 contents appended ...
505 * sysdeps/arm/configure.ac: ... here.
506 * sysdeps/arm/configure: Regenerated.
508 2014-07-15 Roland McGrath <roland@hack.frob.com>
510 * nptl/pthread_kill.c: New file.
511 * nptl/pthread_sigmask.c: New file.
512 * nptl/pthread_sigqueue.c: New file.
514 * sysdeps/nptl/lowlevellock.h: New file.
515 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
516 * sysdeps/nptl/lowlevellock-futex.h: New file.
518 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
519 Remove dead declarations.
521 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
523 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
524 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
526 * sysdeps/x86_64/configure.ac: Likewise.
527 * sysdeps/i386/configure: Regenerated.
528 * sysdeps/x86_64/configure: Likewise.
529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
530 memset-avx2 only if config-cflags-avx2 is yes.
531 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
532 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
534 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
535 only if HAVE_AVX2_SUPPORT is defined.
536 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
538 2014-07-14 Alan Modra <amodra@gmail.com>
541 * elf/elf.h (DT_PPC64_NUM): Correct value.
542 * NEWS: Add to fixed bug list.
544 2014-07-13 Jim Meyering <meyering@fb.com>
547 regex: don't deref NULL upon heap allocation failure
548 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
549 failure in one more place.
550 To trigger the segfault, configure grep -with-included-regex,
551 build it, and run these commands:
552 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
554 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
556 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
558 2014-07-11 Richard Henderson <rth@redhat.com>
560 * sysdeps/aarch64/libm-test-ulps: Update.
562 2014-07-10 Florian Weimer <fweimer@redhat.com>
565 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
566 * nptl/allocatestack.c (__nptl_setxid_error): New function.
567 (__nptl_setxid): Initialize error member. Call
569 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
570 * nptl/descr.h (struct xid_command): Add error member.
571 * nptl/tst-setuid3.c: New file.
572 * nptl/Makefile (tests): Add it.
574 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
576 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
578 (__lll_trylock): Use __lll_base_trylock.
579 (__lll_cond_trylock): Likewise.
581 2014-07-10 Roland McGrath <roland@hack.frob.com>
583 * nptl/pthread_create.c (start_thread): Use atomic_or and
584 lll_futex_wake directly rather than lll_robust_dead.
585 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
586 (lll_robust_dead): Macro removed.
587 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
588 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
589 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
590 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
591 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
592 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
593 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
594 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
595 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
596 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
597 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
598 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
599 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
600 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
601 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
603 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
604 Use atomic_compare_and_exchange_val_acq directly rather than
606 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
607 (__lll_robust_trylock, lll_robust_trylock): Removed.
608 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
609 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
610 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
611 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
612 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
613 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
614 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
615 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
616 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
617 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
618 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
619 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
620 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
621 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
623 2014-07-02 Florian Weimer <fweimer@redhat.com>
625 * manual/locale.texi (Locale Names): New section documenting
626 locale name syntax. Adjust menu and node chaining accordingly.
627 (Choosing Locale): Reference Locale Names, Locale Categories.
628 Mention setting LC_ALL=C. Reflect that name syntax is now
630 (Locale Categories): New section title. Reference Locale Names.
631 LC_ALL is an environment variable, but not a category.
632 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
633 description, now in Locale Name. Reference that section. Locale
634 name syntax is now documented.
636 2014-07-02 Florian Weimer <fweimer@redhat.com>
639 * locale/findlocale.c (name_present, valid_locale_name): New
641 (_nl_find_locale): Use the loc_name variable to store name
642 candidates. Call name_present and valid_locale_name to check and
643 validate locale names. Return an error if the locale is invalid.
645 2014-07-02 Florian Weimer <fweimer@redhat.com>
647 * locale/setlocale.c (setlocale): Use strdup for allocating
650 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
653 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
654 [!_LIBC && ENABLE_NLS]: Include gettext.h.
655 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
657 [USE_UNLOCKED_IO]: Include unlocked-io.h.
658 [!_LIBC]: Include code for Windows and Cygwin.
659 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
660 Include prototype for int strerror_r.
661 [!_LIBC] (is_open): New function.
662 (flush_stdout): New function.
663 (print_errno_message): Use it.
665 (error_at_line): Likewise.
666 (error_tail) Add function attribute macros. Use
669 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
671 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
673 * io/ftw.c: Include sys/param.h unconditionally.
675 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
678 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
680 (freecache): New function to free CACHE on exit.
682 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
685 2014-07-09 David S. Miller <davem@davemloft.net>
687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
689 * sysdeps/sparc/nptl/internaltypes.h: Delete.
690 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
691 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
692 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
693 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
694 * sysdeps/sparc/nptl/sem_init.c: Likewise.
695 * sysdeps/sparc/nptl/sem_post.c: Likewise.
696 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
697 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
698 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
699 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
700 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
701 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
703 2014-07-09 Andreas Schwab <schwab@suse.de>
705 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
707 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
710 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
712 2014-07-09 Will Newton <will.newton@linaro.org>
714 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
715 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
716 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
717 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
718 * sysdeps/hppa/start.S (_start): Likewise.
720 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
722 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
724 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
727 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
729 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
730 after checking that it is non-NULL.
732 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
734 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
736 * sysdeps/powerpc/memmove.c: Remove file.
737 * sysdeps/powerpc/powerpc32/power4/memcopy.h
738 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
739 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
740 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
741 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
742 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
743 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
744 string memmove instead of removed powerpc one.
746 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
747 [weak_alias]: Fix compiler warning due trailing data.
748 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
749 [weak_alias]: Likewise.
750 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
751 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
754 (__libc_ifunc_impl_list): Add memmove functions.
756 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
758 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
760 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
762 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
764 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
766 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
768 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
770 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
772 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
774 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
776 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
778 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
780 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
782 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
784 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
786 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
788 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
790 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
793 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
795 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
796 to avoid alignment traps in non-cacheable memory.
797 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
801 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
802 file: multiarch power7 memmove.
803 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
804 multiarch default memmove.
805 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
806 multiarch memove for powerpc32/power4.
808 * string/bcopy.c: Use full path to include memmove.c.
809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
811 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
813 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
816 and memmove implementations.
817 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
818 optimized multiarch memmove for POWER7/powerpc64.
819 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
820 default multiarch memmove for powerpc64.
821 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
822 multiarch for powerpc64.
823 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
824 for POWER7/powerpc64.
825 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
826 memmove for POWER7/powerpc64.
828 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
831 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
832 __ELF_NATIVE_CLASS equal to 64.
834 2014-07-07 Roland McGrath <roland@hack.frob.com>
836 * sysdeps/nptl/lowlevellock.h: File removed.
838 * NEWS: NPTL is no longer an add-on!
839 * nptl/internaltypes.h: Moved ...
840 * sysdeps/nptl/internaltypes.h: ... here.
841 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
842 * sysdeps/nptl/fork.c: Likewise.
843 * sysdeps/nptl/gai_misc.h: Likewise.
844 * sysdeps/nptl/librt-cancellation.c: Likewise.
845 * sysdeps/nptl/jmp-unwind.c: Likewise.
846 * sysdeps/nptl/setxid.h: Likewise.
847 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
848 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
849 * sysdeps/unix/sysv/linux/arm/Implies: New file.
850 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
851 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
852 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
853 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
854 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
855 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
856 * sysdeps/unix/sysv/linux/mips/Implies: New file.
857 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
858 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
859 * sysdeps/unix/sysv/linux/sh/Implies: New file.
860 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
861 * sysdeps/unix/sysv/linux/tile/Implies: New file.
862 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
863 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
864 * nptl/Makeconfig: Moved ...
865 * sysdeps/nptl/Makeconfig: ... here.
866 * nptl/configure: File removed.
867 * nptl/ANNOUNCE: File removed.
868 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
869 * sysdeps/unix/sysv/linux/configure: Regenerated.
871 * nptl/Makefile (routines): Add libc_pthread_init,
872 libc_multiple_threads, register-atfork and unregister-atfork.
873 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
874 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
875 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
876 pthread-pi-defines.sym, structsem.sym.
877 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
878 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
879 [$(subdir) = nptl] (tests): Add tst-setgetname.
880 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
881 * sysdeps/unix/sysv/linux/sigaction.c: Just include
882 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
883 [!LIBC_SIGACTION]: Remove aliases.
884 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
885 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
886 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
887 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
888 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
889 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
890 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
892 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
893 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
894 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
895 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
896 __libc_allocate_rtsig_private.
897 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
898 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
899 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
900 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
901 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
902 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
903 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
904 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
905 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
906 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
907 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
908 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
909 * nptl/internaltypes.h: ... here.
910 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
911 * sysdeps/nptl/jmp-unwind.c: ... here.
912 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
913 * nptl/libc-lowlevellock.c: ... here.
914 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
915 * nptl/libc_multiple_threads.c: ... here.
916 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
917 * nptl/libc_pthread_init.c: ... here.
918 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
919 * nptl/lowlevelbarrier.sym: ... here.
920 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
921 * nptl/lowlevelcond.sym: ... here.
922 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
923 * nptl/lowlevellock.c: ... here.
924 * nptl/lowlevellock.h: Moved ...
925 * sysdeps/nptl/lowlevellock.h: ... here.
926 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
927 * nptl/lowlevelrobustlock.c: ... here.
928 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
929 * nptl/lowlevelrobustlock.sym: ... here.
930 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
931 * nptl/lowlevelrwlock.sym: ... here.
932 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
933 * nptl/pt-fork.c: ... here.
934 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
935 * nptl/pthread-pi-defines.sym: ... here.
936 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
937 * nptl/pthread_attr_getaffinity.c: ... here.
938 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
939 * nptl/pthread_attr_setaffinity.c: ... here.
940 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
941 * nptl/pthread_mutex_cond_lock.c: ... here.
942 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
944 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
945 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
946 * nptl/pthread_once.c: ... here, replacing old file.
947 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
948 * nptl/pthread_yield.c: ... here.
949 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
950 * nptl/register-atfork.c: ... here.
951 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
952 * nptl/sem_post.c: ... here.
953 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
954 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
955 * nptl/sem_timedwait.c: ... here.
956 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
957 * nptl/sem_trywait.c: ... here.
958 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
959 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
960 * nptl/sem_wait.c: ... here.
961 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
962 * nptl/structsem.sym: ... here.
963 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
964 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
965 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
966 * nptl/unregister-atfork.c: ... here.
967 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
968 * nptl/unwindbuf.sym: ... here.
969 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
970 * sysdeps/nptl/fork.c: ... here.
971 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
972 * sysdeps/nptl/fork.h: ... here.
973 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
974 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
975 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
976 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
977 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
978 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
979 * sysdeps/unix/sysv/linux/getpid.c: ... here.
980 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
981 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
982 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
983 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
984 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
985 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
986 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
987 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
988 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
989 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
990 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
991 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
992 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
993 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
994 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
995 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
996 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
997 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
998 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
999 * sysdeps/unix/sysv/linux/raise.c: ... here.
1000 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1001 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1002 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1003 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1004 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1005 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1006 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1007 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1008 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1009 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1010 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1011 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1012 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1013 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1014 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1016 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1018 * sysdeps/generic/memcopy.h: Add comment for
1019 MEMCPY_OK_FOR_FWD_MEMMOVE.
1021 2014-07-04 Will Newton <will.newton@linaro.org>
1023 * string/memchr.c: Merge from gnulib.
1024 [_LIBC]: Remove conditionals.
1025 (__ptr_t): Remove define.
1026 (LONG_MAX_32_BITS): Likewise.
1027 (LONG_MAX): Likewise.
1028 (MEMCHR): Use ANSI prototype and optimize algorithm.
1030 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1032 2014-07-03 Roland McGrath <roland@hack.frob.com>
1034 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1035 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1037 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1038 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1039 in a bare environment with no <stdlib.h> installed.
1040 * sysdeps/nptl/configure: Regenerated.
1042 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1044 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1045 AC_EGREP_CPP for kernel header checks, so they only succeed if
1046 including <linux/version.h> actually works right.
1047 * sysdeps/unix/sysv/linux/configure: Regenerated.
1049 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1050 value so it's not diagnosed as unused.
1052 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1053 thing) with "ifeq ($(subdir),rt)".
1055 2014-07-03 Richard Henderson <rth@redhat.com>
1057 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1058 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1059 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1061 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1062 (math_force_eval): New.
1064 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1065 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1067 * sysdeps/alpha/fpu/s_round.c: Remove file.
1068 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1070 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1071 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1072 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1073 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1074 (_dl_start, print_statistics): Likewise.
1075 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1076 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1078 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1079 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1080 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1081 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1083 (HP_SMALL_TIMING_AVAIL): Define.
1084 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1085 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1086 (HP_SMALL_TIMING_AVAIL): Define.
1087 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1088 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1090 * sysdeps/aarch64/hp-timing.h: New file.
1092 * sysdeps/generic/hp-timing.h: Remove dead comment.
1093 * sysdeps/generic/hp-timing-common.h: New file.
1094 * sysdeps/alpha/hp-timing.h: Include it.
1095 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1096 * sysdeps/i386/i686/hp-timing.h: Likewise.
1097 * sysdeps/ia64/hp-timing.h: Likewise.
1098 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1099 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1100 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1101 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1102 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1103 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1106 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1107 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1108 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1109 * elf/rtld.c (_dl_start_final): Likewise.
1110 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1111 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1112 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1113 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1114 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1115 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1116 (HP_TIMING_DIFF_INIT): Remove.
1117 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1118 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1119 (HP_TIMING_DIFF_INIT): Remove.
1120 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1121 * sysdeps/i386/i686/hp-timing.c: Remove file.
1122 * sysdeps/x86_64/hp-timing.c: Remove file.
1123 * sysdeps/ia64/hp-timing.c: Remove file.
1124 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1125 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1126 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1127 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1129 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1130 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1131 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1132 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1133 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1134 (HP_TIMING_ACCUM): Remove.
1135 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1136 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1137 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1139 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1140 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1141 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1142 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1143 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1144 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1145 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1146 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1148 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1150 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1152 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1154 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1156 Sync up with gettext.
1157 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1158 [_MSC_VER]: Include malloc.h
1159 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1160 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1161 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1162 TEMP_FAILURE_RETRY. Cast return of alloca.
1163 [!_LIBC] Call gl_rwlock_init.
1164 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1166 2014-07-02 Roland McGrath <roland@hack.frob.com>
1168 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1169 before checking its value.
1171 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1173 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1175 * debug/memcpy_chk.c: Don't include pagecopy.h.
1176 * debug/mempcpy_chk.c: Likewise.
1177 * string/memcpy.c: Likewise.
1178 * string/memmove.c: Likewise.
1179 * sysdeps/powerpc/memmove.c: Likewise.
1180 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1181 definition of PAGE_COPY_FWD_MAYBE here...
1182 * sysdeps/generic/pagecopy.h: ... from here.
1183 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1185 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1186 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1192 (__libc_ifunc_impl_list): Likewise.
1193 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1194 multiarch strcat for PPC64.
1195 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1196 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1198 2014-07-02 Roland McGrath <roland@hack.frob.com>
1200 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1202 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1204 * intl/loadmsgcat.c: Remove declaration of
1205 get_sysdep_segment_value.
1206 (get_sysdep_segment_value): Use ISO C style.
1207 (_nl_load_domain): Use ISO C style. Get rid of redundant
1208 semicolon. Fix typo and formatting in comment.
1209 (_nl_unload_domain): Use ISO C style.
1211 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1213 2014-07-02 Will Newton <will.newton@linaro.org>
1215 * malloc/obstack.c: Merge from gnulib master.
1216 [HAVE_CONFIG_H]: Remove conditional code.
1217 [!_LIBC]: Include config.h.
1218 [!ELIDE_CODE]: Don't include inttypes.h, include
1219 stdint.h unconditionally.
1220 (print_and_abort): Mark as _Noreturn.
1221 (_obstack_allocated_p): Mark as __attribute_pure__.
1222 (obstack_free): Rename to __obstack_free.
1223 [!__attribute__]: Remove conditional code.
1224 * malloc/obstack.h: Merge from gnulib master.
1225 [__cplusplus]: Move conditional down.
1226 [!__attribute_pure__]: Define __attribute_pure__ here
1227 if it is not already defined.
1228 (_obstack_memory_used): Mark as __attribute_pure__.
1229 [!__obstack_free]: Define as obstack_free.
1230 [__GNUC__]: Remove check for ancient NeXT gcc.
1232 2014-07-02 Will Newton <will.newton@linaro.org>
1233 Paul Eggert <eggert@cs.ucla.edu>
1235 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1237 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1239 * resolv/gethnamaddr.c: Add comment warning that the file is
1242 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1244 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1247 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1248 entry for aio_cancel and aio_cancel64.
1249 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1250 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1251 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1252 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1253 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1254 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1255 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1256 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1257 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1258 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1259 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1260 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1261 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1263 2014-07-01 Roland McGrath <roland@hack.frob.com>
1265 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1266 * nptl/pthread_mutex_lock.c: Likewise.
1267 * nptl/pthread_mutex_timedlock.c: Likewise.
1268 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1270 2014-07-01 Richard henderson <rth@redhat.com>
1272 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1273 (__isnan, __isnanl): Remove.
1274 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1276 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1278 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1280 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1282 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1284 * resolv/nss_dns/dns-host.c (getanswer_r)
1285 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1287 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1289 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1290 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1292 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1293 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1295 2014-07-01 Roland McGrath <roland@hack.frob.com>
1297 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1298 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1300 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1301 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1303 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1304 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1306 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1307 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1309 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1310 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1311 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1312 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1314 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1315 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1316 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1317 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1318 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1320 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1322 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1323 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1324 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1325 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1326 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1327 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1328 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1329 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1330 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1331 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1332 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1333 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1334 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1335 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1336 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1337 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1338 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1339 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1340 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1341 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1343 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1344 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1345 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1346 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1347 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1348 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1349 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1350 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1352 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1354 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1355 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1356 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1359 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1363 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1365 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1366 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1368 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1370 * sysdeps/arm/libm-test-ulps: Regenerated.
1372 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1373 Roland McGrath <roland@hack.frob.com>
1375 * test-skeleton.c (signal_handler): Kill the whole process group
1376 before killing the child individually.
1377 (main): Report any failure on `setpgid'.
1379 2014-06-30 Roland McGrath <roland@hack.frob.com>
1381 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1382 from _TLS_H to _ARM_NPTL_TLS_H.
1383 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1384 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1386 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1389 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1390 (__expm1l): Return argument unchanged when small but not
1393 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1395 (_FP_UNPACK_RAW_1_P): Likewise.
1396 (_FP_PACK_RAW_1): Likewise.
1397 (_FP_PACK_RAW_1_P): Likewise.
1398 (_FP_MUL_MEAT_1_wide): Likewise.
1399 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1400 (_FP_MUL_MEAT_1_hard): Likewise.
1401 (_FP_DIV_MEAT_1_imm): Likewise.
1402 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1403 (_FP_DIV_MEAT_1_udiv): Likewise.
1404 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1405 (_FP_UNPACK_RAW_2): Likewise.
1406 (_FP_UNPACK_RAW_2_P): Likewise.
1407 (_FP_PACK_RAW_2): Likewise.
1408 (_FP_PACK_RAW_2_P): Likewise.
1409 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1410 (_FP_MUL_MEAT_2_wide): Likewise.
1411 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1412 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1413 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1414 (_FP_MUL_MEAT_2_gmp): Likewise.
1415 (_FP_DIV_MEAT_2_udiv): Likewise.
1416 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1417 (_FP_FRAC_SRL_4): Likewise.
1418 (_FP_FRAC_SRST_4): Likewise.
1419 (_FP_FRAC_SRS_4): Likewise.
1420 (_FP_UNPACK_RAW_4): Likewise.
1421 (_FP_UNPACK_RAW_4_P): Likewise.
1422 (_FP_PACK_RAW_4): Likewise.
1423 (_FP_PACK_RAW_4_P): Likewise.
1424 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1425 (_FP_MUL_MEAT_4_wide): Likewise.
1426 (_FP_MUL_MEAT_4_gmp): Likewise.
1427 (umul_ppppmnnn): Likewise.
1428 (_FP_DIV_MEAT_4_udiv): Likewise.
1429 (__FP_FRAC_ADD_4): Likewise.
1430 (__FP_FRAC_SUB_3): Likewise.
1431 (__FP_FRAC_SUB_4): Likewise.
1432 (__FP_FRAC_DEC_3): Likewise.
1433 (__FP_FRAC_DEC_4): Likewise.
1434 (__FP_FRAC_ADDI_4): Likewise.
1435 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1436 (_FP_FRAC_SRL_8): Likewise.
1437 (_FP_FRAC_SRS_8): Likewise.
1439 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1441 (FP_UNPACK_RAW_EP): Likewise.
1442 (FP_PACK_RAW_E): Likewise.
1443 (FP_PACK_RAW_EP): Likewise.
1444 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1445 (_FP_ISSIGNAN): Likewise.
1446 (_FP_ADD_INTERNAL): Likewise.
1447 (_FP_FMA): Likewise.
1448 (_FP_CMP): Likewise.
1449 (_FP_SQRT): Likewise.
1450 (_FP_TO_INT): Likewise.
1451 (_FP_FROM_INT): Likewise.
1452 (FP_EXTEND): Likewise.
1453 (_FP_DIV_MEAT_N_loop): Likewise.
1455 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1457 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1460 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1463 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1464 result with correct sign in case of exponents that produce
1465 overflow except for X very close to 1.
1467 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1469 mktime: merge #if/#ifdef usage from glibc
1470 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1471 as that works with both Glibc's and Gnulib's style.
1472 See thread starting at Siddhesh Poyarekar's bug report at:
1473 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1475 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1477 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1478 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1479 * sysdeps/tile/tilegx/memmove.c: Remove file.
1481 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1483 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1484 abi-name definition.
1485 * scripts/soversions.awk: Do not handle or generate ABI lines.
1486 * shlib-versions: Remove ABI entries.
1487 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1488 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1490 2014-06-27 Roland McGrath <roland@hack.frob.com>
1492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1493 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1494 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1495 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1497 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1500 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1503 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1504 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1505 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1506 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1507 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1509 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1510 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1511 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1513 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1516 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1517 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1518 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1519 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1520 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1521 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1523 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1526 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1527 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1528 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1529 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1531 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1532 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1533 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1534 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1535 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1537 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1538 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1540 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1541 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1542 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1543 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1545 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1548 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1549 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1550 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1551 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1553 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1556 Identical file removed.
1557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1559 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1560 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1561 Identical file removed.
1562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1563 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1564 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1566 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1567 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1568 Identical file removed.
1569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1570 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1572 Identical file removed.
1573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1574 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1575 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1576 Identical file removed.
1577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1578 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1579 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1580 Identical file removed.
1581 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1583 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1584 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1585 Identical file removed.
1586 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1588 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1589 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1590 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1591 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1592 Identical file removed.
1593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1595 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1597 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1598 Identical file removed.
1599 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1601 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1602 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1603 Identical file removed.
1604 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1606 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1607 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1608 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1609 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1610 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1613 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1615 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1617 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1618 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1619 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1620 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1621 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1623 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1626 * nscd/nscd.c (monitor_child): Return exit status of child
1627 instead of return value from wait syscall.
1629 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1631 * configure.ac (libc_commonpagesize): Remove variable.
1632 (libc_relro_required): Likewise.
1633 (libc_cv_z_relro): Remove configure test.
1634 * configure: Regenerated.
1635 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1637 (libc_relro_required): Likewise.
1638 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1639 (libc_relro_required): Likewise.
1640 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1641 (libc_relro_required): Likewise.
1642 * sysdeps/arm/preconfigure: Regenerated.
1643 * sysdeps/ia64/preconfigure: Remove file.
1644 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1646 (libc_relro_required): Likewise.
1650 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1651 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1652 recompute overflowing results in original rounding mode.
1653 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1654 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1655 recompute overflowing results in original rounding mode.
1656 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1657 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1658 recompute overflowing results in original rounding mode.
1659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1660 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1661 recompute overflowing results in original rounding mode.
1662 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1663 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1664 recompute overflowing results in original rounding mode.
1665 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1666 (libc_feholdsetround_ctx): New macro.
1667 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1668 * sysdeps/i386/fpu/libm-test-ulps: Update.
1669 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1671 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1673 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1674 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1675 corresponding .cpsetup call.
1677 2014-06-26 Roland McGrath <roland@hack.frob.com>
1679 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1680 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1681 * sysdeps/arm/Makefile [$(subdir) = csu]
1682 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1683 (static-only-routines): Add aeabi_read_tp here.
1684 (shared-only-routines): Add libc-aeabi_read_tp here.
1685 (CFLAGS-libc-start.c): Add -fexceptions here.
1686 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1687 (sysdep_routines, static-only-routines, shared-only-routines):
1688 Don't add to these here.
1689 (CFLAGS-libc-start.c): Likewise.
1691 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1692 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1693 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1694 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1695 * sysdeps/arm/Makefile [$(subdir) = rt]
1696 (librt-sysdep_routines, librt-shared-only-routines):
1697 Append rt-aeabi_unwind_cpp_pr1 here.
1698 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1699 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1700 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1701 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1702 Append nptl-aeabi_unwind_cpp_pr1 here.
1703 (tests): Filter out tst-cleanupx4 here.
1704 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1705 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1706 Don't do those here.
1708 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1710 * scripts/list-sources.sh: Do not handle ports specially.
1712 2014-06-26 Roland McGrath <roland@hack.frob.com>
1714 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1715 * sysdeps/arm/feupdateenv.c: Likewise.
1717 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1719 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1721 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1722 trailing whitespace removed.
1723 * scripts/config.guess: Update to version 2014-03-23.
1724 * scripts/config.sub: Update to version 2014-05-01
1725 * scripts/install-sh: Update to version 2013-12-25.23.
1726 * scripts/move-if-change: Update from gnulib.
1728 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1730 * debug/memmove_chk.c: Remove pagecopy.h include.
1732 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1734 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1735 identical to gnulib mktime.
1737 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1739 * configure.ac: Do not test for machine being rs6000. Do not test
1741 * configure: Regenerated.
1743 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1745 * configure: Regenerated.
1746 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1747 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1748 Remove configure test.
1749 * sysdeps/arm/configure: Regenerated.
1750 * sysdeps/nptl/configure.ac: Do not check
1751 libc_cv_asm_cfi_directives.
1752 * sysdeps/nptl/configure: Regenerated.
1753 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1754 * sysdeps/x86_64/nptl/configure: Remove generated file.
1755 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1757 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1759 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1761 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1762 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1763 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1766 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1767 instead of whether it is defined.
1768 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1769 * sysdeps/hppa/dl-machine.h: Likewise.
1770 * sysdeps/ia64/dl-machine.h: Likewise.
1771 * sysdeps/m68k/dl-machine.h: Likewise.
1772 * sysdeps/microblaze/dl-machine.h: Likewise.
1773 * sysdeps/mips/dl-machine.: Likewise.
1774 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1775 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1776 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1777 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1778 * sysdeps/sh/dl-machine.h: Likewise.
1779 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1780 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1781 * sysdeps/tile/dl-machine.h: Likewise.
1782 * sysdeps/x86_64/dl-machine.h: Likewise.
1784 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1786 (verify_persistent_db): Likewise.
1788 2014-06-26 Roland McGrath <roland@hack.frob.com>
1790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1791 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1793 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1796 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1799 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1801 Identical file removed.
1802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1803 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1805 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1807 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1809 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1811 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1814 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1816 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1818 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1821 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1823 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1825 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1827 Identical file removed.
1828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1829 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1831 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1834 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1837 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1839 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1841 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1843 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1845 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1848 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1851 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1853 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1856 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1858 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1860 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1862 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1863 * sysdeps/unix/sysv/linux/s390/Versions
1864 (libpthread: GLIBC_2.19): New version set.
1865 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1866 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1867 (librt: GLIBC_2.3.3): New version set.
1868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1869 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1870 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1871 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1872 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1873 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1874 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1875 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1876 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1877 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1878 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1879 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1880 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1881 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1882 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1883 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1884 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1885 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1886 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1887 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1888 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1889 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1890 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1891 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1892 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1893 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1894 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1895 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1896 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1897 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1898 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1902 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1904 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1906 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1907 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1908 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1909 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1910 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1912 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1914 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1915 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1916 (__libc_vfork): Define the function under this name.
1917 [!NOT_IN_libc] (__vfork): Make this an alias.
1918 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1919 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1920 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1921 (__libc_vfork): Define the function under this name.
1922 [!NOT_IN_libc] (__vfork): Make this an alias.
1923 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1924 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1925 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1926 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1927 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1928 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1930 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1931 code that was previously under [RESET_PID].
1932 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1933 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1934 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1936 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1937 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1938 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1939 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1940 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1941 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1942 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1943 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1944 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1945 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1946 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1948 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1949 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1950 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1951 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1952 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1953 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1954 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1956 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1957 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1958 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1959 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1960 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1961 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1962 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1963 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1964 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1966 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1968 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1970 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1972 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1973 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1974 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1975 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1976 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1978 2014-06-25 Roland McGrath <roland@hack.frob.com>
1980 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1981 that was previously under [RESET_PID].
1982 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1984 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1986 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1987 not undefine and redefine.
1988 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1989 [O_CLOEXEC]: Make code unconditional.
1990 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1991 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1992 <kernel-features.h>.
1993 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1994 conditional variable definition.
1995 (shm_open) [O_CLOEXEC]: Make code unconditional.
1996 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1999 * configure.ac (USE_REGPARMS): Don't define here.
2000 * configure: Regenerated.
2001 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2002 * sysdeps/i386/configure: Regenerated.
2004 * nptl/createthread.c: Don't include kernel-features.h.
2005 * nptl/pthread_cancel.c: Likewise.
2006 * nptl/pthread_condattr_setclock.c: Likewise.
2007 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2008 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2009 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2010 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2011 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2012 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2013 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2014 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2015 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2016 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2017 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2018 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2019 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2020 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2021 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2022 * nscd/gai.c: Likewise.
2023 * nss/nss_db/db-open.c: Likewise.
2024 * sysdeps/generic/ldsodefs.h: Likewise.
2025 * sysdeps/sh/nptl/tls.h: Likewise.
2026 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2027 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2028 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2029 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2030 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2031 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2032 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2033 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2034 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2035 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2036 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2037 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2038 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2039 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2040 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2041 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2042 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2043 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2044 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2045 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2046 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2047 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2048 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2049 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2050 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2051 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2052 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2053 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2054 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2055 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2056 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2057 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2058 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2059 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2060 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2061 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2062 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2063 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2064 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2065 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2066 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2067 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2068 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2069 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2070 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2071 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2072 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2073 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2074 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2075 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2076 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2077 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2078 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2079 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2080 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2081 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2082 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2083 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2106 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2107 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2108 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2109 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2110 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2111 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2112 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2113 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2114 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2115 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2116 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2117 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2118 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2119 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2120 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2121 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2122 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2123 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2124 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2125 * sysdeps/unix/sysv/linux/system.c: Likewise.
2126 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2127 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2128 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2129 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2130 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2131 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2132 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2134 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2135 * configure: Regenerated.
2136 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2138 * configure.ac (base_machine): Do not set specially for particular
2140 * configure: Regenerated.
2141 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2142 settings from configure.ac.
2143 * sysdeps/i386/preconfigure: New file.
2144 * sysdeps/s390/preconfigure: Likewise.
2145 * sysdeps/sh/preconfigure: Likewise.
2146 * sysdeps/sparc/preconfigure: Likewise.
2148 2014-06-25 Roland McGrath <roland@hack.frob.com>
2150 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2151 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2152 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2153 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2154 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2155 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2156 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2157 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2158 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2159 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2160 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2161 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2162 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2163 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2164 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2165 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2166 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2167 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2168 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2170 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2171 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2172 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2173 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2174 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2175 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2176 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2177 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2178 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2179 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2180 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2181 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2182 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2183 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2184 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2185 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2186 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2187 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2188 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2189 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2190 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2191 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2192 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2193 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2194 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2195 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2196 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2197 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2198 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2199 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2200 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2201 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2202 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2203 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2204 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2205 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2206 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2207 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2210 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2212 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2215 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2218 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2220 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2223 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2225 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2227 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2229 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2232 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2235 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2237 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2240 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2242 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2244 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2246 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2248 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2251 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2254 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2256 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2259 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2261 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2263 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2265 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2268 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2271 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2273 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2276 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2278 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2280 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2282 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2284 * timezone/checktab.awk: Update from tzcode 2014e.
2285 * timezone/private.h: Likewise.
2286 * timezone/tzfile.h: Likewise.
2287 * timezone/zdump.c: Likewise.
2288 * timezone/zic.c: Likewise.
2290 * sysdeps/unix/sysv/linux/kernel-features.h
2291 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2292 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2293 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2294 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2295 Remove conditional code.
2297 2014-06-25 Will Newton <will.newton@linaro.org>
2299 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2300 (_dl_arm_cap_flags): Add HWCAP2 values.
2301 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2302 (_DL_HWCAP_COUNT): Increase to 37.
2303 (_DL_HWCAP_LAST): New define.
2304 (_DL_HWCAP2_LAST): New define.
2305 (_dl_procinfo): Add support for printing
2307 (_dl_string_hwcap): Use _dl_hwcap_string.
2309 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2313 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2315 * README: Do not mention ports directory.
2317 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2319 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2320 <kernel-features.h>.
2321 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2322 conditional variable definition.
2323 (__futimes): Update comment.
2324 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2325 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2328 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2329 arguments close to 0.
2330 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2332 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2334 * math/auto-libm-test-in: Add more tests of exp10.
2335 * math/auto-libm-test-out: Regenerated.
2336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2338 * sysdeps/unix/sysv/linux/kernel-features.h
2339 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2340 * sysdeps/unix/sysv/linux/readv.c: Do not include
2341 <kernel-features.h>.
2342 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2343 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2344 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2346 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2348 * sysdeps/unix/sysv/linux/writev.c: Do not include
2349 <kernel-features.h>.
2350 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2351 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2352 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2354 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2357 2014-06-25 Will Newton <will.newton@linaro.org>
2359 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2360 comment changes throughout the file. Remove checks
2361 for HAVE_*_H definitions that are not required.
2362 (__gen_tempname): Call abort if an unknown kind value is
2365 2014-06-25 Andreas Schwab <schwab@suse.de>
2368 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2369 scalbln, scalblnf, scalblnl in libc.
2371 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2374 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2375 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2376 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2378 2014-06-24 Roland McGrath <roland@hack.frob.com>
2380 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2381 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2382 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2383 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2385 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2386 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2388 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2389 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2390 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2391 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2392 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2393 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2394 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2395 * sysdeps/x86/bits/semaphore.h: ... here.
2396 * sysdeps/x86/nptl/elide.h: Moved ...
2397 * sysdeps/x86/elide.h: ... here.
2398 * sysdeps/x86_64/nptl/Implies: File removed.
2399 * sysdeps/i386/nptl/Implies: File removed.
2401 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2405 return the argument for normal arguments with exponent below -64.
2406 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2408 * math/auto-libm-test-in: Add another test of expm1.
2409 * math/auto-libm-test-out: Regenerated.
2412 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2413 calling __erfcl for arguments at least 16.
2414 * math/auto-libm-test-in: Add more tests of erf.
2415 * math/auto-libm-test-out: Regenerated.
2417 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2418 individual architectures.
2419 * sysdeps/unix/sysv/linux/configure: Regenerated.
2420 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2421 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2422 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2423 (ldd_rewrite_script): Define variable.
2424 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2429 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2430 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2431 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2432 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2433 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2434 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2435 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2436 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2438 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2441 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2442 Rename member __data.d to __data.__elision_data.
2444 2014-06-24 Wilco <wdijkstr@arm.com>
2446 * NEWS: Add 16918 to fixed bug list.
2448 2014-06-24 Wilco <wdijkstr@arm.com>
2450 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2452 2014-06-24 Wilco <wdijkstr@arm.com>
2454 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2455 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2456 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2457 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2458 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2459 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2460 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2463 2014-06-24 Wilco <wdijkstr@arm.com>
2465 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2467 2014-06-24 Wilco <wdijkstr@arm.com>
2469 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2470 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2471 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2472 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2474 2014-06-24 Wilco <wdijkstr@arm.com>
2477 * sysdeps/arm/feupdateenv.c (feupdateenv):
2478 Rewrite to reduce FPSCR accesses and fix return value.
2480 2014-06-24 Wilco <wdijkstr@arm.com>
2482 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2483 Optimize to avoid unnecessary FPSCR writes.
2484 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2485 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2486 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2487 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2489 2014-06-24 Wilco <wdijkstr@arm.com>
2491 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2492 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2493 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2494 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2495 Call libc_fetestexcept_vfp.
2496 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2497 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2498 __SOFTFP__ ifdef so that they can be built for softfp.
2500 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2502 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2503 argument type signed char.
2505 * Makerules (check-abi): Dump diff of symlist if the test
2508 2014-06-23 Roland McGrath <roland@hack.frob.com>
2510 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2513 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2514 Remove unused variable ST.
2516 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2520 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2521 small arguments before calling __expm1.
2522 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2523 small arguments before calling __expm1f.
2524 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2525 small arguments before calling __expm1l.
2526 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2528 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2529 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2530 spurious underflow for some cosh tests.
2531 * math/auto-libm-test-out: Regenerated.
2532 * sysdeps/i386/fpu/libm-test-ulps: Update.
2535 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2536 (__ieee754_y1): Set errno if return value overflows.
2537 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2538 (__ieee754_y1f): Set errno if return value overflows.
2539 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2540 (__ieee754_y1l): Set errno if return value overflows.
2541 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2542 (__ieee754_y1l): Set errno if return value overflows.
2543 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2544 * math/auto-libm-test-out: Regenerated.
2546 * math/gen-auto-libm-tests.c: Document use of
2547 ignore-zero-inf-sign.
2548 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2549 (input_flags): Add ignore-zero-inf-sign.
2550 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2551 * math/gen-libm-test.pl (generate_testfile): Handle
2552 ignore-zero-inf-sign.
2553 * math/auto-libm-test-in: Mark some cpow tests with
2554 ignore-zero-inf-sign and some with xfail-rounding.
2555 * math/auto-libm-test-out: Regenerated.
2556 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2557 * sysdeps/i386/fpu/libm-test-ulps: Update.
2558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2561 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2562 overflowing or underflowing operations take place with sign of
2564 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2565 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2566 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2567 (__ieee754_pow): Recompute overflowing and underflowing results in
2568 original rounding mode.
2569 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2570 (__powl_helper): Allow negative argument X and scale negated value
2571 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2572 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2573 overflowing or underflowing operations take place with sign of
2575 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2577 * math/auto-libm-test-in: Add more tests of pow.
2578 * math/auto-libm-test-out: Regenerated.
2579 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2580 (pow_tonearest_test_data): Remove.
2581 (pow_test_tonearest): Likewise.
2582 (pow_towardzero_test_data): Likewise.
2583 (pow_test_towardzero): Likewise.
2584 (pow_downward_test_data): Likewise.
2585 (pow_test_downward): Likewise.
2586 (pow_upward_test_data): Likewise.
2587 (pow_test_upward): Likewise.
2588 (main): Don't call removed functions.
2589 * sysdeps/i386/fpu/libm-test-ulps: Update.
2590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2592 2014-06-23 Roland McGrath <roland@hack.frob.com>
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2768 2014-06-23 Will Newton <will.newton@linaro.org>
2769 Wilco <wdijkstr@arm.com>
2771 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2772 implementation. Include get-rounding-mode.h.
2773 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2774 [!libc_feholdsetround_noex_ctx]: Define
2775 libc_feholdsetround_noex_ctx.
2776 [!libc_feholdsetround_noexf_ctx]: Define
2777 libc_feholdsetround_noexf_ctx.
2778 [!libc_feholdsetround_noexl_ctx]: Define
2779 libc_feholdsetround_noexl_ctx.
2780 (libc_feholdsetround_ctx): New function.
2781 (libc_feresetround_ctx): New function.
2782 (libc_feholdsetround_noex_ctx): New function.
2783 (libc_feresetround_noex_ctx): New function.
2785 2014-06-23 Roland McGrath <roland@hack.frob.com>
2787 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2788 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2789 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2790 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2791 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2792 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2794 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2795 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2796 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2797 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2798 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2799 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2800 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2801 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2802 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2803 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2804 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2806 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2809 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2811 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2814 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2815 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2816 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2823 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2824 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2826 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2827 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2828 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2831 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2832 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2833 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2834 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2835 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2836 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2837 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2838 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2839 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2840 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2842 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2844 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2845 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2846 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2847 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2848 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2849 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2851 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2852 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2853 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2854 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2855 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2856 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2858 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2859 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2860 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2861 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2862 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2863 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2865 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2866 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2867 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2868 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2869 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2871 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2872 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2873 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2874 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2875 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2876 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2877 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2878 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2879 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2880 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2881 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2882 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2883 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2884 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2885 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2886 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2887 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2888 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2889 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2890 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2891 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2892 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2893 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2894 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2895 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2896 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2897 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2898 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2900 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2902 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2903 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2904 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2905 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2906 (IPV6_PMTUDISC_INTERFACE): Likewise.
2907 (IPV6_PMTUDISC_OMIT): Likewise.
2909 2014-06-23 Andreas Schwab <schwab@suse.de>
2911 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2912 Remove unused errout label.
2914 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2916 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2917 macro: hardware supports Vector Crypto instructions.
2919 2014-06-23 Will Newton <will.newton@linaro.org>
2921 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2922 rather than __builtin_expect.
2924 * elf/dl-lookup.c (undefined_msg): Remove variable.
2925 (_dl_lookup_symbol_x): Replace undefined_msg with string
2928 * elf/dl-lookup.c (do_lookup_unique): New function.
2929 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2930 to a separate function.
2932 2014-06-23 Andreas Schwab <schwab@suse.de>
2935 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2936 before reading the next line.
2938 2014-06-23 Will Newton <will.newton@linaro.org>
2940 * test-skeleton.c (signal_handler): Use printf and %m
2941 rather than perror. Use printf rather than fprintf to
2942 stderr. Use puts rather than fputs to stderr.
2945 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2947 * nscd/nscd.c (thread_info_t): Remove typedef.
2948 (thread_info): Remove variable.
2950 2014-06-21 Allan McRae <allan@archlinux.org>
2952 * NEWS: Mention CVE-2014-4043.
2954 2014-06-20 Roland McGrath <roland@hack.frob.com>
2956 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2957 * nptl/smp.h: ... here.
2959 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2961 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2962 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2963 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2964 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2966 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2967 * nptl/stack-aliasing.h: New file.
2968 * sysdeps/i386/i686/stack-aliasing.h: New file.
2969 * sysdeps/i386/i686/nptl/Makefile: File removed.
2970 * sysdeps/x86_64/stack-aliasing.h: New file.
2971 * sysdeps/x86_64/nptl/Makefile
2972 (CFLAGS-pthread_create.c): Variable removed.
2974 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2975 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2977 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2978 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2981 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2983 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2984 (__ASSUME_SIGFRAME_V2): Remove macro.
2985 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2986 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2987 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2988 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2989 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2990 Declare as function. Remove conditional macro definitions.
2991 (__default_rt_sa_restorer): Likewise.
2992 (__default_sa_restorer_v1): Remove declaration.
2993 (__default_sa_restorer_v2): Likewise.
2994 (__default_rt_sa_restorer_v1): Likewise.
2995 (__default_rt_sa_restorer_v2): Likewise.
2996 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2997 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2998 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3000 2014-06-20 Roland McGrath <roland@hack.frob.com>
3002 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3003 (libpthread-routines): Add sysdep.
3004 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3005 * sysdeps/unix/sysv/linux/sparc/Versions
3006 (libpthread: GLIBC_2.3.3): New version set.
3007 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3008 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3009 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3010 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3011 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3012 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3014 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3015 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3016 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3017 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3018 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3019 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3020 * sysdeps/sparc/nptl/sem_init.c: ... here.
3021 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3022 * sysdeps/sparc/nptl/sem_post.c: ... here.
3023 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3024 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3025 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3026 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3027 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3028 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3029 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3030 (libpthread-routines): Add cpu_relax.
3031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3033 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3034 (librt: GLIBC_2.3.3): New version set.
3035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3036 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3037 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3038 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3041 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3044 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3046 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3048 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3050 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3052 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3055 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3059 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3063 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3067 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3071 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3075 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3078 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3084 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3086 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3089 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3091 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3093 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3095 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3097 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3098 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3099 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3100 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3101 * nscd/nscd.c: Likewise.
3102 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3103 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3104 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3105 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3107 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3108 <kernel-features.h>.
3109 (init_mq_netlink): Remove conditional have_sock_cloexec
3110 definitions. Remove code conditional on have_sock_cloexec < 0.
3111 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3112 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3113 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3114 <kernel-features.h>.
3115 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3116 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3118 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3120 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3121 Add tests for memset_chk and memset.
3123 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3126 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3129 * elf/tst-dl-iter-static.c: New file.
3130 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3132 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3135 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3137 * sysdeps/unix/sysv/linux/kernel-features.h
3138 (__ASSUME_F_GETOWN_EX): Remove macro.
3139 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3140 <kernel-features.h>.
3141 (miss_F_GETOWN_EX): Remove variable or macro.
3142 (do_fcntl): Do not check miss_F_GETOWN_EX.
3143 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3145 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3147 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3148 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3149 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3151 * sysdeps/unix/sysv/linux/kernel-features.h
3152 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3153 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3154 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3155 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3157 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3160 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3161 Fix calculation of the symbol's value.
3162 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3163 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3164 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3165 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3166 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3167 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3168 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3169 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3170 (modules-names): Add `tst-armtlsdescmod',
3171 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3172 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3173 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3174 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3175 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3176 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3177 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3178 ($(objpfx)tst-armtlsdescloc): New dependency.
3179 ($(objpfx)tst-armtlsdescextnow): Likewise.
3180 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3181 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3183 * sysdeps/arm/configure: Regenerate.
3185 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3187 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3188 (__atfct_seterrno_2): Likewise.
3189 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3190 <kernel-features.h>.
3191 (__ASSUME_ATFCTS): Do not undefine and redefine.
3192 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3193 (__have_atfcts): Remove conditional definition.
3194 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3195 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3196 unreachable if [__ASSUME_ATFCTS].
3197 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3198 not undefine and redefine.
3199 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3200 <kernel-features.h>.
3201 (faccessat) [__NR_faccessat]: Make code unconditional.
3202 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3203 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3204 <kernel-features.h>.
3205 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3206 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3207 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3208 <kernel-features.h>.
3209 (fchownat) [__NR_fchownat]: Make code unconditional.
3210 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3211 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3212 <kernel-features.h>.
3213 (futimesat) [__NR_futimesat]: Make code unconditional.
3214 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3215 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3216 <kernel-features.h>.
3217 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3218 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3219 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3220 <kernel-features.h>.
3221 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3222 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3223 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3224 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3225 <kernel-features.h>.
3226 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3227 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3228 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3229 <kernel-features.h>.
3230 (linkat) [__NR_linkat]: Make code unconditional.
3231 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3232 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3233 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3234 <kernel-features.h>.
3235 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3236 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3237 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3238 <kernel-features.h>.
3239 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3240 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3241 * sysdeps/unix/sysv/linux/openat.c: Do not include
3242 <kernel-features.h>.
3243 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3244 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3245 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3246 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3247 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3248 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3249 <kernel-features.h>.
3250 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3251 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3252 result of INLINE_SYSCALL directly, not via int variable.
3253 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3254 <kernel-features.h>.
3255 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3256 (renameat) [__NR_renameat]: Make code unconditional.
3257 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3258 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3259 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3260 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3261 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3262 (__ASSUME_ATFCTS): Do not undefine and redefine.
3263 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3264 <kernel-features.h>.
3265 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3266 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3267 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3268 <kernel-features.h>.
3269 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3270 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3271 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3272 (__ASSUME_ATFCTS): Do not undefine and redefine.
3273 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3274 <kernel-features.h>.
3275 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3276 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3277 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3278 <kernel-features.h>.
3279 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3280 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3282 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3284 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3286 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3289 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3290 constructed tree before returning error.
3291 * posix/bug-regexp36.c: Expand test case.
3293 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3296 * math/libm-test.inc (scalbln_test_date):
3297 Add errno expectations.
3298 * math/w_scalblnf.c: New File.
3299 Add wrapper which checks for setting errno to ERANGE.
3300 Add weak_alias for corresponding scalbln function.
3301 * math/w_scalbln.c: Likewise.
3302 * math/w_scalblnl.c: Likewise.
3303 * math/Makefile (libm-calls): Add w_scalbln.
3304 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3305 Remove weak_alias for corresponding scalbln function.
3306 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3307 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3308 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3310 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3311 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3312 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3313 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3314 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3315 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3316 Remove long_double_symbol for scalblnl function in libm, libc.
3317 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3318 Add wrapper which checks for setting errno to ERANGE.
3319 Add long_double_symbol for scalblnl function in libm, libc.
3320 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3321 Remove long_double_symbol for scalblnl in libm.
3322 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3323 Add wrapper which checks for setting errno to ERANGE.
3324 Add long_double_symbol for scalblnl function in libm.
3325 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3326 Do not use wrapper because of own implementation.
3328 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3330 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3331 3 bytes for __pad1 for x32.
3332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3334 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3335 H.J. Lu <hongjiu.lu@intel.com>
3337 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3338 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3339 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3340 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3341 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3343 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3346 * posix/regcomp.c (parse_expression): Deallocate partially
3347 constructed tree before returning error.
3348 * posix/Makefile.c (tests): Add bug-regex36.
3349 (generated): Add bug-regex36.mtrace.
3350 (tests-special): Add $(objpfx)bug-regex36-mem.out
3351 (bug-regex36-ENV): New variable.
3352 ($(objpfx)bug-regex36-mem.out): New rule.
3353 * posix/bug-regex36.c: New file.
3355 2014-06-19 Will Newton <will.newton@linaro.org>
3357 * malloc/malloc.c (systrim): If extra is zero then return
3360 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3362 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3364 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3366 * sysdeps/aarch64/strchr.S: New file.
3368 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3371 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3372 from arguments -2 or below.
3373 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3374 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3376 2014-06-18 Andreas Schwab <schwab@suse.de>
3379 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3380 of a bracket expr not to run off the end of the string.
3381 * posix/Makefile (tests): Add tst-fnmatch3.
3382 * posix/tst-fnmatch3.c: New file.
3384 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3386 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3387 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3388 [$(cross-compiling) = no]: Likewise.
3389 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3390 [$(cross-compiling) = no]: Likewise.
3392 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3395 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3396 double, adjusted for any remainder from the high double.
3397 * math/libm-test.inc (nearbyint): Add tests.
3400 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3402 * nptl/sysdeps/powerpc/Makefile: Moved ...
3403 * sysdeps/powerpc/nptl/Makefile: ... here.
3404 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3405 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3406 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3407 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3408 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3409 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3410 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3411 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3412 * nptl/sysdeps/powerpc/tls.h: Moved ...
3413 * sysdeps/powerpc/nptl/tls.h: ... here.
3415 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3418 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3419 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3420 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3421 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3422 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3423 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3424 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3425 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3426 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3428 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3430 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3432 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3434 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3437 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3440 2014-06-16 Florian Weimer <fweimer@redhat.com>
3443 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3444 non-executed part of the test.
3446 2014-06-16 Andreas Schwab <schwab@suse.de>
3448 * string/bits/string2.h (strdup, strndup): Update feature guard.
3450 2014-06-14 David S. Miller <davem@davemloft.net>
3452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3454 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3456 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3457 that was previously under [RESET_PID].
3458 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3460 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3461 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3462 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3463 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3464 (__libc_vfork): New strong alias.
3465 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3467 2014-06-14 Andi Kleen <ak@linux.intel.com>
3469 * sysdeps/generic/elide.h: New file.
3471 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3473 * Makefile (installed-headers): Adjust path of pthread.h header.
3475 2014-06-13 Roland McGrath <roland@hack.frob.com>
3477 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3478 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3479 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3480 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3482 * nptl/sysdeps/s390/Makefile: Moved ...
3483 * sysdeps/s390/nptl/Makefile: ... here.
3484 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3485 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3486 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3487 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3488 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3489 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3490 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3491 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3492 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3493 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3494 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3495 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3496 * nptl/sysdeps/s390/tls.h: Moved ...
3497 * sysdeps/s390/nptl/tls.h: ... here.
3499 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3500 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3502 2014-06-13 David S. Miller <davem@davemloft.net>
3504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3507 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3511 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3512 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3513 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3514 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3515 Remove RESET_PID cpp guards.
3516 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3517 Remove RESET_PID cpp guards.
3518 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3520 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3522 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3525 2014-06-13 Andi Kleen <ak@linux.intel.com>
3527 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3528 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3529 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3530 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3531 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3532 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3533 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3534 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3535 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3536 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3537 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3538 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3539 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3540 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3541 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3542 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3543 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3544 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3545 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3546 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3548 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3549 (pthread_rwlock_rdlock): Add elision.
3550 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3551 (pthread_rwlock_wrlock): Add elision.
3552 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3553 (pthread_rwlock_trywrlock): Add elision.
3554 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3555 (pthread_rwlock_tryrdlock): Add elision.
3556 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3557 (pthread_rwlock_tryrdlock): Add elision unlock.
3558 * nptl/sysdeps/pthread/pthread.h:
3559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3560 (PTHREAD_RWLOCK_INITIALIZER,
3561 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3562 Handle new elision field.
3563 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3564 * sysdeps/arm/nptl/bits/pthreadtypes.h
3565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3566 * sysdeps/sh/nptl/bits/pthreadtypes.h
3567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3568 * sysdeps/tile/nptl/bits/pthreadtypes.h
3569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3570 * sysdeps/a/nptl/bits/pthreadtypes.h
3571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3572 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3573 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3574 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3575 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3576 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3577 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3578 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3579 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3580 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3581 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3582 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3583 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3584 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3585 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3586 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3588 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3589 (elision_init): Set try_xbegin to zero when no RTM.
3590 * sysdeps/x86/nptl/bits/pthreadtypes.h
3591 (pthread_rwlock_t): Change __pad1 to __rwelision.
3592 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3594 2014-06-13 Andi Kleen <ak@linux.intel.com>
3596 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3597 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3598 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3599 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3601 2014-06-13 Meador Inge <meadori@codesourcery.com>
3604 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3605 that the cached result has been set before returning it.
3607 2014-06-12 Roland McGrath <roland@hack.frob.com>
3609 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3610 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3611 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3612 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3613 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3614 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3616 * nptl/sysdeps/sparc/Makefile: Moved ...
3617 * sysdeps/sparc/nptl/Makefile: ... here.
3618 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3619 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3620 * nptl/sysdeps/sparc/tls.h: Moved ...
3621 * sysdeps/sparc/nptl/tls.h: ... here.
3622 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3623 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3624 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3625 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3626 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3627 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3628 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3629 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3630 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3631 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3632 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3633 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3634 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3635 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3636 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3637 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3638 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3639 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3641 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3642 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3644 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3645 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3647 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3648 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3651 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3653 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3654 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3656 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3657 (struct list_links): Type removed.
3658 (struct thread_node, struct timer_node): Replace struct list_links
3659 with struct list_head.
3660 (list_unlink_ip): Likewise.
3661 * sysdeps/pthread/timer_routines.c
3662 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3663 (list_append, list_insbefore): Likewise.
3664 (list_init): Function removed.
3665 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3666 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3667 * sysdeps/pthread/Makefile: ... here, new file.
3669 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3670 * sysdeps/nptl/Implies: ... here.
3671 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3672 * nptl/sysdeps/pthread/list.h: Moved ...
3673 * include/list.h: ... here.
3674 * nptl/sysdeps/pthread/createthread.c: Moved ...
3675 * nptl/createthread.c: ... here.
3676 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3677 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3678 * nptl/pt-longjmp.c: ... here.
3679 * nptl/sysdeps/pthread/Makefile: Moved ...
3680 * sysdeps/nptl/Makefile: ... here.
3681 * nptl/sysdeps/pthread/Subdirs: Moved ...
3682 * sysdeps/nptl/Subdirs: ... here.
3683 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3684 * sysdeps/nptl/aio_misc.h: ... here.
3685 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3686 * sysdeps/nptl/bits/libc-lock.h: ... here.
3687 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3688 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3689 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3690 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3691 * nptl/sysdeps/pthread/configure: Moved ...
3692 * sysdeps/nptl/configure: ... here.
3693 * nptl/sysdeps/pthread/configure.ac: Moved ...
3694 * sysdeps/nptl/configure.ac: ... here.
3695 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3696 * sysdeps/nptl/gai_misc.h: ... here.
3697 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3698 * sysdeps/nptl/librt-cancellation.c: ... here.
3699 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3700 * sysdeps/nptl/malloc-machine.h: ... here.
3701 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3702 * sysdeps/nptl/pthread-functions.h: ... here.
3703 * nptl/sysdeps/pthread/pthread.h: Moved ...
3704 * sysdeps/nptl/pthread.h: ... here.
3705 * nptl/sysdeps/pthread/setxid.h: Moved ...
3706 * sysdeps/nptl/setxid.h: ... here.
3707 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3708 * sysdeps/nptl/sigfillset.c: ... here.
3709 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3710 * sysdeps/nptl/tcb-offsets.h: ... here.
3711 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3712 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3713 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3714 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3715 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3716 * sysdeps/pthread/allocalim.h: ... here.
3717 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3718 * sysdeps/pthread/bits/sigthread.h: ... here.
3719 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3720 * sysdeps/pthread/flockfile.c: ... here.
3721 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3722 * sysdeps/pthread/ftrylockfile.c: ... here.
3723 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3724 * sysdeps/pthread/funlockfile.c: ... here.
3725 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3726 * sysdeps/pthread/posix-timer.h: ... here.
3727 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3728 * sysdeps/pthread/timer_create.c: ... here.
3729 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3730 * sysdeps/pthread/timer_delete.c: ... here.
3731 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3732 * sysdeps/pthread/timer_getoverr.c: ... here.
3733 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3734 * sysdeps/pthread/timer_gettime.c: ... here.
3735 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3736 * sysdeps/pthread/timer_routines.c: ... here.
3737 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3738 * sysdeps/pthread/timer_settime.c: ... here.
3739 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3740 * sysdeps/pthread/tst-timer.c: ... here.
3741 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3742 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3744 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3745 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3747 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3748 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3749 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3750 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3751 Update #include target.
3752 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3753 * sysdeps/i386/i686/nptl/Makefile: ... here.
3754 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3755 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3756 Update #include target.
3757 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3758 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3759 * nptl/sysdeps/i386/Makefile: Moved ...
3760 * sysdeps/i386/nptl/Makefile: ... here.
3761 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3762 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3763 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3764 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3765 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3766 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3767 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3768 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3769 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3770 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3771 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3772 * nptl/sysdeps/i386/tls.h: Moved ...
3773 * sysdeps/i386/nptl/tls.h: ... here.
3775 * sysdeps/sh/Makefile [$(subdir) = csu]
3776 (gen-as-const-headers): Add tcb-offsets.sym.
3777 * nptl/sysdeps/sh/Makefile: File removed.
3778 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3779 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3780 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3781 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3782 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3783 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3784 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3785 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3786 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3787 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3788 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3789 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3790 * nptl/sysdeps/sh/tls.h: Moved ...
3791 * sysdeps/sh/nptl/tls.h: ... here.
3792 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3793 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3794 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3795 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3797 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3798 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3799 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3800 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3801 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3802 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3803 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3804 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3805 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3807 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3808 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3809 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3810 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3811 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3812 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3813 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3815 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3818 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3819 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3821 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3823 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3824 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3825 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3826 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3827 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3828 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3829 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3830 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3831 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3832 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3833 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3834 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3835 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3836 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3837 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3838 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3839 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3841 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3843 * posix/spawn_faction_addopen.c: Include string.h.
3845 2014-06-11 Roland McGrath <roland@hack.frob.com>
3847 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3848 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3849 * nptl/sysdeps/x86_64/Makefile: Moved ...
3850 * sysdeps/x86_64/nptl/Makefile: ... here.
3851 * nptl/sysdeps/x86_64/configure: Moved ...
3852 * sysdeps/x86_64/nptl/configure: ... here.
3853 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3854 * sysdeps/x86_64/nptl/configure.ac: ... here.
3855 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3856 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3857 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3858 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3859 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3860 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3861 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3862 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3863 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3864 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3865 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3866 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3867 * nptl/sysdeps/x86_64/tls.h: Moved ...
3868 * sysdeps/x86_64/nptl/tls.h: ... here.
3869 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3870 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3871 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3872 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3874 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3876 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3880 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3882 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3884 [POSIX] (off_t): Likewise.
3885 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3886 [POSIX] (S_ISBLK): Require macro.
3887 [POSIX] (S_ISCHR): Likewise.
3888 [POSIX] (S_ISDIR): Likewise.
3889 [POSIX] (S_ISFIFO): Likewise.
3890 [POSIX] (S_ISREG): Likewise.
3891 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3893 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3895 [POSIX] (time_t): Likewise.
3896 [POSIX] (timer_t): Likewise.
3898 2014-06-11 Florian Weimer <fweimer@redhat.com>
3901 * posix/spawn_int.h (struct __spawn_action): Make the path string
3902 non-const to support deallocation.
3903 * posix/spawn_faction_addopen.c
3904 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3905 * posix/spawn_faction_destroy.c
3906 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3907 path in all spawn_do_open actions.
3908 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3909 posix_spawn_file_actions_addopen.
3911 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3913 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3914 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3915 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3916 conditional code always true.
3917 (__libc_vfork): New alias.
3919 2014-06-11 Roland McGrath <roland@hack.frob.com>
3921 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3922 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3924 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3926 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3927 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3929 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3930 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3932 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3933 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3935 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3937 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3938 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3939 multiarch strcmp for PPC64.
3940 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3941 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3943 multiarch optimizations.
3944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3945 (__libc_ifunc_impl_list): Likewise.
3947 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3949 * benchtests/scripts/validate_benchout.py: New script.
3950 * benchtests/Makefile (bench-func): Call it.
3951 * benchtests/scripts/benchout.schema.json: New file.
3953 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3955 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3956 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3957 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3958 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3959 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3960 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3961 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3962 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3963 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3964 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3965 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3966 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3967 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3968 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3969 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3970 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4075 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4077 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4080 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4082 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4083 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4085 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4087 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4088 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4089 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4090 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4091 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4092 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4093 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4096 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4097 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4099 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4101 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4102 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4104 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4105 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4106 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4107 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4108 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4109 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4110 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4112 2014-06-10 Wilco <wdijkstr@arm.com>
4114 * math/test-fenv-return.c: New file.
4115 * math/Makefile: Add new test test-fenv-return.
4117 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4120 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4122 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4123 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4124 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4125 0.0L for an argument of 1.0L.
4126 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4128 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4129 value when x - 1 is zero.
4130 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4131 * sysdeps/i386/fpu/libm-test-ulps: Update.
4132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4134 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4137 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4139 2014-06-09 Roland McGrath <roland@hack.frob.com>
4141 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4142 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4144 2014-06-09 Roland McGrath <roland@hack.frob.com>
4146 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4147 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4149 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4150 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4152 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4153 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4155 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4156 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4158 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4159 if not already defined.
4160 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4161 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4162 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4163 (TLS_INIT_TP): Use it.
4164 (TLS_DEFINE_INIT_TP): New macro.
4165 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4167 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4169 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4171 [POSIX] (IXANY): Likewise.
4172 [POSIX] (OLCUC): Likewise.
4173 [POSIX || POSIX2008] (CBAUD): Do not allow.
4174 [POSIX || POSIX2008] (DEFECHO): Likewise.
4175 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4176 [POSIX || POSIX2008] (ECHOKE): Likewise.
4177 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4178 [POSIX || POSIX2008] (EXTA): Likewise.
4179 [POSIX || POSIX2008] (EXTB): Likewise.
4180 [POSIX || POSIX2008] (FLUSHO): Likewise.
4181 [POSIX || POSIX2008] (LOBLK): Likewise.
4182 [POSIX || POSIX2008] (PENDIN): Likewise.
4183 [POSIX || POSIX2008] (SWTCH): Likewise.
4184 [POSIX || POSIX2008] (VDISCARD): Likewise.
4185 [POSIX || POSIX2008] (VDSUSP): Likewise.
4186 [POSIX || POSIX2008] (VLNEXT): Likewise.
4187 [POSIX || POSIX2008] (VREPRINT): Likewise.
4188 [POSIX || POSIX2008] (VSTATUS): Likewise.
4189 [POSIX || POSIX2008] (VWERASE): Likewise.
4190 (B*): Change to B[0123456789]*.
4191 * conform/data/time.h-data [POSIX || UNIX98]
4192 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4193 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4194 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4195 [POSIX] (tm_*): Do not allow.
4197 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4199 * Makefile (install): Don't set LANGUAGE.
4200 * Makefile.in (install): Likewise.
4201 * assert/Makefile (test-assert-ENV): Remove variable.
4202 (test-assert-perr-ENV): Likewise.
4203 * elf/Makefile (neededtest4-ENV): Likewise.
4204 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4205 [$(cross-compiling) = no]: Don't set LANGUAGE.
4206 * io/ftwtest-sh (LANG): Remove variable.
4207 * libio/Makefile (tst-widetext-ENV): Likewise.
4208 * manual/install.texi (Running make install): Don't refer to
4209 environment settings for make install.
4210 * INSTALL: Regenerated.
4211 * nptl/tst-tls6.sh: Don't set LANG.
4212 * posix/globtest.sh (LANG): Remove variable.
4213 * string/Makefile (tester-ENV): Likewise.
4214 (inl-tester-ENV): Likewise.
4215 (noinl-tester-ENV): Likewise.
4216 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4217 [$(cross-compiling) = no]: Don't set LANGUAGE.
4218 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4219 without explicit environment settings.
4221 2014-06-06 Roland McGrath <roland@hack.frob.com>
4223 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4224 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4225 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4226 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4228 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4230 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4231 other files in the crypt directory.
4232 * crypt/crypt.c: Remove duplicate includes.
4233 * crypt/crypt-entry.c: Likewise.
4234 * crypt/crypt_util.c: Likewise.
4236 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4238 * Makeconfig (run-program-env): New variable.
4239 (run-program-prefix-before-env): Likewise.
4240 (run-program-prefix-after-env): Likewise.
4241 (run-program-prefix): Define in terms of new variables.
4242 (built-program-cmd-before-env): New variable.
4243 (built-program-cmd-after-env): Likewise.
4244 (built-program-cmd): Define in terms of new variables.
4245 (test-program-prefix-before-env): New variable.
4246 (test-program-prefix-after-env): Likewise.
4247 (test-program-prefix): Define in terms of new variables.
4248 (test-program-cmd-before-env): New variable.
4249 (test-program-cmd-after-env): Likewise.
4250 (test-program-cmd): Define in terms of new variables.
4251 * Rules (make-test-out): Use $(run-program-env).
4252 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4253 (help): Do not mention environment variables. Mention
4254 --timeoutfactor option.
4255 (timeoutfactor): New variable.
4256 (blacklist_exports): Remove function.
4257 (exports): Remove variable.
4258 (command): Do not include ${exports}.
4259 * manual/install.texi (Configuring and compiling): Do not mention
4260 test wrappers preserving environment variables. Mention that last
4261 assignment to a variable must take precedence.
4262 * INSTALL: Regenerated.
4263 * benchtests/Makefile (run-bench): Use $(run-program-env).
4264 * catgets/Makefile ($(objpfx)test1.cat): Use
4265 $(built-program-cmd-before-env), $(run-program-env) and
4266 $(built-program-cmd-after-env).
4267 ($(objpfx)test2.cat): Do not specify environment variables
4269 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4270 $(run-program-env) and $(built-program-cmd-after-env).
4271 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4272 $(run-program-env) and $(test-program-cmd-after-env).
4273 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4275 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4276 run_program_env and test_program_cmd_after_env arguments.
4277 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4278 * elf/tst-pathopt.sh: Use run_program_env argument.
4279 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4280 $(test-wrapper-env) and $(run-program-env).
4281 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4282 run_program_env arguments.
4283 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4284 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4285 $(test-program-prefix-before-env), $(run-program-env) and
4286 $(test-program-prefix-after-env).
4287 ($(objpfx)tst-gettext2.out): Likewise.
4288 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4289 run_program_env and test_program_prefix_after_env arguments.
4290 * intl/tst-gettext2.sh: Likewise.
4291 * intl/tst-gettext4.sh: Do not set environment variables
4293 * intl/tst-gettext6.sh: Likewise.
4294 * intl/tst-translit.sh: Likewise.
4295 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4296 $(test-program-prefix-before-env), $(run-program-env) and
4297 $(test-program-prefix-after-env).
4298 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4299 run_program_env and test_program_prefix_after_env arguments.
4300 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4301 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4302 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4303 explicitly with each use of ${test_wrapper_env}.
4304 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4305 $(test-program-prefix-before-env), $(run-program-env) and
4306 $(test-program-prefix-after-env).
4307 * posix/tst-getconf.sh: Do not set environment variables
4309 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4310 run_program_env and test_program_prefix_after_env arguments.
4311 * stdio-common/tst-printf.sh: Do not set environment variables
4313 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4314 $(test-program-prefix-before-env), $(run-program-env) and
4315 $(test-program-prefix-after-env).
4316 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4317 run_program_env and test_program_prefix_after_env arguments.
4318 Split $test calls into $test_pre and $test.
4319 * timezone/Makefile (build-testdata): Use
4320 $(built-program-cmd-before-env), $(run-program-env) and
4321 $(built-program-cmd-after-env).
4323 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4325 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4326 strlen for non SHARED builds.
4328 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4330 * nptl/allocatestack.c (check_list): Inlined function...
4331 (__reclaim_stacks): ... here.
4333 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4336 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4339 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4341 * Rules (make-test-out): Include
4342 LOCPATH=$(common-objpfx)localedata in default environment.
4343 * debug/Makefile (tst-chk1-ENV): Remove variable.
4344 (tst-chk2-ENV): Likewise.
4345 (tst-chk3-ENV): Likewise.
4346 (tst-chk4-ENV): Likewise.
4347 (tst-chk5-ENV): Likewise.
4348 (tst-chk6-ENV): Likewise.
4349 (tst-lfschk1-ENV): Likewise.
4350 (tst-lfschk2-ENV): Likewise.
4351 (tst-lfschk3-ENV): Likewise.
4352 (tst-lfschk4-ENV): Likewise.
4353 (tst-lfschk5-ENV): Likewise.
4354 (tst-lfschk6-ENV): Likewise.
4355 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4356 (tst-iconv7-ENV): Likewise.
4357 * intl/Makefile (LOCPATH-ENV): Likewise.
4358 (tst-codeset-ENV): Likewise.
4359 (tst-gettext3-ENV): Likewise.
4360 (tst-gettext5-ENV): Likewise.
4361 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4362 (tst-fopenloc-ENV): Likewise.
4363 (tst-fgetws-ENV): Remove variable.
4364 (tst-ungetwc1-ENV): Likewise.
4365 (tst-ungetwc2-ENV): Likewise.
4366 (bug-ungetwc2-ENV): Likewise.
4367 (tst-swscanf-ENV): Likewise.
4368 (bug-ftell-ENV): Likewise.
4369 (tst-fgetwc-ENV): Likewise.
4370 (tst-fseek-ENV): Likewise.
4371 (tst-ftell-partial-wide-ENV): Likewise.
4372 (tst-ftell-active-handler-ENV): Likewise.
4373 (tst-ftell-append-ENV): Likewise.
4374 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4375 (tst-regexloc-ENV): Likewise.
4376 (bug-regex1-ENV): Likewise.
4377 (tst-regex-ENV): Likewise.
4378 (tst-regex2-ENV): Likewise.
4379 (bug-regex5-ENV): Likewise.
4380 (bug-regex6-ENV): Likewise.
4381 (bug-regex17-ENV): Likewise.
4382 (bug-regex18-ENV): Likewise.
4383 (bug-regex19-ENV): Likewise.
4384 (bug-regex20-ENV): Likewise.
4385 (bug-regex22-ENV): Likewise.
4386 (bug-regex23-ENV): Likewise.
4387 (bug-regex25-ENV): Likewise.
4388 (bug-regex26-ENV): Likewise.
4389 (bug-regex30-ENV): Likewise.
4390 (bug-regex32-ENV): Likewise.
4391 (bug-regex33-ENV): Likewise.
4392 (bug-regex34-ENV): Likewise.
4393 (bug-regex35-ENV): Likewise.
4394 (tst-rxspencer-ENV): Likewise.
4395 (tst-rxspencer-no-utf8-ENV): Likewise.
4396 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4397 (tst-sscanf-ENV): Likewise.
4398 (tst-swprintf-ENV): Likewise.
4399 (tst-swscanf-ENV): Likewise.
4400 (test-vfprintf-ENV): Likewise.
4401 (scanf13-ENV): Likewise.
4402 (bug14-ENV): Likewise.
4403 (tst-grouping-ENV): Likewise.
4404 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4405 (tst-strtod3-ENV): Likewise.
4406 (tst-strtod4-ENV): Likewise.
4407 (tst-strtod5-ENV): Likewise.
4408 (testmb2-ENV): Likewise./
4409 * string/Makefile (tst-strxfrm-ENV): Likewise.
4410 (tst-strxfrm2-ENV): Likewise.
4411 (bug-strcoll1-ENV): Likewise.
4412 (test-strcasecmp-ENV): Likewise.
4413 (test-strncasecmp-ENV): Likewise.
4414 * time/Makefile (tst-strptime-ENV): Likewise.
4415 (tst-ftime_l-ENV): Likewise.
4416 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4417 (tst-mbrtowc-ENV): Likewise.
4418 (tst-wcrtomb-ENV): Likewise.
4419 (tst-mbrtowc2-ENV): Likewise.
4420 (tst-c16c32-1-ENV): Likewise.
4421 (tst-mbsnrtowcs-ENV): Likewise.
4423 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4425 * manual/resource.texi (How to get information about the memory
4426 subsystem?): Fix typo.
4427 Reported by Peon de la Parra Ivan <peon@keba.com>
4429 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4432 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4433 (pthread_spin_lock): Branch out of spin loop to proper location.
4434 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4435 (pthread_spin_lock): Likewise.
4437 * nptl/tst-spin4.c: New test.
4438 * nptl/Makefile (tests): Add tst-spin4.
4440 2014-06-03 Andreas Schwab <schwab@suse.de>
4443 * resolv/res_send.c (send_dg): Reload file descriptor after
4446 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4448 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4450 2014-06-03 Richard Henderson <rth@redhat.com>
4452 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4453 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4454 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4455 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4456 in the SAVE_PID block.
4457 (__libc_vfork): New alias.
4458 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4460 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4461 child in registers, not on the stack. Remove RESET_PID conditionals.
4462 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4464 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4466 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4468 2014-06-03 Wilco <wdijkstr@arm.com>
4470 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4471 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4472 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4473 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4474 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4477 2014-06-03 Wilco <wdijkstr@arm.com>
4479 * sysdeps/aarch64/fpu/math_private.h
4480 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4481 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4482 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4483 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4486 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4488 * crypt/crypt-private.h: Include ufc-crypt.h.
4489 (__b64_from_24bit): Declare extern.
4490 * crypt/crypt_util.c(__b64_from_24bit): New function.
4491 (b64t): New static const variable.
4492 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4493 (b64t): Remove variable.
4494 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4495 * crypt/sha256-crypt.c: Include crypt-private.h.
4496 (b64t): Remove variable.
4497 (__sha256_crypt_r): Remove b64_from_24bit and replace
4498 with __b64_from_24bit.
4499 * crypt/sha512-crypt.c: Likewise.
4501 2014-06-02 Roland McGrath <roland@hack.frob.com>
4503 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4504 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4505 Label the code __libc_vfork rather than __vfork.
4506 [!NOT_IN_libc] (vfork): Define as weak alias.
4507 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4508 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4509 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4511 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4513 * malloc/malloc.c (malloc_info): Fix format specifier for
4516 2014-06-02 Wilco <wdijkstr@arm.com>
4518 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4521 2014-06-02 Wilco <wdijkstr@arm.com>
4524 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4525 Rewrite to reduce FPCR/FPSR accesses.
4527 2014-06-01 David S. Miller <davem@davemloft.net>
4529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4531 2014-05-31 David S. Miller <davem@davemloft.net>
4533 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4534 to occur in round to nearest mode when |x| >= 2.0
4536 2014-05-30 Richard Henderson <rth@twiddle.net>
4538 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4539 (PSEUDO_RET_NOERRNO): Remove.
4540 (ret): Don't redefine.
4541 (ret_NOERRNO): Define in terms of ret.
4542 (ret_ERRVAL): Likewise.
4544 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4545 use of PSEUDO_RET; perform the error check directly.
4547 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4549 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4552 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4554 * malloc/malloc (malloc_info): Fix formatting.
4556 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4557 Roland McGrath <roland@hack.frob.com>
4559 * malloc/malloc (malloc_info): Also print mmapped statistics.
4561 2014-05-30 Roland McGrath <roland@hack.frob.com>
4563 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4564 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4566 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4568 * malloc/malloc.c (malloc_info): Inline mi_arena.
4570 2014-05-29 Richard Henderson <rth@twiddle.net>
4572 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4573 Remove comma before expanding ASM_ARGS_##nr.
4574 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4575 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4577 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4578 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4579 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4580 (ASM_ARGS_1): Add leading comma.
4582 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4583 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4584 to __errno_location.
4585 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4586 Remove the expected plt for __errno_location.
4588 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4589 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4592 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4593 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4594 it and break it down.
4595 (DOCARGS_0, DOCARGS_1): Do nothing.
4596 (DOCARGS_2): Update to store into the new stack frame.
4597 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4598 (UNDOCARGS_1): Update to restore from the new stack frame.
4599 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4600 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4602 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4603 (SINGLE_THREAD_P): New parameter for result regno.
4604 (PSEUDO): Update to match; use cbz instead of beq.
4606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4607 Use ENTRY to define the _nocancel entry point. Share the syscall
4608 and syscall error check paths with the cancel path.
4611 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4612 whitespace; tabs before and after asm mnemonics.
4614 2014-05-29 Eric Wong <normalperson@yhbt.net>
4617 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4618 Call fstat64 or stat64 internally, depending on arguments passed.
4619 Replace stat buffer argument with file descriptor argument.
4620 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4621 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4622 Pass fd to __internal_statvfs instead of calling fstat64.
4623 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4624 Pass fd to __internal_statvfs64 instead of calling fstat64.
4625 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4626 Pass -1 to __internal_statvfs instead of calling stat64.
4627 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4628 Pass -1 to __internal_statvfs64 instead of calling stat64.
4630 2014-05-28 Roland McGrath <roland@hack.frob.com>
4632 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4633 that was previously under [RESET_PID].
4634 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4636 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4637 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4639 2014-05-27 Roland McGrath <roland@hack.frob.com>
4641 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4643 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4644 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4646 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4648 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4650 2014-05-27 Andreas Schwab <schwab@suse.de>
4652 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4654 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4655 * elf/rtld.c (init_tls, dl_main): Likewise.
4656 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4657 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4658 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4659 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4660 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4661 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4662 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4663 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4664 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4665 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4666 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4667 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4668 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4669 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4670 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4671 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4672 * sysdeps/generic/tls.h: Update description.
4674 2014-05-27 Will Newton <will.newton@linaro.org>
4677 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4678 and restore r2 rather than just restoring.
4680 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4683 * libio/tst-ftell-append.c: New test case.
4684 * libio/Makefile (tests): Add test case.
4685 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4687 * libio/wfileops.c (do_ftell_wide): Likewise.
4689 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4693 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4697 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4698 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4699 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4700 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4701 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4702 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4709 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4710 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4711 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4712 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4713 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4715 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4716 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4718 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4720 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4722 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4723 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4724 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4726 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4727 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4728 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4729 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4737 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4752 conditional [RESET_PID].
4753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4754 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4761 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4762 (__libc_vfork): New strong alias.
4763 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4765 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4770 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4771 (__libc_vfork): New strong alias.
4772 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4774 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4777 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4779 * malloc/malloc.c (mi_arena): New function.
4780 (malloc_info): Remove nested function mi_arena. Call non-nosted
4783 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4785 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4787 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4788 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4789 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4790 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4791 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4792 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4793 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4795 2014-05-26 Andreas Schwab <schwab@suse.de>
4798 * locale/programs/repertoire.c (repertoire_read): Add slash
4799 between I18NPATH element and file name.
4800 * locale/programs/locfile.c (locfile_read): Likewise.
4802 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4804 * nptl/pthread_mutexattr_settype.c
4805 (__pthread_mutexattr_settype):
4806 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4808 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4810 * nptl/tst-mutex5 (do_test):
4811 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4813 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4815 * benchtests/README: Document 'init' directive.
4816 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4818 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4819 (parse_file): Recognize 'init' directive.
4821 2014-05-26 Kyle McMartin <kyle@redhat.com>
4824 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4825 alignment of struct pthread.
4827 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4830 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4831 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4832 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4833 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4835 2014-05-25 Richard Henderson <rth@twiddle.net>
4837 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4838 (SINGLE_THREAD_P_PIC): Remove.
4839 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4840 (SINGLE_THREAD_P_PIC): Remove.
4842 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4843 branch to syscall error ...
4845 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4846 from __local_syscall_error to .Lsyscall_error.
4847 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4848 (SYSCALL_ERROR): Update label name.
4850 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4851 Do not use DOARGS/UNDOARGS.
4852 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4853 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4854 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4855 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4856 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4858 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4861 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4862 define if !NOT_IN_libc.
4863 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4864 define with non-default symbol versions.
4866 2014-05-23 Richard Henderson <rth@twiddle.net>
4868 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4869 (vfork, __vfork): Define via compat_symbol.
4871 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4872 [!HAVE_IFUNC] (vfork_compat): Remove.
4873 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4875 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4878 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4879 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4882 2014-05-23 Richard Henderson <rth@twiddle.net>
4884 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4885 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4886 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4887 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4889 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4890 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4891 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4892 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4893 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4894 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4895 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4896 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4897 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4898 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4899 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4900 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4901 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4902 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4903 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4904 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4905 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4906 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4907 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4908 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4909 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4910 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4911 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4912 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4913 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4914 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4915 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4916 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4917 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4918 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4919 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4920 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4921 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4922 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4923 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4924 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4925 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4926 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4927 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4928 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4929 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4930 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4931 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4932 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4933 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4934 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4935 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4936 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4937 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4938 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4939 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4940 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4941 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4942 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4943 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4944 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4946 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4947 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4948 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4949 before exiting on error.
4950 (__libc_vfork): New strong alias.
4951 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4952 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4954 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4955 that was previously under [RESET_PID].
4956 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4958 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4960 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4963 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4964 value when x - 1 is zero.
4965 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4966 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4967 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4968 0.0L for an argument of 1.0L.
4969 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4971 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4972 value when x - 1 is zero.
4973 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4974 * sysdeps/i386/fpu/libm-test-ulps: Update.
4975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4977 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4979 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4980 alphasort and versionsort.
4982 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4984 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4986 [copysignf]: Likewise.
4988 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4990 * crypt/md5-crypt.c: Fix formatting.
4992 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4994 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4995 (b64_from_24bit): New function.
4997 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4999 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5000 libc_hidden_builtin_def to ifunc.
5001 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5002 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5004 2014-05-21 Roland McGrath <roland@hack.frob.com>
5006 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5007 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5009 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5011 * nscd/Depend (linuxthreads): Remove.
5013 * resolv/Depend (linuxthreads): Remove.
5014 * rt/Depend (linuxthreads): Remove.
5016 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5017 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5018 $(common-objpfx)elf/.
5019 (link-libc-before-gnulib): Likewise.
5020 (elfobjdir): Remove variable.
5021 * Makefile (install): Use $(elf-objpfx) instead of
5022 $(common-objpfx)elf/.
5023 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5025 (link-libc-deps): Likewise.
5026 ($(common-objpfx)libc.so): Likewise.
5027 ($(common-objpfx)linkobj/libc.so): Likewise.
5028 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5029 instead of $(common-objpfx)elf/.
5030 (symbolic-link-list): Likewise.
5031 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5032 [$(cross-compiling) = no]: Likewise.
5033 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5035 (static-gnulib-arch): Likewise.
5036 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5037 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5038 $(common-objpfx)elf/.
5040 2014-05-21 Richard Henderson <rth@redhat.com>
5042 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5043 (SINGLE_THREAD_P): Use the correct width load. Fold
5044 into the ldr offset.
5046 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5047 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5049 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5051 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5052 (libgcc_s_resume): Use __attribute_used__.
5053 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5056 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5058 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5059 optimization when used with float constants.
5061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5063 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5066 * locale/nl_langinfo_l.c: Make direct reference to every
5067 _nl_current_CATEGORY symbol.
5068 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5069 (tests-static): Add tst-langinfo-static.
5070 (tests-special): Add tst-langinfo-static.out.
5071 ($(objpfx)tst-langinfo.out): Redirect output.
5072 ($(objpfx)tst-langinfo-static.out): New.
5073 * localedata/tst-langinfo.sh: Send output to stdout.
5074 * localedata/tst-langinfo-static.c: New file.
5077 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5078 when the shift amount is modulo the limb size.
5080 2014-05-20 Richard Henderson <rth@redhat.com>
5083 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5084 Change type of sa_flags from unsigned int to int.
5087 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5089 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5091 2014-05-20 Will Newton <will.newton@linaro.org>
5093 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5094 Test the return value of the system call in the nocancel case.
5096 2014-05-20 Will Newton <will.newton@linaro.org>
5097 Yvan Roux <yvan.roux@linaro.org>
5099 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5100 #include of asm/ptrace.h.
5101 (PTRACE_GET_THREAD_AREA): Remove #undef.
5102 (PTRACE_GETHBPREGS): Likewise.
5103 (PTRACE_SETHBPREGS): Likewise.
5104 (struct user_regs_struct): New structure.
5105 (struct user_fpsimd_struct): New structure.
5106 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5107 #include of asm/ptrace.h and second #include of sys/user.h.
5108 (PTRACE_GET_THREAD_AREA): Remove #undef.
5109 (PTRACE_GETHBPREGS): Likewise.
5110 (PTRACE_SETHBPREGS): Likewise.
5111 (ELF_NGREG): Use new struct user_regs_struct.
5112 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5114 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5116 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5117 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5119 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5122 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5123 membar to avoid block loads/stores to overlap previous stores.
5125 2014-05-17 Richard Henderson <rth@redhat.com>
5127 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5128 Create the __##syscall_name##_nocancel entry point.
5129 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5130 Remove; let the sysdep-cancel.h code create it.
5132 2014-05-17 David S. Miller <davem@davemloft.net>
5134 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5135 Protect with __USE_GNU.
5136 (TIOCSET_TEMPT): Likewise.
5137 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5138 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5139 these are already provided in bits/ioctl-types.h
5141 2014-05-16 Roland McGrath <roland@hack.frob.com>
5143 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5144 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5146 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5147 Use wait4 regardless of [__NR_waitpid].
5149 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5152 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5153 (_FP_NANSIGN_Q): Set the quiet bit.
5155 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5157 * benchtests/Makefile
5158 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5159 not $(common-objpfx)math/libm.so.
5160 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5161 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5162 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5163 $(common-objpfx)dlfcn/libdl.so.
5164 ($(objpfx)tst-audit8): Depend on $(libm), not
5165 $(common-objpfx)math/libm.so.
5166 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5167 not $(common-objpfx)dlfcn/libdl.so.
5169 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5170 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5171 [$(build-shared) = yes].
5172 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5173 $(common-objpfx)nptl/libpthread.so.
5174 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5175 $(common-objpfx)math/libm.so$(libm.so-version) or
5176 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5177 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5178 $(common-objpfx)dlfcn/libdl.so.
5179 * setjmp/Makefile (link-libm): Remove variable.
5180 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5181 * stdio-common/Makefile (link-libm): Remove variable.
5182 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5183 * stdlib/Makefile (link-libm): Remove variable.
5184 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5185 ($(objpfx)tst-strtod-round): Likewise.
5186 ($(objpfx)tst-tininess): Likewise.
5187 ($(objpfx)tst-strtod-underflow): Likewise.
5188 ($(objpfx)tst-strtod6): Likewise.
5189 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5190 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5191 $(common-objpfx)dlfcn/libdl.so.
5193 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5195 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5196 BSD terminal modes definitions.
5198 2014-05-16 Roland McGrath <roland@hack.frob.com>
5200 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5201 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5203 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5204 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5205 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5206 Don't do #include_next.
5207 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5208 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5209 Don't do #include_next.
5210 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5211 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5212 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5213 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5215 2014-05-16 Allan McRae <allan@archlinux.org>
5217 * po/sv.po: Update Swedish translation from translation project.
5219 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5222 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5225 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5226 errno if the TIOCGPTN ioctl fails with an error different than
5228 * login/tst-ptsname.c: New file.
5229 * login/Makefile (tests): Add tst-ptsname.
5232 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5235 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5239 herrno to return EAI_AGAIN.
5241 2014-05-14 Roland McGrath <roland@hack.frob.com>
5243 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5244 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5245 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5246 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5247 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5248 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5249 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5250 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5251 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5252 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5253 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5254 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5255 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5256 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5257 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5258 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5259 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5260 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5261 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5262 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5264 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5266 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5267 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5272 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5274 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5276 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5279 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5281 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5283 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5285 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5287 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5289 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5291 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5293 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5295 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5297 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5299 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5301 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5303 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5305 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5308 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5310 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5312 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5314 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5316 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5318 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5320 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5322 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5324 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5326 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5329 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5331 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5333 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5334 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5335 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5336 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5337 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5338 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5339 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5340 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5341 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5342 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5343 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5344 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5345 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5346 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5347 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5348 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5349 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5351 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5352 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5353 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5354 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5355 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5356 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5357 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5358 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5359 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5360 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5361 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5362 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5363 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5365 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5366 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5368 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5369 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5370 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5371 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5372 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5373 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5375 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5376 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5378 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5379 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5381 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5382 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5384 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5386 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5387 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5389 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5390 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5391 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5392 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5393 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5394 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5395 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5396 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5398 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5399 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5401 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5403 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5404 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5405 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5406 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5407 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5409 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5411 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5413 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5414 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5415 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5416 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5417 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5418 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5420 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5421 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5423 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5424 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5426 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5427 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5429 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5430 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5431 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5432 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5434 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5435 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5436 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5437 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5438 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5439 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5440 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5441 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5443 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5444 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5446 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5448 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5449 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5450 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5451 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5452 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5454 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5456 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5458 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5459 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5460 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5461 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5462 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5463 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5464 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5465 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5466 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5467 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5469 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5470 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5472 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5473 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5475 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5478 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5479 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5480 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5481 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5482 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5483 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5485 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5486 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5487 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5488 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5489 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5490 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5491 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5492 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5494 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5495 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5497 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5499 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5500 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5501 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5502 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5503 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5505 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5507 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5509 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5510 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5511 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5512 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5513 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5514 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5515 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5516 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5517 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5518 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5519 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5521 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5522 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5524 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5525 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5527 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5528 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5529 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5530 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5531 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5533 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5534 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5535 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5536 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5537 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5538 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5539 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5540 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5541 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5543 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5546 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5547 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5548 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5551 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5552 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5553 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5554 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5555 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5557 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5558 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5560 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5561 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5563 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5564 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5565 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5566 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5567 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5568 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5569 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5570 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5571 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5572 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5573 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5574 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5575 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5576 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5577 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5578 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5579 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5581 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5582 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5583 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5584 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5585 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5587 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5588 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5589 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5590 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5591 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5592 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5593 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5594 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5595 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5596 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5598 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5599 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5601 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5602 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5603 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5604 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5605 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5606 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5607 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5608 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5609 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5610 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5611 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5612 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5613 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5614 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5615 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5635 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5637 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5638 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5639 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5640 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5641 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5642 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5643 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5644 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5645 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5646 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5647 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5648 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5649 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5651 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5652 that was previously under [RESET_PID].
5653 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5654 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5655 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5657 * sysdeps/i386/nptl/Implies: New file.
5658 * sysdeps/x86_64/nptl/Implies: New file.
5659 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5660 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5661 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5662 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5664 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5665 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5666 (__libc_vfork): New strong alias.
5667 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5668 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5670 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5671 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5672 (__libc_vfork): New strong alias.
5673 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5674 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5676 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5677 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5678 (__libc_vfork): New strong alias.
5679 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5680 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5681 * nptl/pt-vfork.c: New file.
5682 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5683 (libpthread: GLIBC_2.20): New version set (empty).
5685 2014-05-14 Will Newton <will.newton@linaro.org>
5687 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5690 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5693 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5694 arguments with exponent 65 or above.
5695 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5696 arguments 0x1p113L or above.
5697 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5698 to arguments 0x1p107L or above.
5699 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5700 positive arguments with exponent 65 or above.
5701 * math/auto-libm-test-in: Add more tests of log1p.
5702 * math/auto-libm-test-out: Regenerated.
5705 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5706 non-finite arguments is +0.
5707 * math/s_cacosf.c (__cacosf): Likewise.
5708 * math/s_cacosl.c (__cacosl): Likewise.
5709 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5710 * sysdeps/i386/fpu/libm-test-ulps: Update.
5711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5714 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5716 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5717 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5718 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5719 for explicit high bit of mantissa when testing for argument equal
5721 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5722 * sysdeps/i386/fpu/libm-test-ulps: Update.
5723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5726 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5727 (__erf): Scale by 16 instead of 8 in potentially underflowing
5728 case. Ensure exception if result actually underflows.
5729 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5730 (__erff): Scale by 16 instead of 8 in potentially underflowing
5731 case. Ensure exception if result actually underflows.
5732 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5733 (efx8): Remove variable.
5734 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5735 case. Ensure exception if result actually underflows.
5736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5737 (efx8): Remove variable.
5738 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5739 case. Ensure exception if result actually underflows.
5740 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5741 (efx8): Remove variable.
5742 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5743 case. Ensure exception if result actually underflows.
5744 * math/auto-libm-test-in: Add more tests of erf.
5745 * math/auto-libm-test-out: Regenerated.
5747 2014-05-14 Andreas Schwab <schwab@suse.de>
5749 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5750 Remove code conditionalized on USE___THREAD.
5752 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5753 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5756 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5758 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5759 Define unconditionally.
5760 (__ASSUME_O_CLOEXEC): Likewise.
5761 (__ASSUME_SOCK_CLOEXEC): Likewise.
5762 (__ASSUME_IN_NONBLOCK): Likewise.
5763 (__ASSUME_PIPE2): Likewise.
5764 (__ASSUME_EVENTFD2): Likewise.
5765 (__ASSUME_SIGNALFD4): Likewise.
5766 (__ASSUME_DUP3): Likewise.
5767 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5768 (__ASSUME_DUP3): Do not define.
5769 (__ASSUME_EVENTFD2): Likewise.
5770 (__ASSUME_IN_NONBLOCK): Likewise.
5771 (__ASSUME_O_CLOEXEC): Likewise.
5772 (__ASSUME_PIPE2): Likewise.
5773 (__ASSUME_SIGNALFD4): Likewise.
5774 (__ASSUME_SOCK_CLOEXEC): Likewise.
5775 (__ASSUME_UTIMES): Undefine.
5776 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5777 (__ASSUME_UTIMES): Do not define.
5778 (__ASSUME_O_CLOEXEC): Likewise.
5779 (__ASSUME_SOCK_CLOEXEC): Likewise.
5780 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5781 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5783 (__ASSUME_PIPE2): Likewise.
5784 (__ASSUME_EVENTFD2): Likewise.
5785 (__ASSUME_SIGNALFD4): Likewise.
5786 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5787 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5789 (__ASSUME_EVENTFD2): Likewise.
5790 (__ASSUME_SIGNALFD4): Likewise.
5791 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5792 (__ASSUME_32BITUIDS): Likewise.
5793 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5794 (__ASSUME_IPC64): Likewise.
5795 (__ASSUME_ST_INO_64_BIT): Likewise.
5796 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5797 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5798 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5799 (__ASSUME_UTIMES): Do not define.
5800 (__ASSUME_PSELECT): Likewise.
5801 (__ASSUME_PPOLL): Likewise.
5802 (__ASSUME_O_CLOEXEC): Likewise.
5803 (__ASSUME_SOCK_CLOEXEC): Likewise.
5804 (__ASSUME_IN_NONBLOCK): Likewise.
5805 (__ASSUME_PIPE2): Likewise.
5806 (__ASSUME_EVENTFD2): Likewise.
5807 (__ASSUME_SIGNALFD4): Likewise.
5808 (__ASSUME_DUP3): Likewise.
5809 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5810 (__ASSUME_UTIMES): Likewise.
5811 (__ASSUME_O_CLOEXEC): Likewise.
5812 (__ASSUME_SOCK_CLOEXEC): Likewise.
5813 (__ASSUME_IN_NONBLOCK): Likewise.
5814 (__ASSUME_PIPE2): Likewise.
5815 (__ASSUME_EVENTFD2): Likewise.
5816 (__ASSUME_SIGNALFD4): Likewise.
5817 (__ASSUME_DUP3): Likewise.
5818 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5819 (__ASSUME_UTIMES): Likewise.
5820 (__ASSUME_O_CLOEXEC): Likewise.
5821 (__ASSUME_SOCK_CLOEXEC): Likewise.
5822 (__ASSUME_IN_NONBLOCK): Likewise.
5823 (__ASSUME_PIPE2): Likewise.
5824 (__ASSUME_EVENTFD2): Likewise.
5825 (__ASSUME_SIGNALFD4): Likewise.
5826 (__ASSUME_DUP3): Likewise.
5827 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5829 (__ASSUME_UTIMES): Likewise.
5830 (__ASSUME_EVENTFD2): Likewise.
5831 (__ASSUME_SIGNALFD4): Likewise.
5832 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5833 (__ASSUME_O_CLOEXEC): Likewise.
5834 (__ASSUME_SOCK_CLOEXEC): Likewise.
5835 (__ASSUME_IN_NONBLOCK): Likewise.
5836 (__ASSUME_PIPE2): Likewise.
5837 (__ASSUME_EVENTFD2): Likewise.
5838 (__ASSUME_SIGNALFD4): Likewise.
5839 (__ASSUME_DUP3): Likewise.
5840 (__ASSUME_UTIMES): Undefine.
5842 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5843 feclearexcept. Remove symbol versioning code.
5844 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5845 symbol versioning code.
5846 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5847 symbol versioning code.
5848 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5849 feupdateenv. Remove symbol versioning code.
5850 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5851 fegetexceptflag. Remove symbol versioning code.
5852 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5853 fesetexceptflag. Remove symbol versioning code.
5854 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5855 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5856 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5857 (__posix_fadvise64_l32): Remove prototype.
5858 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5861 2014-05-13 Roland McGrath <roland@hack.frob.com>
5863 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5864 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5865 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5866 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5868 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5870 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5871 current working directory
5873 2014-05-13 Roland McGrath <roland@hack.frob.com>
5875 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5876 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5877 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5878 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5879 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5880 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5881 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5882 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5883 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5884 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5885 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5886 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5887 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5888 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5889 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5890 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5891 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5892 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5893 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5894 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5895 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5896 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5897 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5898 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5899 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5900 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5901 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5902 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5903 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5904 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5906 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5907 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5908 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5909 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5910 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5911 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5912 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5913 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5914 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5915 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5916 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5918 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5919 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5921 * sysdeps/unix/sysv/linux/arm/Makefile
5922 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5923 Add rt-aeabi_unwind_cpp_pr1.
5924 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5925 Add nptl-aeabi_unwind_cpp_pr1.
5926 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5927 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5928 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5929 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5930 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5931 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5933 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5934 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5935 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5936 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5938 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5939 Deconditionalize the code that was previously under [RESET_PID].
5940 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5942 * sysdeps/generic/exit-thread.h: New file.
5943 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5944 * include/unistd.h (__exit_thread): Remove declaration.
5945 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5946 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5947 * csu/libc-start.c: Include <exit-thread.h>.
5948 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5949 * nptl/pthread_create.c: Include <exit-thread.h>.
5950 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5951 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5952 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5953 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5954 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5955 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5956 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5957 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5958 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5959 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5960 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5961 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5962 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5963 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5964 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5965 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5966 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5968 2014-05-13 Andreas Schwab <schwab@suse.de>
5970 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5972 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5974 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5975 (__ASSUME_UTIMES): Do not condition on kernel version.
5976 (__ASSUME_PSELECT): Define unconditionally.
5977 (__ASSUME_PPOLL): Likewise.
5978 (__ASSUME_ATFCTS): Likewise.
5979 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5980 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5981 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5982 (__ASSUME_UTIMENSAT): Define unconditionally.
5983 (__ASSUME_PRIVATE_FUTEX): Likewise.
5984 (__ASSUME_FALLOCATE): Likewise.
5985 (__ASSUME_O_CLOEXEC): Likewise.
5986 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5987 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5988 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5989 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5990 (__ASSUME_IN_NONBLOCK): Likewise.
5991 (__ASSUME_PIPE2): Likewise.
5992 (__ASSUME_EVENTFD2): Likewise.
5993 (__ASSUME_SIGNALFD4): Likewise.
5994 (__ASSUME_DUP3): Likewise.
5995 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5996 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5997 (__ASSUME_AT_RANDOM): Likewise.
5998 (__ASSUME_PREADV): Likewise.
5999 (__ASSUME_PWRITEV): Likewise.
6000 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6001 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6002 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6003 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6004 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6005 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6006 (__ASSUME_O_CLOEXEC): Define unconditionally.
6007 (__ASSUME_PSELECT): Do not undefine conditionally.
6008 (__ASSUME_PPOLL): Likewise.
6009 (__ASSUME_ATFCTS): Likewise.
6010 (__ASSUME_SET_ROBUST_LIST): Likewise.
6011 (__ASSUME_UTIMENSAT): Likewise.
6012 (__ASSUME_FDATASYNC): Define unconditionally.
6013 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6014 (__ASSUME_SIGFRAME_V2): Likewise.
6015 )__ASSUME_EVENTFD2): Likewise.
6016 (__ASSUME_SIGNALFD4): Likewise.
6017 (__ASSUME_PSELECT): Do not undefine conditionally.
6018 (__ASSUME_PPOLL): Likewise.
6019 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6020 (__ASSUME_PSELECT): Define unconditionally.
6021 (__ASSUME_PPOLL): Likewise.
6022 (__ASSUME_O_CLOEXEC): Likewise.
6023 (__ASSUME_SOCK_CLOEXEC): Likewise.
6024 (__ASSUME_IN_NONBLOCK): Likewise.
6025 (__ASSUME_PIPE2): Likewise.
6026 (__ASSUME_EVENTFD2): Likewise.
6027 (__ASSUME_SIGNALFD4): Likewise.
6028 (__ASSUME_DUP3): Likewise.
6029 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6030 (__ASSUME_O_CLOEXEC): Likewise.
6031 (__ASSUME_SOCK_CLOEXEC): Likewise.
6032 (__ASSUME_IN_NONBLOCK): Likewise.
6033 (__ASSUME_PIPE2): Likewise.
6034 (__ASSUME_EVENTFD2): Likewise.
6035 (__ASSUME_SIGNALFD4): Likewise.
6036 (__ASSUME_DUP3): Likewise.
6037 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6038 (__ASSUME_EVENTFD2): Likewise.
6039 (__ASSUME_SIGNALFD4): Likewise.
6040 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6042 2014-05-12 Andreas Schwab <schwab@suse.de>
6045 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6046 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6047 than maximum RPC packet size.
6048 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6049 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6050 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6051 (_nss_nis_getservbyport_r): Likewise.
6053 2014-05-12 Will Newton <will.newton@linaro.org>
6055 * malloc/Makefile (tests): Add tst-mallopt.
6056 * malloc/tst-mallopt.c: New file.
6058 2014-05-09 Roland McGrath <roland@hack.frob.com>
6060 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6061 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6063 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6065 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6066 (tst-tlsmod6.so): Likewise.
6068 2014-05-09 Roland McGrath <roland@hack.frob.com>
6070 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6072 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6075 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6076 and <dl-procinfo.h>.
6077 (__fegetenv): Save SSE state in envp->__eip if supported.
6078 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6079 envp->__eip if supported.
6080 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6081 and <dl-procinfo.h>.
6082 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6083 __data_offset and __data_selector in environment to 0. Set SSE
6085 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6087 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6089 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6091 2014-05-09 Will Newton <will.newton@linaro.org>
6093 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6094 and libc_relro_required for ARM.
6095 * sysdeps/arm/preconfigure: Regenerate.
6097 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6098 Stefan Liebler <stli@linux.vnet.ibm.com>
6100 * config.make.in (enable-lock-elision): New Makefile variable.
6101 * configure.ac: Likewise.
6102 * configure: Regenerate.
6103 * sysdeps/s390/configure.ac:
6104 Add check for gcc transactions support.
6105 * sysdeps/s390/configure: Regenerate.
6106 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6107 Build elision files if enabled.
6108 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6109 Add lock elision support for s390.
6110 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6111 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6112 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6113 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6114 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6115 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6116 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6118 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6120 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6122 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6124 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6125 (__lll_timedlock_elision, __lll_lock_elision)
6126 (__lll_unlock_elision, __lll_trylock_elision)
6127 (lll_timedlock_elision, lll_lock_elision)
6128 (lll_unlock_elision, lll_trylock_elision): Add.
6129 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6130 (pthread_mutex_t): Add lock elision support for s390.
6132 2014-05-14 Wilco <wdijkstr@arm.com>
6134 * sysdeps/arm/fclrexcpt.c: Cleanup.
6135 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6136 * sysdeps/arm/feenablxcpt.c: Cleanup.
6137 * sysdeps/arm/fegetenv.c: Cleanup.
6138 * sysdeps/arm/fegetexcept.c: Cleanup.
6139 * sysdeps/arm/fegetround.c: Cleanup.
6140 * sysdeps/arm/feholdexcpt.c: Cleanup.
6141 * sysdeps/arm/fesetenv.c: Cleanup.
6142 * sysdeps/arm/fesetround.c: Cleanup.
6143 * sysdeps/arm/feupdateenv.c: Cleanup.
6144 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6145 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6146 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6147 * sysdeps/arm/ftestexcept.c: Cleanup.
6148 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6149 * sysdeps/arm/setfpucw.c: Cleanup.
6151 2014-05-09 Will Newton <will.newton@linaro.org>
6153 * sysdeps/arm/armv7/strcmp.S: New file.
6154 * NEWS: Mention addition of ARMv7 optimized strcmp.
6156 2014-05-08 Roland McGrath <roland@hack.frob.com>
6158 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6159 look for %.ac rather than %.in.
6161 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6162 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6163 * sysdeps/mach/hurd/configure: Regenerated.
6164 * sysdeps/unix/sysv/linux/configure: Regenerated.
6166 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6168 2014-05-07 Steve Ellcey <sellcey@mips.com>
6171 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6175 2014-05-07 Andreas Schwab <schwab@suse.de>
6177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6178 when skipping over non-matching result from nscd.
6180 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6183 * nptl/sockperf.c (client): Check socket return value.
6186 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6187 nscd security class.
6189 2014-05-06 Roland McGrath <roland@hack.frob.com>
6191 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6192 * sysdeps/arm/unwind.h: ... here.
6194 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6197 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6200 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6202 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6203 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6204 multiarch strncpy for PPC64.
6205 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6206 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6208 multiarch optimizations.
6209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6210 (__libc_ifunc_impl_list): Likewise.
6211 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6212 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6213 multiarch stpncpy for PPC64.
6214 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6215 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6217 2014-05-06 Andreas Schwab <schwab@suse.de>
6220 * gmon/mcount.c (_MCOUNT_DECL): Use
6221 atomic_compare_and_exchange_bool_acq instead of
6222 catomic_compare_and_exchange_bool_acq.
6224 2014-05-05 Roland McGrath <roland@hack.frob.com>
6226 * elf/Makefile (others, install-bin): Remove pldd.
6227 (pldd-modules): Variable removed.
6228 ($(objpfx)pldd): Target removed.
6229 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6230 (others, install-bin): Append pldd here.
6231 ($(objpfx)pldd): New target.
6233 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6234 to 0, so the first #if test emitted later doesn't see it undefined.
6235 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6236 * sysdeps/gnu/errlist.c: Regenerated.
6238 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6240 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6241 [libc_hidden_builtin_def]: Define to empty value.
6242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6243 [libc_hidden_builtin_def]: Likewise.
6244 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6245 [libc_hidden_builtin_def]: Likewise.
6246 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6247 [libc_hidden_builtin_def]: Likewise.
6248 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6249 __redirect_memcpy and define ifunc as default hidden symbol.
6250 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6251 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6253 2014-05-04 Adam Conrad <adconrad@0c3.net>
6255 * locale/iso-4217.def: Reintroduce XDR currency.
6257 2014-05-04 Allan McRae <allan@archlinux.org>
6259 * po/eo.po: Update Esperanto translation from translation project.
6261 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6263 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6264 and FEATURE_INDEX_MAX to 1.
6265 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6267 2014-05-01 Steve Ellcey <sellcey@mips.com>
6269 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6270 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6271 * iconvdata/big5.c (ONE_DIRECTION): Define.
6272 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6273 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6274 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6275 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6276 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6277 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6278 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6279 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6280 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6281 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6282 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6283 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6284 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6285 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6286 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6287 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6288 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6289 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6290 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6291 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6292 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6293 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6294 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6295 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6296 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6297 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6298 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6299 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6300 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6301 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6302 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6303 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6304 * iconvdata/johab.c (ONE_DIRECTION): Define.
6305 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6306 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6307 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6308 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6309 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6310 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6311 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6312 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6313 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6314 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6316 2014-05-01 Roland McGrath <roland@hack.frob.com>
6318 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6319 (_IO_JUMPS_OFFSET): Define to 0.
6321 * nptl/sysdeps/pthread/bits/libc-lock.h
6322 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6323 (__libc_lock_define_initialized_recursive): Always define using
6324 initializer. Modern compilers treat uninitialized (implicit zero) and
6325 explicit zero initializers the same (i.e. put the datum in bss).
6327 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6329 * nscd/nscd-client.h: Include <string.h>.
6331 2014-05-01 David S. Miller <davem@davemloft.net>
6334 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6335 multiple zero bytes exist at the end of a string.
6336 Reported by Aurelien Jarno <aurelien@aurel32.net>
6338 * string/test-strcmp.c (check): Add explicit test for situations where
6339 there are multiple zero bytes after the first.
6341 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6344 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6345 when compiling wprintf.
6346 * stdio-common/tstdiomisc.c (t3): New function.
6349 2014-05-01 Steve Ellcey <sellcey@mips.com>
6351 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6352 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6353 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6354 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6356 2014-05-01 Steve Ellcey <sellcey@mips.com>
6358 * stdlib/longlong.h: Updated from GCC.
6360 2014-05-01 Will Newton <will.newton@linaro.org>
6361 Bernard Ogden <bernie.ogden@linaro.org>
6363 * NEWS: Update fixed bug list.
6366 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6368 2014-04-30 David S. Miller <davem@davemloft.net>
6370 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6371 (libc_feholdexcept_setround_sparc_ctx): New function.
6372 (libc_fesetenv_sparc_ctx): Likewise.
6373 (libc_feupdateenv_sparc_ctx): Likewise.
6374 (libc_feholdsetround_sparc_ctx): Likewise.
6375 (libc_feholdexcept_setround_ctx): Define.
6376 (libc_feholdexcept_setroundf_ctx): Likewise.
6377 (libc_feholdexcept_setroundl_ctx): Likewise.
6378 (libc_fesetenv_ctx): Likewise.
6379 (libc_fesetenvf_ctx): Likewise.
6380 (libc_fesetenvl_ctx): Likewise.
6381 (libc_feupdateenv_ctx): Likewise.
6382 (libc_feupdateenvf_ctx): Likewise.
6383 (libc_feupdateenvl_ctx): Likewise.
6384 (libc_feresetround_ctx): Likewise.
6385 (libc_feresetroundf_ctx): Likewise.
6386 (libc_feresetroundl_ctx): Likewise.
6387 (libc_feholdsetround_ctx): Likewise.
6388 (libc_feholdsetroundf_ctx): Likewise.
6389 (libc_feholdsetroundl_ctx): Likewise.
6391 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6392 with __USE_GNU instead of XOPEN cpp guards.
6394 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6398 with XOPEN cpp guards.
6400 2014-04-30 Julian Brown <julian@codesourcery.com>
6403 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6406 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6409 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6411 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6412 * sysdeps/unix/sysv/linux/configure: Regenerated.
6413 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6414 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6415 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6416 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6417 * README: Update reference to required Linux kernel version.
6418 * manual/install.texi (Linux): Update reference to required Linux
6419 kernel headers version.
6420 * INSTALL: Regenerated.
6422 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6424 [POSIX] (limits.h): Likewise.
6425 [POSIX] (math.h): Likewise.
6426 [POSIX] (sys/wait.h): Likewise.
6427 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6429 [POSIX] (stddef.h): Do not allow header inclusion.
6431 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6433 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6435 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6437 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6438 Return immediately after lll_futex_wake.
6440 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6443 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6445 (datahead_init_pos): Call datahead_init_common early.
6446 (datahead_init_neg): Likewise.
6448 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6449 datahead_init_neg): New functions.
6450 * nscd/aicache.c (addhstaiX): Use them.
6451 * nscd/grpcache.c (cache_addgr): Likewise.
6452 * nscd/hstcache.c (cache_addhst): Likewise.
6453 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6454 * nscd/netgroupcache.c (do_notfound): Likewise.
6455 (addgetnetgrentX): Likewise.
6456 (addinnetgrX): Likewise.
6457 * nscd/pwdcache.c (cache_addpw): Likewise.
6458 * nscd/servicescache.c (cache_addserv): Likewise.
6460 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6461 Atsushi Onoe <atsushi@onoe.org>
6466 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6467 one response is valid.
6468 * resolv/res_send.c (send_dg): Check for validity of other
6469 response if the current response is a referral.
6471 2014-04-29 Steve Ellcey <sellcey@mips.com>
6473 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6475 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6478 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6479 Always divide by positive zero when computing -Inf result.
6480 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6481 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6483 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6485 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6486 FPSCR if value do not change.
6487 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6488 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6489 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6490 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6491 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6492 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6495 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6497 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6498 * sysdeps/unix/sysv/linux/hppa: Move directory from
6499 ports/systeps/unix/sysv/linux/hppa.
6500 * README: Update listing for hppa-*-linux-gnu.
6502 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6505 * manual/stdio.texi (Hook functions): Fix types of stream hook
6508 * socket/sys/socket.h: Fix typo in comment.
6510 2014-04-28 Wilco <wdijkstr@arm.com>
6512 * sysdeps/arm/fenv_private.h: New file.
6513 * sysdeps/arm/math_private.h: New file.
6514 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6516 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6518 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6520 (La_x86_64_retval): Likewise.
6522 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6524 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6525 fpsr if value didn't change.
6526 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6527 to fpcr if value didn't change.
6528 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6529 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6530 fpsr or fpcr if value didn't change.
6531 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6532 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6533 fpcr if value didn't change.
6534 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6535 to fpsr if value didn't change.
6537 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6539 * nptl/tst-sem3.c: Use test-skeleton.c
6540 (main): Rename to do_test. Use return instead of
6542 * nptl/tst-sem4.c: Use test-skeleton.c
6543 (main): Rename to do_test.
6545 2014-04-22 David S. Miller <davem@davemloft.net>
6547 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6548 (struct sigaction): New struct member __glibc_reserved0, change
6549 type of sa_flags to int.
6551 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6553 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6554 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6556 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6558 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6559 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6561 2014-04-22 Will Newton <will.newton@linaro.org>
6562 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6564 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6565 (__longjmp): Add longjmp and longjmp_target SystemTap
6567 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6568 (__sigsetjmp): Add setjmp SystemTap probe.
6570 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6572 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6575 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6577 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6579 * sysdeps/powerpc/fpu/fenv_private.h
6580 (libc_feholdexcept_setroundl_ctx): Define to
6581 libc_feholdexcept_setround_ppc_ctx.
6582 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6583 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6584 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6585 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6587 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6589 * sysdeps/aarch64/math-tests.h: New file.
6591 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6593 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6596 Check and set bit_AVX2_Usable.
6597 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6599 (bit_AVX2): Likewise.
6600 (index_AVX2_Usable): Likewise.
6601 (CPUID_AVX2): Likewise.
6602 (HAS_AVX2): Likewise.
6604 2014-04-17 Will Newton <will.newton@linaro.org>
6606 * manual/setjmp.texi (System V contexts): Add note that
6607 calling setcontext on a context created by a call to a
6608 signal handler is undefined. Update text to note that
6609 setcontext from a signal handler is possible but not
6613 * stdlib/tst-setcontext.c: Include signal.h.
6614 (main): Check that the signal stack before and
6615 after swapcontext is the same.
6617 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6618 Re-implement to restore registers in user code and avoid
6619 rt_sigreturn system call.
6621 2014-04-17 Wilco <wdijkstr@arm.com>
6623 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6624 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6625 * math/test-fenv.c: Skip exception trap tests on targets which only
6626 support non-stop mode.
6628 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6629 Wilco Dijkstra <wilco.dijkstra@arm.com>
6631 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6632 (libc_feholdsetround_aarch64_ctx)
6633 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6634 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6635 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6636 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6637 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6638 (libc_feresetround_noexl_ctx): Define.
6640 2014-04-16 Richard Henderson <rth@redhat.com>
6642 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6644 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6647 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6648 const from the non-libc, non-ldso copy.
6650 * sysdeps/alpha/libm-test-ulps: Regenerate.
6652 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6653 Wilco Dijkstra <wilco.dijkstra@arm.com>
6655 * sysdeps/aarch64/fpu/math_private.h: New file.
6657 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6659 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6661 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6663 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6664 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6665 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6666 Intel MPX bound registers before _dl_profile_fixup.
6667 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6668 registers after _dl_profile_fixup. Save and restore bound
6669 registers bnd0/bnd1 when calling _dl_call_pltexit.
6670 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6671 (LR_BND_OFFSET): Likewise.
6672 (LRV_BND0_OFFSET): Likewise.
6673 (LRV_BND1_OFFSET): Likewise.
6675 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6677 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6679 * sysdeps/mach/hurd/i386/tls.h: ... here.
6680 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6681 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6684 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6686 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6688 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6690 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6692 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6695 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6696 * sysdeps/s390/configure: Regenerate.
6699 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6700 Set round-to-nearest internally to reduce error accumulation.
6702 2014-04-16 Alan Modra <amodra@gmail.com>
6706 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6707 * math/libm-test.inc (frexp_test_data): Add tests.
6708 * NEWS: Update fixed bug list.
6710 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6712 * benchtests/Makefile: Depend on libraries in build directory.
6713 (bench-math): Separate out math tests.
6714 (bench-pthread): Separate out pthread tests.
6715 (bench): Include math and pthread tests.
6717 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6720 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6721 _dl_debug_initialize.
6723 * configure.ac: Remove SELinux header check.
6724 * configure: Regenerate.
6725 * nscd/selinux.c (perms): Array of const char* to permission names.
6726 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6727 default policy. Call string_to_security_class and string_to_av_perm to
6728 translate strings. Enforce default policy and call avs_has_perm with
6729 results of translated strings.
6731 2014-04-13 David S. Miller <davem@davemloft.net>
6733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6735 2014-04-12 Allan McRae <allan@archlinux.org>
6738 * manual/string.texi (Collation Functions): Fix qsort argument
6740 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6742 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6744 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6745 Make the test a no-op if there are no exceptions defined.
6747 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6749 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6750 enable-hardcoded-path-in-tests
6752 2014-04-11 Will Newton <will.newton@linaro.org>
6754 * benchtests/Makefile (extra-objs): Add json-lib.o.
6755 (bench-func): Tidy up JSON output.
6756 * benchtests/bench-skeleton.c: Include json-lib.h.
6757 (main): Use JSON library functions to do output of
6759 * benchtests/bench-timing-type.c (main): Output the
6760 timing type simply, leaving formatting to the user.
6761 * benchtests/json-lib.c: New file.
6762 * benchtests/json-lib.h: Likewise.
6764 2014-04-11 Torvald Riegel <triegel@redhat.com>
6767 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6768 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6769 memory barriers. Add comments.
6770 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6771 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6772 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6773 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6774 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6775 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6777 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6779 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6780 * sysdeps/s390/s390-64/configure.ac: ... this ...
6781 * sysdeps/s390/configure.ac: ... to here.
6782 * sysdeps/s390/s390-32/configure: Delete file.
6783 * sysdeps/s390/s390-64/configure: Delete file.
6784 * sysdeps/s390/configure: Regenerate.
6786 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6788 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6790 2014-04-11 Will Newton <will.newton@linaro.org>
6792 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6793 to zero if it is not defined elsewhere. (mtrim): Test
6794 the value of MALLOC_DEBUG with #if rather than #ifdef.
6796 2014-04-10 Torvald Riegel <triegel@redhat.com>
6798 * benchtests/pthread_once-inputs: New file.
6799 * benchtests/pthread_once-source.c: New file.
6800 * benchtests/README: Update documentation.
6802 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6803 H.J. Lu <hongjiu.lu@intel.com>
6805 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6806 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6807 * sysdeps/x86_64/configure: Regenerated.
6808 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6810 (REGISTER_SAVE_RAX): Likewise.
6811 (REGISTER_SAVE_RCX): Likewise.
6812 (REGISTER_SAVE_RDX): Likewise.
6813 (REGISTER_SAVE_RSI): Likewise.
6814 (REGISTER_SAVE_RDI): Likewise.
6815 (REGISTER_SAVE_R8): Likewise.
6816 (REGISTER_SAVE_R9): Likewise.
6817 (REGISTER_SAVE_BND0): Likewise.
6818 (REGISTER_SAVE_BND1): Likewise.
6819 (REGISTER_SAVE_BND2): Likewise.
6820 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6821 bound registers when calling _dl_fixup.
6823 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6825 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6826 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6828 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6829 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6830 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6831 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6832 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6833 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6834 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6836 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6839 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6840 pathconf(_PC_NAME_MAX).
6842 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6844 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6846 (__PTHREAD_SPINS): Move definition to ...
6847 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6848 (__PTHREAD_SPINS): ... here.
6849 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6850 (__PTHREAD_SPIN): Likewise.
6851 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6852 (__PTHREAD_SPIN): Likewise.
6853 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6854 (__PTHREAD_SPIN): Likewise.
6855 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6856 (__PTHREAD_SPIN): Likewise.
6857 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6858 (__PTHREAD_SPIN): Likewise.
6859 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6860 (__PTHREAD_SPIN): Likewise.
6861 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6862 (__PTHREAD_SPIN): Likewise.
6863 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6864 (__PTHREAD_SPIN): Likewise.
6865 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6866 (__PTHREAD_SPIN): Likewise.
6867 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6868 (__PTHREAD_SPIN): Likewise.
6869 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6870 (__PTHREAD_SPIN): Likewise.
6871 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6872 (__PTHREAD_SPIN): Likewise.
6874 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6875 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6876 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6877 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6879 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6880 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6881 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6882 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6884 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6885 strlen symbol for non multi-arch builds.
6886 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6887 missing hidden_def and weak_alias.
6889 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6891 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6893 2014-04-07 Will Newton <will.newton@linaro.org>
6895 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6896 and contents. [!_LIBC] Remove #ifndef and contents.
6897 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6898 * string/memccpy.c (__memccpy): Use ANSI prototype.
6899 * string/memfrob.c (memfrob): Likewise.
6900 * string/strcoll.c (STRCOLL): Likewise.
6901 * string/strlen.c (strlen): Likewise.
6902 * string/strtok.c (STRTOK): Likewise.
6903 * string/strcat.c: Remove unused #include of memcopy.h.
6904 (strcat): Use ANSI prototype.
6905 * string/strchr.c: Remove unused #include of memcopy.h.
6906 (strchr): Use ANSI prototype.
6907 * string/strcmp.c: Remove unused #include of memcopy.h.
6908 (strcmp): Use ANSI prototype.
6909 * string/strcpy.c: Remove unused #include of memcopy.h.
6910 (strcpy): Use ANSI prototype.
6912 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6914 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6915 * config.make.in (config-extra-cppflags): Set it from
6916 libc_extra_cppflags.
6917 * configure.ac (libc_extra_cflags): Make it accumulate over
6918 configure fragments.
6919 (libc_extra_cppflags): New flag.
6920 * configure. Regenerate.
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6922 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6923 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6927 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6928 result for FE_DOWNWARD rounding mode.
6929 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6933 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6935 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6936 in function argument name.
6938 2014-04-03 David Svoboda <svoboda@cert.org>
6941 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6944 2014-04-03 Roland McGrath <roland@hack.frob.com>
6946 * elf/dl-unmap-segments.h: New file.
6947 * sysdeps/generic/ldsodefs.h
6948 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6949 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6950 * elf/dl-fptr.c: Likewise.
6951 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6952 * sysdeps/aarch64/tlsdesc.c: Likewise.
6953 * sysdeps/arm/tlsdesc.c: Likewise.
6954 * sysdeps/i386/tlsdesc.c: Likewise.
6955 * sysdeps/tile/dl-runtime.c: Likewise.
6956 * sysdeps/x86_64/tlsdesc.c: Likewise.
6957 * elf/dl-load.h: New file.
6958 * elf/dl-load.c: Include it.
6959 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6960 Macros moved to dl-load.h.
6961 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6962 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6963 Use _dl_unmap_segments in place of __munmap.
6964 Break out segment-mapping loop into ...
6965 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6967 2014-04-03 Will Newton <will.newton@linaro.org>
6969 * elf/dl-lookup.c (do_lookup_x): Remove comment
6970 referring to nested function and move variable
6971 declarations down to before first use.
6973 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6977 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6979 * math/s_catanf.c (__catanf): Likewise.
6980 * math/s_catanh.c (__catanh): Likewise.
6981 * math/s_catanhf.c (__catanhf): Likewise.
6982 * math/s_catanhl.c (__catanhl): Likewise.
6983 * math/s_catanl.c (__catanl): Likewise.
6984 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6985 by positive zero when computing -Inf result.
6986 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6987 (catanh_test): Likewise.
6988 * sysdeps/i386/fpu/libm-test-ulps: Update.
6989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6992 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6993 instead of using underflowing value in computing result.
6994 * math/s_clog10.c (__clog10): Likewise.
6995 * math/s_clog10f.c (__clog10f): Likewise.
6996 * math/s_clog10l.c (__clog10l): Likewise.
6997 * math/s_clogf.c (__clogf): Likewise.
6998 * math/s_clogl.c (__clogl): Likewise.
6999 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7000 (clog10_test): Likewise.
7001 * sysdeps/i386/fpu/libm-test-ulps: Update.
7002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7004 2014-04-02 Alan Modra <amodra@gmail.com>
7007 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7008 output when value is near a power of two. Use int64_t for lx and
7009 remove casts. Use decimal rather than hex exponent constants.
7010 Don't use long double multiplication when double will suffice.
7011 * math/libm-test.inc (nextafter_test_data): Add tests.
7012 * NEWS: Add 16739 and 16786 to bug list.
7014 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7016 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7018 2014-04-01 Will Newton <will.newton@linaro.org>
7020 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7021 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7023 2014-04-01 Florian Weimer <fweimer@redhat.com>
7026 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7027 * nptl/tst-setuid2.c: New file.
7028 * nptl/Makefile (xtests): Add tst-setuid2.
7030 2014-04-01 Alan Modra <amodra@gmail.com>
7033 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7035 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7039 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7040 set errno as appropriate.
7041 * math/w_scalbf.c (__scalbf): Likewise.
7042 * math/w_scalbl.c (__scalbl): Likewise.
7043 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7044 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7045 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7049 * math/w_atan2.c: Include <errno.h>.
7050 (__atan2): Set errno for result underflowing to zero.
7051 * math/w_atan2f.c: Include <errno.h>.
7052 (__atan2f): Set errno for result underflowing to zero.
7053 * math/w_atan2l.c: Include <errno.h>.
7054 (__atan2l): Set errno for result underflowing to zero.
7055 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7057 * math/auto-libm-test-out: Regenerated.
7059 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7061 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7062 Encode instruction correctly in little endian.
7063 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7065 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7067 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7069 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7072 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7075 * sysdeps/unix/sysv/linux/kernel-features.h
7076 [__sparc__ && !__arch64__ && !__sparc_v9__]
7077 (__ASSUME_SET_ROBUST_LIST): Do not define.
7078 [__sparc__ && !__arch64__ && !__sparc_v9__]
7079 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7080 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7082 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7083 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7084 (__ASSUME_REQUEUE_PI): Likewise.
7085 (__ASSUME_SET_ROBUST_LIST): Likewise.
7086 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7087 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7089 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7090 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7092 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7094 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7096 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7097 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7099 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7100 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7104 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7105 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7106 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7108 2014-03-31 Will Newton <will.newton@linaro.org>
7110 * benchtests/Makefile (bench): Add ffs and ffsll to list
7112 * benchtests/ffs-inputs: New file.
7113 * benchtests/ffsll-inputs: Likewise.
7115 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7118 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7119 too large before casting to int.
7120 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7121 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7122 * math/libm-test.inc (scalb_test_data): Add more tests.
7124 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7126 * benchtests/Makefile (DETAILED_OPT): New make option.
7127 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7129 * benchtests/bench-skeleton.c: Include stdbool.h.
7130 (main): Store and print timings per input.
7131 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7132 member to each argument value.
7133 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7134 (_print_arg_data): Initialize per-input timing to 0.
7136 * benchtests/Makefile (timing-type): New binary.
7137 (bench-clean): Also remove bench-timing-type.
7138 (bench): New target for timing-type.
7139 (bench-func): Print output in JSON format.
7140 * benchtests/bench-skeleton.c (main): Print output in JSON
7142 * benchtests/bench-timing-type.c: New file.
7143 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7144 (TIMING_PRINT_STATS): Remove.
7145 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7148 * benchtests/bench-modf.c: Remove.
7149 * benchtests/modf-inputs: New inputs file.
7151 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7154 * math/s_clog10.c (M_PI_LOG10E): New macro.
7155 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7156 imaginary parts are 0.
7157 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7158 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7159 imaginary parts are 0.
7160 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7161 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7162 imaginary parts are 0.
7163 * math/libm-test.inc (clog10_test_data): Update expected results
7164 for when real and imaginary parts are 0.
7166 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7168 * elf/dl-load.c: Finish conversion of __builtin_expect into
7171 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7174 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7175 1+x for argument with exponent below -67.
7176 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7178 * math/auto-libm-test-in: Add more tests of exp.
7179 * math/auto-libm-test-out: Regenerated.
7181 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7184 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7185 (nscd_getnetgrent): Use it.
7188 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7191 2014-03-27 Andi Kleen <ak@linux.intel.com>
7193 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7194 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7195 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7196 (lll_robust_unlock): Remove out of line section. Use cfi
7198 (LLL_STUB_UNWIND_INFO*): Remove.
7199 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7200 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7201 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7202 (lll_robust_unlock): Remove out of line section. Use cfi
7204 (LLL_STUB_UNWIND_INFO*): Remove.
7206 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7209 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7212 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7214 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7216 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7219 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7221 * math/test-fenv-preserve.c: New file.
7222 * math/Makefile (tests): Add test-fenv-preserve.
7224 2014-03-26 Will Newton <will.newton@linaro.org>
7226 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7228 2014-03-25 Roland McGrath <roland@hack.frob.com>
7230 * scripts/versionlist.awk: Partition the version sets and emit all
7231 GLIBC_* (sorted) before all others (sorted).
7233 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7235 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7236 GLIBC_2.2.5 version.
7238 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7240 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7243 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7248 2014-03-25 Andreas Schwab <schwab@suse.de>
7250 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7251 label to be used after in6ailist is initialized.
7253 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7255 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7256 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7258 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7262 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7264 (fp_formats): Update initializers.
7265 (init_fp_formats): Initialize new field.
7266 (output_for_one_input_case): Allow underflow for results up to
7268 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7269 * math/auto-libm-test-in: Don't mark some underflows from asin and
7271 * math/auto-libm-test-out: Regenerated.
7272 * sysdeps/i386/fpu/libm-test-ulps: Update.
7273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7275 2014-03-25 Andreas Schwab <schwab@suse.de>
7277 * libio/Makefile (tst-ftell-partial-wide-ENV)
7278 (tst-ftell-active-handler-ENV): Define.
7280 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7282 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7284 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7286 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7288 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7290 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7291 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7292 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7294 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7297 * elf/dl-load.c (open_verify): Add mode parameter.
7298 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7299 (open_path): Change from boolean 'secure' to complete flag 'mode'
7300 (_dl_map_object): Adjust.
7301 * elf/Makefile (tests): Add tst-dlopen-aout.
7302 * elf/tst-dlopen-aout.c: New test.
7304 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7307 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7308 (struct stat): Rename member pad0 to __glibc_reserved0.
7311 * sysdeps/s390/s390-32/bits/wordsize.h
7312 (__WORDSIZE32_SIZE_ULONG): New define.
7313 * sysdeps/s390/s390-64/bits/wordsize.h
7314 (__WORDSIZE32_SIZE_ULONG): Likewise.
7315 * sysdeps/generic/stdint.h (SIZE_MAX):
7316 Define as UL if __WORDSIZE32_SIZE_ULONG.
7319 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7320 (__glibc_reserved0): New variable.
7321 (sa_flags): Change type to int.
7323 * posix/Makefile (before-compile): Use += before-compile instead
7326 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7327 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7329 2014-03-20 Andreas Schwab <schwab@suse.de>
7332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7333 non-matching result from nscd.
7335 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7337 * scripts/bench.py: Moved to ...
7338 * benchtests/scripts/bench.py: ... here.
7339 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7341 2014-03-24 Andreas Schwab <schwab@suse.de>
7344 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7345 alloca_account and account alloca use for struct in6ailist.
7347 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7350 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7351 rounding mode to recompute results that overflow to infinity or
7353 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7355 * math/auto-libm-test-out: Regenerated.
7356 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7357 (ccosh_test): Likewise.
7358 (csin_test_data): Use plus_oflow.
7359 (csin_test): Use ALL_RM_TEST.
7360 (csinh_test_data): Use plus_oflow.
7361 (csinh_test): Use ALL_RM_TEST.
7362 * sysdeps/i386/fpu/libm-test-ulps: Update.
7363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7365 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7367 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7368 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7369 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7372 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7374 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7375 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7376 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7377 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7379 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7380 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7382 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7383 * sysdeps/i386/fpu/libm-test-ulps: Update.
7384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7386 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7388 * scripts/bench.pl: Remove file.
7389 * scripts/bench.py: New benchmark script.
7390 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7391 * benchtests/README: Mention python dependency.
7392 * scripts/pylintrc: New file.
7393 * scripts/pylint: New file.
7395 * bits/mathdef.h: Use #ifdef instead of #if.
7396 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7397 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7398 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7399 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7400 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7401 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7403 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7404 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7406 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7408 and strpbrk-ppc64 objects.
7409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7410 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7411 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7412 multiarch strpbrk for POWER7.
7413 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7414 multiarch strpbrk for PPC64.
7415 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7417 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7420 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7422 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7423 (atan_test): Likewise.
7424 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7425 (atanh_test): Use ALL_RM_TEST.
7426 (atan2_test_data): Likewise.
7427 (cabs_test): Likewise.
7428 (cacosh_test): Likewise.
7429 (carg_test): Likewise.
7430 (casin_test): Likewise.
7431 (casinh_test): Likewise.
7432 (cbrt_test): Likewise.
7433 (csqrt_test): Likewise.
7434 (erf_test): Likewise.
7435 (erfc_test): Likewise.
7436 (pow10_test): Likewise.
7437 (exp2_test): Likewise.
7438 (hypot_test): Likewise.
7439 (j0_test): Likewise.
7440 (j1_test): Likewise.
7441 (lgamma_test): Likewise.
7442 (gamma_test): Likewise.
7443 (sincos_test): Likewise.
7444 (tanh_test): Likewise.
7445 (y0_test): Likewise.
7446 (y1_test): Likewise.
7447 * sysdeps/i386/fpu/libm-test-ulps: Update.
7448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7450 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7452 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7454 and strcspn-ppc64 objects.
7455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7456 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7457 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7458 multiarch strcspn for POWER7.
7459 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7460 multiarch strcspn for PPC64.
7461 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7463 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7466 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7468 * math/gen-libm-test.pl (generate_testfile): Expect only function
7469 name as argument to AUTO_TESTS_* and pass results for all rounding
7470 modes to parse_args.
7471 (parse_auto_input): Separate inputs of automatic tests from
7472 outputs before storing in %auto_tests.
7473 * math/libm-test.inc (acos_test_data): Update call to
7475 (acos_test): Use ALL_RM_TEST.
7476 (acos_tonearest_test_data): Remove.
7477 (acos_test_tonearest): Likewise.
7478 (acos_towardzero_test_data): Likewise.
7479 (acos_test_towardzero): Likewise.
7480 (acos_downward_test_data): Likewise.
7481 (acos_test_downward): Likewise.
7482 (acos_upward_test_data): Likewise.
7483 (acos_test_upward): Likewise.
7484 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7485 (asin_test_data): Likewise.
7486 (asin_test): Use ALL_RM_TEST.
7487 (asin_tonearest_test_data): Remove.
7488 (asin_test_tonearest): Likewise.
7489 (asin_towardzero_test_data): Likewise.
7490 (asin_test_towardzero): Likewise.
7491 (asin_downward_test_data): Likewise.
7492 (asin_test_downward): Likewise.
7493 (asin_upward_test_data): Likewise.
7494 (asin_test_upward): Likewise.
7495 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7496 (atan_test_data): Likewise.
7497 (atanh_test_data): Likewise.
7498 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7499 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7500 (carg_test_data): Likewise.
7501 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7502 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7503 (ccosh_test_data): Likewise.
7504 (cexp_test_data): Likewise.
7505 (clog_test_data): Likewise.
7506 (clog10_test_data): Likewise.
7507 (cos_test_data): Update call to AUTO_TESTS_f_f.
7508 (cos_test): Use ALL_RM_TEST.
7509 (cos_tonearest_test_data): Remove.
7510 (cos_test_tonearest): Likewise.
7511 (cos_towardzero_test_data): Likewise.
7512 (cos_test_towardzero): Likewise.
7513 (cos_downward_test_data): Likewise.
7514 (cos_test_downward): Likewise.
7515 (cos_upward_test_data): Likewise.
7516 (cos_test_upward): Likewise.
7517 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7518 (cosh_test): Use ALL_RM_TEST.
7519 (cosh_tonearest_test_data): Remove.
7520 (cosh_test_tonearest): Likewise.
7521 (cosh_towardzero_test_data): Likewise.
7522 (cosh_test_towardzero): Likewise.
7523 (cosh_downward_test_data): Likewise.
7524 (cosh_test_downward): Likewise.
7525 (cosh_upward_test_data): Likewise.
7526 (cosh_test_upward): Likewise.
7527 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7528 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7529 (ctan_test_data): Likewise.
7530 (ctan_test): Use ALL_RM_TEST.
7531 (ctan_tonearest_test_data): Remove.
7532 (ctan_test_tonearest): Likewise.
7533 (ctan_towardzero_test_data): Likewise.
7534 (ctan_test_towardzero): Likewise.
7535 (ctan_downward_test_data): Likewise.
7536 (ctan_test_downward): Likewise.
7537 (ctan_upward_test_data): Likewise.
7538 (ctan_test_upward): Likewise.
7539 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7540 (ctanh_test): Use ALL_RM_TEST.
7541 (ctanh_tonearest_test_data): Remove.
7542 (ctanh_test_tonearest): Likewise.
7543 (ctanh_towardzero_test_data): Likewise.
7544 (ctanh_test_towardzero): Likewise.
7545 (ctanh_downward_test_data): Likewise.
7546 (ctanh_test_downward): Likewise.
7547 (ctanh_upward_test_data): Likewise.
7548 (ctanh_test_upward): Likewise.
7549 (erf_test_data): Update call to AUTO_TESTS_f_f.
7550 (erfc_test_data): Likewise.
7551 (exp_test_data): Likewise.
7552 (exp_test): Use ALL_RM_TEST.
7553 (exp_tonearest_test_data): Remove.
7554 (exp_test_tonearest): Likewise.
7555 (exp_towardzero_test_data): Likewise.
7556 (exp_test_towardzero): Likewise.
7557 (exp_downward_test_data): Likewise.
7558 (exp_test_downward): Likewise.
7559 (exp_upward_test_data): Likewise.
7560 (exp_test_upward): Likewise.
7561 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7562 (exp10_test): Use ALL_RM_TEST.
7563 (exp10_tonearest_test_data): Remove.
7564 (exp10_test_tonearest): Likewise.
7565 (exp10_towardzero_test_data): Likewise.
7566 (exp10_test_towardzero): Likewise.
7567 (exp10_downward_test_data): Likewise.
7568 (exp10_test_downward): Likewise.
7569 (exp10_upward_test_data): Likewise.
7570 (exp10_test_upward): Likewise.
7571 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7572 (expm1_test_data): Likewise.
7573 (expm1_test): Use ALL_RM_TEST.
7574 (expm1_tonearest_test_data): Remove.
7575 (expm1_test_tonearest): Likewise.
7576 (expm1_towardzero_test_data): Likewise.
7577 (expm1_test_towardzero): Likewise.
7578 (expm1_downward_test_data): Likewise.
7579 (expm1_test_downward): Likewise.
7580 (expm1_upward_test_data): Likewise.
7581 (expm1_test_upward): Likewise.
7582 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7583 (fma_test): Use ALL_RM_TEST.
7584 (fma_towardzero_test_data): Remove.
7585 (fma_test_towardzero): Likewise.
7586 (fma_downward_test_data): Likewise.
7587 (fma_test_downward): Likewise.
7588 (fma_upward_test_data): Likewise.
7589 (fma_test_upward): Likewise.
7590 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7591 (j0_test_data): Update call to AUTO_TESTS_f_f.
7592 (j1_test_data): Likewise.
7593 (jn_test_data): Update call to AUTO_TESTS_if_f.
7594 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7595 (log_test_data): Update call to AUTO_TESTS_f_f.
7596 (log10_test_data): Likewise.
7597 (log1p_test_data): Likewise.
7598 (log2_test_data): Likewise.
7599 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7600 (pow_tonearest_test_data): Likewise.
7601 (sin_test_data): Update call to AUTO_TESTS_f_f.
7602 (sin_test): Use ALL_RM_TEST.
7603 (sin_tonearest_test_data): Remove.
7604 (sin_test_tonearest): Likewise.
7605 (sin_towardzero_test_data): Likewise.
7606 (sin_test_towardzero): Likewise.
7607 (sin_downward_test_data): Likewise.
7608 (sin_test_downward): Likewise.
7609 (sin_upward_test_data): Likewise.
7610 (sin_test_upward): Likewise.
7611 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7612 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7613 (sinh_test): Use ALL_RM_TEST.
7614 (sinh_tonearest_test_data): Remove.
7615 (sinh_test_tonearest): Likewise.
7616 (sinh_towardzero_test_data): Likewise.
7617 (sinh_test_towardzero): Likewise.
7618 (sinh_downward_test_data): Likewise.
7619 (sinh_test_downward): Likewise.
7620 (sinh_upward_test_data): Likewise.
7621 (sinh_test_upward): Likewise.
7622 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7623 (sqrt_test): Use ALL_RM_TEST.
7624 (sqrt_tonearest_test_data): Remove.
7625 (sqrt_test_tonearest): Likewise.
7626 (sqrt_towardzero_test_data): Likewise.
7627 (sqrt_test_towardzero): Likewise.
7628 (sqrt_downward_test_data): Likewise.
7629 (sqrt_test_downward): Likewise.
7630 (sqrt_upward_test_data): Likewise.
7631 (sqrt_test_upward): Likewise.
7632 (tan_test_data): Update call to AUTO_TESTS_f_f.
7633 (tan_test): Use ALL_RM_TEST.
7634 (tan_tonearest_test_data): Remove.
7635 (tan_test_tonearest): Likewise.
7636 (tan_towardzero_test_data): Likewise.
7637 (tan_test_towardzero): Likewise.
7638 (tan_downward_test_data): Likewise.
7639 (tan_test_downward): Likewise.
7640 (tan_upward_test_data): Likewise.
7641 (tan_test_upward): Likewise.
7642 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7643 (tgamma_test_data): Likewise.
7644 (y0_test_data): Likewise.
7645 (y1_test_data): Likewise.
7646 (yn_test_data): Update call to AUTO_TESTS_if_f.
7647 (main): Do not call removed functions.
7649 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7651 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7652 (ldexp_test_data): Remove.
7653 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7655 (scalb_test): Use ALL_RM_TEST.
7657 2014-03-19 Andreas Schwab <schwab@suse.de>
7659 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7661 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7664 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7665 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7666 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7668 (__ASSUME_PREADV): Undefine.
7669 (__ASSUME_PWRITEV): Likewise.
7671 2014-03-18 Roland McGrath <roland@hack.frob.com>
7673 * bits/mman-linux.h: Add comment about non-Linux use.
7674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7675 bits/mman-linux.h resting place.
7677 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7678 * bits/mman-linux.h: ... here.
7680 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7682 * conform/conformtest.pl: Add standard definition when calling C
7683 preprocessor on data files.
7684 (checknamespace): Remove unused variable.
7686 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7688 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7689 minus_oflow, plus_uflow and minus_uflow in expected results.
7690 * math/libm-test.inc (scalbn_test_data): Add more tests of
7691 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7693 (scalbn_test): Use ALL_RM_TEST.
7694 (scalbln_test_data): Add more tests of negative arguments. Use
7695 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7696 (scalbln_test): Use ALL_RM_TEST.
7698 2014-03-18 Roland McGrath <roland@hack.frob.com>
7700 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7702 2014-03-18 Will Newton <will.newton@linaro.org>
7704 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7707 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7709 * Makerules [!subdir] (check-abi): Exit with error status if a
7712 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7714 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7715 for rint. Include results for all rounding modes.
7716 (nearbyint_test): Use ALL_RM_TEST.
7717 (rint_test_data): Include all tests used for nearbyint.
7719 2014-03-17 Will Newton <will.newton@linaro.org>
7721 * nptl/sysdeps/pthread/pthread.h: Revert previous
7724 * sysdeps/generic/ldsodefs.h: Revert previous
7727 * libio/genops.c: Revert previous change.
7728 * libio/libioP.h: Likewise.
7729 * stdio-common/vfprintf.c: Likewise.
7731 * sysdeps/generic/math_private.h: Revert previous
7734 * sysdeps/generic/math_private.h: Check whether
7735 HAVE_RM_CTX is defined with #ifdef rather
7738 * argp/argp-fmtstream.h: Check whether
7739 __STRICT_ANSI__ is defined with #ifdef rather
7741 * argp/argp.h: Likewise.
7743 * libio/genops.c: Check whether
7744 _IO_JUMPS_OFFSET is defined with #ifdef rather
7746 * libio/libioP.h: Likewise.
7747 * stdio-common/vfprintf.c: Likewise.
7749 * sysdeps/generic/ldsodefs.h: Check whether
7750 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7753 * nptl/sysdeps/pthread/pthread.h: Check
7754 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7757 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7759 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7761 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7765 * libio/fileops.c (_IO_file_open): Seek to end of file but
7766 don't cache the offset.
7767 (get_file_offset): Remove function.
7768 (do_ftell): Use cached offset when available.
7769 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7770 don't cache the offset.
7771 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7773 (do_one_test): Call it.
7774 (do_ftell_test): Fix up expected old offset for a+ mode.
7775 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7778 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7779 up test status with function return status.
7780 (do_write_test): Likewise.
7781 (do_append_test): Likewise.
7783 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7784 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7787 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7789 * math/gen-libm-test.pl (parse_args): Handle results specified for
7790 each rounding mode separately.
7791 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7792 tests and results from lrint_tonearest_test_data,
7793 lrint_towardzero_test_data, lrint_downward_test_data and
7794 lrint_upward_test_data.
7795 (lrint_test): Use ALL_RM_TEST.
7796 (lrint_tonearest_test_data): Remove.
7797 (lrint_test_tonearest): Likewise.
7798 (lrint_towardzero_test_data): Likewise.
7799 (lrint_test_towardzero): Likewise.
7800 (lrint_downward_test_data): Likewise.
7801 (lrint_test_downward): Likewise.
7802 (lrint_upward_test_data): Likewise.
7803 (lrint_test_upward): Likewise.
7804 (llrint_test_data): Merge in per-rounding-mode tests and results
7805 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7806 llrint_downward_test_data and llrint_upward_test_data.
7807 (llrint_test): Use ALL_RM_TEST.
7808 (llrint_tonearest_test_data): Remove.
7809 (llrint_test_tonearest): Likewise.
7810 (llrint_towardzero_test_data): Likewise.
7811 (llrint_test_towardzero): Likewise.
7812 (llrint_downward_test_data): Likewise.
7813 (llrint_test_downward): Likewise.
7814 (llrint_upward_test_data): Likewise.
7815 (llrint_test_upward): Likewise.
7816 (rint_test_data): Merge in per-rounding-mode tests and results
7817 from rint_tonearest_test_data, rint_towardzero_test_data,
7818 rint_downward_test_data and rint_upward_test_data. Add
7819 per-rounding-mode results for tests not in those arrays.
7820 (rint_test): Use ALL_RM_TEST.
7821 (rint_tonearest_test_data): Remove.
7822 (rint_test_tonearest): Likewise.
7823 (rint_towardzero_test_data): Likewise.
7824 (rint_test_towardzero): Likewise.
7825 (rint_downward_test_data): Likewise.
7826 (rint_test_downward): Likewise.
7827 (rint_upward_test_data): Likewise.
7828 (rint_test_upward): Likewise.
7829 (main): Don't call removed functions.
7831 2014-03-14 Roland McGrath <roland@hack.frob.com>
7833 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7834 "Compiled on ..." crapola. It is anti-useful.
7836 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7838 * scripts/evaluate-test.sh: Handle fourth argument to determine
7839 whether test run should stop on failure.
7840 * Makeconfig (stop-on-test-failure): New variable.
7841 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7842 $(stop-on-test-failure).
7843 * Makefile (tests): Give a summary of results from testing and
7844 exit with failure status if they include an ERROR or FAIL.
7846 * manual/install.texi (Configuring and compiling): Mention
7847 stop-on-test-failure=y.
7848 * INSTALL: Regenerated.
7850 2014-03-14 Roland McGrath <roland@hack.frob.com>
7852 * scripts/versionlist.awk: New file.
7853 * Makerules [$(build-shared) = yes]
7854 (postclean-generated): Add Versions.def, not Versions.def.v and
7856 ($(common-objpfx)Versions.def.v.i): Target removed.
7857 ($(common-objpfx)Versions.def): New target.
7858 ($(common-objpfx)Versions.all): Depend on that rather that
7859 $(common-objpfx)Versions.def.v.
7860 * Versions.def: File removed.
7862 * Makeconfig (+gccwarn): Add -Wundef.
7863 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7864 a dl-sysdep.h breaking its contract.
7865 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7866 * include/stackinfo.h: New file.
7867 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7868 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7869 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7870 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7871 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7872 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7873 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7874 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7875 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7876 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7877 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7878 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7879 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7880 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7881 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7883 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7886 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7888 * math/libm-test.inc (round_test_data): Add more tests.
7891 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7893 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7896 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7898 * math/libm-test.inc (ceil_test_data): Add more tests.
7900 * math/libm-test.inc (trunc_test_data): Add more tests related to
7903 2014-03-14 Roland McGrath <roland@hack.frob.com>
7905 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7906 with #if rather than #ifdef.
7907 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7909 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7911 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7912 first. Disable AVX-512 GCC support if assembler doesn't support
7914 * sysdeps/x86_64/configure: Regenerated.
7916 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7918 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7919 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7920 (__old_pthread_attr_setstack): Likewise.
7921 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7922 [!_STACK_GROWS_DOWN]: Likewise.
7924 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7926 * config.make.in (have-bash2): Delete.
7927 * configure.ac (libc_cv_have_bash2): Delete.
7928 * configure: Regenerate.
7929 * elf/Makefile (common-ldd-rewrite): Rename to ...
7930 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7931 (sh-ldd-rewrite): Delete.
7932 (bash-ldd-rewrite): Delete.
7933 (have-bash2): Delete checks.
7934 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7937 * config.make.in (have-ksh): Delete.
7939 * configure.ac (libc_cv_have_ksh): Delete.
7940 * configure: Regenerate.
7942 * elf/Makefile: Delete $(have-ksh) check.
7943 ($(objpfx)sotruss): Change KSH to BASH.
7944 * elf/sotruss.ksh: Rename to ...
7945 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7946 function style to match POSIX. Drop ksh vim mode setting.
7948 * manual/time.texi (Specifying the Time Zone with TZ): Change
7949 Tuesday to Thursday.
7951 * debug/tst-longjmp_chk2.c: Update header comment.
7952 (stackoverflow_handler): Add comment. Call assert on pass value.
7954 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7956 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7957 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7958 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7959 (La_x86_64_vector): Add zmm.
7960 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7961 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7962 ($(objpfx)tst-audit10): New target.
7963 ($(objpfx)tst-audit10.out): Likewise.
7964 (tst-audit10-ENV): New.
7965 (AVX512-CFLAGS): Likewise.
7966 (CFLAGS-tst-audit10.c): Likewise.
7967 (CFLAGS-tst-auditmod10a.c): Likewise.
7968 (CFLAGS-tst-auditmod10b.c): Likewise.
7969 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7970 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7971 * sysdeps/x86_64/configure: Regenerated.
7972 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7973 AVX-512 zmm register support.
7974 (_dl_x86_64_save_sse): Likewise.
7975 (_dl_x86_64_restore_sse): Likewise.
7976 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7977 size vector registers.
7978 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7979 (ZMM_SIZE): Likewise.
7980 * sysdeps/x86_64/tst-audit10.c: New file.
7981 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7982 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7984 2014-03-13 Roland McGrath <roland@hack.frob.com>
7986 * configure.ac (HAVE_EHDR_START): New check.
7987 * configure: Regenerated.
7988 * config.h.in (HAVE_EHDR_START): New #undef.
7989 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7990 assuming the lowest-addressed segment maps the start of the file.
7992 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7994 * INSTALL: Regenerated.
7996 2014-03-13 Will Newton <will.newton@linaro.org>
7998 * manual/setjmp.texi (System V contexts): Improve
7999 clarity and grammar of documentation.
8001 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8004 * elf/Makefile (tests): Add tst-pie2.
8005 (tests-pie): Add tst-pie2.
8006 * elf/tst-pie2.c: New file.
8007 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8009 * elf/rtld.c (map_doit): Load executable as lt_executable.
8010 (dl_main): Likewise.
8012 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8015 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8016 (__ASSUME_PSELECT): Undefine.
8018 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8021 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8022 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8024 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8025 selector for static builds.
8027 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8030 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8033 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8035 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8036 IFUNC selector for static builds.
8038 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8040 * sysdeps/mips/math_private.h [__mips_hard_float]
8041 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8042 libc_feresetround_mips_ctx.
8043 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8044 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8045 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8048 * math/s_nextafter.c (__nextafter): Do not return value from
8049 overflowing computation.
8050 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8051 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8052 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8054 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8056 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8057 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8059 2014-03-11 Roland McGrath <roland@hack.frob.com>
8061 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8062 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8063 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8064 the new mov targetting sp.
8066 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8069 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8070 Define it for static builds as well.
8071 (NO_BZERO_IMPL): Likewise.
8073 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8075 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8076 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8077 multiarch strspn for PPC64.
8078 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8079 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8081 (__libc_ifunc_impl_list): Likewise.
8082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8083 multiarch optimizations
8084 * string/strspn.c (strspn): Using macro to redefine symbol name.
8086 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8087 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8089 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8090 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8091 multiarch strncat for PPC64.
8092 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8093 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8095 (__libc_ifunc_impl_list): Likewise.
8096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8097 multiarch optimizations
8099 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8102 * nscd/nscd.service: Make service type forking.
8104 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8106 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8107 sign in non default rounding modes.
8108 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8110 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8112 * math/libm-test.inc (ALL_RM_TEST): New macro.
8113 (ceil_test): Use ALL_RM_TEST.
8114 (cimag_test): Likewise.
8115 (conj_test): Likewise.
8116 (copysign_test): Likewise.
8117 (cproj_test): Likewise.
8118 (creal_test): Likewise.
8119 (fabs_test): Likewise.
8120 (floor_test): Likewise.
8121 (fmax_test): Likewise.
8122 (fmin_test): Likewise.
8123 (fmod_test): Likewise.
8124 (fpclassify_test): Likewise.
8125 (frexp_test): Likewise.
8126 (ilogb_test): Likewise.
8127 (isfinite_test): Likewise.
8128 (finite_test): Likewise.
8129 (isgreater_test): Likewise.
8130 (isgreaterequal_test): Likewise.
8131 (isinf_test): Likewise.
8132 (isless_test): Likewise.
8133 (islessequal_test): Likewise.
8134 (islessgreater_test): Likewise.
8135 (isnan_test): Likewise.
8136 (isnormal_test): Likewise.
8137 (issignaling_test): Likewise.
8138 (isunordered_test): Likewise.
8139 (logb_test): Likewise.
8140 (logb_downward_test_data): Remove.
8141 (logb_test_downward): Likewise.
8142 (lround_test): Use ALL_RM_TEST.
8143 (llround_test): Likewise.
8144 (modf_test): Likewise.
8145 (nexttoward_test): Likewise.
8146 (remainder_test): Likewise.
8147 (drem_test): Likewise.
8148 (remainder_tonearest_test_data): Likewise.
8149 (remainder_test_tonearest): Likewise.
8150 (drem_test_tonearest): Likewise.
8151 (remainder_towardzero_test_data): Likewise.
8152 (remainder_test_towardzero): Likewise.
8153 (drem_test_towardzero): Likewise.
8154 (remainder_downward_test_data): Likewise.
8155 (remainder_test_downward): Likewise.
8156 (drem_test_downward): Likewise.
8157 (remainder_upward_test_data): Likewise.
8158 (remainder_test_upward): Likewise.
8159 (drem_test_upward): Likewise.
8160 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8161 (round_test): Use ALL_RM_TEST.
8162 (signbit_test): Likewise.
8163 (trunc_test): Likewise.
8164 (significand_test): Likewise.
8165 (main): Don't call removed functions.
8167 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8170 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8172 (ILL_ILLOPN): Likewise.
8173 (ILL_ILLADR): Likewise.
8174 (ILL_ILLTRP): Likewise.
8175 (ILL_PRVOPC): Likewise.
8176 (ILL_PRVREG): Likewise.
8177 (ILL_COPROC): Likewise.
8178 (ILL_BADSTK): Likewise.
8179 (FPE_INTDIV): Likewise.
8180 (FPE_INTOVF): Likewise.
8181 (FPE_FLTDIV): Likewise.
8182 (FPE_FLTOVF): Likewise.
8183 (FPE_FLTUND): Likewise.
8184 (FPE_FLTRES): Likewise.
8185 (FPE_FLTINV): Likewise.
8186 (FPE_FLTSUB): Likewise.
8187 (SEGV_MAPERR): Likewise.
8188 (SEGV_ACCERR): Likewise.
8189 (BUS_ADRALN): Likewise.
8190 (BUS_ADRERR): Likewise.
8191 (BUS_OBJERR): Likewise.
8192 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8193 (TRAP_TRACE): Likewise.
8194 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8196 (CLD_KILLED): Likewise.
8197 (CLD_DUMPED): Likewise.
8198 (CLD_TRAPPED): Likewise.
8199 (CLD_STOPPED): Likewise.
8200 (CLD_CONTINUED): Likewise.
8201 (POLL_IN): Likewise.
8202 (POLL_OUT): Likewise.
8203 (POLL_MSG): Likewise.
8204 (POLL_ERR): Likewise.
8205 (POLL_PRI): Likewise.
8206 (POLL_HUP): Likewise.
8207 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8209 (ILL_ILLOPN): Likewise.
8210 (ILL_ILLADR): Likewise.
8211 (ILL_ILLTRP): Likewise.
8212 (ILL_PRVOPC): Likewise.
8213 (ILL_PRVREG): Likewise.
8214 (ILL_COPROC): Likewise.
8215 (ILL_BADSTK): Likewise.
8216 (FPE_INTDIV): Likewise.
8217 (FPE_INTOVF): Likewise.
8218 (FPE_FLTDIV): Likewise.
8219 (FPE_FLTOVF): Likewise.
8220 (FPE_FLTUND): Likewise.
8221 (FPE_FLTRES): Likewise.
8222 (FPE_FLTINV): Likewise.
8223 (FPE_FLTSUB): Likewise.
8224 (SEGV_MAPERR): Likewise.
8225 (SEGV_ACCERR): Likewise.
8226 (BUS_ADRALN): Likewise.
8227 (BUS_ADRERR): Likewise.
8228 (BUS_OBJERR): Likewise.
8229 (BUS_MCEERR_AR): Likewise.
8230 (BUS_MCEERR_AO): Likewise.
8231 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8232 (TRAP_TRACE): Likewise.
8233 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8235 (CLD_KILLED): Likewise.
8236 (CLD_DUMPED): Likewise.
8237 (CLD_TRAPPED): Likewise.
8238 (CLD_STOPPED): Likewise.
8239 (CLD_CONTINUED): Likewise.
8240 (POLL_IN): Likewise.
8241 (POLL_OUT): Likewise.
8242 (POLL_MSG): Likewise.
8243 (POLL_ERR): Likewise.
8244 (POLL_PRI): Likewise.
8245 (POLL_HUP): Likewise.
8246 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8247 (ILL_ILLOPN): Likewise.
8248 (ILL_ILLADR): Likewise.
8249 (ILL_ILLTRP): Likewise.
8250 (ILL_PRVOPC): Likewise.
8251 (ILL_PRVREG): Likewise.
8252 (ILL_COPROC): Likewise.
8253 (ILL_BADSTK): Likewise.
8254 (FPE_INTDIV): Likewise.
8255 (FPE_INTOVF): Likewise.
8256 (FPE_FLTDIV): Likewise.
8257 (FPE_FLTOVF): Likewise.
8258 (FPE_FLTUND): Likewise.
8259 (FPE_FLTRES): Likewise.
8260 (FPE_FLTINV): Likewise.
8261 (FPE_FLTSUB): Likewise.
8262 (SEGV_MAPERR): Likewise.
8263 (SEGV_ACCERR): Likewise.
8264 (BUS_ADRALN): Likewise.
8265 (BUS_ADRERR): Likewise.
8266 (BUS_OBJERR): Likewise.
8267 (BUS_MCEERR_AR): Likewise.
8268 (BUS_MCEERR_AO): Likewise.
8269 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8270 (TRAP_TRACE): Likewise.
8271 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8273 (CLD_KILLED): Likewise.
8274 (CLD_DUMPED): Likewise.
8275 (CLD_TRAPPED): Likewise.
8276 (CLD_STOPPED): Likewise.
8277 (CLD_CONTINUED): Likewise.
8278 (POLL_IN): Likewise.
8279 (POLL_OUT): Likewise.
8280 (POLL_MSG): Likewise.
8281 (POLL_ERR): Likewise.
8282 (POLL_PRI): Likewise.
8283 (POLL_HUP): Likewise.
8284 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8286 (ILL_ILLOPN): Likewise.
8287 (ILL_ILLADR): Likewise.
8288 (ILL_ILLTRP): Likewise.
8289 (ILL_PRVOPC): Likewise.
8290 (ILL_PRVREG): Likewise.
8291 (ILL_COPROC): Likewise.
8292 (ILL_BADSTK): Likewise.
8293 (ILL_BADIADDR): Likewise.
8294 (ILL_BREAK): Likewise.
8295 (FPE_INTDIV): Likewise.
8296 (FPE_INTOVF): Likewise.
8297 (FPE_FLTDIV): Likewise.
8298 (FPE_FLTOVF): Likewise.
8299 (FPE_FLTUND): Likewise.
8300 (FPE_FLTRES): Likewise.
8301 (FPE_FLTINV): Likewise.
8302 (FPE_FLTSUB): Likewise.
8303 (FPE_DECOVF): Likewise.
8304 (FPE_DECDIV): Likewise.
8305 (FPE_DECERR): Likewise.
8306 (FPE_INVASC): Likewise.
8307 (FPE_INVDEC): Likewise.
8308 (SEGV_MAPERR): Likewise.
8309 (SEGV_ACCERR): Likewise.
8310 (SEGV_PSTKOVF): Likewise.
8311 (BUS_ADRALN): Likewise.
8312 (BUS_ADRERR): Likewise.
8313 (BUS_OBJERR): Likewise.
8314 (BUS_MCEERR_AR): Likewise.
8315 (BUS_MCEERR_AO): Likewise.
8316 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8317 (TRAP_TRACE): Likewise.
8318 (TRAP_BRANCH): Likewise.
8319 (TRAP_HWBKPT): Likewise.
8320 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8322 (CLD_KILLED): Likewise.
8323 (CLD_DUMPED): Likewise.
8324 (CLD_TRAPPED): Likewise.
8325 (CLD_STOPPED): Likewise.
8326 (CLD_CONTINUED): Likewise.
8327 (POLL_IN): Likewise.
8328 (POLL_OUT): Likewise.
8329 (POLL_MSG): Likewise.
8330 (POLL_ERR): Likewise.
8331 (POLL_PRI): Likewise.
8332 (POLL_HUP): Likewise.
8333 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8334 (ILL_ILLOPN): Likewise.
8335 (ILL_ILLADR): Likewise.
8336 (ILL_ILLTRP): Likewise.
8337 (ILL_PRVOPC): Likewise.
8338 (ILL_PRVREG): Likewise.
8339 (ILL_COPROC): Likewise.
8340 (ILL_BADSTK): Likewise.
8341 (FPE_INTDIV): Likewise.
8342 (FPE_INTOVF): Likewise.
8343 (FPE_FLTDIV): Likewise.
8344 (FPE_FLTOVF): Likewise.
8345 (FPE_FLTUND): Likewise.
8346 (FPE_FLTRES): Likewise.
8347 (FPE_FLTINV): Likewise.
8348 (FPE_FLTSUB): Likewise.
8349 (SEGV_MAPERR): Likewise.
8350 (SEGV_ACCERR): Likewise.
8351 (BUS_ADRALN): Likewise.
8352 (BUS_ADRERR): Likewise.
8353 (BUS_OBJERR): Likewise.
8354 (BUS_MCEERR_AR): Likewise.
8355 (BUS_MCEERR_AO): Likewise.
8356 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8357 (TRAP_TRACE): Likewise.
8358 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8360 (CLD_KILLED): Likewise.
8361 (CLD_DUMPED): Likewise.
8362 (CLD_TRAPPED): Likewise.
8363 (CLD_STOPPED): Likewise.
8364 (CLD_CONTINUED): Likewise.
8365 (POLL_IN): Likewise.
8366 (POLL_OUT): Likewise.
8367 (POLL_MSG): Likewise.
8368 (POLL_ERR): Likewise.
8369 (POLL_PRI): Likewise.
8370 (POLL_HUP): Likewise.
8371 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8372 (ILL_ILLOPN): Likewise.
8373 (ILL_ILLADR): Likewise.
8374 (ILL_ILLTRP): Likewise.
8375 (ILL_PRVOPC): Likewise.
8376 (ILL_PRVREG): Likewise.
8377 (ILL_COPROC): Likewise.
8378 (ILL_BADSTK): Likewise.
8379 (FPE_INTDIV): Likewise.
8380 (FPE_INTOVF): Likewise.
8381 (FPE_FLTDIV): Likewise.
8382 (FPE_FLTOVF): Likewise.
8383 (FPE_FLTUND): Likewise.
8384 (FPE_FLTRES): Likewise.
8385 (FPE_FLTINV): Likewise.
8386 (FPE_FLTSUB): Likewise.
8387 (SEGV_MAPERR): Likewise.
8388 (SEGV_ACCERR): Likewise.
8389 (BUS_ADRALN): Likewise.
8390 (BUS_ADRERR): Likewise.
8391 (BUS_OBJERR): Likewise.
8392 (BUS_MCEERR_AR): Likewise.
8393 (BUS_MCEERR_AO): Likewise.
8394 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8395 (TRAP_TRACE): Likewise.
8396 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8398 (CLD_KILLED): Likewise.
8399 (CLD_DUMPED): Likewise.
8400 (CLD_TRAPPED): Likewise.
8401 (CLD_STOPPED): Likewise.
8402 (CLD_CONTINUED): Likewise.
8403 (POLL_IN): Likewise.
8404 (POLL_OUT): Likewise.
8405 (POLL_MSG): Likewise.
8406 (POLL_ERR): Likewise.
8407 (POLL_PRI): Likewise.
8408 (POLL_HUP): Likewise.
8409 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8410 (ILL_ILLOPN): Likewise.
8411 (ILL_ILLADR): Likewise.
8412 (ILL_ILLTRP): Likewise.
8413 (ILL_PRVOPC): Likewise.
8414 (ILL_PRVREG): Likewise.
8415 (ILL_COPROC): Likewise.
8416 (ILL_BADSTK): Likewise.
8417 (FPE_INTDIV): Likewise.
8418 (FPE_INTOVF): Likewise.
8419 (FPE_FLTDIV): Likewise.
8420 (FPE_FLTOVF): Likewise.
8421 (FPE_FLTUND): Likewise.
8422 (FPE_FLTRES): Likewise.
8423 (FPE_FLTINV): Likewise.
8424 (FPE_FLTSUB): Likewise.
8425 (SEGV_MAPERR): Likewise.
8426 (SEGV_ACCERR): Likewise.
8427 (BUS_ADRALN): Likewise.
8428 (BUS_ADRERR): Likewise.
8429 (BUS_OBJERR): Likewise.
8430 (BUS_MCEERR_AR): Likewise.
8431 (BUS_MCEERR_AO): Likewise.
8432 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8433 (TRAP_TRACE): Likewise.
8434 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8436 (CLD_KILLED): Likewise.
8437 (CLD_DUMPED): Likewise.
8438 (CLD_TRAPPED): Likewise.
8439 (CLD_STOPPED): Likewise.
8440 (CLD_CONTINUED): Likewise.
8441 (POLL_IN): Likewise.
8442 (POLL_OUT): Likewise.
8443 (POLL_MSG): Likewise.
8444 (POLL_ERR): Likewise.
8445 (POLL_PRI): Likewise.
8446 (POLL_HUP): Likewise.
8447 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8448 (ILL_ILLOPN): Likewise.
8449 (ILL_ILLADR): Likewise.
8450 (ILL_ILLTRP): Likewise.
8451 (ILL_PRVOPC): Likewise.
8452 (ILL_PRVREG): Likewise.
8453 (ILL_COPROC): Likewise.
8454 (ILL_BADSTK): Likewise.
8455 (ILL_DBLFLT): Likewise.
8456 (ILL_HARDWALL): Likewise.
8457 (FPE_INTDIV): Likewise.
8458 (FPE_INTOVF): Likewise.
8459 (FPE_FLTDIV): Likewise.
8460 (FPE_FLTOVF): Likewise.
8461 (FPE_FLTUND): Likewise.
8462 (FPE_FLTRES): Likewise.
8463 (FPE_FLTINV): Likewise.
8464 (FPE_FLTSUB): Likewise.
8465 (SEGV_MAPERR): Likewise.
8466 (SEGV_ACCERR): Likewise.
8467 (BUS_ADRALN): Likewise.
8468 (BUS_ADRERR): Likewise.
8469 (BUS_OBJERR): Likewise.
8470 (BUS_MCEERR_AR): Likewise.
8471 (BUS_MCEERR_AO): Likewise.
8472 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8473 (TRAP_TRACE): Likewise.
8474 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8476 (CLD_KILLED): Likewise.
8477 (CLD_DUMPED): Likewise.
8478 (CLD_TRAPPED): Likewise.
8479 (CLD_STOPPED): Likewise.
8480 (CLD_CONTINUED): Likewise.
8481 (POLL_IN): Likewise.
8482 (POLL_OUT): Likewise.
8483 (POLL_MSG): Likewise.
8484 (POLL_ERR): Likewise.
8485 (POLL_PRI): Likewise.
8486 (POLL_HUP): Likewise.
8487 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8488 (ILL_ILLOPN): Likewise.
8489 (ILL_ILLADR): Likewise.
8490 (ILL_ILLTRP): Likewise.
8491 (ILL_PRVOPC): Likewise.
8492 (ILL_PRVREG): Likewise.
8493 (ILL_COPROC): Likewise.
8494 (ILL_BADSTK): Likewise.
8495 (FPE_INTDIV): Likewise.
8496 (FPE_INTOVF): Likewise.
8497 (FPE_FLTDIV): Likewise.
8498 (FPE_FLTOVF): Likewise.
8499 (FPE_FLTUND): Likewise.
8500 (FPE_FLTRES): Likewise.
8501 (FPE_FLTINV): Likewise.
8502 (FPE_FLTSUB): Likewise.
8503 (SEGV_MAPERR): Likewise.
8504 (SEGV_ACCERR): Likewise.
8505 (BUS_ADRALN): Likewise.
8506 (BUS_ADRERR): Likewise.
8507 (BUS_OBJERR): Likewise.
8508 (BUS_MCEERR_AR): Likewise.
8509 (BUS_MCEERR_AO): Likewise.
8510 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8511 (TRAP_TRACE): Likewise.
8512 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8514 (CLD_KILLED): Likewise.
8515 (CLD_DUMPED): Likewise.
8516 (CLD_TRAPPED): Likewise.
8517 (CLD_STOPPED): Likewise.
8518 (CLD_CONTINUED): Likewise.
8519 (POLL_IN): Likewise.
8520 (POLL_OUT): Likewise.
8521 (POLL_MSG): Likewise.
8522 (POLL_ERR): Likewise.
8523 (POLL_PRI): Likewise.
8524 (POLL_HUP): Likewise.
8525 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8526 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8529 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8530 before #include of <time.h>.
8531 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8532 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8533 (test-xfail-UNIX98/sched.h/conform): Likewise.
8535 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8537 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8538 error absence of trapping exception support.
8539 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8541 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8543 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8544 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8545 * timezone/Makefile (testdata): Move definition above include of
8547 (test-zones): New variable.
8548 (tests-special): Add zone files.
8549 (build-testdata): Use $(evaluate-test).
8551 * elf/Makefile (tests-special): Rename tests to end with .out.
8552 ($(objpfx)noload-mem): Likewise.
8553 ($(objpfx)tst-leaks1-mem): Likewise.
8554 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8555 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8556 $(objpfx)test-iconvconfig.out.
8557 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8558 set -e inside subshell and redirect output to file.
8559 * iconvdata/Makefile (generated): Rename tests to end with .out.
8561 (tests-special): Rename tests to end with .out.
8562 ($(objpfx)mtrace-tst-loading): Likewise.
8563 * intl/Makefile (generated): Likewise.
8564 (tests-special): Likewise.
8565 ($(objpfx)mtrace-tst-gettext): Likewise.
8566 * misc/Makefile (generated): Likewise.
8567 (tests-special): Likewise.
8568 ($(objpfx)tst-error1-mem): Likewise.
8569 * nptl/Makefile (tests-special): Likewise.
8570 ($(objpfx)tst-stack3-mem): Likewise.
8571 (generated): Likewise.
8572 * posix/Makefile (generated): Likewise.
8573 (tests-special): Likewise.
8574 (xtests-special): Likewise.
8575 ($(objpfx)tst-fnmatch-mem): Likewise.
8576 ($(objpfx)bug-regex2-mem): Likewise.
8577 ($(objpfx)bug-regex14-mem): Likewise.
8578 ($(objpfx)bug-regex21-mem): Likewise.
8579 ($(objpfx)bug-regex31-mem): Likewise.
8580 ($(objpfx)tst-vfork3-mem): Likewise.
8581 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8582 ($(objpfx)tst-pcre-mem): Likewise.
8583 ($(objpfx)tst-boost-mem): Likewise.
8584 ($(objpfx)bug-ga2-mem): Likewise.
8585 ($(objpfx)bug-glob2-mem): Likewise.
8586 * resolv/Makefile (generate): Likewise.
8587 (tests-special): Likewise.
8588 (xtests-special): Likewise.
8589 (generated): Likewise.
8590 ($(objpfx)mtrace-tst-leaks): Likewise.
8591 ($(objpfx)mtrace-tst-leaks2): Likewise.
8593 * scripts/merge-test-results.sh: New file.
8594 * Makefile (tests-special-notdir): New variable.
8595 (tests): Run merge-test-results.sh.
8597 * Rules (tests-special-notdir): New variable.
8598 (xtests-special-notdir): Likewise.
8599 (tests): Run merge-test-results.sh
8602 * Makeconfig (test-xfail-name): New variable.
8603 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8604 compute variable name for expected failures.
8605 * conform/Makefile (conformtest-headers-data): New variable.
8606 (conformtest-standards): Likewise.
8607 (conformtest-headers-ISO): Likewise.
8608 (conformtest-headers-ISO99): Likewise.
8609 (conformtest-headers-ISO11): Likewise.
8610 (conformtest-headers-POSIX): Likewise.
8611 (conformtest-headers-XPG3): Likewise.
8612 (conformtest-headers-XPG4): Likewise.
8613 (conformtest-headers-UNIX98): Likewise.
8614 (conformtest-headers-XOPEN2K): Likewise.
8615 (conformtest-headers-POSIX2008): Likewise.
8616 (conformtest-headers-XOPEN2K8): Likewise.
8617 (conformtest-header-list-base): Likewise.
8618 (conformtest-header-list-tests): Likewise.
8619 (conformtest-header-base): Likewise.
8620 (conformtest-header-tests): Likewise.
8621 (tests-special): Add $(conformtest-header-list-tests). If
8622 [$(fast-check) && !$(cross-compiling)], add
8623 $(conformtest-header-tests) instead of
8624 $(objpfx)run-conformtest.out.
8625 (generated): Add $(conformtest-header-list-base). If
8626 [$(fast-check) && !$(cross-compiling)], add
8627 $(conformtest-header-base). Remove previous setting.
8628 ($(conformtest-header-list-tests)): New target.
8629 (test-xfail-run-conformtest): Remove variable.
8630 ($(objpfx)run-conformtest.out): Remove target.
8631 (test-xfail-ISO11/complex.h/conform): New variable.
8632 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8633 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8634 (test-xfail-XPG3/varargs.h/conform): Likewise.
8635 (test-xfail-XPG4/varargs.h/conform): Likewise.
8636 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8637 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8638 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8639 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8640 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8641 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8642 (test-xfail-XPG3/ftw.h/conform): Likewise.
8643 (test-xfail-XPG3/grp.h/conform): Likewise.
8644 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8645 (test-xfail-XPG3/limits.h/conform): Likewise.
8646 (test-xfail-XPG3/pwd.h/conform): Likewise.
8647 (test-xfail-XPG3/search.h/conform): Likewise.
8648 (test-xfail-XPG3/signal.h/conform): Likewise.
8649 (test-xfail-XPG3/stdio.h/conform): Likewise.
8650 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8651 (test-xfail-XPG3/string.h/conform): Likewise.
8652 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8653 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8654 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8655 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8656 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8657 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8658 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8659 (test-xfail-XPG3/termios.h/conform): Likewise.
8660 (test-xfail-XPG3/time.h/conform): Likewise.
8661 (test-xfail-XPG3/unistd.h/conform): Likewise.
8662 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8663 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8664 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8665 (test-xfail-XPG4/netdb.h/conform): Likewise.
8666 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8667 (test-xfail-XPG4/signal.h/conform): Likewise.
8668 (test-xfail-XPG4/stdio.h/conform): Likewise.
8669 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8670 (test-xfail-XPG4/stropts.h/conform): Likewise.
8671 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8672 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8673 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8674 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8675 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8676 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8677 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8678 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8679 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8680 (test-xfail-XPG4/termios.h/conform): Likewise.
8681 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8682 (test-xfail-XPG4/unistd.h/conform): Likewise.
8683 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8684 (test-xfail-POSIX/sched.h/conform): Likewise.
8685 (test-xfail-POSIX/signal.h/conform): Likewise.
8686 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8687 (test-xfail-POSIX/tar.h/conform): Likewise.
8688 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8689 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8690 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8691 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8692 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8693 (test-xfail-UNIX98/sched.h/conform): Likewise.
8694 (test-xfail-UNIX98/signal.h/conform): Likewise.
8695 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8696 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8697 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8698 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8699 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8700 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8701 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8702 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8703 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8704 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8705 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8706 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8707 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8708 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8709 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8710 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8711 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8712 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8713 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8714 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8715 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8716 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8717 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8718 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8719 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8720 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8721 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8722 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8723 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8724 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8725 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8726 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8727 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8728 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8729 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8730 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8731 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8732 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8733 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8734 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8735 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8736 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8737 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8738 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8739 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8740 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8741 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8742 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8743 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8744 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8745 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8746 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8747 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8748 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8749 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8750 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8751 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8752 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8753 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8754 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8755 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8756 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8757 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8758 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8759 (conformtest-cc-flags): Likewise.
8760 ($(conformtest-header-tests): New target.
8761 * conform/check-header-lists.sh: New file.
8762 * conform/run-conformtest.sh: Remove.
8764 * conform/conformtest.pl: Allow ' and \ in values given for
8766 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8768 [POSIX] (sys/types.h): Likewise.
8769 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8771 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8773 * conform/data/signal.h-data (SIGIO): Remove expectation.
8774 [XPG3] (SIGBUS): Do not expect.
8775 [POSIX || XPG3] (SIGPOLL): Likewise.
8776 [POSIX || XPG3] (SIGPROF): Likewise.
8777 [POSIX || XPG3] (SIGSYS): Likewise.
8778 [XPG3] (SIGTRAP): Likewise.
8779 [POSIX || XPG3] (SIGURG): Likewise.
8780 [POSIX || XPG3] (SIGVTALRM): Likewise.
8781 [POSIX || XPG3] (SIGXCPU): Likewise.
8782 [POSIX || XPG3] (SIGXFSZ): Likewise.
8783 [POSIX] (SA_SIGINFO): Expect.
8784 [XPG3] (siginfo_t): Do not expect type or contents.
8785 [POSIX] (si_pid): Do not expect element.
8786 [POSIX] (si_uid): Likewise.
8787 [POSIX] (si_addr): Likewise.
8788 [POSIX] (si_status): Likewise.
8789 [POSIX] (si_band): Likewise.
8790 [XPG4] (si_value): Likewise.
8791 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8792 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8793 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8794 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8795 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8796 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8797 [POSIX || XPG3] (ILL_COPROC): Likewise.
8798 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8799 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8800 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8801 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8802 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8803 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8804 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8805 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8806 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8807 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8808 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8809 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8810 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8811 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8812 [POSIX || XPG3] (CLD_EXITED): Likewise.
8813 [POSIX || XPG3] (CLD_KILLED): Likewise.
8814 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8815 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8816 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8817 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8818 [POSIX || XPG3] (POLL_IN): Likewise.
8819 [POSIX || XPG3] (POLL_OUT): Likewise.
8820 [POSIX || XPG3] (POLL_MSG): Likewise.
8821 [POSIX || XPG3] (POLL_ERR): Likewise.
8822 [POSIX || XPG3] (POLL_PRI): Likewise.
8823 [POSIX || XPG3] (POLL_HUP): Likewise.
8824 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8825 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8826 (SIG*): Do not allow.
8827 [XPG3] (si_*): Likewise.
8828 [XPG3] (SI_*): Likewise.
8829 [XPG3 || XPG4] (sigev_*): Likewise.
8830 [XPG3 || XPG4] (SIGEV_*): Likewise.
8831 [XPG3 || XPG4] (sival_*): Likewise.
8832 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8833 [POSIX || XPG3] (BUS_*): Likewise.
8834 [POSIX || XPG3] (CLD_*): Likewise.
8835 [POSIX || XPG3] (FPE_*): Likewise.
8836 [POSIX || XPG3] (ILL_*): Likewise.
8837 [POSIX || XPG3] (POLL_*): Likewise.
8838 [POSIX || XPG3] (SEGV_*): Likewise.
8839 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8840 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8841 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8842 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8843 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8844 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8845 Specify type and value.
8846 (TVERSLEN): Likewise.
8847 (REGTYPE): Likewise.
8848 (AREGTYPE): Likewise.
8849 (LNKTYPE): Likewise.
8850 (SYMTYPE): Likewise.
8851 (CHRTYPE): Likewise.
8852 (BLKTYPE): Likewise.
8853 (DIRTYPE): Likewise.
8854 (FIFOTYPE): Likewise.
8855 (CONTTYPE): Likewise.
8860 (TUWRITE): Likewise.
8863 (TGWRITE): Likewise.
8866 (TOWRITE): Likewise.
8868 [POSIX] (TSVTX): Expect constant.
8870 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8872 * Makefile (tests): Change dependencies to ....
8873 (tests-special): ... additions to this variable.
8874 (tests): Depend on $(tests-special).
8875 * Makerules (check-abi-list): New variable.
8876 (check-abi): Depend on $(check-abi-list).
8877 [$(subdir) = elf] (tests-special): Add
8878 $(objpfx)check-abi-libc.out.
8879 [$(build-shared) = yes && subdir] (tests-special): Add
8881 [$(build-shared) = yes && subdir] (tests): Do not depend on
8883 * Rules (tests): Depend on $(tests-special).
8884 (xtests): Depend on $(xtests-special).
8885 * catgets/Makefile (tests): Change dependencies to ....
8886 (tests-special): ... additions to this variable.
8887 * conform/Makefile (tests): Change dependencies to ....
8888 (tests-special): ... additions to this variable.
8889 * elf/Makefile (tests): Change dependencies to ....
8890 (tests-special): ... additions to this variable.
8891 * grp/Makefile (tests): Change dependencies to ....
8892 (tests-special): ... additions to this variable.
8893 * iconv/Makefile (xtests): Change dependencies to ....
8894 (xtests-special): ... additions to this variable.
8895 * iconvdata/Makefile (tests): Change dependencies to ....
8896 (tests-special): ... additions to this variable.
8897 * intl/Makefile (tests): Change dependencies to ....
8898 (tests-special): ... additions to this variable. Also add
8899 $(objpfx)tst-gettext.out.
8900 * io/Makefile (tests): Change dependencies to ....
8901 (tests-special): ... additions to this variable.
8902 * libio/Makefile (tests): Change dependencies to ....
8903 (tests-special): ... additions to this variable.
8904 * malloc/Makefile (tests): Change dependencies to ....
8905 (tests-special): ... additions to this variable.
8906 * misc/Makefile (tests): Change dependencies to ....
8907 (tests-special): ... additions to this variable.
8908 * nptl/Makefile (tests): Change dependencies to ....
8909 (tests-special): ... additions to this variable.
8910 * nptl_db/Makefile (tests): Change dependencies to ....
8911 (tests-special): ... additions to this variable.
8912 * posix/Makefile (tests): Change dependencies to ....
8913 (tests-special): ... additions to this variable.
8914 (xtests): Change dependencies to ....
8915 (xtests-special): ... additions to this variable.
8916 * resolv/Makefile (tests): Change dependencies to ....
8917 (tests-special): ... additions to this variable.
8918 (xtests): Change dependencies to ....
8919 (xtests-special): ... additions to this variable.
8920 * stdio-common/Makefile (tests): Change dependencies to ....
8921 (tests-special): ... additions to this variable.
8922 (do-tst-unbputc): Remove target.
8923 (do-tst-printf): Likewise.
8924 * stdlib/Makefile (tests): Change dependencies to ....
8925 (tests-special): ... additions to this variable.
8926 * string/Makefile (tests): Change dependencies to ....
8927 (tests-special): ... additions to this variable.
8928 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8929 (tests-special): ... additions to this variable.
8931 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8933 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8935 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8936 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8938 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8939 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8940 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8941 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8942 * conform/data/libgen.h-data [XPG3]: Likewise.
8943 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8944 * conform/data/ndbm.h-data [XPG3]: Likewise.
8945 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8946 * conform/data/netdb.h-data [XPG3]: Likewise.
8947 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8948 * conform/data/poll.h-data [XPG3]: Likewise.
8949 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8950 * conform/data/strings.h-data [XPG3]: Likewise.
8951 * conform/data/stropts.h-data [XPG3]: Likewise.
8952 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8953 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8954 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8956 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8957 * conform/data/sys/time.h-data [XPG3]: Likewise.
8958 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8959 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8960 * conform/data/sys/un.h-data [XPG3]: Likewise.
8961 * conform/data/syslog.h-data [XPG3]: Likewise.
8962 * conform/data/ucontext.h-data [XPG3]: Likewise.
8963 * conform/data/utmpx.h-data [XPG3]: Likewise.
8964 * conform/data/varargs.h-data [UNIX98]: Enable file.
8966 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8968 * math/libm-test.inc (struct test_f_f_data): Move expected results
8969 into structure for each rounding mode.
8970 (struct test_ff_f_data): Likewise.
8971 (struct test_ff_f_data_nexttoward): Likewise.
8972 (struct test_fi_f_data): Likewise.
8973 (struct test_fl_f_data): Likewise.
8974 (struct test_if_f_data): Likewise.
8975 (struct test_fff_f_data): Likewise.
8976 (struct test_c_f_data): Likewise.
8977 (struct test_f_f1_data): Likewise.
8978 (struct test_fF_f1_data): Likewise.
8979 (struct test_ffI_f1_data): Likewise.
8980 (struct test_c_c_data): Likewise.
8981 (struct test_cc_c_data): Likewise.
8982 (struct test_f_i_data): Likewise.
8983 (struct test_ff_i_data): Likewise.
8984 (struct test_f_l_data): Likewise.
8985 (struct test_f_L_data): Likewise.
8986 (struct test_fFF_11_data): Likewise.
8988 (RM_FE_DOWNWARD): Likewise.
8989 (RM_FE_TONEAREST): Likewise.
8990 (RM_FE_TOWARDZERO): Likewise.
8991 (RM_FE_UPWARD): Likewise.
8992 (RUN_TEST_LOOP_f_f): Update references to expected results.
8993 (RUN_TEST_LOOP_2_f): Likewise.
8994 (RUN_TEST_LOOP_fff_f): Likewise.
8995 (RUN_TEST_LOOP_c_f): Likewise.
8996 (RUN_TEST_LOOP_f_f1): Likewise.
8997 (RUN_TEST_LOOP_fF_f1): Likewise.
8998 (RUN_TEST_LOOP_fI_f1): Likewise.
8999 (RUN_TEST_LOOP_ffI_f1): Likewise.
9000 (RUN_TEST_LOOP_c_c): Likewise.
9001 (RUN_TEST_LOOP_cc_c): Likewise.
9002 (RUN_TEST_LOOP_f_i): Likewise.
9003 (RUN_TEST_LOOP_f_i_tg): Likewise.
9004 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9005 (RUN_TEST_LOOP_f_b): Likewise.
9006 (RUN_TEST_LOOP_f_b_tg): Likewise.
9007 (RUN_TEST_LOOP_f_l): Likewise.
9008 (RUN_TEST_LOOP_f_L): Likewise.
9009 (RUN_TEST_LOOP_fFF_11): Likewise.
9010 * math/gen-libm-test.pl (parse_args): Output four copies of
9011 expected results for each test.
9013 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9014 (__ASSUME_UTIMES): Remove.
9015 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9016 (__ASSUME_UTIMES): Likewise.
9018 * math/gen-auto-libm-tests.c: Update comment on output format.
9019 (output_for_one_input_case): Generate before-rounding and
9020 after-rounding information as conditions on output flags not
9021 floating-point format.
9022 * math/auto-libm-test-out: Regenerated.
9023 * math/gen-libm-test.pl (cond_value): New function.
9024 (or_cond_value): Use cond_value.
9025 (generate_testfile): Handle conditional exceptions.
9027 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9029 * math/libm-test.inc (max_valid_error): New variable.
9030 (init_max_error): Take new argument specifying whether function
9031 results are exactly determined. Set max_valid_error and bound
9032 other variables for errors based on this argument.
9033 (set_max_error): Do not record results above max_valid_error.
9034 (check_float_internal): Only accept errors of up to 0.5ulps if
9035 also at most max_valid_error.
9036 (START): Take new argument EXACT and pass it to init_max_error.
9037 (acos_test): Update call to START.
9038 (acos_test_tonearest): Likewise.
9039 (acos_test_towardzero): Likewise.
9040 (acos_test_downward): Likewise.
9041 (acos_test_upward): Likewise.
9042 (acosh_test): Likewise.
9043 (asin_test): Likewise.
9044 (asin_test_tonearest): Likewise.
9045 (asin_test_towardzero): Likewise.
9046 (asin_test_downward): Likewise.
9047 (asin_test_upward): Likewise.
9048 (asinh_test): Likewise.
9049 (atan_test): Likewise.
9050 (atanh_test): Likewise.
9051 (atan2_test): Likewise.
9052 (cabs_test): Likewise.
9053 (cacos_test): Likewise.
9054 (cacosh_test): Likewise.
9055 (carg_test): Likewise.
9056 (casin_test): Likewise.
9057 (casinh_test): Likewise.
9058 (catan_test): Likewise.
9059 (catanh_test): Likewise.
9060 (cbrt_test): Likewise.
9061 (ccos_test): Likewise.
9062 (ccosh_test): Likewise.
9063 (ceil_test): Likewise.
9064 (cexp_test): Likewise.
9065 (cimag_test): Likewise.
9066 (clog_test): Likewise.
9067 (clog10_test): Likewise.
9068 (conj_test): Likewise.
9069 (copysign_test): Likewise.
9070 (cos_test): Likewise.
9071 (cos_test_tonearest): Likewise.
9072 (cos_test_towardzero): Likewise.
9073 (cos_test_downward): Likewise.
9074 (cos_test_upward): Likewise.
9075 (cosh_test): Likewise.
9076 (cosh_test_tonearest): Likewise.
9077 (cosh_test_towardzero): Likewise.
9078 (cosh_test_downward): Likewise.
9079 (cosh_test_upward): Likewise.
9080 (cpow_test): Likewise.
9081 (cproj_test): Likewise.
9082 (creal_test): Likewise.
9083 (csin_test): Likewise.
9084 (csinh_test): Likewise.
9085 (csqrt_test): Likewise.
9086 (ctan_test): Likewise.
9087 (ctan_test_tonearest): Likewise.
9088 (ctan_test_towardzero): Likewise.
9089 (ctan_test_downward): Likewise.
9090 (ctan_test_upward): Likewise.
9091 (ctanh_test): Likewise.
9092 (ctanh_test_tonearest): Likewise.
9093 (ctanh_test_towardzero): Likewise.
9094 (ctanh_test_downward): Likewise.
9095 (ctanh_test_upward): Likewise.
9096 (erf_test): Likewise.
9097 (erfc_test): Likewise.
9098 (exp_test): Likewise.
9099 (exp_test_tonearest): Likewise.
9100 (exp_test_towardzero): Likewise.
9101 (exp_test_downward): Likewise.
9102 (exp_test_upward): Likewise.
9103 (exp10_test): Likewise.
9104 (exp10_test_tonearest): Likewise.
9105 (exp10_test_towardzero): Likewise.
9106 (exp10_test_downward): Likewise.
9107 (exp10_test_upward): Likewise.
9108 (pow10_test): Likewise.
9109 (exp2_test): Likewise.
9110 (expm1_test): Likewise.
9111 (expm1_test_tonearest): Likewise.
9112 (expm1_test_towardzero): Likewise.
9113 (expm1_test_downward): Likewise.
9114 (expm1_test_upward): Likewise.
9115 (fabs_test): Likewise.
9116 (fdim_test): Likewise.
9117 (floor_test): Likewise.
9118 (fma_test): Likewise.
9119 (fma_test_towardzero): Likewise.
9120 (fma_test_downward): Likewise.
9121 (fma_test_upward): Likewise.
9122 (fmax_test): Likewise.
9123 (fmin_test): Likewise.
9124 (fmod_test): Likewise.
9125 (fpclassify_test): Likewise.
9126 (frexp_test): Likewise.
9127 (hypot_test): Likewise.
9128 (ilogb_test): Likewise.
9129 (isfinite_test): Likewise.
9130 (finite_test): Likewise.
9131 (isgreater_test): Likewise.
9132 (isgreaterequal_test): Likewise.
9133 (isinf_test): Likewise.
9134 (isless_test): Likewise.
9135 (islessequal_test): Likewise.
9136 (islessgreater_test): Likewise.
9137 (isnan_test): Likewise.
9138 (isnormal_test): Likewise.
9139 (issignaling_test): Likewise.
9140 (isunordered_test): Likewise.
9141 (j0_test): Likewise.
9142 (j1_test): Likewise.
9143 (jn_test): Likewise.
9144 (ldexp_test): Likewise.
9145 (lgamma_test): Likewise.
9146 (gamma_test): Likewise.
9147 (lrint_test): Likewise.
9148 (lrint_test_tonearest): Likewise.
9149 (lrint_test_towardzero): Likewise.
9150 (lrint_test_downward): Likewise.
9151 (lrint_test_upward): Likewise.
9152 (llrint_test): Likewise.
9153 (llrint_test_tonearest): Likewise.
9154 (llrint_test_towardzero): Likewise.
9155 (llrint_test_downward): Likewise.
9156 (llrint_test_upward): Likewise.
9157 (log_test): Likewise.
9158 (log10_test): Likewise.
9159 (log1p_test): Likewise.
9160 (log2_test): Likewise.
9161 (logb_test): Likewise.
9162 (logb_test_downward): Likewise.
9163 (lround_test): Likewise.
9164 (llround_test): Likewise.
9165 (modf_test): Likewise.
9166 (nearbyint_test): Likewise.
9167 (nextafter_test): Likewise.
9168 (nexttoward_test): Likewise.
9169 (pow_test): Likewise.
9170 (pow_test_tonearest): Likewise.
9171 (pow_test_towardzero): Likewise.
9172 (pow_test_downward): Likewise.
9173 (pow_test_upward): Likewise.
9174 (remainder_test): Likewise.
9175 (drem_test): Likewise.
9176 (remainder_test_tonearest): Likewise.
9177 (drem_test_tonearest): Likewise.
9178 (remainder_test_towardzero): Likewise.
9179 (drem_test_towardzero): Likewise.
9180 (remainder_test_downward): Likewise.
9181 (drem_test_downward): Likewise.
9182 (remainder_test_upward): Likewise.
9183 (drem_test_upward): Likewise.
9184 (remquo_test): Likewise.
9185 (rint_test): Likewise.
9186 (rint_test_tonearest): Likewise.
9187 (rint_test_towardzero): Likewise.
9188 (rint_test_downward): Likewise.
9189 (rint_test_upward): Likewise.
9190 (round_test): Likewise.
9191 (scalb_test): Likewise.
9192 (scalbn_test): Likewise.
9193 (scalbln_test): Likewise.
9194 (signbit_test): Likewise.
9195 (sin_test): Likewise.
9196 (sin_test_tonearest): Likewise.
9197 (sin_test_towardzero): Likewise.
9198 (sin_test_downward): Likewise.
9199 (sin_test_upward): Likewise.
9200 (sincos_test): Likewise.
9201 (sinh_test): Likewise.
9202 (sinh_test_tonearest): Likewise.
9203 (sinh_test_towardzero): Likewise.
9204 (sinh_test_downward): Likewise.
9205 (sinh_test_upward): Likewise.
9206 (sqrt_test): Likewise.
9207 (sqrt_test_tonearest): Likewise.
9208 (sqrt_test_towardzero): Likewise.
9209 (sqrt_test_downward): Likewise.
9210 (sqrt_test_upward): Likewise.
9211 (tan_test): Likewise.
9212 (tan_test_tonearest): Likewise.
9213 (tan_test_towardzero): Likewise.
9214 (tan_test_downward): Likewise.
9215 (tan_test_upward): Likewise.
9216 (tanh_test): Likewise.
9217 (tgamma_test): Likewise.
9218 (trunc_test): Likewise.
9219 (y0_test): Likewise.
9220 (y1_test): Likewise.
9221 (yn_test): Likewise.
9222 (significand_test): Likewise.
9224 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9225 individual tests in comment.
9226 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9227 (prev_max_error): New variable.
9228 (prev_real_max_error): Likewise.
9229 (prev_imag_max_error): Likewise.
9230 (compare_ulp_data): Don't refer to test names in comment.
9231 (find_test_ulps): Remove function.
9232 (find_function_ulps): Likewise.
9233 (find_complex_function_ulps): Likewise.
9234 (init_max_error): Take function name as argument. Look up ulps
9236 (print_ulps): Remove function.
9237 (print_max_error): Use prev_max_error instead of calling
9239 (print_complex_max_error): Use prev_real_max_error and
9240 prev_imag_max_error instead of calling find_complex_function_ulps.
9241 (check_float_internal): Take max_ulp parameter instead of calling
9242 find_test_ulps. Don't call print_ulps.
9243 (check_float): Update call to check_float_internal.
9244 (check_complex): Update calls to check_float_internal.
9245 (START): Pass argument to init_max_error.
9246 * math/gen-libm-test.pl (%results): Don't include "kind"
9248 (parse_ulps): Don't handle ulps of individual tests.
9249 (print_ulps_file): Likewise.
9250 (output_ulps): Likewise.
9251 * math/README.libm-test: Update.
9252 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9254 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9255 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9256 * sysdeps/arm/libm-test-ulps: Likewise.
9257 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9258 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9259 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9260 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9261 * sysdeps/microblaze/libm-test-ulps: Likewise.
9262 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9263 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9264 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9265 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9266 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9267 * sysdeps/sh/libm-test-ulps: Likewise.
9268 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9269 * sysdeps/tile/libm-test-ulps: Likewise.
9270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9272 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9274 * math/libm-test.inc (print_complex_max_error): Check separately
9275 whether real and imaginary errors are within allowed range and
9276 pass 0 to print_complex_function_ulps instead of value within
9279 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9281 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9283 (get_handles_fopen): Likewise.
9284 (do_write_test): Likewise.
9286 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9288 * libio/fileops.c (do_ftell): Use cached offset when
9290 * libio/iofwide.c (do_ftell_wide): Likewise.
9291 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9293 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9296 * libio/libioP.h (get_file_offset): New function.
9297 * libio/fileops.c (get_file_offset): Likewise.
9298 (do_ftell): Likewise.
9299 (_IO_new_file_seekoff): Split out ftell logic.
9300 * libio/wfileops.c (do_ftell_wide): Likewise.
9301 (_IO_wfile_seekoff): Split out ftell logic.
9302 * libio/tst-ftell-active-handler.c: New test case.
9303 * libio/Makefile (tests): Add it.
9305 2014-03-03 Roland McGrath <roland@hack.frob.com>
9307 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9308 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9310 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9313 * nscd/connections.c (nscd_init): Call do_exit.
9314 (start_threads): Call do_exit and notify_parent.
9315 (begin_drop_privileges): Call do_exit.
9316 (finish_drop_privileges): Likewise.
9317 * nscd/selinux.c (preserve_capabilities): Likewise.
9318 (install_real_capabilities): Likewise.
9319 (nscd_selinux_enabled): Likewise.
9320 (avc_create_thread): Likewise.
9321 (avc_alloc_lock): Likewise.
9322 (nscd_avc_init): Likewise.
9323 * nscd/nscd.c (parent_fd): New static variable.
9324 (main): Create a pipe between parent and child processes.
9325 Skip closing parent_fd.
9326 (monitor_child): New function.
9327 (do_exit): Likewise.
9328 (notify_parent): Likewise.
9329 * nscd/nscd.h (notify_parent): Likewise.
9330 (do_exit): Likewise.
9332 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9334 * malloc/malloc.c (__libc_calloc): Revert last change.
9336 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9340 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9342 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9346 (__libc_ifunc_impl_list): Likewise.
9347 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9348 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9349 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9350 * string/strrchr.c: Define STRRCHR.
9352 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9354 * benchtest/bench-strtok.c (simple_strtok): Delete.
9355 (strtok_string): Use as benchmark.
9356 * string/strtok (STRTOK): New macro.
9358 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9360 * manual/threads.texi: Add header and standard comments to all
9363 * elf/dl-lookup.c (check_match): New function.
9364 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9365 (do_lookup_x): Remove nested function check_match. Use non-nested
9366 function check_match.
9368 2014-02-28 Roland McGrath <roland@hack.frob.com>
9370 * csu/Makefile (generated, before-compile): Use += rather than =.
9371 * catgets/Makefile (generated, generated-dirs): Likewise.
9372 * debug/Makefile (generated): Likewise.
9373 * dlfcn/Makefile (generated): Likewise.
9374 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9375 * iconvdata/Makefile (before-compile, generated): Likewise.
9376 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9377 * libio/Makefile (generated): Likewise.
9378 * malloc/Makefile (generated): Likewise.
9379 * manual/Makefile (generated, generated-dirs): Likewise.
9380 * misc/Makefile (generated): Likewise.
9381 * posix/Makefile (generated): Likewise.
9382 * resolv/Makefile (generated): Likewise.
9383 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9384 * timezone/Makefile (generated, generated-dirs): Likewise.
9386 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9388 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9391 power8 implementation.
9392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9393 file: POWER8 llround ifunc implementation.
9394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9395 (__lllround): Add POWER8 implementation.
9396 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9397 POWER8 llround implementation.
9399 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9400 power8 implementation.
9401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9402 file: POWER8 llrint ifunc implementation.
9403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9404 Add POWER8 implementation.
9405 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9406 POWER8 llrint implementation.
9408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9409 power8 implementation.
9410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9411 file: POWER8 finite ifunc implementation.
9412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9413 Add POWER8 implementation.
9414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9416 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9417 POWER8 finite implementation.
9418 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9421 power8 implementation.
9422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9423 file: POWER8 isinf ifunc implementation.
9424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9425 POWER8 implementation.
9426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9428 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9429 isinf implementation.
9430 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9432 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9433 (INIT_ARCH): Add hwcap2 initialization.
9434 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9435 power8 implementation.
9436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9437 file: POWER8 isnan ifunc implementation.
9438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9439 POWER8 implementation.
9440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9442 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9443 isnan implementation.
9444 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9446 2014-02-27 Joey Ye <joey.ye@arm.com>
9448 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9449 (_FP_NANFRAC_Q): Set to zero.
9451 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9454 * math/auto-libm-test-in: New test inputs.
9455 * math/auto-libm-test-out: Regenerate.
9456 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9459 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9461 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9463 * scripts/evaluate-test.sh: Take new argument indicating whether
9464 failure is expected.
9465 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9466 indicating whether failure is expected.
9467 * conform/Makefile (test-xfail-run-conformtest): New variable.
9468 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9470 * posix/Makefile (test-xfail-annexc): New variable.
9471 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9473 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9475 * argp/Makefile: Include Makeconfig immediately after defining
9477 * assert/Makefile: Likewise.
9478 * benchtests/Makefile: Likewise.
9479 * catgets/Makefile: Likewise.
9480 * conform/Makefile: Likewise.
9481 * crypt/Makefile: Likewise.
9482 * csu/Makefile: Likewise.
9483 (all): Remove target.
9484 * ctype/Makefile: Include Makeconfig immediately after defining
9486 * debug/Makefile: Likewise.
9487 * dirent/Makefile: Likewise.
9488 * dlfcn/Makefile: Likewise.
9489 * gmon/Makefile: Likewise.
9490 * gnulib/Makefile: Likewise.
9491 * grp/Makefile: Likewise.
9492 * gshadow/Makefile: Likewise.
9493 * hesiod/Makefile: Likewise.
9494 * hurd/Makefile: Likewise.
9495 (all): Remove target.
9496 * iconvdata/Makefile: Include Makeconfig immediately after
9498 * inet/Makefile: Likewise.
9499 * intl/Makefile: Likewise.
9500 * io/Makefile: Likewise.
9501 * libio/Makefile: Likewise.
9502 (all): Remove target.
9503 * locale/Makefile: Include Makeconfig immediately after defining
9505 * login/Makefile: Likewise.
9506 * mach/Makefile: Likewise.
9507 (all): Remove target.
9508 * malloc/Makefile: Include Makeconfig immediately after defining
9510 (all): Remove target.
9511 * manual/Makefile: Include Makeconfig immediately after defining
9513 * math/Makefile: Likewise.
9514 * misc/Makefile: Likewise.
9515 * nis/Makefile: Likewise.
9516 * nss/Makefile: Likewise.
9517 * po/Makefile: Likewise.
9518 (all): Remove target.
9519 * posix/Makefile: Include Makeconfig immediately after defining
9521 * pwd/Makefile: Likewise.
9522 * resolv/Makefile: Likewise.
9523 * resource/Makefile: Likewise.
9524 * rt/Makefile: Likewise.
9525 * setjmp/Makefile: Likewise.
9526 * shadow/Makefile: Likewise.
9527 * signal/Makefile: Likewise.
9528 * socket/Makefile: Likewise.
9529 * soft-fp/Makefile: Likewise.
9530 * stdio-common/Makefile: Likewise.
9531 * stdlib/Makefile: Likewise.
9532 * streams/Makefile: Likewise.
9533 * string/Makefile: Likewise.
9534 * sunrpc/Makefile: Likewise.
9535 (all): Remove target.
9536 * sysvipc/Makefile: Include Makeconfig immediately after defining
9538 * termios/Makefile: Likewise.
9539 * time/Makefile: Likewise.
9540 * timezone/Makefile: Likewise.
9541 (all): Remove target.
9542 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9544 * wctype/Makefile: Likewise.
9546 2014-02-26 Steve Ellcey <sellcey@mips.com>
9548 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9549 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9550 (libc_feholdexcept_setround_mips): Ditto.
9551 (libc_feholdsetround): New.
9552 (libc_feholdsetroundf): New.
9553 (libc_feholdsetroundl): New.
9554 (libc_feupdateenv_test_mips): New.
9555 (libc_feupdateenv_test): New.
9556 (libc_feupdateenv_testf): New.
9557 (libc_feupdateenv_testl): New.
9558 (libc_feresetround): New.
9559 (libc_feresetroundf): New.
9560 (libc_feresetroundl): New.
9561 (libc_fetestexcept_mips): New.
9562 (libc_fetestexcept): New.
9563 (libc_fetestexceptf): New.
9564 (libc_fetestexceptl): New.
9566 (libc_feholdexcept_setround_mips_ctx): New.
9567 (libc_feholdexcept_setround_ctx): New.
9568 (libc_feholdexcept_setroundf_ctx): New.
9569 (libc_feholdexcept_setroundl_ctx): New.
9570 (libc_fesetenv_mips_ctx): New.
9571 (libc_fesetenv_ctx): New.
9572 (libc_fesetenv_ctxf): New.
9573 (libc_fesetenv_ctxl): New.
9574 (libc_feupdateenv_mips_ctx): New.
9575 (libc_feupdateenv_ctx): New.
9576 (libc_feupdateenvf_ctx): New.
9577 (libc_feupdateenvl_ctx): New.
9578 (libc_feholdsetround_mips_ctx): New.
9579 (libc_feholdsetround_ctx): New.
9580 (libc_feholdsetroundf_ctx): New.
9581 (libc_feholdsetroundl_ctx): New.
9582 (libc_feresetround_mips_ctx): New.
9583 (libc_feresetround_ctx): New.
9584 (libc_feresetroundf_ctx): New.
9585 (libc_feresetroundl_ctx): New.
9587 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9589 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9591 * manual/ipc.texi: New file.
9592 * manual/Makefile (chapters): Add ipc.
9593 * manual/job.texi: Add "Inter-Process Communication" to next.
9594 * manual/process.texi: Add "Inter-Process Communication" to prev.
9596 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9600 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9602 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9604 * manual/arith.texi: Fix spaces after sentences.
9605 * manual/charset.texi: Likewise.
9606 * manual/errno.texi: Likewise.
9607 * manual/install.texi: Likewise.
9608 * manual/llio.texi: Likewise.
9609 * manual/locale.texi: Likewise.
9610 * manual/maint.texi: Likewise.
9611 * manual/math.texi: Likewise.
9612 * manual/memory.texi: Likewise.
9613 * manual/message.texi: Likewise.
9614 * manual/probes.texi: Likewise.
9615 * manual/resource.texi: Likewise.
9616 * manual/signal.texi: Likewise.
9617 * manual/socket.texi: Likewise.
9618 * manual/stdio.texi: Likewise.
9619 * manual/string.texi: Likewise.
9620 * manual/time.texi: Likewise.
9621 * manual/users.texi: Likewise.
9623 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9626 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9627 _DEFAULT_SOURCE is defined.
9629 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9630 Carlos O'Donell <carlos@redhat.com>
9633 * elf/dl-tls.c (_dl_count_modids): New function.
9634 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9635 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9636 audit library and increment generation counter.
9637 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9638 * elf/tst-audit9.c: New file.
9639 * elf/tst-auditmod9a.c: New file.
9640 * elf/tst-auditmod9b.c: New file.
9641 * elf/Makefile: Add rules to build and run tst-audit9.
9643 2014-02-25 Florian Weimer <fweimer@redhat.com>
9646 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9648 2014-02-25 Will Newton <will.newton@linaro.org>
9650 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9651 (__longjmp): Restore sp and lr before restoring callee
9652 saved registers. Add longjmp and longjmp_target
9653 SystemTap probe point.
9654 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9655 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9656 Define to zero to match jmpbuf layout.
9657 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9658 (__sigsetjmp): Save sp and lr before saving callee
9659 saved registers. Add setjmp SystemTap probe point.
9661 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9663 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9665 2014-02-24 Andreas Schwab <schwab@suse.de>
9668 * elf/pldd.c (wait_for_ptrace_stop): New function.
9669 (main): Call it after attaching.
9671 2014-02-22 Roland McGrath <roland@hack.frob.com>
9673 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9674 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9675 Versions files is now verboten.
9676 * hurd/Versions (libc: GLIBC_2.0):
9677 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9678 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9679 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9680 * mach/Versions: Likewise.
9682 * csu/Versions: Remove unused %include.
9683 * resolv/Versions: Likewise.
9685 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9687 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9688 ($(objpfx)check-local-headers.out): Likewise.
9689 ($(objpfx)begin-end-check.out): Likewise.
9690 * Makerules (check-abi-%.out): Likewise.
9691 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9692 ($(objpfx)test2.cat): Likewise.
9693 ($(objpfx)de/libc.cat): Likewise.
9694 ($(objpfx)test-gencat.out): Likewise.
9695 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9696 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9697 ($(objpfx)noload-mem): Likewise.
9698 ($(objpfx)tst-pathopt.out): Likewise.
9699 ($(objpfx)tst-rtld-load-self.out): Likewise.
9700 ($(objpfx)tst-array1-cmp.out): Likewise.
9701 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9702 ($(objpfx)tst-array2-cmp.out): Likewise.
9703 ($(objpfx)tst-array3-cmp.out): Likewise.
9704 ($(objpfx)tst-array4-cmp.out): Likewise.
9705 ($(objpfx)tst-array5-cmp.out): Likewise.
9706 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9707 ($(objpfx)check-textrel.out): Likewise.
9708 ($(objpfx)check-execstack.out): Likewise.
9709 ($(objpfx)check-localplt.out): Likewise.
9710 ($(objpfx)order2-cmp.out): Likewise.
9711 ($(objpfx)tst-leaks1-mem): Likewise.
9712 ($(objpfx)tst-leaks1-static-mem): Likewise.
9713 ($(objpfx)tst-initorder-cmp.out): Likewise.
9714 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9715 ($(objpfx)tst-unused-dep.out): Likewise.
9716 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9717 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9718 * iconv/Makefile (test-iconvconfig): Likewise.
9719 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9720 ($(objpfx)iconv-test.out): Likewise.
9721 ($(objpfx)tst-tables.out): Likewise.
9722 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9723 ($(objpfx)tst-gettext.out): Likewise.
9724 ($(objpfx)tst-translit.out): Likewise.
9725 ($(objpfx)tst-gettext2.out): Likewise.
9726 ($(objpfx)tst-gettext4.out): Likewise.
9727 ($(objpfx)tst-gettext6.out): Likewise.
9728 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9729 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9730 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9731 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9732 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9733 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9734 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9735 ($(objpfx)wordexp-tst.out): Likewise.
9736 ($(objpfx)annexc.out): Likewise.
9737 ($(objpfx)tst-fnmatch-mem): Likewise.
9738 ($(objpfx)bug-regex2-mem): Likewise.
9739 ($(objpfx)bug-regex14-mem): Likewise.
9740 ($(objpfx)bug-regex21-mem): Likewise.
9741 ($(objpfx)bug-regex31-mem): Likewise.
9742 ($(objpfx)tst-vfork3-mem): Likewise.
9743 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9744 ($(objpfx)tst-pcre-mem): Likewise.
9745 ($(objpfx)tst-boost-mem): Likewise.
9746 ($(objpfx)tst-getconf.out): Likewise.
9747 ($(objpfx)bug-ga2-mem): Likewise.
9748 ($(objpfx)bug-glob2-mem): Likewise.
9749 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9750 ($(objpfx)mtrace-tst-leaks2): Likewise.
9751 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9752 ($(objpfx)tst-printf.out): Likewise.
9753 ($(objpfx)tst-setvbuf1.out): Likewise.
9754 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9755 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9756 ($(objpfx)tst-fmtmsg.out): Likewise.
9757 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9758 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9760 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9761 * bits/sigaction.h [__USE_MISC]: Likewise.
9762 * bits/waitstatus.h: Update #endif comments.
9763 * ctype/ctype.h: Likewise.
9764 * dirent/dirent.h: Likewise.
9765 [__USE_MISC]: Remove redundant conditionals.
9766 * grp/grp.h: Update #endif comments.
9767 [__USE_GNU]: Remove redundant conditionals.
9768 [__USE_MISC]: Likewise.
9769 * inet/netinet/in.h [__USE_GNU]: Likewise.
9770 * io/sys/stat.h [__USE_MISC]: Likewise.
9771 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9772 * libio/bits/stdio.h: Update #endif comments.
9773 [__USE_MISC]: Remove redundant conditionals.
9774 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9775 * libio/stdio.h: Update #endif comments.
9776 [__USE_MISC]: Remove redundant conditionals.
9777 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9778 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9779 * math/math.h: Update #else and #endif comments.
9780 [__USE_MISC]: Remove redundant conditionals.
9781 * misc/sys/uio.h: Update #endif comments.
9782 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9783 * posix/glob.h [__USE_MISC]: Likewise.
9784 * posix/sys/types.h: Update #endif comments.
9785 [__USE_MISC]: Remove redundant conditionals.
9786 * posix/sys/wait.h: Update #endif comments.
9787 [__USE_MISC]: Remove redundant conditionals.
9788 * posix/unistd.h: Update #endif comments.
9789 [__USE_MISC]: Remove redundant conditionals.
9790 * pwd/pwd.h [__USE_GNU]: Likewise.
9791 [__USE_MISC]: Likewise.
9792 * resolv/netdb.h [__USE_GNU]: Likewise.
9793 * signal/signal.h: Update #endif comments.
9794 [__USE_MISC]: Remove redundant conditionals.
9795 * stdlib/stdlib.h: Update #else and #endif comments.
9796 [__USE_MISC]: Remove redundant conditionals.
9797 [__USE_GNU]: Likewise.
9798 * string/bits/string2.h [__USE_MISC]: Likewise.
9799 * string/string.h: Update #endif comments.
9800 [__USE_MISC]: Remove redundant conditionals.
9801 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9803 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9804 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9805 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9807 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9809 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9811 [__USE_MISC]: Remove redundant conditionals.
9812 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9813 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9814 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9815 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9816 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9818 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9819 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9821 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9822 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9824 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9826 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9827 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9829 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9831 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9832 * sysdeps/x86/bits/string.h: Update #endif comments.
9833 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9835 * time/sys/time.h: Update #endif comments.
9836 * time/time.h: Likewise.
9837 [__USE_MISC]: Remove redundant conditionals.
9839 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9842 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9844 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9846 * Versions.def (librt): Add GLIBC_2.17.
9848 2014-02-21 Adam Conrad <adconrad@0c3.net>
9850 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9851 synonym for _SYS_AUXV_H to allow direct inclusion.
9852 * sysdeps/sparc/bits/hwcap.h: Likewise.
9853 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9854 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9855 * sysdeps/sparc/sysdep.h: Likewise.
9857 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9859 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9861 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9863 * benchtests/bench-strrchr.c: Print length instead of position.
9865 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9868 * sysdeps/unix/sysv/linux/kernel-features.h
9869 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9870 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9871 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9872 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9874 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9875 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9876 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9877 (__ASSUME_SENDMMSG): Define instead of using previous
9878 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9879 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9880 (__ASSUME_SENDMMSG_SYSCALL): Define.
9881 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9882 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9884 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9885 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9887 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9888 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9890 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9891 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9892 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9893 [__ASSUME_SENDMMSG]: Change conditionals to
9894 [__ASSUME_SENDMMSG_SOCKETCALL].
9895 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9896 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9898 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9899 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9901 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9902 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9903 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9904 [!__ASSUME_SENDMMSG]: Change conditional to
9905 [!__ASSUME_SENDMMSG_SOCKETCALL].
9906 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9907 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9911 * sysdeps/unix/sysv/linux/kernel-features.h
9912 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9913 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9914 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9915 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9916 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9917 [__i386__ || __sparc__]
9918 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9919 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9920 (__ASSUME_RECVMMSG): Define instead of using previous
9921 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9922 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9923 (__ASSUME_RECVMMSG_SYSCALL): Define.
9924 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9925 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9927 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9928 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9930 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9931 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9933 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9934 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9935 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9936 [__ASSUME_RECVMMSG]: Change condition to
9937 [__ASSUME_RECVMMSG_SOCKETCALL].
9938 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9939 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9941 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9942 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9943 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9945 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9946 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9947 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9948 [!__ASSUME_RECVMMSG]: Change condition to
9949 [!__ASSUME_RECVMMSG_SOCKETCALL].
9950 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9951 (__ASSUME_RECVMMSG_SYSCALL): Define.
9954 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9955 __powerpc__ || __s390__ || __sh__ || __sparc__]
9956 (__ASSUME_SOCKETCALL): Define.
9957 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9958 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9959 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9960 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9961 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9962 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9963 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9964 (__ASSUME_ACCEPT4): Define instead of using previous
9965 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9966 __powerpc__ || __sparc__ || __s390__)] condition.
9967 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9968 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9969 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9970 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9971 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9972 [!__ASSUME_ACCEPT4]: Change condition to
9973 [!__ASSUME_ACCEPT4_SOCKETCALL].
9974 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9975 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9976 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9977 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9978 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9979 __ASSUME_ACCEPT4_SYSCALL.
9980 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9981 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9982 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9983 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9984 __ASSUME_ACCEPT4_SYSCALL.
9985 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9986 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9987 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9988 [__ASSUME_ACCEPT4]: Change condition to
9989 [__ASSUME_ACCEPT4_SOCKETCALL].
9990 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9991 (__ASSUME_SOCKETCALL): Define.
9992 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9993 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9994 (__ASSUME_SOCKETCALL): Define.
9995 (__ASSUME_ACCEPT4): Remove.
9996 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9998 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9999 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10001 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10002 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10004 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10006 (HWCAP_ARM_LPAE): Likewise.
10007 (HWCAP_ARM_EVTSTRM): Likewise.
10008 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10009 Add vpfd32, lpae and evtstrm.
10010 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10013 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10015 * math/auto-libm-test-in: Add tests of clog10.
10016 * math/auto-libm-test-out: Regenerated.
10017 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10018 * sysdeps/i386/fpu/libm-test-ulps: Update.
10019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10021 2014-02-18 Andreas Schwab <schwab@suse.de>
10024 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10025 Store non-zero if the second buffer was newly allocated.
10026 (send_dg): Likewise.
10027 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10028 to send_vc and send_dg.
10029 (res_nsend): Pass NULL for ansp2_malloced.
10030 * resolv/res_query.c (__libc_res_nquery): Add parameter
10031 answerp2_malloced and pass it down to __libc_res_nsend.
10032 (res_nquery): Pass additional NULL to __libc_res_nquery.
10033 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10034 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10035 second answer buffer if answerp2_malloced was set.
10036 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10037 (__libc_res_nquerydomain): Add parameter
10038 answerp2_malloced and pass it down to __libc_res_nquery.
10039 (res_nquerydomain): Pass additional NULL to
10040 __libc_res_nquerydomain.
10041 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10042 additional NULL to __libc_res_nsend and __libc_res_nquery.
10043 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10044 additional NULL to __libc_res_nsearch.
10045 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10046 parameter of __libc_res_nsearch to check for separately allocated
10048 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10050 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10051 additional NULL to __libc_res_nquery.
10052 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10053 __libc_res_nsearch.
10054 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10055 * include/resolv.h: Update prototypes of __libc_res_nquery,
10056 __libc_res_nsearch, __libc_res_nsend.
10058 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10060 * math/auto-libm-test-in: Add tests of fma.
10061 * math/auto-libm-test-out: Regenerated.
10062 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10063 (fma_towardzero_test_data): Likewise.
10064 (fma_downward_test_data): Likewise.
10065 (fma_upward_test_data): Likewise.
10066 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10068 (rounding_modes): Add values for new field.
10069 (func_calc_method): Add value mpfr_fff_f.
10070 (func_calc_desc): Add mpfr_fff_f union field.
10071 (test_function): Add field exact_args.
10072 (FUNC): Add macro argument EXACT_ARGS.
10073 (FUNC_mpfr_f_f): Update call to FUNC.
10074 (FUNC_mpfr_f_f): Likewise.
10075 (FUNC_mpfr_ff_f): Likewise.
10076 (FUNC_mpfr_if_f): Likewise.
10077 (FUNC_mpc_c_f): Likewise.
10078 (FUNC_mpc_c_c): Likewise.
10079 (test_functions): Add fma. Update calls to FUNC.
10080 (handle_input_arg): Add argument exact_args.
10081 (add_test): Update call to handle_input_arg.
10082 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10083 (output_for_one_input_case): Update call to calc_generic_results.
10084 Recalculate exact zero results in each rounding mode.
10086 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10087 non-negative before setting low bit.
10088 * math/auto-libm-test-in: Mark one asin test possibly having
10089 spurious underflow.
10090 * math/auto-libm-test-out: Regenerated.
10091 * sysdeps/i386/fpu/libm-test-ulps: Update.
10092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10094 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10096 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10097 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10098 ports/sysdeps/unix/sysv/linux/microblaze.
10099 * README: Add missing listing for microblaze*-*-linux-gnu.
10101 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10103 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10106 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10108 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10109 * sysdeps/unix/sysv/linux/ia64: Move directory from
10110 ports/sysdeps/unix/sysv/linux/ia64.
10111 * README: Update listing for ia64-*-linux-gnu.
10113 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10114 Joseph Myers <joseph@codesourcery.com>
10116 * Makeconfig (test-name): New variable.
10117 (evaluate-test): Likewise.
10118 * Makerules (do-test-clean): Remove .test-result files.
10119 (common-mostlyclean): Likewise.
10120 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10121 * scripts/evaluate-test.sh: New file.
10123 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10125 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10126 separate $(objpfx)tst-fopenloc-cmp.out and
10127 $(objpfx)tst-fopenloc-mem.out targets.
10128 (tests): Update dependencies.
10129 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10130 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10131 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10132 (tst-rxspencer-no-utf8-ARGS): New variable.
10133 (tst-rxspencer-no-utf8-ENV): Likewise.
10134 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10135 instead of $(objpfx)tst-rxspencer-mem.
10136 ($(objpfx)tst-rxspencer-mem): Change target to
10137 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10138 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10139 * posix/tst-rxspencer-no-utf8.c: New file.
10141 * elf/Makefile ($(objpfx)order.out): Remove rule.
10142 [$(run-built-tests) = yes] (tests): Depend on
10143 $(objpfx)order-cmp.out.
10144 ($(objpfx)order-cmp.out): New rule.
10145 [$(run-built-tests) = yes] (tests): Depend on
10146 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10147 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10148 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10149 $(objpfx)tst-array5-static-cmp.out.
10150 ($(objpfx)tst-array1.out): Remove rule.
10151 ($(objpfx)tst-array1-cmp.out): New rule.
10152 ($(objpfx)tst-array1-static.out): Remove rule.
10153 ($(objpfx)tst-array1-static-cmp.out): New rule.
10154 ($(objpfx)tst-array2.out): Remove rule.
10155 ($(objpfx)tst-array2-cmp.out): New rule.
10156 ($(objpfx)tst-array3.out): Remove rule.
10157 ($(objpfx)tst-array3-cmp.out): New rule.
10158 ($(objpfx)tst-array4.out): Remove rule.
10159 ($(objpfx)tst-array4-cmp.out): New rule.
10160 ($(objpfx)tst-array5.out): Remove rule.
10161 ($(objpfx)tst-array5-cmp.out): New rule.
10162 ($(objpfx)tst-array5-static.out): Remove rule.
10163 ($(objpfx)tst-array5-static-cmp.out): New rule.
10164 [$(run-built-tests) = yes] (tests): Depend on
10165 $(objpfx)order2-cmp.out.
10166 ($(objpfx)order2.out): Remove rule.
10167 ($(objpfx)order2-cmp.out): New rule.
10168 ($(objpfx)tst-initorder.out): Remove rule.
10169 [$(run-built-tests) = yes] (tests): Depend on
10170 $(objpfx)tst-initorder-cmp.out.
10171 ($(objpfx)tst-initorder-cmp.out): New rule.
10172 ($(objpfx)tst-initorder2.out): Remove rule.
10173 [$(run-built-tests) = yes] (tests): Depend on
10174 $(objpfx)tst-initorder2-cmp.out.
10175 ($(objpfx)tst-initorder2-cmp.out): New rule.
10176 [$(run-built-tests) = yes] (tests): Depend on
10177 $(objpfx)tst-unused-dep-cmp.out.
10178 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10179 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10180 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10181 on $(objpfx)tst-setvbuf1-cmp.out.
10182 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10183 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10184 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10185 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10186 ($(objpfx)tst-svc.out): Remove rule.
10187 ($(objpfx)tst-svc-cmp.out): New rule.
10189 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10191 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10192 * ctype/ctype.h [__USE_MISC]: Likewise.
10193 * dirent/dirent.h [__USE_MISC]: Likewise.
10194 * grp/grp.h [__USE_MISC]: Likewise.
10195 * io/fcntl.h [__USE_MISC]: Likewise.
10196 * io/sys/stat.h [__USE_MISC]: Likewise.
10197 * libio/stdio.h [__USE_MISC]: Likewise.
10198 * posix/unistd.h [__USE_MISC]: Likewise.
10199 * pwd/pwd.h [__USE_MISC]: Likewise.
10200 * stdlib.h [__USE_MISC]: Likewise.
10201 * string/bits/string2.h [__USE_MISC]: Likewise.
10202 * string/string.h [__USE_MISC]: Likewise.
10203 * time/time.h [__USE_MISC]: Likewise.
10205 2014-02-13 Andreas Schwab <schwab@suse.de>
10208 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10209 second answer buffer if it was separately allocated.
10211 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10213 * sysdeps/mips/math-tests.h: Include <features.h>.
10214 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10215 (ROUNDING_TESTS_long_double): Do not define.
10216 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10217 (EXCEPTION_TESTS_long_double): Likewise.
10218 * sysdeps/mips/mips64/libm-test-ulps: Update.
10220 * include/features.h (__USE_BSD): Remove macro definitions.
10221 (__USE_SVID): Likewise.
10222 (_BSD_SOURCE): Likewise.
10223 (_SVID_SOURCE): Likewise.
10224 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10225 from definition of _DEFAULT_SOURCE.
10226 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10228 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10229 * bits/mman.h [__USE_BSD]: Likewise.
10230 * bits/termios.h [__USE_BSD]: Likewise.
10231 * bits/waitstatus.h [__USE_BSD]: Likewise.
10232 * ctype/ctype.h [__USE_SVID]: Likewise.
10233 * dirent/dirent.h [__USE_BSD]: Likewise.
10234 * grp/grp.h [__USE_SVID]: Likewise.
10235 [__USE_BSD]: Likewise.
10236 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10237 * io/fcntl.h [__USE_BSD]: Likewise.
10238 * io/ftw.h [__USE_BSD]: Likewise.
10239 * io/sys/stat.h [__USE_BSD]: Likewise.
10240 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10241 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10242 * libio/stdio.h [__USE_SVID]: Likewise.
10243 [__USE_BSD]: Likewise.
10244 * math/math.h [__USE_SVID]: Likewise.
10245 [__USE_BSD]: Likewise.
10246 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10247 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10248 * misc/search.h [__USE_SVID]: Likewise.
10249 * misc/sys/mman.h [__USE_BSD]: Likewise.
10250 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10251 * misc/sys/uio.h [__USE_BSD]: Likewise.
10252 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10253 * posix/glob.h [__USE_BSD]: Likewise.
10254 * posix/regex.h [__USE_BSD]: Likewise.
10255 * posix/sys/types.h [__USE_BSD]: Likewise.
10256 [__USE_SVID]: Likewise.
10257 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10258 * posix/sys/wait.h [__USE_BSD]: Likewise.
10259 [__USE_SVID]: Likewise.
10260 * posix/unistd.h [__USE_BSD]: Likewise.
10261 [__USE_SVID]: Likewise.
10262 * pwd/pwd.h [__USE_SVID]: Likewise.
10263 * resolv/netdb.h [__USE_BSD]: Likewise.
10264 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10265 * signal/signal.h [__USE_BSD]: Likewise.
10266 [__USE_SVID]: Likewise.
10267 * socket/sys/socket.h [__USE_BSD]: Likewise.
10268 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10269 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10270 [__USE_SVID]: Likewise.
10271 * string/bits/string2.h [__USE_BSD]: Likewise.
10272 [__USE_SVID]: Likewise.
10273 * string/bits/string3.h [__USE_BSD]: Likewise.
10274 * string/endian.h [__USE_BSD]: Likewise.
10275 * string/string.h [__USE_SVID]: Likewise.
10276 [__USE_BSD]: Likewise.
10277 * string/strings.h [__USE_BSD]: Likewise.
10278 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10279 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10280 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10281 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10282 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10283 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10287 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10288 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10290 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10291 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10293 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10295 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10296 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10297 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10299 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10301 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10302 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10303 * termios/termios.h [__USE_BSD]: Likewise.
10304 * time/sys/time.h [__USE_BSD]: Likewise.
10305 * time/time.h [__USE_BSD]: Likewise.
10306 [__USE_SVID]: Likewise.
10308 * Makefile (subdir_targets): Remove subdir_lint.out.
10310 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10311 (do-tst-printf): Likewise.
10312 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10313 $(objpfx)tst-printf.out.
10315 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10317 * Makerules (check-abi-%): Change target to
10318 $(objpfx)check-abi-%.out.
10319 (check-abi target): Update dependencies.
10320 (check-abi-pattern variable): Redirect output of diff to $@.
10321 (check-abi variable): Likewise.
10322 * elf/Makefile (check-abi): Update dependencies.
10324 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10326 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10327 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10329 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10330 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10331 value has largest subnormal exponent.
10332 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10333 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10334 * sysdeps/aarch64/soft-fp/sfp-machine.h
10335 (_FP_TININESS_AFTER_ROUNDING): New macro.
10336 * sysdeps/alpha/soft-fp/sfp-machine.h
10337 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10338 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10340 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10341 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10342 * sysdeps/mips/soft-fp/sfp-machine.h
10343 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10344 * sysdeps/powerpc/soft-fp/sfp-machine.h
10345 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10346 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10348 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10349 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10350 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10351 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10352 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10355 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10358 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10361 2014-02-12 Richard Henderson <rth@redhat.com>
10363 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10364 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10365 * sysdeps/unix/sysv/linux/alpha: Move directory from
10366 ports/sysdeps/unix/sysv/linux/alpha.
10367 * README: Update listing for alpha-*-linux-gnu.
10369 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10371 * include/features.h: Update comment documenting feature test
10373 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10375 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10376 (_SVID_SOURCE): Likewise.
10377 (_DEFAULT_SOURCE): Update description of default features.
10378 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10380 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10381 (S_ISVTX): Likewise.
10382 * manual/math.texi (Mathematical Constants): Likewise.
10383 * manual/signal.texi (Interrupted Primitives): Likewise.
10384 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10385 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10386 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10387 Don't refer to _SVID_SOURCE in warning text.
10389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10391 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10393 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10394 * sysdeps/mips/dl-lookup.c: Remove.
10395 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10397 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10400 * math/auto-libm-test-in: Add testcase for expl.
10401 * math/auto-libm-test-out: Regenerate.
10402 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10403 calculation of unsafe.
10404 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10406 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10408 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10409 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10410 ports/sysdeps/unix/sysv/linux/aarch64.
10411 * README: Update listing for aarch64*-*-linux-gnu.
10413 2014-02-11 Will Newton <will.newton@linaro.org>
10415 * manual/probes.texi (Mathematical Function Probes): Use
10416 "triggered" instead of "hit".
10418 * manual/probes.texi (Internal Probes): Add documentation
10419 of setjmp, longjmp and longjmp_target probes.
10421 * include/stap-probe.h: Add comment about probe argument
10424 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10425 definition. (tr_where, tr_freehook, tr_mallochook,
10426 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10428 2014-02-11 David S. Miller <davem@davemloft.net>
10430 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10431 processing int_tests.
10433 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10435 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10436 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10437 * sysdeps/unix/sysv/linux/mips: Move directory from
10438 ports/sysdeps/unix/sysv/linux/mips.
10439 * README: Update listing for mips-*-linux-gnu and
10440 mips64-*-linux-gnu.
10442 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10444 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10445 * sysdeps/unix/sysv/linux/m68k: Move directory from
10446 ports/sysdeps/unix/sysv/linux/m68k.
10447 * README: Update listing for m68k-*-linux-gnu.
10449 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10451 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10452 * sysdeps/unix/sysv/linux/generic: Move directory from
10453 ports/sysdeps/unix/sysv/linux/generic.
10454 * sysdeps/unix/sysv/linux/tile: Move directory from
10455 ports/sysdeps/unix/sysv/linux/tile.
10456 * README: Update listing for tile*-*-linux-gnu.
10458 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10460 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10462 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10463 * catgets/open_catalog.c (__open_catalog): Likewise.
10464 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10465 * debug/confstr_chk.c: Likewise.
10466 * debug/fread_chk.c (__fread_chk): Likewise.
10467 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10468 * debug/getgroups_chk.c: Likewise.
10469 * debug/mbsnrtowcs_chk.c: Likewise.
10470 * debug/mbsrtowcs_chk.c: Likewise.
10471 * debug/mbstowcs_chk.c: Likewise.
10472 * debug/memcpy_chk.c: Likewise.
10473 * debug/memmove_chk.c: Likewise.
10474 * debug/mempcpy_chk.c: Likewise.
10475 * debug/memset_chk.c: Likewise.
10476 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10477 * debug/strcat_chk.c (__strcat_chk): Likewise.
10478 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10479 * debug/strncat_chk.c (__strncat_chk): Likewise.
10480 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10481 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10482 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10483 * debug/wcpncpy_chk.c: Likewise.
10484 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10485 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10486 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10487 * debug/wcsncpy_chk.c: Likewise.
10488 * debug/wcsnrtombs_chk.c: Likewise.
10489 * debug/wcsrtombs_chk.c: Likewise.
10490 * debug/wcstombs_chk.c: Likewise.
10491 * debug/wmemcpy_chk.c: Likewise.
10492 * debug/wmemmove_chk.c: Likewise.
10493 * debug/wmempcpy_chk.c: Likewise.
10494 * debug/wmemset_chk.c: Likewise.
10495 * dirent/scandirat.c (SCANDIRAT): Likewise.
10496 * dlfcn/dladdr1.c (dladdr1): Likewise.
10497 * dlfcn/dladdr.c (dladdr): Likewise.
10498 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10499 * dlfcn/dlerror.c (__dlerror): Likewise.
10500 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10501 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10502 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10503 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10504 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10505 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10506 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10507 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10509 * elf/dl-conflict.c: Likewise.
10510 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10511 * elf/dl-dst.h: Likewise.
10512 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10513 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10514 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10515 * elf/dl-init.c (call_init, _dl_init): Likewise.
10516 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10517 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10518 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10520 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10522 * elf/dl-minimal.c (__libc_memalign): Likewise.
10523 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10524 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10525 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10526 * elf/dl-sym.c (do_sym): Likewise.
10527 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10528 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10529 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10530 * elf/dl-writev.h (_dl_writev): Likewise.
10531 * elf/ldconfig.c (search_dir): Likewise.
10532 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10533 (dl_main): Likewise.
10534 * elf/setup-vdso.h (setup_vdso): Likewise.
10535 * grp/compat-initgroups.c (compat_call): Likewise.
10536 * grp/fgetgrent.c (fgetgrent): Likewise.
10537 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10538 * grp/putgrent.c (putgrent): Likewise.
10539 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10541 * hurd/hurdinit.c: Likewise.
10542 * iconvdata/8bit-gap.c (struct): Likewise.
10543 * iconvdata/ansi_x3.110.c : Likewise.
10544 * iconvdata/big5.c : Likewise.
10545 * iconvdata/big5hkscs.c : Likewise.
10546 * iconvdata/cp1255.c: Likewise.
10547 * iconvdata/cp1258.c : Likewise.
10548 * iconvdata/cp932.c : Likewise.
10549 * iconvdata/euc-cn.c: Likewise.
10550 * iconvdata/euc-jisx0213.c : Likewise.
10551 * iconvdata/euc-jp.c: Likewise.
10552 * iconvdata/euc-jp-ms.c : Likewise.
10553 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10554 * iconvdata/gb18030.c : Likewise.
10555 * iconvdata/gbbig5.c (const): Likewise.
10556 * iconvdata/gbgbk.c: Likewise.
10557 * iconvdata/gbk.c : Likewise.
10558 * iconvdata/ibm1364.c : Likewise.
10559 * iconvdata/ibm930.c : Likewise.
10560 * iconvdata/ibm932.c: Likewise.
10561 * iconvdata/ibm933.c : Likewise.
10562 * iconvdata/ibm935.c : Likewise.
10563 * iconvdata/ibm937.c : Likewise.
10564 * iconvdata/ibm939.c : Likewise.
10565 * iconvdata/ibm943.c: Likewise.
10566 * iconvdata/iso_11548-1.c: Likewise.
10567 * iconvdata/iso-2022-cn.c : Likewise.
10568 * iconvdata/iso-2022-cn-ext.c : Likewise.
10569 * iconvdata/iso-2022-jp-3.c: Likewise.
10570 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10571 * iconvdata/iso-2022-kr.c : Likewise.
10572 * iconvdata/iso646.c (gconv_end): Likewise.
10573 * iconvdata/iso_6937-2.c : Likewise.
10574 * iconvdata/iso_6937.c : Likewise.
10575 * iconvdata/iso8859-1.c: Likewise.
10576 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10577 * iconvdata/shift_jisx0213.c : Likewise.
10578 * iconvdata/sjis.c : Likewise.
10579 * iconvdata/t.61.c : Likewise.
10580 * iconvdata/tcvn5712-1.c : Likewise.
10581 * iconvdata/tscii.c: Likewise.
10582 * iconvdata/uhc.c : Likewise.
10583 * iconvdata/unicode.c (gconv_end): Likewise.
10584 * iconvdata/utf-16.c (gconv_end): Likewise.
10585 * iconvdata/utf-32.c (gconv_end): Likewise.
10586 * iconvdata/utf-7.c (base64): Likewise.
10587 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10588 * iconv/gconv_close.c (__gconv_close): Likewise.
10589 * iconv/gconv_open.c (__gconv_open): Likewise.
10590 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10591 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10592 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10593 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10594 (ucs4le_internal_loop_single): Likewise.
10595 * iconv/iconv.c (iconv): Likewise.
10596 * iconv/iconv_close.c: Likewise.
10597 * iconv/loop.c (SINGLE): Likewise.
10598 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10599 * include/atomic.h: Likewise.
10600 * inet/inet6_option.c (option_alloc): Likewise.
10601 * intl/bindtextdom.c (set_binding_values): Likewise.
10602 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10603 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10604 * intl/localealias.c (read_alias_file): Likewise.
10605 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10606 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10607 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10608 * libio/fmemopen.c (fmemopen): Likewise.
10609 * libio/iofgets.c (_IO_fgets): Likewise.
10610 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10611 * libio/iofgetws.c (fgetws): Likewise.
10612 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10613 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10614 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10615 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10616 * locale/findlocale.c (_nl_find_locale): Likewise.
10617 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10618 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10620 * locale/setlocale.c (setlocale): Likewise.
10621 * login/programs/pt_chown.c (main): Likewise.
10622 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10623 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10624 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10625 (mmap, mmap64, mremap, munmap): Likewise.
10626 * math/e_exp2l.c: Likewise.
10627 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10628 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10629 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10630 * math/s_catan.c (__catan): Likewise.
10631 * math/s_catanf.c (__catanf): Likewise.
10632 * math/s_catanh.c (__catanh): Likewise.
10633 * math/s_catanhf.c (__catanhf): Likewise.
10634 * math/s_catanhl.c (__catanhl): Likewise.
10635 * math/s_catanl.c (__catanl): Likewise.
10636 * math/s_ccosh.c (__ccosh): Likewise.
10637 * math/s_ccoshf.c (__ccoshf): Likewise.
10638 * math/s_ccoshl.c (__ccoshl): Likewise.
10639 * math/s_cexp.c (__cexp): Likewise.
10640 * math/s_cexpf.c (__cexpf): Likewise.
10641 * math/s_cexpl.c (__cexpl): Likewise.
10642 * math/s_clog10.c (__clog10): Likewise.
10643 * math/s_clog10f.c (__clog10f): Likewise.
10644 * math/s_clog10l.c (__clog10l): Likewise.
10645 * math/s_clog.c (__clog): Likewise.
10646 * math/s_clogf.c (__clogf): Likewise.
10647 * math/s_clogl.c (__clogl): Likewise.
10648 * math/s_csin.c (__csin): Likewise.
10649 * math/s_csinf.c (__csinf): Likewise.
10650 * math/s_csinh.c (__csinh): Likewise.
10651 * math/s_csinhf.c (__csinhf): Likewise.
10652 * math/s_csinhl.c (__csinhl): Likewise.
10653 * math/s_csinl.c (__csinl): Likewise.
10654 * math/s_csqrt.c (__csqrt): Likewise.
10655 * math/s_csqrtf.c (__csqrtf): Likewise.
10656 * math/s_csqrtl.c (__csqrtl): Likewise.
10657 * math/s_ctan.c (__ctan): Likewise.
10658 * math/s_ctanf.c (__ctanf): Likewise.
10659 * math/s_ctanh.c (__ctanh): Likewise.
10660 * math/s_ctanhf.c (__ctanhf): Likewise.
10661 * math/s_ctanhl.c (__ctanhl): Likewise.
10662 * math/s_ctanl.c (__ctanl): Likewise.
10663 * math/w_pow.c: Likewise.
10664 * math/w_powf.c: Likewise.
10665 * math/w_powl.c: Likewise.
10666 * math/w_scalb.c (sysv_scalb): Likewise.
10667 * math/w_scalbf.c (sysv_scalbf): Likewise.
10668 * math/w_scalbl.c (sysv_scalbl): Likewise.
10669 * misc/error.c (error_tail): Likewise.
10670 * misc/pselect.c (__pselect): Likewise.
10671 * nis/nis_callback.c (__nis_create_callback): Likewise.
10672 * nis/nis_call.c (__nisfind_server): Likewise.
10673 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10674 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10675 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10676 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10677 * nis/nis_lookup.c (nis_lookup): Likewise.
10678 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10679 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10680 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10681 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10682 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10683 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10684 * nis/nss_compat/compat-initgroups.c (add_group)
10685 (internal_getgrent_r): Likewise.
10686 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10687 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10688 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10689 (internal_getspnam_r): Likewise.
10690 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10691 (_nss_nis_getaliasbyname_r): Likewise.
10692 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10693 (_nss_nis_getntohost_r): Likewise.
10694 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10695 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10696 (_nss_nis_getgrgid_r): Likewise.
10697 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10698 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10699 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10700 (_nss_nis_gethostbyname4_r): Likewise.
10701 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10702 (initgroups_netid): Likewise.
10703 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10704 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10705 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10706 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10707 (_nss_nis_getprotobynumber_r): Likewise.
10708 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10709 (_nss_nis_getsecretkey): Likewise.
10710 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10711 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10712 (_nss_nis_getpwuid_r): Likewise.
10713 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10714 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10715 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10716 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10717 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10718 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10719 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10721 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10722 (_nss_nisplus_getntohost_r): Likewise.
10723 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10724 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10725 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10726 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10728 * nis/nss_nisplus/nisplus-initgroups.c
10729 (_nss_nisplus_initgroups_dyn): Likewise.
10730 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10731 (_nss_nisplus_getnetbyaddr_r): Likewise.
10732 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10733 (_nss_nisplus_getprotobynumber_r): Likewise.
10734 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10735 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10736 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10738 * nis/nss_nisplus/nisplus-service.c
10739 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10740 (_nss_nisplus_getservbyport_r): Likewise.
10741 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10742 (_nss_nisplus_getspnam_r): Likewise.
10743 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10745 * nscd/aicache.c (addhstaiX): Likewise.
10746 * nscd/cache.c (cache_search, prune_cache): Likewise.
10747 * nscd/connections.c (register_traced_file, send_ro_fd)
10748 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10749 (main_loop_epoll): Likewise.
10750 * nscd/grpcache.c (addgrbyX): Likewise.
10751 * nscd/hstcache.c (addhstbyX): Likewise.
10752 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10753 * nscd/mem.c (gc, mempool_alloc): Likewise.
10754 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10755 (addinnetgrX): Likewise.
10756 * nscd/nscd-client.h (__nscd_acquire_maplock)
10757 (__nscd_drop_map_ref): Likewise.
10758 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10759 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10760 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10762 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10763 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10764 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10765 (__nscd_get_map_ref): Likewise.
10766 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10767 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10769 * nscd/pwdcache.c (addpwbyX): Likewise.
10770 * nscd/selinux.c (preserve_capabilities): Likewise.
10771 * nscd/servicescache.c (addservbyX): Likewise.
10772 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10773 * posix/fnmatch.c (fnmatch): Likewise.
10774 * posix/getopt.c (_getopt_internal_r): Likewise.
10775 * posix/glob.c (glob, glob_in_dir): Likewise.
10776 * posix/wordexp.c (exec_comm_child): Likewise.
10777 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10778 (getanswer_r, gaih_getanswer_slice): Likewise.
10779 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10780 * resolv/res_init.c: Likewise.
10781 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10782 * resolv/res_query.c (__libc_res_nquery): Likewise.
10783 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10785 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10786 * stdio-common/perror.c (perror): Likewise.
10787 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10788 * stdio-common/tmpnam.c (tmpnam): Likewise.
10789 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10790 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10791 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10793 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10794 * stdlib/putenv.c (putenv): Likewise.
10795 * stdlib/setenv.c (__add_to_environ): Likewise.
10796 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10797 * stdlib/strtol_l.c (INTERNAL): Likewise.
10798 * string/memmem.c (memmem): Likewise.
10799 * string/strerror.c (strerror): Likewise.
10800 * string/strnlen.c (__strnlen): Likewise.
10801 * string/test-memmem.c (simple_memmem): Likewise.
10802 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10803 * sunrpc/pm_getport.c (__get_socket): Likewise.
10804 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10805 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10806 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10807 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10809 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10810 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10811 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10812 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10813 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10814 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10816 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10818 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10819 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10820 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10821 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10822 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10824 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10825 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10826 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10827 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10828 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10829 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10831 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10833 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10835 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10837 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10838 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10839 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10840 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10841 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10842 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10843 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10844 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10845 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10846 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10847 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10848 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10849 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10850 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10852 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10854 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10856 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10858 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10859 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10860 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10862 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10863 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10864 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10865 * sysdeps/posix/sleep.c: Likewise.
10866 * sysdeps/posix/tempname.c: Likewise.
10867 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10868 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10870 * sysdeps/powerpc/powerpc32/dl-machine.h
10871 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10872 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10874 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10875 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10877 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10878 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10879 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10880 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10881 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10882 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10883 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10884 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10885 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10886 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10887 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10888 (elf_machine_lazy_rel): Likewise.
10889 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10890 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10891 (elf_machine_lazy_rel): Likewise.
10892 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10893 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10894 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10895 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10896 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10897 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10898 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10899 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10901 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10902 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10903 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10904 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10905 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10906 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10907 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10908 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10909 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10910 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10911 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10913 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10914 (__posix_fallocate64_l64): Likewise.
10915 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10916 (posix_fallocate): Likewise.
10917 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10919 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10920 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10921 (getifaddrs_internal): Likewise.
10922 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10923 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10924 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10925 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10926 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10927 (__posix_fallocate64_l64): Likewise.
10928 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10930 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10931 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10932 (__get_clockfreq): Likewise.
10933 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10934 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10935 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10936 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10937 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10938 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10939 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10940 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10942 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10943 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10944 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10945 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10946 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10947 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10948 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10950 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10951 (posix_fallocate): Likewise.
10952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10953 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10954 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10955 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10956 (elf_machine_rela, elf_machine_rela_relative)
10957 (elf_machine_lazy_rel): Likewise.
10958 * time/asctime.c (asctime_internal): Likewise.
10959 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10960 * time/tzset.c (__tzset_parse_tz): Likewise.
10961 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10962 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10963 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10964 * wcsmbs/wcsmbsload.h: Likewise.
10967 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10969 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10970 (arena_get2): Remove THREAD_STATS conditionals.
10971 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10972 (__malloc_stats, int): Likewise.
10974 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10976 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10977 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10979 * manual/setjmp.texi: Fix typos/grammar errors.
10981 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10982 Only return early when n is <= 0. Delete unused return statement.
10984 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10985 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10986 * debug/tst-longjmp_chk3.c: New file.
10988 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10989 (test_main): Replace code with set_fortify_handler call.
10990 * debug/test-strcpy_chk.c: Likewise.
10991 * debug/tst-chk1.c: Likewise.
10992 * debug/tst-longjmp_chk.c: Likewise.
10993 * test-skeleton.c: Include fcntl.h & paths.h
10994 (set_fortify_handler): Define.
10996 * debug/tst-longjmp_chk.c: Add header comment and include
10997 ../test-skeleton.c.
10998 (do_test): Mark static.
10999 (TEST_FUNCTION): Define.
11001 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11002 (IP_PMTUDISC_INTERFACE): Likewise.
11003 (IP_MULTICAST_IF): Likewise.
11004 (IP_MULTICAST_TTL): Likewise.
11005 (IP_MULTICAST_LOOP): Likewise.
11006 (IP_ADD_MEMBERSHIP): Likewise.
11007 (IP_DROP_MEMBERSHIP): Likewise.
11008 (IP_UNBLOCK_SOURCE): Likewise.
11009 (IP_BLOCK_SOURCE): Likewise.
11010 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11011 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11012 (IP_MSFILTER): Likewise.
11013 (MCAST_JOIN_GROUP): Likewise.
11014 (MCAST_BLOCK_SOURCE): Likewise.
11015 (MCAST_UNBLOCK_SOURCE): Likewise.
11016 (MCAST_LEAVE_GROUP): Likewise.
11017 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11018 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11019 (MCAST_MSFILTER): Likewise.
11020 (IP_MULTICAST_ALL): Likewise.
11021 (IP_UNICAST_IF): Likewise.
11023 * timezone/Makefile: Delete $(have-ksh) check.
11024 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11025 * timezone/tzselect.ksh: Add +x mode bits.
11027 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11028 (ANON_INODE_FS_MAGIC): Likewise.
11029 (BDEVFS_MAGIC): Likewise.
11030 (BINFMTFS_MAGIC): Likewise.
11031 (BTRFS_TEST_MAGIC): Likewise.
11032 (CRAMFS_MAGIC_WEND): Likewise.
11033 (DEBUGFS_MAGIC): Likewise.
11034 (ECRYPTFS_SUPER_MAGIC): Likewise.
11035 (EXT3_SUPER_MAGIC): Likewise.
11036 (EXT4_SUPER_MAGIC): Likewise.
11037 (FUTEXFS_SUPER_MAGIC): Likewise.
11038 (HOSTFS_SUPER_MAGIC): Likewise.
11039 (HUGETLBFS_MAGIC): Likewise.
11040 (MINIX3_SUPER_MAGIC): Likewise.
11041 (MTD_INODE_FS_MAGIC): Likewise.
11042 (NILFS_SUPER_MAGIC): Likewise.
11043 (OPENPROM_SUPER_MAGIC): Likewise.
11044 (PIPEFS_MAGIC): Likewise.
11045 (PSTOREFS_MAGIC): Likewise.
11046 (QNX6_SUPER_MAGIC): Likewise.
11047 (RAMFS_MAGIC): Likewise.
11048 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11049 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11050 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11051 (SECURITYFS_MAGIC): Likewise.
11052 (SELINUX_MAGIC): Likewise.
11053 (SMACK_MAGIC): Likewise.
11054 (SOCKFS_MAGIC): Likewise.
11055 (SQUASHFS_MAGIC): Likewise.
11056 (STACK_END_MAGIC): Likewise.
11057 (TMPFS_MAGIC): Likewise.
11058 (USBDEVICE_SUPER_MAGIC): Likewise.
11059 (V9FS_MAGIC): Likewise.
11060 (XENFS_SUPER_MAGIC): Likewise.
11061 (CRAMFS_MAGIC): Fix typo in comment.
11062 (EXT2_SUPER_MAGIC): Update comment.
11063 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11065 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11067 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11068 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11069 * sysdeps/unix/sysv/linux/arm: Move directory from
11070 ports/sysdeps/unix/sysv/linux/arm.
11071 * README: Update listing for arm-*-linux-gnueabi.
11073 * README: Remove mention of am33.
11075 2014-02-07 Roland McGrath <roland@hack.frob.com>
11077 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11078 than the comma operator, to avoid "rhs of comma has no effect"
11080 (__sigfillset, __sigandset, __sigorset): Likewise.
11081 * include/signal.h (__sigemptyset): Likewise.
11082 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11084 2014-02-07 Allan McRae <allan@archlinux.org>
11086 * version.h (RELEASE): Set to "development".
11087 (VERSION): Set to "2.19.90"
11088 * NEWS: Add 2.20 section.
11090 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11093 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11095 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11097 * manual/contrib.texi: Update entry for Carlos O'Donell,
11098 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11100 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11102 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11104 * sysdeps/unix/sysv/linux/kernel-features.h
11105 [__LINUX_KERNEL_VERSION >= 0x020621]
11106 (__ASSUME_PROC_PID_TASK_COMM): Define.
11108 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11111 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11112 conversion when destination buffer does not have enough space.
11113 * libio/tst-ftell-partial-wide.c: New test case.
11114 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11116 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11117 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11118 Leonard and Allan McRae.
11120 2014-02-04 David S. Miller <davem@davemloft.net>
11122 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11125 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11154 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11156 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11157 * shlib-versions: Likewise.
11159 2014-02-04 Roland McGrath <roland@hack.frob.com>
11160 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11162 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11163 (abilist-pattern): New variable, set to %-le.abilist.
11165 * Makerules (abilist-pattern): New variable.
11166 (vpath): Use $(abilist-pattern) in place of %.abilist.
11167 (check-abi-% pattern rule): Likewise.
11168 (check-abi, update-abi): Likewise.
11170 2014-02-04 Eric Wong <normalperson@yhbt.net>
11172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11174 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11176 * manual/startup.texi: Add next, previous, and top entries for
11177 the `Program Arguments' and `Environment Variables' nodes.
11179 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11181 * manual/macros.texi: Add comments before MTASC-safety macros.
11183 * manual/users.texi: Document MTASC-safety properties.
11185 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11186 (pthread_getspecific, pthread_setspecific): Format with
11187 @deftypefun, and add @safety note.
11188 * manual/signal.texi: Move comments that analyze the above
11189 functions to their home place.
11191 2014-02-03 Allan McRae <allan@archlinux.org>
11193 * po/sl.po: Update Slovenian translation from translation project.
11195 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11197 * manual/time.texi (timegm): Add missing blank after @c.
11198 Reported by Joseph Myers <joseph@codesourcery.com>.
11200 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11202 * manual/check-safety.sh: New.
11203 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11205 * manual/terminal.texi: Document MTASC-safety properties.
11207 * manual/filesys.texi: Document MTASC-safety properties.
11209 * manual/errno.texi: Document MTASC-safety properties.
11211 * manual/intro.texi: Document safety identifiers and
11214 * manual/string.texi (wcstok): Fix prototype.
11215 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11217 * manual/time.texi: Document MTASC-safety properties.
11219 * manual/string.texi: Document MTASC-safety properties.
11221 * manual/threads.texi: Document MTASC-safety properties.
11223 * manual/stdio.texi: Document MTASC-safety properties.
11225 * manual/syslog.texi: Document MTASC-safety properties.
11227 * manual/sysinfo.texi: Document MTASC-safety properties.
11229 * manual/startup.texi: Document MTASC-safety properties.
11231 * manual/socket.texi: Document MTASC-safety properties.
11233 * manual/signal.texi: Document MTASC-safety properties.
11235 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11237 * manual/setjmp.texi: Document MTASC-safety properties.
11239 * manual/search.texi: Document MTASC-safety properties.
11241 * manual/resource.texi: Document MTASC-safety properties.
11243 * manual/process.texi: Document MTASC-safety properties.
11245 * manual/platform.texi: Document MTASC-safety properties.
11247 * manual/pipe.texi: Document MTASC-safety properties.
11249 * manual/pattern.texi: Document MTASC-safety properties.
11251 * manual/message.texi: Document MTASC-safety properties.
11254 * manual/memory.texi: Document MTASC-safety properties.
11256 * manual/math.texi: Document MTASC-safety properties.
11258 * manual/locale.texi: Document MTASC-safety properties.
11260 * manual/llio.texi: Document MTASC-safety properties.
11262 * manual/libdl.texi: New.
11264 * manual/lang.texi: Document MTASC-safety properties.
11266 * manual/job.texi: Document MTASC-safety properties.
11268 * manual/getopt.texi: Document MTASC-safety properties.
11270 * manual/ctype.texi: Document MTASC-safety properties.
11272 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11275 * csu/libc-tls.c (static_map): Remove variable.
11276 (__libc_setup_tls): Use main executable's link map for TLS data.
11277 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11278 casing for LM_ID_BASE and GL(dl_nns).
11279 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11280 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11281 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11282 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11283 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11285 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11288 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11290 * manual/debug.texi: Document MTASC-safety properties.
11292 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11295 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11296 of __x86_64__ when disabling x87 inline functions.
11298 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11300 * manual/charset.texi: Document MTASC-safety properties.
11302 * manual/crypt.texi: Document MTASC-safety properties.
11304 * manual/conf.texi: Document MTASC-safety properties.
11306 * manual/arith.texi: Document MTASC-safety properties.
11308 * manual/argp.texi: Document MTASC-safety properties.
11310 * manual/macros.texi: Introduce macros to document multi
11311 thread, asynchronous signal and asynchronous cancellation
11313 * manual/intro.texi: Introduce the properties themselves.
11315 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11317 * sysdeps/sh/sh4/Makefile: New file.
11319 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11321 * math/gen-libm-test.pl ($srcdir): New variable.
11322 ($auto_input): Use it.
11324 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11327 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11328 access beyond array bounds when parsing netgroups file.
11330 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11331 the old buffer before realloc.
11333 2014-01-27 Allan McRae <allan@archlinux.org>
11335 * po/fr.po: Update French translation from translation project.
11337 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11339 * sysdeps/sh/libm-test-ulps: Regenerate.
11341 2014-01-24 David S. Miller <davem@davemloft.net>
11343 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11345 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11347 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11348 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11350 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11353 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11354 string pointers after reallocation.
11356 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11358 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11359 __SH4A__ instead of __SH_FPU_ANY__.
11361 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11363 * sysdeps/sh/fpu_control.h: New file.
11364 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11365 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11366 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11367 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11368 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11369 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11370 * sysdeps/sh/sys/ucontext.h: Remove.
11371 * sysdeps/sh/sys: Remove directory.
11373 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11375 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11376 s390/sys/ucontext.h.
11377 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11378 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11380 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11383 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11385 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11388 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11389 Adjust the vDSO correctly for internal calls.
11390 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11392 2014-01-20 Allan McRae <allan@archlinux.org>
11394 * po/ca.po: Update Catalan translation from translation project.
11396 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11398 * sysdeps/s390/sotruss-lib.c: New file.
11400 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11403 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11404 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11405 local calls issues by not having a PLT stub required for IFUNC calls.
11406 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11408 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11410 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11411 * math/test-fpucw-static.c: Likewise.
11413 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11416 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11418 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11420 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11421 implementation for powerpc.
11423 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11426 * sysdeps/posix/system.c (__libc_system): Do not enable
11427 asynchronous cancellation.
11429 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11432 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11433 handling only for numbers special also in the IEEE case.
11435 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11437 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11439 2014-01-11 Allan McRae <allan@archlinux.org>
11441 * po/bg.po: Update Bulgarian translation from translation project.
11443 * po/de.po: Update German translation from translation project.
11445 2014-01-10 Roland McGrath <roland@hack.frob.com>
11447 * sysdeps/generic/gcc-compat.h: New file.
11449 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11451 * benchtests/asin-inputs: Correct slow inputs.
11452 * benchtests/acos-inputs: Likewise.
11454 2014-01-10 Allan McRae <allan@archlinux.org>
11456 * po:sv.po: Update Swedish translation from translation project.
11458 * po/vi.po: Update Vietnamese translation from translation project.
11460 * po/eo.po: Update Esperanto translation from translation project.
11462 * po/cs.po: Update Czech translation from translation project.
11464 * po/nl.po: Update Dutch translation from translation project.
11466 * po/pl.po: Update Polish translation from translation project.
11468 * po/ru.po: Update Russian translation from translation project.
11470 * po/uk.po: Update Ukrainian translation from translation project.
11472 2014-01-08 Brooks Moses <bmoses@google.com>
11474 * elf/dl-load.c: Fix comment typo.
11476 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11478 * po/header.pot: Rename to...
11479 * po/pot.header: ... this.
11480 * po/Makefile: Use pot.header.
11482 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11483 Maxim Kuvyrkov <maxim@kugelworks.com>
11486 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11487 SRC and DEST against LEN.
11489 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11492 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11494 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11496 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11500 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11503 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11504 for large positive arguments.
11506 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11508 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11510 * math/auto-libm-test-in: Mark various tests with
11511 xfail-rounding:ldbl-128ibm.
11512 * math/auto-libm-test-out: Regenerated.
11515 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11516 Increase overflow threshold.
11518 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11521 * stdio-common/vfprintf.c: Check for integer overflow.
11523 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11525 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11526 the first argument and return value of __tls_get_addr_internal.
11528 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11530 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11531 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11533 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11535 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11536 * sysdeps/s390/rtld-global-offsets.sym: New file.
11537 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11539 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11540 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11541 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11543 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11544 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11550 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11551 halfs of GPRs for high_gprs contexts.
11552 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11553 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11555 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11557 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11559 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11560 for high GPRs (uc_high_gprs) and for future extensions
11562 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11563 for future extensions (__reserved).
11564 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11566 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11567 SC_HIGHGPRS offset definition.
11568 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11569 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11571 * Versions.def: Add GLIBC_2.19 for libpthread.
11572 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11573 siglongjmp for libpthread with GLIBC_2.19 symver.
11574 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11575 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11576 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11577 * sysdeps/s390/__longjmp.c: New file.
11578 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11579 * sysdeps/s390/longjmp.c: New file.
11580 * sysdeps/s390/setjmp.S: New file.
11581 * sysdeps/s390/sigjmp.S: New file.
11582 * sysdeps/s390/v1-longjmp.c: New file.
11583 * sysdeps/s390/v1-setjmp.h: New file.
11584 * sysdeps/s390/v1-sigjmp.c: New file.
11585 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11586 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11587 GLIBC_2.19 version.
11588 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11589 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11590 versioned symbols for ____longjmp_chk.
11591 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11601 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11602 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11603 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11604 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11605 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11606 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11607 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11608 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11609 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11610 * sysdeps/s390/rtld-__longjmp.c: New file.
11611 * sysdeps/s390/rtld-setjmp.S: New file.
11613 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11616 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11617 Return -__logl (x) for small positive arguments without evaluating
11620 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11622 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11624 (__ptrace_peeksiginfo_args): ... this.
11625 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11626 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11627 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11629 2014-01-06 Allan McRae <allan@archlinux.org>
11631 * inet/netinet/in.h: Fix typo in comment.
11633 2014-01-05 Andreas Jaeger <aj@suse.de>
11635 * sysdeps/i386/fpu/libm-test-ulps: Update.
11637 2014-01-05 Allan McRae <allan@archlinux.org>
11639 * po/libc.pot: Regenerated.
11641 * malloc/memusagestat.c: Fix gettext call formatting.
11643 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11645 * nscd/nscd.c: Improve usage() output.
11647 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11649 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11650 * sysdeps/unix/sysv/linux/configure: Regenerated.
11651 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11652 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11654 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11657 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11658 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11660 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11662 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11663 extra tokens at end of #undef directive.
11664 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11665 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11666 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11668 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11670 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11672 * math/auto-libm-test-in: Mark various tests with
11673 xfail-rounding:ldbl-128ibm.
11674 * math/auto-libm-test-out: Regenerated.
11676 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11679 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11680 numbers with subnormal high part when calculating exponent.
11683 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11687 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11689 (__ieee754_acoshl): Use __log1pl not __log1p.
11691 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11693 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11694 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11695 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11696 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11697 (reused_arena, arena_get2): Convert to GNU style.
11698 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11699 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11700 (memalign_check, __malloc_set_state): Likewise.
11701 * malloc/mallocbug.c (main): Likewise.
11702 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11703 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11704 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11705 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11706 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11707 (__posix_memalign, malloc_info): Likewise.
11708 * malloc/malloc.h: Likewise.
11709 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11710 (mallochook, memalignhook, reallochook, mabort): Likewise.
11711 * malloc/mcheck.h: Likewise.
11712 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11713 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11714 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11715 * malloc/morecore.c (__default_morecore): Likewise.
11716 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11717 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11718 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11719 (print_and_abort): Likewise.
11720 * malloc/obstack.h: Likewise.
11721 * malloc/set-freeres.c (__libc_freeres): Likewise.
11722 * malloc/tst-mallocstate.c (main): Likewise.
11723 * malloc/tst-mtrace.c (main): Likewise.
11724 * malloc/tst-realloc.c (do_test): Likewise.
11726 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11729 * nscd/netgroupcache.c (do_notfound): New function.
11730 (addgetnetgrentX): Use it.
11733 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11734 NSS_STATUS_NOTFOUND.
11736 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11738 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11741 2014-01-01 Allan McRae <allan@archlinux.org>
11743 * scripts/update-copyrights: Update configure input file suffix.
11745 * NEWS: Update copyright year.
11746 * catgets/gencat.c: Likewise.
11747 * csu/version.c: Likewise.
11748 * debug/catchsegv.sh: Likewise.
11749 * debug/pcprofiledump.c: Likewise.
11750 * debug/xtrace.sh: Likewise.
11751 * elf/ldconfig.c: Likewise.
11752 * elf/ldd.bash.in: Likewise.
11753 * elf/pldd.c: Likewise.
11754 * elf/sotruss.ksh: Likewise.
11755 * elf/sprof.c: Likewise.
11756 * iconv/iconv_prog.c: Likewise.
11757 * iconv/iconvconfig.c: Likewise.
11758 * locale/programs/locale.c: Likewise.
11759 * locale/programs/localedef.c: Likewise.
11760 * login/programs/pt_chown.c: Likewise.
11761 * malloc/memusage.sh: Likewise.
11762 * malloc/memusagestat.c: Likewise.
11763 * malloc/mtrace.pl: Likewise.
11764 * manual/libc.texinfo: Likewise.
11765 * nscd/nscd.c: Likewise.
11766 * nss/getent.c: Likewise.
11767 * nss/makedb.c: Likewise.
11768 * posix/getconf.c: Likewise.
11769 * scripts/test-installation.pl: Likewise.
11771 * All files with FSF copyright notices: Update copyright dates
11772 using scripts/update-copyrights.
11773 * intl/plural.c: Regenerated.
11774 * locale/programs/charmap-kw.h: Likewise.
11775 * locale/programs/locfile-kw.h: Likewise.
11777 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11779 * sysdeps/unix/sysv/linux/configure: Regenerated.
11780 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11781 the linux/fanotify.h header.
11782 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11783 HAVE_LINUX_FANOTIFY_H is defined.
11785 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11787 * benchtests/cos-inputs: New inputs.
11788 * benchtests/sin-inputs: Likewise.
11790 * benchtests/atan-inputs: New inputs. Fix name of multiple
11791 precision fallback inputs.
11793 * benchtests/atanh-inputs: New inputs.
11794 * benchtests/tanh-inputs: Likewise.
11796 * benchtests/acosh-inputs: New inputs.
11797 * benchtests/asinh-inputs: Likewise.
11799 * benchtests/cosh-inputs: New inputs.
11800 * benchtests/sinh-inputs: Likewise.
11802 * benchtests/acos-inputs: Add more inputs.
11803 * benchtests/asin-inputs: Likewise.
11805 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11808 * manual/arith.texi: Fix spelling.
11809 * manual/charset.texi: Likewise.
11810 * manual/errno.texi: Likewise.
11811 * manual/filesys.texi: Likewise.
11812 * manual/lang.texi: Likewise.
11813 * manual/llio.texi: Likewise.
11814 * manual/locale.texi: Likewise.
11815 * manual/message.texi: Likewise.
11816 * manual/resource.texi: Likewise.
11817 * manual/search.texi: Likewise.
11818 * manual/setjmp.texi: Likewise.
11819 * manual/stdio.texi: Likewise.
11820 * manual/string.texi: Likewise.
11821 * manual/sysinfo.texi: Likewise.
11822 * manual/time.texi: Likewise.
11824 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11826 * po/sl.po: New file.
11828 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11830 * .gitignore: Add core/.gdbinit/.gdb_history.
11832 2013-12-27 Allan McRae <allan@archlinux.org>
11835 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11836 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11838 2013-12-24 Brooks Moses <bmoses@google.com>
11840 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11841 all compilers that claim C++98 compliance, not just GCC.
11842 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11845 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11847 * NEWS: Restore accidentally deleted bug-fix entries.
11849 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11850 Ondřej Bílka <neleai@seznam.cz>
11853 * malloc/malloc.c (_int_free): Perform sanity check only if we
11856 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11859 * manual/stdio.texi (String Input Conversions): Clarify that character
11860 classes are not supported.
11862 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11866 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11869 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11870 Calculate results for small negative arguments directly rather
11871 than using reflection formula with special underflow handling.
11873 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11874 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11875 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11876 (fchflags): Likewise.
11877 (revoke): Likewise.
11878 (setlogin): Likewise.
11879 (sigaltstack): Likewise.
11881 (sigblock): Remove.
11882 (sigsetmask): Likewise.
11884 (waitpid): Likewise.
11885 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11886 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11888 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11889 * sysdeps/unix/bsd/Makefile: ... here.
11890 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11891 * sysdeps/unix/bsd/Versions: ... here.
11892 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11893 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11894 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11895 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11896 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11897 * sysdeps/unix/bsd/sigblock.c: ... here.
11898 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11899 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11900 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11901 * sysdeps/unix/bsd/sigvec.c: ... here.
11902 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11903 * sysdeps/unix/bsd/tcdrain.c: ... here.
11904 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11905 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11906 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11907 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11908 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11909 * sysdeps/unix/bsd/wait.c: ... here.
11910 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11911 * sysdeps/unix/bsd/wait3.c: ... here.
11912 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11913 * sysdeps/unix/bsd/waitpid.c: ... here.
11915 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11918 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11919 round-to-nearest for [!USE_AS_EXPM1L].
11920 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11921 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11922 more tests of exp and exp10. Expect some exp10 tests to miss
11923 exceptions or fail in directed rounding modes.
11924 * math/auto-libm-test-out: Regenerated.
11925 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11926 (exp10_test_tonearest): New function.
11927 (exp10_towardzero_test_data): New array.
11928 (exp10_test_towardzero): New function.
11929 (exp10_downward_test_data): New array.
11930 (exp10_test_downward): New function.
11931 (exp10_upward_test_data): New array.
11932 (exp10_test_upward): New function.
11933 (main): Call the new functions.
11934 * sysdeps/i386/fpu/libm-test-ulps: Update.
11935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11937 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11939 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11940 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11941 * math/auto-libm-test-out: Regenerated.
11942 * math/libm-test.inc (acosh_test_data): Add more tests.
11943 (atanh_test_data): Likewise.
11944 (ceil_test_data): Likewise.
11945 (copysign_test_data): Likewise.
11946 * sysdeps/i386/fpu/libm-test-ulps: Update.
11947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11949 * timezone/checktab.awk: Update from tzcode 2013i.
11950 * timezone/private.h: Likewise.
11951 * timezone/scheck.c: Likewise.
11952 * timezone/tzfile.h: Likewise.
11953 * timezone/tzselect.ksh: Likewise.
11954 * timezone/zdump.c: Likewise.
11955 * timezone/zic.c: Likewise.
11957 * math/auto-libm-test-in: Add tests of cpow.
11958 * math/auto-libm-test-out: Regenerated.
11959 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11960 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11962 (func_calc_desc): Add mpc_cc_c union field.
11963 (test_functions): Add cpow.
11964 (special_fill_2pi): New function.
11965 (special_real_inputs): Add 2pi.
11966 (calc_generic_results): Handle mpc_cc_c.
11967 * sysdeps/i386/fpu/libm-test-ulps: Update.
11968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11970 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11971 csqrt, ctan and ctanh.
11972 * math/auto-libm-test-out: Regenerated.
11973 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11974 (TEST_COND_x86): Likewise.
11975 (ccos_test_data): Use AUTO_TESTS_c_c.
11976 (ccosh_test_data): Likewise.
11977 (cexp_test_data): Likewise.
11978 (clog_test_data): Likewise.
11979 (csqrt_test_data): Likewise.
11980 (ctan_test_data): Likewise.
11981 (ctan_tonearest_test_data): Likewise.
11982 (ctan_towardzero_test_data): Likewise.
11983 (ctan_downward_test_data): Likewise.
11984 (ctan_upward_test_data): Likewise.
11985 (ctanh_test_data): Likewise.
11986 (ctanh_tonearest_test_data): Likewise.
11987 (ctanh_towardzero_test_data): Likewise.
11988 (ctanh_downward_test_data): Likewise.
11989 (ctanh_upward_test_data): Likewise.
11990 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11992 (func_calc_desc): Add mpc_c_c union field.
11993 (FUNC_mpc_c_c): New macro.
11994 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11995 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11997 (special_fill_min_subnorm_p120): New function.
11998 (special_real_inputs): Add min_subnorm_p120.
11999 (calc_generic_results): Handle mpc_c_c.
12000 * sysdeps/i386/fpu/libm-test-ulps: Update.
12001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12003 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12005 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12006 (do_sin_slow): New functions.
12007 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12008 (cslow2, csloww1, csloww2): Use the new functions.
12010 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12011 Use M to change sign of result instead of X. Assume X is
12013 (csloww1): Likewise.
12017 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12018 arguments A and DA.
12022 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12024 (sloww1): Don't adjust sign of DX.
12025 (csloww1): Likewise.
12026 (sloww2): Use X directly and don't adjust sign of DX.
12027 (csloww2): Likewise.
12029 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12031 * math/auto-libm-test-in: Add tests of cabs and carg.
12032 * math/auto-libm-test-out: Regenerated.
12033 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12034 (carg_test_data): Likewise.
12035 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12037 (func_calc_desc): Add mpc_c_f union field.
12038 (test_functions): Add cabs and carg.
12039 (calc_generic_results): Handle mpc_c_f.
12041 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12042 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12043 as a macro and a compat symbol.
12044 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12045 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12046 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12047 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12048 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12049 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12051 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12053 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12055 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12057 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12059 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12061 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12062 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12065 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12069 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12071 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12072 trailing whitespace removed.
12073 * scripts/config.guess: Update to version 2013-11-29.
12074 * scripts/config.sub: Update to version 2013-10-01.
12076 * math/auto-libm-test-in: Add tests of sincos.
12077 * math/auto-libm-test-out: Regenerated.
12078 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12079 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12081 (func_calc_desc): Add mpfr_f_11 union field.
12082 (test_functions): Add sincos.
12083 (calc_generic_results): Handle mpfr_f_11.
12084 * sysdeps/i386/fpu/libm-test-ulps: Update.
12085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12087 2013-12-19 Andreas Schwab <schwab@suse.de>
12089 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12091 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12092 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12093 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12095 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12097 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12098 * sysdeps/i386/fpu/libm-test-ulps: Update.
12099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12102 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12103 round-to-nearest mode when using frndint.
12104 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12105 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12106 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12108 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12110 * math/auto-libm-test-out: Regenerated.
12111 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12112 (TEST_COND_x86): Likewise.
12113 (expm1_tonearest_test_data): New array.
12114 (expm1_test_tonearest): New function.
12115 (expm1_towardzero_test_data): New array.
12116 (expm1_test_towardzero): New function.
12117 (expm1_downward_test_data): New array.
12118 (expm1_test_downward): New function.
12119 (expm1_upward_test_data): New array.
12120 (expm1_test_upward): New function.
12121 (main): Run the new test functions.
12122 * sysdeps/i386/fpu/libm-test-ulps: Update.
12123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12125 * include/features.h: Update comment documenting feature test
12126 macros. Mention _DEFAULT_SOURCE in comment.
12127 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12128 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12129 _BSD_SOURCE and _SVID_SOURCE.
12130 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12131 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12132 !_SVID_SOURCE]: Likewise.
12133 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12134 (__USE_POSIX_IMPLICITLY): Define.
12135 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12136 (_POSIX_SOURCE): Undefine and redefine.
12137 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12138 (_POSIX_C_SOURCE): Likewise.
12139 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12140 (Feature Test Macros): Update documentation of default features.
12142 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12144 * benchtests/Makefile: Add bench-strtok.
12145 * benchtests/bench-strtok.c: New file: strtok benchtest.
12147 2013-12-19 Allan McRae <allan@archlinux.org>
12149 * manual/install.texi: Suppress menu for plain text output.
12150 * INSTALL: Regenerated.
12152 2013-12-18 Brooks Moses <bmoses@google.com>
12155 * misc/getauxval.c: Include errno.h.
12156 (__getauxval): Set errno to ENOENT if the requested type is not
12158 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12159 don't declare with __attribute_const__.
12160 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12161 * manual/startup.texi: Document that getauxval sets errno.
12163 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12165 * math/auto-libm-test-in: Add tests of jn and yn.
12166 * math/auto-libm-test-out: Regenerated.
12167 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12168 (yn_test_data): Likewise.
12169 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12171 (func_calc_desc): Add mpfr_if_f union field.
12172 (FUNC_mpfr_if_f): New macro.
12173 (test_functions): Add jn and yn.
12174 (calc_generic_results): Assert type of second input for
12175 mpfr_ff_f. Handle mpfr_if_f.
12176 (output_for_one_input_case): Disable all checking for arguments
12177 fitting floating-point types in case of an integer argument.
12178 * sysdeps/i386/fpu/libm-test-ulps: Update.
12179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12182 Don't expect fegetround reference in libm.so.
12184 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12186 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12187 $(config-cflags-nofma).
12189 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12191 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12192 * math/auto-libm-test-out: Regenerated.
12195 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12196 to determine exponent and adjust argument to have exponent of -1.
12197 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12199 * math/auto-libm-test-out: Regenerated.
12200 * sysdeps/i386/fpu/libm-test-ulps: Update.
12201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12203 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12205 * manual/probes.texi: Remove cases when per-thread arenas are
12208 2013-12-18 Andreas Schwab <schwab@suse.de>
12210 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12211 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12212 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12213 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12214 * sysdeps/i386/i686/multiarch/Makefile: Update.
12215 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12217 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12219 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12220 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12222 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12225 Support TZ transition times < 00:00:00.
12226 This is needed for version-3 tz-format files; it supports time
12227 stamps past 2037 for America/Godthab (the only entry in the tz
12228 database for which this change is relevant).
12229 * manual/time.texi (TZ Variable): Document transition times
12230 from -167:59:59 through -00:00:01.
12231 * time/tzset.c (tz_rule): Time of day is now signed.
12232 (__tzset_parse_tz): Parse negative time of day.
12234 Document TZ transition times >= 25:00:00.
12235 * manual/time.texi (TZ Variable): Document transition times from
12236 25:00:00 through 167:59:59. These are already supported, and this
12237 support will help with version-3 tz-format files.
12239 * manual/time.texi (TZ Variable): Modernize North America example
12240 to reflect current (i.e., 2007-and-later) daylight saving rules.
12242 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12244 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12246 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12247 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12250 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12251 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12252 * sysdeps/unix/bsd/clock.c: Likewise.
12253 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12254 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12255 * sysdeps/unix/bsd/init-posix.c: Likewise.
12256 * sysdeps/unix/bsd/poll.c: Likewise.
12257 * sysdeps/unix/bsd/ptsname.c: Likewise.
12258 * sysdeps/unix/bsd/seekdir.c: Likewise.
12259 * sysdeps/unix/bsd/setegid.c: Likewise.
12260 * sysdeps/unix/bsd/seteuid.c: Likewise.
12261 * sysdeps/unix/bsd/setgid.c: Likewise.
12262 * sysdeps/unix/bsd/setrgid.c: Likewise.
12263 * sysdeps/unix/bsd/setruid.c: Likewise.
12264 * sysdeps/unix/bsd/setsid.c: Likewise.
12265 * sysdeps/unix/bsd/setuid.c: Likewise.
12266 * sysdeps/unix/bsd/sigaction.c: Likewise.
12267 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12268 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12269 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12270 * sysdeps/unix/bsd/telldir.c: Likewise.
12271 * sysdeps/unix/bsd/times.c: Likewise.
12272 * sysdeps/unix/bsd/usleep.c: Likewise.
12274 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12275 ($(objpfx)libbsd-compat.a): Remove rule.
12277 * include/features.h (__FAVOR_BSD): Do not define.
12278 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12279 features conflicting with POSIX.
12280 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12281 (_BSD_SOURCE): Remove description of not being a subset of other
12282 feature test macros.
12283 * manual/job.texi (getpgrp): Do not document BSD version.
12284 (getpgid): Do not document by reference to BSD getpgrp.
12285 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12286 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12287 * signal/signal.h [__FAVOR_BSD]: Likewise.
12288 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12289 instead of making contents conditional on [__FAVOR_BSD].
12290 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12292 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12296 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12299 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12300 values below 2**-450, not 2**-500.
12301 * math/auto-libm-test-in: Don't allow spurious underflow from
12303 * math/auto-libm-test-out: Regenerated.
12307 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12308 values of ha and hb and sort them after adjusting subnormal
12310 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12312 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12313 values of ea and eb and sort them after adjusting subnormal
12315 * math/auto-libm-test-in: Do not expect some hypot tests of
12316 subnormals to fail. Add more hypot tests.
12317 * math/auto-libm-test-out: Regenerated.
12319 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12322 * sysdeps/sh/s_fma.c: New file.
12323 * sysdeps/sh/s_fmaf.c: New file.
12324 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12326 * sysdeps/sh/Implies: Add sh/soft-fp.
12328 2013-12-16 Roland McGrath <roland@hack.frob.com>
12330 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12331 level of indirection to members `objname', `errstring', `malloced'.
12332 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12333 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12334 it as the __longjmp argument (just pass 1 instead).
12335 (_dl_catch_error): Initialize C with argument pointers and address of
12336 volatile local ERRCODE rather than copying values out of C at return.
12338 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12340 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12341 * math/auto-libm-test-out: Regenerated.
12342 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12343 (hypot_test_data): Likewise.
12344 (pow_test_data): Likewise.
12345 (pow_tonearest_test_data): Likewise.
12346 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12348 (func_calc_desc): Add mpfr_ff_f union field.
12349 (FUNC_mpfr_ff_f): New macro.
12350 (test_functions): Add atan2, hypot and pow.
12351 (special_fill_min): New function.
12352 (special_fill_minus_min): Likewise.
12353 (special_fill_min_subnorm): Likewise.
12354 (special_fill_minus_min_subnorm): Likewise.
12355 (special_real_inputs): Add min, -min, min_subnorm and
12357 (calc_generic_results): Handle mpfr_ff_f.
12358 * sysdeps/i386/fpu/libm-test-ulps: Update.
12359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12361 2013-12-16 Will Newton <will.newton@linaro.org>
12363 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12364 (Aligned Memory Blocks): Add documentation for aligned_alloc
12365 and suggest it as an alternative to posix_memalign.
12366 (Hooks for Malloc): Document __memalign_hook is also called
12367 for aligned_alloc. (Summary of Malloc): Add summary for
12368 aligned alloc. Document __memalign_hook is also called
12371 2013-12-16 Will Newton <will.newton@linaro.org>
12373 * manual/memory.texi (Malloc Examples): Clarify default
12374 alignment documentation. Suggest posix_memalign rather
12375 than memalign or valloc.
12376 (Aligned Memory Blocks): Remove suggestion to use memalign
12377 or valloc. Remove obsolete comment about BSD.
12378 Document memalign errno values and mark the function obsolete.
12379 Document posix_memalign returned error codes. Mark valloc
12380 as obsolete. (Hooks for Malloc): __memalign_hook is also
12381 called for posix_memalign and valloc.
12382 (Summary of Malloc): Add posix_memalign to function summary.
12383 __memalign_hook is also called for posix_memalign and valloc.
12385 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12387 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12391 (sloww): Use mynumber union. Expand ternary operator into
12392 if-else statements.
12393 (cslow): use mynumber union.
12395 2013-12-16 Allan McRae <allan@archlinux.org>
12397 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12398 * configure: Regenerated.
12400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12403 * configure.ac: Added --enable-maintainer-mode. Check for
12404 autoconf when enabled.
12405 * configure: Regenerated.
12407 * nscd/nscd.service: New file.
12408 * nscd/nscd.tmpfiles: New file.
12410 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12413 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12414 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12415 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12416 (strstr): Add __strstr_sse2_unaligned ifunc.
12417 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12418 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12419 (strcasestr): Remove __strcasestr_sse42 ifunc.
12420 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12424 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12426 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12427 * sysdeps/sh/bits/fenv.h: ... here.
12428 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12430 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12432 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12434 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12435 hypotf multiarch implementations.
12436 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12437 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12438 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12439 multiarch hypot for PPC64.
12440 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12441 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12442 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12443 multiarch hypotf for PPC64.
12445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12446 modff multiarch implementations.
12447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12450 multiarch modf for PPC64.
12451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12454 multiarch modff for PPC64.
12456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12457 and logl multiarch implementations.
12458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12461 multiarch logb for PPC64.
12462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12465 multiarch logb for PPC64.
12466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12469 multiarch logb for PPC64.
12471 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12472 isinff multiarch implementation.
12473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12477 multiarch isinf for PPC64.
12478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12481 multiarch isinff for PPC64.
12483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12484 finitef multiarch implementation.
12485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12489 multiarch finite for PPC64.
12490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12493 multiarch finitef for PPC64.
12495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12496 lrint multiarch implementation.
12497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12501 multiarch llrint for PPC64.
12502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12503 multiarch lrint for PPC64.
12505 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12506 copysignf multiarch implementation.
12507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12512 multiarch copysign for PPC64.
12513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12514 multiarch copysignf for PPC64.
12516 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12517 multiarch implementation.
12518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12526 multiarch llround for PPC64.
12527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12528 multiarch trunc for PPC64.
12529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12530 multiarch truncf for PPC64.
12532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12533 multiarch implementation.
12534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12542 multiarch llround for PPC64.
12543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12544 multiarch round for PPC64.
12545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12546 multiarch roundf for PPC64.
12548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12549 multiarch implementation.
12550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12558 multiarch llround for PPC64.
12559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12560 multiarch floor for PPC64.
12561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12562 multiarch floorf for PPC64.
12564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12565 multiarch implementation.
12566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12574 multiarch llround for PPC64.
12575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12576 multiarch ceil for PPC64.
12577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12578 multiarch ceilf for PPC64.
12580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12581 multiarch implementation.
12582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12589 multiarch llround for PPC64.
12590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12591 multiarch lround for PPC64.
12593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12594 multiarch implementation.
12595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12602 multiarch isnan for PPC64.
12603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12604 multiarch isnanf for PPC64.
12606 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12607 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12608 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12609 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12610 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12613 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12614 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12615 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12616 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12619 multiarch implementations.
12620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12621 (__libc_ifunc_impl_list): Likewise.
12622 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12623 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12624 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12625 multiarch stpcpy for PPC64.
12627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12628 multiarch implementations.
12629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12630 (__libc_ifunc_impl_list): Likewise.
12631 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12632 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12633 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12634 multiarch strcpy for PPC64.
12636 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12637 redefine function name.
12638 (_wordcopy_fwd_dest_aligned): Likewise.
12639 (_wordcopy_bwd_aligned): Likewise.
12640 (_wordcopy_bwd_dest_aligned): Likewise.
12641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12642 multiarch implementations.
12643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12644 (__libc_ifunc_impl_list): Likewise.
12645 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12646 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12647 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12648 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12649 multiarch wcscpy for PPC64.
12651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12652 multiarch implementations.
12653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12654 (__libc_ifunc_impl_list): Likewise.
12655 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12656 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12657 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12658 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12659 multiarch wcscpy for PPC64.
12661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12662 multiarch implementations.
12663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12664 (__libc_ifunc_impl_list): Likewise.
12665 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12666 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12667 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12668 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12669 multiarch wcsrchr for PPC64.
12671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12672 multiarch implementations.
12673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12674 (__libc_ifunc_impl_list): Likewise.
12675 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12676 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12677 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12678 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12679 multiarch wcschr for PPC64.
12681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12682 multiarch implementations.
12683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12684 (__libc_ifunc_impl_list): Likewise.
12685 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12686 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12687 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12688 multiarch strchrnul for PPC64.
12690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12693 (__libc_ifunc_impl_list): Likewise.
12694 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12695 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12696 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12697 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12703 (__libc_ifunc_impl_list): Likewise.
12704 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12705 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12706 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12707 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12711 multiarch implementations.
12712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12713 (__libc_ifunc_impl_list): Likewise.
12714 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12715 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12716 strncasecmp for PPC64.
12717 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12718 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12719 multiarch strncasecmp_l for PPC64.
12721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12722 multiarch implementations.
12723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12724 (__libc_ifunc_impl_list): Likewise.
12725 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12726 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12727 multiarch strcasecmp for PPC64.
12728 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12730 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12731 multiarch strcasecmp_l for PPC64.
12733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12736 (__libc_ifunc_impl_list): Likewise.
12737 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12738 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12739 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12745 (__libc_ifunc_impl_list): Likewise.
12746 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12747 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12748 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12754 (__libc_ifunc_impl_list): Likewise.
12755 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12756 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12757 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12758 rawmemrchr for PPC64.
12760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12763 (__libc_ifunc_impl_list): Likewise.
12764 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12765 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12766 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12772 (__libc_ifunc_impl_list): Likewise.
12773 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12774 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12775 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12778 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12781 (__libc_ifunc_impl_list): Likewise.
12782 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12783 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12784 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12787 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12788 avoid cretion of __bzero symbol.
12789 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12791 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12793 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12796 multiarch implementations.
12797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12798 (__libc_ifunc_impl_list): Likewise.
12799 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12800 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12801 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12802 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12804 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12805 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12806 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12807 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12808 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12810 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12812 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12816 (__libc_ifunc_impl_list): Likewise.
12817 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12818 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12819 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12820 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12824 multiarch for POWER/PPC64.
12825 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12826 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12827 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12828 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12829 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12830 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12831 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12832 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12833 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12836 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12837 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12838 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12839 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12840 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12841 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12842 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12843 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12844 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12845 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12846 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12847 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12848 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12849 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12850 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12859 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12861 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12863 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12865 * benchtests/Makefile (bench): Add exp2 and log2.
12866 (LDLIBS-bench-exp2): Add -lm.
12867 (LDLIBS-bench-log2): Likewise.
12868 * benchtests/exp2-inputs: New inputs file.
12869 * benchtests/log2-inputs: New inputs file.
12870 * benchtests/log-inputs: Add new inputs.
12871 * benchtests/tan-inputs: Likewise.
12873 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12875 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12877 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12878 (csloww2): ... from here.
12880 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12881 instead of structures.
12882 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12883 (POLYNOMIAL): Likewise.
12884 (TAYLOR_SLOW): Likewise.
12890 (sloww1); Likewise.
12891 (sloww2): Likewise.
12892 (bsloww1): Likewise.
12893 (bsloww2): Likewise.
12894 (cslow2): Likewise.
12895 (csloww): Likewise.
12896 (csloww1): Likewise.
12897 (csloww2): Likewise.
12899 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12901 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12902 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12903 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12904 * malloc/hooks.c (realloc_check): Likewise.
12906 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12907 * malloc/arena.c: Remove PER_THREAD conditional.
12908 [!PER_THREAD]: Remove code.
12909 (ptmalloc_unlock_all2): Likewise.
12910 (ptmalloc_init): Likewise.
12911 (_int_new_arena): Likewise.
12912 (arena_get2): Likewise.
12913 * malloc/hooks.c (__malloc_get_state): Likewise.
12914 (__malloc_set_state): Likewise.
12915 * malloc/malloc.c: Likewise.
12916 (struct malloc_state): Likewise.
12917 (struct malloc_par): Likewise.
12918 (__libc_realloc): Likewise.
12919 (__libc_mallopt): Likewise.
12921 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12923 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12925 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12927 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12928 macro to a function. Check for zero perturb_byte.
12929 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12931 * malloc/malloc.c: (force_reg): Remove.
12932 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12933 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12934 force_reg by atomic_forced_read.
12935 * malloc/arena.c (ptmalloc_init): Likewise.
12936 * malloc/hooks.c (top_check): Likewise.
12938 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12942 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12946 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12948 * math/auto-libm-test-in: Add tests of lgamma.
12949 * math/auto-libm-test-out: Regenerated.
12950 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12951 (M_LOG_2_SQRT_PIl): Likewise.
12952 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12953 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12955 (func_calc_desc): Add mpfr_f_f1 union field.
12956 (ARGS1): New macro.
12964 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12965 (test_functions): Add lgamma.
12966 (calc_generic_results): Handle mpfr_f_f1.
12967 * sysdeps/i386/fpu/libm-test-ulps: Update.
12968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12970 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12972 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12973 __mpn_add_n for PowerPC64/POWER7.
12974 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12975 __mpn_sub_n for PowerPC64/POWER7.
12977 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12978 __mpn_addmul_1 for PowerPC64.
12979 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12980 __mpn_submul_1 for PowerPC64.
12981 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12983 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12986 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12989 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12991 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12993 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12995 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12996 add multiarch folders.
12997 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12998 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12999 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13000 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13001 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13002 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13003 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13004 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13005 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13006 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13007 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13016 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13022 multiarch __ieee754_hypot for PowerPC32.
13023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13028 multiarch __ieee754_hypotf for PowerPC32.
13030 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13031 long_double_symbol only if __logbl is defined.
13032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13033 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13035 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13037 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13039 path for implementation.
13040 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13041 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13043 logb, and logbl multiarch implementations for PowerPC32.
13044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13049 multiarch logb for PowerPC32.
13050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13055 multiarch logbf for PowerPC32.
13056 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13060 multiarch logbl implementation for PowerPC32.
13062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13063 and modff multiarch implementations.
13064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13069 multiarch modf for PowerPC32.
13070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13075 multiarch modff for PowerPC32.
13077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13078 and lrintf multiarch implementations.
13079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13084 multiarch lrint for PowerPC32.
13085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13086 file: multiarch lrintf for PowerPC32.
13088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13089 and lroundf multiarch implementations.
13090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13097 multiarch lround for PowerPC32.
13098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13099 file: multiarch lroundf for PowerPC32.
13101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13102 copysign and copysignf multiarch implementations.
13103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13108 file: multiarch copysign for PowerPC32.
13109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13110 file: multiarch copysignf for PowerPC32.
13112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13113 and truncf multiarch implementations.
13114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13119 multiarch trunc for PowerPC32.
13120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13125 multiarch truncf for PowerPC32.
13127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13128 and roundf multiarch implementations.
13129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13134 multiarch round for PowerPC32.
13135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13140 multiarch roundf for PowerPC32.
13142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13143 and floorf multiarch implementations.
13144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13149 multiarch floor for PowerPC32.
13150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13155 multiarch floorf for PowerPC32.
13157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13158 and ceilf multiarch implementations.
13159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13164 multiarch ceil for PowerPC32.
13165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13170 multiarch ceilf for PowerPC32.
13172 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13174 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13175 FINITEF is defined.
13176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13177 and finitef multiarch implementations.
13178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13183 multiarch finite for PowerPC32.
13184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13187 file: multiarch finitef for PowerPC32.
13189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13190 and isinff multiarch implementations.
13191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13196 multiarch isinf for PowerPC32.
13197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13200 multiarch isinff for PowerPC32.
13202 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13203 alias when __isnan is defined.
13204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13205 and isnanf multiarch implementations.
13206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13215 multiarch isnan for PowerPC32.
13216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13221 multiarch isnanf for PowerPC32.
13223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13224 and sqrtf multiarch implementations.
13225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13230 multiarch sqrt for PowerPC32.
13231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13236 multiarch sqrtf for PowerPC32.
13238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13239 and llroundf multiarch implementations.
13240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13247 file: multiarch llround for PowerPC32.
13248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13249 file: multiarch llroundf for PowerPC32.
13251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13252 multiarch PowerPC32 fpu implementations.
13253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13258 multiarch llrint for PowerPC32.
13259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13268 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13270 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13272 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13274 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13275 multiarch wordcopy for PPC32.
13276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13279 (__libc_ifunc_impl_list): Likewise.
13280 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13281 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13282 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13283 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13284 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13285 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13287 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13294 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13295 multiarch wcscpy for PPC32.
13296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13299 (__libc_ifunc_impl_list): Likewise.
13300 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13301 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13302 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13303 sysdeps/powerpc/power6/wcscpy.c.
13305 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13313 multiarch wcsrchr for PPC32.
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13317 (__libc_ifunc_impl_list): Likewise.
13318 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13319 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13320 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13321 sysdeps/powerpc/power6/wcsrchr.c.
13323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13329 multiarch wcschr for PPc32.
13330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13333 (__libc_ifunc_impl_list): Likewise.
13334 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13335 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13336 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13337 sysdeps/powerpc/power6/wcschr.c.
13339 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13340 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13342 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13343 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13344 file: multiarch strchr for PPC32.
13345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13348 (__libc_ifunc_impl_list): Likewise.
13350 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13352 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13354 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13356 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13357 multiarch strchrnul for PPC32.
13358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13361 (__libc_ifunc_impl_list): Likewise.
13363 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13365 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13366 multiarch strncasecmp for PPC32.
13367 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13369 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13370 multiarch strncasecmp_l for PPC32.
13371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13372 strncasecmp multiarch objects.
13373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13374 (__libc_ifunc_impl_list): Likewise.
13376 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13378 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13379 multiarch strncasecmp for PPC32.
13380 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13382 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13383 multiarch strcasecmp_l for PPC32.
13384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13387 (__libc_ifunc_impl_list): Likewise.
13389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13391 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13393 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13394 multiarch strncmp for PPC32.
13395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13398 (__libc_ifunc_impl_list): Likewise.
13400 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13401 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13403 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13404 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13405 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13407 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13408 (__libc_ifunc_impl_list): Likewise.
13410 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13412 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13414 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13418 (__libc_ifunc_impl_list): Likewise.
13420 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13422 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13424 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13425 multiarch rawmemchr for PPC32.
13426 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13428 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13429 (__libc_ifunc_impl_list): Likewise.
13431 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13433 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13435 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13436 file: memrchr multiarch for PPC32.
13437 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13439 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13440 (__libc_ifunc_impl_list): Likewise.
13442 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13443 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13445 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13446 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13447 multiarch memchr for PPC32.
13448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13451 (__libc_ifunc_impl_list): Likewise.
13453 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13454 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13456 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13458 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13459 file: multiarch mempcpy for PPC32.
13460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13463 (__libc_ifunc_impl_list): Likewise.
13465 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13466 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13467 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13468 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13469 multiarch bzero for PPC32.
13470 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13472 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13474 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13475 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13476 file: multiarch memset for PPC32.
13477 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13478 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13479 memset multiarch objects.
13480 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13481 (__libc_ifunc_impl_list): Likewise.
13483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13486 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13488 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13489 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13491 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13492 (__libc_ifunc_impl_list): Likewise.
13494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13495 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13496 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13500 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13502 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13503 multiarch memcpy for PPC32.
13504 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13506 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13507 (__libc_ifunc_impl_list): Likewise.
13509 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13510 support multiarch for POWER/PPC32.
13511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13513 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13515 Implies file to make multiarch folder appers before the fpu and
13516 default folder for power4 configuration.
13518 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13520 * scripts/bench.pl: Append volatile keyword to type.
13522 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13524 * sysdeps/sh/sotruss-lib.c: New file.
13525 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13527 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13531 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13534 * math/w_tgamma.c: Include <errno.h>.
13535 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13536 * math/w_tgammaf.c: Include <errno.h>.
13537 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13538 * math/w_tgammal.c: Include <errno.h>.
13539 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13540 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13541 underflow. Add more tgamma tests.
13542 * math/auto-libm-test-out: Regenerated.
13543 * sysdeps/i386/fpu/libm-test-ulps: Update.
13544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13546 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13547 sin, sinh, tan, tanh, tgamma, y0 and y1.
13548 * math/auto-libm-test-out: Regenerated.
13549 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13550 (TEST_COND_x86): Likewise.
13551 (M_E2l): Remove macro.
13553 (M_2_SQRT_PIl): Likewise.
13554 (M_SQRT_PIl): Likewise.
13555 (M_1_DIV_El): Likewise.
13556 (log_test_data): Use AUTO_TESTS_f_f.
13557 (log10_test_data): Likewise.
13558 (log1p_test_data): Likewise.
13559 (log2_test_data): Likewise.
13560 (sin_test_data): Likewise.
13561 (sin_tonearest_test_data): Likewise.
13562 (sin_towardzero_test_data): Likewise.
13563 (sin_downward_test_data): Likewise.
13564 (sin_upward_test_data): Likewise.
13565 (sinh_test_data): Likewise.
13566 (sinh_tonearest_test_data): Likewise.
13567 (sinh_towardzero_test_data): Likewise.
13568 (sinh_downward_test_data): Likewise.
13569 (sinh_upward_test_data): Likewise.
13570 (tan_test_data): Likewise.
13571 (tan_tonearest_test_data): Likewise.
13572 (tan_towardzero_test_data): Likewise.
13573 (tan_downward_test_data): Likewise.
13574 (tan_upward_test_data): Likewise.
13575 (tanh_test_data): Likewise.
13576 (tgamma_test_data): Likewise.
13577 (y0_test_data): Likewise.
13578 (y1_test_data): Likewise.
13579 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13580 (special_real_inputs): Add pi/4.
13581 * sysdeps/i386/fpu/libm-test-ulps: Update.
13582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13584 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13586 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13587 "longjmp_target" static probes.
13588 (__longjmp): Rename to __longjmp_symbol.
13589 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13590 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13591 on which longjmp to generate.
13592 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13593 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13595 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13596 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13597 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13598 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13599 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13600 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13602 __longjmp_symbol based on which __longjmp to generate.
13603 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13605 (setjmp): Rename to setjmp_symbol.
13606 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13607 (_setjmp): Rename to _setjmp_symbol.
13608 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13609 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13610 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13611 which setjmp to generate.
13612 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13613 "longjmp_target" static probes.
13615 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13617 * benchtests/README: Add note about output arguments.
13618 * benchtests/bench-sincos.c: Remove file.
13619 * benchtests/sincos-inputs: New file.
13620 * scripts/bench.pl: Identify output arguments and define
13621 static variables for them.
13623 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13626 * Makefile (INSTALL): Add install-plain.texi as the primary
13628 * manual/install-plain.texi: New file.
13629 * manual/install.texi: Include node directive only for
13630 non-plaintext output.
13632 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13634 * stdlib/longlong.h: Update from GCC.
13638 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13639 * math/w_j0f.c (y0f): Likewise.
13640 * math/w_j0l.c (__y0l): Likewise.
13641 * math/w_j1.c (y1): Likewise.
13642 * math/w_j1f.c (y1f): Likewise.
13643 * math/w_j1l.c (__y1l): Likewise
13644 * math/w_jn.c (yn): Likewise.
13645 * math/w_jnf.c (ynf): Likewise.
13646 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13647 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13648 value for Bessel function domain errors outside _SVID_ mode.
13649 Adjust sign of return value for yn (negative integer, 0).
13650 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13651 by zero in return for negative x and set sign appropriately for
13653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13654 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13655 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13656 expectations in error cases.
13657 (y1_test_data): Likewise.
13658 (yn_test_data): Likewise.
13659 * sysdeps/i386/fpu/libm-test-ulps: Update.
13660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13662 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13664 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13665 "64" to "64-v1". Add "64-v2".
13666 (abi-64-options): Rename to ...
13667 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13668 (abi-64-condition): Rename to ...
13669 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13670 (abi-64-ld-soname): Rename to ...
13671 (abi-64-v1-ld-soname): ... this.
13672 (abi-64-v2-options): Define.
13673 (abi-64-v2-condition): Likewise.
13674 (abi-64-v2-ld-soname): Likewise.
13675 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13676 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13681 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13682 Alan Modra <amodra@gmail.com>
13684 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13685 New versions for use with the ELFv2 ABI.
13686 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13687 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13689 (struct La_ppc64v2_retval): Likewise.
13690 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13691 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13692 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13693 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13694 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13695 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13696 Do not save or restore CR.
13697 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13698 (_dl_profile_resolve): Do no save or restore CR. Support extended
13699 return values for ELFv2 ABI. Fix location of FPR return registers.
13700 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13701 updated values for _CALL_ELF == 2.
13702 (La_regs, La_retval, int_retval): Likewise.
13704 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13706 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13707 (FRAME_MIN_SIZE_PARM): Likewise.
13708 (FRAME_BACKCHAIN): Likewise.
13709 (FRAME_CR_SAVE): Likewise.
13710 (FRAME_LR_SAVE): Likewise.
13711 (FRAME_TOC_SAVE): Likewise.
13712 (FRAME_PARM_SAVE): Likewise.
13713 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13714 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13715 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13716 (call_mcount_parm_offset): New macro.
13717 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13718 (PROF): Use symbolic stack frame offsets.
13719 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13720 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13721 Redefine in terms of FRAME_MIN_SIZE.
13722 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13723 (_dl_profile_resolve): Likewise. Update comment.
13724 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13725 symbols stack frame offsets.
13726 (__sigsetjmp): Likewise.
13727 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13728 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13729 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13730 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13733 (FRAME_BACKCHAIN): Remove.
13734 (FRAME_CR_SAVE): Likewise.
13735 (FRAME_LR_SAVE): Likewise.
13736 (FRAME_COMPILER_DW): Likewise.
13737 (FRAME_LINKER_DW): Likewise.
13738 (FRAME_TOC_SAVE): Likewise.
13739 (FRAME_PARM_SAVE): Likewise.
13740 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13741 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13742 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13744 (CHECK_SP): Use symbolic stack frame offsets.
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13746 zone" instead of caller's parameter save area for temp storage.
13747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13748 Likewise. Also, use symbolic stack frame offsets.
13749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13750 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13751 our own stack frame instead of the caller's.
13752 (__socket): Use symbolic stack frame offsets.
13754 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13755 Alan Modra <amodra@gmail.com>
13757 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13759 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13760 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13761 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13763 (elf_machine_fixup_plt): Call it.
13764 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13766 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13767 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13768 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13769 r2 before calling target.
13771 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13772 Alan Modra <amodra@gmail.com>
13774 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13775 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13776 versions of macros to support ELFv2 ABI.
13777 (LOCALENTRY): New macro.
13778 (ENTRY, EALIGN): Use it.
13779 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13780 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13781 fall through into ENTRY entry point.
13782 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13783 Only define if _CALL_ELF != 2.
13785 (elf_machine_matches_host): Verify ABI version matches.
13786 (RTLD_START): Use LOCALENTRY.
13787 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13788 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13789 (PLT_ENTRY_WORDS): New macro.
13790 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13791 (elf_machine_runtime_setup): Support ELFv2 ABI.
13792 (elf_machine_fixup_plt): Likewise.
13793 (elf_machine_plt_conflict): Likewise.
13794 (resolve_ifunc): Likewise.
13795 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13796 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13799 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13801 (makecontext): Support ELFv2 ABI.
13802 * elf/elf.h (EF_PPC64_ABI): Define.
13804 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13806 * sysdeps/powerpc/powerpc64/sysdep.h
13807 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13808 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13809 (ENTRY) [ASSEMBLER]: ... but instead here ...
13810 (EALIGN) [ASSEMBLER]: ... and here.
13811 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13812 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13813 (ENTRY_2) [!ASSEMBLER]: Use it.
13814 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13815 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13816 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13817 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13818 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13820 Use PPC64_LOAD_FUNCPTR.
13822 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13824 2013-12-04 Alan Modra <amodra@gmail.com>
13826 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13827 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13828 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13829 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13831 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13832 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13833 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13834 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13835 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13836 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13838 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13841 (__makecontext): Fix incorrect CFI when backtracing out of
13842 context created via makecontext.
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13844 (__setcontext): Fix incorrect CFI during switch to new context.
13845 (__novec_setcontext): Likewise.
13847 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13850 * time/strptime_l.c (__strptime_internal): Allow modifiers
13852 * time/tst-strptime.c (day_tests): Add testcase.
13854 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13856 * scripts/bench.pl: Skip over blank lines.
13858 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13861 * manual/time.texi (Calendar Time): Clarify what timezone functions
13864 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13868 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13870 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13872 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13873 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13874 * debug/memset_chk.c (__memset_chk): Likewise.
13875 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13876 * debug/strncpy_chk.c: Likewise.
13878 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13882 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13883 (__ieee754_exp): For possibly underflowing results, check size of
13884 result and force underflow exception if required.
13885 * math/auto-libm-test-in: Add more tests of exp.
13886 * math/auto-libm-test-out: Regenerated.
13887 * sysdeps/i386/fpu/libm-test-ulps: Update.
13888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13891 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13892 * math/w_exp2f.c (__exp2f): Likewise.
13893 * math/w_exp2l.c (__exp2l): Likewise.
13894 * math/auto-libm-test-in: Do not allow missing errno on exp2
13896 * math/auto-libm-test-out: Regenerated.
13898 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13901 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13902 handle filename validation.
13903 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13906 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13909 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13910 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13911 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13913 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13914 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13915 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13916 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13917 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13918 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13919 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13920 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13921 Add more erfc tests.
13922 * math/auto-libm-test-out: Regenerated.
13923 * sysdeps/i386/fpu/libm-test-ulps: Update.
13924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13926 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13927 exp2, expm1, j0 and j1.
13928 * math/auto-libm-test-out: Regenerated.
13929 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13930 (erfc_test_data): Likewise.
13931 (exp_test_data): Likewise.
13932 (exp_tonearest_test_data): Likewise.
13933 (exp_towardzero_test_data): Likewise.
13934 (exp_downward_test_data): Likewise.
13935 (exp_upward_test_data): Likewise.
13936 (exp10_test_data): Likewise.
13937 (exp2_test_data): Likewise.
13938 (expm1_test_data): Likewise.
13939 (j0_test_data): Likewise.
13940 (j1_test_data): Likewise.
13941 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13942 (input_flag_type): Add flag_xfail_rounding.
13943 (input_flags): Add xfail-rounding.
13944 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13945 (output_for_one_input_case): Handle flag_xfail_rounding.
13946 * sysdeps/i386/fpu/libm-test-ulps: Update.
13947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13949 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13952 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13955 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13958 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13959 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13960 (STAP_PROBE0): New macro.
13961 (STAP_PROBE1): Likewise.
13962 (STAP_PROBE2): Likewise.
13963 (STAP_PROBE3): Likewise.
13964 (STAP_PROBE4): Likewise.
13966 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13968 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13970 2013-12-02 Steve Ellcey <sellcey@mips.com>
13972 * benchtests/Makefile (bench): Add sqrt.
13973 (LDLIBS-bench-sqrt): New.
13974 * benchtests/sqrt-input: New.
13976 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13978 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13979 (GAIH_EAI): Likewise.
13980 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13981 (gaih_inet): Likewise.
13982 (getaddrinfo): Don't use GAIH_EAI.
13984 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13985 (struct gaih): Remove definition.
13987 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13989 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13990 Use HERRNOP directly.
13992 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13996 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13998 * math/gen-auto-libm-tests.c (test_functions): Add more
13999 single-argument functions.
14000 (special_fill_pi_2): New function.
14001 (special_fill_minus_pi_2): Likewise.
14002 (special_fill_pi_6): Likewise.
14003 (special_fill_minus_pi_6): Likewise.
14004 (special_fill_pi_3): Likewise.
14005 (special_fill_2pi_3): Likewise.
14006 (special_fill_e): Likewise.
14007 (special_fill_1_e): Likewise.
14008 (special_fill_e_minus_1): Likewise.
14009 (special_real_inputs): Add more special inputs.
14010 (output_for_one_input_case): Do not require ERANGE on underflow to
14011 zero if round-to-nearest result does not underflow to zero, unless
14012 exact results required.
14013 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14014 atan, atanh, cbrt, cos and cosh.
14015 * math/auto-libm-test-out: Regenerated.
14016 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14017 (acos_tonearest_test_data): Likewise.
14018 (acos_towardzero_test_data): Likewise.
14019 (acos_downward_test_data): Likewise.
14020 (acos_upward_test_data): Likewise.
14021 (acosh_test_data): Likewise.
14022 (asin_test_data): Likewise.
14023 (asin_tonearest_test_data): Likewise.
14024 (asin_towardzero_test_data): Likewise.
14025 (asin_upward_test_data): Likewise.
14026 (asinh_test_data): Likewise.
14027 (atan_test_data): Likewise.
14028 (atanh_test_data): Likewise.
14029 (cbrt_test_data): Likewise.
14030 (cos_test_data): Likewise.
14031 (cos_tonearest_test_data): Likewise.
14032 (cos_towardzero_test_data): Likewise.
14033 (cos_downward_test_data): Likewise.
14034 (cos_upward_test_data): Likewise.
14035 (cosh_test_data): Likewise.
14036 (cosh_tonearest_test_data): Likewise.
14037 (cosh_towardzero_test_data): Likewise.
14038 (cosh_downward_test_data): Likewise.
14039 (cosh_upward_test_data): Likewise.
14040 * sysdeps/i386/fpu/libm-test-ulps: Update.
14041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14043 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14046 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14047 * math/w_exp10f.c (__exp10f): Likewise.
14048 * math/w_exp10l.c (__exp10l): Likewise.
14049 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14050 errno settings in existing tests.
14053 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14054 precision control set to double precision.
14055 * sysdeps/i386/fpu/w_sqrt.c: New file.
14056 * math/auto-libm-test-in: Add more tests.
14057 * math/auto-libm-test-out: Update.
14059 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14060 (sqrt_test_tonearest): New function.
14061 (sqrt_towardzero_test_data): New variable.
14062 (sqrt_test_towardzero): New function.
14063 (sqrt_downward_test_data): New variable.
14064 (sqrt_test_downward): New function.
14065 (sqrt_upward_test_data): New variable.
14066 (sqrt_test_upward): New function.
14067 (main): Call the new functions.
14069 * math/gen-auto-libm-tests.c: New file.
14070 * math/auto-libm-test-in: Likewise.
14071 * math/auto-libm-test-out: New generated file.
14072 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14074 (%beautify): Add generated representations of zero.
14075 (top level): Set $auto_input and call parse_auto_input.
14076 (beautify): Remove trailing "f" from hex float constants.
14077 (parse_args): Handle XFAIL_TEST.
14078 (convert_condition): New function.
14079 (or_value): Likewise.
14080 (or_cond_value): Likewise.
14081 (generate_testfile): Handle AUTO_TESTS_* lines.
14082 (parse_auto_input): New function.
14083 * math/libm-test.inc (XFAIL_TEST): New macro.
14084 (ERRNO_UNCHANGED): Update value.
14085 (ERRNO_EDOM): Likewise.
14086 (ERRNO_ERANGE): Likewise.
14087 (IGNORE_RESULT): Likewise.
14088 (TEST_COND_flt_32): New macro.
14089 (TEST_COND_dbl_64): Likewise.
14090 (TEST_COND_ldbl_96_intel): Likewise.
14091 (TEST_COND_ldbl_96_m68k): Likewise.
14092 (TEST_COND_ldbl_128): Likewise.
14093 (TEST_COND_ldbl_128ibm): Likewise.
14094 (TEST_COND_long32): Likewise.
14095 (TEST_COND_long64): Likewise.
14096 (TEST_COND_before_rounding): Likewise.
14097 (TEST_COND_after_rounding): Likewise.
14098 (enable_test): Handle XFAIL_TEST flag.
14099 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14100 with finite results.
14101 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14102 auto-libm-test-out.
14104 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14105 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14108 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14109 __tls_get_addr_internal instead of __tls_get_offset in order to
14110 avoid GOT pointer dependency. Make rtld export
14111 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14112 __tls_get_addr since we are a __tls_get_offset platform.
14113 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14114 GOT pointer being set up before.
14115 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14117 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14119 * manual/math.texi (Errors in Math Functions): Document accuracy
14123 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14124 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14125 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14126 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14127 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14128 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14129 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14130 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14131 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14132 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14133 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14134 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14135 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14136 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14137 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14138 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14140 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14141 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14142 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14143 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14144 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14146 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14148 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14150 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14151 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14152 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14153 atomic-feupdateenv and flt-rounds.
14154 * sysdeps/powerpc/nofpu/Versions (libc): Add
14155 __atomic_feholdexcept, __atomic_feclearexcept,
14156 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14157 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14158 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14159 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14160 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14165 * manual/arith.texi (FP Exceptions): Document that exceptions may
14166 not be raised when matherr is used.
14167 (Math Error Reporting): Document overflow in directed rounding
14168 modes. Document that errno may not be set when finite values are
14169 returned on overflow. Document intent to set errno on underflow
14170 only for underflow to zero.
14173 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14174 round-to-nearest then adjust result for other rounding modes.
14175 * include/fenv.h (fegetround): Use libm_hidden_proto.
14176 * math/fegetround.c (fegetround): Use libm_hidden_def.
14177 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14178 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14179 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14180 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14182 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14183 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14184 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14185 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14187 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14190 * nss/Versions (libnss_files): Add
14191 _nss_files_gethostbyname3_r.
14192 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14194 (HOST_DB_LOOKUP): Remove macro.
14195 (_nss_files_gethostbyname_r): Implement function without the
14196 HOST_DB_LOOKUP macro.
14197 (_nss_files_gethostbyname2_r): Likewise.
14199 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14201 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14203 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14205 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14206 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14209 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14211 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14212 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14213 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14214 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14215 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14216 __fe_nomask_env_priv and attribute_hidden.
14217 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14218 (libc_feupdateenv_test_ppc): Likewise.
14219 (libc_feresetround_ppc): Likewise.
14220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14221 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14222 compat_symbol macro.
14223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14224 (__fe_nomask_env): Likewise.
14225 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14227 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14229 * string/Makefile: Remove ifunc tests.
14230 * string/test-string.h: Define TEST_IFUNC.
14231 * string/test-bcopy-ifunc.c: Remove.
14232 * string/test-bzero-ifunc.c: Likewise.
14233 * string/test-memccpy-ifunc.c: Likewise.
14234 * string/test-memchr-ifunc.c: Likewise.
14235 * string/test-memcmp-ifunc.c: Likewise.
14236 * string/test-memcpy-ifunc.c: Likewise.
14237 * string/test-memmem-ifunc.c: Likewise.
14238 * string/test-memmove-ifunc.c: Likewise.
14239 * string/test-mempcpy-ifunc.c: Likewise.
14240 * string/test-memrchr-ifunc.c: Likewise.
14241 * string/test-memset-ifunc.c: Likewise.
14242 * string/test-rawmemchr-ifunc.c: Likewise.
14243 * string/test-stpcpy-ifunc.c: Likewise.
14244 * string/test-stpncpy-ifunc.c: Likewise.
14245 * string/test-strcasecmp-ifunc.c: Likewise.
14246 * string/test-strcasestr-ifunc.c: Likewise.
14247 * string/test-strcat-ifunc.c: Likewise.
14248 * string/test-strchr-ifunc.c: Likewise.
14249 * string/test-strchrnul-ifunc.c: Likewise.
14250 * string/test-strcmp-ifunc.c: Likewise.
14251 * string/test-strcpy-ifunc.c: Likewise.
14252 * string/test-strcspn-ifunc.c: Likewise.
14253 * string/test-strlen-ifunc.c: Likewise.
14254 * string/test-strncasecmp-ifunc.c: Likewise.
14255 * string/test-strncat-ifunc.c: Likewise.
14256 * string/test-strncmp-ifunc.c: Likewise.
14257 * string/test-strncpy-ifunc.c: Likewise.
14258 * string/test-strnlen-ifunc.c: Likewise.
14259 * string/test-strpbrk-ifunc.c: Likewise.
14260 * string/test-strrchr-ifunc.c: Likewise.
14261 * string/test-strspn-ifunc.c: Likewise.
14262 * string/test-strstr-ifunc.c: Likewise.
14264 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14266 * benchtests/Makefile: Remove ifunc tests.
14267 * benchtests/bench-string.h: Define TEST_IFUNC.
14268 * benchtests/bench-bcopy-ifunc.c: Remove.
14269 * benchtests/bench-bzero-ifunc.c: Likewise.
14270 * benchtests/bench-memccpy-ifunc.c: Likewise.
14271 * benchtests/bench-memchr-ifunc.c: Likewise.
14272 * benchtests/bench-memcmp-ifunc.c: Likewise.
14273 * benchtests/bench-memcpy-ifunc.c: Likewise.
14274 * benchtests/bench-memmem-ifunc.c: Likewise.
14275 * benchtests/bench-memmove-ifunc.c: Likewise.
14276 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14277 * benchtests/bench-memrchr-ifunc.c: Likewise.
14278 * benchtests/bench-memset-ifunc.c: Likewise.
14279 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14280 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14281 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14282 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14283 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14284 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14285 * benchtests/bench-strcat-ifunc.c: Likewise.
14286 * benchtests/bench-strchr-ifunc.c: Likewise.
14287 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14288 * benchtests/bench-strcmp-ifunc.c: Likewise.
14289 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14290 * benchtests/bench-strcpy-ifunc.c: Likewise.
14291 * benchtests/bench-strcspn-ifunc.c: Likewise.
14292 * benchtests/bench-strlen-ifunc.c: Likewise.
14293 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14294 * benchtests/bench-strncat-ifunc.c: Likewise.
14295 * benchtests/bench-strncmp-ifunc.c: Likewise.
14296 * benchtests/bench-strncpy-ifunc.c: Likewise.
14297 * benchtests/bench-strnlen-ifunc.c: Likewise.
14298 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14299 * benchtests/bench-strrchr-ifunc.c: Likewise.
14300 * benchtests/bench-strsep-ifunc.c: Likewise.
14301 * benchtests/bench-strspn-ifunc.c: Likewise.
14302 * benchtests/bench-strstr-ifunc.c: Likewise.
14304 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14306 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14308 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14310 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14311 * rt/aio.h: Likewise.
14312 * sysdeps/gnu/bits/utmp.h: Likewise.
14313 * sysdeps/gnu/bits/utmpx.h: Likewise.
14314 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14315 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14316 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14317 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14318 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14319 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14320 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14321 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14322 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14324 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14325 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14326 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14328 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14329 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14330 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14331 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14332 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14333 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14334 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14335 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14336 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14337 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14338 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14340 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14341 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14342 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14343 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14344 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14345 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14346 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14347 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14348 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14349 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14350 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14351 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14352 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14353 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14354 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14355 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14357 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14360 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14361 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14363 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14365 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14366 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14369 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14371 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14372 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14373 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14374 (__fesetround): Remove define.
14375 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14376 rounding and exceptions handling.
14377 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14378 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14379 (__fe_nomask_env): Likewise.
14380 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14381 __fegetround instead of fegetround.
14382 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14383 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14385 2013-11-21 Roland McGrath <roland@hack.frob.com>
14387 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14390 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14392 2013-11-21 Meador Inge <meadori@codesourcery.com>
14395 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14396 (encrypt_r): Likewise.
14397 * malloc/obstack.h (obstack_free): Likewise.
14398 * posix/unistd.h (encrypt): Likewise.
14400 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14402 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14403 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14404 DL_CALL_DT_FINI() that call the functions directly.
14405 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14406 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14407 * elf/dl-fini.c: Likewise.
14409 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14411 * malloc/hooks.c (memalign_check): Add alignment rounding.
14412 * malloc/malloc.c (_mid_memalign): New function.
14413 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14414 Implement by calling _mid_memalign.
14415 * manual/probes.texi (Memory Allocation Probes): Remove
14416 memory_valloc_retry and memory_pvalloc_retry.
14418 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14420 * locale/programs/locarchive.c (open_archive): Add const
14421 qualifier to ARCHIVEFNAME and copy default fname to
14425 * libio/tst-widetext.input: Rename Oriya to Odia.
14426 * locale/iso-639.def: Likewise.
14428 * manual/probes.texi (Mathematical Function Probes): Add
14429 documentation for sin, cos, asin and acos probes.
14430 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14431 (__sin32): Add slowasin probe.
14432 (__cos32): Add slowacos probe.
14433 (__mpsin): Add slowsin probe.
14434 (__mpcos): Add slowcos probe.
14436 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14439 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14440 thread-local __sim_exceptions_thread and global
14441 __sim_exceptions_global.
14442 (__sim_disabled_exceptions): Change to thread-local
14443 __sim_disabled_exceptions_thread and global
14444 __sim_disabled_exceptions_global.
14445 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14446 and global __sim_round_mode_global.
14447 (__simulate_exceptions): Use thread-local floating-point state and
14448 set global state from it as needed.
14449 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14450 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14451 __sim_round_mode_thread.
14452 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14453 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14454 and global __sim_exceptions_global.
14455 (__sim_disabled_exceptions): Change to thread-local
14456 __sim_disabled_exceptions_thread and global
14457 __sim_disabled_exceptions_global.
14458 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14459 and global __sim_round_mode_global.
14460 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14461 (SIM_SET_GLOBAL): Likewise.
14462 * sysdeps/powerpc/soft-fp/sfp-machine.h
14463 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14464 __sim_round_mode_thread.
14465 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14466 __sim_disabled_exceptions_thread.
14467 (__sim_exceptions): Change to __sim_exceptions_thread.
14468 (__sim_disabled_exceptions): Change to
14469 __sim_disabled_exceptions_thread.
14470 (__sim_round_mode): Change to __sim_round_mode_thread.
14471 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14472 thread-local floating-point state and set global state from it as
14474 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14475 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14476 (__sim_disabled_exceptions): Remove extern declaration.
14477 (feenableexcept): Use thread-local floating-point state and set
14478 global state from it as needed.
14479 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14480 extern declaration.
14481 (__sim_disabled_exceptions): Likewise.
14482 (__sim_round_mode): Likewise.
14483 (__fegetenv): Use thread-local floating-point state.
14484 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14485 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14486 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14487 floating-point state and set global state from it as needed.
14488 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14489 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14490 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14492 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14493 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14495 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14496 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14497 Use __sim_round_mode_thread.
14498 * math/test-fenv-tls.c: New file.
14499 * math/Makefile (tests): Add test-fenv-tls.
14500 ($(objpfx)test-fenv-tls): Depend on
14501 $(common-objpfx)nptl/libpthread.so.
14503 2013-11-19 Andreas Schwab <schwab@suse.de>
14505 * locale/programs/locale.c (show_info): Decode wordarray elements.
14506 * locale/categories.def (LC_MONETARY): Add element for
14507 _NL_MONETARY_CRNCYSTR.
14508 * locale/C-monetary.c (conversion_rate): New variable.
14509 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14512 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14514 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14515 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14517 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14519 * elf/Makefile (tst-auxv): New test.
14520 * elf/tst-auxv.c: New
14521 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14523 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14525 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14526 (hidden_proto): Caller changed.
14527 (hidden_tls_proto): New macro.
14528 (libc_hidden_tls_proto): Likewise.
14529 (rtld_hidden_tls_proto): Likewise.
14530 (libm_hidden_tls_proto): Likewise.
14531 (libresolv_hidden_tls_proto): Likewise.
14532 (librt_hidden_tls_proto): Likewise.
14533 (libdl_hidden_tls_proto): Likewise.
14534 (libnss_files_hidden_tls_proto): Likewise.
14535 (libnsl_hidden_tls_proto): Likewise.
14536 (libnss_nisplus_hidden_tls_proto): Likewise.
14537 (libutil_hidden_tls_proto): Likewise.
14539 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14542 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14543 (decompose_rpath): Defer expansion to fillin_rpath.
14544 (_dl_init_paths): Pass linkmap to fillin_rpath.
14546 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14548 * benchtests/Makefile: Add strsep.
14549 * benchtests/bench-strsep.c: New file: strsep benchtest.
14550 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14552 2013-11-18 Andreas Schwab <schwab@suse.de>
14554 * locale/programs/locale.c (show_info) [case byte]: Check for
14555 '\377' instead of '\177'.
14556 * locale/C-monetary.c (not_available): Always use "\377".
14557 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14558 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14559 detect unavailable sign_posn locale elements.
14560 * locale/localeconv.c (__localeconv): For grouping and
14561 mon_grouping handle "\177" and "\377" like no grouping.
14562 (INT_ELEM): New macro. Use it to set all numeric members.
14563 * locale/programs/ld-monetary.c (monetary_read)
14564 <tok_mon_grouping>: Normalize single -1 to the empty string.
14565 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14568 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14571 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14572 when we match (nil).
14573 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14575 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14577 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14578 (NO_TEST_INLINE): Update value.
14579 (ERRNO_UNCHANGED): Likewise.
14580 (ERRNO_EDOM): Likewise.
14581 (ERRNO_ERANGE): Likewise.
14582 (IGNORE_RESULT): Likewise.
14583 (check_float_internal): Check signs of NaN results if
14584 TEST_NAN_SIGN used.
14585 (check_complex): Pass TEST_NAN_SIGN flag through to second
14586 check_float_internal call.
14587 (copysign_test_data): Add tests with quiet NaNs as second
14588 argument. Use TEST_NAN_SIGN.
14589 (fabs_test_data): Add test of negative quiet NaN argument. Use
14591 (signbit_test_data): Add tests of quiet NaN argument.
14592 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14594 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14596 (parse_args): Handle function results specified as IGNORE.
14597 * math/libm-test.inc (IGNORE_RESULT): New macro.
14598 (check_float_internal): Do not check numerical result if flag
14600 (check_complex): Pass through IGNORE_RESULT to second
14601 check_float_internal call.
14602 (check_int): Do not check numerical result if flag IGNORE_RESULT
14604 (check_long): Likewise.
14605 (check_bool): Likewise.
14606 (check_longlong): Likewise.
14607 (lrint_test_data): Add tests of infinite and NaN arguments.
14608 (lrint_tonearest_test_data): Likewise.
14609 (lrint_towardzero_test_data): Likewise.
14610 (lrint_downward_test_data): Likewise.
14611 (lrint_upward_test_data): Likewise.
14612 (llrint_test_data): Likewise.
14613 (llrint_tonearest_test_data): Likewise.
14614 (llrint_towardzero_test_data): Likewise.
14615 (llrint_downward_test_data): Likewise.
14616 (llrint_upward_test_data): Likewise.
14617 (lround_test_data): Likewise.
14618 (llround_test_data): Likewise.
14620 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14621 (ERRNO_UNCHANGED): Update value.
14622 (ERRNO_EDOM): Likewise.
14623 (ERRNO_ERANGE): Likewise.
14624 (NO_TEST_INLINE_FLOAT): New macro.
14625 (NO_TEST_INLINE_DOUBLE): Likewise.
14626 (enable_test): New function.
14627 (RUN_TEST_f_f): Check enable_test before running test.
14628 (RUN_TEST_2_f): Likewise.
14629 (RUN_TEST_fff_f): Likewise.
14630 (RUN_TEST_c_f): Likewise.
14631 (RUN_TEST_f_f1): Likewise.
14632 (RUN_TEST_fF_f1): Likewise.
14633 (RUN_TEST_fI_f1): Likewise.
14634 (RUN_TEST_ffI_f1): Likewise.
14635 (RUN_TEST_c_c): Likewise.
14636 (RUN_TEST_cc_c): Likewise.
14637 (RUN_TEST_f_i): Likewise.
14638 (RUN_TEST_f_i_tg): Likewise.
14639 (RUN_TEST_ff_i_tg): Likewise.
14640 (RUN_TEST_f_b): Likewise.
14641 (RUN_TEST_f_b_tg): Likewise.
14642 (RUN_TEST_f_l): Likewise.
14643 (RUN_TEST_f_L): Likewise.
14644 (RUN_TEST_fFF_11): Likewise.
14645 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14647 (cosh_test_data): Likewise.
14648 (exp_test_data): Likewise.
14649 (expm1_test_data): Likewise.
14650 (hypot_test_data): Likewise.
14651 (pow_test_data): Likewise.
14652 (sinh_test_data): Likewise.
14653 (tanh_test_data): Likewise.
14654 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14657 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14658 tests with quiet NaN input and output.
14659 (acosh_test_data): Likewise.
14660 (asin_test_data): Likewise.
14661 (asinh_test_data): Likewise.
14662 (atan_test_data): Likewise.
14663 (atanh_test_data): Likewise.
14664 (atan2_test_data): Likewise.
14665 (cbrt_test_data): Likewise.
14666 (cos_test_data): Likewise.
14667 (cosh_test_data): Likewise.
14668 (erf_test_data): Likewise.
14669 (erfc_test_data): Likewise.
14670 (exp_test_data): Likewise.
14671 (exp10_test_data): Likewise.
14672 (exp2_test_data): Likewise.
14673 (expm1_test_data): Likewise.
14674 (hypot_test_data): Likewise.
14675 (j0_test_data): Likewise.
14676 (j1_test_data): Likewise.
14677 (jn_test_data): Likewise.
14678 (lgamma_test_data): Likewise.
14679 (log_test_data): Likewise.
14680 (log10_test_data): Likewise.
14681 (log1p_test_data): Likewise.
14682 (log2_test_data): Likewise.
14683 (pow_test_data): Likewise.
14684 (scalb_test_data): Likewise.
14685 (sin_test_data): Likewise.
14686 (sincos_test_data): Likewise.
14687 (sinh_test_data): Likewise.
14688 (tan_test_data): Likewise.
14689 (tanh_test_data): Likewise.
14690 (tgamma_test_data): Likewise.
14691 (y0_test_data): Likewise.
14692 (y1_test_data): Likewise.
14693 (yn_test_data): Likewise.
14696 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14697 argument being NaN and avoid computations with second argument in
14699 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14700 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14701 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14703 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14705 * locale/iso-639.def: Add Chitwani Tharu (the).
14707 2013-11-14 Andreas Schwab <schwab@suse.de>
14709 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14710 word instead of empty string.
14712 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14715 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14717 (__fe_nomask_env): Likewise.
14719 2013-11-13 Steve Ellcey <sellcey@mips.com>
14721 * benchtests/bench-timing.h: Include time.h.
14723 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14726 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14728 * sysdeps/unix/sysv/linux/configure: Regenerated.
14730 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14733 * stdlib/strtod_l.c (round_and_return): Do not consider
14734 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14735 exponent one less than half the least subnormal exponent.
14736 * stdlib/test-strtod-round-data: Add more tests.
14737 * stdlib/tst-strtod-round.c (tests): Regenerated.
14739 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14742 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14743 (__fe_mask_env): Likewise.
14744 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14745 libm_hidden_proto and add function prototype.
14746 (__fe_mask_env): Add function prototype.
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14748 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14750 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14752 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14754 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14756 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14757 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14759 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14761 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14762 of htab_find_slot().
14764 2013-11-11 David S. Miller <davem@davemloft.net>
14767 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14768 symbol in the non-vis3 case in static builds.
14769 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14770 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14771 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14772 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14774 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14777 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14780 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14782 * benchtests/Makefile: Add bench-strtod.
14783 * benchtests/bench-strtod.c: New file: strtod benchtest
14785 2013-11-11 Andreas Schwab <schwab@suse.de>
14788 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14789 terminating NUL in key length.
14791 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14793 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14794 Add artificial ODP entry for vDSO symbol for PPC64.
14795 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14796 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14798 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14801 * nss/getent.c (services_keys): Recognize services starting with digit.
14803 2013-11-06 David S. Miller <davem@davemloft.net>
14806 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14807 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14809 2013-11-06 Will Newton <will.newton@linaro.org>
14811 * manual/memory.texi (Malloc Examples): Remove register
14812 keyword from examples.
14814 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14816 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14818 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14821 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14822 depending on [__GCC_IEC_559 > 0].
14823 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14824 depending on [__GCC_IEC_559_COMPLEX > 0].
14826 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14828 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14831 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14833 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14835 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14838 * malloc/malloc (malloc_info): Do not handle first bin as
14841 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14843 * locale/iso-639.def: Add Central Nahuatl (nhn).
14845 2013-11-01 Bruno Haible <bruno@clisp.org>
14848 * manual/math.texi (BSD Random): Specify range upper bound as
14851 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14853 * locale/iso-639.def: Add Meadow Mari (mhr).
14855 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14857 [BZ #14752], [BZ #15763]
14858 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14860 * rt/tst_shm.c: Add test for escaping directory.
14862 2013-10-31 Andreas Schwab <schwab@suse.de>
14865 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14866 followed by 'x' as part of digit sequence.
14867 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14869 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14872 * configure.ac: allow GNU Make 4.0 and greater.
14873 * configure: Regenerated.
14875 2013-10-30 Will Newton <will.newton@linaro.org>
14878 * malloc/hooks.c (memalign_check): Limit alignment to the
14879 maximum representable power of two.
14880 * malloc/malloc.c (__libc_memalign): Likewise.
14881 * malloc/tst-memalign.c (do_test): Add test for very
14882 large alignment values.
14883 * malloc/tst-posix_memalign.c (do_test): Likewise.
14885 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14888 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14889 (munmap_chunk): Likewise.
14890 (mremap_chunk): Likewise.
14892 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14895 * stdlib/div.c (div): Remove obsolete code.
14896 * stdlib/ldiv.c (ldiv): Likewise.
14897 * stdlib/lldiv.c (lldiv): Likewise.
14899 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14902 * nss/nss_files/files-XXX.c (get_contents_ret): New
14904 (get_contents): New function.
14905 (internal_getent): Use it. Expand size of LINEBUFLEN.
14907 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14909 * configure.in: Moved to ...
14910 * configure.ac: ... here. Change reference to configure.in
14912 * sysdeps/arm/preconfigure.ac: ... here.
14913 configure.in to configure.ac.
14914 * sysdeps/gnu/configure.in: Moved to ...
14915 * sysdeps/gnu/configure.ac: ... here.
14916 * sysdeps/i386/configure.in: Moved to ...
14917 * sysdeps/i386/configure.ac: ... here.
14918 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14919 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14920 * sysdeps/mach/configure.in: Moved to ...
14921 * sysdeps/mach/configure.ac: ... here.
14922 * sysdeps/mach/hurd/configure.in: Moved to ...
14923 * sysdeps/mach/hurd/configure.ac: ... here.
14924 * sysdeps/powerpc/configure.in: Moved to ...
14925 * sysdeps/powerpc/configure.ac: ... here.
14926 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14927 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14928 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14929 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14930 * sysdeps/s390/s390-32/configure.in: Moved to ...
14931 * sysdeps/s390/s390-32/configure.ac: ... here.
14932 * sysdeps/s390/s390-64/configure.in: Moved to ...
14933 * sysdeps/s390/s390-64/configure.ac: ... here.
14934 * sysdeps/sh/configure.in: Moved to ...
14935 * sysdeps/sh/configure.ac: ... here.
14936 * sysdeps/sparc/configure.in: Moved to ...
14937 * sysdeps/sparc/configure.ac: ... here.
14938 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14939 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14940 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14941 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14942 * sysdeps/x86_64/configure.in: Moved to ...
14943 * sysdeps/x86_64/configure.ac: ... here.
14944 * sysdeps/x86_64/preconfigure.in: Moved to ...
14945 * sysdeps/x86_64/preconfigure.ac: ... here.
14946 * aclocal.m4: Change reference to configure.in to configure.ac.
14947 * config.h.in: Likewise.
14948 * manual/install.texi: Likewise.
14949 * manual/maint.texi: Likewise.
14950 * Makefile: Likewise.
14951 * malloc/Makefile: Likewise.
14952 * nscd/Makefile: Likewise.
14953 * Makeconfig: Change reference to configure.in and
14954 preconfigure.in to configure.ac and preconfigure.ac
14956 * INSTALL: Regenerated.
14957 * configure: Likewise.
14958 * sysdeps/gnu/configure: Likewise.
14959 * sysdeps/i386/configure: Likewise.
14960 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14961 * sysdeps/mach/configure: Likewise.
14962 * sysdeps/mach/hurd/configure: Likewise.
14963 * sysdeps/powerpc/configure: Likewise.
14964 * sysdeps/powerpc/powerpc32/configure: Likewise.
14965 * sysdeps/powerpc/powerpc64/configure: Likewise.
14966 * sysdeps/s390/s390-32/configure: Likewise.
14967 * sysdeps/s390/s390-64/configure: Likewise.
14968 * sysdeps/sh/configure: Likewise.
14969 * sysdeps/sparc/configure: Likewise.
14970 * sysdeps/unix/sysv/linux/configure: Likewise.
14971 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14972 * sysdeps/x86_64/configure: Likewise.
14973 * sysdeps/x86_64/preconfigure: Likewise.
14975 2013-10-29 Andreas Schwab <schwab@suse.de>
14977 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14979 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14981 * benchtests/pow-inputs: Add new inputs.
14983 * benchtests/exp-inputs: Add new inputs.
14985 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14986 conditional check for return value.
14987 (__cos32): Likewise.
14989 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14991 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14992 to provide a boost for large inputs with word alignment.
14993 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14994 implementation based on optimized PPC64 strcpy.
14995 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14996 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14997 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14998 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15000 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15003 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15005 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15008 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15009 * time/tst-strptime.c (day_tests): Add testcase.
15011 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15014 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15016 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15019 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15020 MAP_FAILED on error.
15022 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15025 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15026 heap for large requests.
15028 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15031 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15032 result if the result has no associated interface.
15033 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15034 interface for all 127.X.Y.Z addresses.
15036 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15038 * locale/iso-639.def: Add Ligurian (lij)
15040 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15043 * sunrpc/rpc_main.c: Document rpcgen -5.
15045 2013-10-19 Michael Stahl <mstahl@redhat.com>
15047 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15049 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15052 * posix/glob.c: Match only directories when trailing slash is present.
15053 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15054 (main): Add testcase.
15056 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15059 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15061 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15063 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15064 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15065 AUTH_DES and cindex for FIPS 140-2.
15066 (DES Encryption): Add cindex FIPS 46-3.
15068 * locale/locarchive.h (struct locarhandle): Add fname.
15069 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15070 if an optional argument was specified to --list-archive,
15072 * locale/programs/locarchive.c (show_archive_content): Take new
15073 argument fname and pass it via ah.fname to open_archive.
15074 * locale/programs/localedef.h: Update decl.
15075 (open_archive): If AH->fname is non-null, open that file
15076 rather than the default file name, and don't ignore ENOENT.
15077 (create_archive): Set AH.fname to NULL.
15078 (delete_locales_from_archive): Likewise.
15079 (add_locales_to_archive): Likewise.
15080 * locale/programs/locfile.c (write_all_categories): Likewise.
15082 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15083 Aldy Hernandez <aldyh@redhat.com>
15085 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15086 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15087 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15088 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15089 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15090 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15091 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15092 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15093 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15094 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15095 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15096 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15097 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15098 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15099 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15101 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15103 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15105 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15107 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15108 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15110 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15111 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15112 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15113 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15115 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15116 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15117 * sysdeps/powerpc/preconfigure: Likewise.
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15120 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15121 Replace contents of file by #include of <fenv_libc.h>.
15122 * sysdeps/powerpc/soft-fp/sfp-machine.h
15123 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15125 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15129 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15130 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15132 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15133 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15134 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15135 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15136 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15138 Allow copysignl PLT reference to be missing.
15140 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15141 Joseph Myers <joseph@codesourcery.com
15144 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15146 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15148 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15150 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15151 * elf/tst-tls1.c: Likewise.
15152 * elf/tst-tls10.h: Likewise.
15153 * elf/tst-tls14.c: Likewise.
15154 * elf/tst-tls2.c: Likewise.
15155 * elf/tst-tls3.c: Likewise.
15156 * elf/tst-tls4.c: Likewise.
15157 * elf/tst-tls5.c: Likewise.
15158 * elf/tst-tls6.c: Likewise.
15159 * elf/tst-tls7.c: Likewise.
15160 * elf/tst-tls8.c: Likewise.
15161 * elf/tst-tls9.c: Likewise.
15162 * elf/tst-tlsmod1.c: Likewise.
15163 * elf/tst-tlsmod13.c: Likewise.
15164 * elf/tst-tlsmod13a.c: Likewise.
15165 * elf/tst-tlsmod14a.c: Likewise.
15166 * elf/tst-tlsmod16a.c: Likewise.
15167 * elf/tst-tlsmod16b.c: Likewise.
15168 * elf/tst-tlsmod2.c: Likewise.
15169 * elf/tst-tlsmod3.c: Likewise.
15170 * elf/tst-tlsmod4.c: Likewise.
15171 * elf/tst-tlsmod5.c: Likewise.
15172 * elf/tst-tlsmod6.c: Likewise.
15174 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15177 * malloc/malloc.c: remove checks for statistics.
15179 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15182 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15183 * inet/tst-network.c: Add testcase.
15185 2013-10-17 Andreas Schwab <schwab@suse.de>
15188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15189 to determine canonical name.
15191 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15193 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15194 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15196 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15200 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15202 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15215 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15216 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15217 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15218 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15221 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15223 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15225 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15226 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15227 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15229 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15230 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15231 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15232 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15233 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15234 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15235 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15236 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15237 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15238 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15239 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15240 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15241 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15242 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15245 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15246 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15247 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15248 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15249 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15250 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15252 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15255 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15256 make result into a quiet NaN.
15258 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15260 * soft-fp/adddf3.c: Fix horizontal whitespace.
15261 * soft-fp/addsf3.c: Likewise.
15262 * soft-fp/addtf3.c: Likewise.
15263 * soft-fp/divdf3.c: Likewise.
15264 * soft-fp/divsf3.c: Likewise.
15265 * soft-fp/divtf3.c: Likewise.
15266 * soft-fp/double.h: Likewise.
15267 * soft-fp/eqdf2.c: Likewise.
15268 * soft-fp/eqsf2.c: Likewise.
15269 * soft-fp/eqtf2.c: Likewise.
15270 * soft-fp/extenddftf2.c: Likewise.
15271 * soft-fp/extended.h: Likewise.
15272 * soft-fp/extendsfdf2.c: Likewise.
15273 * soft-fp/extendsftf2.c: Likewise.
15274 * soft-fp/extendxftf2.c: Likewise.
15275 * soft-fp/fixdfdi.c: Likewise.
15276 * soft-fp/fixdfsi.c: Likewise.
15277 * soft-fp/fixdfti.c: Likewise.
15278 * soft-fp/fixsfdi.c: Likewise.
15279 * soft-fp/fixsfsi.c: Likewise.
15280 * soft-fp/fixsfti.c: Likewise.
15281 * soft-fp/fixtfdi.c: Likewise.
15282 * soft-fp/fixtfsi.c: Likewise.
15283 * soft-fp/fixtfti.c: Likewise.
15284 * soft-fp/fixunsdfdi.c: Likewise.
15285 * soft-fp/fixunsdfsi.c: Likewise.
15286 * soft-fp/fixunsdfti.c: Likewise.
15287 * soft-fp/fixunssfdi.c: Likewise.
15288 * soft-fp/fixunssfsi.c: Likewise.
15289 * soft-fp/fixunssfti.c: Likewise.
15290 * soft-fp/fixunstfdi.c: Likewise.
15291 * soft-fp/fixunstfsi.c: Likewise.
15292 * soft-fp/fixunstfti.c: Likewise.
15293 * soft-fp/floatdidf.c: Likewise.
15294 * soft-fp/floatdisf.c: Likewise.
15295 * soft-fp/floatditf.c: Likewise.
15296 * soft-fp/floatsidf.c: Likewise.
15297 * soft-fp/floatsisf.c: Likewise.
15298 * soft-fp/floatsitf.c: Likewise.
15299 * soft-fp/floattidf.c: Likewise.
15300 * soft-fp/floattisf.c: Likewise.
15301 * soft-fp/floattitf.c: Likewise.
15302 * soft-fp/floatundidf.c: Likewise.
15303 * soft-fp/floatundisf.c: Likewise.
15304 * soft-fp/floatunditf.c: Likewise.
15305 * soft-fp/floatunsidf.c: Likewise.
15306 * soft-fp/floatunsisf.c: Likewise.
15307 * soft-fp/floatunsitf.c: Likewise.
15308 * soft-fp/floatuntidf.c: Likewise.
15309 * soft-fp/floatuntisf.c: Likewise.
15310 * soft-fp/floatuntitf.c: Likewise.
15311 * soft-fp/fmadf4.c: Likewise.
15312 * soft-fp/fmasf4.c: Likewise.
15313 * soft-fp/fmatf4.c: Likewise.
15314 * soft-fp/gedf2.c: Likewise.
15315 * soft-fp/gesf2.c: Likewise.
15316 * soft-fp/getf2.c: Likewise.
15317 * soft-fp/ledf2.c: Likewise.
15318 * soft-fp/lesf2.c: Likewise.
15319 * soft-fp/letf2.c: Likewise.
15320 * soft-fp/muldf3.c: Likewise.
15321 * soft-fp/mulsf3.c: Likewise.
15322 * soft-fp/multf3.c: Likewise.
15323 * soft-fp/negdf2.c: Likewise.
15324 * soft-fp/negsf2.c: Likewise.
15325 * soft-fp/negtf2.c: Likewise.
15326 * soft-fp/op-1.h: Likewise.
15327 * soft-fp/op-2.h: Likewise.
15328 * soft-fp/op-4.h: Likewise.
15329 * soft-fp/op-8.h: Likewise.
15330 * soft-fp/op-common.h: Likewise.
15331 * soft-fp/quad.h: Likewise.
15332 * soft-fp/single.h: Likewise.
15333 * soft-fp/soft-fp.h: Likewise.
15334 * soft-fp/sqrtdf2.c: Likewise.
15335 * soft-fp/sqrtsf2.c: Likewise.
15336 * soft-fp/sqrttf2.c: Likewise.
15337 * soft-fp/subdf3.c: Likewise.
15338 * soft-fp/subsf3.c: Likewise.
15339 * soft-fp/subtf3.c: Likewise.
15340 * soft-fp/truncdfsf2.c: Likewise.
15341 * soft-fp/trunctfdf2.c: Likewise.
15342 * soft-fp/trunctfsf2.c: Likewise.
15343 * soft-fp/trunctfxf2.c: Likewise.
15344 * soft-fp/unorddf2.c: Likewise.
15345 * soft-fp/unordsf2.c: Likewise.
15346 * soft-fp/unordtf2.c: Likewise.
15348 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15350 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15351 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15353 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15355 * elf/dl-libc.c: Clear initfini list after freeing.
15357 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15359 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15360 * soft-fp/addsf3.c: Likewise.
15361 * soft-fp/addtf3.c: Likewise.
15362 * soft-fp/divdf3.c: Likewise.
15363 * soft-fp/divsf3.c: Likewise.
15364 * soft-fp/divtf3.c: Likewise.
15365 * soft-fp/double.h: Likewise.
15366 * soft-fp/eqdf2.c: Likewise.
15367 * soft-fp/eqsf2.c: Likewise.
15368 * soft-fp/eqtf2.c: Likewise.
15369 * soft-fp/extenddftf2.c: Likewise.
15370 * soft-fp/extended.h: Likewise.
15371 * soft-fp/extendsfdf2.c: Likewise.
15372 * soft-fp/extendsftf2.c: Likewise.
15373 * soft-fp/extendxftf2.c: Likewise.
15374 * soft-fp/fixdfdi.c: Likewise.
15375 * soft-fp/fixdfsi.c: Likewise.
15376 * soft-fp/fixdfti.c: Likewise.
15377 * soft-fp/fixsfdi.c: Likewise.
15378 * soft-fp/fixsfsi.c: Likewise.
15379 * soft-fp/fixsfti.c: Likewise.
15380 * soft-fp/fixtfdi.c: Likewise.
15381 * soft-fp/fixtfsi.c: Likewise.
15382 * soft-fp/fixtfti.c: Likewise.
15383 * soft-fp/fixunsdfdi.c: Likewise.
15384 * soft-fp/fixunsdfsi.c: Likewise.
15385 * soft-fp/fixunsdfti.c: Likewise.
15386 * soft-fp/fixunssfdi.c: Likewise.
15387 * soft-fp/fixunssfsi.c: Likewise.
15388 * soft-fp/fixunssfti.c: Likewise.
15389 * soft-fp/fixunstfdi.c: Likewise.
15390 * soft-fp/fixunstfsi.c: Likewise.
15391 * soft-fp/fixunstfti.c: Likewise.
15392 * soft-fp/floatdidf.c: Likewise.
15393 * soft-fp/floatdisf.c: Likewise.
15394 * soft-fp/floatditf.c: Likewise.
15395 * soft-fp/floatsidf.c: Likewise.
15396 * soft-fp/floatsisf.c: Likewise.
15397 * soft-fp/floatsitf.c: Likewise.
15398 * soft-fp/floattidf.c: Likewise.
15399 * soft-fp/floattisf.c: Likewise.
15400 * soft-fp/floattitf.c: Likewise.
15401 * soft-fp/floatundidf.c: Likewise.
15402 * soft-fp/floatundisf.c: Likewise.
15403 * soft-fp/floatunsidf.c: Likewise.
15404 * soft-fp/floatunsisf.c: Likewise.
15405 * soft-fp/floatuntidf.c: Likewise.
15406 * soft-fp/floatuntisf.c: Likewise.
15407 * soft-fp/floatuntitf.c: Likewise.
15408 * soft-fp/fmadf4.c: Likewise.
15409 * soft-fp/fmasf4.c: Likewise.
15410 * soft-fp/fmatf4.c: Likewise.
15411 * soft-fp/gedf2.c: Likewise.
15412 * soft-fp/gesf2.c: Likewise.
15413 * soft-fp/getf2.c: Likewise.
15414 * soft-fp/ledf2.c: Likewise.
15415 * soft-fp/lesf2.c: Likewise.
15416 * soft-fp/letf2.c: Likewise.
15417 * soft-fp/muldf3.c: Likewise.
15418 * soft-fp/mulsf3.c: Likewise.
15419 * soft-fp/multf3.c: Likewise.
15420 * soft-fp/negdf2.c: Likewise.
15421 * soft-fp/negsf2.c: Likewise.
15422 * soft-fp/negtf2.c: Likewise.
15423 * soft-fp/op-1.h: Likewise.
15424 * soft-fp/op-2.h: Likewise.
15425 * soft-fp/op-4.h: Likewise.
15426 * soft-fp/op-8.h: Likewise.
15427 * soft-fp/op-common.h: Likewise.
15428 * soft-fp/quad.h: Likewise.
15429 * soft-fp/single.h: Likewise.
15430 * soft-fp/soft-fp.h: Likewise.
15431 * soft-fp/sqrtdf2.c: Likewise.
15432 * soft-fp/sqrtsf2.c: Likewise.
15433 * soft-fp/sqrttf2.c: Likewise.
15434 * soft-fp/subdf3.c: Likewise.
15435 * soft-fp/subsf3.c: Likewise.
15436 * soft-fp/subtf3.c: Likewise.
15437 * soft-fp/truncdfsf2.c: Likewise.
15438 * soft-fp/trunctfdf2.c: Likewise.
15439 * soft-fp/trunctfsf2.c: Likewise.
15440 * soft-fp/trunctfxf2.c: Likewise.
15441 * soft-fp/unorddf2.c: Likewise.
15442 * soft-fp/unordsf2.c: Likewise.
15443 * soft-fp/unordtf2.c: Likewise.
15445 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15448 * misc/error.c (error_tail): Fix possible buffer overflow.
15450 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15453 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15456 2013-10-14 P. J. McDermott <pj@pehjota.net>
15459 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15460 testing pipefail option.
15462 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15464 * soft-fp/double.h: Indent preprocessor directives inside #if.
15465 * soft-fp/extended.h: Likewise.
15466 * soft-fp/op-2.h: Likewise.
15467 * soft-fp/op-4.h: Likewise.
15468 * soft-fp/op-common.h: Likewise.
15469 * soft-fp/quad.h: Likewise.
15470 * soft-fp/single.h: Likewise.
15471 * soft-fp/soft-fp.h: Likewise.
15473 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15475 * iconv/iconv_prog.c: Fix typos.
15476 * stdio-common/psiginfo-data.h: Likewise.
15478 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15481 * locale/setlocale.c: Fix typo.
15483 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15486 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15487 signaling NaN arguments.
15488 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15489 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15492 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15493 unordered operands.
15494 * soft-fp/gesf2.c (__gesf2): Likewise.
15495 * soft-fp/getf2.c (__getf2): Likewise.
15496 * soft-fp/ledf2.c (__ledf2): Likewise.
15497 * soft-fp/lesf2.c (__lesf2): Likewise.
15498 * soft-fp/letf2.c (__letf2): Likewise.
15500 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15501 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15502 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15503 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15504 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15505 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15506 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15507 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15508 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15509 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15510 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15511 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15512 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15513 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15514 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15515 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15516 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15517 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15518 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15519 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15520 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15521 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15522 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15523 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15524 * soft-fp/floattidf.c (__floattidf): Likewise.
15525 * soft-fp/floattisf.c (__floattisf): Likewise.
15526 * soft-fp/floattitf.c (__floattitf): Likewise.
15527 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15528 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15529 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15530 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15531 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15532 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15533 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15534 * soft-fp/gesf2.c (__gesf2): Likewise.
15535 * soft-fp/getf2.c (__getf2): Likewise.
15536 * soft-fp/ledf2.c (__ledf2): Likewise.
15537 * soft-fp/lesf2.c (__lesf2): Likewise.
15538 * soft-fp/letf2.c (__letf2): Likewise.
15540 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15541 Undefine and redefine.
15542 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15543 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15544 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15545 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15546 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15547 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15548 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15549 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15550 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15551 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15552 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15553 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15554 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15555 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15556 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15559 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15560 without decrementing exponent if mantissa >= that for the
15561 denominator, not >.
15562 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15563 denominator, not >. Decrement exponent in < case instead of
15564 incrementing in >= case.
15565 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15566 without decrementing exponent if mantissa >= that for the
15567 denominator, not >.
15569 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15570 computing saturated result for unsigned overflow.
15572 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15573 Jeff Law <law@redhat.com>
15575 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15576 (atan2Mp): Add systemtap probe marker.
15577 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15578 (__ieee754_log): Add systemtap probe marker.
15579 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15580 (atanMp): Add systemtap probe marker.
15581 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15582 (tanMp): Add systemtap probe marker.
15583 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15584 (__slowexp): Add systemtap probe marker.
15585 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15586 (__slowpow): Add systemtap probe marker.
15587 * manual/probes.texi: Document probes.
15589 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15592 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15594 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15596 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15597 written to buffer but not flushed.
15598 * libio/iofwrite_u.c: Likewise.
15599 * libio/iopadn.c: Return bytes returned even if EOF was
15601 * libio/iowpadn.c: Likewise.
15602 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15603 if _IO_padn does not write the whole buffer.
15604 [!COMPILE_WPRINTF] (PAD): Likewise.
15606 2013-10-10 David S. Miller <davem@davemloft.net>
15608 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15611 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15613 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15614 instead of FSF address.
15615 * soft-fp/fixdfti.c: Likewise.
15616 * soft-fp/fixsfti.c: Likewise.
15617 * soft-fp/fixtfti.c: Likewise.
15618 * soft-fp/fixunsdfti.c: Likewise.
15619 * soft-fp/fixunssfti.c: Likewise.
15620 * soft-fp/fixunstfti.c: Likewise.
15621 * soft-fp/floattidf.c: Likewise.
15622 * soft-fp/floattisf.c: Likewise.
15623 * soft-fp/floattitf.c: Likewise.
15624 * soft-fp/floatuntidf.c: Likewise.
15625 * soft-fp/floatuntisf.c: Likewise.
15626 * soft-fp/floatuntitf.c: Likewise.
15627 * soft-fp/trunctfxf2.c: Likewise.
15629 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15630 * soft-fp/fixdfti.c: Likewise.
15631 * soft-fp/fixsfti.c: Likewise.
15632 * soft-fp/fixtfti.c: Likewise.
15633 * soft-fp/fixunsdfti.c: Likewise.
15634 * soft-fp/fixunssfti.c: Likewise.
15635 * soft-fp/fixunstfti.c: Likewise.
15636 * soft-fp/floattidf.c: Likewise.
15637 * soft-fp/floattisf.c: Likewise.
15638 * soft-fp/floattitf.c: Likewise.
15639 * soft-fp/floatuntidf.c: Likewise.
15640 * soft-fp/floatuntisf.c: Likewise.
15641 * soft-fp/floatuntitf.c: Likewise.
15642 * soft-fp/trunctfxf2.c: Likewise.
15644 2013-10-10 David S. Miller <davem@davemloft.net>
15646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15648 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15650 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15651 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15652 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15653 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15654 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15655 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15656 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15658 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15659 for NaNs before doing comparisons on argument.
15660 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15663 2013-10-10 Will Newton <will.newton@linaro.org>
15665 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15666 passed to _int_memalign does not overflow.
15668 2013-10-10 Torvald Riegel <triegel@redhat.com>
15670 * scripts/bench.pl: Add include-sources directive.
15671 * benchtests/README: Update documentation.
15673 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15675 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15676 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15677 instead of FP_INIT_ROUNDMODE.
15678 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15679 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15682 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15683 copy class of input value.
15684 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15685 not handle exceptions.
15686 * soft-fp/negsf2.c (__negsf2): Likewise.
15687 * soft-fp/negtf2.c (__negtf2): Likewise.
15688 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15690 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15692 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15693 semicolon. From Linux kernel.
15695 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15697 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15699 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15702 * manual/socket.texi: Added statement about buffer
15703 for gethostbyname2_r.
15705 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15707 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15708 Use .p2align directive instead, throughout.
15709 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15710 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15711 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15712 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15713 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15714 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15715 * sysdeps/x86_64/strchr.S: Likewise.
15716 * sysdeps/x86_64/strrchr.S: Likewise.
15718 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15720 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15722 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15724 * sysdeps/generic/math_private.h (__mpsin1): Remove
15726 (__mpcos1): Likewise.
15727 (__mpsin): New argument __range_reduce.
15728 (__mpcos): Likewise.
15729 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15730 (slow): Use __mpsin and __mpcos.
15734 (sloww1): Likewise.
15735 (sloww2): Likewise.
15736 (bsloww): Likewise.
15737 (bsloww1): Likewise.
15738 (bsloww2): Likewise.
15739 (cslow2): Likewise.
15740 (csloww): Likewise.
15741 (csloww1): Likewise.
15742 (csloww2): Likewise.
15743 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15744 range_reduce. Merge in __mpsin1.
15745 (__mpcos): Likewise.
15746 (__mpsin1): Remove.
15747 (__mpcos1): Likewise.
15749 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15751 * locale/loadlocale.c (_nl_intern_locale_data): Use
15753 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15754 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15755 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15756 obstack data is appropriately aligned.
15757 (obstack_int32_grow_fast): Likewise.
15758 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15759 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15760 (add_locale_uint32_array): Likewise.
15762 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15764 * benchtests/Makefile: Remove ARGLIST and RET variables.
15765 ($(objpfx)bench-%.c): Pass only function name to the script.
15766 * benchtests/README: Update documentation.
15767 * benchtests/acos-inputs: Add new directives.
15768 * benchtests/acosh-inputs: Likewise.
15769 * benchtests/asin-inputs: Likewise.
15770 * benchtests/asinh-inputs: Likewise.
15771 * benchtests/atan-inputs: Likewise.
15772 * benchtests/atanh-inputs: Likewise.
15773 * benchtests/cos-inputs: Likewise.
15774 * benchtests/cosh-inputs: Likewise.
15775 * benchtests/exp-inputs: Likewise.
15776 * benchtests/log-inputs: Likewise.
15777 * benchtests/pow-inputs: Likewise.
15778 * benchtests/rint-inputs: Likewise.
15779 * benchtests/sin-inputs: Likewise.
15780 * benchtests/sinh-inputs: Likewise.
15781 * benchtests/tan-inputs: Likewise.
15782 * benchtests/tanh-inputs: Likewise.
15783 * scripts/bench.pl: Add support for new directives.
15785 2013-10-07 Alan Modra <amodra@gmail.com>
15787 * README: Fix careless merge.
15789 2013-10-05 Alan Modra <amodra@gmail.com>
15791 * NEWS: Mention powerpc64le support and bugs fixed.
15792 * README: Both big-endian and little-endian powerpc64 supported.
15794 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15796 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15797 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15798 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15799 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15801 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15803 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15806 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15808 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15809 Move -mhard-float appending from
15810 ports/sysdeps/powerpc/powerpc32/Makefile.
15811 [$(with-fp) = yes] (ASFLAGS): Likewise.
15812 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15813 * sysdeps/powerpc/nofpu: Move directory from
15814 ports/sysdeps/powerpc/nofpu.
15815 * sysdeps/powerpc/soft-fp: Move directory from
15816 ports/sysdeps/powerpc/soft-fp.
15817 * sysdeps/powerpc/powerpc32/405: Move directory from
15818 ports/sysdeps/powerpc/powerpc32/405.
15819 * sysdeps/powerpc/powerpc32/440: Move directory from
15820 ports/sysdeps/powerpc/powerpc32/440.
15821 * sysdeps/powerpc/powerpc32/464: Move directory from
15822 ports/sysdeps/powerpc/powerpc32/464.
15823 * sysdeps/powerpc/powerpc32/476: Move directory from
15824 ports/sysdeps/powerpc/powerpc32/476.
15825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15826 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15828 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15830 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15832 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15834 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15835 * README: Update for powerpc-*-linux-gnu software floating point
15838 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15839 case to powerpc/powerpc32*.
15840 * sysdeps/unix/sysv/linux/configure: Regenerated.
15842 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15843 (_FPU_MASK_OM): Define as 0x04.
15844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15852 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15855 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15858 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15859 and setcontext_e500.
15861 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15863 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15865 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15867 * manual/threads.texi (Default Thread Attributes): Fix typo.
15869 2013-10-04 Will Newton <will.newton@linaro.org>
15871 * malloc/Makefile: Add tst-memalign.
15872 * malloc/tst-memalign.c: New file.
15874 * malloc/tst-posix_memalign.c: Add comments.
15875 (do_test): Add comments and call free on all potentially
15876 allocated pointers. Add space after cast.
15878 * malloc/tst-pvalloc.c: Add comments.
15879 (do_test): Add comments and call free on all potentially
15880 allocated pointers. Remove duplicate check for NULL pointer.
15881 Add space after cast.
15883 * malloc/tst-valloc.c: Add comments.
15884 (do_test): Add comments and call free on all potentially
15885 allocated pointers. Remove duplicate check for NULL pointer.
15886 Add space after cast.
15888 2013-10-04 Alan Modra <amodra@gmail.com>
15890 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15891 Use stdint types in rather than __attribute__((mode())).
15892 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15894 2013-10-04 Alan Modra <amodra@gmail.com>
15896 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15897 Correct handling of unaligned relocs for little-endian.
15898 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15900 2013-10-04 Alan Modra <amodra@gmail.com>
15902 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15903 * configure: Regenerate.
15904 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15905 * shlib-versions: Likewise.
15907 2013-10-04 Alan Modra <amodra@gmail.com>
15909 * string/tester.c (test_memrchr): Increment reported test cycle.
15911 2013-10-04 Alan Modra <amodra@gmail.com>
15913 * string/test-memcpy.c (do_one_test): When reporting errors, print
15914 string address and don't overrun end of string.
15916 2013-10-04 Alan Modra <amodra@gmail.com>
15918 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15919 insrdi. Make better use of reg selection to speed exit slightly.
15920 Schedule entry path a little better. Remove useless "are we done"
15921 checks on entry to main loop. Handle wrapping around zero address.
15922 Correct main loop count. Handle single left-over word from main
15923 loop inline rather than by using loop_small. Remove extra word
15924 case in loop_small caused by wrong loop count. Add little-endian
15926 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15927 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15929 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15930 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15931 support. Avoid rlwimi.
15932 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15934 2013-10-04 Alan Modra <amodra@gmail.com>
15936 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15937 insrdi. Formatting.
15938 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15939 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15940 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15941 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15942 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15943 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15945 2013-10-04 Alan Modra <amodra@gmail.com>
15947 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15948 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15949 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15950 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15951 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15952 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15953 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15954 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15955 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15956 use of regs. Use power7 mtocrf. Tidy function tails.
15958 2013-10-04 Alan Modra <amodra@gmail.com>
15960 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15961 Formatting. Consistently use rXXX register defines or rN defines.
15962 Use early exit labels that avoid restoring unused non-volatile regs.
15963 Make cr field use more consistent with rWORDn compares. Rename
15964 regs used as shift registers for unaligned loop, using rN defines
15965 for short lifetime/multiple use regs.
15966 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15967 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15968 addi 1,1,64 to pop stack frame. Simplify return value code.
15969 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15971 2013-10-04 Alan Modra <amodra@gmail.com>
15973 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15974 support. Correct typos, formatting. Optimize tail. Use insrdi
15975 rather than rlwimi.
15976 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15977 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15978 little-endian support. Correct typos.
15979 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15980 rather than rlwimi.
15981 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15982 in loop and entry code to keep "and." results.
15983 (strchr): Add little-endian support. Comment. Move cntlzd
15985 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15987 2013-10-04 Alan Modra <amodra@gmail.com>
15989 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15990 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15991 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15992 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15994 2013-10-04 Alan Modra <amodra@gmail.com>
15996 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15997 (rTMP): Define as r11.
15998 (strcmp): Add little-endian support. Optimise tail.
15999 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16000 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16001 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16002 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16003 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16004 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16005 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16007 2013-10-04 Alan Modra <amodra@gmail.com>
16009 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16010 little-endian support. Remove unnecessary "are we done" tests.
16011 Handle "s" wrapping around zero and extremely large "size".
16012 Correct main loop count. Handle single left-over word from main
16013 loop inline rather than by using small_loop. Correct comments.
16014 Delete "zero" tail, use "end_max" instead.
16015 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16017 2013-10-04 Alan Modra <amodra@gmail.com>
16019 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16020 support. Don't branch over align.
16021 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16022 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16023 support. Rearrange tmp reg use to suit. Comment.
16024 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16026 2013-10-04 Alan Modra <amodra@gmail.com>
16028 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16030 2013-10-04 Alan Modra <amodra@gmail.com>
16032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16033 conditional form of branch and link when obtaining pc.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16036 2013-10-04 Alan Modra <amodra@gmail.com>
16038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16043 2013-10-04 Alan Modra <amodra@gmail.com>
16045 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16046 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16047 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16048 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16049 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16050 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16051 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16052 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16053 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16054 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16056 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16057 Alistair Popple <alistair@ozlabs.au.ibm.com>
16058 Alan Modra <amodra@gmail.com>
16061 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16062 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16063 _dl_hwcap access for little-endian.
16064 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16065 destroy vmx regs when saving unaligned.
16066 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16067 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16068 destroy vmx regs when saving unaligned.
16070 2013-10-04 Alan Modra <amodra@gmail.com>
16072 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16073 Don't use a union to pack hi/low value.
16075 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16077 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16079 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16080 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16081 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16082 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16083 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16085 2013-10-04 Alan Modra <amodra@gmail.com>
16087 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16088 constants to usual value for .cst8 section, and remove redundant
16090 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16091 constant for 0x1p52. Load little-endian words of double from
16092 correct stack offsets.
16094 2013-10-04 Alan Modra <amodra@gmail.com>
16096 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16097 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16098 words of double from correct stack offsets.
16099 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16100 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16101 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16102 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16103 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16104 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16105 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16106 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16107 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16108 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16109 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16110 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16111 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16112 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16113 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16114 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16115 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16117 2013-10-04 Alan Modra <amodra@gmail.com>
16119 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16120 64-bit int/double union.
16121 (_FPU_SETCW): Likewise.
16122 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16123 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16125 2013-10-04 Alan Modra <amodra@gmail.com>
16127 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16128 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16130 2013-10-04 Alan Modra <amodra@gmail.com>
16132 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16133 use vector int constants.
16134 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16136 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16138 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16139 array with long long.
16140 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16141 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16142 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16143 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16144 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16145 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16146 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16147 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16148 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16149 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16150 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16151 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16152 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16154 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16156 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16157 (__signbit): Likewise. Correct for little-endian.
16158 (__signbitl): Call __signbit.
16159 (lrint): Correct for little-endian.
16160 (lrintf): Call lrint.
16162 2013-10-04 Alan Modra <amodra@gmail.com>
16164 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16165 union 32-bit int array member with 64-bit int array.
16166 (t515, tm256): Double rather than long double.
16167 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16169 2013-10-04 Alan Modra <amodra@gmail.com>
16171 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16173 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16174 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16175 version of math_ldbl.h.
16177 2013-10-04 Alan Modra <amodra@gmail.com>
16179 [BZ #15734], [BZ #15735]
16180 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16181 all uses of ieee875 long double macros and unions. Simplify test
16182 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16183 ldbl_extract_mantissa value for ix,iy exponents. Properly
16184 normalize after ldbl_extract_mantissa, and don't add hidden bit
16185 already handled. Don't treat low word of ieee854 mantissa like
16186 low word of IBM long double and mask off bit when testing for
16188 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16189 all uses of ieee875 long double macros and unions. Simplify tests
16190 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16191 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16192 two1022, instead use their values. Recognise that tests for large
16193 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16194 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16195 Rewrite all uses of ieee875 long double macros and unions. Simplify
16196 test for 0.0L and nan. Correct negation.
16197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16198 ieee875 long double macros and unions. Correct output for large
16199 magnitude x. Correct absolute value calculation.
16200 (__erfcl): Likewise.
16201 * math/libm-test.inc: Add tests for errors discovered in IBM long
16202 double versions of fmodl, remainderl, erfl and erfcl.
16204 2013-10-04 Alan Modra <amodra@gmail.com>
16206 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16207 all uses of ieee854 long double macros and unions. Simplify tests
16208 for long doubles that are fully specified by the high double.
16209 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16211 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16212 Remove dead code too.
16213 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16214 (__ieee754_ynl): Likewise.
16215 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16216 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16217 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16218 Remove dead code too.
16219 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16220 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16221 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16222 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16224 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16226 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16227 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16228 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16229 Comment on variable precision.
16230 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16231 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16233 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16234 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16235 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16236 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16237 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16239 2013-10-04 Alan Modra <amodra@gmail.com>
16241 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16242 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16243 all uses of ieee854 long double macros and unions.
16244 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16246 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16247 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16248 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16249 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16251 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16252 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16253 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16254 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16255 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16256 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16257 Simplify sign and nan test too.
16258 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16259 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16260 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16261 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16263 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16264 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16266 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16267 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16268 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16269 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16270 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16271 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16273 2013-10-04 Alan Modra <amodra@gmail.com>
16275 * stdio-common/printf_size.c (__printf_size): Don't use
16276 union ieee854_long_double in fpnum union.
16277 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16278 signbit macro to retrieve sign from long double.
16279 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16280 retrieve sign from long double.
16281 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16282 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16283 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16284 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16285 * math/test-misc.c (main): Don't use union ieee854_long_double.
16287 2013-10-04 Alan Modra <amodra@gmail.com>
16290 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16291 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16292 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16293 calculation. Remove unnecessary test for denormal exponent.
16294 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16295 Correct handling of denormals. Avoid undefined shift behaviour.
16296 Correct normalisation of low mantissa when low double is denormal.
16297 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16298 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16299 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16300 Correct normalisation of low mantissa. Test for overflow of high
16301 mantissa and normalise.
16302 (ldbl_nearbyint): Use more readable constant for two52.
16303 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16304 (__mpn_construct_long_double): Fix test for overflow of high
16305 mantissa and correct normalisation. Avoid undefined shift.
16307 2013-10-04 Alan Modra <amodra@gmail.com>
16309 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16310 (union ibm_extended_long_double): Define as an array of ieee754_double.
16311 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16312 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16313 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16314 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16315 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16318 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16321 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16323 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16325 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16326 page size instead of calling getpagesize.
16328 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16329 (LOCFILE_ALIGN_MASK): Likewise.
16330 (LOCFILE_ALIGN_UP): Likewise.
16331 (LOCFILE_ALIGNED_P): Likewise.
16332 * locale/programs/ld-collate.c (collate_output): Use the new
16333 macros instead of __alignof__ (int32_t).
16334 * locale/weight.h (findidx): Likewise.
16336 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16339 * manual/string.texi: Fix strncat and wcsncat.
16341 2013-10-03 Brooks Moses <bmoses@google.com>
16344 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16345 * Makerules: ...here, and adjust associated comments.
16347 2013-10-02 Will Newton <will.newton@linaro.org>
16349 * malloc/Makefile: Add tst-pvalloc.
16350 * malloc/tst-pvalloc.c: New file.
16352 2013-10-02 Will Newton <will.newton@linaro.org>
16354 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16355 improve test coverage.
16357 2013-10-02 Will Newton <will.newton@linaro.org>
16359 * malloc/Makefile: Add tst-posix_memalign.
16360 * malloc/tst-posix_memalign.c: New file.
16362 2013-10-01 Eric Blake <eblake@redhat.com>
16364 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16365 Use __THROWNL rather than __THROW on static functions.
16367 2013-09-30 Petr Machata <pmachata@redhat.com>
16369 * elf/elf.h (R_AARCH64_ABS16): New macro.
16370 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16371 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16372 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16373 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16374 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16375 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16376 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16377 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16378 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16379 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16380 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16381 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16382 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16383 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16384 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16385 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16386 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16387 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16388 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16389 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16390 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16391 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16392 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16393 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16394 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16395 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16396 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16397 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16398 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16399 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16400 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16401 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16402 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16403 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16404 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16405 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16406 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16407 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16408 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16409 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16410 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16411 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16412 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16413 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16414 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16415 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16416 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16417 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16418 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16419 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16420 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16421 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16422 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16423 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16424 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16425 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16426 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16427 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16428 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16429 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16430 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16431 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16432 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16433 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16434 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16435 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16436 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16437 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16438 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16439 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16440 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16441 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16442 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16443 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16444 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16445 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16446 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16447 (R_AARCH64_TLSDESC_LDR): Likewise.
16448 (R_AARCH64_TLSDESC_ADD): Likewise.
16449 (R_AARCH64_TLSDESC_CALL): Likewise.
16451 2013-09-30 Andreas Schwab <schwab@suse.de>
16454 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16455 the nss database lookup.
16456 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16459 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16461 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16463 2013-09-28 P. J. McDermott <pj@pehjota.net>
16465 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16466 ${Bash-specific parameter/pattern/string} parameter expansion.
16467 * sysdeps/unix/make-syscalls.sh: Likewise.
16469 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16471 * sysdeps/sh/stackguard-macros.h: New file.
16473 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16477 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16478 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16479 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16480 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16482 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16484 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16485 Fix thread ID register.
16487 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16489 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16490 [POSIX || UNIX98]: Require rather than permitting all symbols from
16492 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16493 element of struct sched_param.
16494 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16495 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16496 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16497 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16500 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16502 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16503 argument calculation.
16505 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16507 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16509 [POSIX] (pthread_attr_t): Do not require type.
16510 [POSIX] (pthread_cond_t): Likewise.
16511 [POSIX] (pthread_condattr_t): Likewise.
16512 [POSIX] (pthread_key_t): Likewise.
16513 [POSIX] (pthread_mutex_t): Likewise.
16514 [POSIX] (pthread_mutexattr_t): Likewise.
16515 [POSIX] (pthread_once_t): Likewise.
16516 [POSIX] (pthread_t): Likewise.
16517 [POSIX-based standards] (pthread_atfork): Expect function.
16519 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16520 Richard Sandiford <richard@codesourcery.com>
16522 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16523 (swap_endianness_p): New extern variable.
16524 (set_big_endian): New inline function.
16525 (maybe_swap_uint32): Likewise.
16526 (maybe_swap_uint32_array): Likewise.
16527 (maybe_swap_uint32_obstack): Likewise.
16528 * locale/programs/locfile.c: Include <stdbool.h>.
16529 (swap_endianness_p): New variable.
16530 (add_locale_uint32): Call maybe_swap_uint32.
16531 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16532 (write_locale_data): Call maybe_swap_uint32_array.
16533 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16535 (obstack_int32_grow_fast): Likewise.
16536 (output_weightwc): Call maybe_swap_uint32_obstack.
16537 (collate_output): Likewise.
16538 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16539 (OPT_LITTLE_ENDIAN): Likewise.
16540 (options): Add --little-endian and --big-endian options.
16541 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16542 * locale/programs/locarchive.c: Include "locfile.h".
16546 (create_archive): Use the new macros to access fields of
16547 structures directly mapped from or written to locale archives.
16548 (oldlocrecentcmp): Likewise.
16549 (enlarge_archive): Likewise.
16550 (insert_name): Likewise.
16551 (add_alias): Likewise.
16552 (add_locale): Likewise.
16553 (delete_locales_from_archive): Likewise.
16554 (show_archive_content): Likewise.
16555 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16558 2013-09-24 Roland McGrath <roland@hack.frob.com>
16560 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16561 http://www.gnu.org/doc/freemanuals.texi.
16562 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16564 2013-09-24 Will Newton <will.newton@linaro.org>
16566 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16569 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16571 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16574 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16576 * manual/threads.texi (POSIX Threads): Fix a typo.
16578 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16581 * string/tst-strcoll-overflow.c: New test case.
16582 * string/Makefile (xtests): Add tst-strcoll-overflow.
16583 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16584 cache if string sizes may cause integer overflow.
16587 * string/strcoll_l.c (coll_seq): New members rule, idx,
16588 save_idx and back_us.
16589 (get_next_seq_nocache): New function.
16590 (do_compare_nocache): New function.
16591 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16594 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16597 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16598 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16599 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16602 * elf/Makefile (tests): Add tst-ptrguard1.
16603 (tests-static): Add tst-ptrguard1-static.
16604 (tst-ptrguard1-ARGS): Define.
16605 (tst-ptrguard1-static-ARGS): Define.
16606 * elf/tst-ptrguard1.c: New file.
16607 * elf/tst-ptrguard1-static.c: New file.
16608 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16609 * sysdeps/i386/stackguard-macros.h: Likewise.
16610 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16611 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16612 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16613 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16614 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16615 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16617 2013-09-23 Hector Marco <hecmargi@upv.es>
16618 Ismael Ripoll <iripoll@disca.upv.es>
16619 Carlos O'Donell <carlos@redhat.com>
16622 * sysdeps/generic/stackguard-macros.h: Define
16623 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16624 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16625 Define __pointer_chk_guard_local.
16626 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16627 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16629 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16632 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16634 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16636 * include/string.h (__ffs): Declare as hidden.
16637 * string/ffs.c (__ffs): Define as hidden.
16638 * sysdeps/i386/ffs.c (__ffs): Likewise.
16639 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16640 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16641 * sysdeps/s390/ffs.c (__ffs): Likewise.
16642 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16644 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16646 * NEWS: Mention malloc probes.
16648 * malloc/arena.c (new_heap): New memory_heap_new probe.
16649 (grow_heap): New memory_heap_more probe.
16650 (shrink_heap): New memory_heap_less probe.
16651 (heap_trim): New memory_heap_free probe.
16652 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16653 (systrim): New memory_sbrk_less probe.
16654 * manual/probes.texi: Document them.
16656 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16657 * manual/probes.texi: Document it.
16659 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16660 (__libc_realloc): Add memory_realloc_retry probe.
16661 (__libc_memalign): Add memory_memalign_retry probe.
16662 (__libc_valloc): Add memory_valloc_retry probe.
16663 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16664 (__libc_calloc): Add memory_calloc_retry probe.
16665 * manual/probes.texi: Document them.
16667 * malloc/arena.c (get_free_list): Add probe
16668 memory_arena_reuse_free_list.
16669 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16670 and memory_arena_reuse.
16671 (arena_get2) [!PER_THREAD]: Likewise.
16672 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16673 memory_arena_reuse_realloc.
16674 * manual/probes.texi: Document them.
16676 * malloc/malloc.c (__libc_free): Add
16677 memory_mallopt_free_dyn_thresholds probe.
16678 (__libc_mallopt): Add multiple memory_mallopt probes.
16679 * manual/probes.texi: Document them.
16681 * malloc/malloc.c: Include stap-probe.h.
16682 (__libc_mallopt): Add memory_mallopt probe.
16683 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16684 * manual/probes.texi: New.
16685 * manual/Makefile (chapters): Add probes.
16686 * manual/threads.texi: Set next node.
16688 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16690 [BZ #15963, #13985]
16691 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16692 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16693 Add `Chinese' to `nan' entry name.
16695 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16697 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16698 (POLYNOMIAL): Likewise.
16699 (TAYLOR_SINCOS): Likewise.
16700 (TAYLOR_SLOW): Likewise.
16701 (__sin): Use TAYLOR_SINCOS.
16703 (slow): Use TAYLOR_SLOW.
16705 (bsloww): Likewise.
16706 (csloww): Likewise.
16708 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16710 * stdlib/strtod_l.c: Fix buffer overrun.
16712 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16714 * benchtests/Makefile (bench): Add sincos.
16715 * benchtests/bench-sincos.c: New file.
16717 * math/libm-test.inc (cos_test_data): New test inputs.
16718 (sin_test_data): Likewise.
16720 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16726 (sloww1): Likewise.
16727 (sloww2): Likewise.
16728 (bsloww1): Likewise.
16729 (bsloww2): Likewise.
16730 (cslow2): Likewise.
16731 (csloww1): Likewise.
16732 (csloww2): Likewise.
16734 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16739 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16743 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16745 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16746 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16747 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16748 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16749 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16750 * elf/cache.c (print_entry): Handle the new cache flags.
16752 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16753 Aldy Hernandez <aldyh@redhat.com>
16755 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16756 Change condition to [_SOFT_FLOAT].
16757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16769 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16772 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16775 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16777 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16778 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16779 (__longjmp): Use LOAD_GP to load saved GPRs.
16780 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16781 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16782 (__sigsetjmp): Use SAVE_GP to save GPRs.
16784 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16785 Do not append -msoft-float.
16786 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16788 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16790 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16792 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16795 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16796 (_FPU_GETCW): Use initial "__" on variable and field names but not
16797 on macro parameter name.
16798 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16799 parentheses around reference to macro parameter.
16801 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16803 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16805 (ctype_startup): Use uint32_t in cast and sizeof for
16808 2013-09-11 Jia Liu <proljc@gmail.com>
16810 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16812 [__FreeBSD__]: Likewise.
16814 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16816 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16817 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16818 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16819 (strchr): Remove __strchr_sse42 ifunc selection.
16820 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16821 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16823 2013-09-11 Will Newton <will.newton@linaro.org>
16825 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16826 parameter to RES. Remove hardcoded 1000 value.
16827 * benchtests/bench-skeleton.c (main): Pass RES parameter
16828 to TIMING_INIT and multiply result by 1000.
16830 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16834 2013-09-11 Andreas Schwab <schwab@suse.de>
16836 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16838 (O_TMPFILE) [__USE_GNU]: Define.
16839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16842 2013-09-11 Will Newton <will.newton@linaro.org>
16845 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16848 2013-09-11 Will Newton <will.newton@linaro.org>
16851 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16854 2013-09-11 Will Newton <will.newton@linaro.org>
16857 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16860 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16862 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16863 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16864 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16865 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16866 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16868 2013-09-10 Allan McRae <allan@archlinux.org>
16871 * manual/arith.texi (Parsing of Floats): Clarify
16875 * manual/install.texi (Running make install): Mention
16877 * INSTALL: Regenerated.
16879 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16881 * csu/init-first.c (_init): Remove the !SHARED condition around
16882 FPU control word initialization.
16883 * elf/dl-support.c (_dl_fpu_control): New variable.
16884 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16885 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16886 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16887 * math/test-fpucw-static.c: New file.
16888 * math/test-fpucw-ieee.c: New file.
16889 * math/test-fpucw-ieee-static.c: New file.
16890 * math/Makefile (tests): Add `test-fpucw-ieee' and
16892 (tests-static): New variable.
16893 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16895 [($(build-shared),yes)]
16896 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16898 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16901 2013-09-09 Allan McRae <allan@archlinux.org>
16904 * manual/string.texi (Collation Functions): Fix typo in
16906 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16909 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16912 * libio/memstream.c (open_memstream): Fix memory leak.
16913 * libio/wmemstream.c (open_wmemstream): Likewise.
16916 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16918 2013-09-09 Will Newton <will.newton@linaro.org>
16920 * malloc/Makefile: Add tst-realloc to tests.
16921 * malloc/tst-realloc.c: New file.
16923 2013-09-09 Allan McRae <allan@archlinux.org>
16926 * COPYING: Update from GNU website to fix FSF address.
16927 * COPYING.LIB: Likewise.
16929 2013-09-06 David S. Miller <davem@davemloft.net>
16931 * po/zh_TW.po: Update Chinese (traditional) translation from
16932 translation project.
16934 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16935 Joseph Myers <joseph@codesourcery.com>
16937 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16939 (obstack_chunk_alloc): New macro.
16940 (obstack_chunk_free): Likewise.
16941 (record_offset): New function.
16942 (init_locale_data): Likewise.
16943 (align_locale_data): Likewise.
16944 (add_locale_empty): Likewise.
16945 (add_locale_raw_data): Likewise.
16946 (add_locale_raw_obstack): Likewise.
16947 (add_locale_string): Likewise.
16948 (add_locale_wstring): Likewise.
16949 (add_locale_uint32): Likewise.
16950 (add_locale_uint32_array): Likewise.
16951 (add_locale_char): Likewise.
16952 (start_locale_structure): Likewise.
16953 (end_locale_structure): Likewise.
16954 (start_locale_prelude): Likewise.
16955 (end_locale_prelude): Likewise.
16956 (write_locale_data): Take locale_file structure rather than an
16958 * locale/programs/locfile.h: Include "obstack.h".
16959 (struct locale_file): Change to store locale file contents instead
16961 (init_locale_data): New prototype.
16962 (align_locale_data): Likewise.
16963 (add_locale_empty): Likewise.
16964 (add_locale_raw_data): Likewise.
16965 (add_locale_raw_obstack): Likewise.
16966 (add_locale_string): Likewise.
16967 (add_locale_wstring): Likewise.
16968 (add_locale_uint32): Likewise.
16969 (add_locale_uint32_array): Likewise.
16970 (add_locale_char): Likewise.
16971 (start_locale_structure): Likewise.
16972 (end_locale_structure): Likewise.
16973 (start_locale_prelude): Likewise.
16974 (end_locale_prelude): Likewise.
16975 (write_locale_data): Update prototype.
16976 * locale/programs/3level.h (struct TABLE): Remove result field.
16977 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16978 Use new locale_file interface.
16979 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16980 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16981 * locale/programs/ld-address.c (address_output): Use new
16982 locale_file interface.
16983 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16985 (collate_finish): Don't call collseq_table_finalize.
16986 (collate_output): Use new locale_file interface.
16987 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16989 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16990 (TABLE): Move defines earlier in file.
16991 (ELEMENT): Likewise.
16992 (DEFAULT): Likewise.
16993 (wctrans_table_add): Move macro and inline function earlier in
16995 (struct wctype_table): Move type earlier in file.
16996 (add_locale_wctype_table): New static prototype.
16997 (struct locale_ctype_t): Use logical types instead of struct iovec
16998 pointers for members.
16999 (ctype_output): Use new locale_file interface.
17000 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17001 new locale_file interface.
17002 (allocate_arrays): Update for use of new locale_file interface.
17003 * locale/programs/ld-identification.c (identification_output): Use
17004 new locale_file interface.
17005 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17006 * locale/programs/ld-messages.c (messages_output): Likewise.
17007 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17008 * locale/programs/ld-name.c (name_output): Likewise.
17009 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17010 * locale/programs/ld-paper.c (paper_output): Likewise.
17011 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17012 * locale/programs/ld-time.c (time_output): Likewise.
17014 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17016 * benchtests/Makefile: Add memrchr benchmark.
17017 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17018 benchmark as memrchr.
17019 * benchtests/bench-memrchr-ifunc.c: New file.
17020 * benchtests/bench-memrchr.c: New file.
17022 2013-09-06 Will Newton <will.newton@linaro.org>
17024 * benchtests/Makefile (string-bench): Add memcpy.
17026 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17027 Cong Wang <amwang@redhat.com>
17030 * sysdeps/unix/sysv/linux/bits/in.h
17031 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17032 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17033 before __USE_KERNEL_IPV6_DEFS uses.
17034 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17036 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17037 sockaddr_in6, or ipv6_mreq.
17039 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17041 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17042 memory access for final bytes in some large inputs.
17043 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17045 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17047 * string/test-memrchr.c: New file.
17048 * string/test-memrchr-ifunc.c: New file.
17049 * string/Makefile: Add new memrchr testcase.
17051 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17053 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17054 fanotify_init returns EPERM.
17056 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17058 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17060 (top level): Treat second token from macro or constant entries for
17061 allowed headers as allowed.
17062 * include/complex.h: Condition internal declarations on
17064 * include/fenv.h: Condition include of <stdbool.h> and internal
17065 declarations on [!_ISOMAC].
17067 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17070 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17072 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17074 * configure.in (--enable-versioning): Remove configure option.
17075 (libc_cv_asm_symver_directive): Remove configure test.
17076 (libc_cv_ld_version_script_option): Likewise.
17077 (VERSIONING): Remove variable and AC_SUBST.
17078 (DO_VERSIONING): Remove AC_DEFINE.
17079 * configure: Regenerated.
17080 * config.h.in (DO_VERSIONING): Remove macro.
17081 * Makerules [$(versioning) = yes]: Change conditionals to
17082 [$(build-shared) = yes].
17083 * config.make.in (versioning): Remove variable.
17084 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17085 [$(build-shared) = yes].
17086 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17087 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17088 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17089 [$(build-shared) = yes].
17090 * extra-lib.mk [$(versioning) = yes]: Likewise.
17091 * hurd/Makefile [$(versioning) = yes]: Likewise.
17092 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17094 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17096 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17097 [SHARED && !NO_HIDDEN].
17098 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17100 [SHARED && DO_VERSIONING]: Likewise..
17101 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17102 [$(build-shared) = yes].
17103 * manual/install.texi (--disable-versioning): Remove
17105 * INSTALL: Regenerated.
17106 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17108 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17109 [$(build-shared) = yes].
17110 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17111 * sysdeps/i386/i686/multiarch/strstr-c.c
17112 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17113 [SHARED && !NO_HIDDEN].
17114 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17115 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17116 * sysdeps/powerpc/powerpc32/dl-machine.c
17117 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17118 * sysdeps/powerpc/powerpc32/sysdep.h
17119 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17120 to [SHARED && PIC && !NO_HIDDEN].
17121 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17122 conditional to [SHARED].
17124 2013-09-04 Will Newton <will.newton@linaro.org>
17126 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17127 * benchtests/bench-string.h: Include bench-timing.h instead
17128 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17129 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17130 call to HP_TIMING_DIFF_INIT.
17131 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17132 instead of hp-timing.h macros.
17133 * benchtests/bench-memchr.c: Likewise.
17134 * benchtests/bench-memcmp.c: Likewise.
17135 * benchtests/bench-memcpy.c: Likewise.
17136 * benchtests/bench-memmem.c: Likewise.
17137 * benchtests/bench-memmove.c: Likewise.
17138 * benchtests/bench-memset.c: Likewise.
17139 * benchtests/bench-rawmemchr.c: Likewise.
17140 * benchtests/bench-strcasecmp.c: Likewise.
17141 * benchtests/bench-strcasestr.c: Likewise.
17142 * benchtests/bench-strcat.c: Likewise.
17143 * benchtests/bench-strchr.c: Likewise.
17144 * benchtests/bench-strcmp.c: Likewise.
17145 * benchtests/bench-strcpy.c: Likewise.
17146 * benchtests/bench-strcpy_chk.c: Likewise.
17147 * benchtests/bench-strlen.c: Likewise.
17148 * benchtests/bench-strncasecmp.c: Likewise.
17149 * benchtests/bench-strncat.c: Likewise.
17150 * benchtests/bench-strncmp.c: Likewise.
17151 * benchtests/bench-strncpy.c: Likewise.
17152 * benchtests/bench-strnlen.c: Likewise.
17153 * benchtests/bench-strpbrk.c: Likewise.
17154 * benchtests/bench-strrchr.c: Likewise.
17155 * benchtests/bench-strspn.c: Likewise.
17156 * benchtests/bench-strstr.c: Likewise.
17158 2013-09-04 Will Newton <will.newton@linaro.org>
17160 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17162 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17165 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17166 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17167 * math/libm-test.inc (lgamma_test_data): Add more tests.
17168 * sysdeps/i386/fpu/libm-test-ulps: Update.
17169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17171 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17173 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17174 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17177 Add strcmp-sse2-unaligned
17178 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17180 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17182 * Versions.def (libc): Add GLIBC_2.19.
17184 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17186 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17187 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17189 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17192 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17193 intermediate calculations in recurrence.
17194 (__ieee754_ynf): Likewise.
17195 * math/libm-test.inc (jn_test_data): Do not allow spurious
17196 underflow exception. Add more tests.
17197 (yn_test_data): Add more tests.
17198 * sysdeps/i386/fpu/libm-test-ulps: Update.
17199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17201 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17203 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17205 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17207 * csu/init-first.c: Fix then/than typos.
17208 * locale/programs/ld-collate.c: Likewise.
17209 * locale/programs/linereader.h: Likewise.
17210 * manual/charset.texi: Likewise.
17211 * manual/filesys.texi: Likewise.
17212 * manual/stdio.texi: Likewise.
17213 * manual/string.texi: Likewise.
17214 * stdlib/fmtmsg.c: Likewise.
17215 * sysdeps/i386/stpncpy.S: Likewise.
17216 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17217 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17218 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17219 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17221 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17223 * elf/dl-open.c: Fix typos.
17224 * iconvdata/gbbig5.c: Likewise.
17225 * iconvdata/iso-2022-jp.c: Likewise.
17226 * iconv/gconv_int.h: Likewise.
17227 * iconv/loop.c: Likewise.
17228 * nis/rpcsvc/nis.h: Likewise.
17229 * resolv/ns_name.c: Likewise.
17230 * stdio-common/vfscanf.c: Likewise.
17231 * streams/stropts.h: Likewise.
17232 * sunrpc/rpc_thread.c: Likewise.
17233 * sysdeps/i386/strpbrk.S: Likewise.
17234 * sysdeps/ieee754/k_standard.c: Likewise.
17235 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17236 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17237 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17238 * sysdeps/mach/hurd/profil.c: Likewise.
17239 * sysdeps/s390/dl-procinfo.h: Likewise.
17240 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17241 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17242 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17243 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17244 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17246 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17248 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17249 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17251 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17253 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17254 aix specific files.
17255 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17256 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17257 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17258 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17259 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17260 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17261 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17262 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17264 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17265 Roland McGrath <roland@hack.frob.com>
17267 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17268 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17270 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17272 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17273 __executable_start symbol instead of _start.
17275 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17277 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17278 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17280 * sysdeps/gnu/ldsodefs.h: ... this new file.
17282 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17283 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17284 instead of ELFOSABI_LINUX.
17286 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17287 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17288 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17289 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17291 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17292 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17293 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17295 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17296 (ibm_extended_long_double): Add ieee_nan member.
17297 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17298 (do_test): New function.
17300 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17302 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17303 functions, renamed from truncdfsf_test, trunctfsf_test,
17305 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17307 (do_test): Run all these.
17309 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17311 * argp/argp-help.c: Fix typos.
17312 * argp/argp-parse.c: Likewise.
17313 * debug/backtracesyms.c: Likewise.
17314 * elf/elf.h: Likewise.
17315 * malloc/malloc.c: Likewise.
17316 * nis/nis_print.c: Likewise.
17317 * resolv/res_comp.c: Likewise.
17318 * stdlib/stdlib.h: Likewise.
17319 * sunrpc/clnt_tcp.c: Likewise.
17320 * sunrpc/clnt_udp.c: Likewise.
17321 * sunrpc/clnt_unix.c: Likewise.
17322 * sysdeps/unix/bsd/ptsname.c: Likewise.
17323 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17324 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17331 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17333 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17335 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17338 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17341 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17342 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17343 ($(objpfx)bug-dl-leaf): New rule.
17344 ($(objpfx)bug-dl-leaf.so): Likewise.
17345 ($(objpfx)bug-dl-leaf.out): Likewise.
17346 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17347 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17348 * dlfcn/bug-dl-leaf.c: New test.
17349 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17350 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17351 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17352 (dlclose): Likewise.
17353 (dlmopen): Likewise.
17355 2013-08-27 Roland McGrath <roland@hack.frob.com>
17357 * include/netdb.h [!_ISOMAC]:
17358 Don't include <tls.h>.
17359 (h_errno, __libc_h_errno): Move declaration and macros out of
17362 * include/resolv.h [_RESOLV_H_]:
17363 Don't include <tls.h>.
17364 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17365 * resolv/res_libc.c: Don't include <tls.h>.
17366 (_res): Use __attribute__ ((nocommon)) in place of
17367 __attribute__ ((section (".bss"))).
17369 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17370 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17372 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17374 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17375 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17377 * resolv/res_mkquery.c: Include <sys/time.h>.
17379 * inet/ifreq.c: Moved to ...
17380 * sysdeps/unix/ifreq.c: ... here.
17381 * inet/ifreq.c: New file, true stub version.
17383 * socket/sa_len.c: New file.
17384 * socket/Makefile (aux): Add it.
17385 * sysdeps/unix/sysv/linux/Makefile
17386 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17387 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17388 and #include <socket/sa_len.c>.
17389 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17390 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17392 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17393 * bits/socket.h: ... here.
17395 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17396 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17397 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17399 2013-08-27 Andreas Schwab <schwab@suse.de>
17402 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17403 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17404 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17405 * string/test-strcasecmp.c (test_main): Run tests in several
17407 * string/test-strncasecmp.c (test_main): Likewise.
17409 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17410 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17411 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17412 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17413 (__strncasecmp_ssse3) [PIC]: Likewise.
17415 2013-08-26 Roland McGrath <roland@hack.frob.com>
17417 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17419 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17420 instead of explicitly declaring xdecrypt.
17421 * nis/nss_nis/nis-publickey.c: Likewise.
17423 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17426 * nscd/aicache.c: Include res_hconf.h.
17427 (addhstaiX): Initialize res_hconf.
17429 2013-08-26 Andreas Schwab <schwab@suse.de>
17431 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17432 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17434 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17436 * nscd/aicache.c (addhstaiX): Fix indentation.
17438 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17440 * configure.ac: Quote $build_pt_chown test.
17441 * configure: Regenerated.
17443 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17446 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17447 * math/s_cexpf.c (__cexpf): Likewise.
17448 * math/s_cexpl.c (__cexpl): Likewise.
17449 * math/libm-test.inc (cexp_test_data): Correct expected return
17450 value for NaN + i0. Add another test.
17452 2013-08-22 David S. Miller <davem@davemloft.net>
17454 * po/ca.po: Update Catalan translation from translation project.
17455 * po/uk.po: Add Ukrainian translations from translation project.
17457 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17460 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17461 is infinite, not alongside NaN test.
17462 * math/s_fdimf.c (__fdimf): Likewise.
17463 * math/s_fdiml.c (__fdiml): Likewise.
17464 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17465 errno is unchanged.
17467 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17469 * argp/argp-help.c: Fix typos.
17470 * crypt/speeds.c: Likewise.
17471 * csu/check_fds.c: Likewise.
17472 * elf/dl-load.c: Likewise.
17473 * elf/dl-open.c: Likewise.
17474 * elf/reldep3.c: Likewise.
17475 * elf/reldep.c: Likewise.
17476 * elf/sprof.c: Likewise.
17477 * iconv/iconv_charmap.c: Likewise.
17478 * iconv/skeleton.c: Likewise.
17479 * iconv/strtab.c: Likewise.
17480 * io/lockf64.c: Likewise.
17481 * libio/libioP.h: Likewise.
17482 * resolv/gai_notify.c: Likewise.
17483 * resolv/ns_name.c: Likewise.
17484 * resolv/ns_samedomain.c: Likewise.
17485 * resolv/res_send.c: Likewise.
17486 * stdlib/random.c: Likewise.
17487 * sunrpc/rpc/xdr.h: Likewise.
17488 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17489 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17490 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17491 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17492 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17493 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17495 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17496 * sysdeps/mach/hurd/check_fds.c: Likewise.
17497 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17498 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17499 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17500 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17501 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17502 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17503 * sysdeps/pthread/aio_notify.c: Likewise.
17504 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17505 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17506 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17507 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17508 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17510 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17512 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17513 version if bit_Slow_SSE4_2 is set.
17514 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17515 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17517 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17520 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17521 trampoline stack frame information.
17522 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17523 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17524 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17525 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17526 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17527 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17528 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17529 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17531 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17532 interrupting a syscall and set with option SA_SIGINFO.
17534 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17537 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17538 argument is infinite.
17539 * math/s_cprojf.c (__cprojf): Likewise.
17540 * math/s_cprojl.c (__cprojl): Likewise.
17541 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17542 * math/libm-test.inc (cproj_test_data): Add more tests.
17544 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17546 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17547 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17548 size. Use __ffs to determine corresponding shift.
17550 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17551 Roland McGrath <roland@hack.frob.com>
17553 * Makefile (INSTALL): Remove trailing blank lines from output of
17556 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17558 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17559 Align 32 bit compat elf_greg to 8 bytes.
17561 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17563 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17565 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17567 * string/strcoll_l.c (coll_seq): New structure.
17568 (get_next_seq_cached): New function.
17569 (get_next_seq): New function.
17570 (do_compare): New function.
17571 (STRCOLL): Use GNU style definition. Simplify implementation
17572 by using get_next_seq, get_next_seq_cached and do_compare.
17574 2013-08-16 Florian Weimer <fweimer@redhat.com>
17578 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17580 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17582 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17583 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17584 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17586 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17587 GETDENTS_64BIT_ALIGNED.
17588 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17589 * manual/filesys.texi (Reading/Closing Directory): Document
17590 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17592 * manual/conf.texi (Limits for Files): Add portability note to
17593 NAME_MAX, PATH_MAX.
17594 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17596 2013-08-13 Andreas Schwab <schwab@suse.de>
17599 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17601 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17602 LDBL_MAX_EXP >= 16384]: Add tests for it.
17604 2013-08-12 David S. Miller <davem@davemloft.net>
17606 * version.h (RELEASE): Set to "development".
17607 (VERSION): Set to "2.18.90".
17608 * NEWS: Add 2.19 section.
17610 2013-08-03 David S. Miller <davem@davemloft.net>
17612 * po/ko.po: Update Korean translation from translation project.
17614 2013-08-01 David S. Miller <davem@davemloft.net>
17616 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17617 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17620 2013-07-30 David S. Miller <davem@davemloft.net>
17622 * po/fr.po: Update French translation from translation project.
17624 2013-07-28 David S. Miller <davem@davemloft.net>
17626 * po/cs.po: Update Czech translation from translation project.
17628 * po/sv.po: Update Swedish translation from translation project.
17630 2013-07-27 David S. Miller <davem@davemloft.net>
17632 * po/eo.po: Update Esperanto translation from translation project.
17634 * po/vi.po: Update Vietnamese translation from translation project.
17636 * po/de.po: Update German translation from translation project.
17638 2013-07-26 David S. Miller <davem@davemloft.net>
17640 * po/bg.po: Update Bulgarian translation from translation project.
17642 * po/nl.po: Update Dutch translation from translation project.
17643 * po/pl.po: Update Polish translation from translation project.
17644 * po/ru.po: Update Russian translation from translation project.
17646 2013-07-24 David S. Miller <davem@davemloft.net>
17648 * po/libc.pot: Update.
17650 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17652 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17653 variable page size.
17654 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17655 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17656 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17658 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17660 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17662 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17663 Andreas Schwab <schwab@suse.de>
17664 Roland McGrath <roland@hack.frob.com>
17665 Joseph Myers <joseph@codesourcery.com>
17666 Carlos O'Donell <carlos@redhat.com>
17669 * config.h.in: Define HAVE_PT_CHOWN.
17670 * config.make.in (build-pt-chown): New variable.
17671 * configure.in (--enable-pt_chown): New configure option.
17672 * configure: Regenerate.
17673 * login/Makefile: Include Makeconfig. Build pt_chown only if
17674 build-pt-chown is enabled.
17675 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17676 pt_chown to fix pty ownership.
17677 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17679 * manual/install.texi (Configuring and compiling): Mention
17680 --enable-pt_chown. Add @findex for grantpt.
17681 * INSTALL: Regenerate.
17683 2013-07-20 David S. Miller <davem@davemloft.net>
17685 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17686 difference between 32-bit and 64-bit.
17688 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17691 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17692 Avoid system header dependency with -ffreestanding.
17693 ($(objpfx)bits/syscall%d): Likewise.
17695 2013-07-13 David S. Miller <davem@davemloft.net>
17697 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17698 underflows from atanl/atan2l due to bug 15319.
17699 (casinh_test_data): Likewise.
17701 2013-07-07 David S. Miller <davem@davemloft.net>
17703 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17705 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17707 * sysdeps/i386/fpu/libm-test-ulps: Update.
17708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17710 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17712 * configure.in (--enable-lock-elision): Fix message text.
17713 * INSTALL: Regenerate.
17714 * configure: Regenerate.
17716 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17720 2013-07-03 Andreas Jaeger <aj@suse.de>
17722 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17724 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17725 (ptrace_peeksiginfo_args): Add.
17726 (__ptrace_peeksiginfo_flags): Add.
17727 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17728 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17729 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17731 2013-07-03 Allan McRae <allan@archlinux.org>
17733 * sysdeps/i386/fpu/libm-test-ulps: Update.
17735 2013-07-02 David S. Miller <davem@davemloft.net>
17737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17739 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17743 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17745 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17748 2013-07-02 Andi Kleen <ak@linux.intel.com>
17750 * config.h.in (ENABLE_LOCK_ELISION): Add.
17751 * configure.in (--enable-lock-elision): Add option.
17752 * manual/install.texi: Document --enable lock elision.
17753 * configure: Regenerate
17754 * INSTALL: Regenerate.
17756 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17758 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17759 SSE4.2 strcasecmp for libc.a.
17760 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17762 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17765 * soft-fp/op-common.h (_FP_FMA): New macro.
17766 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17767 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17768 (_FP_MUL_MEAT_1_imm): ... here.
17769 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17770 (_FP_MUL_MEAT_1_wide): ... here.
17771 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17772 (_FP_MUL_MEAT_1_hard): ... here.
17773 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17774 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17775 (_FP_MUL_MEAT_2_wide): ... here.
17776 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17777 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17778 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17779 (_FP_MUL_MEAT_2_gmp): ... here.
17780 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17781 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17782 (_FP_MUL_MEAT_4_wide): ... here.
17783 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17784 (_FP_MUL_MEAT_4_gmp): ... here.
17785 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17786 (_FP_WFRACBITS_DW_S): Likewise.
17787 (_FP_WFRACXBITS_DW_S): Likewise.
17788 (_FP_HIGHBIT_DW_S): Likewise.
17789 (FP_FMA_S): Likewise.
17790 (_FP_FRAC_HIGH_DW_S): Likewise.
17791 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17792 (_FP_WFRACBITS_DW_D): Likewise.
17793 (_FP_WFRACXBITS_DW_D): Likewise.
17794 (_FP_HIGHBIT_DW_D): Likewise.
17795 (FP_FMA_D): Likewise.
17796 (_FP_FRAC_HIGH_DW_D): Likewise.
17797 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17798 (_FP_WFRACBITS_DW_E): Likewise.
17799 (_FP_WFRACXBITS_DW_E): Likewise.
17800 (_FP_HIGHBIT_DW_E): Likewise.
17801 (FP_FMA_E): Likewise.
17802 (_FP_FRAC_HIGH_DW_E): Likewise.
17803 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17804 (_FP_WFRACBITS_DW_Q): Likewise.
17805 (_FP_WFRACXBITS_DW_Q): Likewise.
17806 (_FP_HIGHBIT_DW_Q): Likewise.
17807 (FP_FMA_Q): Likewise.
17808 (_FP_FRAC_HIGH_DW_Q): Likewise.
17809 * soft-fp/fmasf4.c: New file.
17810 * soft-fp/fmadf4.c: Likewise.
17811 * soft-fp/fmatf4.c: Likewise.
17813 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17816 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17818 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17820 (index_Slow_SSE4_2): Likewise.
17821 (index_Prefer_PMINUB_for_stringop): Likewise.
17822 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17823 bit_Slow_SSE4_2 is set.
17824 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17825 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17827 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17829 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17830 rtld_global._dl_hwcap2.
17831 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17833 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17834 POWER8 feature descriptions defined in _dl_hwcap2.
17835 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17836 string handling for POWER8 feature bits.
17837 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17838 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17839 _dl_powerpc_cap_flags.
17840 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17841 * sysdeps/powerpc/rtld-global-offsets.sym
17842 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17843 _dl_hwcap2 in the rtld_global_ro structure.
17845 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17847 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17848 hardware capabilities in support of AT_HWCAP2.
17849 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17850 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17852 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17853 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17854 explicitly the unknown a_type display mechanism is used.
17855 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17856 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17858 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17859 to macro prototype for AT_HWCAP2 support.
17860 * sysdeps/i386/dl-procinfo.h: Likewise.
17861 * sysdeps/s390/dl-procinfo.h: Likewise.
17862 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17863 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17864 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17865 return -1 for unknown a_type display fallback.
17866 * sysdeps/sparc/dl-procinfo.h: Likewise.
17867 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17868 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17870 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17872 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17873 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17875 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17878 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17879 mprotect making __stack_prot writable.
17881 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17882 Joseph Myers <joseph@codesourcery.com>
17884 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17885 as being properly aligned.
17887 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17889 * dlfcn/modstatic5.c: New file.
17890 * dlfcn/tststatic5.c: New file.
17891 * dlfcn/Makefile (tests): Add tststatic5.
17892 (tests-static): Likewise.
17893 (modules-names): Add modstatic5.
17894 (tststatic5-ENV): New variable.
17895 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17898 * elf/dl-support.c (_dl_main_map): New variable.
17899 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17900 (_dl_nns, _dl_load_adds): Set to 1.
17901 (_dl_initial_searchlist): Refer to _dl_main_map.
17902 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17903 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17904 call to _dl_get_origin.
17905 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17907 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17908 * dlfcn/modstatic3.c: New file.
17909 * dlfcn/tststatic3.c: New file.
17910 * dlfcn/tststatic4.c: New file.
17911 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17912 (tests-static): Likewise.
17913 (modules-names): Add modstatic3.
17914 (tststatic3-ENV, tststatic4-ENV): New variables.
17915 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17916 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17918 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17920 * configure.in (CC): Require GCC version 4.4 or later.
17921 * configure: Regenerated.
17922 * manual/install.texi (Tools for Compilation): Update GCC version
17924 * INSTALL: Regenerated.
17926 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17929 * string/test-memcmp.c (check2): New.
17930 (main): Call check2.
17932 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17934 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17937 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17939 (dl_open_worker) [!SHARED]: ... here.
17941 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17943 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17945 2013-06-25 Richard Henderson <rth@redhat.com>
17947 * locale/programs/locarchive.c: Include <libc-internal.h>
17949 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17951 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17952 trailing whitespace removed.
17954 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17957 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17958 * locale/programs/locarchive.c: Include libc-mmap.h.
17959 (prepare_address_space): Take two new outputs (the mmap base and len).
17960 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17962 (create_archive): Declare new mmap base and len values for
17963 prepare_address_space, and store the result in ah.
17964 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17965 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17966 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17967 Declare new mmap base and len values for
17968 prepare_address_space, and store the result in new_ah.
17969 (open_archive): Declare new mmap base and len values for
17970 prepare_address_space, and store the result in ah.
17971 (close_archive): If ah->mmap_base is not NULL, use that and
17972 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17973 * sysdeps/generic/libc-mmap.h: New file.
17975 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17977 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17978 (ALIGN_UP): Likewise.
17979 (PTR_ALIGN_DOWN): Likewise.
17980 (PTR_ALIGN_UP): Likewise.
17982 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17984 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17985 entry mapped to PPC_PLATFORM_POWER8.
17986 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17988 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17989 (_dl_string_platform): Add case for exporting platform position for
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17992 search path to sysdeps/powerpc/powerpc32/power8 directory.
17993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17994 search path to sysdeps/powerpc/powerpc64/power8 directory.
17995 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17996 power7 directories.
17997 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17998 power7 directories.
18000 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18002 * INSTALL: Regenerate.
18004 * nscd/connections.c (nscd_init): Fix comment.
18006 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18008 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18011 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18012 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18014 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18016 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18018 (DL_DST_REQ_STATIC): Remove macro.
18020 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18023 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18024 with a shift of 0 bits.
18026 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18028 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18031 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18034 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18036 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18038 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18039 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18040 accepts -fno-tree-loop-distribute-patterns.
18041 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18042 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18044 * string/memset.c (memset): Likewise.
18045 * string/test-memmove.c (simple_memmove): Disable loop transformation
18047 * string/test-memset.c (simple_memset): Likewise.
18048 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18049 * benchtests/bench-memset.c (simple_memset): Likewise.
18050 * configure: Regenerated.
18052 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18054 * math/test-misc.c (main): Ignore fesetround failure when failures
18055 of subsequent rounding tests would be ignored.
18058 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18059 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18060 * math/fegetenv.c (__fegetenv): Return 0.
18061 * math/fegetexcept.c (fegetexcept): Return 0.
18062 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18064 * math/feholdexcpt.c (feholdexcept): Return 0.
18065 * math/fesetenv.c (__fesetenv): Return 0.
18066 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18067 argument FE_TONEAREST.
18068 * math/feupdateenv.c (__feupdateenv): Return 0.
18069 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18071 2013-06-18 Roland McGrath <roland@hack.frob.com>
18073 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18074 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18075 ($(objpfx)rtld-%.os rules): Use them.
18077 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18079 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18082 2013-06-17 Roland McGrath <roland@hack.frob.com>
18084 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18085 length of target pattern, then descending length of dependency pattern.
18086 * configure.in (AWK): Require gawk 3.1.2 or newer.
18087 * manual/install.texi (Tools for Compilation): Say that we do.
18088 * configure: Regenerated.
18090 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18091 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18092 * scripts/sysd-rules.awk: ... this new script.
18093 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18094 than a glob-style pattern.
18096 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18098 * math/test-misc.c (main): Do not treat incorrectly rounded
18099 conversions as failure unless ROUNDING_TESTS passes.
18101 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18104 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18105 restore exception state around main square root computation, then
18106 check for inexactness explicitly.
18108 * math/libm-test.inc (fma_test_data): Add another test.
18110 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18112 * manual/threads.texi (Non-POSIX Extensions): New document
18113 node. Document pthread_getattr_default_np and
18114 pthread_setattr_default_np.
18116 * Versions.def (libpthread): Add GLIBC_2.18.
18117 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18126 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18137 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18140 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18142 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18143 H.J. Lu <hjl.tools@gmail.com>
18146 * sysdeps/x86_64/rtld-memset.c: Remove file.
18147 * sysdeps/x86_64/rtld-memset.S: New file.
18149 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18151 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18152 (test_in_one_mode): Take arguments for whether the rounding mode
18153 is supported for each floating-point type.
18154 (do_test): Pass new arguments to test_in_one_mode using
18157 2013-06-13 Roland McGrath <roland@hack.frob.com>
18159 * posix/tst-waitid.c (do_test): Distinguish different instances of
18160 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18161 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18162 before entering the kernel for waitpid.
18164 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18166 * NEWS: Fix note on clock function precision. Text by Roland
18169 2013-06-13 Roland McGrath <roland@hack.frob.com>
18171 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18172 it into place only when and if the sanity check passes.
18174 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18176 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18177 output for whether conversion result is exact. Take argument
18178 indicating whether type is IBM long double.
18179 (round_for_all): Change need_exact field to ibm_ld.
18180 * stdlib/tst-strtod-round.c (struct exactness): New type.
18181 (struct test): Change bool ld_ok field to struct exactness exact.
18182 (TEST): Update all definitions for change to field.
18183 (tests): Regenerate array contents.
18184 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18185 field value. Check for IBM long double here.
18186 (do_test): Update calls to test_in_one_mode.
18188 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18191 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18192 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18194 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18197 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18198 generated by the compiler on loop optimizations.
18199 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18200 general definitions.
18202 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18204 * math/bug-nextafter.c: Include <math-tests.h>.
18205 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18207 * math/bug-nexttoward.c: Include <math-tests.h>.
18208 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18210 * math/test-misc.c: Include <math-tests.h>.
18211 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18214 2013-06-12 Andreas Jaeger <aj@suse.de>
18216 * po/ia.po: Update Interlingua translation from translation
18219 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18221 * include/fenv.h: Include stdbool.h.
18222 (struct rm_ctx): New structure.
18223 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18225 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18226 (SET_RESTORE_ROUNDF): Likewise.
18227 (SET_RESTORE_ROUNDL): Likewise.
18228 (SET_RESTORE_ROUND_NOEX): Likewise.
18229 (SET_RESTORE_ROUND_NOEXF): Likewise.
18230 (SET_RESTORE_ROUND_NOEXL): Likewise.
18231 (SET_RESTORE_ROUND_53BIT): Likewise.
18232 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18233 (libc_feresetround_noexf_ctx): Likewise.
18234 (libc_feresetround_noexl_ctx): Likewise.
18235 (libc_feholdsetround_53bit_ctx): Likewise.
18236 (libc_feresetround_53bit_ctx): Likewise.
18237 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18238 (libc_feholdexcept_setround_sse_ctx): New function.
18239 (libc_fesetenv_sse_ctx): Likewise.
18240 (libc_feupdateenv_sse_ctx): Likewise.
18241 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18242 (libc_feholdexcept_setround_387_ctx): Likewise.
18243 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18244 (libc_feholdsetround_387_prec_ctx): Likewise.
18245 (libc_feholdsetround_387_ctx): Likewise.
18246 (libc_feholdsetround_387_53bit_ctx): Likewise.
18247 (libc_feholdsetround_sse_ctx): Likewise.
18248 (libc_feresetround_sse_ctx): Likewise.
18249 (libc_feresetround_387_ctx): Likewise.
18250 (libc_feupdateenv_387_ctx): Likewise.
18251 (libc_feholdexcept_setroundf_ctx): Define macro.
18252 (libc_fesetenvf_ctx): Likewise.
18253 (libc_feupdateenvf_ctx): Likewise.
18254 (libc_feholdsetroundf_ctx): Likewise.
18255 (libc_feresetroundf_ctx): Likewise.
18256 (libc_feholdexcept_setround_ctx): Likewise.
18257 (libc_fesetenv_ctx): Likewise.
18258 (libc_feupdateenv_ctx): Likewise.
18259 (libc_feholdsetround_ctx): Likewise.
18260 (libc_feresetround_ctx): Likewise.
18261 (libc_feholdexcept_setroundl_ctx): Likewise.
18262 (libc_feupdateenvl_ctx): Likewise.
18263 (libc_feholdsetroundl_ctx): Likewise.
18264 (libc_feresetroundl_ctx): Likewise.
18265 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18266 (libc_feresetround_53bit_ctx): Likewise.
18268 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18270 * locale/iso-639.def: Convert to UTF-8.
18272 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18274 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18275 (EXCEPTION_TESTS_double): Likewise.
18276 (EXCEPTION_TESTS_long_double): Likewise.
18277 (EXCEPTION_TESTS): Likewise.
18278 * math/libm-test.inc (test_exceptions): Only test exceptions if
18279 EXCEPTION_TESTS (FLOAT).
18281 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18283 * benchtests/Makefile (string-bench): Add strcpy_chk and
18285 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18286 * benchtests/bench-stpcpy_chk.c: New file.
18287 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18288 * benchtests/bench-strcpy_chk.c: New file.
18289 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18291 (do_test): Likewise.
18293 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18295 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18296 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18297 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18298 with tabs where appropriate.
18299 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18301 [PPC_PLATFORM_PPC440]: Likewise.
18302 [PPC_PLATFORM_PPC464]: Likewise.
18303 [PPC_PLATFORM_PPC476]: Likewise.
18304 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18305 ppc464, and ppc476 platform strings merging from ports/
18308 2013-06-11 Andreas Schwab <schwab@suse.de>
18311 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18312 (from_ucs4_idx): Regenerate.
18313 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18314 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18315 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18316 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18317 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18318 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18319 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18320 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18321 from FROM_LOOP and TO_LOOP specific macros.
18322 (BODY): Handle combining characters.
18323 * iconvdata/BIG5HKSCS.irreversible: Update.
18324 * iconvdata/BIG5HKSCS.precomposed: New file.
18325 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18327 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18329 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18331 * include/sys/time.h: Fix indentation and add copyright header.
18333 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18334 (do_test): Likewise.
18335 * string/test-memchr.c (do_one_test): Likewise.
18336 (do_test): Likewise.
18337 * string/test-memcmp.c (do_one_test): Likewise.
18338 (do_test): Likewise.
18339 * string/test-memcpy.c (do_one_test): Likewise.
18340 (do_test): Likewise.
18341 * string/test-memmem.c (do_one_test): Likewise.
18342 (do_test): Likewise.
18343 (do_random_tests): Likewise.
18344 * string/test-memmove.c (do_one_test): Likewise.
18345 (do_test): Likewise.
18346 * string/test-memset.c (do_one_test): Likewise.
18347 (do_test): Likewise.
18348 * string/test-rawmemchr.c (do_one_test): Likewise.
18349 (do_test): Likewise.
18350 * string/test-strcasecmp.c (do_one_test): Likewise.
18351 (do_test): Likewise.
18352 * string/test-strcasestr.c (do_one_test): Likewise.
18353 (do_test): Likewise.
18354 * string/test-strcat.c (do_one_test): Likewise.
18355 (do_test): Likewise.
18356 * string/test-strchr.c (do_one_test): Likewise.
18357 (do_test): Likewise.
18358 * string/test-strcmp.c (do_one_test): Likewise.
18359 (do_test): Likewise.
18360 * string/test-strcpy.c (do_one_test): Likewise.
18361 (do_test): Likewise.
18362 * string/test-string.h: Likewise.
18363 (test_init): Likewise.
18364 * string/test-strlen.c (do_one_test): Likewise.
18365 (do_test): Likewise.
18366 * string/test-strncasecmp.c (do_one_test): Likewise.
18367 (do_test): Likewise.
18368 * string/test-strncat.c (do_one_test): Likewise.
18369 (do_test): Likewise.
18370 * string/test-strncmp.c (do_one_test): Likewise.
18371 (do_test_limit): Likewise.
18372 (do_test): Likewise.
18373 * string/test-strncpy.c (do_one_test): Likewise.
18374 (do_test): Likewise.
18375 * string/test-strnlen.c (do_one_test): Likewise.
18376 (do_test): Likewise.
18377 * string/test-strpbrk.c (do_one_test): Likewise.
18378 (do_test): Likewise.
18379 * string/test-strrchr.c (do_one_test): Likewise.
18380 (do_test): Likewise.
18381 * string/test-strspn.c (do_one_test): Likewise.
18382 (do_test): Likewise.
18383 * string/test-strstr.c (do_one_test): Likewise.
18384 (do_test): Likewise.
18386 * benchtests/Makefile (string-bench): Add string benchmarks.
18387 * benchtests/bench-bcopy-ifunc.c: New file.
18388 * benchtests/bench-bcopy.c: New file.
18389 * benchtests/bench-bzero-ifunc.c: New file.
18390 * benchtests/bench-bzero.c: New file.
18391 * benchtests/bench-memccpy-ifunc.c: New file.
18392 * benchtests/bench-memccpy.c: New file.
18393 * benchtests/bench-memchr-ifunc.c: New file.
18394 * benchtests/bench-memchr.c: New file.
18395 * benchtests/bench-memcmp-ifunc.c: New file.
18396 * benchtests/bench-memcmp.c: New file.
18397 * benchtests/bench-memmem-ifunc.c: New file.
18398 * benchtests/bench-memmem.c: New file.
18399 * benchtests/bench-memmove-ifunc.c: New file.
18400 * benchtests/bench-memmove.c: New file.
18401 * benchtests/bench-mempcpy-ifunc.c: New file.
18402 * benchtests/bench-mempcpy.c: New file.
18403 * benchtests/bench-memset-ifunc.c: New file.
18404 * benchtests/bench-memset.c: New file.
18405 * benchtests/bench-rawmemchr-ifunc.c: New file.
18406 * benchtests/bench-rawmemchr.c: New file.
18407 * benchtests/bench-stpcpy-ifunc.c: New file.
18408 * benchtests/bench-stpcpy.c: New file.
18409 * benchtests/bench-stpncpy-ifunc.c: New file.
18410 * benchtests/bench-stpncpy.c: New file.
18411 * benchtests/bench-strcasecmp-ifunc.c: New file.
18412 * benchtests/bench-strcasecmp.c: New file.
18413 * benchtests/bench-strcasestr-ifunc.c: New file.
18414 * benchtests/bench-strcasestr.c: New file.
18415 * benchtests/bench-strcat-ifunc.c: New file.
18416 * benchtests/bench-strcat.c: New file.
18417 * benchtests/bench-strchr-ifunc.c: New file.
18418 * benchtests/bench-strchr.c: New file.
18419 * benchtests/bench-strchrnul-ifunc.c: New file.
18420 * benchtests/bench-strchrnul.c: New file.
18421 * benchtests/bench-strcmp-ifunc.c: New file.
18422 * benchtests/bench-strcmp.c: New file.
18423 * benchtests/bench-strcpy-ifunc.c: New file.
18424 * benchtests/bench-strcpy.c: New file.
18425 * benchtests/bench-strcspn-ifunc.c: New file.
18426 * benchtests/bench-strcspn.c: New file.
18427 * benchtests/bench-strlen-ifunc.c: New file.
18428 * benchtests/bench-strlen.c: New file.
18429 * benchtests/bench-strncasecmp-ifunc.c: New file.
18430 * benchtests/bench-strncasecmp.c: New file.
18431 * benchtests/bench-strncat-ifunc.c: New file.
18432 * benchtests/bench-strncat.c: New file.
18433 * benchtests/bench-strncmp-ifunc.c: New file.
18434 * benchtests/bench-strncmp.c: New file.
18435 * benchtests/bench-strncpy-ifunc.c: New file.
18436 * benchtests/bench-strncpy.c: New file.
18437 * benchtests/bench-strnlen-ifunc.c: New file.
18438 * benchtests/bench-strnlen.c: New file.
18439 * benchtests/bench-strpbrk-ifunc.c: New file.
18440 * benchtests/bench-strpbrk.c: New file.
18441 * benchtests/bench-strrchr-ifunc.c: New file.
18442 * benchtests/bench-strrchr.c: New file.
18443 * benchtests/bench-strspn-ifunc.c: New file.
18444 * benchtests/bench-strspn.c: New file.
18445 * benchtests/bench-strstr-ifunc.c: New file.
18446 * benchtests/bench-strstr.c: New file.
18448 * benchtests/Makefile: Disable parallel execution of targets.
18449 (string-bench): Add memcpy.
18450 (benchset): New variable to store a list of benchmark sets.
18451 (bench-func): Renamed from bench.
18452 (bench-set): New target.
18453 (bench): Depend on bench-func and bench-set.
18454 * benchtests/README: Add section on benchmark sets.
18455 * benchtests/bench-memcpy-ifunc.c: New file.
18456 * benchtests/bench-memcpy.c: New file.
18457 * benchtests/bench-string.h: New file.
18459 2013-06-11 Andreas Schwab <schwab@suse.de>
18462 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18463 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18464 values in the triple.
18465 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18466 terminator in the group key.
18468 2013-06-11 Andreas Jaeger <aj@suse.de>
18470 * po/zh_TW.po: Update Chinese (traditional) translation from
18471 translation project.
18473 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18475 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18476 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18477 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18478 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18479 (clock_getcpuclockid): Likewise.
18480 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18481 Add weak_alias and libc_hidden_def.
18482 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18483 * rt/clock_gettime.c (clock_gettime): Rename to
18484 __clock_gettime. Add weak_alias and libc_hidden_def.
18485 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18486 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18487 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18488 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18489 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18491 * rt/clock_settime.c (clock_settime): Rename to
18492 __clock_settime. Add weak_alias and libc_hidden_def.
18493 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18495 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18497 * mach/err_boot.sub: Remove trailing whitespace.
18498 * mach/err_ipc.sub: Likewise.
18499 * mach/err_mach.sub: Likewise.
18501 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18502 (ROUNDING_TESTS_double): Likewise.
18503 (ROUNDING_TESTS_long_double): Likewise.
18504 (ROUNDING_TESTS): Likewise.
18505 * math/libm-test.inc: Include <math-tests.h>.
18506 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18507 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18508 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18509 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18511 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18513 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18516 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18518 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18519 otherwise empty TRANS lines.
18520 * sysdeps/gnu/errlist.c: Regenerated.
18522 * catgets/gencat.c (error_print): Use (void) in function
18524 * crypt/crypt_util.c (__init_des): Likewise.
18525 * crypt/speeds.c (Stop): Likewise.
18527 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18528 * inet/ruserpass.c (token): Likewise.
18529 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18530 * intl/localealias.c (extend_alias_table): Likewise.
18531 * intl/plural-exp.c (init_germanic_plural): Likewise.
18532 * libio/fcloseall.c (__fcloseall): Likewise.
18533 * libio/genops.c (_IO_flush_all): Likewise.
18534 (_IO_flush_all_linebuffered): Likewise.
18535 (_IO_cleanup): Likewise.
18536 (_IO_iter_begin): Likewise.
18537 (_IO_iter_end): Likewise.
18538 (_IO_list_lock): Likewise.
18539 (_IO_list_unlock): Likewise.
18540 (_IO_list_resetlock): Likewise.
18541 * libio/getchar.c (getchar): Likewise.
18542 * libio/getchar_u.c (getchar_unlocked): Likewise.
18543 * libio/getwchar.c (getwchar): Likewise.
18544 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18545 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18546 * login/getpt.c (__getpt): Likewise.
18547 * login/tst-utmp.c (main): Likewise.
18548 * malloc/hooks.c (__malloc_check_init): Likewise.
18549 * malloc/malloc.c (__malloc_stats): Likewise.
18550 * malloc/mtrace.c (tr_break): Likewise.
18551 (mtrace): Likewise.
18552 (muntrace): Likewise.
18553 * misc/fstab.c (endfsent): Likewise.
18554 * misc/getclktck.c (__getclktck): Likewise.
18555 * misc/getdtsz.c (__getdtablesize): Likewise.
18556 * misc/gethostid.c (gethostid): Likewise.
18557 * misc/getpagesize.c (__getpagesize): Likewise.
18558 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18559 (__get_nprocs): Likewise.
18560 (__get_phys_pages): Likewise.
18561 (__get_avphys_pages): Likewise.
18562 * misc/getttyent.c (getttyent): Likewise.
18563 (setttyent): Likewise.
18564 (endttyent): Likewise.
18565 * misc/getusershell.c (getusershell): Likewise.
18566 (endusershell): Likewise.
18567 (setusershell): Likewise.
18568 (initshells): Likewise.
18569 * misc/hsearch.c (__hdestroy): Likewise.
18570 * misc/sync.c (sync): Likewise.
18571 * misc/syslog.c (closelog_internal): Likewise.
18572 (closelog): Likewise.
18573 * misc/ttyslot.c (ttyslot): Likewise.
18574 * misc/vhangup.c (vhangup): Likewise.
18575 * posix/fork.c (__fork): Likewise.
18576 * posix/getegid.c (__getegid): Likewise.
18577 * posix/geteuid.c (__geteuid): Likewise.
18578 * posix/getgid.c (__getgid): Likewise.
18579 * posix/getpid.c (__getpid): Likewise.
18580 * posix/getppid.c (__getppid): Likewise.
18581 * posix/getuid.c (__getuid): Likewise.
18582 * posix/pause.c (pause): Likewise.
18583 * posix/setpgrp.c (setpgrp): Likewise.
18584 * posix/setsid.c (__setsid): Likewise.
18585 * posix/test-vfork.c (noop): Likewise.
18586 * resolv/gethnamaddr.c (_endhtent): Likewise.
18587 (_gethtent): Likewise.
18588 (ht_endhostent): Likewise.
18589 (gethostent): Likewise.
18590 (dns_service): Likewise.
18591 * stdlib/drand48.c (drand48): Likewise.
18592 * stdlib/lrand48.c (lrand48): Likewise.
18593 * stdlib/mrand48.c (mrand48): Likewise.
18594 * stdlib/rand.c (rand): Likewise.
18595 * stdlib/random.c (__random): Likewise.
18596 * stdlib/setenv.c (clearenv): Likewise.
18597 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18598 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18599 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18600 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18601 (__get_nprocs): Likewise.
18602 (__get_phys_pages): Likewise.
18603 (__get_avphys_pages): Likewise.
18604 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18605 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18606 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18607 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18608 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18609 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18610 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18611 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18612 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18613 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18614 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18615 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18616 * sysdeps/posix/clock.c (clock): Likewise.
18617 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18618 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18619 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18620 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18621 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18622 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18623 (__get_nprocs_conf): Likewise.
18624 (__get_phys_pages): Likewise.
18625 (__get_avphys_pages): Likewise.
18626 * time/clock.c (clock): Likewise.
18627 * time/tzset.c (__tzname_max): Likewise.
18629 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18631 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18632 (__bswap_32): Do not use "register".
18633 * crypt/crypt.c (_ufc_doit_r): Likewise.
18634 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18635 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18636 * gmon/gmon.c (__monstartup): Likewise.
18637 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18638 * hurd/hurdmalloc.c (more_memory): Likewise.
18639 (malloc): Likewise.
18641 (realloc): Likewise.
18642 (malloc_fork_prepare): Likewise.
18643 (malloc_fork_parent): Likewise.
18644 (malloc_fork_child): Likewise.
18645 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18646 (_svcauth_des): Likewise.
18647 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18648 * inet/inet_net.c (inet_network): Likewise.
18649 * inet/inet_netof.c (inet_netof): Likewise.
18650 * inet/rcmd.c (__validuser2_sa): Likewise.
18651 * io/fts.c (fts_open): Likewise.
18652 (fts_load): Likewise.
18653 (fts_close): Likewise.
18654 (fts_read): Likewise.
18655 (fts_children): Likewise.
18656 (fts_build): Likewise.
18657 (fts_stat): Likewise.
18658 (fts_sort): Likewise.
18659 (fts_alloc): Likewise.
18660 (fts_lfree): Likewise.
18661 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18662 (_IO_file_xsgetn): Likewise.
18663 (_IO_file_xsgetn_mmap): Likewise.
18664 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18665 (_IO_cookie_write): Likewise.
18666 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18667 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18668 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18669 * malloc/obstack.c (_obstack_begin): Likewise.
18670 (_obstack_begin_1): Likewise.
18671 (_obstack_newchunk): Likewise.
18672 (_obstack_allocated_p): Likewise.
18673 (obstack_free): Likewise.
18674 (_obstack_memory_used): Likewise.
18675 * misc/getttyent.c (getttynam): Likewise.
18676 (getttyent): Likewise.
18679 * misc/getusershell.c (initshells): Likewise.
18680 * misc/syslog.c (__vsyslog_chk): Likewise.
18681 * misc/ttyslot.c (ttyslot): Likewise.
18682 * nis/nis_hash.c (__nis_hash): Likewise.
18683 * posix/fnmatch_loop.c (FCT): Likewise.
18684 * posix/getconf.c (print_all): Likewise.
18686 * posix/getopt.c (exchange): Likewise.
18687 * posix/glob.c (globfree): Likewise.
18688 (prefix_array): Likewise.
18689 (__glob_pattern_type): Likewise.
18690 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18691 (NS_GET32): Likewise.
18692 (NS_PUT16): Likewise.
18693 (NS_PUT32): Likewise.
18694 * resolv/gethnamaddr.c (getanswer): Likewise.
18695 (gethostbyname2): Likewise.
18696 (gethostbyaddr): Likewise.
18697 (_gethtent): Likewise.
18698 (_gethtbyname2): Likewise.
18699 (_gethtbyaddr): Likewise.
18700 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18701 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18702 * resolv/res_init.c (__res_vinit): Likewise.
18703 (net_mask): Likewise.
18704 * resolv/res_mkquery.c (outchar): Likewise.
18706 * stdio-common/printf_fp.c (outchar): Likewise.
18708 * stdio-common/printf_fphex.c (outchar): Likewise.
18710 * stdio-common/printf_size.c (outchar): Likewise.
18712 * stdio-common/test_rdwr.c (main): Likewise.
18713 * stdio-common/tfformat.c (matches): Likewise.
18714 * stdio-common/vfprintf.c (outchar): Likewise.
18715 (printf_unknown): Likewise.
18716 (buffered_vfprintf): Likewise.
18717 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18718 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18719 (ReadFile): Likewise.
18720 * stdlib/qsort.c (SWAP): Likewise.
18721 (_quicksort): Likewise.
18722 * stdlib/setenv.c (__add_to_environ): Likewise.
18723 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18724 * stdlib/strtol_l.c (__strtol_l): Likewise.
18725 * stdlib/tst-strtod.c (main): Likewise.
18726 * stdlib/tst-strtol.c (main): Likewise.
18727 * stdlib/tst-strtoll.c (main): Likewise.
18728 * string/bits/string2.h (__strcmp_cc): Likewise.
18729 (__strcmp_cg): Likewise.
18730 (__strcspn_c1): Likewise.
18731 (__strcspn_c2): Likewise.
18732 (__strcspn_c3): Likewise.
18733 (__strspn_c1): Likewise.
18734 (__strspn_c2): Likewise.
18735 (__strspn_c3): Likewise.
18736 (__strsep_1c): Likewise.
18737 (__strsep_2c): Likewise.
18738 (__strsep_3c): Likewise.
18739 * string/memccpy.c (__memccpy): Likewise.
18740 * string/stpcpy.c (__stpcpy): Likewise.
18741 * string/strcmp.c (strcmp): Likewise.
18742 * string/strrchr.c (strrchr): Likewise.
18743 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18745 * sysdeps/mach/hurd/getcwd.c
18746 (_hurd_canonicalize_directory_name_internal): Likewise.
18747 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18748 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18749 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18750 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18751 Likewise, in both definitions.
18752 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18754 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18755 64] (__bswap_64): Likewise.
18756 * time/test_time.c (main): Likewise.
18757 * time/tzfile.c (__tzfile_read): Likewise.
18758 (__tzfile_compute): Likewise.
18759 * time/tzset.c (__tzset_parse_tz): Likewise.
18760 (tzset_internal): Likewise.
18761 (compute_change): Likewise.
18762 * wcsmbs/wcscat.c (__wcscat): Likewise.
18763 * wcsmbs/wcschr.c (wcschr): Likewise.
18764 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18765 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18766 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18767 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18768 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18769 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18770 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18771 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18772 * wcsmbs/wmemset.c (wmemset): Likewise.
18774 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18776 * scripts/config.guess: Update to version 2013-05-16.
18777 * scripts/config.sub: Update to version 2013-04-24.
18778 * scripts/install-sh: Update to version 2011-11-20.07.
18779 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18780 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18782 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18784 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18785 * elf/sln.c: Likewise.
18786 * hurd/hurd/ioctl.h: Likewise.
18787 * hurd/hurdmalloc.c: Likewise.
18788 * hurd/xattr.c: Likewise.
18789 * include/shlib-compat.h: Likewise.
18790 * inet/ruserpass.c: Likewise.
18791 * libio/iofgets_u.c: Likewise.
18792 * libio/iofgetws_u.c: Likewise.
18793 * locale/programs/ld-identification.c: Likewise.
18794 * locale/programs/ld-time.c: Likewise.
18795 * mach/msg-destroy.c: Likewise.
18796 * nss/nss_files/files-netgrp.c: Likewise.
18797 * resolv/res_data.c: Likewise.
18798 * soft-fp/op-1.h: Likewise.
18799 * soft-fp/op-2.h: Likewise.
18800 * soft-fp/op-4.h: Likewise.
18801 * soft-fp/op-common.h: Likewise.
18802 * stdio-common/printf_fphex.c: Likewise.
18803 * stdlib/strtod_l.c: Likewise.
18804 * sunrpc/rpc/clnt.h: Likewise.
18805 * sysdeps/generic/framestate.c: Likewise.
18806 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18807 * sysdeps/i386/bsd-setjmp.S: Likewise.
18808 * sysdeps/i386/__longjmp.S: Likewise.
18809 * sysdeps/i386/setjmp.S: Likewise.
18810 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18811 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18812 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18828 * sysdeps/ieee754/support.c: Likewise.
18829 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18830 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18831 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18832 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18833 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18834 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18835 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18836 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18837 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18838 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18839 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18840 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18841 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18842 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18843 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18844 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18845 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18848 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18850 * posix/transbug.c: Remove executable mode.
18852 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18854 * crypt/speeds.c: Remove trailing whitespace.
18855 * dlfcn/default.c: Likewise.
18856 * elf/ifuncdep2.c: Likewise.
18857 * elf/ifuncmain1.c: Likewise.
18858 * elf/ifuncmain1vis.c: Likewise.
18859 * elf/testobj.h: Likewise.
18860 * elf/tst-stackguard1.c: Likewise.
18861 * gmon/sys/gmon.h: Likewise.
18862 * hurd/hurdmsg.c: Likewise.
18863 * hurd/new-fd.c: Likewise.
18864 * hurd/ports-get.c: Likewise.
18865 * iconvdata/ibm1008_420.c: Likewise.
18866 * inet/tst-getni1.c: Likewise.
18867 * inet/tst-getni2.c: Likewise.
18868 * libio/ioungetc.c: Likewise.
18869 * libio/wfiledoalloc.c: Likewise.
18870 * manual/libm-err-tab.pl: Likewise.
18871 * math/w_dremf.c: Likewise.
18872 * misc/ftruncate.c: Likewise.
18873 * posix/bug-glob2.c: Likewise.
18874 * posix/tst-pcre.c: Likewise.
18875 * posix/wait4.c: Likewise.
18876 * resolv/README: Likewise.
18877 * resolv/res_debug.h: Likewise.
18878 * resolv/tst-inet_ntop.c: Likewise.
18879 * setjmp/bug269-setjmp.c: Likewise.
18880 * soft-fp/extended.h: Likewise.
18881 * soft-fp/op-1.h: Likewise.
18882 * soft-fp/op-2.h: Likewise.
18883 * soft-fp/op-4.h: Likewise.
18884 * soft-fp/op-8.h: Likewise.
18885 * soft-fp/testit.c: Likewise.
18886 * stdio-common/bug16.c: Likewise.
18887 * stdlib/random.c: Likewise.
18888 * sunrpc/rpcsvc/rquota.x: Likewise.
18889 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18890 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18891 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18892 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18893 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18894 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18895 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18896 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18897 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18898 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18899 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18900 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18901 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18902 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18903 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18904 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18905 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18906 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18907 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18908 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18909 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18910 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18911 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18912 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18916 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18918 * sysdeps/ieee754/s_lib_version.c: Likewise.
18919 * sysdeps/mach/hurd/check_fds.c: Likewise.
18920 * sysdeps/mach/hurd/getsockname.c: Likewise.
18921 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18922 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18923 * sysdeps/powerpc/bits/link.h: Likewise.
18924 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18925 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18926 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18927 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18928 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18929 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18930 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18931 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18932 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18933 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18934 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18935 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18936 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18937 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18938 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18939 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18940 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18941 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18942 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18943 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18944 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18945 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18946 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18947 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18948 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18949 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18950 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18951 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18952 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18953 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18954 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18955 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18956 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18957 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18958 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18959 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18960 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18961 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18962 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18963 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18964 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18965 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18966 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18967 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18968 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18969 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18970 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18971 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18972 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18973 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18976 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18977 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18978 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18979 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18980 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18981 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18982 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18983 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18984 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18985 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18986 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18987 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18988 * sysdeps/powerpc/sysdep.h: Likewise.
18989 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18990 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18991 * sysdeps/sh/dl-trampoline.S: Likewise.
18992 * sysdeps/sh/memset.S: Likewise.
18993 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18994 * sysdeps/sh/strlen.S: Likewise.
18995 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18996 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18997 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18998 * sysdeps/sparc/sparc32/rem.S: Likewise.
18999 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19000 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19001 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19002 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19003 * sysdeps/sparc/sparc32/urem.S: Likewise.
19004 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19005 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19006 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19007 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19008 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19009 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19010 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19011 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19012 * sysdeps/unix/bsd/times.c: Likewise.
19013 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19014 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19018 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19019 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19020 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19021 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19022 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19023 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19024 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19025 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19026 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19027 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19028 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19029 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19030 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19031 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19032 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19033 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19034 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19035 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19036 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19037 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19038 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19039 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19040 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19041 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19042 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19043 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19044 * sysdeps/x86_64/strcspn.S: Likewise.
19046 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19048 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19049 generated file. Regenerate properly from gen-translit.pl.
19050 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19051 locale/C-translit.h.
19053 2013-06-05 Andreas Schwab <schwab@suse.de>
19056 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19057 week as 6 instead of -1.
19058 * time/tst-strptime.c (day_tests): Add test case.
19060 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19062 * sysdeps/generic/math_private.h
19063 (libc_feholdexcept_setround_53bit): Replace with
19064 libc_feholdsetround_53bit.
19065 (libc_feupdateenv_53bit): Replace with
19066 libc_feresetround_53bit.
19067 (SET_RESTORE_ROUND_53BIT): Adjust.
19069 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19071 * string/test-strchrnul.c: Add copyright header.
19073 * posix/tst-getaddrinfo4.c: Increase test timeout.
19075 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19078 * math/libm-test.inc (MAX_EXP): Remove
19080 (ulp): Use MIN_EXP - MANT_DIG.
19081 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19083 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19085 * po/be.po: Revert last change.
19086 * po/zh_CN.po: Likewise.
19087 * po/header.pot: Likewise.
19089 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19091 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19092 link-libc-deps to empty as target-specific variable.
19093 * Makerules (link-libc-args): New variable.
19094 (libc-for-link): Likewise.
19095 (link-libc-deps): Likewise.
19096 (lib%.so): Depend on $(link-libc-deps). Link with
19098 (build-module): Link with $(link-libc-args).
19099 (build-module-asneeded): Likewise.
19100 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19102 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19103 target-specific variable.
19104 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19105 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19106 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19108 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19110 ($(objpfx)libpcprofile.so): Likewise.
19111 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19113 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19114 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19115 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19117 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19118 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19119 * login/Makefile ($(objpfx)libutil.so): Likewise.
19120 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19121 * math/Makefile ($(objpfx)libm.so): Likewise.
19122 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19123 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19124 variable instead of depending directly on libc.
19125 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19126 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19128 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19130 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19131 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19132 ($(objpfx)libanl.so): Likewise.
19133 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19135 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19137 * sysdeps/i386/fpu/Makefile: Remove file.
19138 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19139 ($(objpfx)libm.so): Remove dependency on ld.so.
19141 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19144 * nis/yp_xdr.c (XDRMAXNAME): Define.
19145 (XDRMAXRECORD): Define.
19146 (xdr_domainname): Use XDRMAXNAME.
19147 (xdr_mapname): Likewise.
19148 (xdr_peername): Likewise.
19149 (xdr_keydat): Use XDRMAXRECORD.
19150 (xdr_valdat): Likewise.
19152 2013-05-30 Jeff Law <law@redhat.com>
19155 * manual/errno.texi (ESTALE): Update to account for more than
19156 just NFS file systems.
19157 * sysdeps/gnu/errlist.c: Regenerated.
19159 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19162 * elf/Makefile (tests): Add tst-null-argv.
19163 (modules-names): Add tst-null-argv-lib.
19164 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19165 (tst-null-argv-ENV): Set environment for tst-null-argv.
19166 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19167 (RTLD_PROGNAME): New macro.
19168 * elf/tst-null-argv.c: New test case.
19169 * elf/tst-null-argv-lib.c: Library for test case.
19170 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19171 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19172 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19173 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19174 * elf/dl-init.c (call_init): Likewise.
19175 (_dl_init): Likewise.
19176 * elf/dl-load.c (print_search_path): Likewise.
19177 (_dl_map_object): Likewise.
19178 * elf/dl-lookup.c (do_lookup_x): Likewise.
19179 (add_dependency): Likewise.
19180 (_dl_lookup_symbol_x): Likewise.
19181 (_dl_debug_bindings): Likewise.
19182 * elf/dl-open.c (_dl_show_scope): Likewise.
19183 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19184 * elf/dl-version.c (match_symbol): Likewise.
19185 (_dl_check_map_versions): Likewise.
19186 * elf/rtld.c (dl_main): Likewise.
19187 (print_unresolved): Use RTLD_PROGNAME.
19188 (print_missing_version): Likewise.
19189 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19190 (elf_machine_rela): Likewise.
19191 * sysdeps/powerpc/powerpc32/dl-machine.c
19192 (__process_machine_rela): Likewise.
19193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19195 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19197 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19199 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19200 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19202 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19204 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19206 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19208 * po/be.po: Add descriptive title.
19209 * po/zh_CN.po: Likewise.
19210 * po/header.pot: Likewise.
19212 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19214 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19216 (enlarge_archive): Likewise.
19218 2013-05-28 Ben North <ben@redfrontdoor.org>
19220 * manual/arith.texi (frexp): It is the magnitude of the return
19221 value which lies in [0.5, 1), not the return value itself.
19223 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19227 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19229 * stdio-common/bug26.c (main): Correct fscanf template.
19231 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19232 declare _dl_skip_args.
19234 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19237 * manual/platform.texi: Add missing @end deftypefun.
19239 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19242 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19243 bit of mantissa of 2^16382.
19244 * math/libm-test.inc (hypot_test_data): Add more tests.
19246 * math/libm-test.inc: Add drem and pow10 to list of tested
19248 (pow10_test): New function.
19249 (drem_test): Likewise.
19250 (drem_test_tonearest): Likewise.
19251 (drem_test_towardzero): Likewise.
19252 (drem_test_downward): Likewise.
19253 (drem_test_upward): Likewise.
19254 (main): Call the new functions.
19256 * math/libm-test.inc (finite_test_data): Remove.
19257 (finite_test): Run tests from isfinite_test_data.
19258 (gamma_test_data): Remove.
19259 (gamma_test): Run tests from lgamma_test_data.
19260 * sysdeps/i386/fpu/libm-test-ulps: Update.
19261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19263 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19265 * manual/platform.texi: Add PowerPC PPR function set documentation.
19266 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19269 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19271 * math/libm-test.inc (MAX_EXP): Define.
19273 (ulp): New function.
19274 (check_float_internal): Use ULPDIFF.
19275 (cpow_test): Disable failing test.
19276 (check_ulp): Test ulp() implemetnation.
19277 (main): Call check_ulp before starting tests.
19279 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19281 * math/gen-libm-test.pl (generate_testfile): Do not handle
19282 START_DATA and END_DATA.
19283 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19285 (acos_tonearest_test_data): Likewise.
19286 (acos_towardzero_test_data): Likewise.
19287 (acos_downward_test_data): Likewise.
19288 (acos_upward_test_data): Likewise.
19289 (acosh_test_data): Likewise.
19290 (asin_test_data): Likewise.
19291 (asin_tonearest_test_data): Likewise.
19292 (asin_towardzero_test_data): Likewise.
19293 (asin_downward_test_data): Likewise.
19294 (asin_upward_test_data): Likewise.
19295 (asinh_test_data): Likewise.
19296 (atan_test_data): Likewise.
19297 (atanh_test_data): Likewise.
19298 (atan2_test_data): Likewise.
19299 (cabs_test_data): Likewise.
19300 (cacos_test_data): Likewise.
19301 (cacosh_test_data): Likewise.
19302 (carg_test_data): Likewise.
19303 (casin_test_data): Likewise.
19304 (casinh_test_data): Likewise.
19305 (catan_test_data): Likewise.
19306 (catanh_test_data): Likewise.
19307 (cbrt_test_data): Likewise.
19308 (ccos_test_data): Likewise.
19309 (ccosh_test_data): Likewise.
19310 (ceil_test_data): Likewise.
19311 (cexp_test_data): Likewise.
19312 (cimag_test_data): Likewise.
19313 (clog_test_data): Likewise.
19314 (clog10_test_data): Likewise.
19315 (conj_test_data): Likewise.
19316 (copysign_test_data): Likewise.
19317 (cos_test_data): Likewise.
19318 (cos_tonearest_test_data): Likewise.
19319 (cos_towardzero_test_data): Likewise.
19320 (cos_downward_test_data): Likewise.
19321 (cos_upward_test_data): Likewise.
19322 (cosh_test_data): Likewise.
19323 (cosh_tonearest_test_data): Likewise.
19324 (cosh_towardzero_test_data): Likewise.
19325 (cosh_downward_test_data): Likewise.
19326 (cosh_upward_test_data): Likewise.
19327 (cpow_test_data): Likewise.
19328 (cproj_test_data): Likewise.
19329 (creal_test_data): Likewise.
19330 (csin_test_data): Likewise.
19331 (csinh_test_data): Likewise.
19332 (csqrt_test_data): Likewise.
19333 (ctan_test_data): Likewise.
19334 (ctan_tonearest_test_data): Likewise.
19335 (ctan_towardzero_test_data): Likewise.
19336 (ctan_downward_test_data): Likewise.
19337 (ctan_upward_test_data): Likewise.
19338 (ctanh_test_data): Likewise.
19339 (ctanh_tonearest_test_data): Likewise.
19340 (ctanh_towardzero_test_data): Likewise.
19341 (ctanh_downward_test_data): Likewise.
19342 (ctanh_upward_test_data): Likewise.
19343 (erf_test_data): Likewise.
19344 (erfc_test_data): Likewise.
19345 (exp_test_data): Likewise.
19346 (exp_tonearest_test_data): Likewise.
19347 (exp_towardzero_test_data): Likewise.
19348 (exp_downward_test_data): Likewise.
19349 (exp_upward_test_data): Likewise.
19350 (exp10_test_data): Likewise.
19351 (exp2_test_data): Likewise.
19352 (expm1_test_data): Likewise.
19353 (fabs_test_data): Likewise.
19354 (fdim_test_data): Likewise.
19355 (finite_test_data): Likewise.
19356 (floor_test_data): Likewise.
19357 (fma_test_data): Likewise.
19358 (fma_towardzero_test_data): Likewise.
19359 (fma_downward_test_data): Likewise.
19360 (fma_upward_test_data): Likewise.
19361 (fmax_test_data): Likewise.
19362 (fmin_test_data): Likewise.
19363 (fmod_test_data): Likewise.
19364 (fpclassify_test_data): Likewise.
19365 (frexp_test_data): Likewise.
19366 (gamma_test_data): Likewise.
19367 (hypot_test_data): Likewise.
19368 (ilogb_test_data): Likewise.
19369 (isfinite_test_data): Likewise.
19370 (isgreater_test_data): Likewise.
19371 (isgreaterequal_test_data): Likewise.
19372 (isinf_test_data): Likewise.
19373 (isless_test_data): Likewise.
19374 (islessequal_test_data): Likewise.
19375 (islessgreater_test_data): Likewise.
19376 (isnan_test_data): Likewise.
19377 (isnormal_test_data): Likewise.
19378 (issignaling_test_data): Likewise.
19379 (isunordered_test_data): Likewise.
19380 (j0_test_data): Likewise.
19381 (j1_test_data): Likewise.
19382 (jn_test_data): Likewise.
19383 (ldexp_test_data): Likewise.
19384 (lgamma_test_data): Likewise.
19385 (lrint_test_data): Likewise.
19386 (lrint_tonearest_test_data): Likewise.
19387 (lrint_towardzero_test_data): Likewise.
19388 (lrint_downward_test_data): Likewise.
19389 (lrint_upward_test_data): Likewise.
19390 (llrint_test_data): Likewise.
19391 (llrint_tonearest_test_data): Likewise.
19392 (llrint_towardzero_test_data): Likewise.
19393 (llrint_downward_test_data): Likewise.
19394 (llrint_upward_test_data): Likewise.
19395 (log_test_data): Likewise.
19396 (log10_test_data): Likewise.
19397 (log1p_test_data): Likewise.
19398 (log2_test_data): Likewise.
19399 (logb_test_data): Likewise.
19400 (logb_downward_test_data): Likewise.
19401 (lround_test_data): Likewise.
19402 (llround_test_data): Likewise.
19403 (modf_test_data): Likewise.
19404 (nearbyint_test_data): Likewise.
19405 (nextafter_test_data): Likewise.
19406 (nexttoward_test_data): Likewise.
19407 (pow_test_data): Likewise.
19408 (pow_tonearest_test_data): Likewise.
19409 (pow_towardzero_test_data): Likewise.
19410 (pow_downward_test_data): Likewise.
19411 (pow_upward_test_data): Likewise.
19412 (remainder_test_data): Likewise.
19413 (remainder_tonearest_test_data): Likewise.
19414 (remainder_towardzero_test_data): Likewise.
19415 (remainder_downward_test_data): Likewise.
19416 (remainder_upward_test_data): Likewise.
19417 (remquo_test_data): Likewise.
19418 (rint_test_data): Likewise.
19419 (rint_tonearest_test_data): Likewise.
19420 (rint_towardzero_test_data): Likewise.
19421 (rint_downward_test_data): Likewise.
19422 (rint_upward_test_data): Likewise.
19423 (round_test_data): Likewise.
19424 (scalb_test_data): Likewise.
19425 (scalbn_test_data): Likewise.
19426 (scalbln_test_data): Likewise.
19427 (signbit_test_data): Likewise.
19428 (sin_test_data): Likewise.
19429 (sin_tonearest_test_data): Likewise.
19430 (sin_towardzero_test_data): Likewise.
19431 (sin_downward_test_data): Likewise.
19432 (sin_upward_test_data): Likewise.
19433 (sincos_test_data): Likewise.
19434 (sinh_test_data): Likewise.
19435 (sinh_tonearest_test_data): Likewise.
19436 (sinh_towardzero_test_data): Likewise.
19437 (sinh_downward_test_data): Likewise.
19438 (sinh_upward_test_data): Likewise.
19439 (sqrt_test_data): Likewise.
19440 (tan_test_data): Likewise.
19441 (tan_tonearest_test_data): Likewise.
19442 (tan_towardzero_test_data): Likewise.
19443 (tan_downward_test_data): Likewise.
19444 (tan_upward_test_data): Likewise.
19445 (tanh_test_data): Likewise.
19446 (tgamma_test_data): Likewise.
19447 (trunc_test_data): Likewise.
19448 (y0_test_data): Likewise.
19449 (y1_test_data): Likewise.
19450 (yn_test_data): Likewise.
19451 (significand_test_data): Likewise.
19453 * math/gen-libm-test.pl (@functions): Remove variable.
19454 (generate_testfile): Don't handle START and END lines.
19455 * math/libm-test.inc (START): New macro.
19457 (END_COMPLEX): Likewise.
19458 (acos_test): Use END macro without arguments.
19459 (acos_test_tonearest): Likewise.
19460 (acos_test_towardzero): Likewise.
19461 (acos_test_downward): Likewise.
19462 (acos_test_upward): Likewise.
19463 (acosh_test): Likewise.
19464 (asin_test): Likewise.
19465 (asin_test_tonearest): Likewise.
19466 (asin_test_towardzero): Likewise.
19467 (asin_test_downward): Likewise.
19468 (asin_test_upward): Likewise.
19469 (asinh_test): Likewise.
19470 (atan_test): Likewise.
19471 (atanh_test): Likewise.
19472 (atan2_test): Likewise.
19473 (cabs_test): Likewise.
19474 (cacos_test): Use END_COMPLEX macro without arguments.
19475 (cacosh_test): Likewise.
19476 (carg_test): Use END macro without arguments.
19477 (casin_test): Use END_COMPLEX macro without arguments.
19478 (casinh_test): Likewise.
19479 (catan_test): Likewise.
19480 (catanh_test): Likewise.
19481 (cbrt_test): Use END macro without arguments.
19482 (ccos_test): Use END_COMPLEX macro without arguments.
19483 (ccosh_test): Likewise.
19484 (ceil_test): Use END macro without arguments.
19485 (cexp_test): Use END_COMPLEX macro without arguments.
19486 (cimag_test): Use END macro without arguments.
19487 (clog_test): Use END_COMPLEX macro without arguments.
19488 (clog10_test): Likewise.
19489 (conj_test): Likewise.
19490 (copysign_test): Use END macro without arguments.
19491 (cos_test): Likewise.
19492 (cos_test_tonearest): Likewise.
19493 (cos_test_towardzero): Likewise.
19494 (cos_test_downward): Likewise.
19495 (cos_test_upward): Likewise.
19496 (cosh_test): Likewise.
19497 (cosh_test_tonearest): Likewise.
19498 (cosh_test_towardzero): Likewise.
19499 (cosh_test_downward): Likewise.
19500 (cosh_test_upward): Likewise.
19501 (cpow_test): Use END_COMPLEX macro without arguments.
19502 (cproj_test): Likewise.
19503 (creal_test): Use END macro without arguments.
19504 (csin_test): Use END_COMPLEX macro without arguments.
19505 (csinh_test): Likewise.
19506 (csqrt_test): Likewise.
19507 (ctan_test): Likewise.
19508 (ctan_test_tonearest): Likewise.
19509 (ctan_test_towardzero): Likewise.
19510 (ctan_test_downward): Likewise.
19511 (ctan_test_upward): Likewise.
19512 (ctanh_test): Likewise.
19513 (ctanh_test_tonearest): Likewise.
19514 (ctanh_test_towardzero): Likewise.
19515 (ctanh_test_downward): Likewise.
19516 (ctanh_test_upward): Likewise.
19517 (erf_test): Use END macro without arguments.
19518 (erfc_test): Likewise.
19519 (exp_test): Likewise.
19520 (exp_test_tonearest): Likewise.
19521 (exp_test_towardzero): Likewise.
19522 (exp_test_downward): Likewise.
19523 (exp_test_upward): Likewise.
19524 (exp10_test): Likewise.
19525 (exp2_test): Likewise.
19526 (expm1_test): Likewise.
19527 (fabs_test): Likewise.
19528 (fdim_test): Likewise.
19529 (finite_test): Likewise.
19530 (floor_test): Likewise.
19531 (fma_test): Likewise.
19532 (fma_test_towardzero): Likewise.
19533 (fma_test_downward): Likewise.
19534 (fma_test_upward): Likewise.
19535 (fmax_test): Likewise.
19536 (fmin_test): Likewise.
19537 (fmod_test): Likewise.
19538 (fpclassify_test): Likewise.
19539 (frexp_test): Likewise.
19540 (gamma_test): Likewise.
19541 (hypot_test): Likewise.
19542 (ilogb_test): Likewise.
19543 (isfinite_test): Likewise.
19544 (isgreater_test): Likewise.
19545 (isgreaterequal_test): Likewise.
19546 (isinf_test): Likewise.
19547 (isless_test): Likewise.
19548 (islessequal_test): Likewise.
19549 (islessgreater_test): Likewise.
19550 (isnan_test): Likewise.
19551 (isnormal_test): Likewise.
19552 (issignaling_test): Likewise.
19553 (isunordered_test): Likewise.
19554 (j0_test): Likewise.
19555 (j1_test): Likewise.
19556 (jn_test): Likewise.
19557 (ldexp_test): Likewise.
19558 (lgamma_test): Likewise.
19559 (lrint_test): Likewise.
19560 (lrint_test_tonearest): Likewise.
19561 (lrint_test_towardzero): Likewise.
19562 (lrint_test_downward): Likewise.
19563 (lrint_test_upward): Likewise.
19564 (llrint_test): Likewise.
19565 (llrint_test_tonearest): Likewise.
19566 (llrint_test_towardzero): Likewise.
19567 (llrint_test_downward): Likewise.
19568 (llrint_test_upward): Likewise.
19569 (log_test): Likewise.
19570 (log10_test): Likewise.
19571 (log1p_test): Likewise.
19572 (log2_test): Likewise.
19573 (logb_test): Likewise.
19574 (logb_test_downward): Likewise.
19575 (lround_test): Likewise.
19576 (llround_test): Likewise.
19577 (modf_test): Likewise.
19578 (nearbyint_test): Likewise.
19579 (nextafter_test): Likewise.
19580 (nexttoward_test): Likewise.
19581 (pow_test): Likewise.
19582 (pow_test_tonearest): Likewise.
19583 (pow_test_towardzero): Likewise.
19584 (pow_test_downward): Likewise.
19585 (pow_test_upward): Likewise.
19586 (remainder_test): Likewise.
19587 (remainder_test_tonearest): Likewise.
19588 (remainder_test_towardzero): Likewise.
19589 (remainder_test_downward): Likewise.
19590 (remainder_test_upward): Likewise.
19591 (remquo_test): Likewise.
19592 (rint_test): Likewise.
19593 (rint_test_tonearest): Likewise.
19594 (rint_test_towardzero): Likewise.
19595 (rint_test_downward): Likewise.
19596 (rint_test_upward): Likewise.
19597 (round_test): Likewise.
19598 (scalb_test): Likewise.
19599 (scalbn_test): Likewise.
19600 (scalbln_test): Likewise.
19601 (signbit_test): Likewise.
19602 (sin_test): Likewise.
19603 (sin_test_tonearest): Likewise.
19604 (sin_test_towardzero): Likewise.
19605 (sin_test_downward): Likewise.
19606 (sin_test_upward): Likewise.
19607 (sincos_test): Likewise.
19608 (sinh_test): Likewise.
19609 (sinh_test_tonearest): Likewise.
19610 (sinh_test_towardzero): Likewise.
19611 (sinh_test_downward): Likewise.
19612 (sinh_test_upward): Likewise.
19613 (sqrt_test): Likewise.
19614 (tan_test): Likewise.
19615 (tan_test_tonearest): Likewise.
19616 (tan_test_towardzero): Likewise.
19617 (tan_test_downward): Likewise.
19618 (tan_test_upward): Likewise.
19619 (tanh_test): Likewise.
19620 (tgamma_test): Likewise.
19621 (trunc_test): Likewise.
19622 (y0_test): Likewise.
19623 (y1_test): Likewise.
19624 (yn_test): Likewise.
19625 (significand_test): Likewise.
19627 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19630 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19632 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19635 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19636 __ppc_mdoio and __ppc_mdoom.
19637 * manual/platform.texi: Document new functions __ppc_yield,
19638 __ppc_mdoio and __ppc_mdoom.
19640 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19642 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19643 (main): Mention "tls" pseudo-hwcap is legacy.
19644 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19646 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19648 * math/gen-libm-test.pl (parse_args): Output only string of
19649 arguments as text for test name, not full call or descriptions of
19650 tests for extra outputs.
19651 (generate_testfile): Do not pass function name to parse_args.
19652 Generate this_func variable from START.
19653 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19655 (struct test_ff_f_data): Likewise.
19656 (test_ff_f_data_nexttoward): Likewise.
19657 (struct test_fi_f_data): Likewise.
19658 (struct test_fl_f_data): Likewise.
19659 (struct test_if_f_data): Likewise.
19660 (struct test_fff_f_data): Likewise.
19661 (struct test_c_f_data): Likewise.
19662 (struct test_f_f1_data): Likewise. Remove field extra_name.
19663 (struct test_fF_f1_data): Likewise.
19664 (struct test_ffI_f1_data): Likewise.
19665 (struct test_c_c_data): Rename test_name field to arg_str.
19666 (struct test_cc_c_data): Likewise.
19667 (struct test_f_i_data): Likewise.
19668 (struct test_ff_i_data): Likewise.
19669 (struct test_f_l_data): Likewise.
19670 (struct test_f_L_data): Likewise.
19671 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19673 (COMMON_TEST_SETUP): New macro.
19674 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19675 (COMMON_TEST_CLEANUP): Likewise.
19676 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19677 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19679 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19680 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19682 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19683 (RUN_TEST_fff_f): Take argument string. Call new setup and
19685 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19686 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19688 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19689 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19691 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19692 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19694 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19695 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19697 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19698 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19700 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19701 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19703 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19704 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19706 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19707 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19709 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19710 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19712 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19713 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19715 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19716 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19718 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19719 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19721 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19722 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19724 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19725 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19727 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19728 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19730 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19732 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19734 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19735 to _sifields.sigfault.
19736 (si_addr_lsb): Define new macro.
19737 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19738 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19739 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19741 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19744 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19746 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19748 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19749 loading the domain.
19751 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19753 * math/gen-libm-test.pl (parse_args): Do not include expected
19754 result in test name.
19755 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19756 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19757 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19758 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19759 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19762 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19764 * benchtests/Makefile: Sort function entries.
19766 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19767 tanh, asinh, acosh, atanh.
19768 * benchtests/acos-inputs: New file.
19769 * benchtests/acosh-inputs: New file.
19770 * benchtests/asin-inputs: New file.
19771 * benchtests/asinh-inputs: New file.
19772 * benchtests/atanh-inputs: New file.
19773 * benchtests/cosh-inputs: New file.
19774 * benchtests/log-inputs: New file.
19775 * benchtests/sinh-inputs: New file.
19776 * benchtests/tanh-inputs: New file.
19778 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19781 * posix/tst-getaddrinfo4.c: New test.
19782 * posix/Makefile (tests): Add it.
19784 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19787 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19788 when no services were used.
19789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19790 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19792 2013-05-21 Andreas Schwab <schwab@suse.de>
19795 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19796 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19798 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19799 redundant variable declarations and reallocation of buffer when
19800 parsing as IPv6 address. Always set NSS status when called from
19801 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19802 buffer too small. Correct computation of needed size.
19803 * nss/Makefile (tests): Add test-digits-dots.
19804 * nss/test-digits-dots.c: New test.
19806 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19808 * benchtests/Makefile: Remove instructions for adding
19810 * benchtests/README: New file to explain how to execute and
19811 enhance the benchmark tests.
19813 2013-05-21 Andreas Schwab <schwab@suse.de>
19816 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19817 * setjmp/tst-sigsetjmp.c: New test.
19819 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19821 * sysdeps/x86_64/memset.S (memset): New implementation.
19822 (__bzero): Likewise.
19823 (__memset_tail): New function.
19825 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19827 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19828 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19829 __memcpy_sse2_unaligned ifunc selection.
19830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19831 Add memcpy-sse2-unaligned.S.
19832 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19833 Add: __memcpy_sse2_unaligned.
19835 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19838 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19839 math_force_eval before restoring floating-point envrionment.
19840 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19841 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19843 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19845 (__nearbyintl): Use math_force_eval before restoring
19846 floating-point environment.
19847 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19849 * math/gen-libm-test.pl (special_functions): Remove.
19850 (parse_args): Don't handle TEST_extra. Handle functions with no
19852 * math/libm-test.inc (struct test_sincos_data): Replace with
19853 struct test_fFF_11_data.
19854 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19855 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19856 (sincos_test_data): Change element type to struct
19857 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19858 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19859 RUN_TEST_LOOP_sincos.
19860 * math/README.libm-test: Don't mention special handling of
19861 individual functions.
19862 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19863 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19864 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19865 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19866 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19869 * math/gen-libm-test.pl (get_variable): Remove function.
19870 (parse_args): Don't show pointer parameters to call in test
19871 names. Use "extra output N" in test names for extra outputs
19872 rather than naming variables.
19874 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19877 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19878 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19879 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19881 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19883 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19886 * math/gen-libm-test.pl (@tests): Remove variable.
19887 ($count): Likewise.
19888 (new_test): Remove function.
19889 (show_exceptions): New function.
19890 (special_functions): Use show_exceptions instead of new_test.
19891 (parse_args): Likewise.
19892 (generate_testfile): Pass only function name in generated call to
19893 print_max_error or print_complex_max_error.
19894 (get_ulps): Do not handle complex tests specially.
19895 (output_test): Rename to ...
19896 (get_all_ulps_for_test): ... this. Return a string rather than
19897 printing to a file. Require ulps to be present.
19898 (output_ulps): Generate arrays rather than #defines.
19899 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19900 (struct ulp_data): New type.
19901 (BUILD_COMPLEX_ULP): Remove macro.
19902 (compare_ulp_data): New function.
19903 (find_ulps): Likewise.
19904 (find_test_ulps): Likewise.
19905 (find_function_ulps): Likewise.
19906 (find_complex_function_ulps): Likewise.
19907 (print_max_error): Determine allowed ulps using
19908 find_function_ulps.
19909 (print_complex_max_error): Determine allowed ulps using
19910 find_complex_function_ulps.
19911 (check_float_internal): Determine max ulps using find_test_ulps.
19912 (check_float): Do not take max_ulp parameter. Update call to
19913 check_float_internal.
19914 (check_complex): Likewise.
19915 (check_int): Do not take max_ulp parameter.
19916 (check_long): Likewise.
19917 (check_bool): Likewise.
19918 (check_longlong): Likewise.
19919 (struct test_f_f_data): Remove max_ulp field.
19920 (struct test_ff_f_data): Likewise.
19921 (struct test_ff_f_data_nexttoward): Likewise.
19922 (struct test_fi_f_data): Likewise.
19923 (struct test_fl_f_data): Likewise.
19924 (struct test_if_f_data): Likewise.
19925 (struct test_fff_f_data): Likewise.
19926 (struct test_c_f_data): Likewise.
19927 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19928 (struct test_fF_f1_data): Likewise.
19929 (struct test_ffI_f1_data): Likewise.
19930 (struct test_c_c_data): Remove max_ulp field.
19931 (struct test_cc_c_data): Likewise.
19932 (struct test_f_i_data): Likewise.
19933 (struct test_ff_i_data): Likewise.
19934 (struct test_f_l_data): Likewise.
19935 (struct test_f_L_data): Likewise.
19936 (struct test_sincos_data): Likewise.
19937 (RUN_TEST_f_f): Do not handle ulps.
19938 (RUN_TEST_LOOP_f_f): Likewise.
19939 (RUN_TEST_2_f): Likewise.
19940 (RUN_TEST_LOOP_2_f): Likewise.
19941 (RUN_TEST_fff_f): Likewise.
19942 (RUN_TEST_LOOP_fff_f): Likewise.
19943 (RUN_TEST_c_f): Likewise.
19944 (RUN_TEST_LOOP_c_f): Likewise.
19945 (RUN_TEST_f_f1): Likewise.
19946 (RUN_TEST_LOOP_f_f1): Likewise.
19947 (RUN_TEST_fF_f1): Likewise.
19948 (RUN_TEST_LOOP_fF_f1): Likewise.
19949 (RUN_TEST_fI_f1): Likewise.
19950 (RUN_TEST_LOOP_fI_f1): Likewise.
19951 (RUN_TEST_ffI_f1): Likewise.
19952 (RUN_TEST_LOOP_ffI_f1): Likewise.
19953 (RUN_TEST_c_c): Likewise.
19954 (RUN_TEST_LOOP_c_c): Likewise.
19955 (RUN_TEST_cc_c): Likewise.
19956 (RUN_TEST_LOOP_cc_c): Likewise.
19957 (RUN_TEST_f_i): Likewise.
19958 (RUN_TEST_LOOP_f_i): Likewise.
19959 (RUN_TEST_f_i_tg): Likewise.
19960 (RUN_TEST_LOOP_f_i_tg): Likewise.
19961 (RUN_TEST_ff_i_tg): Likewise.
19962 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19963 (RUN_TEST_f_b): Likewise.
19964 (RUN_TEST_LOOP_f_b): Likewise.
19965 (RUN_TEST_f_b_tg): Likewise.
19966 (RUN_TEST_LOOP_f_b_tg): Likewise.
19967 (RUN_TEST_f_l): Likewise.
19968 (RUN_TEST_LOOP_f_l): Likewise.
19969 (RUN_TEST_f_L): Likewise.
19970 (RUN_TEST_LOOP_f_L): Likewise.
19971 (RUN_TEST_sincos): Likewise.
19972 (RUN_TEST_LOOP_sincos): Likewise.
19974 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19978 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19979 main case of finite arguments, set rounding mode to FE_TONEAREST
19980 and discard exceptions.
19981 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19983 (remainder_tonearest_test_data): New variable.
19984 (remainder_test_tonearest): New function.
19985 (remainder_towardzero_test_data): New variable.
19986 (remainder_test_towardzero): New function.
19987 (remainder_downward_test_data): New variable.
19988 (remainder_test_downward): New function.
19989 (remainder_upward_test_data): New variable.
19990 (remainder_test_upward): New function.
19991 (main): Call the new test functions.
19993 * math/libm-test.inc (struct test_f_f1_data): Remove field
19995 (struct test_fF_f1_data): Likewise.
19996 (struct test_ffI_f1_data): Likewise.
19997 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19998 based on value of EXTRA_EXPECTED.
19999 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20000 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20001 EXTRA_VAR based on value of EXTRA_EXPECTED.
20002 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20003 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20004 EXTRA_VAR based on value of EXTRA_EXPECTED.
20005 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20006 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20007 EXTRA_VAR based on value of EXTRA_EXPECTED.
20008 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20009 * math/gen-libm-test.pl (parse_args): Don't output initializers
20010 for extra output values.
20012 * math/libm-test.inc (check_int): Expect result to be exactly
20013 equal to expected value and do not handle ulps.
20014 (check_long): Likewise.
20015 (check_longlong): Likewise.
20017 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20019 (cimag_test_data): Likewise.
20020 (conj_test_data): Likewise.
20021 (copysign_test_data): Likewise.
20022 (cproj_test_data): Likewise.
20023 (creal_test_data): Likewise.
20024 (fabs_test_data): Likewise.
20025 (fdim_test_data): Likewise.
20026 (finite_test_data): Likewise.
20027 (floor_test_data): Likewise.
20028 (fmax_test_data): Likewise.
20029 (fmin_test_data): Likewise.
20030 (fmod_test_data): Likewise.
20031 (fpclassify_test_data): Likewise.
20032 (frexp_test_data): Likewise.
20033 (ilogb_test_data): Likewise.
20034 (isfinite_test_data): Likewise.
20035 (isgreater_test_data): Likewise.
20036 (isgreaterequal_test_data): Likewise.
20037 (isinf_test_data): Likewise.
20038 (isless_test_data): Likewise.
20039 (islessequal_test_data): Likewise.
20040 (islessgreater_test_data): Likewise.
20041 (isnan_test_data): Likewise.
20042 (isnormal_test_data): Likewise.
20043 (issignaling_test_data): Likewise.
20044 (isunordered_test_data): Likewise.
20045 (ldexp_test_data): Likewise.
20046 (lrint_test_data): Likewise.
20047 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20048 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20049 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20050 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20051 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20052 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20054 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20055 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20056 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20057 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20059 (lrint_downward_test_data): Test for "inexact" exceptions.
20060 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20061 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20062 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20064 (lrint_upward_test_data): Test for "inexact" exceptions.
20065 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20067 (llrint_test_data): Test for "inexact" exceptions.
20068 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20069 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20070 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20071 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20072 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20073 (llrint_downward_test_data): Test for "inexact" exceptions.
20074 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20075 (llrint_upward_test_data): Test for "inexact" exceptions.
20076 (logb_test_data): Likewise.
20077 (logb_downward_test_data): Likewise.
20078 (nextafter_test_data): Likewise.
20079 (nexttoward_test_data): Likewise.
20080 (remainder_test_data): Likewise.
20081 (remquo_test_data): Likewise.
20082 (scalbn_test_data): Likewise.
20083 (scalbln_test_data): Likewise.
20084 (signbit_test_data): Likewise.
20085 (sqrt_test_data): Likewise.
20086 (significand_test_data): Likewise.
20088 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20091 * benchtests/bench-modf.c (struct args): Mark arg0 as
20093 * scripts/bench.pl: Mark members of struct args as volatile.
20095 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20098 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20099 negative infinity on POWER6 or lower.
20100 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20102 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20105 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20106 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20107 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20108 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20109 (_FP_SETQNAN): New macro.
20110 (_FP_SETQNAN_SEMIRAW): Likewise.
20111 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20112 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20113 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20114 (FP_EXTEND): Use _FP_FRAC_SNANP.
20115 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20116 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20118 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20120 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20123 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20125 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20126 with DIVIDE_BY_ZERO_EXCEPTION.
20127 (gamma_test_data): Likewise.
20128 (lgamma_test_data): Likewise.
20129 (log_test_data): Likewise.
20130 (log10_test_data): Likewise.
20131 (log2_test_data): Likewise.
20132 (tgamma_test_data): Likewise.
20134 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20135 (acos_test_tonearest): Likewise.
20136 (acos_test_towardzero): Likewise.
20137 (acos_test_downward): Likewise.
20138 (acos_test_upward): Likewise.
20139 (acosh_test): Likewise.
20140 (asin_test): Likewise.
20141 (asin_test_tonearest): Likewise.
20142 (asin_test_towardzero): Likewise.
20143 (asin_test_downward): Likewise.
20144 (asin_test_upward): Likewise.
20145 (asinh_test): Likewise.
20146 (atan_test): Likewise.
20147 (atanh_test): Likewise.
20148 (atan2_test): Likewise.
20149 (cabs_test): Likewise.
20150 (cacos_test): Likewise.
20151 (cacosh_test): Likewise.
20152 (casin_test): Likewise.
20153 (casinh_test): Likewise.
20154 (catan_test): Likewise.
20155 (catanh_test): Likewise.
20156 (cbrt_test): Likewise.
20157 (ccos_test): Likewise.
20158 (ccosh_test): Likewise.
20159 (cexp_test): Likewise.
20160 (clog_test): Likewise.
20161 (clog10_test): Likewise.
20162 (cos_test): Likewise.
20163 (cos_test_tonearest): Likewise.
20164 (cos_test_towardzero): Likewise.
20165 (cos_test_downward): Likewise.
20166 (cos_test_upward): Likewise.
20167 (cosh_test): Likewise.
20168 (cosh_test_tonearest): Likewise.
20169 (cosh_test_towardzero): Likewise.
20170 (cosh_test_downward): Likewise.
20171 (cosh_test_upward): Likewise.
20172 (cpow_test): Likewise.
20173 (csin_test): Likewise.
20174 (csinh_test): Likewise.
20175 (csqrt_test): Likewise.
20176 (ctan_test): Likewise.
20177 (ctan_test_tonearest): Likewise.
20178 (ctan_test_towardzero): Likewise.
20179 (ctan_test_downward): Likewise.
20180 (ctan_test_upward): Likewise.
20181 (ctanh_test): Likewise.
20182 (ctanh_test_tonearest): Likewise.
20183 (ctanh_test_towardzero): Likewise.
20184 (ctanh_test_downward): Likewise.
20185 (ctanh_test_upward): Likewise.
20186 (erf_test): Likewise.
20187 (erfc_test): Likewise.
20188 (exp_test): Likewise.
20189 (exp_test_tonearest): Likewise.
20190 (exp_test_towardzero): Likewise.
20191 (exp_test_downward): Likewise.
20192 (exp_test_upward): Likewise.
20193 (exp10_test): Likewise.
20194 (exp2_test): Likewise.
20195 (expm1_test): Likewise.
20196 (fmod_test): Likewise.
20197 (gamma_test): Likewise.
20198 (hypot_test): Likewise.
20199 (j0_test): Likewise.
20200 (j1_test): Likewise.
20201 (jn_test): Likewise.
20202 (lgamma_test): Likewise.
20203 (log_test): Likewise.
20204 (log10_test): Likewise.
20205 (log1p_test): Likewise.
20206 (log2_test): Likewise.
20207 (logb_test_downward): Likewise.
20208 (pow_test): Likewise.
20209 (pow_test_tonearest): Likewise.
20210 (pow_test_towardzero): Likewise.
20211 (pow_test_downward): Likewise.
20212 (pow_test_upward): Likewise.
20213 (remainder_test): Likewise.
20214 (remquo_test): Likewise.
20215 (sin_test): Likewise.
20216 (sin_test_tonearest): Likewise.
20217 (sin_test_towardzero): Likewise.
20218 (sin_test_downward): Likewise.
20219 (sin_test_upward): Likewise.
20220 (sincos_test): Likewise.
20221 (sinh_test): Likewise.
20222 (sinh_test_tonearest): Likewise.
20223 (sinh_test_towardzero): Likewise.
20224 (sinh_test_downward): Likewise.
20225 (sinh_test_upward): Likewise.
20226 (sqrt_test): Likewise.
20227 (tan_test): Likewise.
20228 (tan_test_tonearest): Likewise.
20229 (tan_test_towardzero): Likewise.
20230 (tan_test_downward): Likewise.
20231 (tan_test_upward): Likewise.
20232 (tanh_test): Likewise.
20233 (tgamma_test): Likewise.
20234 (y0_test): Likewise.
20235 (y1_test): Likewise.
20236 (yn_test): Likewise.
20238 * math/gen-libm-test.pl (adjust_arg): Remove function.
20239 (special_function): Remove argument $in_func. Only handle
20240 generating output for tables of tests, not inside functions.
20241 (parse_args): Likewise.
20242 (generate_testfile): Remove variable $in_func. Update call to
20244 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20245 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20246 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20247 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20248 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20249 (MAX_VALUE_INIT): Rename macro to max_value.
20250 (MIN_VALUE_INIT): Rename macro to min_value.
20251 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20252 (plus_zero): Remove variable.
20253 (minus_zero): Likewise.
20254 (plus_infty): Likewise.
20255 (minus_infty): Likewise.
20256 (qnan_value): Likewise.
20257 (max_value): Likewise.
20258 (min_value): Likewise.
20259 (min_subnorm_value): Likewise.
20261 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20263 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20264 uint64_t or uint32_t usage.
20265 * crypt/sha256-block.c: Likewise.
20266 * crypt/sha256-crypt.c: Likewise.
20267 * crypt/sha256.c: Likewise.
20268 * crypt/sha512-block.c: Likewise.
20269 * crypt/sha512-crypt.c: Likewise.
20270 * crypt/sha512.c: Likewise.
20271 * debug/backtrace-tst.c: Likewise.
20272 * debug/pcprofiledump.c: Likewise.
20273 * elf/cache.c: Likewise.
20274 * elf/dl-cache.c: Likewise.
20275 * elf/dl-misc.c: Likewise.
20276 * elf/dl-profile.c: Likewise.
20277 * elf/dl-support.c: Likewise.
20278 * elf/ldconfig.c: Likewise.
20279 * elf/sprof.c: Likewise.
20280 * iconv/dummy-repertoire.c: Likewise.
20281 * iconv/iconv_charmap.c: Likewise.
20282 * iconv/skeleton.c: Likewise.
20283 * iconvdata/8bit-generic.c: Likewise.
20284 * iconvdata/cp737.h: Likewise.
20285 * iconvdata/cp775.h: Likewise.
20286 * iconvdata/ibm1008.h: Likewise.
20287 * iconvdata/ibm1025.h: Likewise.
20288 * iconvdata/ibm1046.h: Likewise.
20289 * iconvdata/ibm1097.h: Likewise.
20290 * iconvdata/ibm1112.h: Likewise.
20291 * iconvdata/ibm1122.h: Likewise.
20292 * iconvdata/ibm1123.h: Likewise.
20293 * iconvdata/ibm1124.h: Likewise.
20294 * iconvdata/ibm1129.h: Likewise.
20295 * iconvdata/ibm1130.h: Likewise.
20296 * iconvdata/ibm1132.h: Likewise.
20297 * iconvdata/ibm1133.h: Likewise.
20298 * iconvdata/ibm1137.h: Likewise.
20299 * iconvdata/ibm1140.h: Likewise.
20300 * iconvdata/ibm1141.h: Likewise.
20301 * iconvdata/ibm1142.h: Likewise.
20302 * iconvdata/ibm1143.h: Likewise.
20303 * iconvdata/ibm1144.h: Likewise.
20304 * iconvdata/ibm1145.h: Likewise.
20305 * iconvdata/ibm1146.h: Likewise.
20306 * iconvdata/ibm1147.h: Likewise.
20307 * iconvdata/ibm1148.h: Likewise.
20308 * iconvdata/ibm1149.h: Likewise.
20309 * iconvdata/ibm1153.h: Likewise.
20310 * iconvdata/ibm1154.h: Likewise.
20311 * iconvdata/ibm1155.h: Likewise.
20312 * iconvdata/ibm1156.h: Likewise.
20313 * iconvdata/ibm1157.h: Likewise.
20314 * iconvdata/ibm1158.h: Likewise.
20315 * iconvdata/ibm1160.h: Likewise.
20316 * iconvdata/ibm1161.h: Likewise.
20317 * iconvdata/ibm1162.h: Likewise.
20318 * iconvdata/ibm1163.h: Likewise.
20319 * iconvdata/ibm1164.h: Likewise.
20320 * iconvdata/ibm1166.h: Likewise.
20321 * iconvdata/ibm1167.h: Likewise.
20322 * iconvdata/ibm12712.h: Likewise.
20323 * iconvdata/ibm1390.h: Likewise.
20324 * iconvdata/ibm1399.h: Likewise.
20325 * iconvdata/ibm16804.h: Likewise.
20326 * iconvdata/ibm4517.h: Likewise.
20327 * iconvdata/ibm4899.h: Likewise.
20328 * iconvdata/ibm4909.h: Likewise.
20329 * iconvdata/ibm4971.h: Likewise.
20330 * iconvdata/ibm5347.h: Likewise.
20331 * iconvdata/ibm803.h: Likewise.
20332 * iconvdata/ibm856.h: Likewise.
20333 * iconvdata/ibm901.h: Likewise.
20334 * iconvdata/ibm902.h: Likewise.
20335 * iconvdata/ibm9030.h: Likewise.
20336 * iconvdata/ibm9066.h: Likewise.
20337 * iconvdata/ibm921.h: Likewise.
20338 * iconvdata/ibm922.h: Likewise.
20339 * iconvdata/ibm9448.h: Likewise.
20340 * iconvdata/isiri-3342.h: Likewise.
20341 * iconvdata/jis0201.h: Likewise.
20342 * include/link.h: Likewise.
20343 * include/netdb.h: Likewise.
20344 * inet/check_native.c: Likewise.
20345 * inet/check_pf.c: Likewise.
20346 * inet/getipv4sourcefilter.c: Likewise.
20347 * inet/getnameinfo.c: Likewise.
20348 * inet/getsourcefilter.c: Likewise.
20349 * inet/htonl.c: Likewise.
20350 * inet/setipv4sourcefilter.c: Likewise.
20351 * inet/setsourcefilter.c: Likewise.
20352 * inet/test-inet6_opt.c: Likewise.
20353 * inet/tst-network.c: Likewise.
20354 * locale/C-collate.c: Likewise.
20355 * locale/C-ctype.c: Likewise.
20356 * locale/C-time.c: Likewise.
20357 * locale/C-translit.h: Likewise.
20358 * locale/loadarchive.c: Likewise.
20359 * locale/programs/3level.h: Likewise.
20360 * locale/programs/charmap.c: Likewise.
20361 * locale/programs/charmap.h: Likewise.
20362 * locale/programs/ld-address.c: Likewise.
20363 * locale/programs/ld-collate.c: Likewise.
20364 * locale/programs/ld-ctype.c: Likewise.
20365 * locale/programs/ld-identification.c: Likewise.
20366 * locale/programs/ld-measurement.c: Likewise.
20367 * locale/programs/ld-messages.c: Likewise.
20368 * locale/programs/ld-monetary.c: Likewise.
20369 * locale/programs/ld-name.c: Likewise.
20370 * locale/programs/ld-numeric.c: Likewise.
20371 * locale/programs/ld-paper.c: Likewise.
20372 * locale/programs/ld-telephone.c: Likewise.
20373 * locale/programs/ld-time.c: Likewise.
20374 * locale/programs/linereader.c: Likewise.
20375 * locale/programs/locale.c: Likewise.
20376 * locale/programs/locarchive.c: Likewise.
20377 * locale/programs/locfile.h: Likewise.
20378 * locale/programs/repertoire.c: Likewise.
20379 * locale/programs/simple-hash.c: Likewise.
20380 * locale/programs/simple-hash.h: Likewise.
20381 * malloc/memusage.c: Likewise.
20382 * malloc/memusagestat.c: Likewise.
20383 * nis/nis_defaults.c: Likewise.
20384 * nis/nis_hash.c: Likewise.
20385 * nis/nis_print.c: Likewise.
20386 * nis/nis_xdr.c: Likewise.
20387 * nscd/connections.c: Likewise.
20388 * nscd/hstcache.c: Likewise.
20389 * nscd/nscd_gethst_r.c: Likewise.
20390 * nscd/nscd_getserv_r.c: Likewise.
20391 * nscd/nscd_helper.c: Likewise.
20392 * nscd/servicescache.c: Likewise.
20393 * nss/makedb.c: Likewise.
20394 * nss/nss_db/db-XXX.c: Likewise.
20395 * nss/nss_db/db-initgroups.c: Likewise.
20396 * nss/nss_db/db-netgrp.c: Likewise.
20397 * nss/nss_files/files-network.c: Likewise.
20398 * nss/nss_files/files-parse.c: Likewise.
20399 * posix/bug-regex5.c: Likewise.
20400 * posix/fnmatch_loop.c: Likewise.
20401 * posix/regcomp.c: Likewise.
20402 * posix/regexec.c: Likewise.
20403 * posix/tst-rfc3484-2.c: Likewise.
20404 * posix/tst-rfc3484-3.c: Likewise.
20405 * posix/tst-rfc3484.c: Likewise.
20406 * resolv/nss_dns/dns-canon.c: Likewise.
20407 * resolv/nss_dns/dns-network.c: Likewise.
20408 * resolv/res_init.c: Likewise.
20409 * resolv/res_mkquery.c: Likewise.
20410 * resolv/tst-aton.c: Likewise.
20411 * stdlib/cxa_atexit.c: Likewise.
20412 * stdlib/cxa_finalize.c: Likewise.
20413 * stdlib/gen-fpioconst.c: Likewise.
20414 * stdlib/strtol_l.c: Likewise.
20415 * string/tst-endian.c: Likewise.
20416 * sunrpc/auth_des.c: Likewise.
20417 * sunrpc/clnt_udp.c: Likewise.
20418 * sunrpc/rtime.c: Likewise.
20419 * sunrpc/svcauth_des.c: Likewise.
20420 * sunrpc/xdr.c: Likewise.
20421 * sunrpc/xdr_intXX_t.c: Likewise.
20422 * sunrpc/xdr_rec.c: Likewise.
20423 * sysdeps/generic/ldconfig.h: Likewise.
20424 * sysdeps/generic/ldsodefs.h: Likewise.
20425 * sysdeps/generic/memusage.h: Likewise.
20426 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20427 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20428 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20429 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20430 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20432 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20433 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20434 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20435 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20436 * sysdeps/posix/getaddrinfo.c: Likewise.
20437 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20438 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20439 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20440 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20441 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20442 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20443 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20444 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20445 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20446 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20447 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20448 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20449 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20450 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20451 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20452 * sysdeps/x86_64/dl-tls.h: Likewise.
20453 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20454 * time/alt_digit.c: Likewise.
20455 * time/era.c: Likewise.
20456 * wcsmbs/tst-c16c32-1.c: Likewise.
20458 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20460 * math/libm-test.inc (struct test_sincos_data): New type.
20461 (RUN_TEST_LOOP_sincos): New macro.
20462 (sincos_test_data): New variable.
20463 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20465 2013-05-16 Richard Henderson <rth@redhat.com>
20467 * math/atest-exp2.c (LIMB64): New macro.
20468 (CONSTSZ): New macro.
20469 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20471 (print_mpn_fp): ... to function scope.
20472 (read_mpn_hex): Remove.
20473 (get_log2): Remove.
20474 (exp2_mpn): Use mp_log2.
20475 (main): Use mp_exp1.
20477 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20479 * math/libm-test.inc: Remove comment about not testing "inexact"
20481 (INEXACT_EXCEPTION): New macro.
20482 (NO_INEXACT_EXCEPTION): Likewise.
20483 (INVALID_EXCEPTION_OK): Update value.
20484 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20485 (OVERFLOW_EXCEPTION_OK): Likewise.
20486 (UNDERFLOW_EXCEPTION_OK): Likewise.
20487 (IGNORE_ZERO_INF_SIGN): Likewise.
20488 (ERRNO_UNCHANGED): Likewise.
20489 (ERRNO_EDOM): Likewise.
20490 (ERRNO_ERANGE): Likewise.
20491 (test_exceptions): Handle testing "inexact" exceptions.
20492 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20493 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20494 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20495 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20497 (rint_towardzero_test_data): Likewise.
20498 (rint_downward_test_data): Likewise.
20499 (rint_upward_test_data): Likewise.
20501 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20502 with OVERFLOW_EXCEPTION.
20503 (exp10_test_data): Likewise.
20504 (exp2_test_data): Likewise.
20505 (expm1_test_data): Likewise.
20506 (lgamma_test_data): Likewise.
20507 (pow_test_data): Likewise.
20508 (tgamma_test_data): Likewise.
20509 (yn_test_data): Remove duplicate test of overflow.
20511 * math/libm-test.inc (struct test_cc_c_data): New type.
20512 (RUN_TEST_LOOP_cc_c): New macro.
20513 (cpow_test_data): New variable.
20514 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20516 * math/libm-test.inc (struct test_f_L_data): New type.
20517 (RUN_TEST_LOOP_f_L): New macro.
20518 (llrint_test_data): New variable.
20519 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20520 (llrint_tonearest_test_data): New variable.
20521 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20522 (llrint_towardzero_test_data): New variable.
20523 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20524 (llrint_downward_test_data): New variable.
20525 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20526 (llrint_upward_test_data): New variable.
20527 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20528 (llround_test_data): New variable.
20529 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20531 2013-05-13 Peter Collingbourne <pcc@google.com>
20533 * math/atest-exp2.c (get_log2): Remove const attribute.
20535 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20537 * math/libm-test.inc (struct test_f_l_data): New type.
20538 (RUN_TEST_LOOP_f_l): New macro.
20539 (lrint_test_data): New variable.
20540 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20541 (lrint_tonearest_test_data): New variable.
20542 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20543 (lrint_towardzero_test_data): New variable.
20544 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20545 (lrint_downward_test_data): New variable.
20546 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20547 (lrint_upward_test_data): New variable.
20548 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20549 (lround_test_data): New variable.
20550 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20552 2013-05-15 Peter Collingbourne <pcc@google.com>
20554 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20555 (EXTRACT_WORDS64) Use where appropriate.
20556 (INSERT_WORDS64) Likewise.
20558 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20559 constraints with x constraints.
20560 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20562 * malloc/obstack.c (_obstack_compat): Add initializer.
20564 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20566 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20567 si_trapno and add si_addr_lsb to _sifields.sigfault.
20568 (si_trapno): Remove macro.
20569 (si_addr_lsb): Define new macro.
20570 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20572 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20574 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20575 instead of TEST_f_l.
20576 (llrint_test_tonearest): Likewise.
20577 (llrint_test_towardzero): Likewise.
20578 (llrint_test_downward): Likewise.
20579 (llrint_test_upward): Likewise.
20580 (llround_test): Likewise.
20582 * math/libm-test.inc (struct test_f_i_data): Add comment.
20583 (RUN_TEST_LOOP_f_b): New macro.
20584 (RUN_TEST_LOOP_f_b_tg): Likewise.
20585 (finite_test_data): New variable.
20586 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20587 (isfinite_test_data): New variable.
20588 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20589 (isinf_test_data): New variable.
20590 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20591 (isnan_test_data): New variable.
20592 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20593 (isnormal_test_data): New variable.
20594 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20595 (issignaling_test_data): New variable.
20596 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20597 (signbit_test_data): New variable.
20598 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20600 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20601 with INVALID_EXCEPTION.
20602 (acosh_test_data): Likewise.
20603 (asin_test_data): Likewise.
20604 (atanh_test_data): Likewise.
20605 (fmod_test_data): Likewise.
20606 (log_test_data): Likewise.
20607 (log10_test_data): Likewise.
20608 (log2_test_data): Likewise.
20609 (pow_test_data): Likewise.
20610 (sqrt_test_data): Likewise.
20611 (y0_test_data): Likewise.
20612 (y1_test_data): Likewise.
20613 (yn_test_data): Likewise.
20615 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20618 * math/libm-test.inc (struct test_ff_i_data): New type.
20619 (RUN_TEST_LOOP_ff_i_tg): New macro.
20620 (isgreater_test_data): New variable.
20621 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20622 (isgreaterequal_test_data): New variable.
20623 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20624 (isless_test_data): New variable.
20625 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20626 (islessequal_test_data): New variable.
20627 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20628 (islessgreater_test_data): New variable.
20629 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20630 (isunordered_test_data): New variable.
20631 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20633 2013-05-14 David S. Miller <davem@davemloft.net>
20635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20637 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20639 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20641 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20643 (struct test_f_i_data): Change type of max_ulp to int.
20645 * math/libm-test.inc (test_ffI_f1_data): New type.
20646 (RUN_TEST_LOOP_ffI_f1): New macro.
20647 (remquo_test_data): New variable.
20648 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20650 * setjmp/tst-setjmp-fp.c: New file.
20651 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20652 (link-libm): New variable.
20653 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20655 * math/libm-test.inc (struct test_f_i_data): New type.
20656 (RUN_TEST_LOOP_f_i): New macro.
20657 (RUN_TEST_LOOP_f_i_tg): Likewise.
20658 (fpclassify_test_data): New variable.
20659 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20660 (ilogb_test_data): New variable.
20661 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20663 * math/libm-test.inc (scalbln_test): Correct function name in END
20666 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20667 (RUN_TEST_LOOP_fI_f1): New macro.
20668 (frexp_test_data): New variable.
20669 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20671 * math/libm-test.inc (struct test_fF_f1_data): New type.
20672 (RUN_TEST_LOOP_fF_f1): New macro.
20673 (modf_test_data): New variable.
20674 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20676 * math/libm-test.inc (struct test_f_f1_data): New type.
20677 (RUN_TEST_LOOP_f_f1): New macro.
20678 (gamma_test_data): New variable.
20679 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20680 (lgamma_test_data): New variable.
20681 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20683 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20685 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20686 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20687 (main): Comment "tls" pseudo-hwcap.
20689 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20691 * math/libm-test.inc (struct test_fl_f_data): New type.
20692 (RUN_TEST_LOOP_fl_f): New variable.
20693 (scalbln_test_data): New variable.
20694 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20696 * math/libm-test.inc (struct test_fi_f_data): New type.
20697 (RUN_TEST_LOOP_fi_f): New macro.
20698 (ldexp_test_data): New variable.
20699 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20700 (scalbn_test_data): New variable.
20701 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20703 * math/libm-test.inc (struct test_c_f_data): New type.
20704 (RUN_TEST_LOOP_c_f): New macro.
20705 (cabs_test_data): New variable.
20706 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20707 (carg_test_data): New variable.
20708 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20709 (cimag_test_data): New variable.
20710 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20711 (creal_test_data): New variable.
20712 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20714 * math/libm-test.inc (struct test_if_f_data): New type.
20715 (RUN_TEST_LOOP_if_f): New macro.
20716 (jn_test_data): New variable.
20717 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20718 (yn_test_data): New variable.
20719 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20721 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20723 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20725 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20726 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20728 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20730 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20731 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20732 (bench-deps): Add bench-timing.h.
20733 * benchtests-bench-skeleton.c: Include bench-timing.h.
20734 (main): Use TIMING_* macros instead of clock_gettime.
20735 * benchtests/bench-timing.h: New file.
20738 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20739 Renamed from _LIB_VERSION.
20740 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20742 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20744 * math/libm-test.inc (struct test_fff_f_data): New type.
20745 (RUN_TEST_LOOP_fff_f): New macro.
20746 (fma_test_data): New variable.
20747 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20748 (fma_towardzero_test_data): New variable.
20749 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20750 (fma_downward_test_data): New variable.
20751 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20752 (fma_upward_test_data): New variable.
20753 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20755 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20756 (struct test_c_c_data): New type.
20757 (RUN_TEST_LOOP_c_c): New macro.
20758 (cacos_test_data): New variable.
20759 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20760 (cacosh_test_data): New variable.
20761 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20762 (casin_test_data): New variable.
20763 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20764 (casinh_test_data): New variable.
20765 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20766 (catan_test_data): New variable.
20767 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20768 (catanh_test_data): New variable.
20769 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20770 (ccos_test_data): New variable.
20771 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20772 (ccosh_test_data): New variable.
20773 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20774 (cexp_test_data): New variable.
20775 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20776 (clog_test_data): New variable.
20777 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20778 (clog10_test_data): New variable.
20779 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20780 (conj_test_data): New variable.
20781 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20782 (cproj_test_data): New variable.
20783 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20784 (csin_test_data): New variable.
20785 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20786 (csinh_test_data): New variable.
20787 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20788 (csqrt_test_data): New variable.
20789 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20790 (ctan_test_data): New variable.
20791 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20792 (ctan_tonearest_test_data): New variable.
20793 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20794 (ctan_towardzero_test_data): New variable.
20795 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20796 (ctan_downward_test_data): New variable.
20797 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20798 (ctan_upward_test_data): New variable.
20799 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20800 (ctanh_test_data): New variable.
20801 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20802 (ctanh_tonearest_test_data): New variable.
20803 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20804 (ctanh_towardzero_test_data): New variable.
20805 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20806 (ctanh_downward_test_data): New variable.
20807 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20808 (ctanh_upward_test_data): New variable.
20809 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20810 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20813 * math/libm-test.inc (struct test_ff_f_data): New type.
20814 (struct test_ff_f_data_nexttoward): Likewise.
20815 (RUN_TEST_LOOP_2_f): New macro.
20816 (RUN_TEST_LOOP_ff_f): Likewise.
20817 (atan2_test_data): New variable.
20818 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20819 (copysign_test_data): New variable.
20820 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20821 (fdim_test_data): New variable.
20822 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20823 (fmax_test_data): New variable.
20824 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20825 (fmin_test_data): New variable.
20826 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20827 (fmod_test_data): New variable.
20828 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20829 (hypot_test_data): New variable.
20830 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20831 (nextafter_test_data): New variable.
20832 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20833 (nexttoward_test_data): New variable.
20834 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20835 (pow_test_data): New variable.
20836 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20837 (pow_tonearest_test_data): New variable.
20838 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20839 (pow_towardzero_test_data): New variable.
20840 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20841 (pow_downward_test_data): New variable.
20842 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20843 (pow_upward_test_data): New variable.
20844 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20845 (remainder_test_data): New variable.
20846 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20847 (scalb_test_data): New variable.
20848 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20849 * sysdeps/i386/fpu/libm-test-ulps: Update.
20851 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20853 * math/libm-test.inc (fma_test): Use max_value instead of local
20855 (nextafter_test): Likewise.
20857 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20858 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20859 (acos_downward_test_data): New variable.
20860 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20861 (acos_upward_test_data): New variable.
20862 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20863 (acosh_test_data): New variable.
20864 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20865 (asin_test_data): New variable.
20866 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20867 (asin_tonearest_test_data): New variable.
20868 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20869 (asin_towardzero_test_data): New variable.
20870 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20871 (asin_downward_test_data): New variable.
20872 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20873 (asin_upward_test_data): New variable.
20874 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20875 (asinh_test_data): New variable.
20876 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20877 (atan_test_data): New variable.
20878 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20879 (atanh_test_data): New variable.
20880 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20881 (cbrt_test_data): New variable.
20882 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20883 (ceil_test_data): New variable.
20884 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20885 (cos_test_data): New variable.
20886 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20887 (cos_tonearest_test_data): New variable.
20888 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20889 (cos_towardzero_test_data): New variable.
20890 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20891 (cos_downward_test_data): New variable.
20892 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20893 (cos_upward_test_data): New variable.
20894 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20895 (cosh_test_data): New variable.
20896 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20897 (cosh_tonearest_test_data): New variable.
20898 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20899 (cosh_towardzero_test_data): New variable.
20900 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20901 (cosh_downward_test_data): New variable.
20902 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20903 (cosh_upward_test_data): New variable.
20904 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20905 (erf_test_data): New variable.
20906 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20907 (erfc_test_data): New variable.
20908 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20909 (exp_test_data): New variable.
20910 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20911 (exp_tonearest_test_data): New variable.
20912 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20913 (exp_towardzero_test_data): New variable.
20914 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20915 (exp_downward_test_data): New variable.
20916 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20917 (exp_upward_test_data): New variable.
20918 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20919 (exp10_test_data): New variable.
20920 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20921 (exp2_test_data): New variable.
20922 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20923 (expm1_test_data): New variable.
20924 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20925 (fabs_test_data): New variable.
20926 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20927 (floor_test_data): New variable.
20928 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20929 (j0_test_data): New variable.
20930 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20931 (j1_test_data): New variable.
20932 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20933 (log_test_data): New variable.
20934 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20935 (log10_test_data): New variable.
20936 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20937 (log1p_test_data): New variable.
20938 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20939 (log2_test_data): New variable.
20940 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20941 (logb_test_data): New variable.
20942 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20943 (logb_downward_test_data): New variable.
20944 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20945 (nearbyint_test_data): New variable.
20946 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20947 (rint_test_data): New variable.
20948 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20949 (rint_tonearest_test_data): New variable.
20950 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20951 (rint_towardzero_test_data): New variable.
20952 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20953 (rint_downward_test_data): New variable.
20954 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20955 (rint_upward_test_data): New variable.
20956 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20957 (round_test_data): New variable.
20958 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20959 (sin_test_data): New variable.
20960 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20961 (sin_tonearest_test_data): New variable.
20962 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20963 (sin_towardzero_test_data): New variable.
20964 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20965 (sin_downward_test_data): New variable.
20966 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20967 (sin_upward_test_data): New variable.
20968 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20969 (sinh_test_data): New variable.
20970 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20971 (sinh_tonearest_test_data): New variable.
20972 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20973 (sinh_towardzero_test_data): New variable.
20974 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20975 (sinh_downward_test_data): New variable.
20976 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20977 (sinh_upward_test_data): New variable.
20978 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20979 (sqrt_test_data): New variable.
20980 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20981 (tan_test_data): New variable.
20982 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20983 (tan_tonearest_test_data): New variable.
20984 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20985 (tan_towardzero_test_data): New variable.
20986 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20987 (tan_downward_test_data): New variable.
20988 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20989 (tan_upward_test_data): New variable.
20990 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20991 (tanh_test_data): New variable.
20992 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20993 (tgamma_test_data): New variable.
20994 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20995 (trunc_test_data): New variable.
20996 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20997 (y0_test_data): New variable.
20998 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20999 (y1_test_data): New variable.
21000 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21001 (significand_test_data): New variable.
21002 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21004 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21007 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21009 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21011 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21013 2013-05-10 Andreas Jaeger <aj@suse.de>
21016 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21017 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21019 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21021 * math/gen-libm-test.pl (adjust_arg): New function.
21022 (special_functions): Handle generating output in both functions
21024 (parse_args): Likewise.
21025 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21026 $in_func argument to parse_args.
21027 * math/libm-test.inc (struct test_f_f_data): New type.
21028 (IF_ROUND_INIT_): New macro.
21029 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21030 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21031 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21032 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21033 (ROUND_RESTORE_): Likewise.
21034 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21035 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21036 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21037 (ROUND_RESTORE_FE_UPWARD): Likewise.
21038 (RUN_TEST_LOOP_f_f): New macro.
21039 (acos_test_data): New variable.
21040 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21041 (acos_tonearest_test_data): New variable.
21042 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21044 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21046 * benchtests/bench-skeleton.c (startup): Fix coding style.
21048 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21051 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21052 negative infinity argument.
21053 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21054 negative infinity argument.
21055 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21056 negative infinity argument.
21057 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21060 2013-05-10 Florian Weimer <fweimer@redhat.com>
21062 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21063 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21064 * iconv/iconv_prog.c (main): Likewise.
21065 * locale/programs/charmap-dir.c (charmap_readdir)
21066 (fopen_uncompressed): Likewise.
21067 * locale/programs/locfile.c (siblings_uncached)
21068 (write_locale_data): Use lstat64 instead of lstat.
21069 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21072 2013-05-10 Andreas Jaeger <aj@suse.de>
21075 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21077 Include <locale.h>.
21079 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21081 * elf/dl-close.c (_dl_close_worker): Add comments.
21083 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21086 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21088 (__ieee754_rem_pio2l): Update comments.
21091 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21093 (__ieee754_rem_pio2l): Update comments.
21095 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21096 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21098 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21101 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21102 (M_PI_34_LOG10El): Likewise.
21103 (M_PI2_LOG10El): Likewise.
21104 (M_PI4_LOG10El): Likewise.
21105 (M_PI_LOG10El): Likewise.
21107 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21111 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21113 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21114 (MINUS_ZERO_INIT): Likewise.
21115 (PLUS_INFTY_INIT): Likewise.
21116 (MINUS_INFTY_INIT): Likewise.
21117 (QNAN_VALUE_INIT): Likewise.
21118 (MAX_VALUE_INIT): Likewise.
21119 (MIN_VALUE_INIT): Likewise.
21120 (MIN_SUBNORM_VALUE_INIT): Likewise.
21121 (plus_zero): Initialize with PLUS_ZERO_INIT.
21122 (minus_zero): Initialize with MINUS_ZERO_INIT.
21123 (plus_infty): Initialize with PLUS_INFTY_INIT.
21124 (minus_infty): Initialize with MINUS_INFTY_INIT.
21125 (qnan_value): Initialize with QNAN_VALUE_INIT.
21126 (max_value): Initialize with MAX_VALUE_INIT.
21127 (min_value): Initialize with MIN_VALUE_INIT.
21128 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21130 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21131 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21132 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21133 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21135 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21136 (RUN_TEST_2_f): Likewise.
21137 (RUN_TEST_ff_f): Likewise.
21138 (RUN_TEST_fi_f): Likewise.
21139 (RUN_TEST_fl_f): Likewise.
21140 (RUN_TEST_fff_f): Likewise.
21141 (RUN_TEST_c_f): Likewise.
21142 (RUN_TEST_f_f1): Likewise.
21143 (RUN_TEST_fF_f1): Likewise.
21144 (RUN_TEST_fI_f1): Likewise.
21145 (RUN_TEST_ffI_f1): Likewise.
21146 (RUN_TEST_c_c): Likewise.
21147 (RUN_TEST_cc_c): Likewise.
21148 (RUN_TEST_f_i): Likewise.
21149 (RUN_TEST_f_i_tg): Likewise.
21150 (RUN_TEST_ff_i_tg): Likewise.
21151 (RUN_TEST_f_b): Likewise.
21152 (RUN_TEST_f_b_tg): Likewise.
21153 (RUN_TEST_f_l): Likewise.
21154 (RUN_TEST_f_L): Likewise.
21155 (RUN_TEST_sincos): Likewise.
21156 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21157 whether to show exceptions. Do not include ");\n" in return
21159 (special_functions): Output call to RUN_TEST_sincos instead of
21160 check_float calls. Update calls to new_test.
21161 (parse_args): Output call to single RUN_TEST_* macro instead of
21162 check_* calls and other assignments. Update calls to new_test.
21168 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21169 input to result for tgamma overflow.
21170 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21171 (gamma_coeff): New variable.
21172 (NCOEFF): New macro.
21173 (gamma_positive): New function.
21174 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21175 underflow here. Use gamma_positive instead of exp (lgamma) for
21177 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21178 (gamma_coeff): New variable.
21179 (NCOEFF): New macro.
21180 (gammaf_positive): New function.
21181 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21182 underflow here. Use gamma_positive instead of exp (lgamma) for
21184 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21185 (gamma_coeff): New variable.
21186 (NCOEFF): New macro.
21187 (gammal_positive): New function.
21188 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21189 underflow here. Use gamma_positive instead of exp (lgamma) for
21191 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21192 (gamma_coeff): New variable.
21193 (NCOEFF): New macro.
21194 (gammal_positive): New function.
21195 (__ieee754_gammal_r): Handle positive infinity, overflow and
21196 underflow here. Handle NaN the same as positive infinity. Remove
21197 check x < 0xffffffff for negative integers. Use gamma_positive
21198 instead of exp (lgamma) for other arguments.
21199 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21200 (gamma_coeff): New variable.
21201 (NCOEFF): New macro.
21202 (gammal_positive): New function.
21203 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21204 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21207 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21208 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21209 * sysdeps/generic/math_private.h (__gamma_productf): New
21211 (__gamma_product): Likewise.
21212 (__gamma_productl): Likewise.
21213 * math/Makefile (libm-calls): Add gamma_product.
21214 * math/libm-test.inc (tgamma_test): Add more tests.
21215 * sysdeps/i386/fpu/libm-test-ulps: Update.
21216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21218 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21220 * benchtests/bench-skeleton.c (main): Preheat CPU.
21222 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21224 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21226 2013-05-07 Roland McGrath <roland@hack.frob.com>
21228 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21229 and _dl_skip_args_internal.
21231 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21233 * manual/message.texi (Message Translation): Talk about users.
21234 Message to key mapping impacts design.
21236 2013-05-06 Roland McGrath <roland@hack.frob.com>
21238 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21240 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21242 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21243 * sysdeps/wordsize-64/glob64.c: ... here.
21245 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21246 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21249 * debug/getlogin_r_chk.c: Moved to ...
21250 * login/getlogin_r_chk.c: ... here.
21251 * debug/Makefile (routines): Move getlogin_r_chk to ...
21252 * login/Makefile (routines): ... here.
21253 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21254 * login/Versions (libc: GLIBC_2.4): ... here.
21256 * io/poll.c (__poll): Renamed from poll.
21257 Add libc_hidden_def.
21258 (poll): Define as weak alias.
21260 * debug/ptsname_r_chk.c: Moved to ...
21261 * login/ptsname_r_chk.c: ... here.
21262 * debug/Makefile (routines): Move ptsname_r_chk to ...
21263 * login/Makefile (routines): ... here.
21264 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21265 * login/Versions (libc: GLIBC_2.4): ... here.
21267 * posix/getlogin.c: Moved to ...
21268 * login/getlogin.c: ... here.
21269 * posix/getlogin_r.c: Moved to ...
21270 * login/getlogin_r.c: ... here.
21271 * posix/getlogin_r.c: Moved to ...
21272 * login/getlogin_r.c: ... here.
21273 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21274 * login/Makefile (routines): ... here.
21275 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21276 * login/Versions (libc: GLIBC_2.0): ... here.
21278 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21279 (setrlimit): Define as weak alias.
21281 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21282 Call __ names for open, ftruncate, and close.
21283 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21284 (truncate): Define as weak alias.
21286 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21288 * math/gen-libm-test.pl (parse_args): Initialize x before each
21289 test of frexp, modf and remquo.
21291 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21292 test signgam value.
21294 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21298 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21300 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21302 2013-05-06 Roland McGrath <roland@hack.frob.com>
21304 * elf/dl-writev.h: New file.
21305 * elf/dl-misc.c: Include it.
21306 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21307 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21309 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21311 * math/libm-test.inc (noXFails): Remove variable.
21312 (noXPasses): Likewise.
21313 (BUILD_COMPLEX_INT): Remove macro.
21314 (print_screen): Remove xfail argument.
21315 (print_screen_max_error): Likewise.
21316 (update_stats): Likewise.
21317 (print_max_error): Likewise. Update calls to other affected
21319 (print_complex_max_error): Likewise.
21320 (test_single_exception): Update calls to print_screen.
21321 (test_single_errno): Likewise.
21322 (check_float_internal): Remove xfail argument. Update calls to
21323 other affected functions.
21324 (check_float): Likewise.
21325 (check_complex): Likewise.
21326 (check_int): Likewise.
21327 (check_long): Likewise.
21328 (check_bool): Likewise.
21329 (check_longlong): Likewise.
21330 (main): Don't print noXFails and noXPasses.
21331 * math/gen-libm-test.pl (top level): Don't mention expected
21332 failure handling in comment.
21333 (new_test): Don't handle expected failures.
21334 (parse_args): Don't mention expected failure handling in comment.
21335 (generate_testfile): Don't handle expected failures.
21336 (parse_ulps): Likewise.
21337 (print_ulps_file): Likewise.
21338 (get_failure): Remove function.
21339 (output_test): Don't handle expected failures.
21340 * make/README.libm-test: Don't mention expected failure handling.
21342 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21343 (minus_zero): Likewise.
21344 (plus_infty): Likewise.
21345 (minus_infty): Likewise.
21346 (qnan_value): Likewise.
21347 (max_value): Likewise.
21348 (min_value): Likewise.
21349 (min_subnorm_value): Likewise.
21350 (initialize): Do not initialize those variables dynamically.
21352 2013-05-03 Roland McGrath <roland@hack.frob.com>
21354 * io/open.c (__open_2): Moved to ...
21355 * io/open_2.c: ... this new file.
21356 * io/open64.c (__open64_2): Moved to ...
21357 * io/open64_2.c: ... this new file.
21358 * io/openat.c (__openat_2): Moved to ...
21359 * io/openat_2.c: ... this new file.
21360 * io/openat64.c (__openat64_2): Moved to ...
21361 * io/openat64_2.c: ... this new file.
21362 * io/Makefile (routines): Add them.
21363 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21364 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21365 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21366 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21367 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21368 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21369 (__openat64): Add hidden_ver.
21370 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21371 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21373 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21374 Separately conditionalize setting of GLRO(dl_sysinfo) so
21375 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21376 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21378 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21380 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21381 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21383 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21384 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21385 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21386 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21387 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21389 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21391 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21392 test signgam value.
21394 * math/libm-test.inc (hypot_test): Do not use
21395 IGNORE_ZERO_INF_SIGN.
21397 2013-05-03 Andreas Jaeger <aj@suse.de>
21399 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21401 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21402 (PF_MAX): Adjust for VSOCK change.
21404 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21408 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21411 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21412 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21413 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21415 2013-05-02 David S. Miller <davem@davemloft.net>
21417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21419 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21421 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21423 2013-05-01 Roland McGrath <roland@hack.frob.com>
21425 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21427 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21430 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21431 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21432 Use __attribute__ ((__gnu_inline__)).
21433 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21434 Don't use __attribute__ ((__gnu_inline__)).
21436 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21439 * math/s_catan.c (__catan): Handle small real or imaginary part of
21440 input specially to avoid spurious underflow.
21441 * math/s_catanf.c (__catanf): Likewise.
21442 * math/s_catanh.c (__catanh): Likewise.
21443 * math/s_catanhf.c (__catanhf): Likewise.
21444 * math/s_catanhl.c (__catanhl): Likewise.
21445 * math/s_catanl.c (__catanl): Likewise.
21446 * math/libm-test.inc (catan_test): Add more tests.
21447 (catanh_test): Likewise.
21448 * sysdeps/i386/fpu/libm-test-ulps: Update.
21449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21451 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21455 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21458 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21459 accurately for denominator in atan2.
21460 * math/s_catanf.c (__catanf): Likewise.
21461 * math/s_catanh.c (__catanh): Likewise.
21462 * math/s_catanhf.c (__catanhf): Likewise.
21463 * math/s_catanhl.c (__catanhl): Likewise.
21464 * math/s_catanl.c (__catanl): Likewise.
21465 * math/libm-test.inc (catan_test): Add more tests.
21466 (catanh_test): Likewise.
21467 * sysdeps/i386/fpu/libm-test-ulps: Update.
21468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21470 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21472 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21474 * benchtests/Makefile (bench): Remove slow benchmarks.
21475 * benchtests/atan-inputs: Add slow benchmark inputs.
21476 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21477 (BENCH_FUNC): Accept variant offset.
21479 * benchtests/bench-skeleton.c (main): Run benchmark for each
21481 * benchtests/cos-inputs: Add slow benchmark inputs.
21482 * benchtests/exp-inputs: Likewise.
21483 * benchtests/pow-inputs: Likewise.
21484 * benchtests/sin-inputs: Likewise.
21485 * benchtests/slowatan-inputs: Remove.
21486 * benchtests/slowatan.c: Remove.
21487 * benchtests/slowcos-inputs: Remove.
21488 * benchtests/slowcos.c: Remove.
21489 * benchtests/slowexp-inputs: Remove.
21490 * benchtests/slowexp.c: Remove.
21491 * benchtests/slowpow-inputs: Remove.
21492 * benchtests/slowpow.c: Remove.
21493 * benchtests/slowsin-inputs: Remove.
21494 * benchtests/slowsin.c: Remove.
21495 * benchtests/slowtan-inputs: Remove.
21496 * benchtests/slowtan.c: Remove.
21497 * benchtests/tan-inputs: Add slow benchmark inputs.
21498 * scripts/bench.pl: Parse comments and directives.
21500 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21502 ($(objpfx)bench-%.c): Remove *-ITER.
21503 * benchtests/bench-modf.c: Remove definition of ITER.
21504 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21505 (main): Loop for DURATION seconds instead of fixed number of
21507 * scripts/bench.pl: Don't expect iterations in parameters.
21509 2013-04-29 Roland McGrath <roland@hack.frob.com>
21511 * io/fchdir.c (__fchdir): Renamed from fchdir.
21512 (fchdir): Define as weak alias.
21514 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21516 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21517 (ERRNO_EDOM): Likewise.
21518 (ERRNO_ERANGE): Likewise.
21519 (noErrnoTests): New variable.
21520 (init_max_error): Set errno to 0.
21521 (test_single_errno): New function.
21522 (test_errno): Likewise.
21523 (check_float_internal): Call test_errno. Set errno to 0.
21524 (check_complex): Refer to errno tests in comment.
21525 (check_int): Call test_errno. Set errno to 0.
21526 (check_long): Likewise.
21527 (check_bool): Likewise.
21528 (check_longlong): Likewise.
21529 (cos_test): Use ERRNO_* flags for errno tests instead of
21531 (expm1_test): Likewise.
21532 (fmod_test): Likewise.
21533 (ilogb_test): Likewise.
21534 (lgamma_test): Likewise.
21535 (pow_test): Likewise.
21536 (remainder_test): Likewise.
21537 (sin_test): Likewise.
21538 (tan_test): Likewise.
21539 (yn_test): Likewise.
21540 (initialize): Set errno to 0.
21541 (main): Print number of errno tests.
21542 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21544 2013-04-29 Andreas Jaeger <aj@suse.de>
21547 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21551 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21552 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21556 * stdlib/random.c (__initstate): Return NULL if
21560 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21561 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21564 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21568 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21570 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21571 of individual tests.
21572 (casin_test): Likewise.
21573 (casinh_test): Likewise.
21575 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21578 * math/s_catan.c (__catan): Handle arguments with large real or
21579 imaginary part separately without squaring.
21580 * math/s_catanf.c (__catanf): Likewise.
21581 * math/s_catanh.c (__catanh): Likewise.
21582 * math/s_catanhf.c (__catanhf): Likewise.
21583 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21585 (__catanhl): Handle arguments with large real or imaginary part
21586 separately without squaring.
21587 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21589 (__catanl): Handle arguments with large real or imaginary part
21590 separately without squaring.
21591 * math/libm-test.inc (catan_test): Add more tests.
21592 (catanh_test): Likewise.
21593 * sysdeps/i386/fpu/libm-test-ulps: Update.
21594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21596 2013-04-27 Andreas Jaeger <aj@suse.de>
21599 * stdlib/stdlib.h: Update guards for qecvt.
21600 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21603 2013-04-27 Allan McRae <allan@archlinux.org>
21605 * sysdeps/i386/fpu/libm-test-ulps: Update.
21607 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21610 * math/s_catan.c: Include <float.h>.
21611 (__catan): Ensure underflow exception occurs for underflowed
21613 * math/s_catanf.c: Include <float.h>.
21614 (__catanf): Ensure underflow exception occurs for underflowed
21616 * math/s_catanh.c: Include <float.h>.
21617 (__catanh): Ensure underflow exception occurs for underflowed
21619 * math/s_catanhf.c: Include <float.h>.
21620 (__catanhf): Ensure underflow exception occurs for underflowed
21622 * math/s_catanhl.c: Include <float.h>.
21623 (__catanhl): Ensure underflow exception occurs for underflowed
21625 * math/s_catanl.c: Include <float.h>.
21626 (__catanl): Ensure underflow exception occurs for underflowed
21628 * math/libm-test.inc (catan_test): Add more tests.
21629 (catanh_test): Likewise.
21632 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21633 underflowed result.
21634 * math/s_ccoshf.c (__ccoshf): Likewise.
21635 * math/s_ccoshl.c (__ccoshl): Likewise.
21636 * math/s_csin.c (__csin): Likewise.
21637 * math/s_csinf.c (__csinf): Likewise.
21638 * math/s_csinh.c (__csinh): Likewise.
21639 * math/s_csinhf.c (__csinhf): Likewise.
21640 * math/s_csinhl.c (__csinhl): Likewise.
21641 * math/s_csinl.c (__csinl): Likewise.
21642 * math/libm-test.inc (ccos_test): Add more tests.
21643 (ccosh_test): Likewise.
21644 (csin_test): Likewise.
21645 (csinh_test): Likewise.
21647 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21649 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21650 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21651 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21652 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21653 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21654 powerpc/power5+/fpu folders.
21655 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21658 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21662 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21664 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21665 additions to variable.
21666 [$(config-machine) = x86_64] (modules-names): Likewise.
21667 ($(objpfx)tst-audit3): Remove dependency.
21668 ($(objpfx)tst-audit3.out): Likewise.
21669 ($(objpfx)tst-audit4): Likewise.
21670 ($(objpfx)tst-audit4.out): Likewise.
21671 ($(objpfx)tst-audit5): Likewise.
21672 ($(objpfx)tst-audit5.out): Likewise.
21673 ($(objpfx)tst-audit6): Likewise.
21674 ($(objpfx)tst-audit6.out): Likewise.
21675 ($(objpfx)tst-audit7): Likewise.
21676 ($(objpfx)tst-audit7.out): Likewise.
21677 (tst-audit3-ENV): Remove variable.
21678 (tst-audit4-ENV): Likewise.
21679 (tst-audit5-ENV): Likewise.
21680 (tst-audit6-ENV): Likewise.
21681 (tst-audit7-ENV): Likewise.
21682 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21683 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21684 addition to variable.
21685 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21686 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21687 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21688 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21689 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21690 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21691 tst-audit3, tst-audit4 and tst-audit5.
21692 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21693 tst-audit6 and tst-audit7.
21694 [$(subdir) = elf] (modules-names): Add audit modules for those
21696 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21697 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21698 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21699 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21700 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21701 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21702 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21703 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21704 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21705 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21706 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21707 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21708 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21709 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21710 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21711 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21713 [$(subdir) = elf && $(config-cflags-avx) = yes]
21714 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21715 [$(subdir) = elf && $(config-cflags-avx) = yes]
21716 (CFLAGS-tst-auditmod4a.c): Likewise.
21717 [$(subdir) = elf && $(config-cflags-avx) = yes]
21718 (CFLAGS-tst-auditmod4b.c): Likewise.
21719 [$(subdir) = elf && $(config-cflags-avx) = yes]
21720 (CFLAGS-tst-auditmod6b.c): Likewise.
21721 [$(subdir) = elf && $(config-cflags-avx) = yes]
21722 (CFLAGS-tst-auditmod6c.c): Likewise.
21723 [$(subdir) = elf && $(config-cflags-avx) = yes]
21724 (CFLAGS-tst-auditmod7b.c): Likewise.
21725 * elf/tst-audit3.c: Move to ...
21726 * sysdeps/x86_64/tst-audit3.c: ... here.
21727 * elf/tst-audit4.c: Move to ...
21728 * sysdeps/x86_64/tst-audit4.c: ... here.
21729 * elf/tst-audit5.c: Move to ...
21730 * sysdeps/x86_64/tst-audit5.c: ... here.
21731 * elf/tst-audit6.c: Move to ...
21732 * sysdeps/x86_64/tst-audit6.c: ... here.
21733 * elf/tst-audit7.c: Move to ...
21734 * sysdeps/x86_64/tst-audit7.c: ... here.
21735 * elf/tst-auditmod3a.c: Move to ...
21736 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21737 * elf/tst-auditmod3b.c: Move to ...
21738 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21739 * elf/tst-auditmod4a.c: Move to ...
21740 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21741 * elf/tst-auditmod4b.c: Move to ...
21742 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21743 * elf/tst-auditmod5a.c: Move to ...
21744 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21745 * elf/tst-auditmod5b.c: Move to ...
21746 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21747 * elf/tst-auditmod6a.c: Move to ...
21748 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21749 * elf/tst-auditmod6b.c: Move to ...
21750 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21751 * elf/tst-auditmod6c.c: Move to ...
21752 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21753 * elf/tst-auditmod7a.c: Move to ...
21754 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21755 * elf/tst-auditmod7b.c: Move to ...
21756 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21758 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21761 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21762 define unconditionally.
21763 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21764 define unconditionally.
21765 (INT8_C, INT16_C, etc.): Likewise.
21767 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21769 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21770 __ehdr_start with hidden visibility.
21772 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21774 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21776 * math/libm-test.inc (cos_test): Use accurate hex constants.
21777 (sincost_test): Likewise.
21779 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21781 * math/libm-test.inc (catan_test): Add more tests.
21782 (catanh_test): Likewise.
21784 * math/s_catanf.c (__catanf): Use suffixed floating-point
21786 * math/s_catanhf.c (__catanhf): Likewise.
21787 * math/s_catanhl.c (__catanhl): Likewise.
21788 * math/s_catanl.c (__catanl): Likewise.
21791 * math/s_catan.c (__catan): Calculate imaginary part of result
21792 with log1p not log unless computing log of number close to 0.
21793 * math/s_catanf.c (__catanf): Likewise.
21794 * math/s_catanl.c (__catanl): Likewise.
21795 * math/s_catanh.c (__catanh): Calculate real part of result with
21796 log1p not log unless computing log of number close to 0.
21797 * math/s_catanhf.c (__catanhf): Likewise.
21798 * math/s_catanhl.c (__catanhl): Likewise.
21799 * math/libm-test.inc (catan_test): Add more tests.
21800 (catanh_test): Likewise.
21801 * sysdeps/i386/fpu/libm-test-ulps: Update.
21802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21804 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21806 * benchtests/Makefile: Mention files in which fast and slow
21807 paths of math functions are implemented.
21809 2013-04-23 Roland McGrath <roland@hack.frob.com>
21811 * sysdeps/posix/timespec_get.c: New file.
21813 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21815 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21817 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21819 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21820 powerpc/power5/fpu folders.
21821 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21822 * benchtests/Makefile: Add modf testcase.
21823 * benchtests/bench-modf.c: New file: Benchmark test for mo
21825 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21828 * time/Makefile (tests): Add tst-strptime-whitespace.
21829 * time/strptime_l.c (get_number): Use ISSPACE.
21830 (__strptime_internal): Likewise.
21831 * time/tst-strptime-whitespace.c: New test case.
21833 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21835 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21837 (_nss_files_init): Set it here.
21839 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21841 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21842 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21845 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21847 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21849 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21851 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21854 2013-04-21 David S. Miller <davem@davemloft.net>
21856 * po/ru.po: Update Russion translation from translation project.
21858 2013-04-17 Adam Conrad <adconrad@0c3.net>
21860 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21863 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21865 * configure.in: Remove i386 configure warning. Remove i386 case.
21866 * configure: Regenerate.
21867 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21868 Add example to error message.
21869 * sysdeps/i386/configure: Regenerate.
21871 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21873 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21875 * benchtests/cos-inputs: New file.
21876 * benchtests/slowcos-inputs: New file.
21877 * benchtests/slowcos.c: New file.
21878 * benchtests/slowtan-inputs: New file.
21879 * benchtests/slowtan.c: New file.
21880 * benchtests/tan-inputs: New file.
21882 2013-04-16 Roland McGrath <roland@hack.frob.com>
21884 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21887 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21889 * benchtests/Makefile: Include cppflags-iterator.mk to add
21890 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21892 * Makefile.in (bench-clean): New target.
21893 * benchtests/Makefile (bench-clean): Likewise.
21895 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21897 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21899 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21901 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21903 2013-04-15 Andreas Schwab <schwab@suse.de>
21905 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21906 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21907 * nscd/pwdcache.c (cache_addpw): Likewise.
21908 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21911 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21913 * benchtests/Makefile (bench): Write all output to
21914 bench-out.tmp together.
21916 2013-04-15 Andreas Schwab <schwab@suse.de>
21918 * nscd/nscd.c (main): Don't fork again after closing files.
21920 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21922 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21924 * benchtests/Rules (bench-deps): Collect dependencies into a
21925 single variable. Add Makefile to dependencies.
21926 ($(objpfx)bench-%.c): Depend on bench-deps.
21928 2013-04-12 Roland McGrath <roland@hack.frob.com>
21929 Xavier Roche <roche+kml2@exalead.com>
21932 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21933 just that it's a file descriptor.
21934 * manual/llio.texi (Synchronizing AIO Operations): Update description
21935 for EBADF error from aio_fsync.
21937 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21939 * Rules (bench): Move target definition...
21940 * benchtests/Makefile: ... here.
21942 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21944 * math/libm-test.inc (cos_test): Fix PI/2 test.
21945 (sincos_test): Likewise.
21946 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21947 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21949 2013-04-11 Andreas Schwab <schwab@suse.de>
21952 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21953 accept exponent character only when digits were seen.
21954 * stdio-common/Makefile (tests): Add bug26.
21955 * stdio-common/bug26.c: New file.
21958 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21961 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21963 * Makeconfig (rtld-prefix): Define built linker prefix.
21964 * Rules (run-bench): Use it.
21965 * math/Makefile (run-regen-ulps): Likewise.
21967 * Rules (bench): Remove eval.
21969 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21970 Roland McGrath <roland@hack.frob.com>
21971 Ondrej Bilka <neleai@seznam.cz>
21974 * time/getdate.c: Include ctype.h and alloca.h.
21975 (__getdate_r): Trim leading and trailing spaces of input.
21976 * time/tst-getdate.c (tests): Add tests with leading and
21979 2013-04-08 Roland McGrath <roland@hack.frob.com>
21982 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21983 when computing value.
21985 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21987 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21988 Use testrun.sh to run libm tests.
21991 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21993 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21996 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21998 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22000 * Makefile.in (regen-ulps): New target.
22001 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22002 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22003 [ifneq (no,$(PERL)] (regen-ulps): New target.
22004 [ifeq (no,$(PERL)] (regen-ulps): New target.
22005 * math/libm-test.inc (ulps_file_name): Define.
22006 (output_dir): New variable.
22007 (options): Add "output-dir" option.
22008 (parse_opt): Handle 'o' case.
22009 (main): If output_dir is non-NULL use it as a prefix
22011 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22013 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22015 [BZ #10060, #10062]
22016 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22017 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22018 fail configure if __sync_val_compare_and_swap is not inlined.
22019 * sysdeps/i386/configure: Regenerate.
22020 * configure.in: Build for i686 when configured for i386.
22021 * configure: Regenerate.
22022 * README: Remove i386 reference.
22024 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22026 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22027 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22029 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22031 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22032 (lmsnanval): New variables.
22033 (F): Add conversion tests.
22034 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22035 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22037 * stdio-common/tstdiomisc.c (F): Properly collect individual
22040 [BZ #14686, #15336]
22041 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22042 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22043 Instead, use input NaN values or generate a qNaN by arithmetic
22044 operation. Also fix bugs to comply with the standard.
22045 * math/libm-test.inc (remainder_test): Add more tests.
22047 [BZ #15335, #15342]
22048 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22049 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22050 input NaN values or generate a qNaN by arithmetic operation.
22052 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22055 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22058 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22061 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22062 underflowed result.
22063 * math/s_cexpf.c (__cexpf): Likewise.
22064 * math/s_cexpl.c (__cexpl): Likewise.
22065 * math/libm-test.inc (cexp_test): Add more tests.
22067 2013-04-03 Andreas Schwab <schwab@suse.de>
22070 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22071 order arrays from heap if bigger than alloca cutoff.
22073 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22075 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22076 (SNAN_TESTS_double): Refer to GCC PR56831.
22077 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22080 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22082 * Rules (bench): Move bench.out after the run is complete.
22084 * Rules (bench): Echo currently running benchmark.
22086 * benchtests/Makefile (bench): Add atan and slowatan.
22087 * benchtests/atan-inputs: New file.
22088 * benchtests/slowatan-inputs: New file.
22089 * benchtests/slowatan.c: New file.
22091 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22092 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22096 * sysdeps/unix/sysv/linux/kernel-features.h
22097 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22098 __ASSUME_XFS_RESTRICTED_CHOWN.
22099 * sysdeps/unix/sysv/linux/pathconf.c
22100 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22101 Save and restore errno.
22103 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22106 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22107 arguments using __kernel_casinh.
22108 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22109 arguments using __kernel_casinhf.
22110 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22111 arguments using __kernel_casinhl.
22112 * math/libm-test.inc (cacosh_test): Add more tests.
22113 * sysdeps/i386/fpu/libm-test-ulps: Update.
22114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22116 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22118 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22121 * bench/Makefile (bench): Add sin and slowsin.
22122 * benchtests/sin-inputs: New file.
22123 * benchtests/slowsin-inputs: New file.
22124 * benchtests/slowsin.c: New file.
22126 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22127 (bench): Add slowexp and slowpow.
22128 (exp-ITER): Increase iterations.
22129 (pow-ITER): Likewise.
22130 * benchtests/exp-inputs: Change input.
22131 * benchtests/pow-inputs: Likewise.
22132 * benchtests/slowexp-inputs: New file.
22133 * benchtests/slowexp.c: New file.
22134 * benchtests/slowpow-inputs: New file.
22135 * benchtests/slowpow.c: New file.
22137 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22139 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22141 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22142 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22143 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22144 * benchtests/Makefile: Add rint benchtest.
22145 * benchtests/rint-inputs: Input for rint benchtest.
22147 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22149 * Versions.def (libm): Add GLIBC_2.18.
22150 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22151 hidden libm prototypes.
22152 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22153 * math/Makefile (libm-calls): Add s_issignaling.
22154 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22155 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22156 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22158 * math/math.h [__USE_GNU] (issignaling): New macro.
22159 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22160 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22161 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22162 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22163 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22164 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22165 * manual/arith.texi (issignaling): New section.
22166 * manual/libm-err-tab.pl (@all_functions): Update comment.
22167 * math/gen-libm-test.pl (parse_args): Apply special handling for
22169 * math/libm-test.inc (print_float, issignaling_test): New
22171 (check_float_internal): Add issignaling checks.
22172 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22173 default definition.
22174 * sysdeps/powerpc/math-tests.h: New file.
22175 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22177 * math/test-snan.c (TEST_FUNC): Likewise.
22179 2013-03-30 David S. Miller <davem@davemloft.net>
22181 * po/de.po: Update from translation team.
22183 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22186 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22187 imaginary part less than 1.0 and real part less than 0.5
22189 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22190 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22191 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22192 (cacos_test): Add more tests.
22193 (casin_test): Likewise.
22194 (casinh_test): Likewise.
22195 * sysdeps/i386/fpu/libm-test-ulps: Update.
22196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22198 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22200 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22201 ONE with its value.
22203 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22204 (__pow_mp): Replace ONE and MONE with their values.
22205 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22206 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22207 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22208 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22209 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22210 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22212 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22214 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22215 (__pow_mp): Replace ZERO and MZERO with their values.
22216 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22217 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22218 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22220 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22221 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22224 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22226 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22228 2013-03-28 Roland McGrath <roland@hack.frob.com>
22230 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22231 Declare with __attribute__ ((weak)).
22232 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22233 Call __call_tls_dtors only if it's not NULL.
22235 2013-03-28 Roland McGrath <roland@hack.frob.com>
22237 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22238 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22239 magic __ehdr_start linker symbol if it's defined.
22240 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22241 them up here if it was already done.
22243 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22244 (_dl_aux_init): Use const in cast when setting it.
22245 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22246 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22247 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22249 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22251 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22252 * csu/libc-tls.c: Nor here.
22253 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22255 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22256 (__libc_message): Never call vsyslog.
22258 2013-03-28 Alan Modra <amodra@gmail.com>
22260 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22262 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22265 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22268 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22272 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22275 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22276 Don't add gid passed as argument.
22278 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22280 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22283 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22284 imaginary part between 1.0 and 1.5 and real part less than 0.5
22286 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22287 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22288 * math/libm-test.inc (cacos_test): Add more tests.
22289 (casin_test): Likewise.
22290 (casinh_test): Likewise.
22291 * sysdeps/i386/fpu/libm-test-ulps: Update.
22292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22294 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22296 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22299 (denorm): Likewise.
22300 (__dbl_mp): Likewise.
22301 (add_magnitudes): Likewise.
22302 (sub_magnitudes): Likewise.
22310 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22312 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22313 (__dubcos): Likewise.
22314 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22315 (__ieee754_acos): Likewise.
22316 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22317 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22318 (__exp1): Likewise.
22319 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22320 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22322 (my_log2): Likewise.
22323 (checkint): Likewise.
22324 * sysdeps/ieee754/dbl-64/e_remainder.c
22325 (__ieee754_remainder): Likewise.
22326 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22327 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22328 (bsloww): Likewise.
22329 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22331 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22332 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22333 MANTISSA_STORE_T to store computations on mantissa. Use
22334 macros for rounding and division.
22335 (denorm): Likewise.
22336 (__dbl_mp): Likewise.
22337 (add_magnitudes): Likewise.
22338 (sub_magnitudes): Likewise.
22341 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22342 powers of two in terms of TWOPOW macro.
22343 (mp_no): Make type of mantissa as MANTISSA_T.
22344 [!RADIXI]: Define RADIXI.
22345 [!TWO52]: Define TWO52.
22346 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22348 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22350 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22351 llroundl symbol when building for PPC32.
22353 2013-03-24 Mark H Weaver <mhw@netris.org>
22355 * manual/arith.texi (Normalization Functions): Fix prototypes for
22356 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22358 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22361 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22362 high value to check if expl overflow.
22363 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22364 to check for underflow and overflow.
22365 * math/libm-test.inc: Add exp test.
22367 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22370 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22373 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22375 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22378 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22380 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22381 wrap blocks consisting of several statements.
22383 * sysdeps/generic/math-tests.h: New file.
22384 * sysdeps/i386/fpu/math-tests.h: Likewise.
22385 * math/test-snan.c: Include it.
22386 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22388 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22391 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22392 (__ieee754_j0l): Do not improve calculations using cos of twice
22393 input for inputs above LDBL_MAX / 2.0L.
22394 (__ieee754_y0l): Likewise.
22395 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22396 (__ieee754_j1l): Do not improve calculations using cos of twice
22397 input for inputs above LDBL_MAX / 2.0L.
22398 (__ieee754_y1l): Likewise.
22399 * math/libm-test.inc (j0_test): Add another test.
22400 (j1_test): Likewise.
22401 (y0_test): Likewise.
22402 (y1_test): Likewise.
22403 * sysdeps/i386/fpu/libm-test-ulps: Update.
22405 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22407 * Rules ($(objpfx)bench-%.c): Include code from a C source
22410 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22413 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22414 imaginary part 1.0 and real part less than 0.5 specially.
22415 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22416 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22417 * math/libm-test.inc (cacos_test): Add more tests.
22418 (casin_test): Likewise.
22419 (casinh_test): Likewise.
22420 * sysdeps/i386/fpu/libm-test-ulps: Update.
22421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22423 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22425 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22426 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22428 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22430 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22431 * config.make.in (config-cflags-sse4): Remove variable.
22432 (config-cflags-avx): Likewise.
22433 (config-cflags-sse2avx): Likewise.
22434 (config-cflags-novzeroupper): Likewise.
22435 (config-asflags-i686): Likewise.
22436 (have-mfma4): Likewise.
22437 (have-as-vis3): Likewise.
22439 * configure.in (MIG): Do not AC_SUBST.
22440 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22441 (libc_cv_cc_sse4): Do not AC_SUBST.
22442 (libc_cv_cc_avx): Likewise.
22443 (libc_cv_cc_sse2avx): Likewise.
22444 (libc_cv_cc_novzeroupper): Likewise.
22445 (libc_cv_cc_fma4): Likewise.
22446 (libc_cv_as_i686): Likewise.
22447 (libc_cv_sparc_as_vis3): Likewise.
22448 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22450 (config-asflags-i686): Likewise.
22451 (config-cflags-avx): Likewise.
22452 (config-cflags-sse2avx): Likewise.
22453 (have-mfma4): Likewise.
22454 (config-cflags-novzeroupper): Likewise.
22455 * sysdeps/mach/configure.in (MIG): Likewise.
22456 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22457 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22459 (config-cflags-avx): Likewise.
22460 (config-cflags-sse2avx): Likewise.
22461 (have-mfma4): Likewise.
22462 (config-cflags-novzeroupper): Likewise.
22463 * configure: Regenerated.
22464 * sysdeps/i386/configure: Likewise.
22465 * sysdeps/mach/configure: Likewise.
22466 * sysdeps/sparc/configure: Likewise.
22467 * sysdeps/x86_64/configure: Likewise.
22469 2013-03-20 Roland McGrath <roland@hack.frob.com>
22472 * locale/programs/localedef.c (options): Put N_ translation marker
22473 on argument names, not just descriptions.
22475 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22477 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22479 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22482 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22484 2013-03-19 Roland McGrath <roland@hack.frob.com>
22486 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22487 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22488 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22489 [!BEFORE_ABORT] (before_abort): New function.
22490 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22491 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22492 (writev_for_fatal): New function.
22493 (WRITEV_FOR_FATAL): New macro; call that.
22494 (backtrace_and_maps): New function.
22495 (BEFORE_ABORT): New macro; call that.
22496 (struct str_list): Type removed.
22497 (__libc_message, __libc_fatal): Functions removed.
22498 Include <sysdeps/posix/libc_fatal.c> instead.
22500 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22502 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22504 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22507 2013-03-19 Andreas Schwab <schwab@suse.de>
22509 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22510 * sysdeps/gnu/configure: Regenerate.
22512 * configure.in: Substitute libc_cv_rtlddir.
22513 * configure: Regenerate.
22514 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22515 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22516 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22517 * elf/Makefile (install-others, CFLAGS-interp.c)
22518 (ldso_install, common-ldd-rewrite): Likewise.
22519 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22520 $(inst_slibdir)/$(rtld-installed-name).
22521 * scripts/rellns-sh: Add -p option.
22522 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22525 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22527 * manual/nptl.texi: Renamed to ...
22528 * manual/threads.texi: ... this.
22529 * manual/Makefile (chapters): Update.
22531 2013-03-18 Roland McGrath <roland@hack.frob.com>
22534 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22535 on argument names, not just descriptions.
22536 * malloc/memusagestat.c (options): Likewise.
22537 * nss/getent.c (options): Likewise.
22539 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22542 * iconv/iconv_prog.c (options): Put N_ translation marker
22543 on argument names, not just descriptions.
22544 * iconv/iconvconfig.c (options): Likewise.
22546 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22548 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22549 implementation which is faster on all x86_64 architectures.
22550 Tested on AMD, Intel Nehalem, SNB, IVB.
22551 * sysdeps/x86_64/strnlen.S: Likewise.
22553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22554 Remove all multiarch strlen and strnlen versions.
22555 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22556 Remove strlen and strnlen related parts.
22558 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22559 Inline strlen part.
22560 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22562 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22563 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22564 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22565 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22566 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22567 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22569 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22571 * manual/memory.texi (Malloc Tunable Parameters):
22572 Sort parameters alphabetically. Add comments for missing entries.
22574 2013-03-17 David S. Miller <davem@davemloft.net>
22576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22578 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22581 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22582 for arguments at most half maximum finite value.
22583 * math/libm-test.inc (j0_test): Add more tests.
22584 (j1_test): Likewise.
22585 (y0_test): Likewise.
22586 (y1_test): Likewise.
22587 * sysdeps/i386/fpu/libm-test-ulps: Update.
22588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22591 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22592 1 / x and functions P and Q for arguments above 0x1p256L.
22593 (__ieee754_y0l): Likewise.
22594 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22595 (__ieee754_y1l): Likewise.
22596 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22597 (j1_test): Likewise.
22598 (y0_test): Likewise.
22599 (y1_test): Likewise.
22601 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22603 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22606 2013-03-15 Roland McGrath <roland@hack.frob.com>
22608 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22609 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22610 zero since it's initialized to EXEC_PAGESIZE.
22612 * sysdeps/unix/sysv/linux/ldsodefs.h
22613 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22614 * sysdeps/generic/ldsodefs.h: ... here.
22616 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22618 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22620 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22622 * math/test-snan.c: Renamed from
22623 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22624 * math/Makefile (tests): Add test-snan.
22625 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22628 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22629 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22631 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22632 __builtin_nan family of functions.
22633 * math/libm-test.inc (initialize): Initialize qnan_value with
22634 __builtin_nan family of functions.
22635 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22637 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22639 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22640 storage class. Initialize qNaN_var and sNaN_var with
22641 __builtin_nan and __builtin_nans families of functions,
22644 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22645 (sqrt_test): Remove duplicate test with qNaN input.
22646 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22647 (round_test, signbit_test, significand_test): Note missing +/-Inf
22648 as well as qNaN tests.
22650 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22651 qNaN_var. Fix a few strings, too.
22652 * math/libm-test.inc (nan_value): Rename to qnan_value.
22653 * math/gen-libm-test.pl (%beautify): Adjust to that.
22654 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22655 * math/test-misc.c (main): Likewise.
22656 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22657 to __qnan_bytes, and __qnan_union, respectively.
22658 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22660 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22661 and lqnanval, respectively.
22662 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22663 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22664 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22665 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22667 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22668 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22671 * math/test-misc.c (main): Fix copy'n'pastos.
22672 * misc/tst-efgcvt.c (special): Likewise.
22674 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22675 Remove declarations.
22677 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22679 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22680 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22681 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22682 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22684 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22686 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22687 macro to return vdso values correctly in IFUNC implementations.
22688 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22689 Optimization by using IFUNC.
22691 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22692 Richard Henderson <rth@redhat.com>
22693 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22695 * Makefile.in (bench): New target.
22696 * NEWS: Mention the benchmark framework.
22697 * Rules (bench): Likewise.
22698 (binaries-bench): Generate binaries for functions to
22700 * benchtests/Makefile: New makefile for benchmark tests.
22701 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22703 * benchtests/exp-inputs: New input file for EXP function.
22704 * benchtests/pow-inputs: New input file for POW function.
22705 * scripts/bench.pl: New script to generate source files for
22706 benchmark programs.
22708 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22710 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22711 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22712 computations on mantissa. Use macros for rounding and
22714 (denorm): Likewise.
22715 (__dbl_mp): Likewise.
22716 (add_magnitudes): Likewise.
22717 (sub_magnitudes): Likewise.
22720 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22721 powers of two in terms of TWOPOW macro.
22722 (mp_no): Make type of mantissa as MANTISSA_T.
22723 [!RADIXI]: Define RADIXI.
22724 [!TWO52]: Define TWO52.
22725 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22727 * manual/nptl.texi (cindex): Modify threads to pthreads.
22729 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22731 * sysdeps/x86_64/preconfigure: Regenerated.
22733 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22736 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22738 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22739 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22741 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22742 * math/libm-test.inc (j0_test): Do not allow one spurious
22743 underflow exception.
22744 (y1_test): Likewise.
22746 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22748 * manual/Makefile (chapters): Add nptl.
22749 * manual/debug.texi (Debugging Support): Add link to Threads
22751 * manual/nptl.texi: New file.
22753 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22755 2013-03-14 Petr Baudis <pasky@ucw.cz>
22757 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22758 for non-NULL pointer before the memory validity test. Pointed
22759 out by Holger Brunck <holger.brunck@keymile.com>.
22761 2013-03-13 Andreas Schwab <schwab@suse.de>
22763 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22766 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22768 * timezone/zic.c: Update from tzcode 2013b.
22770 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22772 * manual/install.texi (Configuring and compiling):
22773 Mention i686 and i586.
22774 * INSTALL: Regenerate.
22776 2013-03-12 Roland McGrath <roland@hack.frob.com>
22778 * sysdeps/init_array/elf-init.c: New file.
22780 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22781 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22783 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22784 __gmon_start__ as global, but as static with a .preinit_array pointer.
22785 * sysdeps/init_array/gmon-start.c: New file. Use that.
22786 * sysdeps/init_array/crti.S: New file, empty except for comments.
22787 * sysdeps/init_array/crtn.S: Likewise.
22789 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22791 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22794 Remove Prefer_SSE_for_memop.
22795 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22796 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22797 HAS_PREFER_SSE_FOR_MEMOP.
22798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22800 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22801 Remove bzero, memset ifunc support.
22802 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22803 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22804 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22805 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22807 2013-03-11 Andreas Schwab <schwab@suse.de>
22810 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22813 (GLIBC_2.16): Remove pthread_atfork.
22815 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22817 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22818 (ptestcases.h): Likewise.
22820 2013-03-08 Roland McGrath <roland@hack.frob.com>
22822 * Makeconfig ($(common-objpfx)config.status): Depend on
22823 sysdeps/*/preconfigure{,.in} too.
22825 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22827 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22828 (__free_hook): Use void * instead of __malloc_ptr_t.
22829 (__malloc_hook): Likewise.
22830 (__realloc_hook): Likewise.
22831 (__memalign_hook): Likewise.
22832 (__after_morecore_hook): Likewise.
22833 * malloc/arena.c (save_malloc_hook): Likewise.
22834 (save_free_hook): Likewise.
22835 * malloc/hooks.c (malloc_hook_ini): Likewise.
22836 (realloc_hook_ini): Likewise.
22837 (memalign_hook_ini): Likewise.
22838 * malloc/malloc.c (malloc_hook_ini): Likewise.
22839 (realloc_hook_ini): Likewise.
22840 (memalign_hook_ini): Likewise.
22841 (__free_hook): Likewise.
22842 (__malloc_hook): Likewise.
22843 (__realloc_hook): Likewise.
22844 (__memalign_hook): Likewise.
22845 (__libc_malloc): Likewise.
22846 (__libc_free): Likewise.
22847 (__libc_realloc): Likewise.
22848 (__libc_memalign): Likewise.
22849 (__libc_valloc): Likewise.
22850 (__libc_pvalloc): Likewise.
22851 (__libc_calloc): Likewise.
22852 (__posix_memalign): Likewise.
22853 * malloc/morecore.c (__sbrk): Likewise.
22854 (__default_morecore): Likewise.
22856 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22858 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22859 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22860 __malloc_ptrdiff_t.
22862 * malloc/malloc.h (__malloc_size_t): Remove macro.
22863 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22865 (old_memalign_hook): Likewise.
22866 (old_realloc_hook): Likewise.
22867 (struct hdr): Likewise.
22869 (mallochook): Likewise.
22870 (memalignhook): Likewise.
22871 (reallochook): Likewise.
22872 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22873 (tr_old_realloc_hook): Likewise.
22874 (tr_old_memalign_hook): Likewise.
22875 (tr_mallochook): Likewise.
22876 (tr_reallochook): Likewise.
22877 (tr_memalignhook): Likewise.
22879 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22881 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22882 default_ldbl_pack and using as default implementation.
22883 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22885 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22886 redundant definition.
22887 (ldbl_insert_mantissa): Likewise.
22888 (ldbl_canonicalize): Likewise.
22889 (ldbl_nearbyint): Likewise.
22890 (ldbl_pack): Rename to ldbl_pack_ppc.
22891 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22892 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22893 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22895 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22898 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22899 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22900 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22902 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22903 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22904 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22906 2013-03-07 Andreas Jaeger <aj@suse.de>
22908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22911 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22913 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22914 Include mpa.h and declare __MPEXP.
22915 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22916 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22917 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22918 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22919 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22920 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22921 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22923 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22924 (__slowpow): Use long double EXPL and LOGL functions to
22926 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22927 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22928 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22929 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22930 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22931 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22934 intermediate variable to calculate exponent.
22936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22940 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22941 [!NO__SQR]: Define __sqr.
22942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22943 and NO__SQR. Remove all code except __mul and __sqr. Include
22944 sysdeps/ieee754/dbl-64/mpa.c.
22945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22948 * posix/Makefile (tests): Add tst-pathconf.
22949 * posix/tst-pathconf.c: New test case.
22950 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22952 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22954 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22956 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22958 2013-03-06 Andreas Jaeger <aj@suse.de>
22960 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22961 definition via __MAP_ANONYMOUS.
22963 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22964 it's not part of Linux headers.
22966 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22967 (MAP_HUGE_MASK): Define.
22969 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22971 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22972 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22974 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22975 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22977 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22978 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22980 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22982 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22983 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22984 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22985 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22986 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22987 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22989 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22992 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22993 Handle f2fs and efivarfs.
22995 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22998 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22999 (EFIVARFS_MAGIC): Add.
23000 (F2FS_LINK_MAX): Add.
23002 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23004 * stdio-common/vfprintf.c: Replace __builtin_expect with
23007 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23010 * sysdeps/generic/bp-sym.h: Remove file.
23011 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23012 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23013 <bp-sym.h> and <bp-asm.h>.
23014 (__longjmp): Don't use BP_SYM.
23015 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23017 (memcpy): Don't use BP_SYM.
23018 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23019 <bp-sym.h> and <bp-asm.h>.
23020 (memcpy): Don't use BP_SYM.
23021 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23023 (memcpy): Don't use BP_SYM.
23024 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23026 (memset): Don't use BP_SYM.
23027 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23028 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23029 (__bzero): Don't use BP_SYM.
23030 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23031 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23032 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23033 <bp-sym.h> and <bp-asm.h>.
23034 (memcmp): Don't use BP_SYM. Remove comment about bounded
23036 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23037 <bp-sym.h> and <bp-asm.h>.
23038 (memcpy): Don't use BP_SYM.
23039 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23040 <bp-sym.h> and <bp-asm.h>.
23041 (memset): Don't use BP_SYM.
23042 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23043 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23044 (__bzero): Don't use BP_SYM.
23045 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23046 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23047 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23048 <bp-sym.h> and <bp-asm.h>.
23049 (strncmp): Don't use BP_SYM. Remove comment about bounded
23051 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23052 <bp-sym.h> and <bp-asm.h>.
23053 (memcpy): Don't use BP_SYM.
23054 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23055 <bp-sym.h> and <bp-asm.h>.
23056 (memset): Don't use BP_SYM.
23057 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23058 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23059 (__bzero): Don't use BP_SYM.
23060 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23061 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23062 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23063 <bp-sym.h> and <bp-asm.h>.
23064 (__memchr): Don't use BP_SYM.
23065 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23066 <bp-sym.h> and <bp-asm.h>.
23067 (memcmp): Don't use BP_SYM. Remove comment about bounded
23069 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23070 <bp-sym.h> and <bp-asm.h>.
23071 (memcpy): Don't use BP_SYM.
23072 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23073 <bp-sym.h> and <bp-asm.h>.
23074 (__mempcpy): Don't use BP_SYM.
23075 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23076 <bp-sym.h> and <bp-asm.h>.
23077 (__memrchr): Don't use BP_SYM.
23078 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23079 <bp-sym.h> and <bp-asm.h>.
23080 (memset): Don't use BP_SYM.
23081 (__bzero): Likewise.
23082 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23083 <bp-sym.h> and <bp-asm.h>.
23084 (__rawmemchr): Don't use BP_SYM.
23085 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23086 <bp-sym.h> and <bp-asm.h>.
23087 (__STRCMP): Don't use BP_SYM.
23088 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23089 <bp-sym.h> and <bp-asm.h>.
23090 (strchr): Don't use BP_SYM.
23091 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23092 <bp-sym.h> and <bp-asm.h>.
23093 (__strchrnul): Don't use BP_SYM.
23094 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23095 <bp-sym.h> and <bp-asm.h>.
23096 (strlen): Don't use BP_SYM.
23097 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23098 <bp-sym.h> and <bp-asm.h>.
23099 (strncmp): Don't use BP_SYM. Remove comment about bounded
23101 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23102 <bp-sym.h> and <bp-asm.h>.
23103 (__strnlen): Don't use BP_SYM.
23104 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23105 <bp-sym.h> and <bp-asm.h>.
23106 (__GI__setjmp): Don't use BP_SYM.
23107 (_setjmp): Likewise.
23108 (__sigsetjmp): Likewise.
23109 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23110 (L(start_addresses)): Don't use BP_SYM.
23111 (_start): Likewise.
23112 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23114 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23115 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23116 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23117 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23118 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23120 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23121 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23122 about bounded pointers.
23123 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23124 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23125 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23127 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23128 about bounded pointers. Remove GKM FIXME comments.
23129 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23130 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23132 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23133 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23134 Remove GKM FIXME comments.
23135 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23136 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23137 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23139 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23140 about bounded pointers. Remove GKM FIXME comment.
23141 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23143 (strncmp): Don't use BP_SYM. Remove comment about bounded
23145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23146 <bp-sym.h> and <bp-asm.h>.
23147 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23149 <bp-sym.h> and <bp-asm.h>.
23150 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23153 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23155 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23158 2013-03-05 David S. Miller <davem@davemloft.net>
23160 * po/es.po: Update from translation team.
23162 2013-03-05 Andreas Jaeger <aj@suse.de>
23164 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23165 <bits/mman-linux.h>.
23166 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23168 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23169 <bits/mman-linux.h> to end of file.
23170 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23172 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23173 <bits/mman-linux.h> to end of file.
23174 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23176 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23177 <bits/mman-linux.h> to end of file.
23179 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23180 (MCL_CURRENT, MCL_FUTURE): Define here.
23182 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23185 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23187 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23189 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23191 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23192 fourth parameter needed for rt_sigprocmask syscall.
23193 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23194 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23195 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23196 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23197 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23198 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23200 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23203 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23204 comment about bounded pointers.
23205 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23206 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23208 2013-03-04 Andreas Jaeger <aj@suse.de>
23210 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23211 common definitions.
23213 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23214 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23215 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23216 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23217 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23218 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23220 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23223 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23224 __ieee754_sqrl instead of __sqrl.
23226 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23228 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23229 * sysdeps/powerpc/fpu_control.h: ... here.
23230 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23231 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23232 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23233 * sysdeps/powerpc/bits/mathinline.h: ... here.
23235 2013-03-01 Roland McGrath <roland@hack.frob.com>
23237 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23238 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23239 to just [NEED_DL_SYSINFO_DSO].
23240 * elf/dl-support.c: Likewise.
23241 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23242 * elf/rtld.c (dl_main): Likewise.
23243 * elf/setup-vdso.h (setup_vdso): Likewise.
23244 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23245 * sysdeps/unix/sysv/linux/dl-sysdep.c
23246 (_dl_discover_osversion): Likewise.
23248 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23250 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23251 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23253 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23255 * NEWS: Mention libm performance improvements and non-x86 PI
23258 * csu/libc-start.c (__pthread_initialize_minimal): Change
23259 function arguments.
23260 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23262 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23265 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23266 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23267 <bp-sym.h> and <bp-asm.h>.
23268 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23269 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23271 (memcpy): Don't use BP_SYM.
23272 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23274 (__mpn_add_n): Don't use BP_SYM.
23275 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23276 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23278 (__mpn_addmul_1): Don't use BP_SYM.
23279 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23280 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23282 (_setjmp): Don't use BP_SYM.
23283 (__novmx_setjmp): Likewise.
23284 (__GI__setjmp): Likewise.
23285 (__vmx_setjmp): Likewise.
23286 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23288 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23289 (__bzero): Don't use BP_SYM.
23290 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23291 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23292 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23293 <bp-sym.h> and <bp-asm.h>.
23294 (memcpy): Don't use BP_SYM.
23295 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23296 <bp-sym.h> and <bp-asm.h>.
23297 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23298 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23299 <bp-sym.h> and <bp-asm.h>.
23300 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23301 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23303 (__mpn_lshift): Don't use BP_SYM.
23304 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23305 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23307 (memset): Don't use BP_SYM.
23308 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23309 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23310 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23312 (__mpn_mul_1): Don't use BP_SYM.
23313 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23314 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23315 <bp-sym.h> and <bp-asm.h>.
23316 (memcmp): Don't use BP_SYM.
23317 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23318 <bp-sym.h> and <bp-asm.h>.
23319 (memcpy): Don't use BP_SYM.
23320 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23321 <bp-sym.h> and <bp-asm.h>.
23322 (memset): Don't use BP_SYM.
23323 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23324 <bp-sym.h> and <bp-asm.h>.
23325 (strncmp): Don't use BP_SYM.
23326 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23327 <bp-sym.h> and <bp-asm.h>.
23328 (memcpy): Don't use BP_SYM.
23329 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23330 <bp-sym.h> and <bp-asm.h>.
23331 (memset): Don't use BP_SYM.
23332 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23333 <bp-sym.h> and <bp-asm.h>.
23334 (__memchr): Don't use BP_SYM.
23335 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23336 <bp-sym.h> and <bp-asm.h>.
23337 (memcmp): Don't use BP_SYM.
23338 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23339 <bp-sym.h> and <bp-asm.h>.
23340 (memcpy): Don't use BP_SYM.
23341 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23342 <bp-sym.h> and <bp-asm.h>.
23343 (__mempcpy): Don't use BP_SYM.
23344 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23345 <bp-sym.h> and <bp-asm.h>.
23346 (__memrchr): Don't use BP_SYM.
23347 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23348 <bp-sym.h> and <bp-asm.h>.
23349 (memset): Don't use BP_SYM.
23350 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23351 <bp-sym.h> and <bp-asm.h>.
23352 (__rawmemchr): Don't use BP_SYM.
23353 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23354 <bp-sym.h> and <bp-asm.h>.
23355 (__STRCMP): Don't use BP_SYM.
23356 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23357 <bp-sym.h> and <bp-asm.h>.
23358 (strchr): Don't use BP_SYM.
23359 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23360 <bp-sym.h> and <bp-asm.h>.
23361 (__strchrnul): Don't use BP_SYM.
23362 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23363 <bp-sym.h> and <bp-asm.h>.
23364 (strlen): Don't use BP_SYM.
23365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23366 <bp-sym.h> and <bp-asm.h>.
23367 (strncmp): Don't use BP_SYM.
23368 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23369 <bp-sym.h> and <bp-asm.h>.
23370 (__strnlen): Don't use BP_SYM.
23371 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23373 (__mpn_rshift): Don't use BP_SYM.
23374 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23375 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23376 <bp-sym.h> and <bp-asm.h>.
23377 (__sigsetjmp): Don't use BP_SYM.
23378 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23379 (L(start_addresses)): Don't use BP_SYM.
23380 (_start): Likewise.
23381 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23383 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23384 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23385 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23386 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23388 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23389 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23390 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23391 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23393 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23395 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23396 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23398 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23400 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23401 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23402 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23404 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23406 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23408 (strncmp): Don't use BP_SYM,
23409 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23411 (__mpn_sub_n): Don't use BP_SYM.
23412 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23413 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23415 (__mpn_submul_1): Don't use BP_SYM.
23416 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23418 <bp-sym.h> and <bp-asm.h>.
23419 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23421 <bp-sym.h> and <bp-asm.h>.
23422 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23425 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23428 Use ZK to minimize writes to Z.
23429 (sub_magnitudes): Simplify code a bit.
23430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23431 Use ZK to minimize writes to Z.
23432 (sub_magnitudes): Simplify code a bit.
23434 2013-02-27 Roland McGrath <roland@hack.frob.com>
23436 * csu/gmon-start.c: Add special exception to license text.
23438 2013-02-27 Richard Henderson <rth@redhat.com>
23440 * scripts/config.guess: Update from config.git.
23441 * scripts/config.sub: Likewise.
23443 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23445 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23447 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23449 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23451 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23453 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23455 2013-02-26 Roland McGrath <roland@hack.frob.com>
23457 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23458 [$(build-shared = yes].
23460 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23462 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23463 (__mul): Reduce iterations for calculating mantissa.
23465 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23467 (__mpranred): Likewise.
23470 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23471 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23473 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23475 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23476 Define __attribute__.
23478 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23480 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23482 * posix/regex_internal.h (__attribute): Remove.
23483 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23484 (re_string_context_at): Likewise.
23485 (bitset_not): Use __attribute__ and mark function as possibly
23487 (bitset_merge): Likewise.
23488 (bitset_mask): Likewise.
23489 (re_string_char_size_at): Likewise.
23490 (re_string_wchar_at): Likewise.
23491 (re_string_elem_size_at): Likewise.
23493 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23495 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23499 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23503 (denorm): Likewise.
23504 (__dbl_mp): Likewise.
23505 (add_magnitudes): Likewise.
23506 (sub_magnitudes): Likewise.
23510 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23513 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23516 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23520 up changes with default code.
23521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23524 2013-02-24 Allan McRae <allan@archlinux.org>
23526 * manual/socket.texi (The Internet Namespace): Order menu items
23527 to match that in the file.
23529 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23530 node listing of the info page menu.
23532 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23535 * sysdeps/i386/bp-asm.h: Remove file.
23536 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23537 (PARMS): Do not use macros from bp-asm.h.
23541 (__mpn_add_n): Do not use BP_SYM
23542 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23544 (PARMS): Do not use macros from bp-asm.h.
23547 (__mpn_addmul_1): Do not use BP_SYM
23548 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23550 (PARMS): Do not use macros from bp-asm.h.
23551 (SIGMSK): Likewise.
23552 (_setjmp): Likewise. Do not use BP_SYM.
23553 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23555 (PARMS): Do not use macros from bp-asm.h.
23556 (SIGMSK): Likewise.
23557 (setjmp): Likewise. Do not use BP_SYM.
23558 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23560 (PARMS): Do not use macros from bp-asm.h.
23561 (__frexp): Do not use BP_SYM.
23563 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23565 (PARMS): Do not use macros from bp-asm.h.
23566 (__frexpf): Do not use BP_SYM.
23567 (frexpf): Likewise.
23568 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23570 (PARMS): Do not use macros from bp-asm.h.
23571 (__frexpl): Do not use BP_SYM.
23572 (frexpl): Likewise.
23573 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23575 (PARMS): Do not use macros from bp-asm.h.
23576 (__remquo): Do not use BP_SYM.
23577 (remquo): Likewise.
23578 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23580 (PARMS): Do not use macros from bp-asm.h.
23581 (__remquof): Do not use BP_SYM.
23582 (remquof): Likewise.
23583 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23585 (PARMS): Do not use macros from bp-asm.h.
23586 (__remquol): Do not use BP_SYM.
23587 (remquol): Likewise.
23588 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23590 (PARMS): Do not use macros from bp-asm.h.
23593 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23594 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23596 (PARMS): Do not use macros from bp-asm.h.
23597 (strlen): Do not use BP_SYM.
23598 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23600 (PARMS): Do not use macros from bp-asm.h.
23604 (__mpn_add_n): Do not use BP_SYM.
23605 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23607 (PARMS): Do not use macros from bp-asm.h.
23610 (__mpn_addmul_1): Do not use BP_SYM.
23611 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23614 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23616 (PARMS): Do not use macros from bp-asm.h.
23619 (__mpn_lshift): Do not use BP_SYM.
23620 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23622 (PARMS): Do not use macros from bp-asm.h.
23626 (memcpy): Likewise. Do not use BP_SYM.
23627 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23628 libc_hidden_def and weak_alias.
23629 (mempcpy): Do not use BP_SYM in weak_alias.
23630 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23632 (PARMS): Do not use macros from bp-asm.h.
23635 [!BZERO_P] (CHR): Likewise.
23636 (memset): Likewise. Do not use BP_SYM.
23637 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23639 (PARMS): Do not use macros from bp-asm.h.
23642 (__mpn_mul_1): Do not use BP_SYM.
23643 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23645 (PARMS): Do not use macros from bp-asm.h.
23648 (__mpn_rshift): Do not use BP_SYM.
23649 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23651 (PARMS): Do not use macros from bp-asm.h.
23654 (strchr): Likewise. Do not use BP_SYM.
23655 (index): Do not use BP_SYM in weak_alias.
23656 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23658 (PARMS): Do not use macros from bp-asm.h.
23661 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23662 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23664 (PARMS): Do not use macros from bp-asm.h.
23665 (strlen): Do not use BP_SYM.
23666 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23668 (PARMS): Do not use macros from bp-asm.h.
23672 (__mpn_sub_n): Do not use BP_SYM.
23673 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23675 (PARMS): Do not use macros from bp-asm.h.
23678 (__mpn_submul_1): Do not use BP_SYM.
23679 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23681 (PARMS): Do not use macros from bp-asm.h.
23685 (__mpn_add_n): Do not use BP_SYM.
23686 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23689 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23691 (PARMS): Do not use macros from bp-asm.h.
23694 (memcmp): Do not use BP_SYM.
23695 (bcmp): Do not use BP_SYM in weak_alias.
23696 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23698 (PARMS): Do not use macros from bp-asm.h.
23702 (memcpy): Likewise. Do not use BP_SYM.
23703 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23705 (PARMS): Do not use macros from bp-asm.h.
23709 (memmove): Likewise. Do not use BP_SYM.
23710 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23712 (PARMS): Do not use macros from bp-asm.h.
23716 (__mempcpy): Likewise. Do not use BP_SYM.
23717 (mempcpy): Do not use BP_SYM in weak_alias.
23718 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23720 (PARMS): Do not use macros from bp-asm.h.
23723 [!BZERO_P] (CHR): Likewise.
23724 (memset): Likewise. Do not use BP_SYM.
23725 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23727 (PARMS): Do not use macros from bp-asm.h.
23729 (strcmp): Do not use BP_SYM.
23730 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23732 (PARMS): Do not use macros from bp-asm.h.
23735 [USE_AS_STRTOK_R] (SAVE): Likewise.
23736 (FUNCTION): Likewise. Do not use BP_SYM.
23737 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23739 (strtok_r): Likewise.
23740 (__GI___strtok_r): Likewise.
23741 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23742 (PARMS): Do not use macros from bp-asm.h.
23745 (__mpn_lshift): Do not use BP_SYM.
23746 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23747 (PARMS): Do not use macros from bp-asm.h.
23750 (__memchr): Do not use BP_SYM.
23751 (memchr): Do not use BP_SYM in weak_alias.
23752 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23753 (PARMS): Do not use macros from bp-asm.h.
23756 (memcmp): Do not use BP_SYM.
23757 (bcmp): Do not use BP_SYM in weak_alias.
23758 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23759 (PARMS): Do not use macros from bp-asm.h.
23762 (__mpn_mul_1): Do not use BP_SYM.
23763 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23765 (PARMS): Do not use macros from bp-asm.h.
23768 (__rawmemchr): Do not use BP_SYM.
23769 (rawmemchr): Do not use BP_SYM in weak_alias.
23770 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23771 (PARMS): Do not use macros from bp-asm.h.
23774 (__mpn_rshift): Do not use BP_SYM.
23775 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23776 (PARMS): Do not use macros from bp-asm.h.
23777 (SIGMSK): Likewise.
23778 (__sigsetjmp): Likewise. Do not use BP_SYM.
23779 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23780 (_start): Do not use BP_SYM.
23781 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23782 (PARMS): Do not use macros from bp-asm.h.
23785 (__stpcpy): Likewise. Do not use BP_SYM.
23786 (stpcpy): Do not use BP_SYM in weak_alias.
23787 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23789 (PARMS): Do not use macros from bp-asm.h.
23793 (__stpncpy): Likewise. Do not use BP_SYM.
23794 (stpncpy): Do not use BP_SYM in weak_alias.
23795 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23796 (PARMS): Do not use macros from bp-asm.h.
23799 (strchr): Likewise. Do not use BP_SYM.
23800 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23802 (PARMS): Do not use macros from bp-asm.h.
23805 (__strchrnul): Likewise. Do not use BP_SYM.
23806 (strchrnul): Do not use BP_SYM in weak_alias.
23807 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23809 (PARMS): Do not use macros from bp-asm.h.
23811 (strcspn): Do not use BP_SYM.
23812 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23814 (PARMS): Do not use macros from bp-asm.h.
23817 (strpbrk): Likewise. Do not use BP_SYM.
23818 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23820 (PARMS): Do not use macros from bp-asm.h.
23823 (strrchr): Likewise. Do not use BP_SYM.
23824 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23825 (PARMS): Do not use macros from bp-asm.h.
23827 (strspn): Do not use BP_SYM.
23828 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23829 (PARMS): Do not use macros from bp-asm.h.
23833 (FUNCTION): Likewise. Do not use BP_SYM.
23834 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23836 (strtok_r): Likewise.
23837 (__GI___strtok_r): Likewise.
23838 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23839 (PARMS): Do not use macros from bp-asm.h.
23843 (__mpn_sub_n): Do not use BP_SYM.
23844 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23846 (PARMS): Do not use macros from bp-asm.h.
23849 (__mpn_submul_1): Do not use BP_SYM.
23850 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23852 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23854 (PARMS): Do not use macros from bp-asm.h.
23859 (__clone): Do not use BP_SYM.
23860 (clone): Do not use BP_SYM in weak_alias.
23861 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23863 (PARMS): Do not use macros from bp-asm.h.
23865 (__mmap64): Do not use BP_SYM.
23866 (mmap64): Do not use BP_SYM in weak_alias.
23867 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23868 <bp-sym.h> and <bp-asm.h>.
23869 (PARMS): Do not use macros from bp-asm.h.
23870 (__posix_fadvise64_l64): Do not use BP_SYM.
23871 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23872 (PARMS): Do not use macros from bp-asm.h.
23874 (semtimedop): Do not use BP_SYM.
23875 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23878 2013-02-21 Allan McRae <allan@archlinux.org>
23880 * manual/message.texi (Charset conversion in gettext):
23881 Move @end statement to beginning of line.
23883 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23890 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23891 (denorm): Likewise.
23892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23895 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23897 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23898 tail-call to the resolved function if pltexit isn't needed.
23900 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23903 or Y being zero as being unlikely.
23904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23907 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23909 * manual/nss.texi (System Databases and Name Service Switch):
23910 Remove frobnicate @pxref.
23912 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23914 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23915 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23917 2013-02-20 Petr Machata <pmachata@redhat.com>
23919 * elf/elf.h (R_ARM_TARGET1): New macro.
23920 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23921 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23922 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23923 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23924 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23925 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23926 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23927 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23928 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23929 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23930 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23931 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23932 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23933 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23934 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23935 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23936 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23937 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23938 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23939 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23940 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23941 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23942 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23943 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23944 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23945 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23946 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23947 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23948 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23949 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23950 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23951 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23952 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23953 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23954 (R_ARM_THM_GOT_BREL12): Likewise.
23955 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23956 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23957 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23958 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23959 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23960 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23961 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23962 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23963 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23965 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23967 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23968 __attribute_used__ to __attribute__ ((unused)).
23970 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23972 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23975 comment formatting.
23976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23978 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23981 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23983 (ENTER): Remove both macro definitions.
23985 (CHECK_BOUNDS_LOW): Likewise.
23986 (CHECK_BOUNDS_HIGH): Likewise.
23987 (CHECK_BOUNDS_BOTH): Likewise.
23988 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23989 (RETURN_BOUNDED_POINTER): Likewise.
23990 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23991 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23992 (POP_ERRNO_LOCATION_RETURN): Likewise.
23993 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23994 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23995 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23997 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23998 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23999 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24000 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24001 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24002 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24003 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24004 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24005 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24006 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24007 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24008 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24009 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24010 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24012 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24013 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24015 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24016 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24017 * sysdeps/i386/i586/memset.S (memset): Likewise.
24018 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24019 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24020 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24022 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24023 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24024 Change uses of L(2) to L(out).
24025 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24026 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24027 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24028 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24029 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24031 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24032 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24034 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24035 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24036 (RETURN): Do not use macro LEAVE.
24037 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24038 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24039 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24040 * sysdeps/i386/i686/memset.S (memset): Likewise.
24041 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24042 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24043 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24044 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24046 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24047 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24048 L(1_2) and L(1_3) into L(1).
24049 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24050 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24051 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24052 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24053 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24054 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24055 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24056 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24057 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24059 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24060 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24061 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24062 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24063 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24064 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24065 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24066 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24067 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24068 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24069 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24070 * sysdeps/i386/strspn.S (strspn): Likewise.
24071 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24073 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24074 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24075 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24076 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24077 L(1_3) into L(1_1).
24078 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24079 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24080 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24082 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24084 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24086 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24089 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24091 * math/atest-exp.c (exp_mpn): Remove ROUND.
24092 * math/atest-exp2.c (exp_mpn): Likewise.
24093 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24095 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24096 * stdlib/tst-tls-atexit-lib.c: Likewise.
24097 * stdlib/tst-tls-atexit.c: Likewise.
24099 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24101 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24102 and __attribute_alloc_size__.
24104 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24106 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24107 __attribute_alloc_size__.
24108 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24109 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24111 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24113 * include/programs/xmalloc.h: New file.
24114 * catgets/gencat.c: Include it.
24115 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24116 * elf/pldd.c: Likewise.
24117 * iconv/iconv_charmap.c: Likewise.
24118 * iconv/iconvconfig.c: Likewise.
24119 * iconv/strtab.c: Likewise.
24120 * locale/programs/locale.c: Likewise.
24121 * locale/programs/localedef.h: Likewise.
24122 * locale/programs/simple-hash.c: Likewise.
24123 * nscd/nscd.h: Likewise.
24124 * nss/makedb.c: Likewise.
24125 * sysdeps/generic/ldconfig.h: Likewise.
24127 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24129 * Versions.def: Add GLIBC_2.18.
24130 * include/link.h (struct link_map): New member l_tls_dtor_count.
24131 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24132 (__call_tls_dtors): Likewise.
24133 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24134 __cxa_thread_atexit_impl.
24135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24143 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24151 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24152 (tests): Add test case tst-tls-atexit.
24153 (modules-names): Add shared library for tst-tls-atexit.
24154 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24155 (GLIBC_PRIVATE): Add __call_tls_dtors.
24156 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24158 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24159 * stdlib/tst-tls-atexit.c: New test case.
24160 * stdlib/tst-tls-atexit-lib.c: New test case.
24162 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24164 * elf/Versions (ld): Add _dl_find_dso_for_object.
24165 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24166 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24167 (dl_open_worker): Use _dl_find_dso_for_object.
24168 * elf/dl-sym.c (do_sym): Likewise.
24169 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24171 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24173 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24174 Syntactic changes only.
24175 (_dl_runtime_profile): Do a tail-call to the resolved function.
24177 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24180 * sysdeps/x86_64/bp-asm.h: Remove file.
24181 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24182 <bp-sym.h> and <bp-asm.h>.
24183 (__clone): Do not use BP_SYM.
24184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24185 <bp-sym.h> and <bp-asm.h>.
24186 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24187 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24189 (_setjmp): Do not use BP_SYM.
24190 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24192 (setjmp): Do not use BP_SYM.
24193 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24195 (mempcpy): Do not use BP_SYM in weak_alias.
24196 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24198 (strchr): Do not use BP_SYM.
24199 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24201 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24202 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24203 (_start): Do not use BP_SYM.
24204 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24206 (strcat): Do not use BP_SYM.
24207 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24209 (STRCMP): Do not use BP_SYM.
24210 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24212 (STRCPY): Do not use BP_SYM.
24213 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24215 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24217 (FUNCTION): Do not use BP_SYM.
24218 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24220 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24222 2013-02-17 Andreas Jaeger <aj@suse.de>
24224 * time/Versions: Sort entries.
24225 * string/Versions: Likewise.
24226 * resolv/Versions: Likewise.
24227 * posix/Versions: Likewise.
24228 * iconv/Versions: Likewise.
24229 * elf/Versions: Likewise.
24230 * wcsmbs/Versions: Likewise.
24232 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24234 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24235 loop termination condition.
24237 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24238 variable to calculate EZ.
24241 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24242 the lower precision input.
24244 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24247 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24248 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24249 (run-via-rtld-prefix): Do not handle %-bp tests.
24250 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24251 (all-object-suffixes): Remove .ob.
24252 (bppfx): Remove variable.
24253 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24254 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24255 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24256 [$(build-bounded) = yes] (libtype.ob): Likewise.
24257 * Makerules (elide-routines.ob): Remove variable.
24258 (do-tests-clean): Do not handle *-bp.out.
24259 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24260 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24261 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24262 (tests): Do not include $(tests-bp.out).
24263 (xtests): Do not include $(xtests-bp.out).
24264 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24265 [$(build-bounded) = yes] ($(addprefix
24266 $(objpfx),$(binaries-bounded))): Remove rule.
24267 ($(objpfx)%-bp.out): Remove rule.
24268 * config.make.in (build-bounded): Remove variable.
24269 * crypt/Makefile [$(build-bounded) = yes]
24270 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24271 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24272 append to variable.
24273 [$(build-bounded) = yes] (install-lib): Likewise.
24274 [$(build-bounded) = yes] (generated): Likewise.
24275 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24277 * intl/Makefile [$(build-bounded) = yes]
24278 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24279 * math/Makefile [$(build-bounded) = yes]
24280 ($(tests:%=$(objpfx)%-bp): Likewise.
24281 * misc/Makefile [$(build-bounded) = yes]
24282 ($(objpfx)tst-tsearch-bp): Likewise.
24283 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24284 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24286 * string/Makefile (o-objects.ob): Remove variable.
24287 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24288 (CFLAGS-.ob): Remove variable.
24289 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24290 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24291 both definitions of variable.
24292 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24293 (ASFLAGS-.ob): Remove variable.
24295 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24298 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24299 Remove __BOUNDED_POINTERS__ from condition.
24300 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24301 * string/bits/string2.h [!__NO_STRING_INLINES &&
24302 !__BOUNDED_POINTERS__]: Likewise.
24303 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24305 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24306 Remove conditional code.
24307 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24308 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24309 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24313 * csu/libc-start.c: Do not include <bp-sym.h>.
24314 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24315 * elf/dl-open.c: Do not include <bp-sym.h>.
24316 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24317 * math/fegetenv.c: Do not include <bp-sym.h>.
24318 (fegetenv): Do not use BP_SYM in versioned symbols.
24319 * nptl/sysdeps/pthread/bits/libc-lockP.h
24320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24323 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24325 (__pthread_mutex_destroy): Likewise.
24326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24327 (__pthread_mutex_lock): Likewise.
24328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24329 (__pthread_mutex_trylock): Likewise.
24330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24331 (__pthread_mutex_unlock): Likewise.
24332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24333 (__pthread_mutexattr_init): Likewise.
24334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24335 (__pthread_mutexattr_destroy): Likewise.
24336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24337 (__pthread_mutexattr_settype): Likewise.
24338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24339 (__pthread_rwlock_init): Likewise.
24340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24341 (__pthread_rwlock_destroy): Likewise.
24342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24343 (__pthread_rwlock_rdlock): Likewise.
24344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24345 (__pthread_rwlock_tryrdlock): Likewise.
24346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24347 (__pthread_rwlock_wrlock): Likewise.
24348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24349 (__pthread_rwlock_trywrlock): Likewise.
24350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24351 (__pthread_rwlock_unlock): Likewise.
24352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24353 (__pthread_key_create): Likewise.
24354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24355 (__pthread_setspecific): Likewise.
24356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24357 (__pthread_getspecific): Likewise.
24358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24361 (_pthread_cleanup_push_defer): Likewise.
24362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24363 (_pthread_cleanup_pop_restore): Likewise.
24364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24365 (pthread_setcancelstate): Likewise.
24366 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24368 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24369 (memchr): Do not use BP_SYM in weak_alias.
24370 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24371 (fegetenv): Do not use BP_SYM in versioned symbols.
24372 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24373 (fesetenv): Do not use BP_SYM in versioned symbols.
24374 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24375 (feupdateenv): Do not use BP_SYM in versioned symbols.
24376 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24377 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24378 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24379 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24380 (open64): Do not use BP_SYM in weak_alias.
24381 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24382 (fegetenv): Do not use BP_SYM in versioned symbols.
24383 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24384 (fesetenv): Do not use BP_SYM in versioned symbols.
24385 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24386 (feupdateenv): Do not use BP_SYM in versioned symbols.
24387 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24388 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24389 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24390 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24391 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24392 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24393 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24395 (__libc_start_main): Do not use BP_SYM.
24397 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24400 redundant return line.
24402 (denorm): Likewise.
24403 (dbl_mp): Likewise.
24404 (sub_magnitudes): Likewise.
24410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24412 (denorm): Likewise.
24413 (dbl_mp): Likewise.
24414 (sub_magnitudes): Likewise.
24421 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24423 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24424 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24427 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24428 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24430 of __mul for squares.
24431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24435 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24436 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24438 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24441 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24443 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24444 prototype or function definition. Rename ubp_* variables and
24445 parameters. Remove argv definitions conditional on
24446 [__BOUNDED_POINTERS__].
24447 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24448 * elf/dl-runtime.c (_dl_fixup): Likewise.
24449 * include/set-hooks.h (RUN_HOOK): Likewise.
24450 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24452 * string/strcpy.c (strcpy): Do not use __unbounded.
24453 * sysdeps/generic/frame.h (struct layout): Likewise.
24454 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24455 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24456 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24457 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24458 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24459 (__backtrace): Likewise.
24460 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24462 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24463 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24464 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24466 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24467 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24468 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24469 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24470 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24471 Do not use __unbounded.
24472 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24473 Rename __unboundedrlimits parameter to rlimits in prototype.
24474 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24475 Do not use __unbounded.
24476 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24477 not use __ptrvalue.
24478 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24479 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24480 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24481 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24482 __ptrvalue or __unbounded.
24483 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24484 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24486 (__new_msgctl): Do not use __ptrvalue.
24487 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24489 (__libc_msgrcv): Do not use __ptrvalue.
24490 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24491 startup_info): Do not use __unbounded.
24492 (__libc_start_main): Likewise. Rename ubp_* variables and
24493 parameters. Remove argv definitions conditional on
24494 [__BOUNDED_POINTERS__].
24495 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24497 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24499 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24501 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24503 (__new_shmctl): Do not use __ptrvalue.
24504 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24505 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24507 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24508 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24509 (__libc_sigaction): Likewise.
24510 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24511 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24513 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24515 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24517 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24519 * string/mempcpy.c: Implement by calling memcpy.
24521 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24525 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24528 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24529 values in the mantissa.
24531 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24532 minimize writes to Z.
24533 (sub_magnitudes): Simplify code a bit.
24535 2013-02-12 Roland McGrath <roland@hack.frob.com>
24537 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24538 from the message. The linker prefixes all warnings with that already.
24540 2013-02-12 Andreas Schwab <schwab@suse.de>
24543 * posix/regexec.c (extend_buffers): Add parameter min_len.
24544 (check_matching): Pass minimum needed length.
24545 (clean_state_log_if_needed): Likewise.
24546 (get_subexp): Likewise.
24547 * posix/Makefile (tests): Add bug-regex34.
24548 (bug-regex34-ENV): Define.
24549 * posix/bug-regex34.c: New file.
24552 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24553 elements compare against the byte sequence of it, not its name.
24554 * posix/Makefile (tests): Add bug-regex35.
24555 (bug-regex35-ENV): Define.
24556 * posix/bug-regex35.c: New file.
24558 2013-02-11 Tom de Vries <tom@codesourcery.com>
24560 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24562 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24563 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24564 (CHECK_EOL): Add undef.
24566 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24568 * bits/stdlib-bsearch.h: New file.
24569 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24570 * stdlib/stdlib.h: Likewise.
24572 2013-02-11 Roland McGrath <roland@hack.frob.com>
24574 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24575 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24577 * manual/search.texi (Array Search Function): Add missing const in
24579 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24580 declaration to use rlim_t.
24581 (Basic Scheduling Functions): Remove erroneous const from
24582 sched_getparam prototype. Remove erroneous * from
24583 sched_get_priority_max and sched_get_priority_min prototypes.
24584 (Resource Usage): Fix summary @comment on vtimes to refer to
24585 sys/vtimes.h rather than vtimes.h.
24586 Add missing *s in vtimes prototype.
24587 (Limits on Resources): Fix ulimit prototype to return long int.
24588 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24589 prototypes to use long int rather than double.
24590 (BSD Random): Fix initstate and setstate to use char *, not void *.
24591 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24592 prototype to make second argument 'struct aiocb64 *const[]'.
24593 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24594 (Status of AIO Operations): Remove erroneous const in aio_return and
24595 aio_return64 prototypes.
24596 (Synchronizing I/O): Fix sync prototype to return void.
24597 * manual/startup.texi (Suboptions): Remove an erroneous const in
24598 getsubopt prototype.
24599 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24600 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24601 use size_t rather than int.
24602 (Scanning All Users): Likewise for getpwent_r.
24603 (Setting Groups): Add missing const to setgroups prototype.
24604 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24605 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24606 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24607 'const void *' rather than 'const char *'.
24608 (Host Address Functions): Likewise for inet_ntop.
24609 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24610 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24611 ssize_t for return value.
24612 (Sending Data): Likewise for send, sendto, sendmsg.
24613 (Socket Option Functions): Add a missing const in setsockopt prototype.
24614 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24615 use wchar_t for the argument.
24616 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24617 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24619 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24620 double/float/long double for second argument.
24621 Fix return types of significand, significandf, significandl.
24622 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24623 argument in fchmod prototype.
24624 (File Owner): Use uid_t and gid_t in fchown prototype.
24625 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24626 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24627 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24628 use 'const struct dirent **' as argument types to CMP function pointer
24630 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24631 (File Times): Fix summary magic @comment for struct utimbuf and utime
24632 to refer to utime.h, not time.h.
24633 * manual/string.texi (Argz Functions): Add missing const in
24634 argz_extract and argz_next prototypes.
24635 (Finding Tokens in a String): Likewise for basename.
24636 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24637 (Copying and Concatenation): Fix typo in wmemmove prototype.
24638 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24639 (Signal Stack): Remove erroneous const in sigstack prototype.
24640 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24642 (Simple Calendar Time): Likewise for stime.
24643 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24645 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24646 say sys/sysctl.h instead.
24647 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24648 and vsyslog prototypes.
24650 2013-02-11 Tom de Vries <tom@codesourcery.com>
24652 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24655 2013-02-11 Roland McGrath <roland@hack.frob.com>
24657 * misc/sys/mman.h: Fix typo in mremap comment.
24659 2013-02-08 Roland McGrath <roland@hack.frob.com>
24661 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24662 the '\0' terminator.
24664 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24667 * debug/segfault.c: Don't include <bp-checks.h>.
24668 * sysdeps/generic/bp-checks.h: Remove file.
24669 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24670 (__GETDENTS): Don't use CHECK_N.
24671 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24672 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24673 (__getgroups): Don't use CHECK_N.
24674 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24675 (setgroups): Don't use CHECK_N.
24676 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24677 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24678 (__libc_msgrcv): Don't use CHECK_N.
24679 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24680 (__libc_msgsnd): Don't use CHECK_N.
24681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24683 (__libc_pread): Don't use CHECK_N.
24684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24685 include <bp-checks.h>.
24686 (__libc_pread64): Don't use CHECK_N.
24687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24688 include <bp-checks.h>.
24689 (__libc_pwrite): Don't use CHECK_N.
24690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24691 include <bp-checks.h>.
24692 (__libc_pwrite64): Don't use CHECK_N.
24693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24695 (__libc_pread): Don't use CHECK_N.
24696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24697 include <bp-checks.h>.
24698 (__libc_pread64): Don't use CHECK_N.
24699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24700 include <bp-checks.h>.
24701 (__libc_pwrite): Don't use CHECK_N.
24702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24703 include <bp-checks.h>.
24704 (__libc_pwrite64): Don't use CHECK_N.
24705 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24706 (do_pread): Don't use CHECK_N.
24707 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24708 (do_pread64): Don't use CHECK_N.
24709 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24710 (do_pwrite): Don't use CHECK_N.
24711 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24712 (do_pwrite64): Don't use CHECK_N.
24713 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24714 (__libc_readv): Don't use CHECK_N.
24715 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24716 (semop): Don't use CHECK_N.
24717 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24719 (semtimedop): Don't use CHECK_N.
24720 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24721 (__libc_pread): Don't use CHECK_N.
24722 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24724 (__libc_pread64): Don't use CHECK_N.
24725 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24727 (__libc_pwrite): Don't use CHECK_N.
24728 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24730 (__libc_pwrite64): Don't use CHECK_N.
24731 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24733 (__libc_msgrcv): Don't use CHECK_N.
24734 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24735 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24736 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24737 (__libc_writev): Don't use CHECK_N.
24739 2013-02-08 Roland McGrath <roland@hack.frob.com>
24741 * string/strcpy.c: Removed unused variable.
24743 * Makeconfig (+sysdep-includes): Define with := rather than =.
24744 Use an existing include/ subdir of each sysdeps dir before it.
24746 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24748 * nscd/connection.c (register_traced_file): Comment function.
24749 [HAVE_INOTIFY] (union __inev): Define.
24750 [HAVE_INOTIFY] (inotify_check_files): New function.
24751 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24752 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24754 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24756 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24758 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24759 loaded if not already and that a failure is permanent.
24761 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24764 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24765 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24767 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24770 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24771 (CHECK_1_NULL_OK): Likewise.
24772 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24773 (__fxstat): Do not use CHECK_1.
24774 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24776 (___fxstat64): Do not use CHECK_1.
24777 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24779 (__fxstatat): Do not use CHECK_1.
24780 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24782 (__fxstatat64): Do not use CHECK_1.
24783 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24785 (__fxstat): Do not use CHECK_1.
24786 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24788 (__fxstatat): Do not use CHECK_1.
24789 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24791 (__getresgid): Do not use CHECK_1.
24792 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24794 (__getresuid): Do not use CHECK_1.
24795 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24797 (__lxstat): Do not use CHECK_1.
24798 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24800 (__old_msgctl): Do not use CHECK_1.
24801 (__new_msgctl): Likewise.
24802 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24804 (__new_setrlimit): Do not use CHECK_1.
24805 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24807 (__old_shmctl): Do not use CHECK_1.
24808 (__new_shmctl): Likewise.
24809 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24811 (__xstat): Do not use CHECK_1.
24812 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24813 (__lxstat): Do not use CHECK_1.
24814 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24816 (___lxstat64): Do not use CHECK_1.
24817 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24818 (__old_msgctl): Do not use CHECK_1.
24819 (__new_msgctl): Likewise.
24820 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24822 (__gettimeofday): Do not use CHECK_1.
24823 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24824 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24825 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24827 (__gettimeofday): Do not use CHECK_1.
24828 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24829 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24830 (__new_shmctl): Do not use CHECK_1.
24831 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24833 (do_sigtimedwait): Do not use CHECK_1.
24834 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24836 (do_sigwaitinfo): Do not use CHECK_1.
24837 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24839 (msgctl): Do not use CHECK_1.
24840 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24842 (shmctl): Do not use CHECK_1.
24843 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24844 (ustat): Do not use CHECK_1.
24845 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24847 (__fxstat): Do not use CHECK_1.
24848 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24850 (__fxstatat): Do not use CHECK_1.
24851 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24853 (__lxstat): Do not use CHECK_1.
24854 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24856 (__xstat): Do not use CHECK_1.
24857 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24858 (__xstat): Do not use CHECK_1.
24859 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24860 (___xstat64): Do not use CHECK_1.
24863 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24865 (CHECK_BOUNDS_HIGH): Likewise.
24866 * string/strcpy.c: Do not include <bp-checks.h>.
24867 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24869 2013-02-07 Roland McGrath <roland@hack.frob.com>
24871 * nscd/nscd-client.h (__nscd_drop_map_ref):
24872 Add __attribute__ ((unused)).
24873 * nis/nss-nisplus.h (niserr2nss): Likewise.
24875 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24876 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24878 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24879 Remove inline keyword.
24880 * include/rounding-mode.h (round_away): Likewise.
24881 * libio/wfileops.c (adjust_wide_data): Likewise.
24882 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24883 (__m128i_strloadu_tolower): Likewise.
24884 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24885 (__m128i_strloadu_tolower): Likewise.
24886 * time/mktime.c (ydhms_diff): Likewise.
24887 * locale/elem-hash.h (elem_hash): Likewise.
24888 * locale/setlocale.c (setdata): Likewise.
24889 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24890 (re_string_wchar_at): Likewise.
24891 (bitset_not, bitset_merge, bitset_mask): Likewise.
24892 [!(__GNUC__ > 3)] (inline): Remove macro.
24893 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24894 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24895 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24896 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24897 * string/memcmp.c (memcmp_bytes): Likewise.
24898 * locale/programs/locarchive.c (compute_hashval): Likewise.
24899 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24900 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24901 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24902 * nss/getent.c (print_rpc, print_protocols): Likewise.
24903 (print_passwd, print_group, print_aliases): Likewise.
24904 * nis/nss-nisplus.h (niserr2nss): Likewise.
24905 * nscd/connections.c (restart_p): Likewise.
24906 Change return type to bool.
24908 2013-02-05 Roland McGrath <roland@hack.frob.com>
24910 * Makeconfig (all-Depend-files): Add existing
24911 $(sorted-subdirs:=/Depend) files.
24912 (all-subdirs): Remove nss.
24913 * sysdeps/unix/inet/Subdirs: Add it here instead.
24914 * hesiod/Depend: New file.
24916 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24917 instead of calling alloca.
24919 * io/lseek.c (__lseek): Rename to __libc_lseek.
24920 Define __lseek as an alias.
24922 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24924 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24926 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24927 else clause and remove check for non-standard endianness.
24929 2013-02-04 David S. Miller <davem@davemloft.net>
24931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24933 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24936 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24937 (__ubp_memchr): Remove prototype.
24938 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24939 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24940 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24941 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24942 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24944 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24945 (__ubp_memchr): Likewise.
24946 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24947 (__ubp_memchr): Likewise.
24948 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24949 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24950 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24951 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24953 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24954 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24955 (__getcwd): Do not use CHECK_STRING.
24956 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24958 (__real_chown): Do not use CHECK_STRING.
24959 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24961 (fchownat): Do not use CHECK_STRING.
24962 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24964 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24966 (__lchown): Do not use CHECK_STRING.
24967 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24968 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24969 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24970 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24972 include <bp-checks.h>.
24973 (truncate64): Do not use CHECK_STRING.
24974 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24976 (__real_chown): Do not use CHECK_STRING.
24977 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24979 (__lchown): Do not use CHECK_STRING.
24980 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24982 (__chown): Do not use CHECK_STRING.
24983 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24985 (truncate64): Do not use CHECK_STRING.
24986 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24988 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24989 (__xmknod): Do not use CHECK_STRING.
24990 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24992 (__xmknodat): Do not use CHECK_STRING.
24993 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24994 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24996 2013-02-04 Andreas Schwab <schwab@suse.de>
24999 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25000 * include/netdb.h: Likewise for h_errno.
25001 * elf/tst-stackguard1.c: Include <tls.h>.
25003 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25005 * elf/link.h (struct link_map): Extend the l_addr comment.
25006 * include/link.h (struct link_map): Likewise.
25008 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25011 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25012 (BOUNDED_1): Remove macro.
25013 * debug/backtrace.c: Don't include <bp-checks.h>.
25014 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25015 (__backtrace): Likewise.
25016 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25018 (__backtrace): Don't use BOUNDED_1.
25019 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25021 (__backtrace): Don't use BOUNDED_1.
25022 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25023 (__backtrace): Don't use BOUNDED_1.
25024 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25025 (shmat): Don't use BOUNDED_N.
25027 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25030 * sysdeps/generic/bp-start.h: Remove file.
25031 * csu/libc-start.c: Don't include <bp-start.h>.
25032 (LIBC_START_MAIN): Set up __environ directly instead of using
25033 INIT_ARGV_and_ENVIRON.
25034 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25038 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25040 (CHECK_FCNTL): Likewise.
25041 (CHECK_N_PAGES): Likewise.
25044 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25046 (CHECK_SIGSET_NULL_OK): Likewise.
25047 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25049 (sigpending): Don't use CHECK_SIGSET.
25050 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25052 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25053 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25055 (do_sigsuspend): Don't use CHECK_SIGSET.
25056 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25058 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25059 (do_sigwait): Don't use CHECK_SIGSET.
25060 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25062 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25063 include <bp-checks.h>.
25064 (sigpending): Don't use CHECK_SIGSET.
25065 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25066 include <bp-checks.h>.
25067 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25068 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25070 (sigpending): Don't use CHECK_SIGSET.
25071 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25073 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25076 * sysdeps/generic/bp-semctl.h: Remove file.
25077 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25078 <bp-checks.h> and <bp-semctl.h>.
25079 (__old_semctl): Don't use CHECK_SEMCTL.
25080 (__new_semctl): Likewise.
25081 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25083 (__old_semctl): Don't use CHECK_SEMCTL.
25084 (__new_semctl): Likewise.
25085 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25086 <bp-checks.h> and <bp-semctl.h>.
25087 (__old_semctl): Don't use CHECK_SEMCTL.
25088 (__new_semctl): Likewise.
25089 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25090 <bp-checks.h> and <bp-semctl.h>.
25091 (semctl): Don't use CHECK_SEMCTL.
25094 * Makerules (elide-bp-thunks): Remove variable.
25095 (elide-routines.oS): Don't use $(elide-bp-thunks).
25096 (elide-routines.os): Likewise.
25097 (elide-routines.o): Likewise.
25098 (elide-routines.op): Likewise.
25099 (elide-routines.og): Likewise.
25100 (objects): Don't use $(bp-thunks).
25101 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25103 (common-generated): Do not add s-proto-bp.d.
25104 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25107 Do not generate makefile rules for bounded-pointer thunks.
25108 * sysdeps/generic/bp-thunks.h: Remove file.
25109 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25110 * sysdeps/unix/s-proto-bp.S: Likewise.
25113 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25114 parts of result separately when argument is not close to line from
25115 -i to i and one part of argument is small.
25116 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25117 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25118 * math/libm-test.inc (cacos_test): Add more tests.
25119 (casin_test): Likewise.
25120 (casinh_test): Likewise.
25121 * sysdeps/i386/fpu/libm-test-ulps: Update.
25122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25124 2013-01-31 David S. Miller <davem@davemloft.net>
25126 * po/de.po: Update from translation team.
25128 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25130 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25132 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25134 * configure.in (_AC_PROG_CC_C89): New definition.
25135 * configure: Regenerate.
25137 * configure.in (AC_PROG_CPP): New definition.
25138 * configure: Regenerate.
25140 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25142 * debug/tst-backtrace.h: New file.
25143 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25144 (ret): Remove variable.
25146 (FAIL): Remove macro.
25147 (NO_INLINE): Likewise.
25148 (fn1): Use match function instead of strstr.
25149 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25150 (ret): Remove variable.
25152 (FAIL): Remove macro.
25153 (NO_INLINE): Likewise.
25154 (fn): Use match function instead of strstr.
25155 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25156 (ret): Remove variable.
25158 (FAIL): Remove macro.
25159 (NO_INLINE): Likewise.
25160 (handle_signal): Use match function instead of strstr.
25161 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25162 (ret): Remove variable.
25164 (FAIL): Remove macro.
25165 (NO_INLINE): Likewise.
25166 (handle_signal): Use match function instead of strstr.
25168 2013-01-23 Roland McGrath <roland@hack.frob.com>
25170 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25172 2013-01-23 David S. Miller <davem@davemloft.net>
25174 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25175 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25176 argument of CAS if possible.
25177 * sysdeps/sparc/sparc64/bits/atomic.h
25178 (__arch_compare_and_exchange_val_32_acq): Likewise.
25179 (__arch_compare_and_exchange_val_64_acq): Likewise.
25181 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25183 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25184 * sysdeps/posix/ulimit.c: ... this.
25185 Include <limits.h>.
25186 * sysdeps/unix/bsd/ulimit.c: Remove file.
25188 2013-01-23 Adam Conrad <adconrad@0c3.net>
25190 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25191 (LDFLAGS-tst-array5): Likewise.
25193 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25196 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25197 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25198 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25199 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25201 2013-01-21 David S. Miller <davem@davemloft.net>
25203 * sysdeps/sparc/backtrace.c: New file.
25204 * sysdeps/sparc/sparc32/backtrace.h: New file.
25205 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25206 * sysdeps/sparc/sparc64/backtrace.h: New file.
25207 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25208 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25211 2013-01-21 Andreas Schwab <schwab@suse.de>
25214 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25217 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25223 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25224 Mark Mitchell <mark@codesourcery.com>
25225 Tom de Vries <tom@codesourcery.com>
25226 Paul Pluzhnikov <ppluzhnikov@google.com>
25228 * debug/tst-backtrace2.c: New file.
25229 * debug/tst-backtrace3.c: Likewise.
25230 * debug/tst-backtrace4.c: Likewise.
25231 * debug/tst-backtrace5.c: Likewise.
25232 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25233 (CFLAGS-tst-backtrace3.c): Likewise.
25234 (CFLAGS-tst-backtrace4.c): Likewise.
25235 (CFLAGS-tst-backtrace5.c): Likewise.
25236 (LDFLAGS-tst-backtrace2): Likewise.
25237 (LDFLAGS-tst-backtrace3): Likewise.
25238 (LDFLAGS-tst-backtrace4): Likewise.
25239 (LDFLAGS-tst-backtrace5): Likewise.
25240 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25241 tst-backtrace4 and tst-backtrace5.
25243 2013-01-18 Anton Blanchard <anton@samba.org>
25244 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25246 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25247 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25248 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25249 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25251 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25252 "+r" and remove output regs list as redundant. Add explicit inline
25253 asm to specify register of return val to work around compiler codegen
25254 bug. Remove (int) cast on return value. Add return type parameter to
25255 use in macro so that this macro does not truncate return value for
25257 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25258 pass to INTERNAL_VSYSCALL_NCS.
25259 (INLINE_VSYSCALL): Add 'long int' as return type to
25260 INTERNAL_VSYSCALL_NCS macro invocation.
25261 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25262 INTERNAL_VSYSCALL_NCS macro invocation.
25263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25265 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25268 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25269 Fix application of SIMD FP exception mask.
25271 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25272 mp_no from a power of two.
25273 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25274 __mpexp_twomm1. Use __pow_mp.
25276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25279 2013-01-17 David S. Miller <davem@davemloft.net>
25281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25283 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25286 * include/complex.h: Condition contents on [!_COMPLEX_H].
25287 (__kernel_casinhf): New prototype.
25288 (__kernel_casinh): Likewise.
25289 (__kernel_casinhl): Likewise.
25290 * math/Makefile (libm_calls): Add k_casinh.
25291 * math/k_casinh.c: New file.
25292 * math/k_casinhf.c: Likewise.
25293 * math/k_casinhl.c: Likewise.
25294 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25295 finite nonzero arguments.
25296 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25297 finite nonzero arguments.
25298 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25299 finite nonzero arguments.
25300 * math/s_casinh.c: Do not include <float.h>.
25301 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25302 * math/s_casinhf.c: Do not include <float.h>.
25303 (__casinhf): Move code for finite nonzero arguments to
25305 * math/s_casinhl.c: Do not include <float.h>.
25306 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25308 (__casinhl): Move code for finite nonzero arguments to
25310 * math/libm-test.inc (cacos_test): Add more tests.
25311 * sysdeps/i386/fpu/libm-test-ulps: Update.
25312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25314 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25316 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25317 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25318 [!HAVE_MREMAP]: Remove [defined linux] case.
25319 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25321 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25323 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25325 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25327 * elf/elf.h (R_386_SIZE32): New relocation.
25328 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25330 (elf_machine_rela): Likewise.
25331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25332 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25334 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25336 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25337 (FP_FAST_FMA): Do not define.
25338 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25339 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25340 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25341 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25342 !_SOFT_FLOAT]: Likewise.
25343 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25344 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25346 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25347 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25348 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25349 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25350 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25351 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25354 2013-01-16 Andreas Schwab <schwab@suse.de>
25357 * include/stdlib.h (__mktemp): Add declaration.
25358 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25359 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25361 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25363 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25365 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25366 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25367 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25369 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25370 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25372 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25374 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25375 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25376 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25378 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25379 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25381 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25383 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25385 2013-01-15 David S. Miller <davem@davemloft.net>
25387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25388 trunc{,f} to libm-sysdep_routes.
25389 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25399 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25400 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25401 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25402 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25403 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25404 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25407 nearbyint{,f} to libm-sysdep_routes.
25408 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25419 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25421 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25422 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25424 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25425 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25426 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25428 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25429 libc_feholdexcept and libc_fesetenv.
25431 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25433 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25435 2013-01-14 David S. Miller <davem@davemloft.net>
25437 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25438 (SPARC_ASM_VIS2_IFUNC): Likewise.
25439 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25441 use of 'siam' instruction.
25442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25460 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25461 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25462 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25475 routines to libm-sysdep_routines.
25476 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25479 fdim/fdimf to libm-sysdep_routines.
25480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25488 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25489 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25490 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25491 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25493 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25495 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25496 to optimize copies.
25498 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25503 local variable MPTWO.
25504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25507 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25509 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25512 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25514 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25516 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25518 * manual/pattern.texi (glob_t): Document gl_flags.
25519 (glob64_t): Likewise.
25521 2013-01-11 David S. Miller <davem@davemloft.net>
25523 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25524 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25525 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25526 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25527 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25528 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25529 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25530 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25531 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25532 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25533 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25534 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25535 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25537 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25538 sparc V9 rather than using V8 code.
25539 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25540 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25542 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25544 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25547 2013-01-11 Roland McGrath <roland@hack.frob.com>
25549 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25550 not in the main loop.
25551 * configure: Regenerated.
25553 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25555 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25556 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25558 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25559 [!__GLIBC_HAVE_LONG_LONG] case.
25560 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25561 condition to just #else.
25562 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25563 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25564 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25565 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25567 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25568 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25569 #elif condition to just #else.
25570 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25571 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25572 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25573 #elif condition to just #else.
25575 2013-01-11 Steve Ellcey <sellcey@mips.com>
25577 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25578 (EF_MIPS_ARCH_64): Fix value.
25579 (EF_MIPS_ARCH_32R2): New.
25580 (EF_MIPS_ARCH_64R2): New.
25582 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25584 * Makeconfig (+link-pie-before-libc): New.
25585 (+link-pie-after-libc): Likewise.
25586 (+link-pie-tests): Likewise.
25587 (+link-pie): Rewritten.
25588 (link-before-libc): Remove $(config-LDFLAGS).
25589 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25590 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25591 (config-LDFLAGS): Renamed to ...
25592 (rtld-LDFLAGS): This.
25593 (rtld-tests-LDFLAGS): New macro.
25594 (link-libc-rpath-link): Likewise.
25595 (link-libc-tests-rpath-link): Likewise.
25596 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25597 (link-libc): Prepand $(link-libc-rpath-link).
25598 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25599 (test-program-prefix): New macro.
25600 (test-via-rtld-prefix): Likewise.
25601 (test-program-cmd): Likewise.
25602 (host-test-program-cmd): Likewise.
25603 * Makefile ($(common-objpfx)testrun.sh): Replace
25604 $(run-program-prefix) with $(test-program-prefix).
25605 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25607 ($(common-objpfx)shlib.lds): Likewise.
25608 (build-module-helper): Likewise.
25609 ($(common-objpfx)format.lds): Likewise.
25610 * Rules (binaries-pie-tests): New.
25611 (binaries-pie-notests): Likewise.
25612 (binaries-pie): Rewritten.
25613 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25614 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25615 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25616 (make-test-out): Replace $(host-built-program-cmd) with
25617 $(host-test-program-cmd).
25618 * config.make.in (build-hardcoded-path-in-tests): New variable.
25619 * configure.in (--enable-hardcoded-path-in-tests): New configure
25621 (hardcoded_path_in_tests): New AC_SUBST.
25622 * configure: Regenerated.
25623 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25624 $(built-program-cmd) with $(test-program-cmd).
25625 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25626 (test_program_cmd): This.
25627 * elf/Makefile ($(objpfx)order.out): Run test with
25628 $(test-program-prefix).
25629 ($(objpfx)order2.out): Likewise.
25630 ($(objpfx)tst-initorder.out): Likewise.
25631 ($(objpfx)tst-initorder2.out): Likewise.
25632 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25633 $(test-program-cmd).
25634 ($(objpfx)tst-array1-static.out): Likewise.
25635 ($(objpfx)tst-array2.out): Likewise.
25636 ($(objpfx)tst-array3.out): Likewise.
25637 ($(objpfx)tst-array4.out): Likewise.
25638 ($(objpfx)tst-array5.out): Likewise.
25639 ($(objpfx)tst-array5-static.out): Likewise.
25640 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25641 $(test-program-cmd).
25642 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25643 $(run-program-prefix) with $(test-program-prefix).
25644 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25645 (test_program_prefix): This.
25646 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25647 $(run-program-prefix) with $(test-program-prefix).
25648 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25649 (test_program_prefix): This.
25650 * iconvdata/tst-tables.sh: Likewise.
25651 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25652 $(run-program-prefix) with $(test-program-prefix).
25653 ($(objpfx)tst-translit.out): Likewise.
25654 ($(objpfx)tst-gettext2.out): Likewise.
25655 ($(objpfx)tst-gettext4.out): Likewise.
25656 ($(objpfx)tst-gettext6.out): Likewise.
25657 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25658 (test_program_prefix): This.
25659 * intl/tst-gettext2.sh: Likewise.
25660 * intl/tst-gettext4.sh Likewise.
25661 * intl/tst-gettext6.sh: Likewise.
25662 * intl/tst-translit.sh: Likewise.
25663 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25664 with $(test-program-cmd).
25665 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25666 $(run-program-prefix) with $(test-program-prefix).
25667 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25668 (test_program_prefix): This.
25669 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25670 $(run-program-prefix) with $(test-program-prefix).
25671 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25672 (test_program_prefix): This.
25673 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25674 * posix/Makefile ($(objpfx)globtest.out): Replace
25675 $(run-via-rtld-prefix) and $(test-wrapper) with
25676 $(test-program-prefix) and $(test-via-rtld-prefix).
25677 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25678 $(test-program-prefix).
25679 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25680 $(host-test-program-cmd).
25681 (tst-spawn-ARGS): Likewise.
25682 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25683 $(test-program-prefix).
25684 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25685 (test_via_rtld_prefix): This.
25686 (test_wrapper): Renamed to ...
25687 (test_program_prefix): This.
25688 (run_program_prefix): Replaced by test_program_prefix.
25689 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25690 (test_program_prefix): This.
25691 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25692 with $(host-test-program-cmd).
25693 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25694 $(run-program-prefix) with $(test-program-prefix).
25695 ($(objpfx)tst-printf.out): Likewise.
25696 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25697 $(test-program-cmd).
25698 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25699 (test_program_prefix): This.
25700 * stdio-common/tst-unbputc.sh: Likewise.
25701 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25702 $(run-program-prefix) with $(test-program-prefix).
25703 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25704 (test_program_prefix): This.
25705 * string/Makefile ($(objpfx)tst-svc.out): Replace
25706 $(built-program-cmd) with $(test-program-cmd).
25708 2013-01-11 Andreas Jaeger <aj@suse.de>
25711 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25712 value. Sync with Linux 3.7.
25714 2013-01-10 David S. Miller <davem@davemloft.net>
25716 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25717 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25718 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25720 2013-01-10 Roland McGrath <roland@hack.frob.com>
25722 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25724 * configure: Regenerated.
25726 2013-01-10 David S. Miller <davem@davemloft.net>
25728 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25729 sparc V9 rather than using V8 code.
25730 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25731 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25733 2013-01-10 Roland McGrath <roland@hack.frob.com>
25735 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25736 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25737 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25738 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25739 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25740 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25741 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25742 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25743 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25744 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25745 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25746 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25747 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25748 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25749 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25750 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25751 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25752 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25753 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25754 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25755 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25756 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25757 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25758 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25759 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25760 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25761 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25763 2013-01-10 David S. Miller <davem@davemloft.net>
25765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25767 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25769 * posix/Makefile (tests-static): New variable.
25770 (tests): Add $(tests-static).
25771 (tst-exec-static-ARGS): New variable.
25772 (tst-spawn-static-ARGS): Likewise.
25773 * posix/tst-exec-static.c: New file.
25774 * posix/tst-spawn-static.c: Likewise.
25775 * posix/tst-exec.c: Support run directly.
25776 * posix/tst-spawn.c: Likewise.
25778 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25780 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25782 * math/bits/mathcalls.h (llrint): Likewise.
25783 (llround): Likewise.
25784 * stdlib/stdlib.h (struct drand48_data): Likewise.
25785 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25786 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25787 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25789 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25791 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25792 (elf_greg_t): Likewise.
25793 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25794 (__jmp_buf): Likewise.
25795 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25797 (llrint): Likewise, for all definitions.
25798 (llrintl): Likewise.
25800 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25801 Remove [__GNUC__] condition.
25802 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25803 condition to just [__USE_ISOC99].
25804 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25806 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25809 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25810 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25812 (_POSIX_V6_ILP32_OFF32): Likewise.
25813 (_XBS5_ILP32_OFF32): Likewise.
25814 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25815 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25817 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25819 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25821 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25822 doubles __mpexp_twomm1. Adjust usage.
25823 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25826 2013-01-10 Andreas Schwab <schwab@suse.de>
25829 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25830 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25832 2013-01-09 David S. Miller <davem@davemloft.net>
25835 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25836 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25837 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25838 (TCP_FASTOPEN): Define.
25839 (tcp_repair_opt): New structure.
25840 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25842 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25843 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25844 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25845 (tcp_cookie_transactions): New structure.
25847 2013-01-09 Anton Blanchard <anton@samba.org>
25849 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25850 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25851 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25852 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25854 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25856 * include/features.h (__USE_ANSI): Remove.
25858 2013-01-09 Roland McGrath <roland@hack.frob.com>
25860 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25862 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25864 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25866 * sysdeps/s390/fpu/libm-test-ulps: Update.
25868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25870 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25874 (denorm): Likewise.
25875 (__mp_dbl): Likewise.
25876 (__dbl_mp): Likewise.
25877 (add_magnitudes): Likewise.
25878 (sub_magnitudes): Likewise.
25884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25888 (denorm): Likewise.
25889 (__mp_dbl): Likewise.
25890 (__dbl_mp): Likewise.
25891 (add_magnitudes): Likewise.
25892 (sub_magnitudes): Likewise.
25898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25902 (denorm): Likewise.
25903 (__mp_dbl): Likewise.
25904 (__dbl_mp): Likewise.
25905 (add_magnitudes): Likewise.
25906 (sub_magnitudes): Likewise.
25913 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25915 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25916 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25917 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25918 2 && __USE_EXTERN_INLINES]: Likewise.
25920 2013-01-08 Andreas Jaeger <aj@suse.de>
25923 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25925 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25926 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25928 2013-01-07 Anton Blanchard <anton@samba.org>
25930 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25931 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25932 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25933 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25934 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25935 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25936 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25937 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25939 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25940 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25941 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25942 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25943 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25944 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25945 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25946 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25947 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25948 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25949 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25950 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25951 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25952 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25953 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25954 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25955 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25956 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25957 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25958 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25959 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25960 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25962 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25963 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25964 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25965 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25966 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25967 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25968 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25969 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25970 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25971 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25972 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25974 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25976 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25977 (__MALLOC_PMT): Likewise.
25978 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25979 [__GNUC__], only on [_LIBC].
25980 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25981 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25982 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25983 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25984 forward declaration.
25985 (realloc_hook_ini): Likewise.
25986 (memalign_hook_ini): Likewise.
25987 (__libc_memalign): Do not use __MALLOC_PMT in variable
25989 (__libc_valloc): Likewise.
25990 (__libc_pvalloc): Likewise.
25991 (__libc_calloc): Likewise.
25992 (__posix_memalign): Likewise.
25995 * math/s_casinh.c: Include <float.h>.
25996 (__casinh): Do not do computation with squaring and square root
25997 for large arguments.
25998 * math/s_casinhf.c: Include <float.h>.
25999 (__casinhf): Do not do computation with squaring and square root
26000 for large arguments.
26001 * math/s_casinhl.c: Include <float.h>.
26002 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26003 (__casinhl): Do not do computation with squaring and square root
26004 for large arguments.
26005 * math/libm-test.inc (casin_test): Add more tests.
26006 (casinh_test): Likewise.
26007 * sysdeps/i386/fpu/libm-test-ulps: Update.
26008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26010 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26012 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26013 (__x86_64_raw_data_cache_size): Likewise.
26014 (__x86_64_data_cache_size_half): Likewise.
26015 (__x86_64_raw_data_cache_size_half): Likewise.
26016 (__x86_64_shared_cache_size): Likewise.
26017 (__x86_64_raw_shared_cache_size): Likewise.
26018 (__x86_64_shared_cache_size_half): Likewise.
26019 (__x86_64_raw_shared_cache_size_half): Likewise.
26020 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26022 (__x86_data_cache_size): This.
26023 (__x86_64_raw_data_cache_size): Renamed to ...
26024 (__x86_raw_data_cache_size): This.
26025 (__x86_64_data_cache_size_half): Renamed to ...
26026 (__x86_data_cache_size_half): This.
26027 (__x86_64_raw_data_cache_size_half): Renamed to ...
26028 (__x86_raw_data_cache_size_half): This.
26029 (__x86_64_shared_cache_size): Renamed to ...
26030 (__x86_shared_cache_size): This.
26031 (__x86_64_raw_shared_cache_size): Renamed to ...
26032 (__x86_raw_shared_cache_size): This.
26033 (__x86_64_shared_cache_size_half): Renamed to ...
26034 (__x86_shared_cache_size_half): This.
26035 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26036 (__x86_raw_shared_cache_size_half): This.
26037 * sysdeps/x86_64/memcpy.S: Updated.
26038 * sysdeps/x86_64/memset.S: Likewise.
26039 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26040 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26041 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26043 2013-01-04 David S. Miller <davem@davemloft.net>
26045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26047 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26049 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26050 1 to avoid redefinition warning.
26051 (__USE_GNU): Don't define.
26052 (init_signaling_nan): Protoize.
26054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26056 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26058 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26060 (__cpymn): Likewise.
26061 (norm): Remove commented code.
26062 (denorm): Likewise.
26063 (__mp_dbl): Likewise.
26065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26066 (__cpymn): Likewise.
26067 (norm): Remove commented code.
26068 (denorm): Likewise.
26069 (__mp_dbl): Likewise.
26072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26073 mp_no value for 1.0 and 2.0.
26074 (norm): Use RADIXI instead of radixi.d.
26075 (denorm): Likewise.
26076 (__mul): Use 0.0 instead of zero.d.
26077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26078 mp_no value for 1.0 and 2.0.
26079 (norm): Use RADIXI instead of radixi.d.
26080 (denorm): Likewise.
26081 (__mul): Use 0.0 instead of zero.d.
26083 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26086 * math/s_casinh.c (__casinh): Reduce finite argument to first
26087 quadrant then set signs of results at the end.
26088 * math/s_casinhf.c (__casinhf): Likewise.
26089 * math/s_casinhl.c (__casinhl): Likewise.
26090 * math/libm-test.inc (casin_test): Add more tests.
26091 (casinh_test): Likewise.
26092 * sysdeps/i386/fpu/libm-test-ulps: Update.
26093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26095 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26097 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26099 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26101 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26103 (denorm): Likewise.
26104 (__mp_dbl): Likewise.
26107 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26108 and adjust the header comment.
26110 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26111 variable name from declaration.
26113 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26116 Initialize COMMON_CPUID_INDEX_7 element.
26117 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26118 (CPUID_RTM): Likewise.
26119 (HAS_RTM): Likewise.
26120 (COMMON_CPUID_INDEX_7): New enum.
26122 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26125 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26126 size is zero, record memory as freed.
26128 2013-01-03 Andreas Jaeger <aj@suse.de>
26130 * po/ia.po: Add new Interlingua translation.
26132 2012-01-03 Allan McRae <allan@archlinux.org>
26134 * locale/programs/localedef.c: Fix description of '--posix' flag.
26136 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26138 * NEWS: Update dates in second copyright notice.
26139 * README: Update copyright dates in example.
26140 * manual/libc.texinfo: Update copyright dates.
26141 * scripts/test-installation.pl: Update copyright date in --version
26144 * hurd/ctty-input.c: Fix copyright notice formatting.
26145 * hurd/ctty-output.c: Likewise.
26146 * hurd/dtable.c: Likewise.
26147 * hurd/hurd-raise.c: Likewise.
26148 * hurd/hurdprio.c: Likewise.
26149 * hurd/msgportdemux.c: Likewise.
26150 * misc/sys/file.h: Likewise.
26151 * misc/sys/ioctl.h: Likewise.
26152 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26153 * sysdeps/mach/hurd/chdir.c: Likewise.
26154 * sysdeps/mach/hurd/fchdir.c: Likewise.
26155 * sysdeps/mach/hurd/rename.c: Likewise.
26156 * sysdeps/mach/hurd/rmdir.c: Likewise.
26157 * sysdeps/mach/hurd/seekdir.c: Likewise.
26158 * sysdeps/mach/hurd/setsid.c: Likewise.
26159 * sysdeps/posix/wait3.c: Likewise.
26161 * All files with FSF copyright notices: Update copyright dates
26162 using scripts/update-copyrights.
26163 * intl/plural.c: Regenerated.
26164 * locale/programs/charmap-kw.h: Likewise.
26165 * locale/programs/locfile-kw.h: Likewise.
26167 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26169 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26172 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26173 calculation loop and add branch prediction.
26175 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26176 check access beyond bounds of m1np.
26178 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26180 (__inv): Remove local variable MPTWO to use the global
26182 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26183 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26185 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26186 MP3HALFS static const.
26188 2013-01-01 David S. Miller <davem@davemloft.net>
26190 * po/ca.po: Update from translation team.
26192 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26194 * scripts/update-copyrights: New file.
26195 * Makeconfig: Reformat copyright notice.
26196 * ctype/ctype.h: Likewise.
26197 * debug/swprintf_chk.c: Likewise.
26198 * elf/dl-cache.c: Likewise.
26199 * elf/dl-debug.c: Likewise.
26200 * elf/dl-object.c: Likewise.
26201 * grp/initgroups.c: Likewise.
26202 * hurd/Makefile: Likewise.
26203 * hurd/hurd/signal.h: Likewise.
26204 * hurd/hurdfault.c: Likewise.
26205 * hurd/hurdioctl.c: Likewise.
26206 * hurd/hurdlookup.c: Likewise.
26207 * hurd/intr-msg.c: Likewise.
26208 * iconv/gconv_open.c: Likewise.
26209 * libio/swprintf.c: Likewise.
26210 * locale/lc-ctype.c: Likewise.
26211 * locale/nl_langinfo.c: Likewise.
26212 * mach/Machrules: Likewise.
26213 * mach/Makefile: Likewise.
26214 * malloc/obstack.h: Likewise.
26215 * manual/Makefile: Likewise.
26216 * manual/tsort.awk: Likewise.
26217 * misc/bits/stab.def: Likewise.
26218 * nis/nis_print_group_entry.c: Likewise.
26219 * nis/nis_table.c: Likewise.
26220 * nis/nss_compat/compat-pwd.c: Likewise.
26221 * nis/nss_compat/compat-spwd.c: Likewise.
26222 * po/Makefile: Likewise.
26223 * posix/fnmatch.c: Likewise.
26224 * posix/regex.h: Likewise.
26225 * resolv/Makefile: Likewise.
26226 * resolv/nss_dns/dns-network.c: Likewise.
26227 * resolv/res_hconf.c: Likewise.
26228 * scripts/gen-sorted.awk: Likewise.
26229 * soft-fp/soft-fp.h: Likewise.
26230 * stdio-common/printf.h: Likewise.
26231 * stdlib/monetary.h: Likewise.
26232 * stdlib/random.c: Likewise.
26233 * stdlib/random_r.c: Likewise.
26234 * sysdeps/generic/Makefile: Likewise.
26235 * sysdeps/gnu/Makefile: Likewise.
26236 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26238 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26240 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26241 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26243 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26244 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26245 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26246 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26247 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26248 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26250 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26251 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26252 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26253 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26254 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26255 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26256 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26257 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26258 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26264 * sysdeps/mach/hurd/errnos.awk: Likewise.
26265 * sysdeps/mach/hurd/fork.c: Likewise.
26266 * sysdeps/mach/hurd/getcwd.c: Likewise.
26267 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26268 * sysdeps/mach/hurd/mmap.c: Likewise.
26269 * sysdeps/mach/hurd/utimes.c: Likewise.
26270 * sysdeps/mach/hurd/xmknod.c: Likewise.
26271 * sysdeps/posix/profil.c: Likewise.
26272 * sysdeps/posix/readdir_r.c: Likewise.
26273 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26274 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26275 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26276 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26278 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26279 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26280 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26282 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26283 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26284 * sysdeps/pthread/lio_listio.c: Likewise.
26285 * sysdeps/sparc/dl-procinfo.h: Likewise.
26286 * sysdeps/unix/i386/sysdep.S: Likewise.
26287 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26288 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26289 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26290 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26292 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26293 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26294 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26295 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26296 * sysdeps/wordsize-32/divdi3.c: Likewise.
26297 * time/sys/time.h: Likewise.
26298 * wcsmbs/Makefile: Likewise.
26300 2013-01-01 David S. Miller <davem@davemloft.net>
26302 * po/fr.po: Update from translation team.
26304 * catgets/gencat.c: Update copyright year.
26305 * csu/version.c: Likewise.
26306 * debug/catchsegv.sh: Likewise.
26307 * debug/pcprofiledump.c: Likewise.
26308 * debug/xtrace.sh: Likewise.
26309 * elf/ldconfig.c: Likewise.
26310 * elf/ldd.bash.in: Likewise.
26311 * elf/pldd.c: Likewise.
26312 * elf/sotruss.ksh: Likewise.
26313 * elf/sprof.c: Likewise.
26314 * iconv/iconv_prog.c: Likewise.
26315 * iconv/iconvconfig.c: Likewise.
26316 * locale/programs/locale.c: Likewise.
26317 * locale/programs/localedef.c: Likewise.
26318 * login/programs/pt_chown.c: Likewise.
26319 * malloc/memusage.sh: Likewise.
26320 * malloc/memusagestat.c: Likewise.
26321 * malloc/mtrace.pl: Likewise.
26322 * nscd/nscd.c: Likewise.
26323 * nss/getent.c: Likewise.
26324 * nss/makedb.c: Likewise.
26325 * posix/getconf.c: Likewise.
26327 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26329 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26332 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26334 * math/bits/mathcalls.h (modf): Use __nonnull.
26336 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26338 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26339 (split): Use macro CN instead of the bare value.
26340 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26343 instead of the bare value.
26344 (power1): Likewise.
26346 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26348 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26350 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26352 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26354 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26355 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26356 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26357 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26359 2012-12-28 Andreas Jaeger <aj@suse.de>
26361 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26362 values are from Linux 3.7.
26364 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26365 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26367 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26369 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26372 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26374 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26375 variables with preprocessor constants.
26376 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26377 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26378 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26380 2012-12-27 Bruno Haible <bruno@clisp.org>
26383 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26386 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26388 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26389 and use variable directly.
26390 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26392 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26394 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26395 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26397 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26398 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26399 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26400 include directive. Remove local variable MPONE.
26401 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26402 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26403 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26405 2012-12-25 David S. Miller <davem@davemloft.net>
26407 * version.h (RELEASE): Set to "development".
26408 (VERSION): Set to "2.17.90".
26409 * NEWS: Add 2.18 section.
26411 2012-12-21 David S. Miller <davem@davemloft.net>
26413 * po/hr.po: Update from translation team.
26415 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26417 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26419 2012-12-19 Steve Ellcey <sellcey@mips.com>
26421 * NEWS: Mention new memcpy for MIPS.
26423 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26425 * manual/contrib.texi (Contributors): Spelling correction.
26427 2012-12-15 David S. Miller <davem@davemloft.net>
26429 * po/ru.po: Update from translation team.
26431 2012-12-13 David S. Miller <davem@davemloft.net>
26433 * NEWS: Mention IFUNC testsuite enhancements.
26435 * po/pl.po: Update from translation team.
26436 * po/bg.po: Likewise.
26438 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26439 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26441 2012-12-11 David S. Miller <davem@davemloft.net>
26443 * po/sv.po: Update from translation team.
26445 * po/vi.po: Update from translation team.
26447 * po/cs.po: Update from translation team.
26449 * po/de.po: Update from translation team.
26450 * po/eo.po: Likewise.
26451 * po/nl.po: Likewise.
26453 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26456 * manual/argp.texi (Argp Helper Functions): Move node to follow
26457 Argp Parsing State.
26460 * manual/conf.texi (Limits on File System Capacity): Mention if
26461 terminating null is included in the max size.
26463 2012-12-10 Andreas Jaeger <aj@suse.de>
26465 * po/cs.po: Update from translation team.
26467 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26469 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26470 void pointer and cast to uintptr_t.
26471 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26473 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26474 * sysdeps/s390/s390-64/memset.S: Likewise.
26476 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26479 * menual/message.texi (Message Translation): Fix typos.
26480 (Helper programs for gettext): Likewise.
26482 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26485 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26488 2012-12-07 David S. Miller <davem@davemloft.net>
26490 * po/libc.pot: Update.
26492 2012-12-07 Richard Henderson <rth@redhat.com>
26495 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26496 normal/normal case to before the switch.
26497 (_FP_DIV): Likewise.
26499 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26500 Mike Frysinger <vapier@gentoo.org>
26502 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26503 check for __NR_fadvise64_64.
26505 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26507 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26508 0, not just to plain "0" as a statement.
26509 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26512 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26514 * NEWS: Use sourceware.org in Bugzilla URL.
26516 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26519 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26521 * stdio-common/tst-put-error.c (do_test): Add newline to the
26522 padded test to ensure flush.
26524 2012-12-05 Jeff Law <law@redhat.com>
26526 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26528 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26530 * README: Don't refer to ports add-on as distributed separately.
26531 Mention AArch64 in list of systems supported in the ports add-on.
26533 * LICENSES: Add more non-FSF copyright and license notices.
26535 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26538 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26540 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26541 10000 as width of padded output.
26543 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26545 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26547 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26548 variable LX with __attribute__ ((unused)).
26549 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26551 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26552 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26553 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26554 with __attribute__ ((unused)).
26556 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26558 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26560 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26562 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26563 (CFLAGS-nldbl-acos.c): New variable.
26564 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26565 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26566 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26567 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26568 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26569 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26570 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26571 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26572 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26573 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26574 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26575 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26576 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26577 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26578 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26579 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26580 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26581 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26582 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26583 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26584 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26585 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26586 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26587 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26588 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26589 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26590 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26591 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26592 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26593 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26594 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26595 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26596 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26597 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26598 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26599 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26600 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26601 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26602 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26603 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26604 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26605 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26606 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26607 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26608 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26609 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26610 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26611 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26612 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26613 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26614 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26615 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26616 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26617 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26618 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26619 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26620 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26621 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26622 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26623 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26624 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26625 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26626 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26627 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26628 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26629 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26630 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26631 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26632 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26633 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26634 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26635 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26636 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26637 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26638 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26639 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26640 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26641 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26642 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26643 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26644 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26645 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26646 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26647 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26648 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26649 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26650 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26651 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26652 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26653 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26654 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26655 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26656 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26657 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26658 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26659 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26660 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26663 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26666 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26667 whole low double instead of just low 47 bits when splitting values
26670 2012-12-03 Allan McRae <allan@archlinux.org>
26672 * manual/stdio.texi (Predefined Printf Handlers): Remove
26673 @hsep and @vsep usage.
26675 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26677 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26678 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26680 2012-12-03 Jeff Law <law@redhat.com>
26682 * time/sys/time.h (settimeofday): Do not mark TV argument
26685 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26687 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26688 when currently writing and seek to current position when not.
26689 * libio/Makefile (tests): Remove bug-fclose1.
26690 * libio/bug-fclose1.c: Delete.
26692 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26694 * manual/arith.texi (feenableexcept): Fix typo.
26695 (fedisableexcept): Likewise.
26697 2012-11-30 Roland McGrath <roland@hack.frob.com>
26699 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26700 second, differently-typed declaration, rather than a cast.
26702 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26704 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26705 * include/rpc/svc.h: ... here.
26707 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26710 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26711 depending n and resplen2 to catch cases where answer
26714 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26716 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26717 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26719 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26721 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26723 2012-11-29 Roland McGrath <roland@hack.frob.com>
26725 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26727 2012-11-28 Jeff Law <law@redhat.com>
26730 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26731 dataset_temporary. Track alloca usage into alloca_used.
26732 If dataset is large allocate and release it via malloc/free.
26734 2012-06-04 Florian Weimer <fweimer@redhat.com>
26737 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26739 2012-11-28 David S. Miller <davem@davemloft.net>
26741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26743 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26746 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26747 of pi/2 rounded to nearest to 64 bits.
26748 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26749 nearest to 64 bits.
26750 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26753 2012-11-28 Jeff Law <law@redhat.com>
26754 Martin Osvald <mosvald@redhat.com>
26757 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26758 * sunrpc/svc.c: Include time.h.
26759 (__svc_accept_failed): New function.
26760 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26761 any reason other than EINTR, call __svc_accept_failed.
26762 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26763 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26765 2012-11-28 Andreas Schwab <schwab@suse.de>
26767 * scripts/abilist.awk: Also handle indirect functions in .opd
26770 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26773 * sysdeps/x86/fpu/powl_helper.c: New file.
26774 * sysdeps/x86/fpu/Makefile: Likewise.
26775 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26777 (__ieee754_powl): Use __powl_helper for finite arguments except
26778 integer exponents below 8.
26779 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26781 (__ieee754_powl): Use __powl_helper for finite arguments except
26782 integer exponents below 8.
26783 * math/libm-test.inc (pow_test): Add more tests and enable some
26784 previously disabled tests.
26785 * sysdeps/i386/fpu/libm-test-ulps: Update.
26786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26788 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26789 Carlos O'Donell <carlos_odonell@mentor.com>
26791 * nss/makedb.c (is_prime): Assert that input is odd and greater
26792 than 4. Note that fact in a comment too.
26793 (next_prime): Add 4 to input.
26795 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26798 * libio/Makefile (tests): Add test case tst-fwrite-error.
26799 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26800 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26801 * libio/tst-fwrite-error.c: New test case.
26803 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26805 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26806 before casting to void *.
26807 * include/libc-internal.h (__pointer_type): New macro.
26808 (__integer_if_pointer_type_sub): Likewise.
26809 (__integer_if_pointer_type): Likewise.
26810 (cast_to_integer): Likewise.
26811 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26812 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26813 before casting to atomic64_t.
26814 (atomic_exchange_acq): Likewise.
26815 (__arch_exchange_and_add_body): Likewise.
26816 (__arch_add_body): Likewise.
26817 (atomic_add_negative): Likewise.
26818 (atomic_add_zero): Likewise.
26820 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26822 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26823 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26824 (add_fdes): Likewise.
26825 (linear_search_fdes): Likewise.
26826 (binary_search_unencoded_fdes): Likewise.
26828 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26830 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26832 2012-11-24 Adam Conrad <adconrad@0c3.net>
26834 * configure.in: Autodetect C++ header directories.
26835 * configure: Regenerated.
26837 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26839 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26841 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26845 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26847 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26848 LDBL_MANT_DIG == 106]: Disable some tests.
26849 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26851 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26855 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26856 input for small inputs. Return +/- pi/2 for large inputs.
26857 * math/libm-test.inc (atan_test): Add more tests.
26859 * sysdeps/generic/unwind-dw2-fde-glibc.c
26860 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26861 __attribute__ ((unused)).
26864 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26865 x * y if x and y are nonzero and z is zero.
26868 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26869 nonzero exponents with absolute value below 0x1p-117 to +/-
26873 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26874 up arguments below 2**-450, not just those below 2**-500.
26875 * math/libm-test.inc (hypot_test): Add another test.
26878 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26879 Return a+b for ratio over 2**120, not 2**60.
26880 * math/libm-test.inc (hypot_test): Add another test.
26882 * math/libm-test.inc (clog_test): Use
26883 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26884 (clog10_test): Likewise.
26887 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26889 2012-11-22 Andreas Schwab <schwab@suse.de>
26891 * sysdeps/i386/fpu/libm-test-ulps: Update.
26893 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26895 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26896 printf output with newline.
26898 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26901 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26902 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26903 -z nodlopen, -z initfirst and -z execstack support.
26904 * configure: Regenerated.
26906 * elf/elf.h (DF_1_NODIRECT): New macro.
26907 (DF_1_IGNMULDEF): Likewise.
26908 (DF_1_NOKSYMS): Likewise.
26909 (DF_1_NOHDR): Likewise.
26910 (DF_1_EDITED): Likewise.
26911 (DF_1_NORELOC): Likewise.
26912 (DF_1_SYMINTPOSE): Likewise.
26913 (DF_1_GLOBAUDIT): Likewise.
26914 (DF_1_SINGLETON): Likewise.
26915 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26916 DT_1_SUPPORTED_MASK bits.
26917 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26919 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26921 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26923 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26925 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26928 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26929 (sendmmsg): Move declarations...
26930 * socket/sys/socket.h: ... here.
26931 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26932 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26934 * socket/recvmmsg.c: ... this new file.
26935 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26936 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26937 definition of __sendmmsg hidden.
26938 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26939 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26940 Move ENOSYS stub into and include it from...
26941 * socket/sendmmsg.c: ... this new file.
26942 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26943 (sysdep_routines): Move recvmmsg and sendmmsg...
26944 * socket/Makefile (routines): ... here.
26945 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26946 (GLIBC_PRIVATE): Add __sendmmsg.
26947 * include/sys/socket.h (__sendmmsg): Add declarations.
26948 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26951 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26953 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26954 variable I1 with __attribute__ ((unused)).
26955 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26957 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26959 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26960 DUMMY variables with __attribute__ ((unused)).
26962 * bits/byteswap.h: Include <bits/types.h>.
26963 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26965 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26967 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26968 string_t. Do not manually set errno.
26969 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26970 length with __strnlen. Make sure to both set errno and return it on
26973 2012-11-19 David S. Miller <davem@davemloft.net>
26975 With help from Joseph Myers.
26976 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26977 very large arguments properly.
26978 * math/libm-test.inc (atan_test): New tests.
26979 (atan2_test): New tests.
26980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26983 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26986 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26989 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26990 [POSIX] (EADDRNOTAVAIL): Likewise.
26991 [POSIX] (EAFNOSUPPORT): Likewise.
26992 [POSIX] (EALREADY): Likewise.
26993 [POSIX] (ECONNABORTED): Likewise.
26994 [POSIX] (ECONNREFUSED): Likewise.
26995 [POSIX] (ECONNRESET): Likewise.
26996 [POSIX] (EDESTADDRREQ): Likewise.
26997 [POSIX] (EDQUOT): Likewise.
26998 [POSIX] (EHOSTUNREACH): Likewise.
26999 [POSIX] (EIDRM): Likewise.
27000 [POSIX] (EISCONN): Likewise.
27001 [POSIX] (ELOOP): Likewise.
27002 [POSIX] (EMULTIHOP): Likewise.
27003 [POSIX] (ENETDOWN): Likewise.
27004 [POSIX] (ENETUNREACH): Likewise.
27005 [POSIX] (ENOBUFS): Likewise.
27006 [POSIX] (ENODATA): Likewise.
27007 [POSIX] (ENOLINK): Likewise.
27008 [POSIX] (ENOMSG): Likewise.
27009 [POSIX] (ENOPROTOOPT): Likewise.
27010 [POSIX] (ENOSR): Likewise.
27011 [POSIX] (ENOSTR): Likewise.
27012 [POSIX] (ENOTCONN): Likewise.
27013 [POSIX] (ENOTSOCK): Likewise.
27014 [POSIX] (EOPNOTSUPP): Likewise.
27015 [POSIX] (EOVERFLOW): Likewise.
27016 [POSIX] (EPROTO): Likewise.
27017 [POSIX] (EPROTONOSUPPORT): Likewise.
27018 [POSIX] (EPROTOTYPE): Likewise.
27019 [POSIX] (ESTALE): Likewise.
27020 [POSIX] (ETIME): Likewise.
27021 [POSIX] (ETXTBSY): Likewise.
27022 [POSIX] (EWOULDBLOCK): Likewise.
27023 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27024 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27025 [POSIX] (SEEK_CUR): Likewise.
27026 [POSIX] (SEEK_END): Likewise.
27027 [POSIX || UNIX98] (mode_t): Do not require.
27028 [POSIX] (off_t): Likewise.
27029 [POSIX] (pid_t): Likewise.
27030 [POSIX] (sys/stat.h): Do not allow header.
27031 [POSIX] (unistd.h): Likewise.
27032 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27033 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27034 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27035 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27037 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27038 sigevent): Specify elements.
27039 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27041 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27042 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27044 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27045 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27046 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27047 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27048 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27049 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27050 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27051 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27052 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27053 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27054 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27055 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27056 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27057 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27059 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27061 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27063 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27065 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27066 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27067 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27068 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27069 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27070 Specify lower bound on value.
27071 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27072 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27073 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27074 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27075 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27076 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27077 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27078 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27080 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27082 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27083 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27084 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27085 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27086 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27087 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27088 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27089 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27090 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27091 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27092 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27093 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27094 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27095 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27096 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27097 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27099 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27101 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27102 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27103 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27104 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27105 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27106 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27108 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27109 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27110 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27111 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27112 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27113 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27114 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27116 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27117 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27118 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27119 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27120 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27121 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27122 specify as optional.
27123 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27124 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27125 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27126 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27127 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27128 [XPG3] (NL_LANGMAX): Likewise.
27129 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27130 [POSIX || XPG3] (NL_NMAX): Likewise.
27131 [POSIX || XPG3] (NL_SETMAX): Likewise.
27132 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27133 [XPG3] (NZERO): Likewise.
27134 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27135 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27136 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27137 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27138 (REG_ERANGE): Expect.
27139 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27141 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27142 Use (void) in prototype.
27143 [POSIX] (*_t): Allow.
27144 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27145 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27146 (WRDE_BADVAL): Expect.
27148 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27150 [XPG3 || XPG4] (O_RSYNC): Likewise.
27151 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27153 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27154 [XPG3 || XPG4] (sigqueue): Likewise.
27155 [XPG3 || XPG4] (sigtimedwait): Likewise.
27156 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27157 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27158 [XPG3 || XPG4] (vsnprintf): Likewise.
27159 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27161 [XPG3 || XPG4] (blksize_t): Likewise.
27162 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27164 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27165 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27166 [XPG3 || XPG4] (struct itimerspec): Likewise.
27167 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27168 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27169 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27170 [XPG3 || XPG4] (clockid_t): Likewise.
27171 [XPG3 || XPG4] (timer_t): Likewise.
27172 [XPG3 || XPG4] (clock_getres): Likewise.
27173 [XPG3 || XPG4] (clock_gettime): Likewise.
27174 [XPG3 || XPG4] (clock_settime): Likewise.
27175 [XPG3 || XPG4] (nanosleep): Likewise.
27176 [XPG3 || XPG4] (timer_create): Likewise.
27177 [XPG3 || XPG4] (timer_delete): Likewise.
27178 [XPG3 || XPG4] (timer_gettime): Likewise.
27179 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27180 [XPG3 || XPG4] (timer_settime): Likewise.
27181 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27182 [XPG3 || XPG4] (getlogin_r): Likewise.
27183 [XPG3 || XPG4] (pread): Likewise.
27184 [XPG3 || XPG4] (pthread_atfork): Likewise.
27185 [XPG3 || XPG4] (pwrite): Likewise.
27188 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27191 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27193 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27194 finalizing MALLSTREAM.
27196 * sysdeps/mach/hurd/syncfs.c: New file.
27198 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27201 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27202 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27203 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27204 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27205 (_nss_dns_gethostbyname4_r): Likewise.
27206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27207 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27209 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27212 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27214 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27216 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27217 * elf/cache.c (print_entry): Print ",AArch64" for
27220 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27221 * elf/cache.c (print_entry): Print ",hard-float" for
27224 2012-11-18 David S. Miller <davem@davemloft.net>
27226 With help from Joseph Myers.
27227 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27229 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27231 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27232 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27234 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27235 * math/libm-test.inc (y0_test): New tests.
27236 (y1_test): New tests.
27237 * sysdeps/i386/fpu/libm-test-ulps: Update.
27238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27241 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27243 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27245 * configure: Regenerated.
27247 2012-11-17 David S. Miller <davem@davemloft.net>
27250 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27251 nonzero exponents with absolute value below 0x1p-128 to +/-
27254 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27256 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27258 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27260 * posix/getconf-speclist.c: New file.
27261 * posix/posix-envs.def: Likewise.
27262 * posix/confstr.c (START_ENV_GROUP): New macro.
27263 (END_ENV_GROUP): Likewise.
27264 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27265 (KNOWN_PRESENT_ENV_STRING): Likewise.
27266 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27267 (UNKNOWN_ENVIRONMENT): Likewise.
27268 (confstr): Include posix-envs.def instead of handling
27269 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27270 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27271 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27272 (END_ENV_GROUP): Likewise.
27273 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27274 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27275 (UNKNOWN_ENVIRONMENT): Likewise.
27276 (__sysconf): Include posix-envs.def instead of handling associated
27277 cases directly here.
27278 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27279 preprocessing getconf-speclist.c rather than running getconf or
27280 generating empty file.
27282 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27284 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27286 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27289 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27291 2012-11-16 David S. Miller <davem@davemloft.net>
27293 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27294 smaller than LDBL_EPSILON/2.0L, just return xm1.
27296 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27298 * elf/tst-array1.c (init): Set constructor priority to 1000.
27299 (fini): Set destructor priority to 1000.
27300 * elf/tst-array2dep.c: Likewise.
27302 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27305 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27306 (_IO_new_file_xsputn): Also return EOF if none of the input
27307 data was written when overflow failed.
27308 * libio/iopadn.c (_IO_padn): Likewise.
27309 * libio/iowpadn.c (_IO_wpadn): Likewise.
27310 * stdio-common/tst-put-error.c: Add copyright notice.
27311 (do_test): Add case for printing padded string.
27312 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27313 _IO_padn returned error.
27314 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27315 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27318 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27320 * libio/libioP.h: Add comment note that the references to C++
27321 bits are now obsolete.
27323 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27325 * math/libm-test.inc (check_complex): Use asprintf.
27327 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27329 * debug/pcprofiledump.c (print_version): Update copyright year.
27330 * malloc/memusagestat.c (print_version): Likewise.
27332 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27335 * elf/Makefile (tests): Add tst-audit8.
27336 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27337 ($(objpfx)tst-audit8.out): New target.
27338 (tst-audit8-ENV): New variable.
27339 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27340 audit if l_reloc_result is NULL.
27341 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27342 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27343 * elf/tst-audit8.c: New file.
27345 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27347 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27348 * misc/Makefile (CFLAGS-select.c): Define.
27349 * posix/Makefile (CFLAGS-pause.c): Define.
27351 2012-11-13 David S. Miller <davem@davemloft.net>
27353 * crypt/Makefile: Move test targets after toplevel Rules
27354 inclusion. Grab any necessary sysdep routines when linking.
27355 * crypt/md5.c (md5_process_block): Remove define, we will always
27356 name it __md5_process_block.
27357 (md5_finish_ctx): Update md5_process_block call.
27358 (md5_stream): Likewise.
27359 (md5_process_bytes): Likewise.
27360 (md5_process_block): Rename to __md5_process_block and move to ...
27361 * crypt/md5-block.c: ... here.
27362 * crypt/sha256.c (sha256_process_block): Move to ...
27363 * crypt/sha256-block.c: ... here.
27364 * crypt/sha512.c (sha512_process_block): Move to ...
27365 * crypt/sha512-block.c: ... here.
27366 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27368 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27369 * sysdeps/sparc/sparc64/multiarch/Makefile
27370 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27372 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27373 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27375 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27376 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27377 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27378 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27379 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27380 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27381 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27382 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27383 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27385 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27386 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27388 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27390 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27392 * timezone/tzselect.ksh: Update from tzcode git revision
27393 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27394 * timezone/zdump.c: Likewise.
27395 * timezone/zic.c: Likewise.
27396 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27397 in TZVERSION setting, not $(PKGVERSION).
27398 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27399 REPORT_BUGS_TO settings.
27402 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27405 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27407 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27408 detection to immediately after _FP_ROUND().
27409 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27412 2012-11-11 David S. Miller <davem@davemloft.net>
27414 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27416 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27417 __close rather than their public counterparts.
27419 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27421 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27423 [UNIX98] (sem_timedwait): Do not expect.
27424 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27425 [XPG4 || UNIX98] (sockatmark): Do not expect.
27426 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27427 (clock_getcpuclockid): Do not expect.
27428 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27429 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27431 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27432 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27433 [UNIX98] (vwscanf): Likewise.
27434 [UNIX98] (vswscanf): Likewise.
27436 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27438 * timezone/version.h: Remove file.
27439 * timezone/README: Do not refer to version.h.
27440 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27441 $(objpfx)version.h.
27442 ($(objpfx)zdump.o): Likewise.
27443 ($(objpfx)version.h): New target.
27445 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27447 * timezone/README: Don't mention modification to tzselect.ksh.
27448 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27449 work on unmodified tzselect.ksh. Substitute version numbers in
27452 * Makefile (format-me): Remove.
27453 (INSTALL): Adjust indentation. Use commands directly instead of
27454 using $(format-me).
27456 * aclocal.m4 (ACX_PKGVERSION): New macro.
27457 (ACX_BUGURL): Likewise.
27458 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27459 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27460 (REPORT_BUGS_TO): Likewise.
27461 * configure: Regenerated.
27462 * config.h.in (PKGVERSION): New macro.
27463 (REPORT_BUGS_TO): Likewise.
27464 * config.make.in (PKGVERSION): New variable.
27465 (PKGVERSION_TEXI): Likewise.
27466 (REPORT_BUGS_TO): Likewise.
27467 (REPORT_BUGS_TEXI): Likewise.
27468 * Makefile (format-me): Use -I$(common-objpfx)manual.
27469 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27470 ($(common-objpfx)manual/%): New target.
27471 (manual/%): Remove target.
27472 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27473 (print_version): Use PKGVERSION.
27474 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27475 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27476 and REPORT_BUGS_TO.
27477 ($(objpfx)xtrace): Likewise.
27478 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27479 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27480 (print_version): Use PKGVERSION.
27481 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27482 (do_version): Use PKGVERSION.
27483 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27485 (common-ldd-rewrite): Likewise.
27486 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27487 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27488 (print_version): Use PKGVERSION.
27489 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27490 * elf/pldd.c (argp_program_bug_address): Remove variable.
27491 (more_help): New function.
27492 (argp): Use more_help.
27493 (print_version): Use PKGVERSION.
27494 * elf/sln.c (main): Use PKGVERSION.
27495 (usage): Use REPORT_BUGS_TO.
27496 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27497 (top level): Use PKGVERSION.
27498 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27499 (print_version): Use PKGVERSION.
27500 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27501 (print_version): Use PKGVERSION.
27502 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27503 (print_version): Use PKGVERSION.
27504 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27505 (print_version): Use PKGVERSION.
27506 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27507 (print_version): Use PKGVERSION.
27508 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27509 (print_version): Use PKGVERSION.
27510 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27512 ($(objpfx)memusage): Likewise.
27513 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27514 (do_version): Use PKGVERSION.
27515 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27516 (print_version): Use PKGVERSION.
27517 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27518 ($PKGVERSION): New variable.
27519 ($REPORT_BUGS_TO): Likewise.
27520 (usage): Use $REPORT_BUGS_TO.
27521 (top level): Use $PKGVERSION.
27522 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27523 ($(objpfx)pkgvers.texi): New rule.
27524 ($(objpfx)stamp-pkgvers): Likewise.
27525 * manual/install.texi: Include pkgvers.texi.
27526 (--with-pkgversion): Document new configure option.
27527 (--with-bugurl): Likewise.
27528 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27529 than necessarily for this particular distribution. Use
27530 REPORT_BUGS_TO for where to report bugs.
27531 * INSTALL: Regenerated.
27532 * manual/libc.texinfo: Include pkgvers.texi.
27533 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27534 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27535 (print_version): Use PKGVERSION.
27536 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27537 (print_version): Use PKGVERSION.
27538 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27539 (print_version): Use PKGVERSION.
27540 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27541 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27543 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27544 (print_version): Use PKGVERSION.
27545 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27546 (print_version): Use PKGVERSION.
27547 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27550 * timezone/checktab.awk: Update from tzcode 2012i.
27551 * timezone/ialloc.c: Likewise.
27552 * timezone/private.h: Likewise.
27553 * timezone/scheck.c: Likewise.
27554 * timezone/tzfile.h: Likewise.
27555 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27556 (TZVERSION): Hardcode tzcode version number.
27557 * timezone/zdump.c: Update from tzcode 2012i.
27558 * timezone/zic.c: Likewise.
27559 * timezone/version.h: New file.
27560 * timezone/README: Describe version.h. Update upstream location.
27563 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27564 (mktemp): Enable declaration.
27565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27572 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27574 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27576 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27578 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27582 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27583 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27584 for copies of such integer values.
27585 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27586 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27588 2012-11-09 Andreas Jaeger <aj@suse.de>
27590 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27591 definitions and declarations that are provided by
27592 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27594 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27596 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27597 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27598 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27601 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27603 * elf/elf.h: Update comment before AArch64 relocations.
27605 2012-11-07 David S. Miller <davem@davemloft.net>
27607 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27608 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27609 (__start_context): Declare.
27610 (__makecontext_ret): Delete.
27611 (__makecontext): Hook up __start_context instead of
27613 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27614 (sysdep_routines): Add __start_context when in stdlib.
27616 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27618 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27619 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27620 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27622 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27623 (READELF): New variable. Use it instead of hardcoded "readelf".
27625 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27627 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27628 * sysdeps/x86/Makefile: Here.
27629 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27630 * sysdeps/x86/tst-xmmymm.sh: This.
27632 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27634 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27636 [UNIX98] (pthread_barrier_t): Do not expect.
27637 [UNIX98] (pthread_barrierattr_t): Likewise.
27638 [UNIX98] (pthread_spinlock_t): Likewise.
27639 [UNIX98] (pthread_barrier_destroy): Likewise.
27640 [UNIX98] (pthread_barrier_init): Likewise.
27641 [UNIX98] (pthread_barrier_wait): Likewise.
27642 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27643 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27644 [UNIX98] (pthread_barrierattr_init): Likewise.
27645 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27646 [UNIX98] (pthread_getcpuclockid): Likewise.
27647 [UNIX98] (pthread_mutex_timedlock): Likewise.
27648 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27649 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27650 [UNIX98] (pthread_sigmask): Likewise.
27651 [UNIX98] (pthread_spin_destroy): Likewise.
27652 [UNIX98] (pthread_spin_init): Likewise.
27653 [UNIX98] (pthread_spin_lock): Likewise.
27654 [UNIX98] (pthread_spin_trylock): Likewise.
27655 [UNIX98] (pthread_spin_unlock): Likewise.
27656 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27658 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27659 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27660 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27661 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27662 [XPG3 || XPG4] (pthread_key_t): Likewise.
27663 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27664 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27665 [XPG3 || XPG4] (pthread_once_t): Likewise.
27666 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27667 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27668 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27669 [XPG3 || XPG4] (pthread_t): Likewise.
27671 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27673 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27675 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27676 Change function return type to int.
27678 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27679 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27680 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27681 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27682 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27683 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27684 [!POSIX] (posix_madvise): Likewise.
27685 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27687 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27688 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27689 (mode_t): Likewise.
27690 (posix_mem_offset): Likewise.
27691 (posix_typed_mem_get_info): Likewise.
27692 (posix_typed_mem_open): Likewise.
27694 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27695 Change condition to [XOPEN2K8].
27697 * conform/conformtest.pl: Preprocess allow-header data with -x c
27698 instead of from stdin.
27699 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27700 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27701 [C99-based standards] (cerfc): Likewise.
27702 [C99-based standards] (cexp2): Likewise.
27703 [C99-based standards] (cexpm1): Likewise.
27704 [C99-based standards] (clog10): Likewise.
27705 [C99-based standards] (clog1p): Likewise.
27706 [C99-based standards] (clog2): Likewise.
27707 [C99-based standards] (clgamma): Likewise.
27708 [C99-based standards] (ctgamma): Likewise.
27709 [C99-based standards] (cerff): Likewise.
27710 [C99-based standards] (cerfcf): Likewise.
27711 [C99-based standards] (cexp2f): Likewise.
27712 [C99-based standards] (cexpm1f): Likewise.
27713 [C99-based standards] (clog10f): Likewise.
27714 [C99-based standards] (clog1pf): Likewise.
27715 [C99-based standards] (clog2f): Likewise.
27716 [C99-based standards] (clgammaf): Likewise.
27717 [C99-based standards] (ctgammaf): Likewise.
27718 [C99-based standards] (cerfl): Likewise.
27719 [C99-based standards] (cerfcl): Likewise.
27720 [C99-based standards] (cexp2l): Likewise.
27721 [C99-based standards] (cexpm1l): Likewise.
27722 [C99-based standards] (clog10l): Likewise.
27723 [C99-based standards] (clog1pl): Likewise.
27724 [C99-based standards] (clog2l): Likewise.
27725 [C99-based standards] (clgammal): Likewise.
27726 [C99-based standards] (ctgammal): Likewise.
27727 * conform/data/inttypes.h-data [C99-based standards]: Include
27728 stdint.h-data. Remove all expectations for stdint.h contents.
27729 [C99-based standards] (PRI*): Do not allow.
27730 [C99-based standards] (SCN*): Likewise.
27731 [C99-based standards] (*_t): Likewise.
27732 [C99-based-standards] (PRId8): Expect macro.
27733 [C99-based-standards] (PRIi8): Likewise.
27734 [C99-based-standards] (PRIo8): Likewise.
27735 [C99-based-standards] (PRIu8): Likewise.
27736 [C99-based-standards] (PRIx8): Likewise.
27737 [C99-based-standards] (PRIX8): Likewise.
27738 [C99-based-standards] (SCNd8): Likewise.
27739 [C99-based-standards] (SCNi8): Likewise.
27740 [C99-based-standards] (SCNo8): Likewise.
27741 [C99-based-standards] (SCNu8): Likewise.
27742 [C99-based-standards] (SCNx8): Likewise.
27743 [C99-based-standards] (PRIdLEAST8): Likewise.
27744 [C99-based-standards] (PRIiLEAST8): Likewise.
27745 [C99-based-standards] (PRIoLEAST8): Likewise.
27746 [C99-based-standards] (PRIuLEAST8): Likewise.
27747 [C99-based-standards] (PRIxLEAST8): Likewise.
27748 [C99-based-standards] (PRIXLEAST8): Likewise.
27749 [C99-based-standards] (SCNdLEAST8): Likewise.
27750 [C99-based-standards] (SCNiLEAST8): Likewise.
27751 [C99-based-standards] (SCNoLEAST8): Likewise.
27752 [C99-based-standards] (SCNuLEAST8): Likewise.
27753 [C99-based-standards] (SCNxLEAST8): Likewise.
27754 [C99-based-standards] (PRIdFAST8): Likewise.
27755 [C99-based-standards] (PRIiFAST8): Likewise.
27756 [C99-based-standards] (PRIoFAST8): Likewise.
27757 [C99-based-standards] (PRIuFAST8): Likewise.
27758 [C99-based-standards] (PRIxFAST8): Likewise.
27759 [C99-based-standards] (PRIXFAST8): Likewise.
27760 [C99-based-standards] (SCNdFAST8): Likewise.
27761 [C99-based-standards] (SCNiFAST8): Likewise.
27762 [C99-based-standards] (SCNoFAST8): Likewise.
27763 [C99-based-standards] (SCNuFAST8): Likewise.
27764 [C99-based-standards] (SCNxFAST8): Likewise.
27765 [C99-based-standards] (PRId16): Likewise.
27766 [C99-based-standards] (PRIi16): Likewise.
27767 [C99-based-standards] (PRIo16): Likewise.
27768 [C99-based-standards] (PRIu16): Likewise.
27769 [C99-based-standards] (PRIx16): Likewise.
27770 [C99-based-standards] (PRIX16): Likewise.
27771 [C99-based-standards] (SCNd16): Likewise.
27772 [C99-based-standards] (SCNi16): Likewise.
27773 [C99-based-standards] (SCNo16): Likewise.
27774 [C99-based-standards] (SCNu16): Likewise.
27775 [C99-based-standards] (SCNx16): Likewise.
27776 [C99-based-standards] (PRIdLEAST16): Likewise.
27777 [C99-based-standards] (PRIiLEAST16): Likewise.
27778 [C99-based-standards] (PRIoLEAST16): Likewise.
27779 [C99-based-standards] (PRIuLEAST16): Likewise.
27780 [C99-based-standards] (PRIxLEAST16): Likewise.
27781 [C99-based-standards] (PRIXLEAST16): Likewise.
27782 [C99-based-standards] (SCNdLEAST16): Likewise.
27783 [C99-based-standards] (SCNiLEAST16): Likewise.
27784 [C99-based-standards] (SCNoLEAST16): Likewise.
27785 [C99-based-standards] (SCNuLEAST16): Likewise.
27786 [C99-based-standards] (SCNxLEAST16): Likewise.
27787 [C99-based-standards] (PRIdFAST16): Likewise.
27788 [C99-based-standards] (PRIiFAST16): Likewise.
27789 [C99-based-standards] (PRIoFAST16): Likewise.
27790 [C99-based-standards] (PRIuFAST16): Likewise.
27791 [C99-based-standards] (PRIxFAST16): Likewise.
27792 [C99-based-standards] (PRIXFAST16): Likewise.
27793 [C99-based-standards] (SCNdFAST16): Likewise.
27794 [C99-based-standards] (SCNiFAST16): Likewise.
27795 [C99-based-standards] (SCNoFAST16): Likewise.
27796 [C99-based-standards] (SCNuFAST16): Likewise.
27797 [C99-based-standards] (SCNxFAST16): Likewise.
27798 [C99-based-standards] (PRId32): Likewise.
27799 [C99-based-standards] (PRIi32): Likewise.
27800 [C99-based-standards] (PRIo32): Likewise.
27801 [C99-based-standards] (PRIu32): Likewise.
27802 [C99-based-standards] (PRIx32): Likewise.
27803 [C99-based-standards] (PRIX32): Likewise.
27804 [C99-based-standards] (SCNd32): Likewise.
27805 [C99-based-standards] (SCNi32): Likewise.
27806 [C99-based-standards] (SCNo32): Likewise.
27807 [C99-based-standards] (SCNu32): Likewise.
27808 [C99-based-standards] (SCNx32): Likewise.
27809 [C99-based-standards] (PRIdLEAST32): Likewise.
27810 [C99-based-standards] (PRIiLEAST32): Likewise.
27811 [C99-based-standards] (PRIoLEAST32): Likewise.
27812 [C99-based-standards] (PRIuLEAST32): Likewise.
27813 [C99-based-standards] (PRIxLEAST32): Likewise.
27814 [C99-based-standards] (PRIXLEAST32): Likewise.
27815 [C99-based-standards] (SCNdLEAST32): Likewise.
27816 [C99-based-standards] (SCNiLEAST32): Likewise.
27817 [C99-based-standards] (SCNoLEAST32): Likewise.
27818 [C99-based-standards] (SCNuLEAST32): Likewise.
27819 [C99-based-standards] (SCNxLEAST32): Likewise.
27820 [C99-based-standards] (PRIdFAST32): Likewise.
27821 [C99-based-standards] (PRIiFAST32): Likewise.
27822 [C99-based-standards] (PRIoFAST32): Likewise.
27823 [C99-based-standards] (PRIuFAST32): Likewise.
27824 [C99-based-standards] (PRIxFAST32): Likewise.
27825 [C99-based-standards] (PRIXFAST32): Likewise.
27826 [C99-based-standards] (SCNdFAST32): Likewise.
27827 [C99-based-standards] (SCNiFAST32): Likewise.
27828 [C99-based-standards] (SCNoFAST32): Likewise.
27829 [C99-based-standards] (SCNuFAST32): Likewise.
27830 [C99-based-standards] (SCNxFAST32): Likewise.
27831 [C99-based-standards] (PRId64): Likewise.
27832 [C99-based-standards] (PRIi64): Likewise.
27833 [C99-based-standards] (PRIo64): Likewise.
27834 [C99-based-standards] (PRIu64): Likewise.
27835 [C99-based-standards] (PRIx64): Likewise.
27836 [C99-based-standards] (PRIX64): Likewise.
27837 [C99-based-standards] (SCNd64): Likewise.
27838 [C99-based-standards] (SCNi64): Likewise.
27839 [C99-based-standards] (SCNo64): Likewise.
27840 [C99-based-standards] (SCNu64): Likewise.
27841 [C99-based-standards] (SCNx64): Likewise.
27842 [C99-based-standards] (PRIdLEAST64): Likewise.
27843 [C99-based-standards] (PRIiLEAST64): Likewise.
27844 [C99-based-standards] (PRIoLEAST64): Likewise.
27845 [C99-based-standards] (PRIuLEAST64): Likewise.
27846 [C99-based-standards] (PRIxLEAST64): Likewise.
27847 [C99-based-standards] (PRIXLEAST64): Likewise.
27848 [C99-based-standards] (SCNdLEAST64): Likewise.
27849 [C99-based-standards] (SCNiLEAST64): Likewise.
27850 [C99-based-standards] (SCNoLEAST64): Likewise.
27851 [C99-based-standards] (SCNuLEAST64): Likewise.
27852 [C99-based-standards] (SCNxLEAST64): Likewise.
27853 [C99-based-standards] (PRIdFAST64): Likewise.
27854 [C99-based-standards] (PRIiFAST64): Likewise.
27855 [C99-based-standards] (PRIoFAST64): Likewise.
27856 [C99-based-standards] (PRIuFAST64): Likewise.
27857 [C99-based-standards] (PRIxFAST64): Likewise.
27858 [C99-based-standards] (PRIXFAST64): Likewise.
27859 [C99-based-standards] (SCNdFAST64): Likewise.
27860 [C99-based-standards] (SCNiFAST64): Likewise.
27861 [C99-based-standards] (SCNoFAST64): Likewise.
27862 [C99-based-standards] (SCNuFAST64): Likewise.
27863 [C99-based-standards] (SCNxFAST64): Likewise.
27864 [C99-based-standards] (PRIdMAX): Likewise.
27865 [C99-based-standards] (PRIiMAX): Likewise.
27866 [C99-based-standards] (PRIoMAX): Likewise.
27867 [C99-based-standards] (PRIuMAX): Likewise.
27868 [C99-based-standards] (PRIxMAX): Likewise.
27869 [C99-based-standards] (PRIXMAX): Likewise.
27870 [C99-based-standards] (SCNdMAX): Likewise.
27871 [C99-based-standards] (SCNiMAX): Likewise.
27872 [C99-based-standards] (SCNoMAX): Likewise.
27873 [C99-based-standards] (SCNuMAX): Likewise.
27874 [C99-based-standards] (SCNxMAX): Likewise.
27875 [C99-based-standards] (PRIdPTR): Likewise.
27876 [C99-based-standards] (PRIiPTR): Likewise.
27877 [C99-based-standards] (PRIoPTR): Likewise.
27878 [C99-based-standards] (PRIuPTR): Likewise.
27879 [C99-based-standards] (PRIxPTR): Likewise.
27880 [C99-based-standards] (PRIXPTR): Likewise.
27881 [C99-based-standards] (SCNdPTR): Likewise.
27882 [C99-based-standards] (SCNiPTR): Likewise.
27883 [C99-based-standards] (SCNoPTR): Likewise.
27884 [C99-based-standards] (SCNuPTR): Likewise.
27885 [C99-based-standards] (SCNxPTR): Likewise.
27886 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27888 * conform/data/stdint.h-data: Update comments to clarify
27890 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27892 [C99-based standards] (INT8_MAX): Likewise.
27893 [C99-based standards] (INT16_MIN): Likewise.
27894 [C99-based standards] (INT16_MAX): Likewise.
27895 [C99-based standards] (INT32_MIN): Likewise.
27896 [C99-based standards] (INT32_MAX): Likewise.
27897 [C99-based standards] (INT64_MIN): Likewise.
27898 [C99-based standards] (INT64_MAX): Likewise.
27899 [C99-based standards] (UINT8_MAX): Likewise.
27900 [C99-based standards] (UINT16_MAX): Likewise.
27901 [C99-based standards] (UINT32_MAX): Likewise.
27902 [C99-based standards] (UINT64_MAX): Likewise.
27903 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27904 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27905 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27906 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27907 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27908 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27909 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27910 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27911 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27912 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27913 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27914 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27915 [C99-based standards] (INT_FAST8_MIN): Likewise.
27916 [C99-based standards] (INT_FAST8_MAX): Likewise.
27917 [C99-based standards] (INT_FAST16_MIN): Likewise.
27918 [C99-based standards] (INT_FAST16_MAX): Likewise.
27919 [C99-based standards] (INT_FAST32_MIN): Likewise.
27920 [C99-based standards] (INT_FAST32_MAX): Likewise.
27921 [C99-based standards] (INT_FAST64_MIN): Likewise.
27922 [C99-based standards] (INT_FAST64_MAX): Likewise.
27923 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27924 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27925 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27926 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27927 [C99-based standards] (INTPTR_MIN): Likewise.
27928 [C99-based standards] (INTPTR_MAX): Likewise.
27929 [C99-based standards] (UINTPTR_MAX): Likewise.
27930 [C99-based standards] (INTMAX_MIN): Likewise.
27931 [C99-based standards] (INTMAX_MAX): Likewise.
27932 [C99-based standards] (UINTMAX_MAX): Likewise.
27933 [C99-based standards] (PTRDIFF_MIN): Likewise.
27934 [C99-based standards] (PTRDIFF_MAX): Likewise.
27935 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27936 [C99-based standards] (SIZE_MAX): Likewise.
27937 [C99-based standards] (WCHAR_MAX): Likewise.
27938 [C99-based standards] (WINT_MAX): Likewise.
27939 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27940 constraint on value.
27941 [C99-based standards] (WCHAR_MIN): Likewise.
27942 [C99-based standards] (WINT_MIN): Likewise.
27943 [C99-based standards] (*_t): Allow.
27944 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27945 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27946 Include math.h-data and complex.h-data. Remove all expectations
27947 of math.h and complex.h contents.
27948 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27950 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27951 (struct tm): Expect tag.
27952 [C99-based-standards] (wcstof): Expect function.
27953 [C99-based-standards] (wcstold): Likewise.
27954 [C99-based-standards] (wcstoll): Likewise.
27955 [C99-based-standards] (wcstoull): Likewise.
27956 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27957 macro-int-constant. Specify type.
27958 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27959 constraint on value.
27960 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27962 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27964 [ISO C standards]: Do not allow headers.
27965 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27966 wcs[abcdefghijklmnopqrstuvwxyz]*.
27967 [ISO C standards] (*_t): Do not allow.
27968 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27970 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27971 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27973 [ISO C standards]: Do not allow headers.
27974 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27975 is[abcdefghijklmnopqrstuvwxyz]*.
27976 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27977 to[abcdefghijklmnopqrstuvwxyz]*.
27978 [ISO C standards] (*_t): Do not allow.
27979 * conform/data/stdalign.h-data: New file.
27980 * conform/data/stdbool.h-data: Likewise.
27981 * conform/data/stdnoreturn.h-data: Likewise.
27983 2012-11-07 Roland McGrath <roland@hack.frob.com>
27986 * manual/filesys.texi (Directory Entries): Typo fix.
27987 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27989 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27991 * elf/elf.h (EM_AARCH64): New macro.
27992 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27993 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27994 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27995 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27996 (R_AARCH64_TLSDESC): Likewise.
27997 (NT_ARM_TLS): Likewise.
27998 (NT_ARM_HW_BREAK): Likewise.
27999 (NT_ARM_HW_WATCH): Likewise.
28001 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28004 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28005 (__ieee754_powl): Saturate nonzero exponents with absolute value
28006 below 0x1p-79 to +/- 0x1p-79.
28007 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28008 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28009 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28010 nonzero exponents with absolute value below 0x1p-32 to +/-
28012 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28013 (__ieee754_powl): Saturate nonzero exponents with absolute value
28014 below 0x1p-79 to +/- 0x1p-79.
28015 * math/libm-test.inc (pow_test): Add more tests.
28017 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28019 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28020 _dl_s390_cap_flags with kernel. Increase string length.
28021 (_dl_s390_platforms): Add z196 and zEC12.
28023 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28025 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28026 Change XOPEN21K to XOPEN2K.
28028 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28030 * string/memmove.c: Use memcpy when possible.
28032 2012-11-06 Andreas Jaeger <aj@suse.de>
28034 * po/eo.po: Update from translation team.
28036 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28040 exponent and small x and y exponents, scale x or y up. Increase
28041 by 2 the exponent used in scaling up.
28042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28043 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28044 * math/libm-test.inc (fma_test): Add more tests.
28045 (fma_test_towardzero): Likewise.
28046 (fma_test_downward): Likewise.
28047 (fma_test_upward): Likewise.
28049 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28052 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28056 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28057 namespace for names of struct fields.
28058 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28060 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28061 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28063 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28066 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28068 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28070 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28074 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28077 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28081 definitely overflow as x * y not x * y + z.
28082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28084 * math/libm-test.inc (fma_test): Add more tests.
28085 (fma_test_towardzero): Likewise.
28086 (fma_test_downward): Likewise.
28087 (fma_test_upward): Likewise.
28089 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28093 * include/stub-tag.h: Remove file.
28094 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28096 * manual/maint.texi (Porting): Don't reference it.
28097 * Makerules ($(objpfx)stubs): Likewise.
28098 * dirent/closedir.c: Don't include <stub-tag.h>.
28099 * dirent/dirfd.c: Likewise.
28100 * dirent/fdopendir.c: Likewise.
28101 * dirent/getdents.c: Likewise.
28102 * dirent/getdents64.c: Likewise.
28103 * dirent/opendir.c: Likewise.
28104 * dirent/readdir.c: Likewise.
28105 * dirent/readdir64.c: Likewise.
28106 * dirent/readdir64_r.c: Likewise.
28107 * dirent/readdir_r.c: Likewise.
28108 * dirent/rewinddir.c: Likewise.
28109 * dirent/seekdir.c: Likewise.
28110 * dirent/telldir.c: Likewise.
28111 * gmon/profil.c: Likewise.
28112 * grp/setgroups.c: Likewise.
28113 * inet/if_index.c: Likewise.
28114 * io/access.c: Likewise.
28115 * io/chdir.c: Likewise.
28116 * io/chmod.c: Likewise.
28117 * io/chown.c: Likewise.
28118 * io/close.c: Likewise.
28119 * io/dup.c: Likewise.
28120 * io/dup2.c: Likewise.
28121 * io/dup3.c: Likewise.
28122 * io/euidaccess.c: Likewise.
28123 * io/faccessat.c: Likewise.
28124 * io/fchdir.c: Likewise.
28125 * io/fchmod.c: Likewise.
28126 * io/fchmodat.c: Likewise.
28127 * io/fchown.c: Likewise.
28128 * io/fchownat.c: Likewise.
28129 * io/fcntl.c: Likewise.
28130 * io/flock.c: Likewise.
28131 * io/fstatfs.c: Likewise.
28132 * io/fstatfs64.c: Likewise.
28133 * io/fstatvfs.c: Likewise.
28134 * io/fstatvfs64.c: Likewise.
28135 * io/futimens.c: Likewise.
28136 * io/fxstat.c: Likewise.
28137 * io/fxstat64.c: Likewise.
28138 * io/fxstatat.c: Likewise.
28139 * io/fxstatat64.c: Likewise.
28140 * io/getcwd.c: Likewise.
28141 * io/isatty.c: Likewise.
28142 * io/lchmod.c: Likewise.
28143 * io/lchown.c: Likewise.
28144 * io/link.c: Likewise.
28145 * io/linkat.c: Likewise.
28146 * io/lseek.c: Likewise.
28147 * io/lseek64.c: Likewise.
28148 * io/lxstat64.c: Likewise.
28149 * io/mkdir.c: Likewise.
28150 * io/mkdirat.c: Likewise.
28151 * io/mkfifo.c: Likewise.
28152 * io/mkfifoat.c: Likewise.
28153 * io/open.c: Likewise.
28154 * io/open64.c: Likewise.
28155 * io/openat.c: Likewise.
28156 * io/openat64.c: Likewise.
28157 * io/pipe.c: Likewise.
28158 * io/pipe2.c: Likewise.
28159 * io/poll.c: Likewise.
28160 * io/posix_fadvise.c: Likewise.
28161 * io/posix_fadvise64.c: Likewise.
28162 * io/posix_fallocate.c: Likewise.
28163 * io/posix_fallocate64.c: Likewise.
28164 * io/read.c: Likewise.
28165 * io/readlink.c: Likewise.
28166 * io/readlinkat.c: Likewise.
28167 * io/rmdir.c: Likewise.
28168 * io/sendfile.c: Likewise.
28169 * io/sendfile64.c: Likewise.
28170 * io/statfs.c: Likewise.
28171 * io/statfs64.c: Likewise.
28172 * io/statvfs.c: Likewise.
28173 * io/statvfs64.c: Likewise.
28174 * io/symlink.c: Likewise.
28175 * io/symlinkat.c: Likewise.
28176 * io/ttyname.c: Likewise.
28177 * io/ttyname_r.c: Likewise.
28178 * io/umask.c: Likewise.
28179 * io/unlink.c: Likewise.
28180 * io/unlinkat.c: Likewise.
28181 * io/utime.c: Likewise.
28182 * io/utimensat.c: Likewise.
28183 * io/write.c: Likewise.
28184 * io/xmknod.c: Likewise.
28185 * io/xmknodat.c: Likewise.
28186 * io/xstat.c: Likewise.
28187 * io/xstat64.c: Likewise.
28188 * login/getpt.c: Likewise.
28189 * login/grantpt.c: Likewise.
28190 * login/unlockpt.c: Likewise.
28191 * math/e_acoshl.c: Likewise.
28192 * math/e_acosl.c: Likewise.
28193 * math/e_asinl.c: Likewise.
28194 * math/e_atan2l.c: Likewise.
28195 * math/e_atanhl.c: Likewise.
28196 * math/e_coshl.c: Likewise.
28197 * math/e_expl.c: Likewise.
28198 * math/e_fmodl.c: Likewise.
28199 * math/e_gammal_r.c: Likewise.
28200 * math/e_hypotl.c: Likewise.
28201 * math/e_j0l.c: Likewise.
28202 * math/e_j1l.c: Likewise.
28203 * math/e_jnl.c: Likewise.
28204 * math/e_lgammal_r.c: Likewise.
28205 * math/e_log10l.c: Likewise.
28206 * math/e_log2l.c: Likewise.
28207 * math/e_logl.c: Likewise.
28208 * math/e_powl.c: Likewise.
28209 * math/e_rem_pio2l.c: Likewise.
28210 * math/e_sinhl.c: Likewise.
28211 * math/e_sqrtl.c: Likewise.
28212 * math/fclrexcpt.c: Likewise.
28213 * math/fedisblxcpt.c: Likewise.
28214 * math/feenablxcpt.c: Likewise.
28215 * math/fegetenv.c: Likewise.
28216 * math/fegetexcept.c: Likewise.
28217 * math/fegetround.c: Likewise.
28218 * math/feholdexcpt.c: Likewise.
28219 * math/fesetenv.c: Likewise.
28220 * math/fesetround.c: Likewise.
28221 * math/feupdateenv.c: Likewise.
28222 * math/fgetexcptflg.c: Likewise.
28223 * math/fraiseexcpt.c: Likewise.
28224 * math/fsetexcptflg.c: Likewise.
28225 * math/ftestexcept.c: Likewise.
28226 * math/k_cosl.c: Likewise.
28227 * math/k_rem_pio2l.c: Likewise.
28228 * math/k_sinl.c: Likewise.
28229 * math/k_tanl.c: Likewise.
28230 * math/s_asinhl.c: Likewise.
28231 * math/s_atanl.c: Likewise.
28232 * math/s_cbrtl.c: Likewise.
28233 * math/s_erfl.c: Likewise.
28234 * math/s_expm1l.c: Likewise.
28235 * math/s_log1pl.c: Likewise.
28236 * math/s_tanhl.c: Likewise.
28237 * misc/acct.c: Likewise.
28238 * misc/brk.c: Likewise.
28239 * misc/chflags.c: Likewise.
28240 * misc/chroot.c: Likewise.
28241 * misc/fchflags.c: Likewise.
28242 * misc/fgetxattr.c: Likewise.
28243 * misc/flistxattr.c: Likewise.
28244 * misc/fremovexattr.c: Likewise.
28245 * misc/fsetxattr.c: Likewise.
28246 * misc/fsync.c: Likewise.
28247 * misc/ftruncate.c: Likewise.
28248 * misc/futimes.c: Likewise.
28249 * misc/futimesat.c: Likewise.
28250 * misc/getdomain.c: Likewise.
28251 * misc/getdtsz.c: Likewise.
28252 * misc/gethostid.c: Likewise.
28253 * misc/gethostname.c: Likewise.
28254 * misc/getloadavg.c: Likewise.
28255 * misc/getpagesize.c: Likewise.
28256 * misc/getsysstats.c: Likewise.
28257 * misc/getxattr.c: Likewise.
28258 * misc/gtty.c: Likewise.
28259 * misc/ioctl.c: Likewise.
28260 * misc/lgetxattr.c: Likewise.
28261 * misc/listxattr.c: Likewise.
28262 * misc/llistxattr.c: Likewise.
28263 * misc/lremovexattr.c: Likewise.
28264 * misc/lsetxattr.c: Likewise.
28265 * misc/lutimes.c: Likewise.
28266 * misc/madvise.c: Likewise.
28267 * misc/mincore.c: Likewise.
28268 * misc/mlock.c: Likewise.
28269 * misc/mlockall.c: Likewise.
28270 * misc/mmap.c: Likewise.
28271 * misc/mprotect.c: Likewise.
28272 * misc/msync.c: Likewise.
28273 * misc/munlock.c: Likewise.
28274 * misc/munlockall.c: Likewise.
28275 * misc/munmap.c: Likewise.
28276 * misc/preadv.c: Likewise.
28277 * misc/preadv64.c: Likewise.
28278 * misc/ptrace.c: Likewise.
28279 * misc/pwritev.c: Likewise.
28280 * misc/pwritev64.c: Likewise.
28281 * misc/readv.c: Likewise.
28282 * misc/reboot.c: Likewise.
28283 * misc/remap_file_pages.c: Likewise.
28284 * misc/removexattr.c: Likewise.
28285 * misc/revoke.c: Likewise.
28286 * misc/select.c: Likewise.
28287 * misc/setdomain.c: Likewise.
28288 * misc/setegid.c: Likewise.
28289 * misc/seteuid.c: Likewise.
28290 * misc/sethostid.c: Likewise.
28291 * misc/sethostname.c: Likewise.
28292 * misc/setregid.c: Likewise.
28293 * misc/setreuid.c: Likewise.
28294 * misc/setxattr.c: Likewise.
28295 * misc/sstk.c: Likewise.
28296 * misc/stty.c: Likewise.
28297 * misc/swapoff.c: Likewise.
28298 * misc/swapon.c: Likewise.
28299 * misc/sync.c: Likewise.
28300 * misc/syncfs.c: Likewise.
28301 * misc/syscall.c: Likewise.
28302 * misc/truncate.c: Likewise.
28303 * misc/ualarm.c: Likewise.
28304 * misc/usleep.c: Likewise.
28305 * misc/ustat.c: Likewise.
28306 * misc/utimes.c: Likewise.
28307 * misc/vhangup.c: Likewise.
28308 * misc/writev.c: Likewise.
28309 * posix/_exit.c: Likewise.
28310 * posix/alarm.c: Likewise.
28311 * posix/execve.c: Likewise.
28312 * posix/fexecve.c: Likewise.
28313 * posix/fork.c: Likewise.
28314 * posix/fpathconf.c: Likewise.
28315 * posix/getaddrinfo.c: Likewise.
28316 * posix/getegid.c: Likewise.
28317 * posix/geteuid.c: Likewise.
28318 * posix/getgid.c: Likewise.
28319 * posix/getgroups.c: Likewise.
28320 * posix/getlogin.c: Likewise.
28321 * posix/getlogin_r.c: Likewise.
28322 * posix/getpgid.c: Likewise.
28323 * posix/getpid.c: Likewise.
28324 * posix/getppid.c: Likewise.
28325 * posix/getresgid.c: Likewise.
28326 * posix/getresuid.c: Likewise.
28327 * posix/getsid.c: Likewise.
28328 * posix/getuid.c: Likewise.
28329 * posix/glob64.c: Likewise.
28330 * posix/nanosleep.c: Likewise.
28331 * posix/pathconf.c: Likewise.
28332 * posix/pause.c: Likewise.
28333 * posix/posix_madvise.c: Likewise.
28334 * posix/pread.c: Likewise.
28335 * posix/pread64.c: Likewise.
28336 * posix/pwrite.c: Likewise.
28337 * posix/pwrite64.c: Likewise.
28338 * posix/sched_getaffinity.c: Likewise.
28339 * posix/sched_getp.c: Likewise.
28340 * posix/sched_gets.c: Likewise.
28341 * posix/sched_primax.c: Likewise.
28342 * posix/sched_primin.c: Likewise.
28343 * posix/sched_rr_gi.c: Likewise.
28344 * posix/sched_setaffinity.c: Likewise.
28345 * posix/sched_setp.c: Likewise.
28346 * posix/sched_sets.c: Likewise.
28347 * posix/sched_yield.c: Likewise.
28348 * posix/setgid.c: Likewise.
28349 * posix/setlogin.c: Likewise.
28350 * posix/setpgid.c: Likewise.
28351 * posix/setresgid.c: Likewise.
28352 * posix/setresuid.c: Likewise.
28353 * posix/setsid.c: Likewise.
28354 * posix/setuid.c: Likewise.
28355 * posix/sleep.c: Likewise.
28356 * posix/spawni.c: Likewise.
28357 * posix/sysconf.c: Likewise.
28358 * posix/times.c: Likewise.
28359 * posix/wait.c: Likewise.
28360 * posix/wait3.c: Likewise.
28361 * posix/wait4.c: Likewise.
28362 * posix/waitpid.c: Likewise.
28363 * resolv/gai_sigqueue.c: Likewise.
28364 * resource/getpriority.c: Likewise.
28365 * resource/getrlimit.c: Likewise.
28366 * resource/getrusage.c: Likewise.
28367 * resource/nice.c: Likewise.
28368 * resource/setpriority.c: Likewise.
28369 * resource/setrlimit.c: Likewise.
28370 * resource/ulimit.c: Likewise.
28371 * rt/aio_cancel.c: Likewise.
28372 * rt/aio_fsync.c: Likewise.
28373 * rt/aio_read.c: Likewise.
28374 * rt/aio_sigqueue.c: Likewise.
28375 * rt/aio_suspend.c: Likewise.
28376 * rt/aio_write.c: Likewise.
28377 * rt/clock_getres.c: Likewise.
28378 * rt/clock_gettime.c: Likewise.
28379 * rt/clock_nanosleep.c: Likewise.
28380 * rt/clock_settime.c: Likewise.
28381 * rt/lio_listio.c: Likewise.
28382 * rt/mq_close.c: Likewise.
28383 * rt/mq_getattr.c: Likewise.
28384 * rt/mq_notify.c: Likewise.
28385 * rt/mq_open.c: Likewise.
28386 * rt/mq_receive.c: Likewise.
28387 * rt/mq_send.c: Likewise.
28388 * rt/mq_setattr.c: Likewise.
28389 * rt/mq_timedreceive.c: Likewise.
28390 * rt/mq_timedsend.c: Likewise.
28391 * rt/mq_unlink.c: Likewise.
28392 * rt/shm_open.c: Likewise.
28393 * rt/shm_unlink.c: Likewise.
28394 * rt/timer_create.c: Likewise.
28395 * rt/timer_delete.c: Likewise.
28396 * rt/timer_getoverr.c: Likewise.
28397 * rt/timer_gettime.c: Likewise.
28398 * rt/timer_settime.c: Likewise.
28399 * setjmp/__longjmp.c: Likewise.
28400 * setjmp/setjmp.c: Likewise.
28401 * signal/kill.c: Likewise.
28402 * signal/killpg.c: Likewise.
28403 * signal/raise.c: Likewise.
28404 * signal/sigaction.c: Likewise.
28405 * signal/sigaltstack.c: Likewise.
28406 * signal/sigblock.c: Likewise.
28407 * signal/sigignore.c: Likewise.
28408 * signal/sigintr.c: Likewise.
28409 * signal/signal.c: Likewise.
28410 * signal/sigpause.c: Likewise.
28411 * signal/sigpending.c: Likewise.
28412 * signal/sigqueue.c: Likewise.
28413 * signal/sigreturn.c: Likewise.
28414 * signal/sigset.c: Likewise.
28415 * signal/sigsetmask.c: Likewise.
28416 * signal/sigstack.c: Likewise.
28417 * signal/sigsuspend.c: Likewise.
28418 * signal/sigtimedwait.c: Likewise.
28419 * signal/sigvec.c: Likewise.
28420 * signal/sigwait.c: Likewise.
28421 * signal/sigwaitinfo.c: Likewise.
28422 * signal/sysv_signal.c: Likewise.
28423 * socket/accept.c: Likewise.
28424 * socket/accept4.c: Likewise.
28425 * socket/bind.c: Likewise.
28426 * socket/connect.c: Likewise.
28427 * socket/getpeername.c: Likewise.
28428 * socket/getsockname.c: Likewise.
28429 * socket/getsockopt.c: Likewise.
28430 * socket/isfdtype.c: Likewise.
28431 * socket/listen.c: Likewise.
28432 * socket/recv.c: Likewise.
28433 * socket/recvfrom.c: Likewise.
28434 * socket/recvmsg.c: Likewise.
28435 * socket/send.c: Likewise.
28436 * socket/sendmsg.c: Likewise.
28437 * socket/sendto.c: Likewise.
28438 * socket/setsockopt.c: Likewise.
28439 * socket/shutdown.c: Likewise.
28440 * socket/sockatmark.c: Likewise.
28441 * socket/socket.c: Likewise.
28442 * socket/socketpair.c: Likewise.
28443 * stdio-common/ctermid.c: Likewise.
28444 * stdio-common/cuserid.c: Likewise.
28445 * stdio-common/remove.c: Likewise.
28446 * stdio-common/rename.c: Likewise.
28447 * stdio-common/renameat.c: Likewise.
28448 * stdio-common/tempname.c: Likewise.
28449 * stdlib/getcontext.c: Likewise.
28450 * stdlib/makecontext.c: Likewise.
28451 * stdlib/setcontext.c: Likewise.
28452 * stdlib/swapcontext.c: Likewise.
28453 * stdlib/system.c: Likewise.
28454 * streams/fattach.c: Likewise.
28455 * streams/fdetach.c: Likewise.
28456 * streams/getmsg.c: Likewise.
28457 * streams/getpmsg.c: Likewise.
28458 * streams/putmsg.c: Likewise.
28459 * streams/putpmsg.c: Likewise.
28460 * sysdeps/unix/bsd/getpt.c: Likewise.
28461 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28462 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28463 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28466 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28467 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28468 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28469 * sysvipc/msgctl.c: Likewise.
28470 * sysvipc/msgget.c: Likewise.
28471 * sysvipc/msgrcv.c: Likewise.
28472 * sysvipc/msgsnd.c: Likewise.
28473 * sysvipc/semctl.c: Likewise.
28474 * sysvipc/semget.c: Likewise.
28475 * sysvipc/semop.c: Likewise.
28476 * sysvipc/semtimedop.c: Likewise.
28477 * sysvipc/shmat.c: Likewise.
28478 * sysvipc/shmctl.c: Likewise.
28479 * sysvipc/shmdt.c: Likewise.
28480 * sysvipc/shmget.c: Likewise.
28481 * termios/tcdrain.c: Likewise.
28482 * termios/tcflow.c: Likewise.
28483 * termios/tcflush.c: Likewise.
28484 * termios/tcgetattr.c: Likewise.
28485 * termios/tcgetpgrp.c: Likewise.
28486 * termios/tcsendbrk.c: Likewise.
28487 * termios/tcsetattr.c: Likewise.
28488 * termios/tcsetpgrp.c: Likewise.
28489 * time/adjtime.c: Likewise.
28490 * time/clock.c: Likewise.
28491 * time/getitimer.c: Likewise.
28492 * time/gettimeofday.c: Likewise.
28493 * time/setitimer.c: Likewise.
28494 * time/settimeofday.c: Likewise.
28495 * time/stime.c: Likewise.
28496 * time/time.c: Likewise.
28498 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28500 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28503 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28505 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28507 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28511 FE_TONEAREST before applying Dekker multiplication and Knuth
28512 addition. Clear inexact exceptions and check for exact zero
28513 results afterwards.
28514 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28515 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28516 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28517 * math/libm-test.inc (fma_test): Add more tests.
28518 (fma_test_towardzero): Likewise.
28519 (fma_test_downward): Likewise.
28520 (fma_test_upward): Likewise.
28521 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28523 (libc_fesetround): New macro.
28524 (libc_fesetroundf): Likewise.
28525 (libc_fesetroundl): Likewise.
28526 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28528 (libc_fesetround_387): Likewise.
28529 (libc_fesetroundf): New macro.
28530 (libc_fesetround): Likewise.
28531 (libc_fesetroundl): Likewise.
28532 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28534 (libc_fesetroundf): New macro.
28535 (libc_fesetround): Likewise.
28536 (libc_fesetroundl): Likewise.
28537 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28538 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28539 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28541 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28542 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28544 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28545 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28547 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28551 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28552 integer constant usable in #if and use that to give value to enum
28554 (FE_DIVBYZERO): Likewise.
28555 (FE_UNDERFLOW): Likewise.
28556 (FE_OVERFLOW): Likewise.
28557 (FE_INVALID): Likewise.
28558 (FE_INVALID_SNAN): Likewise.
28559 (FE_INVALID_ISI): Likewise.
28560 (FE_INVALID_IDI): Likewise.
28561 (FE_INVALID_ZDZ): Likewise.
28562 (FE_INVALID_IMZ): Likewise.
28563 (FE_INVALID_COMPARE): Likewise.
28564 (FE_INVALID_SOFTWARE): Likewise.
28565 (FE_INVALID_SQRT): Likewise.
28566 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28567 (FE_TONEAREST): Likewise.
28568 (FE_TOWARDZERO): Likewise.
28569 (FE_UPWARD): Likewise.
28570 (FE_DOWNWARD): Likewise.
28571 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28572 (FE_DIVBYZERO): Likewise.
28573 (FE_OVERFLOW): Likewise.
28574 (FE_UNDERFLOW): Likewise.
28575 (FE_INEXACT): Likewise.
28576 (FE_TONEAREST): Likewise.
28577 (FE_DOWNWARD): Likewise.
28578 (FE_UPWARD): Likewise.
28579 (FE_TOWARDZERO): Likewise.
28580 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28581 (FE_UNDERFLOW): Likewise.
28582 (FE_OVERFLOW): Likewise.
28583 (FE_DIVBYZERO): Likewise.
28584 (FE_INVALID): Likewise.
28585 (FE_TONEAREST): Likewise.
28586 (FE_TOWARDZERO): Likewise.
28587 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28588 (FE_OVERFLOW): Likewise.
28589 (FE_UNDERFLOW): Likewise.
28590 (FE_DIVBYZERO): Likewise.
28591 (FE_INEXACT): Likewise.
28592 (FE_TONEAREST): Likewise.
28593 (FE_TOWARDZERO): Likewise.
28594 (FE_UPWARD): Likewise.
28595 (FE_DOWNWARD): Likewise.
28596 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28597 (FE_DIVBYZERO): Likewise.
28598 (FE_OVERFLOW): Likewise.
28599 (FE_UNDERFLOW): Likewise.
28600 (FE_INEXACT): Likewise.
28601 (FE_TONEAREST): Likewise.
28602 (FE_DOWNWARD): Likewise.
28603 (FE_UPWARD): Likewise.
28604 (FE_TOWARDZERO): Likewise.
28606 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28608 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28610 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28612 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28613 commands. Quote $PWD.
28614 (blacklist_exports): Don't use remove_newlines. Replace "declare
28616 (remove_newlines): Remove.
28618 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28620 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28621 * stdlib/stdlib.h (atof): Moved to ...
28622 * include/bits/stdlib-float.h: Here. New file.
28623 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28624 * stdlib/bits/stdlib-float.h: New file.
28625 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28627 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28630 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28632 * conform/conformtest.pl (@headers): Add fenv.h.
28633 * conform/data/fenv.h-data: New file.
28634 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28635 include of <math/fenv.h>.
28637 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28638 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28639 && !UNIX98]. Enables tests for XOPEN2K8.
28640 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28641 POSIX2008]: Likewise.
28643 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28644 (struct rusage): Do not expect type or its members.
28647 * math/math.h (FP_NAN): Define macro to integer constant usable in
28648 #if and use that to give value to enum constant.
28649 (FP_INFINITE): Likewise.
28650 (FP_ZERO): Likewise.
28651 (FP_SUBNORMAL): Likewise.
28652 (FP_NORMAL): Likewise.
28654 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28656 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28657 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28660 2012-11-02 Roland McGrath <roland@hack.frob.com>
28662 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28663 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28664 autoconf-time if not.
28665 * configure.in: Remove AC_PREREQ.
28667 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28669 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28670 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28671 of the internal implementation.
28673 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28675 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28676 except include of <misc/sys/syslog.h>.
28678 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28681 function returns with a NULL context exit with zero.
28683 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28685 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28687 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28689 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28690 (run_program_cmd): This.
28691 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28692 (tst_langinfo): New variable. Use it.
28694 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28696 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28697 floating point opcodes.
28699 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28701 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28704 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28706 * sysdeps/mach/hurd/powerpc: Remove directory.
28707 * sysdeps/mach/powerpc: Likewise.
28709 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28711 * scripts/check-local-headers.sh: Ignore c++ headers.
28713 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28715 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28716 __libc_cleanup_region_start argument.
28718 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28723 x * y using scaling, not as x * y + z.
28724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28725 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28726 * math/libm-test.inc (fma_test): Add more tests.
28727 (fma_test_towardzero): Likewise.
28728 (fma_test_downward): Likewise.
28729 (fma_test_upward): Likewise.
28731 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28733 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28735 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28737 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28740 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28742 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28744 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28751 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28754 Fix the order of the list for glibc 2.17.
28755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28758 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28762 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28765 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28766 for low part of x being zero before using __atanl (y).
28767 * math/libm-test.inc (atan2_test): Add another test.
28769 * manual/install.texi (Configuring and compiling): Document
28770 general use of test-wrapper and test-wrapper-env.
28771 * INSTALL: Regenerated.
28773 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28774 (__fma): Do not extract and scale down low bits on after-rounding
28775 systems when result rounded to normal precision would have normal
28777 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28778 (__fmal): Do not extract and scale down low bits on after-rounding
28779 systems when result rounded to normal precision would have normal
28781 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28782 (__fmal): Do not extract and scale down low bits on after-rounding
28783 systems when result rounded to normal precision would have normal
28785 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28787 (fma_test): Add more tests.
28788 (fma_test_towardzero): Likewise.
28789 (fma_test_downward): Likewise.
28790 (fma_test_upward): Likewise.
28792 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28794 * sysdeps/i386/tininess.h: Renamed to ...
28795 * sysdeps/x86/tininess.h: This.
28796 * sysdeps/x86_64/tininess.h: Removed.
28798 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28800 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28801 input. Use $(build-program-cmd).
28802 ($(objpfx)tst-array1-static.out): Likewise.
28803 ($(objpfx)tst-array2.out): Likewise.
28804 ($(objpfx)tst-array3.out): Likewise.
28805 ($(objpfx)tst-array4.out): Likewise.
28806 ($(objpfx)tst-array5.out): Likewise.
28807 ($(objpfx)tst-array5-static.out): Likewise.
28809 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28811 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28814 * nss/nsswitch.h (nss_interface_function): Provide new
28815 macro for use with NSS functions.
28816 * grp/initgroups.c: Use new macro.
28817 * nss/getXXbyYY.c: Likewise.
28818 * nss/getXXbyYY_r.c: Likewise.
28819 * nss/getXXent.c: Likewise.
28820 * nss/getXXent_r.c: Likewise.
28821 * sysdeps/posix/getaddrinfo.c: Likewise.
28823 2012-10-30 Andreas Jaeger <aj@suse.de>
28825 * po/ru.po: Update Russion translation from translation project.
28827 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28832 result and shift together with sticky bit instead of replicating
28833 round-to-nearest rounding.
28834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28835 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28836 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28837 missing underflow exceptions.
28838 (fma_test_towardzero): Add more tests.
28839 (fma_test_downward): Likewise.
28840 (fma_test_upward): Likewise.
28843 * sysdeps/generic/tininess.h: New file.
28844 * sysdeps/i386/tininess.h: Likewise.
28845 * sysdeps/sh/tininess.h: Likewise.
28846 * sysdeps/x86_64/tininess.h: Likewise.
28847 * stdlib/tst-strtod-underflow.c: Likewise.
28848 * stdlib/tst-tininess.c: Likewise.
28849 * stdlib/strtod_l.c: Include <tininess.h>.
28850 (round_and_return): Do not set errno for exact underflow cases.
28851 Force an underflow exception when setting errno for underflow.
28852 Determine underflow based on rounding to normal precision if
28853 TININESS_AFTER_ROUNDING.
28854 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28855 ERANGE for exact underflow cases.
28856 * stdlib/Makefile (tests): Add tst-tininess and
28857 tst-strtod-underflow.
28858 ($(objpfx)tst-tininess): Use $(link-libm).
28859 ($(objpfx)tst-strtod-underflow): Likewise.
28861 2012-10-30 Andreas Jaeger <aj@suse.de>
28864 * elf/Makefile (tests): Remove conditional for have-initfini-array
28865 since this is now always required and the variable does not exist
28867 (tests-static): Likewise.
28868 (modules-names): Likewise.
28870 * po/eo.po: Add Esperanto translation from translation project.
28872 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28873 merged with constructor/destructor.
28874 (init_array): Likewise.
28875 * elf/tst-array2dep.c (fini_array): Likewise.
28876 (init_array): Likewise.
28878 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28880 * manual/message.texi: Delete @cartouche tags.
28882 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28884 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28886 * sysdeps/mach/hurd/fsync.c: Likewise.
28888 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28889 [_POSIX_REALTIME_SIGNALS]: Change condition to
28890 [_POSIX_REALTIME_SIGNALS > 0].
28892 2012-10-27 Andreas Jaeger <aj@suse.de>
28894 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28895 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28896 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28897 [__WORDSIZE != 64]: Likewise.
28899 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28901 * iconvdata/tst-table.sh: Remove ${SHELL}.
28902 * iconvdata/tst-tables.sh: Likewise.
28904 2012-10-25 David S. Miller <davem@davemloft.net>
28906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28907 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28910 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28913 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28914 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28917 2012-10-25 Roland McGrath <roland@hack.frob.com>
28919 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28920 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28923 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28924 Jim Blandy <jimb@codesourcery.com>
28926 * scripts/cross-test-ssh.sh: New file.
28927 * manual/install.texi (Configuring and compiling): Document use of
28929 * INSTALL: Regenerated.
28931 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28933 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28936 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28938 * Makeconfig (run-program-prefix): Fix comment.
28940 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28941 Jim Blandy <jimb@codesourcery.com>
28943 * Makeconfig (test-wrapper): New variable,
28944 (test-wrapper-env): Likewise.
28945 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28946 (run-built-tests): Define to yes.
28947 (run-program-prefix): Use $(test-wrapper).
28948 (built-program-cmd): Likewise.
28949 * Rules (make-test-out): Use $(test-wrapper-env) and
28950 $(host-built-program-cmd).
28951 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28952 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28954 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28955 $(test-wrapper-env) to tst-rtld-load-self.sh.
28956 ($(objpfx)order2.out): Use $(test-wrapper).
28957 ($(objpfx)tst-initorder.out): Likewise.
28958 ($(objpfx)tst-initorder2.out): Likewise.
28959 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28960 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28961 (test_wrapper_env): New variable. Use it to run ld.so.
28962 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28963 Use it to run ld.so.
28964 (test_wrapper_env): Likewise.
28965 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28966 $(test-wrapper) to run-iconv-test.sh.
28967 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28968 (ICONV): Use $test_wrapper.
28969 * posix/Makefile ($(objpfx)globtest.out): Pass
28970 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28971 globtest.sh, not $(run-program-prefix).
28972 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28973 (test_wrapper): Likewise.
28974 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28975 set together with run_via_rtld_prefix.
28976 (run_program_prefix): Define in terms of test_wrapper and
28977 run_via_rtld_prefix.
28979 2012-10-24 Roland McGrath <roland@hack.frob.com>
28981 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28982 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28986 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28987 Declare __clock_getres, __clock_gettime, __clock_settime,
28988 __clock_nanosleep, and __clock_getcpuclockid.
28989 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28990 Remove librt_hidden_def (clock_gettime).
28991 * sysdeps/unix/clock_gettime.c: Likewise.
28992 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28993 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28994 * rt/clock_getres.c: Define __clock_getres as an alias.
28995 * sysdeps/posix/clock_getres.c: Likewise.
28996 * rt/clock_settime.c: Define __clock_settime as an alias.
28997 * sysdeps/unix/clock_settime.c: Likewise.
28998 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28999 * sysdeps/unix/clock_nanosleep.c: Likewise.
29000 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29001 * rt/clock-compat.c: New file.
29002 * rt/Makefile (librt-routines): Add clock-compat and move
29003 $(clock-routines) to ...
29004 (routines): ... here, new variable.
29005 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29006 Don't add get_clockfreq here.
29007 * rt/Versions (libc: GLIBC_2.17): New version set.
29008 Add clock_* symbols here.
29009 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29010 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29011 (GLIBC_2.17): Add clock_* symbols.
29012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29014 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29023 * NEWS: Mention the move.
29025 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29026 Use __open, __read, __close rather than their public counterparts.
29027 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29028 (__get_clockfreq_via_cpuinfo): Likewise.
29029 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29030 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29032 * config.h.in (HAVE_IFUNC): New #undef.
29033 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29035 * configure: Regenerated.
29037 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29039 * configure.in: Move READELF check to start of file.
29040 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29041 libc_cv_asm_gnu_indirect_function in the process.
29042 * configure: Regenerated.
29044 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29046 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29047 send the output to /dev/null.
29048 (libc_cv_cc_with_libunwind): Likewise.
29049 (libc_cv_as_noexecstack): Likewise.
29050 * configure: Regenerate.
29052 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29054 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29056 * posix/globtest.sh (TMPDIR): Do not set.
29057 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29058 (testout): Likewise.
29060 2012-10-24 Andreas Jaeger <aj@suse.de>
29062 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29063 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29064 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29065 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29066 posix_fadvise64, posix_fallocate64.
29068 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29069 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29070 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29072 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29074 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29077 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29078 <bits/fcntl-linux.h>.
29079 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29082 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29083 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29084 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29085 [__WORDSIZE != 64]: Likewise.
29087 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29089 * Makeconfig (run-built-tests): New variable.
29090 * Rules [$(cross-compiling) = yes]: Change condition to
29091 [$(run-built-tests) = no].
29092 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29093 to [$(run-built-tests) = yes].
29094 * elf/Makefile [$(cross-compiling) = no]: Likewise
29095 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29096 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29097 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29098 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29099 * io/Makefile [$(cross-compiling) = no]: Likewise.
29100 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29101 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29102 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29103 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29104 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29105 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29106 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29107 * string/Makefile [$(cross-compiling) = no]: Likewise.
29109 * posix/Makefile ($(objpfx)globtest.out): Pass
29110 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29111 $(rtld-installed-name).
29112 * posix/globtest.sh (elf_objpfx): Remove variable.
29113 (rtld_installed_name): Likewise.
29114 (library_path): Likewise.
29115 (run_program_prefix): New variable. Use for running globtest
29118 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29119 Joseph Myers <joseph@codesourcery.com>
29121 * Makeconfig (host-built-program-cmd): New variable.
29122 * elf/Makefile (tst-stackguard1-ARGS): Use
29123 $(host-built-program-cmd).
29124 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29125 (tst-spawn-ARGS): Likewise.
29126 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29128 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29129 Jim Blandy <jimb@codesourcery.com>
29131 * Makeconfig (run-via-rtld-prefix): New variable.
29132 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29133 (built-program-cmd): Likewise.
29135 2012-10-22 Andreas Jaeger <aj@suse.de>
29137 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29138 __O_RSYNC if it exists, otherwise to O_SYNC.
29140 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29141 Joseph Myers <joseph@codesourcery.com>
29143 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29145 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29147 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29150 2012-10-22 Andreas Jaeger <aj@suse.de>
29152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29157 bits/fcntl-linux.h.
29159 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29160 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29167 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29168 Joseph Myers <joseph@codesourcery.com>
29170 * config.make.in (NM): New variable.
29172 2012-10-21 Andreas Jaeger <aj@suse.de>
29174 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29175 definitions and declarations that are provided by
29176 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29178 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29181 * elf/Makefile (tests-static): Add tst-leaks1-static.
29182 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29183 ($(objpfx)tst-leaks1-static): New rule.
29184 ($(objpfx)tst-leaks1-static-mem): Likewise.
29185 (tst-leaks1-static-ENV): New macro.
29186 * elf/dl-open.c (dl_open_worker): Check the main application
29187 only if SHARED is defined.
29188 * elf/tst-leaks1-static.c: New file.
29190 2012-10-20 Andreas Jaeger <aj@suse.de>
29192 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29193 generic values for Linux.
29194 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29195 and declarations that are provided by <bits/fcntl-linux.h> and
29196 include <bits/fcntl-linux.h>.
29197 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29198 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29200 2012-10-20 Roland McGrath <roland@hack.frob.com>
29202 * io/fcntl.h: Move include of <bits/types.h> to the top and
29203 include it unconditionally.
29205 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29207 * wcsmbs/Makefile (tests-ifunc): New variable.
29208 (tests): Add $(tests-ifunc).
29209 * wcsmbs/test-wcschr-ifunc.c: New file.
29210 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29211 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29212 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29213 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29214 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29216 * string/Makefile (tests-ifunc): New variable.
29217 (tests): Add $(tests-ifunc).
29218 * string/test-memccpy.c (TEST_NAME): New macro.
29219 * string/test-memchr.c (TEST_NAME): Likewise.
29220 * string/test-memcmp.c (TEST_NAME): Likewise.
29221 * string/test-memcpy.c (TEST_NAME): Likewise.
29222 * string/test-memmem.c (TEST_NAME): Likewise.
29223 * string/test-memmove.c (TEST_NAME): Likewise.
29224 * string/test-memset.c (TEST_NAME): Likewise.
29225 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29226 * string/test-stpcpy.c (TEST_NAME): Likewise.
29227 * string/test-stpncpy.c (TEST_NAME): Likewise.
29228 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29229 * string/test-strcasestr.c (TEST_NAME): Likewise.
29230 * string/test-strcat.c (TEST_NAME): Likewise.
29231 * string/test-strchr.c (TEST_NAME): Likewise.
29232 * string/test-strcmp.c(TEST_NAME): Likewise.
29233 * string/test-strcpy.c (TEST_NAME): Likewise.
29234 * string/test-strcspn.c (TEST_NAME): Likewise.
29235 * string/test-strlen.c (TEST_NAME): Likewise.
29236 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29237 * string/test-strncmp.c (TEST_NAME): Likewise.
29238 * string/test-strncpy.c (TEST_NAME): Likewise.
29239 * string/test-strnlen.c (TEST_NAME): Likewise.
29240 * string/test-strpbrk.c (TEST_NAME): Likewise.
29241 * string/test-strrchr.c (TEST_NAME): Likewise.
29242 * string/test-strspn.c (TEST_NAME): Likewise.
29243 * string/test-strstr.c (TEST_NAME): Likewise.
29244 * string/test-bcopy-ifunc.c: New file.
29245 * string/test-bzero-ifunc.c: Likewise.
29246 * string/test-memccpy-ifunc.c: Likewise.
29247 * string/test-memchr-ifunc.c: Likewise.
29248 * string/test-memcmp-ifunc.c: Likewise.
29249 * string/test-memcpy-ifunc.c: Likewise.
29250 * string/test-memmem-ifunc.c: Likewise.
29251 * string/test-memmove-ifunc.c: Likewise.
29252 * string/test-mempcpy-ifunc.c: Likewise.
29253 * string/test-memset-ifunc.c: Likewise.
29254 * string/test-rawmemchr-ifunc.c: Likewise.
29255 * string/test-stpcpy-ifunc.c: Likewise.
29256 * string/test-stpncpy-ifunc.c: Likewise.
29257 * string/test-strcasecmp-ifunc.c: Likewise.
29258 * string/test-strcasestr-ifunc.c: Likewise.
29259 * string/test-strcat-ifunc.c: Likewise.
29260 * string/test-strchr-ifunc.c: Likewise.
29261 * string/test-strchrnul-ifunc.c: Likewise.
29262 * string/test-strcmp-ifunc.c: Likewise.
29263 * string/test-strcpy-ifunc.c: Likewise.
29264 * string/test-strcspn-ifunc.c: Likewise.
29265 * string/test-strlen-ifunc.c: Likewise.
29266 * string/test-strncasecmp-ifunc.c: Likewise.
29267 * string/test-strncat-ifunc.c: Likewise.
29268 * string/test-strncmp-ifunc.c: Likewise.
29269 * string/test-strncpy-ifunc.c: Likewise.
29270 * string/test-strnlen-ifunc.c: Likewise.
29271 * string/test-strpbrk-ifunc.c: Likewise.
29272 * string/test-strrchr-ifunc.c: Likewise.
29273 * string/test-strspn-ifunc.c: Likewise.
29274 * string/test-strstr-ifunc.c: Likewise.
29276 * debug/Makefile (tests-ifunc): New variable.
29277 (tests): Add $(tests-ifunc).
29278 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29279 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29280 * debug/test-stpcpy_chk-ifunc.c: New file.
29281 * debug/test-strcpy_chk-ifunc.c: Likewise.
29283 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29286 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29287 header is not read in.
29289 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29291 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29292 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29293 directly. Pass built executable to script as
29294 $(built-program-cmd).
29295 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29296 $testprogram without using LD_LIBRARY_PATH and $ldso.
29298 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29299 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29300 $(rtld-installed-name).
29301 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29302 (rtld_installed_name): Likewise.
29303 (library_path): Likewise.
29304 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29305 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29306 $(run-program-prefix) to tst-tables.sh.
29307 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29308 it to run tst-table-from and tst-table-to.
29309 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29310 Pass it to tst-table.sh.
29311 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29312 $(run-program-prefix) to tst-gettext.sh.
29313 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29315 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29317 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29318 to run tst-gettext.
29319 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29320 to run tst-gettext2.
29321 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29322 to run tst-translit.
29323 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29324 $(run-program-prefix) to tst-mtrace.sh.
29325 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29327 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29328 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29329 $(rtld-installed-name).
29330 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29331 (rtld_installed_name): Likewise.
29332 (run_program_prefix): New variable. Use it to run wordexp-test.
29334 * Makeconfig (ARCH): Remove all definitions.
29335 (machine): Likewise.
29336 [ARCH]: Remove conditional code.
29337 [!objdir]: Give error.
29338 [!objdir] (objpfx): Remove.
29339 [!objdir] (common-objpfx): Likewise.
29340 [!objdir] (common-objdir): Likewise.
29341 * configure.in (config_makefile): Remove. Hardcode Makefile in
29342 AC_CONFIG_FILES call.
29343 * configure: Regenerated.
29346 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29348 (testout): Likewise.
29350 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29351 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29352 $(rtld-installed-name).
29353 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29354 (rtld_installed_name): Likwise.
29355 (runit): Remove function.
29356 (run_getconf): New variable, Use it for running getconf binary.
29358 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29361 * string/test-memmem.c (check_result): New function.
29362 (do_one_test): Use it.
29363 (check1): New function.
29364 (test_main): Use it.
29366 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29368 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29370 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29372 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29373 (_G_LSEEK64): Likewise.
29374 (_G_MMAP64): Likewise.
29375 (_G_FSTAT64): Likewise.
29376 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29377 (_G_LSEEK64): Likewise.
29378 (_G_MMAP64): Likewise.
29379 (_G_FSTAT64): Likewise.
29380 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29381 unconditional. Call __mmap64 directly.
29382 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29383 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29384 __lseek64 directly.
29385 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29386 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29388 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29389 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29390 __lseek64 directly.
29391 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29392 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29393 __lseek64 directly.
29394 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29395 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29396 __lseek64 directly.
29397 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29398 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29399 __fxstat64 directly.
29400 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29401 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29403 (freopen64) [!_G_OPEN64]: Remove conditional code.
29404 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29406 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29407 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29409 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29410 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29412 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29413 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29415 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29416 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29418 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29419 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29421 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29422 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29424 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29426 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29429 * manual/memory.texi (Malloc Tunable Parameters): Add note
29430 about free list pointers overwriting some perturb bytes.
29431 Wording suggested by Roland McGrath.
29433 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29435 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29436 (lgamma_test): Likewise.
29437 (tgamma_test): Likewise.
29439 2012-10-16 Florian Weimer <fweimer@redhat.com>
29442 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29443 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29445 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29447 * NEWS: Mention BZ #14716.
29448 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29449 when removing AVAILABLE1_USES_J macro.
29451 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29453 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29454 (__bswap_64): __uint64_t for unsigned 64-bit int.
29456 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29458 * include/string.h (memmem): Declare libc hidden alias.
29459 * string/memmem.c (memmem): Define libc hidden alias.
29460 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29461 __read, __close instead of open, read, close.
29463 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29466 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29468 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29469 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29470 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29472 (__rawmemchr_sse2): Likewise.
29473 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29474 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29475 (__strchr_sse2): Likewise.
29476 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29477 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29478 (__strcasecmp_sse2): Likewise.
29479 (__strncasecmp_sse2): Likewise.
29480 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29481 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29482 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29483 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29484 (__strrchr_sse2): Likewise.
29485 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29487 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29488 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29489 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29490 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29491 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29492 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29493 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29494 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29495 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29496 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29497 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29498 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29499 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29500 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29501 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29502 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29503 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29504 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29505 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29506 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29507 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29508 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29509 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29510 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29511 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29512 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29513 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29514 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29515 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29516 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29518 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29520 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29521 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29522 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29523 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29525 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29527 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29528 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29529 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29530 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29532 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29533 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29534 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29535 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29536 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29537 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29538 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29539 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29540 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29541 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29542 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29543 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29544 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29545 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29546 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29547 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29548 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29549 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29550 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29551 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29552 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29553 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29554 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29555 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29556 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29557 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29558 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29559 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29560 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29561 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29562 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29563 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29564 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29565 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29566 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29567 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29568 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29569 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29570 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29571 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29572 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29574 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29575 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29576 * include/ifunc-impl-list.h: New file.
29577 * misc/ifunc-impl-list.c: Likewise.
29578 * misc/Makefile (routines): Add ifunc-impl-list.
29579 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29580 * string/test-string.h: Include <ifunc-impl-list.h>.
29581 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29582 TEST_NAME]: New variables.
29583 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29585 (test_init): Call __libc_ifunc_impl_list to initialize
29586 func_list if TEST_IFUNC and TEST_NAME are defined.
29588 * string/Makefile (strop-tests): Add bcopy and bzero.
29589 * string/test-bcopy.c: New file.
29590 * string/test-bzero.c: Likewise.
29591 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29593 * string/test-memset.c: Support bzero test if TEST_BZERO is
29595 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29597 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29599 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29602 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29604 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29605 * configure: Regenerated.
29607 * Makeconfig (+link-static-before-libc): Don't include
29608 $(link-static-libc).
29610 * libio/libio.h (_IO_pos_t): Remove.
29612 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29614 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29617 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29619 * crypt/crypt-entry.c: Include fips-private.h.
29620 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29621 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29622 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29623 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29625 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29627 * crypt/crypt-private.h: Include stdbool.h.
29628 (_ufc_setup_salt_r): Return bool.
29629 * crypt/crypt-entry.c: Include errno.h.
29630 (__crypt_r): Return NULL with EINVAL for bad salt.
29631 * crypt/crypt_util.c (bad_for_salt): New.
29632 (_ufc_setup_salt_r): Check that salt is long enough and within
29633 the specified alphabet.
29634 * crypt/badsalttest.c: New file.
29635 * crypt/Makefile (tests): Add it.
29636 ($(objpfx)badsalttest): New.
29638 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29640 * NEWS: Add entry for BZ #14602.
29642 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29644 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29646 * math/libm-test.inc: Update comment listing what functions and
29648 (isgreater_test): New function.
29649 (isgreaterequal_test): Likewise.
29650 (isless_test): Likewise.
29651 (islessequal_test): Likewise.
29652 (islessgreater_test): Likewise.
29653 (isunordered_test): Likewise.
29654 (main): Call the new functions.
29656 2012-10-09 Roland McGrath <roland@hack.frob.com>
29658 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29659 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29660 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29661 * sysdeps/i386/configure: Regenerated.
29662 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29663 * sysdeps/mach/configure: Regenerated.
29664 * sysdeps/mach/hurd/configure: Regenerated.
29665 * sysdeps/powerpc/configure: Regenerated.
29666 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29667 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29668 * sysdeps/s390/s390-32/configure: Regenerated.
29669 * sysdeps/s390/s390-64/configure: Regenerated.
29670 * sysdeps/sh/configure: Regenerated.
29671 * sysdeps/sparc/configure: Regenerated.
29672 * sysdeps/unix/sysv/linux/configure: Regenerated.
29673 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29674 * sysdeps/x86_64/configure: Regenerated.
29676 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29677 defined. Don't check if MAP is NULL.
29679 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29681 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29682 (_G_stat64): Likewise.
29683 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29684 (_G_stat64): Likewise.
29685 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29686 instead of struct _G_stat64.
29687 * libio/fileops.c (mmap_remap_check): Likewise.
29688 (decide_maybe_mmap): Likewise.
29689 (_IO_new_file_seekoff): Likewise.
29690 (_IO_file_stat): Likewise.
29691 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29693 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29694 instead of struct _G_stat64.
29695 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29697 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29700 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29702 (CHECK_EOL): New macro.
29703 (two_way_short_needle): Check beginning of haystack for EOL. Use
29705 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29706 Replace with CHECK_EOL.
29707 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29708 Replace with CHECK_EOL.
29710 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29712 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29714 * math/libm-test.inc: Update comment listing what functions and
29716 (finite_test): New function.
29717 (isinf_test): Likewise.
29718 (isnan_test): Likewise.
29719 (fpclassify_test): Test subnormal input.
29720 (isfinite_test): Likewise.
29721 (isnormal_test): Likewise.
29722 (main): Call the new functions.
29724 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29727 * Makerules (%.dynsym): Force C locale when running
29728 $(OBJDUMP) --dynamic-syms.
29730 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29732 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29735 2012-10-06 David S. Miller <davem@davemloft.net>
29737 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29738 upper 32-bits of the length value in %o2 since we use branch-on-register
29739 tests which consider the entire 64-bit register.
29741 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29743 * string/test-strstr.c (check2): Add a test for page boundary.
29745 2012-10-05 David S. Miller <davem@davemloft.net>
29747 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29748 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29750 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29752 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29753 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29754 and bzero when HWCAP_SPARC_CRYPTO is present.
29756 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29759 * string/test-strstr.c (check2): New function.
29760 (test_main): Call check2.
29762 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29764 * string/bug-strcasestr1.c (do_test): Moved to ...
29765 * string/test-strcasestr.c (check1): Here. New function.
29766 (do_one_test): Break out result checking code into ...
29767 (check_result): This. New function.
29768 (do_one_test): Call check_result.
29769 (test_main): Call check1.
29770 * string/bug-strchr1.c (do_test): Moved to ...
29771 * string/test-strchr.c (check1): Here. New function.
29772 (do_one_test): Break out result checking code into ...
29773 (check_result): This. New function.
29774 (do_one_test): Call check_result.
29775 (test_main): Call check1.
29776 * string/bug-strstr1.c (main): Moved to ...
29777 * string/test-strstr.c (check1): Here. New function.
29778 (do_one_test): Break out result checking code into ...
29779 (check_result): This. New function.
29780 (do_one_test): Call check_result.
29781 (test_main): Call check1.
29782 * string/bug-strcasestr1.c: Removed.
29783 * string/bug-strchr1.c: Likewise.
29784 * string/bug-strstr1.c: Likewise.
29786 * elf/Makefile (dl-routines): Add hwcaps.
29787 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29788 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29789 (_dl_important_hwcaps): Moved to ...
29790 * elf/dl-hwcaps.c: Here. New file.
29791 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29794 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29795 if IS_IN_rtld isn't defined.
29797 * elf/dl-support.c (_dl_sysinfo_map): New.
29798 Include "get-dynamic-info.h" and "setup-vdso.h".
29799 (_dl_non_dynamic_init): Call setup_vdso.
29800 * elf/dynamic-link.h: Don't include <assert.h>.
29801 (elf_get_dynamic_info): Moved to ...
29802 * elf/get-dynamic-info.h: Here. New file.
29803 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29804 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29805 * elf/setup-vdso.h: Here. New file.
29806 * elf/rtld.c: Include "setup-vdso.h".
29807 (dl_main): Call setup_vdso.
29809 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29811 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29812 creal in comment listing functions tested. List finite, isinf,
29813 isnan, isless, islessequal, isgreater, isgreaterequal,
29814 islessgreater, isunordered, lgamma_r and pow10 as functions and
29815 macros not tested. Mention which functions not tested are aliases
29816 for other functions. Fix typo. Note that signs of NaNs are not
29819 * scripts/config.guess: Update from config.git.
29820 * scripts/config.sub: Likewise.
29822 2012-10-04 Roland McGrath <roland@hack.frob.com>
29824 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29825 * misc/madvise.c (madvise): Renamed to __madvise.
29826 Make madvise a weak alias.
29827 * include/sys/mman.h: Declare __madvise.
29828 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29829 * sysdeps/unix/syscalls.list
29830 (madvise): Make __madvise the strong name, and madvise a weak alias.
29831 * sysdeps/unix/sysv/linux/syscalls.list
29832 (madvise, mmap): Remove redundant entries.
29833 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29834 * malloc/malloc.c (mtrim): Likewise.
29835 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29837 2012-10-03 Roland McGrath <roland@hack.frob.com>
29839 * sysdeps/mach/hurd/dl-cache.c: File removed.
29840 * config.h.in (USE_LDCONFIG): New #undef.
29841 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29842 * configure: Regenerated.
29843 * elf/Makefile (dl-routines): Add dl-cache only under
29844 [$(use-ldconfig) = yes].
29845 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29846 cache on [USE_LDCONFIG].
29847 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29849 * elf/rtld.c (dl_main): Likewise.
29851 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29853 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29854 _SC_LEVEL4_CACHE_LINESIZE.
29856 2012-10-03 Roland McGrath <roland@hack.frob.com>
29858 * sysdeps/unix/bsd/confstr.h: File removed.
29860 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29862 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29865 2012-10-02 Roland McGrath <roland@hack.frob.com>
29867 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29868 Make 'mapoff' field ElfW(Off) rather than off_t.
29870 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29872 * nscd/Makefile: Remove nscd-cflags and all its users.
29873 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29874 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29877 * malloc.c (malloc_printerr): Clarify error message.
29879 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29883 Set bit_FMA_Usable if FMA is supported.
29884 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29886 (bit_FMA4_Usable): Updated.
29887 (index_FMA_Usable): New macro.
29888 (CPUID_FMA): Likewise
29889 (HAS_FMA): Defined with bit_FMA_Usable.
29891 2012-10-01 Roland McGrath <roland@hack.frob.com>
29893 * bits/types.h (__swblk_t): Type removed.
29894 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29895 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29896 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29897 (__SWBLK_T_TYPE): Likewise.
29898 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29899 (__SWBLK_T_TYPE): Likewise.
29900 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29901 (__SWBLK_T_TYPE): Likewise.
29902 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29903 (__SWBLK_T_TYPE): Likewise.
29905 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29906 Honza Horak <hhorak@redhat.com>
29908 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29909 (xdr_mapname): Use YPMAXMAP as maxsize.
29910 (xdr_peername): Use YPMAXPEER as maxsize.
29911 (xdr_keydat): Use YPAXRECORD as maxsize.
29912 (xdr_valdat): Use YPMAXRECORD as maxsize.
29914 2012-10-01 Roland McGrath <roland@hack.frob.com>
29916 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29918 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29919 * csu/init-first.c: ... here.
29920 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29921 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29922 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29923 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29924 * sysdeps/i386/init-first.c: File removed.
29925 * sysdeps/sh/init-first.c: File removed.
29927 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29931 if x * y might underflow to zero and z is zero.
29932 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29933 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29934 * math/libm-test.inc (min_subnorm_value): New variable.
29935 (fma_test): Add more tests.
29936 (fma_test_towardzero): Likewise.
29937 (fma_test_downward): Likewise
29938 (fma_test_upward): Likewise.
29939 (initialize): Set min_subnorm_value.
29941 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29946 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29947 mode for addition resulting in exact zero.
29948 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29949 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29951 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29952 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29953 * math/libm-test.inc (fma_test): Add more tests.
29954 (fma_test_towardzero): New function.
29955 (fma_test_downward): Likewise.
29956 (fma_test_upward): Likewise.
29957 (main): Call the new functions.
29959 2012-09-28 David S. Miller <davem@davemloft.net>
29961 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29963 2012-09-28 Roland McGrath <roland@hack.frob.com>
29965 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29966 instead of SIGALRM.
29968 * sysdeps/gnu/_G_config.h: Moved to ...
29969 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29970 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29971 * sysdeps/generic/_G_config.h: ... here.
29973 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29975 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29977 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29978 Conditionalize target on [libnss_test1.so-version].
29980 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29982 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29983 (elfobjdir): Move out of conditionals.
29985 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29986 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29987 (__nss_lookup_function): Conditionalize label remove_from_tree on
29988 [!DO_STATIC_NSS || SHARED], matching its only use.
29990 2012-09-28 David S. Miller <davem@davemloft.net>
29992 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29993 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29995 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29997 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29999 when HWCAP_SPARC_CRYPTO is present.
30001 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30003 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30005 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30008 * stdio-common/vfprintf.c (process_string_arg): Revert
30011 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30013 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30015 * stdio-common/tst-sprintf.c: Include <locale.h>
30016 (main): Test sprintf's handling of incomplete multibyte
30019 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30021 * elf/dl-runtime.c (VERSYMIDX): Removed.
30022 * elf/dl-version.c (VERSYMIDX): Likewise.
30023 * elf/do-rel.h (VERSYMIDX): Likewise.
30024 (VALIDX): Likewise.
30025 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30026 * elf/rtld.c (VALIDX): Likewise.
30027 (ADDRIDX): Likewise.
30028 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30029 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30030 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30031 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30032 (VALIDX): Likewise.
30033 (ADDRIDX): Likewise.
30035 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30037 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30039 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30042 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30044 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30045 addresses are in the same scope as 192.0.2/24.
30046 * posix/gai.conf: Document new scope table defaults.
30048 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30051 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30052 for ftell. Compute offsets from write pointers instead.
30053 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30055 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30058 * libio/Makefile (tests): New test case tst-fseek.
30059 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30060 combination works in wide mode.
30061 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30062 state when the external buffer state changes.
30064 2012-09-27 David S. Miller <davem@davemloft.net>
30067 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30068 pass reloc->r_addend in as the 'high' argument to
30069 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30073 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30075 * rt/tst-aio2.c: Include <pthread.h>.
30076 * rt/tst-aio3.c: Likewise.
30078 2012-09-27 Steve Ellcey <sellcey@mips.com>
30080 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30082 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30084 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30085 contents on [SHARED].
30087 2012-09-26 Marek Polacek <polacek@redhat.com>
30091 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30092 for C++ and GCC <4.3 as well as for non GCC compilers.
30094 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30098 2012-09-25 Roland McGrath <roland@hack.frob.com>
30100 * Makefile.in (all, install): Declare with .PHONY.
30101 Reported by Michael Hope <michael.hope@linaro.org>.
30103 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30105 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30106 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30108 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30110 (sydep_routines): Add the new and the internal functions.
30111 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30112 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30114 (GLIBC_2.17): Add the new function.
30115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30116 (GLIBC_2.17): Likewise.
30117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30118 (GLIBC_2.17): Likewise.
30119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30120 (GLIBC_2.17): Likewise.
30121 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30123 2012-09-25 Alan Modra <amodra@gmail.com>
30125 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30126 Add release barrier before setting once_control to say
30127 initialisation is done. Add hints on lwarx. Use macro in
30129 (clear_once_control): Add release barrier.
30131 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30134 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30136 * math/s_clog10.c (__clog10): Likewise.
30137 * math/s_clog10f.c (__clog10f): Likewise.
30138 * math/s_clog10l.c (__clog10l): Likewise.
30139 * math/s_clogf.c (__clogf): Likewise.
30140 * math/s_clogl.c (__clogl): Likewise.
30141 * math/Makefile (libm-calls): Add x2y2m1.
30142 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30143 (__x2y2m1): Likewise.
30144 (__x2y2m1l): Likewise.
30145 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30146 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30147 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30148 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30149 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30150 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30151 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30152 * sysdeps/i386/fpu/libm-test-ulps: Update.
30153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30156 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30157 int as type of variable DEPTH.
30158 (glob): Use size_t instead of int as type of variables NEWCOUNT
30161 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30163 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30164 Add s_sincosf-sse2.
30165 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30166 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30167 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30168 macros for using routine as __sincosf_ia32.
30169 Use macro for function declaration and weak_alias.
30170 * sysdeps/i386/fpu/libm-test-ulps: Update.
30172 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30175 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30176 subnormal argument.
30177 * math/s_cexpf.c (__cexpf): Likewise.
30178 * math/s_csinf.c (__csinf): Likewise.
30179 * math/s_csinhf.c (__csinhf): Likewise.
30180 * math/s_ctanf.c (__ctanf): Likewise.
30181 * math/s_ctanhf.c (__ctanhf): Likewise.
30182 * math/s_ccosh.c (__ccoshf): Likewise.
30183 * math/s_cexp.c (__cexpl): Likewise.
30184 * math/s_csin.c (__csin): Likewise.
30185 * math/s_csinh.c (__csinh): Likewise.
30186 * math/s_ctan.c (__ctan): Likewise.
30187 * math/s_ctanh.c (ctanh): Likewise.
30188 * math/s_ccoshl.c (__ccoshl): Likewise.
30189 * math/s_cexpl.c (__cexpl): Likewise.
30190 * math/s_csinl.c (__csinl): Likewise.
30191 * math/s_csinhl.c (__csinhl): Likewise.
30192 * math/s_ctanl.c (__ctanl): Likewise.
30193 * math/s_ctanhl.c (__ctanhl): Likewise.
30195 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30197 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30198 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30199 (_IO_off_t): Define to __off_t, not _G_off_t.
30200 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30201 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30202 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30203 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30204 type of __dummy and __dummy2 fields.
30205 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30206 (_G_ssize_t): Likewise.
30207 (_G_off_t): Likewise.
30208 (_G_pid_t): Likewise.
30209 (_G_uid_t): Likewise.
30210 (_G_wchar_t): Likewise.
30211 (_G_wint_t): Likewise.
30212 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30213 (_G_ssize_t): Likewise.
30214 (_G_off_t): Likewise.
30215 (_G_pid_t): Likewise.
30216 (_G_uid_t): Likewise.
30217 (_G_wchar_t): Likewise.
30218 (_G_wint_t): Likewise.
30219 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30220 (_G_ssize_t): Likewise.
30221 (_G_off_t): Likewise.
30222 (_G_pid_t): Likewise.
30223 (_G_uid_t): Likewise.
30224 (_G_wchar_t): Likewise.
30225 (_G_wint_t): Likewise.
30227 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30229 * malloc/arena.c: Include malloc-sysdep.h.
30230 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30231 is sufficient to shrink the heap or an unmap is needed.
30232 * sysdeps/generic/malloc-sysdep.h: New file. Define
30233 new function check_may_shrink_heap.
30234 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30235 new function check_may_shrink_heap.
30237 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30239 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30242 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30244 * catgets/test-gencat.sh: Add "set -e".
30245 * elf/tst-pathopt.sh: Likewise.
30246 * grp/tst_fgetgrent.sh: Likewise.
30247 * iconvdata/run-iconv-test.sh: Likewise.
30248 * intl/tst-gettext.sh: Likewise.
30249 * intl/tst-gettext2.sh: Likewise.
30250 * intl/tst-gettext4.sh: Likewise.
30251 * intl/tst-gettext6.sh: Likewise.
30252 * intl/tst-translit.sh: Likewise.
30253 * io/ftwtest-sh: Likewise.
30254 * libio/test-freopen.sh: Likewise.
30255 * malloc/tst-mtrace.sh: Likewise.
30256 * posix/globtest.sh: Likewise.
30257 * posix/tst-getconf.sh: Likewise.
30258 * posix/wordexp-tst.sh: Likewise.
30259 * stdio-common/tst-printf.sh: Likewise.
30260 * stdio-common/tst-unbputc.sh: Likewise.
30261 * stdlib/tst-fmtmsg.sh: Likewise.
30262 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30263 * catgets/Makefile: Do not specify -e option when running
30264 testsuite shell scripts.
30265 * elf/Makefile: Likewise.
30266 * grp/Makefile: Likewise.
30267 * iconvdata/Makefile: Likewise.
30268 * intl/Makefile: Likewise.
30269 * io/Makefile: Likewise.
30270 * libio/Makefile: Likewise.
30271 * malloc/Makefile: Likewise.
30272 * posix/Makefile: Likewise.
30273 * stdio-common/Makefile: Likewise.
30274 * stdlib/Makefile: Likewise.
30275 * sysdeps/x86_64/Makefile: Likewise.
30277 * io/ftwtest-sh: Add copyright header.
30278 * posix/globtest.sh: Likewise.
30279 * posix/tst-getconf.sh: Likewise.
30280 * posix/wordexp-tst.sh: Likewise.
30281 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30283 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30286 * Makeconfig (+link): Defined as $(+link-static) if
30287 $(build-shared) isn't yes.
30288 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30290 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30292 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30295 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30296 new chunk size with MALLOC_ALIGN_MASK.
30298 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30301 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30303 (__printf_fphex): Determine rounding using get_rounding_mode and
30305 * stdio-common/tst-printf-round.c (struct hex_test): New
30307 (hex_tests): New variable.
30308 (test_hex_in_one_mode): New function.
30309 (do_test): Also run tests for hex float output.
30311 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30313 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30314 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30315 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30316 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30317 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30318 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30319 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30320 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30322 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30324 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30325 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30326 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30327 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30329 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30332 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30334 * elf/tst-rtld-load-self.sh: New test.
30335 * elf/Makefile: Run it.
30337 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30339 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30340 (tst-writev-ENV): Remove.
30341 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30343 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30345 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30347 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30349 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30351 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30353 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30354 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30355 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30358 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30361 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30362 * config.make.in (have-cpp-asm-debuginfo): Removed.
30363 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30364 * configure: Regenerated.
30366 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30369 * stdio-common/printf_fp.c: Include <stdbool.h> and
30371 (___printf_fp): Determine rounding using get_rounding_mode and
30373 * stdio-common/tst-printf-round.c: New file.
30374 * stdio-common/Makefile (tests): Add tst-printf-round.
30375 (link-libm): New variable.
30376 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30378 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30381 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30382 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30384 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30387 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30389 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30390 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30391 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30392 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30394 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30397 * include/rounding-mode.h: New file.
30398 * sysdeps/generic/get-rounding-mode.h: Likewise.
30399 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30400 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30401 (MAX_VALUE): New macro.
30402 (MIN_VALUE): Likewise.
30403 (overflow_value): New function.
30404 (underflow_value): Likewise.
30405 (round_and_return): Use overflow_value and underflow_value to
30406 determine return values in overflow and underflow cases. Use
30407 round_away to determine rounding depending on rounding mode.
30408 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30409 determine return values in overflow and underflow cases.
30410 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30411 (struct test_results): New structure.
30412 (struct test): Use struct test_results to store expected results
30413 for all rounding modes.
30414 (TEST): Include expected results for all rounding modes.
30415 (test_in_one_mode): New function.
30416 (do_test): Use test_in_one_mode to compute and check results.
30417 Check results for all rounding modes.
30418 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30421 2012-12-09 Allan McRae <allan@archlinux.org>
30423 * sysdeps/i386/fpu/libm-test-ulps: Update
30425 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30427 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30428 (_G_int32_t): Likewise.
30429 (_G_uint16_t): Likewise.
30430 (_G_uint32_t): Likewise.
30431 (_G_HAVE_BOOL): Likewise.
30432 (_G_HAVE_ATEXIT): Likewise.
30433 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30434 (_G_HAVE_IO_FILE_OPEN): Likewise.
30435 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30436 (_G_int32_t): Likewise.
30437 (_G_uint16_t): Likewise.
30438 (_G_uint32_t): Likewise.
30439 (_G_HAVE_BOOL): Likewise.
30440 (_G_HAVE_ATEXIT): Likewise.
30441 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30442 (_G_HAVE_IO_FILE_OPEN): Likewise.
30443 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30444 (_G_int32_t): Likewise.
30445 (_G_uint16_t): Likewise.
30446 (_G_uint32_t): Likewise.
30447 (_G_HAVE_BOOL): Likewise.
30448 (_G_HAVE_ATEXIT): Likewise.
30449 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30450 (_G_HAVE_IO_FILE_OPEN): Likewise.
30452 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30454 * csu/libc-tls.c: Update copyright years.
30456 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30458 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30459 [!_G_USING_THUNKS]: Remove conditional code.
30460 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30461 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30463 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30464 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30465 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30466 (_G_VTABLE_LABEL_PREFIX): Likewise.
30467 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30468 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30469 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30470 (_G_VTABLE_LABEL_PREFIX): Likewise.
30471 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30472 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30473 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30474 (_G_VTABLE_LABEL_PREFIX): Likewise.
30475 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30477 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30479 * libio/Makefile: Include ../Makeconfig before tests.
30480 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30481 only if $(build-shared) is yes.
30483 * iconv/gconv_db.c: Update copyright years.
30485 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30487 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30488 unwind info if defined PIC. Fix special cases description.
30489 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30491 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30493 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30495 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30497 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30499 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30502 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30503 (LDLIBS-tst-chk4): This.
30504 (LDFLAGS-tst-chk5): Renamed to ...
30505 (LDLIBS-tst-chk5): This.
30506 (LDFLAGS-tst-chk6): Renamed to ...
30507 (LDLIBS-tst-chk6): This.
30508 (LDFLAGS-tst-lfschk4): Renamed to ...
30509 (LDLIBS-tst-lfschk4): This.
30510 (LDFLAGS-tst-lfschk5): Renamed to ...
30511 (LDLIBS-tst-lfschk5): This.
30512 (LDFLAGS-tst-lfschk6): Renamed to ...
30513 (LDLIBS-tst-lfschk6): This.
30515 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30516 on $(common-objpfx)soversions.mk.
30518 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30521 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30524 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30526 * malloc/arena.c (arena_get_retry): New function that gets
30527 another arena for the caller to try its request on.
30528 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30529 current arena cannot fulfill the request.
30530 (__libc_memalign): Likewise.
30531 (__libc_memalign): Likewise.
30532 (__libc_pvalloc): Likewise.
30533 (__libc_calloc): Likewise.
30535 2012-09-05 John Tobey <john.tobey@gmail.com>
30538 * manual/arith.texi (Operations on Complex): Fix description
30539 of carg branch cut.
30541 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30544 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30548 * manual/memory.texi (Memory): Make order of menu items match
30551 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30553 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30554 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30555 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30557 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30559 * csu/libc-tls.c (static_dtv): Renamed to ...
30560 (_dl_static_dtv): This. Make it global.
30561 (_dl_initial_dtv): Removed.
30562 (__libc_setup_tls): Updated.
30563 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30564 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30567 2012-09-06 Petr Machata <pmachata@redhat.com>
30569 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30570 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30571 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30572 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30574 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30577 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30578 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30581 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30584 * Makeconfig (link-static-before-libc): Replace $(+prector)
30586 (link-static-after-libc): Replace $(+postctor) with
30588 (link-bounded): Replace $(+prector)/$(+postctor) with
30589 $(+prectorT)/$(+postctorT).
30590 (+prectorT): New macro.
30591 (+postctorT): Likewise.
30593 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30595 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30596 (round_str): Handle values above the maximum for IBM long double
30598 * stdlib/tst-strtod-round.c (tests): Regenerated.
30600 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30602 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30604 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30605 zarch_nohighgprs around the zarch optimized routines.
30606 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30607 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30608 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30611 2012-09-05 David S. Miller <davem@davemloft.net>
30613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30615 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30616 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30617 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30618 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30621 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30623 * malloc/arena.c: Fold copyright years.
30624 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30626 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30628 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30630 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30632 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30634 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30636 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30637 change internal state upon failure.
30639 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30641 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30642 * malloc/memusage.c (mmap): Likewise.
30643 (mmap64, mremap): Likewise. Adjust name in comment.
30645 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30647 * libio/fileops.c: Fix typos in comments.
30648 * libio/oldfileops.c: Likewise.
30649 * libio/wfileops.c: Likewise.
30651 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30654 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30655 (tst-malloc-usable-ENV): Set environment for test case.
30656 * malloc/hooks.c (malloc_check_get_size): New function to get
30658 * malloc/malloc.c (musable): Use malloc_check_get_size.
30659 * malloc/tst-malloc-usable.c: New test case.
30661 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30663 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30665 2012-09-05 Allan McRae <allan@archlinux.org>
30668 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30669 determine header location.
30670 * configure: Regenerated.
30672 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30674 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30676 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30677 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30679 (test): Regenerate.
30681 2012-09-04 David S. Miller <davem@davemloft.net>
30683 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30684 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30685 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30687 2012-09-04 Florian Weimer <fweimer@redhat.com>
30689 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30692 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30694 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30697 * libio/iogetdelim.c: Include <limits.h>.
30698 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30699 + len + 1 would overflow.
30701 2012-09-03 Andreas Jaeger <aj@suse.de>
30703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30704 * sysdeps/i386/fpu/libm-test-ulps: Update.
30706 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30708 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30709 Add s_sinf-sse2, s_conf-sse2.
30711 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30712 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30713 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30714 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30716 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30717 for using routine as __sinf_ia32.
30718 Use macro for function declaration and weak_alias.
30719 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30720 for using routine as __cosf_ia32.
30721 Use macro for function declaration and weak_alias.
30723 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30724 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30726 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30727 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30730 * math/libm-test.inc (cos_test): Add more test cases.
30731 (sin_test): Likewise.
30732 (sincos_test): Likewise.
30734 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30736 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30737 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30739 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30741 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30744 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30745 first element of the GOT.
30746 (elf_machine_load_address): Return the difference between
30747 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30749 2012-09-01 Allan McRae <allan@archlinux.org>
30752 * configure.in (AWK): Require gawk version 3.0 or later.
30753 * configure: Regenerated.
30755 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30757 * sysdeps/unix/sysv/linux/kernel-features.h
30758 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30759 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30760 [__NR_clock_getres]: Make code unconditional.
30761 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30762 (clock_getcpuclockid): Remove code left unreachable by removal of
30764 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30765 code unconditional.
30766 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30767 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30768 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30769 Make code unconditional.
30770 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30771 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30772 * sysdeps/unix/sysv/linux/clock_settime.c
30773 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30775 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30776 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30778 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30781 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30782 scripts/test-installation.pl.
30784 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30785 and $ld_so_version if it is set.
30787 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30790 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30791 failure if reading from procfs failed.
30792 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30794 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30796 * sysdeps/unix/sysv/linux/kernel-features.h
30797 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30798 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30799 Remove conditional code.
30800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30801 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30802 Remove conditional code.
30803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30804 * sysdeps/unix/sysv/linux/i386/fxstat.c
30805 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30807 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30808 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30810 * sysdeps/unix/sysv/linux/i386/lxstat.c
30811 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30813 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30814 Remove conditional code.
30815 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30816 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30817 Remove conditional code.
30818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30819 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30820 <kernel-features.h>.
30821 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30823 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30824 Remove conditional code.
30825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30826 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30827 Remove conditional.
30829 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30832 * NEWS: Add fixed bug number.
30834 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30837 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30838 underflowing exponent in case of negative sign.
30839 * stdlib/tst-strtod-round-data: Add more tests.
30840 * stdlib/tst-strtod-round.c (tests): Regenerated.
30843 * stdlib/strtod_l.c (NDIG): Remove.
30844 (HEXNDIG): Likewise.
30845 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30846 smallest representable value.
30847 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30848 lie within an exact representation of 1/2 ulp of the result.
30849 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30851 (TENS_P9_IDX): Define unconditionally.
30852 (TENS_P9_SIZE): Likewise.
30853 (TENS_P10_IDX): Likewise.
30854 (TENS_P10_SIZE): Likewise.
30855 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30856 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30857 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30858 entries for 10^2^13 and 10^2^14.
30859 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30860 (TENS_P13_IDX): Define.
30861 (TENS_P13_SIZE): Likewise.
30862 (TENS_P14_IDX): Likewise.
30863 (TENS_P14_SIZE): Likewise.
30864 (_fpioconst_pow10): Change array size to
30865 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30867 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30868 1024]: Add entries for 10^2^13 and 10^2^14.
30869 [LAST_POW10 > _LAST_POW10]: Remove #error.
30870 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30871 (_fpioconst_pow10): Change array size to
30872 FPIOCONST_POW10_ARRAY_SIZE.
30873 * stdlib/gen-fpioconst.c: New file.
30874 * stdlib/gen-tst-strtod-round.c: Likewise.
30875 * stdlib/tst-strtod-round-data: Likewise.
30876 * stdlib/tst-strtod-round.c: Likewise.
30877 * stdlib/Makefile (tests): Add tst-strtod-round.
30880 * stdlib/strtod_l.c: Include <stdint.h>.
30881 (NDEBUG): Do not define.
30882 (round_and_return): Change EXPONENT parameter to type intmax_t.
30883 Rearrange calculations to avoid internal overflow possibilities.
30884 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30885 Rearrange calculations to avoid internal overflow possibilities.
30886 Assert that number fits inside MPNSIZE limbs.
30887 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30888 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30889 calculations and add assertions to avoid internal overflow
30890 possibilities. Add casts to avoid signed/unsigned operations.
30891 * stdlib/tst-strtod-overflow.c: New file.
30892 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30894 2012-08-25 Marek Polacek <polacek@redhat.com>
30896 * time/time.h: Fix some typos in comments.
30898 2012-08-23 Roland McGrath <roland@hack.frob.com>
30900 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30901 * posix/tst-rfc3484-2.c: Likewise.
30902 * posix/tst-rfc3484-3.c: Likewise.
30904 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30906 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30907 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30909 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30911 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30912 #include of fxstatat64.c.
30914 2012-08-22 Roland McGrath <roland@hack.frob.com>
30916 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30917 * shadow/getspent_r.c: Likewise.
30918 * shadow/getspnam.c: Likewise.
30919 * shadow/getspnam_r.c: Likewise.
30920 * gshadow/getsgent.c: Likewise.
30921 * gshadow/getsgent_r.c: Likewise.
30922 * gshadow/getsgnam.c: Likewise.
30923 * gshadow/getsgnam_r.c: Likewise.
30924 * inet/getnetbyad.c: Likewise.
30925 * inet/getnetbyad_r.c: Likewise.
30926 * inet/getnetbynm.c: Likewise.
30927 * inet/getnetbynm_r.c: Likewise.
30928 * inet/getnetent.c: Likewise.
30929 * inet/getnetent_r.c: Likewise.
30930 * inet/getproto.c: Likewise.
30931 * inet/getproto_r.c: Likewise.
30932 * inet/getprtent.c: Likewise.
30933 * inet/getprtent_r.c: Likewise.
30934 * inet/getprtname.c: Likewise.
30935 * inet/getprtname_r.c: Likewise.
30936 * inet/getrpcbyname.c: Likewise.
30937 * inet/getrpcbyname_r.c: Likewise.
30938 * inet/getrpcbynumber.c: Likewise.
30939 * inet/getrpcbynumber_r.c: Likewise.
30940 * inet/getrpcent.c: Likewise.
30941 * inet/getrpcent_r.c: Likewise.
30942 * inet/getaliasent.c: Likewise.
30943 * inet/getaliasent_r.c: Likewise.
30944 * inet/getaliasname.c: Likewise.
30945 * inet/getaliasname_r.c: Likewise.
30946 * nscd/getgrgid_r.c: Likewise.
30947 * nscd/getgrnam_r.c: Likewise.
30948 * nscd/gethstbyad_r.c: Likewise.
30949 * nscd/gethstbynm3_r.c: Likewise.
30950 * nscd/getpwnam_r.c: Likewise.
30951 * nscd/getpwuid_r.c: Likewise.
30952 * nscd/getsrvbynm_r.c: Likewise.
30953 * nscd/getsrvbypt_r.c: Likewise.
30954 * nscd/gai.c: Likewise.
30956 * configure.in (build_nscd): New substituted variable, set
30957 by --disable-build-nscd and defaults to $use_nscd.
30958 * configure: Regenerated.
30959 * config.make.in (build-nscd): New substituted variable.
30960 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30961 Change conditional to require [$(build-nscd) = yes] as well.
30962 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30965 * configure.in (use_nscd): New substituted variable, set by
30966 --disable-nscd. If enabled, define USE_NSCD.
30967 * configure: Regenerated.
30968 * config.h.in: Add USE_NSCD.
30969 * config.make.in (use-nscd): New substituted variable.
30970 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30971 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30972 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30973 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30974 (CFLAGS-getgrnam_r.c): Likewise.
30975 (CFLAGS-initgroups.c): Likewise.
30976 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30977 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30979 * inet/getnetgrent_r.c
30980 (nscd_setnetgrent): New function, broken out of ...
30981 (setnetgrent): ... here. Call it.
30982 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30983 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30984 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30985 * nscd/Makefile (routines, aux): Move definitions after include of
30986 Makeconfig. Conditionalize on [$(use-nscd) != no].
30987 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30988 Conditionalize on [USE_NSCD].
30989 (is_nscd, nscd_init_cb): Likewise.
30990 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30991 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30992 * nss/nss_db/db-init.c: Likewise.
30993 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30995 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30996 (make_request): Use it.
30997 (cache_valid_p): New function.
30998 (__check_pf): Use it.
30999 * NEWS: Add item for --disable-nscd.
31001 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31003 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31004 to support sed >= 4.2.1-20-ga9bf076.
31005 * configure: Regenerated.
31007 2012-08-22 Roland McGrath <roland@hack.frob.com>
31009 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31010 Conditionalize whole body on [IREL].
31012 2012-08-22 Jeff Law <law@redhat.com>
31015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31016 if the family is PF_UNSPEC.
31018 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31020 * Makerules (lib-version): Rename from V.
31021 (install-lib-nosubdir): Change V to lib-version.
31023 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31026 * powerpc32/power6/wcschr.c: New file.
31027 * powerpc32/power6/wcscpy.c: New file.
31028 * powerpc32/power6/wcsrchr.c: New file.
31029 * powerpc64/power6/wcschr.c: New file.
31030 * powerpc64/power6/wcscpy.c: New file.
31031 * powerpc64/power6/wcsrchr.c: New file.
31033 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31035 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31036 (two_way_short_needle): Use it.
31037 * string/strstr.c (AVAILABLE1_USES_J): Define.
31038 * string/strcasestr.c: Likewise.
31040 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31042 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31045 * NEWS: Add an entry.
31046 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31047 define their defaults.
31048 (two_way_short_needle): Detect end-of-string on-the-fly.
31049 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31050 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31051 * string/bug-strcasestr1.c: New test.
31052 * string/Makefile: Run it.
31054 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31057 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31058 the first character.
31060 2012-08-21 Roland McGrath <roland@hack.frob.com>
31062 * csu/elf-init.c (__libc_csu_irel): Function removed.
31063 * csu/libc-start.c (apply_irel): New function.
31064 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31066 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31068 * sysdeps/unix/sysv/linux/kernel-features.h
31069 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31070 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31071 <kernel-features.h>.
31072 [__NR_fadvise64_64]: Make code unconditional.
31073 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31074 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31075 !__NR_fadvise64_64)]: Likewise.
31076 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31077 !__NR_fadvise64_64))]: Likewise.
31078 [__NR_fadvise64]: Make code unconditional.
31079 [!__NR_fadvise64]: Remove conditional code.
31080 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31081 <kernel-features.h>.
31082 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31084 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31087 not include <kernel-features.h>.
31088 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31090 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31092 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31093 include <kernel-features.h>.
31094 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31096 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31099 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31101 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31102 slight instruction rearrangements per scrollpipe analysis.
31103 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31105 2012-08-20 Roland McGrath <roland@hack.frob.com>
31107 * manual/syslog.texi (syslog; vsyslog, closelog):
31108 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31109 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31111 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31112 DSOCAPS to match condition on defining it.
31114 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31116 * sysdeps/unix/sysv/linux/kernel-features.h
31117 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31119 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31120 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31122 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31123 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31125 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31126 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31128 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31129 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31131 * sysdeps/unix/sysv/linux/kernel-features.h
31132 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31133 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31135 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31136 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31137 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31138 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31139 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31140 Make code unconditional.
31141 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31142 (__mmap64) [!__NR_mmap2]: Likewise.
31143 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31144 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31145 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31146 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31147 [__NR_mmap2]: Make code unconditional.
31148 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31149 (__mmap64) [!__NR_mmap2]: Likewise.
31151 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31153 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31155 2012-08-18 Andreas Jaeger <aj@suse.de>
31157 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31159 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31161 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31162 * include/unistd.h (__have_sock_cloexec): Likewise.
31163 (__have_pipe2): Likewise.
31164 (__have_dup3): Likewise.
31166 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31169 * include/unistd.h (__have_pipe2): Change define into an extern int.
31170 (__have_dup3): Likewise.
31171 * socket/have_sock_cloexec.c: Include fcntl.h.
31172 (__have_pipe2): New variable.
31173 (__have_dup3): Likewise.
31175 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31177 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31179 2012-08-17 Marek Polacek <polacek@redhat.com>
31181 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31182 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31184 2012-08-17 Roland McGrath <roland@hack.frob.com>
31186 * configure.in: Add AC_SUBST for sysheaders.
31187 * configure: Regenerated.
31188 * config.make.in (sysheaders): New substituted variable.
31190 * sysdeps/unix/mkfifo.c: Moved ...
31191 * sysdeps/posix/mkfifo.c: ... here.
31192 * sysdeps/unix/mkfifoat.c: Moved ...
31193 * sysdeps/posix/mkfifoat.c: ... here.
31195 * sysdeps/unix/utime.c: Moved ...
31196 * sysdeps/posix/utime.c: ... here.
31198 * sysdeps/unix/time.c: Moved ...
31199 * sysdeps/posix/time.c: ... here.
31200 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31201 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31203 * sysdeps/unix/nice.c: Moved ...
31204 * sysdeps/posix/nice.c: ... here.
31206 * sysdeps/unix/alarm.c: Moved ...
31207 * sysdeps/posix/alarm.c: ... here.
31209 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31211 2012-08-17 Jeff Law <law@redhat.com>
31213 * intl/Makefile (codeset_mo): New variable.
31214 ($(codeset_mo)): New target.
31215 (tst-codeset.out): Depend on that. Remove explicit rule.
31216 (tst-gettext3.out, tst-gettext5.out): Likewise.
31217 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31218 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31219 * intl/tst-codeset.sh: Remove.
31220 * intl/tst-gettext3.sh: Likewise.
31221 * intl/tst-gettext5.sh: Likewise.
31223 2012-08-17 Roland McGrath <roland@hack.frob.com>
31225 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31226 * sysdeps/unix/syscalls.list: ... here.
31228 * sysdeps/posix/getaddrinfo.c
31229 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31230 (gaiconf_init, gaiconf_reload): Use them.
31231 [!_STATBUF_ST_NSEC]
31232 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31233 Define using time_t rather than struct timespec.
31235 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31236 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31238 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31240 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31241 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31244 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31245 __libc_cleanup_push argument.
31247 * bits/param.h: New file.
31248 * misc/sys/param.h: New file.
31249 * include/sys/param.h: New file.
31250 * misc/Makefile (headers): Add bits/param.h.
31251 * sysdeps/generic/sys/param.h: File removed.
31252 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31253 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31254 * sysdeps/mach/hurd/bits/param.h: New file.
31255 * sysdeps/mach/hurd/sys/param.h: File removed.
31257 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31260 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31262 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31263 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31266 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31267 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31268 rather than -D_IO_MTSAFE_IO conditionally.
31269 * stdio-common/Makefile (CPPFLAGS): Likewise.
31270 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31271 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31272 Use $(libio-mtsafe).
31273 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31274 of -D_IO_MTSAFE_IO.
31275 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31276 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31277 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31278 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31279 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31280 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31281 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31282 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31283 (CFLAGS-fread_u_chk.c): Likewise.
31284 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31285 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31286 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31287 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31288 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31289 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31290 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31291 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31292 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31294 * libio/Makefile: Test [$(libc-reentrant) = yes]
31295 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31298 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31299 * sysdeps/pthread/configure: File removed.
31300 * sysdeps/pthread/Makeconfig: New file.
31301 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31302 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31304 2012-08-16 Gary Benson <gbenson@redhat.com>
31306 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31307 unmapping the first object in a namespace.
31309 2012-08-16 Roland McGrath <roland@hack.frob.com>
31311 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31312 (__internal_setnetgrent): ... this. Add internal_function to
31313 definition. Add libc_hidden_def.
31314 (setnetgrent): Update caller.
31315 (internal_endnetgrent): Renamed to ...
31316 (__internal_endnetgrent): ... this. Add internal_function to
31317 definition. Add libc_hidden_def.
31318 (endnetgrent): Update caller.
31319 (internal_getnetgrent_r): Renamed to ...
31320 (__internal_getnetgrent_r): ... this. Add internal_function to
31321 definition. Add libc_hidden_def.
31322 (__getnetgrent_r): Update caller.
31323 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31325 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31327 * stdlib/longlong.h: Update from GCC.
31329 2012-08-16 Roland McGrath <roland@hack.frob.com>
31331 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31332 on _QL, which is set by umul_ppmm but never used.
31333 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31334 variables, which are set by GMP macros but never used.
31335 * stdio-common/_itowa.c (_itowa): Likewise.
31336 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31337 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31339 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31341 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31342 struct La_sh_regs is not constant.
31343 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31344 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31345 and struct La_sparc64_regs are not constant.
31347 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31349 * sysdeps/unix/sysv/linux/kernel-features.h
31350 (__ASSUME_POSIX_TIMERS): Remove.
31351 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31353 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31354 Make code unconditional.
31355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31356 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31357 Make code unconditional.
31358 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31359 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31360 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31361 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31362 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31363 Make code unconditional.
31364 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31365 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31366 (__libc_missing_posix_timers): Remove.
31368 2012-08-15 Roland McGrath <roland@hack.frob.com>
31370 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31371 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31373 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31375 * elf/dl-sym.c: Include <stdlib.h>.
31377 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31378 constants, which avoids warnings in 32-bit builds.
31380 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31381 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31383 * misc/lseek.c: File moved to ...
31384 * io/lseek.c: ... here.
31386 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31388 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31389 shifting LEN more than 31 bits at once.
31391 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31394 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31395 segmentation fault for a case of two empty input strings.
31396 * string/test-strncasecmp.c (check1): Renamed to...
31397 (bz12205): ...this.
31398 (bz14195): Add new testcase for two empty input strings and N > 0.
31399 (test_main): Call new testcase, adapt for renamed function.
31401 2012-08-15 Andreas Jaeger <aj@suse.de>
31404 * crypt/md5test2.c: New test, based on test supplied by Serge
31405 Belyshev <belyshev@depni.sinp.msu.ru>.
31406 * crypt/Makefile (xtests): Add md5test-giant..
31407 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31409 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31412 * crypt/md5.c (md5_process_block): Don't assume the buffer
31413 length is less than 2**32.
31414 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31415 length is less than 2**64.
31417 2012-08-15 Roland McGrath <roland@hack.frob.com>
31419 * string/str-two-way.h: Include <sys/param.h>.
31420 (MAX): Macro removed.
31422 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31423 Move #define and #undef of memmove to just before and after
31424 including <string.h>.
31426 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31427 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31428 and after including <string.h>. Move declarations of
31429 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31430 to before #include "string/memmove.c".
31432 * include/dirent.h: Declare __getdirentries.
31434 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31435 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31437 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31439 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31440 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31441 * sysdeps/i386/configure: Regenerated.
31442 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31443 STABS_CURRENT_FILE, and STABS_FUN.
31444 (END): Remove call to STABS_FUN_END.
31445 (STABS_CURRENT_FILE1): Delete.
31446 (STABS_CURRENT_FILE): Likewise.
31447 (STABS_FUN): Likewise.
31448 (STABS_FUN_END): Likewise.
31449 (STABS_FUN2): Likewise.
31450 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31451 * sysdeps/x86_64/configure: Regenerated.
31453 2012-08-14 Roland McGrath <roland@hack.frob.com>
31455 * elf/dl-open.c: Include <atomic.h>.
31456 * elf/dl-lookup.c: Likewise.
31458 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31460 * sysdeps/unix/sysv/linux/kernel-features.h
31461 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31462 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31464 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31466 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31467 condition on __ASSUME_CLONE_THREAD_FLAGS.
31469 2012-08-14 Andreas Jaeger <aj@suse.de>
31471 * sysdeps/i386/fpu/libm-test-ulps: Update.
31473 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31475 * include/atomic.h (atomic_exchange_and_add): Split into ...
31476 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31479 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31483 2012-08-13 Jeff Law <law@redhat.com>
31485 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31486 null byte in the output string.
31488 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31490 * sysdeps/unix/sysv/linux/kernel-features.h
31491 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31492 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31493 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31494 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31495 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31496 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31497 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31499 2012-08-09 Jeff Law <law@redhat.com>
31502 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31503 When avoid_arena is set, don't retry in the that arena. Pick the
31504 next one, whatever it might be.
31505 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31506 (arena_lock): Pass in new parameter to arena_get2.
31507 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31509 (__libc_malloc): Unify retrying after main arena failure with
31510 __libc_memalign version.
31511 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31513 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31516 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31517 to __redirect_strstr.
31518 (__strstr_sse42): Use typeof __redirect_strstr.
31519 (__strstr_ia32): Likewise.
31520 (__libc_strstr): New prototype.
31521 (strstr): Renamed to ...
31522 (__libc_strstr): This.
31523 (strstr): New strong alias of __libc_strstr.
31524 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31525 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31528 (__libc_time): New prototype.
31529 (time_ifunc): Replace time with __libc_time.
31530 (time): New strong alias and hidden definition of __libc_time.
31531 (__GI_time): Remove strong alias.
31532 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31533 Include <stddef.h>.
31534 (memmove): Redefined to __redirect_memmove.
31535 (__memmove_sse2): Use typeof __redirect_memmove.
31536 (__memmove_ssse3): Likewise.
31537 (__memmove_ssse3_back): Likewise.
31538 (__libc_memmove): New prototype.
31539 (memmove): Renamed to ...
31540 (__libc_memmove): This.
31541 (memmove): New strong alias of __libc_memmove.
31543 2012-08-08 Mark Salter <msalter@redhat.com>
31546 (R_MN10300_TLS_GD): Define.
31547 (R_MN10300_TLS_LD): Likewise.
31548 (R_MN10300_TLS_LDO): Likewise.
31549 (R_MN10300_TLS_GOTIE): Likewise.
31550 (R_MN10300_TLS_IE): Likewise.
31551 (R_MN10300_TLS_LE): Likewise.
31552 (R_MN10300_TLS_DTPMOD): Likewise.
31553 (R_MN10300_TLS_DTPOFF): Likewise.
31554 (R_MN10300_TLS_TPOFF): Likewise.
31555 (R_MN10300_SYM_DIFF): Likewise.
31556 (R_MN10300_ALIGN): Likewise.
31557 (R_MN10300_NUM): Update.
31559 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31561 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31564 2012-08-08 Roland McGrath <roland@hack.frob.com>
31566 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31568 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31569 sysdeps/unix -> sysdeps/posix move.
31570 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31572 2012-08-07 Allan McRae <allan@archlinux.org>
31575 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31576 (SUNOS_CPP): Likewise.
31577 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31579 (open_input): Call CPP using execvp.
31581 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31583 * sysdeps/unix/sysv/linux/kernel-features.h
31584 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31585 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31586 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31587 (__ASSUME_WAITID_SYSCALL): Likewise.
31588 * sysdeps/unix/sysv/linux/dl-execstack.c
31589 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31590 code unconditional.
31591 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31593 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31594 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31595 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31597 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31599 [__ASSUME_WAITID_SYSCALL]: Likewise.
31600 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31602 2012-08-07 Roland McGrath <roland@hack.frob.com>
31604 * sysdeps/unix/closedir.c: Renamed to ...
31605 * sysdeps/posix/closedir.c: ... here.
31606 * sysdeps/unix/dirfd.c: Renamed to ...
31607 * sysdeps/posix/dirfd.c: ... here.
31608 * sysdeps/unix/dirstream.h: Renamed to ...
31609 * sysdeps/posix/dirstream.h: ... here.
31610 * sysdeps/unix/fdopendir.c: Renamed to ...
31611 * sysdeps/posix/fdopendir.c: ... here.
31612 * sysdeps/unix/opendir.c: Renamed to ...
31613 * sysdeps/posix/opendir.c: ... here.
31614 * sysdeps/unix/readdir.c: Renamed to ...
31615 * sysdeps/posix/readdir.c: ... here.
31616 * sysdeps/unix/readdir_r.c: Renamed to ...
31617 * sysdeps/posix/readdir_r.c: ... here.
31618 * sysdeps/unix/rewinddir.c: Renamed to ...
31619 * sysdeps/posix/rewinddir.c: ... here.
31620 * sysdeps/unix/seekdir.c: Renamed to ...
31621 * sysdeps/posix/seekdir.c: ... here.
31622 * sysdeps/unix/telldir.c: Renamed to ...
31623 * sysdeps/posix/telldir.c: ... here.
31624 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31625 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31626 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31627 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31629 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31630 * bits/fcntl.h: ... here.
31632 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31634 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31635 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31636 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31637 (struct flock): Move l_start, l_len to the beginning.
31638 Use __pid_t for l_pid.
31639 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31640 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31641 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31642 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31643 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31644 [__USE_LARGEFILE64] (struct flock64): New type.
31645 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31647 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31648 * bits/dirent.h: ... here.
31650 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31651 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31653 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31655 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31656 Change from 2.6.0 to 2.6.16.
31657 * sysdeps/unix/sysv/linux/configure: Regenerated.
31658 * sysdeps/unix/sysv/linux/kernel-features.h
31659 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31660 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31662 (__ASSUME_UTIMES): Likewise.
31663 (__ASSUME_CLONE_STOPPED): Remove.
31664 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31665 architectures, not kernel version.
31666 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31667 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31668 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31669 (__ASSUME_WAITID_SYSCALL): Likewise.
31670 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31671 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31672 * README: State 2.6.16 as minimum Linux kernel version. Do not
31673 refer to older versions.
31675 2012-08-06 Roland McGrath <roland@hack.frob.com>
31677 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31678 Define alphasort64 as an alias.
31679 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31680 Define versionsort64 as an alias.
31681 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31682 Define scandir64 as an alias.
31683 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31684 Define scandirat64 as an alias.
31685 * dirent/alphasort64.c (alphasort64):
31686 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31687 * dirent/versionsort64.c: Likewise.
31688 * dirent/scandir64.c: Likewise.
31689 * dirent/scandirat64.c: Likewise.
31690 * sysdeps/wordsize-64/alphasort.c: File removed.
31691 * sysdeps/wordsize-64/alphasort64.c: File removed.
31692 * sysdeps/wordsize-64/scandir.c: File removed.
31693 * sysdeps/wordsize-64/scandir64.c: File removed.
31694 * sysdeps/wordsize-64/scandirat.c: File removed.
31695 * sysdeps/wordsize-64/scandirat64.c: File removed.
31696 * sysdeps/wordsize-64/versionsort.c: File removed.
31697 * sysdeps/wordsize-64/versionsort64.c: File removed.
31698 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31699 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31700 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31701 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31702 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31703 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31704 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31705 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31707 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31709 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31711 [defined __arch64__ || defined __sparcv9]
31712 (__INO_T_MATCHES_INO64_T): New macro.
31713 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31714 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31715 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31716 * sysdeps/unix/sysv/linux/bits/dirent.h
31717 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31718 (_DIRENT_MATCHES_DIRENT64): New macro.
31720 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31721 Define lockf64 as an alias.
31722 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31723 Define fseeko64 as an alias.
31724 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31725 Define ftello64 as an alias.
31726 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31727 Define _IO_fgetpos64 and fgetpos64 as aliases.
31728 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31729 Define _IO_fsetpos64 and fsetpos64 as aliases.
31730 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31731 Conditionalize body on this.
31732 * libio/fseeko64.c: Likewise.
31733 * libio/ftello64.c: Likewise.
31734 * libio/iofgetpos64.c: Likewise.
31735 * libio/iofsetpos64.c: Likewise.
31736 * sysdeps/wordsize-64/lockf.c: File removed.
31737 * sysdeps/wordsize-64/lockf64.c: File removed.
31738 * sysdeps/wordsize-64/fseeko.c: File removed.
31739 * sysdeps/wordsize-64/fseeko64.c: File removed.
31740 * sysdeps/wordsize-64/ftello.c: File removed.
31741 * sysdeps/wordsize-64/ftello64.c: File removed.
31742 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31743 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31744 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31745 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31746 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31747 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31748 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31749 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31750 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31751 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31752 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31753 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31754 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31755 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31757 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31759 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31761 [defined __arch64__ || defined __sparcv9]
31762 (__OFF_T_MATCHES_OFF64_T): New macro.
31763 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31764 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31766 (__OFF_T_MATCHES_OFF64_T): New macro.
31768 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31770 * stdlib/secure-getenv.c (__secure_getenv): Replace
31771 GLIBC_2_16 with GLIBC_2_17.
31773 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31775 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31776 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31778 2012-08-03 David S. Miller <davem@davemloft.net>
31780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31782 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31784 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31786 (__ASSUME_CORRECT_SI_PID): Likewise.
31787 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31788 (__ASSUME_TMPFS_NAME): Likewise.
31789 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31790 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31791 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31792 (HAVE_AUX_SECURE): Make definition unconditional.
31793 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31794 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31796 2012-08-03 Roland McGrath <roland@hack.frob.com>
31798 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31799 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31800 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31801 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31802 __eloop_threshold instead of SYMLOOP_MAX.
31804 * sysdeps/generic/eloop-threshold.h: New file.
31805 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31807 * elf/chroot_canon.c (chroot_canon): Likewise.
31809 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31813 Change to 2.6.0 everywhere.
31814 * sysdeps/unix/sysv/linux/configure: Regenerated.
31815 * sysdeps/unix/sysv/linux/kernel-features.h
31816 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31817 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31819 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31820 (__ASSUME_FUTEX_REQUEUE): Remove.
31821 (__ASSUME_STATFS64): Define unconditionally.
31822 (__ASSUME_AT_SECURE): Likewise.
31823 (__ASSUME_CORRECT_SI_PID): Likewise.
31824 (__ASSUME_TGKILL): Define without depending on kernel version for
31826 (__ASSUME_UTIMES): Likewise.
31827 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31829 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31830 (__ASSUME_TMPFS_NAME): Likewise.
31831 * README: Update reference to Linux kernel versions.
31833 2012-08-02 Marek Polacek <polacek@redhat.com>
31836 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31837 libc_cv_asm_type_prefix with %.
31838 * configure: Regenerated.
31839 * include/libc-symbols.h: Remove comment about
31840 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31841 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31842 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31843 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31844 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31845 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31846 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31847 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31848 * elf/tst-unique2mod1.c: Likewise.
31849 * elf/tst-unique1mod2.c: Likewise.
31850 * elf/tst-unique1mod1.c: Likewise.
31851 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31852 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31853 Replace ASM_TYPE_DIRECTIVE with .type.
31854 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31855 * sysdeps/i386/sysdep.h: Likewise.
31856 * sysdeps/x86_64/sysdep.h: Likewise.
31857 * sysdeps/sh/sysdep.h: Likewise.
31858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31859 Do not define ASM_TYPE_DIRECTIVE.
31860 * sysdeps/powerpc/sysdep.h: Likewise.
31861 * sysdeps/powerpc/powerpc32/sysdep.h:
31862 Replace ASM_TYPE_DIRECTIVE with .type.
31863 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31864 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31865 * sysdeps/i386/fpu/e_powf.S: Likewise.
31866 * sysdeps/i386/fpu/e_expl.S: Likewise.
31867 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31868 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31869 * sysdeps/i386/fpu/e_pow.S: Likewise.
31870 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31871 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31872 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31873 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31874 * sysdeps/i386/fpu/e_log2.S: Likewise.
31875 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31876 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31877 * sysdeps/i386/fpu/e_powl.S: Likewise.
31878 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31879 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31880 * sysdeps/i386/fpu/e_logl.S: Likewise.
31881 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31882 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31883 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31884 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31885 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31886 * sysdeps/i386/fpu/e_log.S: Likewise.
31887 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31888 * sysdeps/i386/fpu/e_logf.S: Likewise.
31889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31890 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31891 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31892 * sysdeps/i386/fpu/e_log10.S: Likewise.
31893 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31894 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31895 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31896 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31897 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31898 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31899 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31900 * sysdeps/i386/i686/strtok.S: Likewise.
31901 * sysdeps/i386/i386-mcount.S: Likewise.
31902 * sysdeps/i386/strtok.S: Likewise.
31903 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31904 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31905 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31906 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31907 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31908 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31909 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31910 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31911 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31912 * sysdeps/x86_64/_mcount.S: Likewise.
31913 * sysdeps/x86_64/strtok.S: Likewise.
31914 * sysdeps/sh/_mcount.S: Likewise.
31916 2012-08-01 Roland McGrath <roland@hack.frob.com>
31918 * libio/iofopen.c: Include <fcntl.h>.
31919 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31920 (_IO_fopen64, fopen64): Define as aliases.
31921 * libio/iofopen64.c: Include <fcntl.h>.
31922 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31923 Conditionalize body on this.
31924 * sysdeps/wordsize-64/iofopen.c: File removed.
31925 * sysdeps/wordsize-64/iofopen64.c: File removed.
31927 2012-08-01 Marek Polacek <polacek@redhat.com>
31929 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31930 Use dlfcn directly instead of a variable.
31931 (binfmt-subdir): Do not define.
31934 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31936 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31937 Remove all definitions.
31938 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31939 <kernel-features.h>.
31940 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31941 (miss_F_GETOWN_EX): Remove all definitions.
31942 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31944 [!__ASSUME_FCNTL64]: Remove conditional code.
31945 [__ASSUME_FCNTL64]: Make code unconditional.
31946 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31947 <kernel-features.h>.
31948 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31949 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31950 (lockf64) [__NR_fcntl64]: Make code unconditional.
31951 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31953 * sysdeps/unix/sysv/linux/kernel-features.h
31954 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31955 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31956 Make code unconditional.
31957 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31958 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31960 [__NR_vfork]: Make code unconditional.
31961 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31962 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31964 [__NR_vfork]: Make code unconditional.
31965 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31966 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31968 2012-08-01 Roland McGrath <roland@hack.frob.com>
31970 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31971 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31973 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31974 Define mkstemp64 as an alias.
31975 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31976 Define mkstemps64 as an alias.
31977 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31978 Define mkostemp64 as an alias.
31979 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31980 Define mkostemps64 as an alias.
31981 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31982 Conditionalize body on this.
31983 * misc/mkostemp64.c: Likewise.
31984 * misc/mkostemps64.c: Likewise.
31985 * misc/mkstemps64.c: Likewise.
31986 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31987 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31988 * sysdeps/wordsize-64/mkostemp.c: File removed.
31989 * sysdeps/wordsize-64/mkstemp.c: File removed.
31990 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31991 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31992 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31993 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31996 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31997 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31998 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31999 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32001 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32002 compat_symbol macros from <shlib-compat.h> rather than the underlying
32003 default_symbol_version and symbol_version macros, so that DEFAULT
32004 lines in shlib-versions are respected.
32005 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32007 2012-08-01 Florian Weimer <fweimer@redhat.com>
32009 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32010 Declare with warn_unused_result.
32011 (setgid, setregid, setegid, setresgid): Likewise.
32012 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32014 * WUR-REPORT: Remove set*id functions.
32016 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32018 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32020 2012-07-31 Roland McGrath <roland@hack.frob.com>
32023 * include/sys/socket.h (__libc_accept, __libc_accept4):
32024 Add attribute_hidden.
32025 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32027 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32029 * inet/getnetgrent_r.c (setup): Likewise.
32031 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32033 2012-07-31 David S. Miller <davem@davemloft.net>
32035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32037 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32040 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32041 value between 1.0 and 2.0 and smaller part has absolute value less
32043 * math/s_clog10.c (__clog10): Likewise.
32044 * math/s_clog10f.c (__clog10f): Likewise.
32045 * math/s_clog10l.c (__clog10l): Likewise.
32046 * math/s_clogf.c (__clogf): Likewise.
32047 * math/s_clogl.c (__clogl): Likewise.
32048 * math/libm-test.inc (clog_test): Add more tests.
32049 (clog10_test): Likewise.
32050 * sysdeps/i386/fpu/libm-test-ulps: Update.
32051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32053 2012-07-31 Florian Weimer <fweimer@redhat.com>
32055 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32056 Exit with zero in case no suitable GID is found, and write a
32057 message to standard error.
32059 2012-07-30 Roland McGrath <roland@hack.frob.com>
32061 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32063 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32064 (MAXPATHLEN): Removed.
32065 (NOGROUP, NODEV): New macros.
32066 (setbit, clrbit, isset, isclr): New macros.
32067 (howmany, roundup, powerof2): New macros.
32068 (DEV_BSIZE): New macro.
32070 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32071 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32073 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32074 definition on [!__NO_LONG_DOUBLE_MATH].
32076 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32077 PTR_MANGLE and PTR_DEMANGLE.
32079 * socket/accept4.c (accept4): Rename to __libc_accept4.
32080 Define accept4 as a weak alias.
32082 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32083 on [_DIRENT_HAVE_D_TYPE].
32084 * io/ftw.c (ftw_dir): Likewise.
32086 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32088 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32090 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32091 Use the BSD numbers rather than the arbitrary ones we had.
32092 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32093 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32094 (SIGXCPU, SIGXFSZ): New macros.
32097 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32098 initializer on [_LIBC_REENTRANT].
32100 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32101 definitions inside [_POSIX_MAPPED_FILES].
32103 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32105 * dirent/opendir.c: Include <fcntl.h>.
32107 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32108 (__libc_getspecific): Likewise.
32109 (__libc_key_create): Likewise.
32111 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32112 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32113 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32114 (tmpfile64): Define as alias.
32115 * sysdeps/wordsize-64/tmpfile.c: File removed.
32116 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32117 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32118 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32120 * stdio-common/vfscanf.c: Include <stdbool.h>.
32121 * nss/makedb.c: Likewise.
32122 * stdio-common/_i18n_number.h: Likewise.
32123 * argp/argp-help.c: Likewise.
32124 * posix/wordexp.c: Likewise.
32125 * sysdeps/posix/spawni.c: Likewise.
32126 * nss/nss_files/files-initgroups.c: Likewise.
32127 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32128 * nss/nss_files/files-initgroups.c: Likewise.
32129 * nss/nss_db/db-netgrp.c: Likewise.
32130 * nss/nss_db/db-initgroups.c: Likewise.
32131 * io/fchmodat.c: Include <sys/stat.h>.
32133 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32134 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32136 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32139 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32140 Add multiple inclusion protection.
32142 2012-07-27 David S. Miller <davem@davemloft.net>
32144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32146 2012-07-27 Gary Benson <gbenson@redhat.com>
32149 * elf/rtld.c: Include <stap-probe.h>.
32150 (dl_main): Added static probes "init_start" and "init_complete".
32151 * elf/dl-load.c: Include <stap-probe.h>.
32152 (lose): Take new parameter "nsid".
32153 Added static probe "map_failed".
32154 (_dl_map_object_from_fd): Pass namespace id to lose.
32155 Added static probe "map_start".
32156 (open_verify): Pass namespace id to lose.
32157 * elf/dl-open.c: Include <stap-probe.h>.
32158 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32159 and "reloc_complete".
32160 * elf/dl-close.c: Include <stap-probe.h>.
32161 (_dl_close_worker): Added static probes "unmap_start" and
32163 * elf/rtld-debugger-interface.txt: New file documenting the above.
32165 2012-07-26 Roland McGrath <roland@hack.frob.com>
32167 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32168 rather than a string variable.
32169 * sunrpc/rpc_main.c (h_output): Likewise.
32170 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32172 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32174 * inet/check_native.c: New file.
32176 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32179 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32180 if larger part has absolute value 1.0.
32181 * math/s_clog10.c (__clog10): Likewise.
32182 * math/s_clog10f.c (__clog10f): Likewise.
32183 * math/s_clog10l.c (__clog10l): Likewise.
32184 * math/s_clogf.c (__clogf): Likewise.
32185 * math/s_clogl.c (__clogl): Likewise.
32186 * math/libm-test.inc (clog_test): Add more tests.
32187 (clog10_test): Likewise.
32188 * sysdeps/i386/fpu/libm-test-ulps: Update.
32189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32191 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32192 (pltexit): Likewise.
32193 (La_regs): Likewise.
32194 (La_retval): Likewise.
32195 (int_retval): Likewise.
32196 Update #error for removed macros to refer only to definitions in
32198 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32200 (pltexit): Likewise.
32201 (La_regs): Likewise.
32202 (La_retval): Likewise.
32203 (int_retval): Likewise.
32204 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32206 (pltexit): Likewise.
32207 (La_regs): Likewise.
32208 (La_retval): Likewise.
32209 (int_retval): Likewise.
32210 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32212 (pltexit): Likewise.
32213 (La_regs): Likewise.
32214 (La_retval): Likewise.
32215 (int_retval): Likewise.
32216 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32218 (pltexit): Likewise.
32219 (La_regs): Likewise.
32220 (La_retval): Likewise.
32221 (int_retval): Likewise.
32222 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32224 (pltexit): Likewise.
32225 (La_regs): Likewise.
32226 (La_retval): Likewise.
32227 (int_retval): Likewise.
32228 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32230 (pltexit): Likewise.
32231 (La_regs): Likewise.
32232 (La_retval): Likewise.
32233 (int_retval): Likewise.
32234 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32235 macro definitions in tst-audit.h.
32236 * sysdeps/i386/tst-audit.h: New file.
32237 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32238 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32239 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32240 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32241 * sysdeps/sh/tst-audit.h: Likewise.
32242 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32243 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32244 * sysdeps/x86_64/tst-audit.h: Likewise.
32246 2012-07-26 Andreas Jaeger <aj@suse.de>
32248 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32251 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32252 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32253 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32255 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32256 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32257 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32259 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32262 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32264 (si_call_addr, si_syscall, si_arch): Define new macro.
32265 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32267 (si_call_addr, si_syscall, si_arch): Define new marcro.
32268 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32270 (si_call_addr, si_syscall, si_arch): Define new macro.
32271 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32273 (si_call_addr, si_syscall, si_arch): Define new macro.
32275 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32278 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32279 Change to 2.4.21 where previously 2.4.1.
32280 * sysdeps/unix/sysv/linux/configure: Regenerated.
32281 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32282 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32283 Linux kernel version.
32284 (__ASSUME_STD_AUXV): Remove.
32285 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32287 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32288 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32289 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32290 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32291 (__ASSUME_NETLINK_SUPPORT): Likewise.
32292 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32293 (__no_netlink_support): Remove conditional definition.
32294 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32296 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32297 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32298 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32299 (if_nameindex_ioctl): Remove.
32300 (if_nameindex_netlink): Do not handle __no_netlink_support.
32301 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32303 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32304 Remove conditional code.
32305 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32307 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32309 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32310 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32311 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32313 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32314 [!__ASSUME_STD_AUXV]: Remove conditional code.
32315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32316 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32317 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32319 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32320 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32322 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32324 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32325 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32327 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32329 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32332 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32335 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32336 code unconditional.
32337 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32339 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32341 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32344 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32346 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32349 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32350 code unconditional.
32351 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32353 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32355 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32358 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32359 code unconditional.
32360 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32362 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32364 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32367 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32369 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32370 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32371 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32372 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32373 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32374 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32375 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32376 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32377 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32378 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32379 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32380 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32381 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32382 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32383 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32384 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32385 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32386 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32387 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32389 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32390 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32391 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32393 2012-07-25 Florian Weimer <fweimer@redhat.com>
32395 * Versions.def: Add GLIBC_2.17.
32396 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32397 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32398 Introduce __libc_secure_getenv.
32399 * stdlib/Versions (2.17): Add secure_getenv
32400 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32401 * stdlib/secure-getenv.c: Rename __secure_getenv to
32402 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32403 symbol __secure_getenv for GLIBC_2.0.
32404 * stdlib/tst-secure-getenv.c: New.
32405 * stdlib/Makefile (tests): Add testcase.
32406 * manual/startup.texi (Environment Access): Document
32408 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32409 __libc_secure_getenv.
32410 * inet/ruserpass.c (ruserpass): Likewise.
32411 * malloc/mtrace.c (mtrace): Likewise.
32412 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32413 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32414 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32415 * sysdeps/posix/tempname.c: Likewise. Evaluate
32416 HAVE_SECURE_GETENV.
32417 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32418 __secure_getenv to __libc_secure_getenv.
32419 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32426 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32432 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32434 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32435 (struct La_i86_retval): Likewise.
32436 (struct La_x86_64_regs): Likewise.
32437 (struct La_x86_64_retval): Likewise.
32438 (struct La_x32_regs): Likewise.
32439 (struct La_x32_retval): Likewise.
32440 (struct La_ppc32_regs): Likewise.
32441 (struct La_ppc32_retval): Likewise.
32442 (struct La_ppc64_regs): Likewise.
32443 (struct La_ppc64_retval): Likewise.
32444 (struct La_sh_regs): Likewise.
32445 (struct La_sh_retval): Likewise.
32446 (struct La_s390_32_regs): Likewise.
32447 (struct La_s390_32_retval): Likewise.
32448 (struct La_s390_64_regs): Likewise.
32449 (struct La_s390_64_retval): Likewise.
32450 (struct La_sparc32_regs): Likewise.
32451 (struct La_sparc32_retval): Likewise.
32452 (struct La_sparc64_regs): Likewise.
32453 (struct La_sparc64_retval): Likewise.
32454 (struct audit_ifaces): Remove architecture-specific pltenter and
32456 * sysdeps/i386/ldsodefs.h: New file.
32457 * sysdeps/powerpc/ldsodefs.h: Likewise.
32458 * sysdeps/s390/ldsodefs.h: Likewise.
32459 * sysdeps/sh/ldsodefs.h: Likewise.
32460 * sysdeps/sparc/ldsodefs.h: Likewise.
32461 * sysdeps/x86_64/ldsodefs.h: Likewise.
32463 2012-07-25 Marek Polacek <polacek@redhat.com>
32466 * math/libm-test.inc (yn_test): Add another test.
32467 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32468 to ERANGE when the result is +-Inf.
32469 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32470 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32471 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32472 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32474 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32476 * conform/data/time.h-data (NULL): Use macro-constant. Require
32478 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32480 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32482 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32484 * configure.in <sysdeps resolving>: Correct printing
32486 * configure: Regenerate.
32488 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32490 * math/w_ilogb.c: Include <limits.h>.
32491 * math/w_ilogbl.c: Likewise.
32493 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32495 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32496 va_copy. Document allowing for unavailable va_copy only as
32497 pre-C99 compatibility.
32498 * manual/string.texi (Copying and Concatenation): Use va_copy
32499 instead of __va_copy in concat example.
32501 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32503 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32504 (__sendto): Use create_address_port. Initialize APORT and deallocate
32507 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32508 with O_NOLINK passed to __file_name_lookup.
32510 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32511 with O_NOLINK passed to __file_name_lookup.
32513 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32514 negative N or less than NGIDS.
32516 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32517 type to string_t. Set ERANGE as errno and return it if NAME is not big
32518 enough. Use memcpy instead of strncpy.
32520 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32522 * elf/Makefile (check-data): Remove.
32523 (localplt.data): New vpath directive.
32524 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32525 instead of $(check-data).
32526 * scripts/data/localplt-generic.data: Move to ...
32527 * sysdeps/generic/localplt.data: ... here.
32528 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32529 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32530 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32533 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32536 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32539 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32542 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32545 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32549 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32551 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32552 PPC32 and PPC64 files.
32553 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32554 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32556 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32558 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32559 __makecontext_ret to ...
32560 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32561 ... here and call exit if uc_link is NULL. New file.
32562 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32563 __makecontext_ret.S.
32564 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32565 __makecontext_ret to ...
32566 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32567 ... here and call exit if uc_link is NULL. New file.
32568 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32569 __makecontext_ret.S.
32571 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32573 * elf/elf.h (R_390_IRELATIVE): New definition.
32574 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32575 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32576 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32577 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32578 (elf_machine_lazy_rel): Likewise.
32579 * sysdeps/s390/dl-irel.h: New file.
32580 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32581 * sysdeps/s390/s390-64/memset.S: New asm code.
32582 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32583 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32584 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32585 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32586 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32587 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32588 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32589 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32590 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32591 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32592 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32593 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32594 * sysdeps/s390/s390-32/memset.S: New asm code.
32595 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32597 2012-07-17 Marek Polacek <polacek@redhat.com>
32600 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32601 * sysdeps/s390/s390-64/configure.in: Likewise.
32602 * sysdeps/sparc/configure.in: Likewise.
32603 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32604 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32605 * sysdeps/i386/configure.in: Likewise.
32606 * sysdeps/x86_64/configure.in: Likewise.
32607 * sysdeps/sh/configure.in: Likewise.
32608 * sysdeps/s390/s390-32/configure: Regenerated.
32609 * sysdeps/s390/s390-64/configure: Likewise.
32610 * sysdeps/x86_64/configure: Likewise.
32611 * sysdeps/sh/configure: Likewise.
32612 * sysdeps/powerpc/powerpc64/configure: Likewise.
32613 * sysdeps/powerpc/powerpc32/configure: Likewise.
32614 * sysdeps/sparc/configure: Likwise.
32615 * sysdeps/i386/configure: Likewise.
32617 * elf/dl-open.c: Comment fixes.
32619 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32621 * Makefile [CXX] (check-data): Remove.
32622 [CXX] (c++-types.data): New vpath directive.
32623 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32624 vpath. Do not allow for C++ type data being missing.
32625 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32626 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32627 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32628 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32629 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32630 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32631 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32634 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32637 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32640 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32643 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32646 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32649 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32652 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32655 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32656 definitions to architecture-specific files.
32657 (TLS_IE): Likewise.
32658 (TLS_LD): Likewise.
32659 (TLS_GD): Likewise.
32660 * sysdeps/i386/tls-macros.h: New file.
32661 * sysdeps/powerpc/tls-macros.h: Likewise.
32662 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32663 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32664 * sysdeps/sh/tls-macros.h: Likewise.
32665 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32666 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32667 * sysdeps/x86_64/tls-macros.h: Likewise.
32669 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32671 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32672 zero value for regular exit case.
32674 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32675 (__start_context): Preserve zero value for regular exit case.
32677 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32678 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32680 * manual/setjmp.texi (setcontext): Clarify normal process
32681 termination when uc_link is the null pointer.
32682 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32685 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32687 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32688 preprocessor. Test for each exception mask separately.
32690 2012-07-16 Andreas Jaeger <aj@suse.de>
32692 * po/ru.po: Update from translation team.
32694 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32696 * conform/data/string.h-data (NULL): Use macro-constant. Require
32698 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32699 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32700 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32701 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32702 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32704 2012-07-13 Andreas Jaeger <aj@suse.de>
32706 * po/fr.po: Update from translation team.
32708 2012-07-12 Marek Polacek <polacek@redhat.com>
32711 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32712 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32715 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32718 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32719 Change to 2.4.1 where previously 2.4.0.
32720 * sysdeps/unix/sysv/linux/configure: Regenerated.
32721 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32722 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32724 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32725 (__ASSUME_AT_CLKTCK): Remove.
32726 (__ASSUME_AT_PAGESIZE): Likewise.
32727 (__ASSUME_AT_XID): Likewise.
32728 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32729 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32730 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32732 (HAVE_AUX_PAGESIZE): Likewise.
32733 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32734 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32735 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32737 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32741 the temporary buffer used to invoke __gethostbyname2_r,
32742 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32743 host_data / struct gaih_addrtuple.
32744 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32745 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32746 header file nss/nsswitch.h.
32747 * nss/nsswitch.h (global scope): Add definition of implementation
32748 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32749 resolv/nss_dns/dns-host.c).
32751 2012-07-11 Andreas Jaeger <aj@suse.de>
32753 * po/fr.po: Update from translation team.
32755 * po/sv.po: Update from translation team
32756 * po/fr.po: Another update from translation team.
32758 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32760 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32761 for subnormals or multiply small sinh result by itself.
32762 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32765 2012-07-11 David S. Miller <davem@davemloft.net>
32767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32769 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32772 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32773 (INTERNAL_MARK): Shift it here.
32775 2012-07-10 Marek Polacek <polacek@redhat.com>
32778 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32779 libc_cv_asm_global_directive with .globl.
32780 * configure: Regenerated.
32781 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32783 * sysdeps/i386/configure: Regenerated.
32784 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32786 * sysdeps/x86_64/configure: Regenerated.
32787 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32788 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32789 * elf/tst-unique2mod2.c: Likewise.
32790 * elf/tst-unique2mod1.c: Likewise.
32791 * elf/tst-unique1mod2.c: Likewise.
32792 * elf/tst-unique1mod1.c: Likewise.
32793 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32794 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32795 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32796 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32797 * sysdeps/mach/sysdep.h: Likewise.
32798 * sysdeps/i386/sysdep.h: Likewise.
32799 * sysdeps/i386/i386-mcount.S: Likewise.
32800 * sysdeps/x86_64/_mcount.S: Likewise.
32801 * sysdeps/x86_64/sysdep.h: Likewise.
32802 * sysdeps/sh/_mcount.S: Likewise.
32803 * sysdeps/sh/sysdep.h: Likewise.
32804 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32805 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32806 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32807 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32808 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32809 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32810 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32811 * locale/localeinfo.h: Likewise.
32812 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32813 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32815 2012-07-09 Roland McGrath <roland@hack.frob.com>
32818 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32820 * manual/message.texi (The Uniforum approach): Likewise.
32821 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32822 (glibc iconv Implementation): Likewise.
32824 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32827 * math/s_clog.c (__clog): Avoid scaling a value down where that
32828 could result in underflow.
32829 * math/s_clog10.c (__clog10): Likewise.
32830 * math/s_clog10f.c (__clog10f): Likewise.
32831 * math/s_clog10l.c (__clog10l): Likewise.
32832 * math/s_clogf.c (__clogf): Likewise.
32833 * math/s_clogl.c (__clogl): Likewise.
32834 * math/libm-test.inc (clog_test): Add more tests.
32835 (clog10_test): Likewise.
32836 * sysdeps/i386/fpu/libm-test-ulps: Update.
32837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32839 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32842 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32843 by 7 not 8 to examine high bit of fractional part.
32846 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32847 for call to __mcount_internal.
32848 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32849 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32850 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32852 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32855 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32856 approximation for values within 0x1p-13f of an odd multiple of
32858 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32859 exception. Add more tests.
32860 * sysdeps/i386/fpu/libm-test-ulps: Update.
32863 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32864 inputs and return -1 for them. Do not check for +Inf in case not
32865 reachable for +Inf.
32866 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32867 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32868 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32869 and return -1 for them. Do not check for +Inf in case not
32870 reachable for +Inf.
32871 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32873 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32874 and return -1 for them. Do not check for +Inf in case not
32875 reachable for +Inf.
32876 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32877 spurious underflow.
32878 * sysdeps/i386/fpu/libm-test-ulps: Update.
32879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32881 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32883 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32885 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32889 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32890 could result in spurious underflow. Scale down values above
32891 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32892 * math/s_csqrtf.c (__csqrtf): Likewise.
32893 * math/s_csqrtl.c (__csqrtl): Likewise.
32894 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32895 spurious underflow.
32896 * sysdeps/i386/fpu/libm-test-ulps: Update.
32897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32899 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32901 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32903 * catgets/xopen-msg.awk: New file.
32904 * catgets/xopen-msg.sed: Removed.
32906 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32908 * intl/po2test.awk: New file.
32909 * intl/po2test.sed: Removed.
32911 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32914 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32915 or multiply small sinh result by itself.
32916 * math/s_ctanf.c (__ctanf): Likewise.
32917 * math/s_ctanh.c (__ctanh): Likewise.
32918 * math/s_ctanhf.c (__ctanhf): Likewise.
32919 * math/s_ctanhl.c (__ctanhl): Likewise.
32920 * math/s_ctanl.c (__ctanl): Likewise.
32921 * math/libm-test.inc (ctan_test_tonearest): New function.
32922 (ctan_test_towardzero): Likewise.
32923 (ctan_test_downward): Likewise.
32924 (ctan_test_upward): Likewise.
32925 (ctanh_test_tonearest): Likewise.
32926 (ctanh_test_towardzero): Likewise.
32927 (ctanh_test_downward): Likewise.
32928 (ctanh_test_upward): Likewise.
32929 (main): Call these new functions.
32930 * sysdeps/i386/fpu/libm-test-ulps: Update.
32931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32933 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32935 * .gitignore: Delete /ports entry.
32937 2012-07-03 Andreas Jaeger <aj@suse.de>
32939 * po/bg.po: Update from translation team.
32940 * po/cs.po: Likewise.
32941 * po/de.po: Likewise.
32942 * po/hr.po: Likewise.
32943 * po/nl.pl: Likewise.
32944 * po/pl.po: Likewise.
32945 * po/vi.po: Likewise.
32947 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32949 * Makeconfig [!+link] (+link-before-libc): New variable.
32950 [!+link] (+link-after-libc): Likewise.
32951 [!+link] (+link-tests): Likewise.
32952 [!+link] (+link): Define in terms of $(+link-before-libc) and
32953 $(+link-after-libc).
32954 [!+link-static] (+link-static-before-libc): New variable.
32955 [!+link-static] (+link-static-after-libc): Likewise.
32956 [!+link-static] (+link-static-tests): Likewise.
32957 [!+link-static] (+link-static): Define in terms of
32958 $(+link-static-before-libc) and $(+link-static-after-libc).
32959 [build-shared] (link-libc-before-gnulib): New variable.
32960 [build-shared] (link-libc-tests): Likewise.
32961 [build-shared] (link-libc): Define in terms of
32962 $(link-libc-before-gnulib).
32963 [!build-shared] (link-libc-tests): New variable.
32964 (link-libc-static-tests): New variable.
32965 [!gnulib] (gnulib-arch): New variable.
32966 [!gnulib] (gnulib-tests): Likewise.
32967 [!gnulib] (static-gnulib-arch): Likewise.
32968 [!gnulib] (static-gnulib-tests): Likewise.
32969 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32970 Define with "=" instead of ":=".
32971 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32972 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32973 * Rules (binaries-all-notests): New variable.
32974 (binaries-all-tests): Likewise.
32975 (binaries-static-notests): Likewise.
32976 (binaries-static-tests): Likewise.
32977 (binaries-all): Define using $(binaries-all-notests) and
32978 $(binaries-all-tests).
32979 (binaries-static): Define using $(binaries-static-notests) and
32980 $(binaries-static-tests).
32981 (binaries-shared-tests): New variable.
32982 (binaries-shared-notests): Likewise.
32983 (binaries-shared): Remove variable.
32984 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32985 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32986 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32987 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32988 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32989 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32990 * elf/Makefile (sln-modules): New variable.
32991 (extra-objs): Add $(sln-modules:=.o).
32992 (ldconfig-modules): Add static-stubs.
32993 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32994 * elf/static-stubs.c: New file.
32997 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32998 by 7 not 8 to examine high bit of fractional part. Use volatile
32999 variables when splitting into final array of floats if
33000 __FLT_EVAL_METHOD__ != 0.
33001 * math/libm-test.inc (cos_test): Add another test.
33002 (sin_test): Likewise.
33003 * sysdeps/i386/fpu/libm-test-ulps: Update.
33006 * math/libm-test.inc (cosh_test): Add more tests.
33008 * version.h (RELEASE): Set to "development".
33009 (VERSION): Set to "2.16.90".
33011 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33013 * NEWS: Update copyright. Remove last-updated date.
33014 Mention math library bug fixes and timezone data changes.
33015 * README: Mention GNU/Hurd, x32, and HPPA support status.
33017 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33019 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33021 2012-06-27 Andreas Jaeger <aj@suse.de>
33023 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33025 2012-06-25 Andreas Jaeger <aj@suse.de>
33027 * sysdeps/s390/fpu/libm-test-ulps: Update.
33029 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33030 Thomas Schwinge <thomas@codesourcery.com>
33032 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33033 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33034 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33037 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33039 * sysdeps/mach/start.c: Remove file.
33040 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33041 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33042 * sysdeps/sh/init-first.c: Likewise.
33044 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33045 registers for frame unwinding purposes, add CFI directives.
33046 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33047 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33048 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33051 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33052 __fortify_fail returning.
33053 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33055 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33056 sysdeps/sh/____longjmp_chk.S.
33057 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33058 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33059 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33060 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33062 * sysdeps/sh/abort-instr.h: New file.
33063 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33064 process in case exit returns.
33066 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33067 initialize the GOT register before use.
33069 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33070 calculation of ARGC > 4.
33072 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33073 meaningful names to some local labels.
33075 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33076 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33078 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33079 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33080 (__arch_compare_and_exchange_val_16_acq): Likewise.
33081 (__arch_compare_and_exchange_val_32_acq): Likewise.
33082 (atomic_exchange_and_add): Fix gUSA sequence.
33083 (atomic_add): Likewise.
33084 (atomic_add_negative): Likewise.
33085 (atomic_add_zero): Likewise.
33086 (atomic_bit_test_set): Likewise.
33088 2012-06-22 Andreas Schwab <schwab@redhat.com>
33091 * include/link.h (struct link_map): Add l_free_initfini.
33092 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33094 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33095 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33096 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33099 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33101 * configure.in: Use AC_LANG_SOURCE.
33102 * configure: Regenerate.
33104 2012-06-22 Roland McGrath <roland@hack.frob.com>
33106 * configure.in (libc_cv_localstatedir): New substituted variable.
33107 * configure: Regenerated.
33108 * config.make.in (localstatedir): New variable, substituted from
33109 libc_cv_localstatedir.
33110 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33111 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33112 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33113 * sysdeps/gnu/configure: Regenerated.
33115 2012-06-21 Jeff Law <law@redhat.com>
33118 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33119 free. Simplify list management for _LIBC case.
33121 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33124 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33125 Clear sign bit of 64-bit integer value before comparing against
33128 * sysdeps/mach/configure: Regenerated.
33130 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33133 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33135 2012-06-21 Jeff Law <law@redhat.com>
33138 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33139 uint16_t for elements in the "seen" array to avoid char overflows.
33140 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33141 * elf/dl-open.c (dl_open_worker): Likewise.
33143 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33145 * scripts/list-sources.sh: Scan PORTS for translations.
33146 * po/libc.pot: Regenerated.
33148 2012-06-21 Andreas Jaeger <aj@suse.de>
33151 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33153 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33154 * bits/byteswap-16.h (__bswap_16): Likewise.
33155 * bits/byteswap.h (__bswap_constant_16): Likewise.
33157 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33160 * sysdeps/i386/fpu_control.h: Removed.
33161 * sysdeps/x86_64/fpu_control.h: Moved to ...
33162 * sysdeps/x86/fpu_control.h: Here.
33164 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33165 (_FPU_SETCW): Likewise.
33167 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33170 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33171 * sysdeps/x86/fpu/bits/mathinline.h: This.
33172 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33176 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33177 functions if __x86_64__ is defined.
33179 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33181 * string/endian.h: Add !__ASSEMBLER__ condition for including
33182 conversion interfaces.
33184 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33187 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33188 of ABS(x) in calculating zero to negative powers other than odd
33190 * math/libm-test.inc (pow_test): Add more tests.
33192 2012-06-15 Andreas Jaeger <aj@suse.de>
33194 * manual/contrib.texi (Contributors): Update entry of Liubov
33195 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33198 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33200 * string/string.h: Add __wur to GNU version of strerror_r.
33202 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33205 * string/Makefile (tests): Add tst-strtok_r.
33206 * string/tst-strtok_r.c: New file.
33207 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33208 RAX_LP/RDX_LP on SAVE_PTR.
33210 2012-06-14 Roland McGrath <roland@hack.frob.com>
33212 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33214 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33216 * libm_test.inc (csqrt_test): Allow more spurious underflow
33218 (j0_test): Likewise.
33219 (j1_test): Likewise.
33220 (y0_test): Likewise.
33221 (y1_test): Likewise.
33223 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33225 * po/Makefile (libc.pot): Use UTF-8 charset.
33227 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33230 Suppress sign-conversion warning from FD_SET.
33231 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33232 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33233 not unsigned long int.
33234 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33236 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33240 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33241 __extern_always_inline instead of __extern_inline.
33242 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33243 (__signbit): Likewise.
33244 (__signbitl): Support C++ namespace.
33245 (lrintf): New inline function.
33247 (llrintf): Likewise.
33248 (llrint): Likewise.
33258 (floorf): Likewise.
33259 (nearbyint): Likewise.
33260 (nearbyintf): Likewise.
33262 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33264 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33265 non-default versions.
33267 2012-06-11 Roland McGrath <roland@hack.frob.com>
33270 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33272 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33274 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33275 (FE_UPWARD, FE_DOWNWARD): Don't define.
33276 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33277 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33279 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33281 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33282 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33284 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33286 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33287 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33288 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33289 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33291 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33294 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33295 * sysdeps/i386/fpu/Implies: New file.
33296 * sysdeps/x86_64/fpu/Implies: Likewise.
33297 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33298 * sysdeps/x86/fpu/bits/fenv.h: This.
33300 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33303 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33306 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33307 character 0xffff that matches the last element of the
33310 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33312 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33315 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33317 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33318 values higher than 25.6283.
33320 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33323 subnormal exponent extraction and add some __builtin_expect.
33324 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33325 Fix for subnormal mantissa calculation.
33327 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33329 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33330 cpu2 is -1 and errno is not ENOSYS.
33332 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33335 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33336 * sysdeps/x86/bits/string.h: This.
33337 * sysdeps/x86_64/bits/string.h: Removed.
33339 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33340 if not compiling for x86-64, but compiling for >= i486.
33342 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33343 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33345 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33346 New macro from Linux kernel 3.4.0.
33347 (FP_XSTATE_MAGIC2): Likewise.
33348 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33349 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33350 (struct _fpx_sw_bytes): New struct.
33351 (struct _xsave_hdr): Likewise.
33352 (struct _ymmh_state): Likewise.
33353 (struct _xstate): Likewise.
33355 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33356 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33357 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33358 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33359 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33360 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33362 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33363 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33364 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33365 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33366 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33367 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33369 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33372 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33373 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33374 (sysdep_headers): Include sys/platform/ppc.h.
33375 * sysdeps/powerpc/test-gettimebase.c: Test for
33376 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33377 * manual/Makefile (appendices): Include platform.texi.
33378 * manual/contrib.texi (Contributors): Update @node pointers.
33379 * manual/maint.texi (Maintenance): Likewise.
33380 (Platform): New node.
33381 * manual/platform.texi: New file. Document the new features.
33383 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33384 Jakub Jelinek <jakub@redhat.com>
33387 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33388 where __builtin_expect is unavailable.
33390 2012-06-03 David S. Miller <davem@davemloft.net>
33392 * stdlib/longlong.h: Updated from GCC.
33394 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33397 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33398 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33401 (GLIBC_2.16): Likewise.
33403 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33405 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33407 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33410 (default-abi): New variable.
33411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33412 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33414 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33416 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33418 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33421 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33422 definition. Document in comment.
33424 2012-06-01 David S. Miller <davem@davemloft.net>
33426 * stdlib/longlong.h: Updated from GCC.
33428 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33431 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33432 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33433 sys/debugreg.h sys/io.h here.
33434 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33435 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33437 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33438 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33439 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33440 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33441 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33442 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33444 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33445 Define only if __x86_64__ is defined.
33447 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33450 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33451 Use int64_t for variable i.
33452 * math/libm-test.inc (fmod_test): Add more tests.
33454 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33455 z computation is not scheduled after fetestexcept.
33456 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33457 Use math_force_eval instead of asm to ensure calculation scheduled
33458 before exception test.
33459 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33460 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33462 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33465 computation is not scheduled after fetestexcept.
33467 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33470 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33471 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33473 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33475 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33476 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33478 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33481 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33483 (__WCHAR_MIN): Support __WORDSIZE == 64.
33484 (__WCHAR_MAX): Likewise.
33486 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33487 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33490 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33491 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33494 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33495 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33497 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33498 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33500 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33501 Defined to 1 if __x86_64__ isn't defined.
33502 (_STAT_VER_LINUX_OLD): New.
33503 (st_atime): Remove duplicate.
33504 (st_mtime): Likewise.
33505 (st_ctime): Likewise.
33507 2012-05-31 David S. Miller <davem@davemloft.net>
33509 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33512 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33514 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33518 * elf/dl-reloc.c: Include <_itoa.h>.
33519 (_dl_reloc_bad_type): Remove use of INTUSE.
33520 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33521 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33522 * stdio-common/psiginfo.c (psiginfo): Likewise.
33523 * stdio-common/psignal.c (psignal): Likewise.
33524 * string/strsignal.c (strsignal): Likewise.
33525 * include/signal.h (_sys_siglist): Declare hidden proto.
33526 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33527 INTVARDEF with libc_hidden_data_def.
33528 * stdio-common/itoa-udigits.c: Likewise.
33529 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33530 (_itoa_lower_digits_internal): Remove declaration.
33531 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33532 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33533 (_sys_sigabbrev_internal): Remove aliases.
33534 (_sys_siglist): Define hidden alias.
33536 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33541 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33544 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33545 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33547 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33548 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33549 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33550 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33551 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33552 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33554 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33555 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33556 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33558 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33566 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33567 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33568 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33570 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33571 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33572 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33573 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33574 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33575 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33577 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33578 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33580 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33581 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33583 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33584 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33585 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33587 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33588 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33590 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33592 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33593 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33594 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33596 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33598 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33600 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33602 * math/math.h (M_El): Use two more decimal places.
33603 (M_LOG2El): Likewise.
33604 (M_LOG10El): Likewise.
33605 (M_LN2l): Likewise.
33606 (M_LN10l): Likewise.
33608 (M_PI_2l): Likewise.
33609 (M_PI_4l): Likewise.
33610 (M_1_PIl): Likewise.
33611 (M_2_PIl): Likewise.
33612 (M_2_SQRTPIl): Likewise.
33613 (M_SQRT2l): Likewise.
33614 (M_SQRT1_2l): Likewise.
33616 2012-05-31 David S. Miller <davem@davemloft.net>
33618 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33619 values between float registers.
33620 * sysdeps/sparc/sparc64/memset.S: Likewise.
33621 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33623 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33625 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33626 -D_FORTIFY_SOURCE=1.
33627 (CPPFLAGS-tst-longjmp_chk.c): Define.
33628 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33629 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33630 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33631 CFLAGS-tst-wchar-h.c.
33633 2012-05-31 Marek Polacek <polacek@redhat.com>
33636 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33637 __endmntent_internal): Remove declaration.
33638 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33639 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33640 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33642 2012-05-30 David S. Miller <davem@davemloft.net>
33644 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33645 (___Q_simulate_exceptions): Use real FP ops rather than writing
33647 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33650 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33653 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33654 * sysdeps/x86/bits/xtitypes.h: This.
33656 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33657 * sysdeps/x86/bits/wordsize.h: This.
33659 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33660 * sysdeps/x86/bits/huge_vall.h: This.
33662 * sysdeps/i386/bits/select.h: Removed.
33663 * sysdeps/x86_64/bits/select.h: Renamed to ...
33664 * sysdeps/x86/bits/select.h: This.
33666 * sysdeps/i386/bits/setjmp.h: Removed.
33667 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33668 * sysdeps/x86/bits/setjmp.h: This.
33670 * sysdeps/i386/bits/mathdef.h: Removed.
33671 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33672 * sysdeps/x86/bits/mathdef.h: This.
33674 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33677 * include/sys/socket.h (__connect_internal)
33678 (__libc_sa_len_internal): Remove declaration.
33679 (__connect, __libc_sa_len): Declare hidden_proto.
33680 (SA_LEN): Remove use of INTUSE.
33681 * socket/connect.c: Add libc_hidden_def.
33682 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33683 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33684 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33686 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33687 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33688 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33689 of adding _internal alias.
33691 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33694 * sysdeps/i386/bits/link.h: Removed.
33695 * sysdeps/i386/bits/linkmap.h: Likewise.
33696 * sysdeps/x86_64/bits/link.h: Renamed to ...
33697 * sysdeps/x86/bits/link.h: This.
33698 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33699 * sysdeps/x86/bits/linkmap.h: This.
33701 * sysdeps/i386/bits/endian.h: Removed.
33702 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33703 * sysdeps/x86/bits/endian.h: This.
33705 * sysdeps/i386/bits/byteswap.h: Removed.
33706 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33707 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33708 * sysdeps/x86/bits/byteswap.h: This.
33709 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33710 * sysdeps/x86/bits/byteswap-16.h: This.
33711 * sysdeps/i386/Implies: Add x86.
33712 * sysdeps/x86_64/Implies: Likewise.
33714 2012-05-30 David S. Miller <davem@davemloft.net>
33716 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33717 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33718 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33719 (FP_TRAPPING_EXCEPTIONS): Define.
33720 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33721 (FP_TRAPPING_EXCEPTIONS): Define.
33722 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33723 subnormals only when inexact has been signalled or underflow
33724 exceptions are enabled.
33725 (_FP_PACK_CANONICAL): Likewise.
33727 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33730 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33731 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33733 2012-05-30 Richard Henderson <rth@twiddle.net>
33735 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33736 with #ifndef NOT_IN_libc.
33738 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33739 marked to avoid plt entry.
33741 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33744 * Makeconfig (default-abi): New macro.
33745 (abi-includes): Likewise.
33746 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33747 $(abi-$(default-abi)-lib-soname) for soname if defined.
33748 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33750 * Makefile (installed-stubs): Likewise.
33751 * include/stubs-biarch.h: Removed.
33752 * scripts/lib-names.awk: Only handle one library at a time.
33753 * scripts/soversions.awk: Remove WORDSIZE support.
33754 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33756 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33758 (syscall-list-default-condition): Likewise.
33759 (syscall-list-default-condition): Likewise.
33760 (syscall-list-includes): Likewise.
33761 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33762 syscall-list-* with abi-*. Handle undefined abi-variants.
33763 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33764 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33765 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33766 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33767 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33768 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33770 (syscall-list-32-options): Likewise.
33771 (syscall-list-32-condition): Likewise.
33772 (syscall-list-64-options): Likewise.
33773 (syscall-list-64-condition): Likewise.
33774 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33776 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33779 (abi-64-ld-soname): New macro.
33780 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33781 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33784 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33785 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33787 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33789 * sysdeps/unix/sysv/linux/kernel-features.h
33790 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33791 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33792 include <kernel-features.h>.
33793 [!__NR_ftruncate64]: Remove conditional code.
33794 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33795 [__NR_ftruncate64]: Make code unconditional.
33796 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33797 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33798 include <kernel-features.h>.
33799 [!__NR_ftruncate64]: Remove conditional code.
33800 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33801 [__NR_ftruncate64]: Make code unconditional.
33802 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33804 include <kernel-features.h>.
33805 [!__NR_ftruncate64]: Remove conditional code.
33806 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33807 [__NR_ftruncate64]: Make code unconditional.
33808 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33810 include <kernel-features.h>.
33811 [!__NR_ftruncate64]: Remove conditional code.
33812 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33813 [__NR_ftruncate64]: Make code unconditional.
33814 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33816 * configure.in (libc_cv_fpie): Weaken to a compile test using
33817 LIBC_TRY_CC_OPTION.
33818 * configure: Regenerated.
33820 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33835 2012-05-27 David S. Miller <davem@davemloft.net>
33837 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33839 (__Q_simulate_exceptions): Return void. Change to simulate
33840 exceptions by writing into the %fsr.
33841 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33842 (__Qp_handle_exceptions): Likewise.
33844 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33845 __Qp_handle_exceptions.
33846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33847 __Qp_handle_exceptions.
33848 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33849 as unused and give dummy FP_RND_NEAREST initializer.
33850 (FP_INHIBIT_RESULTS): Define.
33851 (___Q_simulate_exceptions): Update declaration.
33852 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33854 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33855 as unused and give dummy FP_RND_NEAREST initializer.
33856 (__Qp_handle_exceptions): Update declaration.
33857 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33860 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33862 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33863 the temporary FPU control word.
33864 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33865 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33866 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33867 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33868 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33869 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33870 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33871 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33872 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33873 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33874 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33876 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33878 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33881 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33883 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33884 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33885 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33886 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33888 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33889 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33892 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33894 * po/h.po: Update from translation team.
33896 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33898 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33900 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33901 handling of denormals.
33902 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33903 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33904 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33905 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33906 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33908 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33911 2012-05-26 Marek Polacek <polacek@redhat.com>
33914 * math/libm-test.inc (fma_test): Don't always expect underflow
33917 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33920 * elf/tst-execstack.c: Include stackinfo.h.
33921 (do_test): Adjust test case to ensure that pthread_getattr_np
33922 behaviour remains the same after marking stack executable.
33924 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33926 * sysdeps/unix/sysv/linux/kernel-features.h
33927 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33928 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33930 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33931 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33932 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33934 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33935 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33937 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33939 * configure.in: Define the default includes to being none.
33940 * configure: Regenerated.
33942 2012-05-25 Roland McGrath <roland@hack.frob.com>
33944 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33945 * sysdeps/x86_64/setjmp.S: Likewise.
33946 * sysdeps/i386/bsd-setjmp.S: Likewise.
33947 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33948 * sysdeps/i386/setjmp.S: Likewise.
33949 * sysdeps/i386/__longjmp.S: Likewise.
33950 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33951 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33953 * include/stap-probe.h: New file.
33954 * configure.in: Handle --enable-systemtap.
33955 * configure: Regenerated.
33956 * config.h.in (USE_STAP_PROBE): New #undef.
33957 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33958 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33959 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33961 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33964 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33965 to 2.4.0 where earlier.
33966 * sysdeps/unix/sysv/linux/configure: Regenerated.
33967 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33968 <kernel-features.h>.
33969 [__ASSUME_32BITUIDS]: Make code unconditional.
33970 [!__ASSUME_32BITUIDS]: Remove conditional code.
33971 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33972 <kernel-features.h>.
33973 [__ASSUME_32BITUIDS]: Make code unconditional.
33974 [!__ASSUME_32BITUIDS]: Remove conditional code.
33975 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33976 [__ASSUME_32BITUIDS]: Make code unconditional.
33977 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33978 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33979 <kernel-features.h>.
33980 [__ASSUME_32BITUIDS]: Make code unconditional.
33981 [!__ASSUME_32BITUIDS]: Remove conditional code.
33982 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33983 <kernel-features.h>.
33984 [__ASSUME_32BITUIDS]: Make code unconditional.
33985 [!__ASSUME_32BITUIDS]: Remove conditional code.
33986 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33987 <kernel-features.h>.
33988 [__ASSUME_32BITUIDS]: Make code unconditional.
33989 [!__ASSUME_32BITUIDS]: Remove conditional code.
33990 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33991 <kernel-features.h>.
33992 [__ASSUME_32BITUIDS]: Make code unconditional.
33993 [!__ASSUME_32BITUIDS]: Remove conditional code.
33994 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33995 <kernel-features.h>.
33996 [__ASSUME_32BITUIDS]: Make code unconditional.
33997 [!__ASSUME_32BITUIDS]: Remove conditional code.
33998 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33999 <kernel-features.h>.
34000 [__ASSUME_32BITUIDS]: Make code unconditional.
34001 [!__ASSUME_32BITUIDS]: Remove conditional code.
34002 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34003 <kernel-features.h>.
34004 [__ASSUME_32BITUIDS]: Make code unconditional.
34005 [!__ASSUME_32BITUIDS]: Remove conditional code.
34006 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34007 <kernel-features.h>.
34008 [__ASSUME_32BITUIDS]: Make code unconditional.
34009 [!__ASSUME_32BITUIDS]: Remove conditional code.
34010 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34011 <kernel-features.h>.
34012 [__ASSUME_32BITUIDS]: Make code unconditional.
34013 [!__ASSUME_32BITUIDS]: Remove conditional code.
34014 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34015 <kernel-features.h>.
34016 [__ASSUME_32BITUIDS]: Make code unconditional.
34017 [!__ASSUME_32BITUIDS]: Remove conditional code.
34018 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34019 <kernel-features.h>.
34020 [__NR_setresgid] (__setresgid): Do not declare.
34021 [__ASSUME_32BITUIDS]: Make code unconditional.
34022 [!__ASSUME_32BITUIDS]: Remove conditional code.
34023 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34024 <kernel-features.h>.
34025 [__NR_setresuid] (__setresuid): Do not declare.
34026 [__ASSUME_32BITUIDS]: Make code unconditional.
34027 [!__ASSUME_32BITUIDS]: Remove conditional code.
34028 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34029 <kernel-features.h>.
34030 [__ASSUME_32BITUIDS]: Make code unconditional.
34031 [!__ASSUME_32BITUIDS]: Remove conditional code.
34032 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34033 <kernel-features.h>.
34034 [__ASSUME_32BITUIDS]: Make code unconditional.
34035 [!__ASSUME_32BITUIDS]: Remove conditional code.
34036 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34037 <kernel-features.h>.
34038 [__ASSUME_32BITUIDS]: Make code unconditional.
34039 [!__ASSUME_32BITUIDS]: Remove conditional code.
34040 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34041 <kernel-features.h>.
34042 [__ASSUME_32BITUIDS]: Make code unconditional.
34043 [!__ASSUME_32BITUIDS]: Remove conditional code.
34044 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34045 <kernel-features.h>.
34046 [__ASSUME_32BITUIDS]: Make code unconditional.
34047 [!__ASSUME_32BITUIDS]: Remove conditional code.
34048 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34049 <kernel-features.h>.
34050 [__ASSUME_32BITUIDS]: Make code unconditional.
34051 [!__ASSUME_32BITUIDS]: Remove conditional code.
34052 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34053 <kernel-features.h>.
34054 [__ASSUME_32BITUIDS]: Make code unconditional.
34055 [!__ASSUME_32BITUIDS]: Remove conditional code.
34056 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34057 <kernel-features.h>.
34058 [__ASSUME_32BITUIDS]: Make code unconditional.
34059 [!__ASSUME_32BITUIDS]: Remove conditional code.
34060 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34061 <kernel-features.h>.
34062 [__ASSUME_32BITUIDS]: Make code unconditional.
34063 [!__ASSUME_32BITUIDS]: Remove conditional code.
34064 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34065 <kernel-features.h>.
34066 [__ASSUME_32BITUIDS]: Make code unconditional.
34067 [!__ASSUME_32BITUIDS]: Remove conditional code.
34068 * sysdeps/unix/sysv/linux/kernel-features.h
34069 (__ASSUME_SETRESUID_SYSCALL): Remove.
34070 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34071 (__ASSUME_32BITUIDS): Likewise.
34072 (__ASSUME_LDT_WORKS): Likewise.
34073 (__ASSUME_O_DIRECTORY): Likewise.
34074 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34075 architecture but not kernel version.
34076 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34077 (__ASSUME_MMAP2_SYSCALL): Likewise.
34078 (__ASSUME_STAT64_SYSCALL): Likewise.
34079 (__ASSUME_IPC64): Likewise.
34080 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34081 <kernel-features.h>.
34082 [__ASSUME_32BITUIDS]: Make code unconditional.
34083 [!__ASSUME_32BITUIDS]: Remove conditional code.
34084 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34085 <kernel-features.h>.
34086 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34087 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34088 132096]: Remove conditional code.
34089 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34090 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34091 <kernel-features.h>.
34092 [__ASSUME_32BITUIDS]: Make code unconditional.
34093 [!__ASSUME_32BITUIDS]: Remove conditional code.
34094 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34095 <kernel-features.h>.
34096 [__ASSUME_32BITUIDS]: Make code unconditional.
34097 [!__ASSUME_32BITUIDS]: Remove conditional code.
34098 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34099 <kernel-features.h>.
34100 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34102 (__setresgid): Do not declare.
34103 [__ASSUME_32BITUIDS]: Make code unconditional.
34104 [!__ASSUME_32BITUIDS]: Remove conditional code.
34105 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34106 <kernel-features.h>.
34107 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34109 (__setresuid): Do not declare.
34110 [__ASSUME_32BITUIDS]: Make code unconditional.
34111 [!__ASSUME_32BITUIDS]: Remove conditional code.
34112 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34113 <kernel-features.h>.
34114 [__ASSUME_32BITUIDS]: Make code unconditional.
34115 [!__ASSUME_32BITUIDS]: Remove conditional code.
34116 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34117 <kernel-features.h>.
34118 [__ASSUME_32BITUIDS]: Make code unconditional.
34119 [!__ASSUME_32BITUIDS]: Remove conditional code.
34121 2012-05-25 Richard Henderson <rth@twiddle.net>
34123 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34124 dl_hwcap to ifunc resolver.
34125 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34127 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34128 dl_hwcap to ifunc resolver.
34129 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34131 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34134 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34135 for |x| <= 2**-26, not 2**-57.
34136 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34139 2012-05-24 Jeff Law <law@redhat.com>
34141 * stdio-common/Makefile (tests): Add bug25.
34142 * stdio-common/bug25.c: New test.
34144 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34147 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34148 multiple of MALLOC_ALIGNMENT in size.
34149 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34151 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34153 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34155 (FILENAME_MAX): Use macro-int-constant.
34156 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34157 (_IOFBF): Use macro-int-constant.
34158 (_IOLBF): Likewise.
34159 (_IONBF): Likewise.
34160 (SEEK_CUR): Likewise.
34161 (SEEK_END): Likewise.
34162 (SEEK_SET): Likewise.
34163 (TMP_MAX): Likewise.
34164 (EOF): Use macro-int-constant. Require < 0.
34165 (NULL): Use macro-constant. Require == 0.
34166 (stdin): Require type to be FILE *.
34167 (stdout): Likewise.
34168 (stderr): Likewise.
34169 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34170 macro-int-constant.
34171 (EXIT_SUCCESS): Likewise.
34172 (NULL): Use macro-constant. Require == 0.
34173 (RAND_MAX): Use macro-int-constant.
34174 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34175 [C99-based standards] (strtof): Require function.
34176 [C99-based standards] (strtold): Likewise.
34177 [C99-based standards] (strtoll): Likewise.
34178 [C99-based standards] (strtoull): Likewise.
34179 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34180 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34181 [ISO || ISO99 || ISO11] (math.h): Likewise.
34182 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34183 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34184 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34186 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34189 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34190 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34191 * intl/dgettext.c (DCGETTEXT): Likewise.
34192 * intl/gettext.c (DCGETTEXT): Likewise.
34193 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34194 * posix/regex_internal.h (gettext): Likewise.
34195 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34196 Remove declaration.
34197 * include/argz.h (__argz_count_internal)
34198 (__argz_stringify_internal): Remove declaration.
34199 (__argz_count, __argz_stringify): Declare hidden proto.
34200 * intl/dcgettext.c: Remove use of INTDEF.
34201 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34202 * string/argz-stringify.c: Likewise.
34203 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34204 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34205 Declare hidden proto.
34206 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34207 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34208 Declare hidden proto.
34209 * include/stdio.h (__asprintf_internal): Don't declare.
34210 (__asprintf): Don't define as macro. Declare hidden proto.
34211 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34212 (__fsetlocking): Declare hidden proto.
34213 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34214 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34216 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34217 (_IO_setlinebuf): Remove use of INTUSE.
34218 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34219 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34220 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34221 Remove declaration.
34222 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34223 (_IO_do_flush): Remove use of INTUSE.
34224 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34225 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34226 (_IO_adjust_column, _IO_least_wmarker)
34227 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34228 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34229 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34230 (_IO_default_doallocate, _IO_wdefault_doallocate)
34231 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34232 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34233 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34234 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34235 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34236 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34237 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34238 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34239 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34240 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34241 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34242 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34243 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34245 (_IO_flush_all_internal, _IO_adjust_column_internal)
34246 (_IO_default_uflow_internal, _IO_default_finish_internal)
34247 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34248 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34249 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34250 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34251 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34252 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34253 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34254 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34255 (_IO_file_close_internal, _IO_file_close_it_internal)
34256 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34257 (_IO_file_init_internal, _IO_file_attach_internal)
34258 (_IO_file_fopen_internal, _IO_file_read_internal)
34259 (_IO_file_sync_internal, _IO_file_seek_internal)
34260 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34261 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34262 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34263 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34264 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34265 (_IO_list_all_internal, _IO_link_in_internal)
34266 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34267 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34268 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34269 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34270 (_IO_do_write_internal, _IO_padn_internal)
34271 (_IO_getline_info_internal, _IO_getline_internal)
34272 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34273 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34274 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34275 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34276 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34277 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34278 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34279 with libc_hidden_ver, remove use of INTUSE.
34280 * libio/genops.c: Likewise.
34281 * libio/freopen.c: Likewise.
34282 * libio/freopen64.c: Likewise.
34283 * libio/iofclose.c: Likewise.
34284 * libio/iofdopen.c: Likewise.
34285 * libio/iofflush.c: Likewise.
34286 * libio/iofflush_u.c: Likewise.
34287 * libio/iofgets.c: Likewise.
34288 * libio/iofgets_u.c: Likewise.
34289 * libio/iofopen.c: Likewise.
34290 * libio/iofopncook.c: Likewise.
34291 * libio/iofread.c: Likewise.
34292 * libio/iofread_u.c: Likewise.
34293 * libio/ioftell.c: Likewise.
34294 * libio/iofwrite.c: Likewise.
34295 * libio/iogetline.c: Likewise.
34296 * libio/iogets.c: Likewise.
34297 * libio/iogetwline.c: Likewise.
34298 * libio/iopadn.c: Likewise.
34299 * libio/iopopen.c: Likewise.
34300 * libio/ioseekoff.c: Likewise.
34301 * libio/ioseekpos.c: Likewise.
34302 * libio/iosetbuffer.c: Likewise.
34303 * libio/iosetvbuf.c: Likewise.
34304 * libio/ioungetc.c: Likewise.
34305 * libio/ioungetwc.c: Likewise.
34306 * libio/iovdprintf.c: Likewise.
34307 * libio/iovsprintf.c: Likewise.
34308 * libio/iovsscanf.c: Likewise.
34309 * libio/memstream.c: Likewise.
34310 * libio/obprintf.c: Likewise.
34311 * libio/oldfileops.c: Likewise.
34312 * libio/oldiofclose.c: Likewise.
34313 * libio/oldiofdopen.c: Likewise.
34314 * libio/oldiofopen.c: Likewise.
34315 * libio/oldiopopen.c: Likewise.
34316 * libio/oldstdfiles.c: Likewise.
34317 * libio/putc.c: Likewise.
34318 * libio/setbuf.c: Likewise.
34319 * libio/setlinebuf.c: Likewise.
34320 * libio/stdfiles.c: Likewise.
34321 * libio/strops.c: Likewise.
34322 * libio/vasprintf.c: Likewise.
34323 * libio/vscanf.c: Likewise.
34324 * libio/vsnprintf.c: Likewise.
34325 * libio/vswprintf.c: Likewise.
34326 * libio/wfiledoalloc.c: Likewise.
34327 * libio/wfileops.c: Likewise.
34328 * libio/wgenops.c: Likewise.
34329 * libio/wmemstream.c: Likewise.
34330 * libio/wstrops.c: Likewise.
34331 * libio/__fpurge.c: Likewise.
34332 * libio/__fsetlocking.c: Likewise.
34333 * assert/assert.c: Likewise.
34334 * debug/fgets_chk.c: Likewise.
34335 * debug/fgets_u_chk.c: Likewise.
34336 * debug/fread_chk.c: Likewise.
34337 * debug/fread_u_chk.c: Likewise.
34338 * debug/gets_chk.c: Likewise.
34339 * debug/obprintf_chk.c: Likewise.
34340 * debug/vasprintf_chk.c: Likewise.
34341 * debug/vdprintf_chk.c: Likewise.
34342 * debug/vsnprintf_chk.c: Likewise.
34343 * debug/vsprintf_chk.c: Likewise.
34344 * malloc/mtrace.c: Likewise.
34345 * misc/error.c: Likewise.
34346 * misc/syslog.c: Likewise.
34347 * stdio-common/asprintf.c: Likewise.
34348 * stdio-common/fxprintf.c: Likewise.
34349 * stdio-common/getw.c: Likewise.
34350 * stdio-common/isoc99_fscanf.c: Likewise.
34351 * stdio-common/isoc99_scanf.c: Likewise.
34352 * stdio-common/isoc99_vfscanf.c: Likewise.
34353 * stdio-common/isoc99_vscanf.c: Likewise.
34354 * stdio-common/isoc99_vsscanf.c: Likewise.
34355 * stdio-common/printf-prs.c: Likewise.
34356 * stdio-common/printf_fp.c: Likewise.
34357 * stdio-common/printf_fphex.c: Likewise.
34358 * stdio-common/printf_size.c: Likewise.
34359 * stdio-common/putw.c: Likewise.
34360 * stdio-common/scanf.c: Likewise.
34361 * stdio-common/sprintf.c: Likewise.
34362 * stdio-common/tmpfile.c: Likewise.
34363 * stdio-common/vfprintf.c: Likewise.
34364 * stdio-common/vfscanf.c: Likewise.
34365 * stdlib/strfmon_l.c: Likewise.
34366 * sunrpc/openchild.c: Likewise.
34367 * sunrpc/xdr_stdio.c: Likewise.
34368 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34369 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34371 2012-05-24 Roland McGrath <roland@hack.frob.com>
34373 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34375 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34376 in the third column, to generate for the shared library an IFUNC
34377 that uses _dl_vdso_vsym.
34378 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34379 * Makeconfig (object-suffixes-noshared): New variable.
34381 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34382 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34383 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34384 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34387 * include/sys/time.h (__gettimeofday): Remove macro.
34388 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34389 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34391 (__gettimeofday): Add libc_hidden_def.
34392 (gettimeofday): Add libc_hidden_weak.
34393 * sysdeps/mach/gettimeofday.c: Likewise.
34394 * sysdeps/posix/gettimeofday.c: Likewise.
34395 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34396 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34397 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34398 (__gettimeofday_internal): Remove strong_alias.
34399 (__gettimeofday): Add libc_hidden_def.
34400 (gettimeofday): Add libc_hidden_weak.
34401 * sysdeps/unix/syscalls.list (gettimeofday):
34402 Remove __gettimeofday_internal alias.
34404 2012-05-24 Daniel Jacobowitz <drow@false.org>
34405 H.J. Lu <hongjiu.lu@intel.com>
34408 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34409 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34410 (largebin_index_32_big): New.
34411 (largebin_index): Use it for 16-byte alignment.
34412 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34413 correction with front_misalign.
34415 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34443 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34444 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34446 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34450 * math/libm-test.inc (exp_test): Add test from bug 14036.
34451 (pow_test): Add test from bug 10846.
34453 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34455 (special_function): Do not include flags in test name.
34456 (parse_args): Likewise.
34457 * sysdeps/i386/fpu/libm-test-ulps: Update.
34458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34459 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34460 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34463 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34465 * math/libm-test.inc ("Philosophy"): Update comment about
34467 (UNDERFLOW_EXCEPTION): New macro.
34468 (UNDERFLOW_EXCEPTION_OK): Likewise.
34469 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34470 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34471 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34472 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34473 (INVALID_EXCEPTION_OK): Update value.
34474 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34475 (OVERFLOW_EXCEPTION_OK): Likewise.
34476 (IGNORE_ZERO_INF_SIGN): Likewise.
34477 (test_exceptions): Handle underflow exceptions.
34478 (acos_test): Update for underflow exception expectations.
34479 (cexp_test): Likewise.
34480 (clog_test): Likewise.
34481 (clog10_test): Likewise.
34482 (csqrt_test): Likewise.
34483 (ctan_test): Likewise.
34484 (ctanh_test): Likewise.
34485 (exp_test): Likewise.
34486 (exp10_test): Likewise.
34487 (exp2_test): Likewise.
34488 (expm1_test): Likewise.
34489 (fma_test): Likewise.
34490 (j0_test): Likewise.
34491 (jn_test): Likewise.
34492 (nexttoward_test): Likewise.
34493 (pow_test): Likewise.
34494 (scalbn_test): Likewise.
34495 (scalbln_test): Likewise.
34496 (tan_test): Likewise.
34497 (y1_test): Likewise.
34498 * sysdeps/i386/fpu/libm-test-ulps: Update.
34499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34501 2012-05-23 David S. Miller <davem@davemloft.net>
34503 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34504 (__libc_sigaction): Remove unused local variables.
34506 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34508 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34510 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34512 mktime: avoid signed integer overflow
34513 * time/mktime.c (__mktime_internal): Do not mishandle the case
34514 where diff == INT_MIN.
34516 mktime: simplify computation of average
34517 * time/mktime.c (ranged_convert): Use new time_t_avg function
34518 instead of rolling our own (probably-slower) code.
34520 mktime: do not assume signed right shift propagates sign bit
34521 * time/mktime.c (isdst_differ): New static function.
34522 (__mktime_internal): No need to normalize tm_isdst now.
34523 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34526 mktime: merge another wrapv change from gnulib
34527 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34528 from some compilers.
34530 mktime: remove incorrect attempt at unusual arithmetics
34531 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34532 The code didn't really work on such machines anyway.
34533 (TYPE_MINIMUM): Assume two's complement.
34534 (twos_complement_arithmetic): Verify that long_int and time_t
34535 are two's complement (or unsigned, in the latter case).
34537 mktime: check signed shifts on long_int and time_t, too
34538 * time/mktime.c (SHR): Check that shifts work as desired
34539 on the types long_int and time_t too, as SHR is used on
34542 mktime: do not assume 'long' is wide enough
34543 * time/mktime.c (verify): Move decl up.
34544 (long_int): New type.
34545 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34546 to remove assumption in the code that 'long' is wide enough to
34547 store year values. This assumption is not true on x32 and on
34548 some non-glibc platforms.
34550 mktime: merge wrapv change from gnulib
34551 * time/mktime.c (WRAPV): New macro.
34552 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34553 (guess_time_tm, __mktime_internal): Do not assume that signed
34554 integer overflow wraps around; modern compilers generate code
34555 where this assumption is no longer valid.
34557 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34559 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34560 Replace "jmp L(pseudo_end)" with "ret".
34561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34564 2012-05-23 Andreas Jaeger <aj@suse.de>
34566 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34567 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34569 2012-05-23 Andreas Jaeger <aj@suse.de>
34570 Maximilian Attems <max@stro.at>
34572 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34575 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34577 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34578 code so that pseudo_end is just ret and the stack pointer is
34579 correct also for static library in error case.
34581 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34583 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34584 move to syscalls.list.
34585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34590 * manual/install.texi (Running make install): Do not mention Linux
34591 kernel version for which pt_chown is not needed.
34592 (Linux): Do not mention problems with nscd with 2.0 kernels.
34593 * INSTALL: Regenerated.
34595 2012-05-23 Andreas Jaeger <aj@suse.de>
34597 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34598 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34600 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34601 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34602 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34603 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34604 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34605 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34606 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34607 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34608 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34609 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34610 * sysdeps/unix/sysv/linux/bits/in.h
34611 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34613 2012-05-22 Roland McGrath <roland@hack.frob.com>
34615 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34616 (PREPARE_VERSION): Just use assert instead, it will be elided
34617 under [NDEBUG] anyway.
34619 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34621 * sysdeps/unix/sysv/linux/Makefile: Include
34622 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34623 (sysdep_routines): Remove sysctl.
34624 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34625 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34626 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34627 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34628 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34630 2012-05-22 Andreas Jaeger <aj@suse.de>
34632 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34633 that pseudo_end is just ret and the stack pointer is correct also
34634 for static library in error case.
34636 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34639 * nss/nsswitch.c (defconfig_entries): New variable.
34640 (__nss_database_lookup): Don't leak defconfig entries.
34641 (nss_parse_service_list): Don't leak on error paths.
34642 (free_database_entries): New function.
34643 (free_defconfig): New function.
34644 (free_mem): Move common code to free_database_entries.
34646 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34648 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34650 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34652 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34653 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34656 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34657 (INTERNAL_SYSCALL_TYPES): Likewise.
34658 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34659 (LOAD_REGS_TYPES_[1-6]): Likewise.
34660 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34661 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34663 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34665 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34666 copysignl for GLIBC_2_0.
34667 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34668 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34670 logbl for GLIBC_2_0.
34671 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34672 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34674 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34677 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34679 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34682 * time/mktime.c: Update copyright years.
34684 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34686 mktime: merge comment-quoting-style change from gnulib
34687 * time/mktime.c: Quote 'like this' in comments.
34688 The GNU coding standards suggest that we no longer quote `like this',
34689 as "`" and "'" are typically rendered asymmetrically nowadays.
34690 The typical gnulib style is to quote 'like this' when quoting
34691 code, and "like this" when quoting English.
34693 * time/mktime.c (compile-command): Add "-I.".
34695 mktime: merge mktime-internal.h change from gnulib
34696 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34698 mktime: merge time_r change from gnulib
34699 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34701 mktime: merge DEBUG change from gnulib
34702 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34703 case system <time.h> has a #define.
34705 mktime: merge <sys/types.h> change from gnulib
34706 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34707 since <time.t> is now guaranteed to define time_t.
34709 mktime: merge HAVE_CONFIG_H change from gnulib
34710 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34712 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34717 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34719 (struct rusage): Use anonymous union to pad each field to
34722 2012-05-21 David S. Miller <davem@davemloft.net>
34724 * Makefules (o-iterator): Remove .s cases.
34725 (compile-command.s): Delete.
34726 (COMPILE.s): Delete.
34727 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34729 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34731 * configure.in (libc_cv_predef_stack_protector): Only consider
34732 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34733 * configure: Regenerated.
34735 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34738 New macro. Use R*LP on int and pointer.
34739 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34740 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34741 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34742 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34744 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34745 [__WORDSIZE_TIME64_COMPAT32] instead of
34746 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34747 (struct utmp): Likewise.
34748 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34749 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34751 (__WORDSIZE_TIME64_COMPAT32): This.
34752 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34753 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34754 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34755 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34756 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34757 (__WORDSIZE_TIME64_COMPAT32): New macro.
34759 2012-05-21 Andreas Jaeger <aj@suse.de>
34761 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34762 only if [SHARED]. Add prototype for __wcschr_ia32.
34764 2012-05-21 Roland McGrath <roland@hack.frob.com>
34766 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34767 of %rbp unmolested in the jmp_buf while mangling the low bits.
34768 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34769 unmolested high bits of %rbp while demangling the low bits.
34770 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34772 2012-05-21 Andreas Jaeger <aj@suse.de>
34774 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34775 * sunrpc/svc_simple.c: Use it for registerrpc.
34776 * sunrpc/xcrypt.c: Use it for passwd2des.
34778 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34780 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34782 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34783 Don't define if [__SYSCALL_WORDSIZE != 32].
34784 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34787 2012-05-21 Bruno Haible <bruno@clisp.org>
34788 Andreas Jaeger <aj@suse.de>
34790 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34791 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34792 inptr and inend for must_buffer_ch.
34793 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34794 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34795 * stdio-common/Makefile (tests): Remove bug15.
34796 (bug15-ENV): Remove macro.
34797 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34800 2012-05-19 Andreas Jaeger <aj@suse.de>
34801 Roland McGrath <roland@hack.frob.com>
34803 * manual/contrib.texi: Completely rewritten. It contains now an
34804 alphabetical list of contributors and their contributions.
34806 2012-05-21 Richard Henderson <rth@twiddle.net>
34808 * misc/getauxval.c (__getauxval): Use unsigned long int.
34809 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34810 (getauxval): Use unsigned long int.
34812 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34814 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34816 2012-05-21 Roland McGrath <roland@hack.frob.com>
34818 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34819 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34820 __alignof__ (long double).
34822 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34826 2012-05-20 Richard Henderson <rth@twiddle.net>
34828 * misc/getauxval.c: New file.
34829 * misc/sys/auxv.h: New file.
34830 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34831 (routines): Add getauxval.
34832 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34833 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34834 * elf/dl-sysdep.c (_dl_auxv): Remove.
34835 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34836 * elf/dl-support.c (_dl_auxv): New variable.
34837 (_dl_aux_init): Initialize it.
34838 * manual/startup.texi (Auxiliary Vector): New node.
34839 * sysdeps/generic/bits/hwcap.h: New file.
34840 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34841 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34842 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34843 * sysdeps/sparc/sysdep.h: ... here. Include it.
34844 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34845 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34851 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34857 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34861 2012-05-19 David S. Miller <davem@davemloft.net>
34863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34865 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34868 * math/s_ccosh.c: Include <float.h>
34869 (__ccosh): Avoid internal overflow calculating sinh and cosh
34870 values before multiplying by sin and cos values.
34871 * math/s_ccoshf.c: Likewise.
34872 * math/s_ccoshl.c: Likewise.
34873 * math/s_csin.c: Likewise.
34874 * math/s_csinf.c: Likewise.
34875 * math/s_csinl.c: Likewise.
34876 * math/s_csinh.c: Likewise.
34877 * math/s_csinhf.c: Likewise.
34878 * math/s_csinhl.c: Likewise.
34879 * math/libm-test.inc (ccos_test): Add more tests.
34880 (ccosh_test): Likewise.
34881 (csin_test): Likewise.
34882 (csinh_test): Likewise.
34883 * sysdeps/i386/fpu/libm-test-ulps: Update.
34884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34886 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34888 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34889 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34891 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34893 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34895 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34896 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34897 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34898 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34899 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34900 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34901 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34902 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34903 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34904 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34905 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34906 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34907 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34908 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34909 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34910 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34911 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34912 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34913 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34914 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34915 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34916 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34917 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34918 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34919 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34920 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34921 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34922 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34923 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34924 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34925 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34927 2012-05-18 Andreas Jaeger <aj@suse.de>
34929 * csu/.gitignore: Delete.
34931 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34933 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34934 (timex): Use __syscall_slong_t.
34936 2012-05-18 Andreas Jaeger <aj@suse.de>
34937 Carlos O'Donell <carlos_odonell@mentor.com>
34939 * manual/install.texi (Configuring and compiling): Update
34940 description about files modified in the source directory.
34941 * INSTALL: Regenerated.
34943 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34945 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34946 value. Use "or" to set return value to -1.
34947 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34948 negate return value.
34950 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34952 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34953 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34954 failure if the compiler has Graphite support disabled.
34955 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34957 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34958 (CFLAGS-memmove.c): Likewise.
34959 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34962 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34964 * sysdeps/x86_64/x32/_itoa.h: New file.
34966 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34967 getdents system call only if kernel and user dirents have the
34968 same d_ino and d_off.
34970 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34971 LLONG_MAX != LONG_MAX.
34972 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34973 (_fitoa_word): Likewise.
34975 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34977 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34978 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34979 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34981 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34982 include <bits/wordsize.h>. Check __x86_64__ instead of
34984 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34985 if __x86_64__ is defined. Use anonymous union on fpstate.
34987 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34990 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34992 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34993 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34994 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34995 Refer to _rtld_local_ro instead of _rtld_global_ro.
34996 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34998 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35000 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35002 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35003 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35004 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35006 * sysdeps/powerpc/powerpc32/dl-machine.c
35007 (__elf_machine_runtime_setup) [PROF]: Don't reference
35010 2012-05-18 Andreas Jaeger <aj@suse.de>
35012 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35013 function only available for GCCs before 3.4 since GCC 3.4
35014 introduced a builtin.
35016 (llrintf): Likewise.
35017 (llrint): Likewise.
35024 (nearbyint): Likewise.
35025 (nearbyintf): Likewise.
35029 (floorf): Likewise.
35031 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35033 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35034 on both fields and cast pointer to __syscall_ulong_t.
35036 * bits/types.h (__fsword_t): New type.
35037 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35038 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35039 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35040 (__FSWORD_T_TYPE): Likewise.
35041 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35042 (__FSWORD_T_TYPE): Likewise.
35043 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35044 (__FSWORD_T_TYPE): Likewise.
35045 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35046 (__FSWORD_T_TYPE): Likewise.
35047 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35048 __SWORD_TYPE with __fsword_t.
35049 (statfs64): Likewise.
35051 2012-05-17 David S. Miller <davem@davemloft.net>
35053 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35055 2012-05-17 Andreas Jaeger <aj@suse.de>
35057 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35060 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35062 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35064 2012-05-17 Andreas Jaeger <aj@suse.de>
35066 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35069 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35071 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35073 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35075 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35076 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35078 2012-05-17 Andreas Jaeger <aj@suse.de>
35079 Carlos O'Donell <carlos_odonell@mentor.com>
35082 * sysdeps/x86_64/multiarch/init-arch.h
35083 (bit_YMM_Usable): Rename to...
35084 (bit_AVX_Usable): ... this.
35085 (bit_FMA4_Usable): New macro.
35086 (bit_XMM_state): New macro.
35087 (bit_YMM_state): New macro.
35088 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35089 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35090 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35091 (CPUID_OSXSAVE): New macro.
35092 (CPUID_AVX): New macro.
35093 (CPUID_FMA4): New macro.
35094 (index_YMM_Usable): Rename to...
35095 (index_AVX_Usable): ... this.
35096 (HAS_AVX): Use HAS_ARCH_FEATURE.
35097 (HAS_FMA4): Likewise.
35098 (HAS_YMM_USABLE): Remove.
35099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35100 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35102 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35103 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35104 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35105 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35106 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35108 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35110 * math/libm-test.c: Support platforms without multiple rounding modes.
35111 * math/bug-nextafter.c: Support platforms without FP exceptions.
35112 * math/bug-nexttoward.c: Likewise.
35113 * math/test-fenv.c: Likewise.
35114 * math/test-misc.c: Likewise.
35115 * stdlib/bug-getcontext.c: Likewise.
35117 2012-05-17 Andreas Jaeger <aj@suse.de>
35119 * manual/examples/search.c (critter_cmp): Change signature to
35121 * manual/string.texi (Collation Functions): Likewise.
35123 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35125 * bits/types.h: Fold copyright years.
35126 * bits/typesizes.h: Likewise.
35127 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35128 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35131 * time/time.h: Likewise.
35133 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35136 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35137 in instead of returning them. Return void.
35138 (__libc_mallinfo): Accumulate over all arenas.
35139 (__malloc_stats): Adjust for change in int_mallinfo interface.
35141 2012-05-16 Roland McGrath <roland@hack.frob.com>
35144 * configure.in (NM): Add AC_CHECK_TOOL for it.
35145 (libc_extra_cflags): New substituted variable.
35146 Check for -fstack-protector being used implicitly.
35147 * configure: Regenerated.
35148 * config.make.in (config-extra-cflags): New variable,
35149 gets @libc_extra_cflags@.
35150 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35153 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35154 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35155 * configure: Regenerated.
35156 * config.make.in (CPPUNDEFS): New substituted variable.
35157 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35158 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35159 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35161 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35163 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35164 (mq_attr): Use __syscall_slong_t.
35166 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35168 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35169 Check __x86_64__ instead of __WORDSIZE.
35170 (_STAT_VER_LINUX): Likewise.
35171 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35172 __syscall_ulong_t and __syscall_slong_t.
35173 (stat64): Likewise.
35175 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35177 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35179 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35181 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35183 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35185 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35188 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35189 include <bits/wordsize.h>. Check __x86_64__ instead of
35191 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35193 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35195 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35196 include <bits/wordsize.h>. Check __x86_64__ instead of
35198 (user_regs_struct): Use "__extension__ unsigned long long"
35199 instead of "unsigned long" if __x86_64__ is defined.
35200 (user): Likewise. Pad after pointer field if __ILP32__ is
35203 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35205 * configure.in (makeinfo): Require version 4.5 or later. Allow
35207 * configure: Regenerated.
35208 * manual/install.texi (texinfo): Increase version requirement to
35210 * INSTALL: Regenerated.
35212 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35214 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35216 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35218 * sysdeps/x86_64/x32/ffs.c: New file.
35220 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35222 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35223 defined. Use __syscall_ulong_t.
35224 (shminfo): Use __syscall_ulong_t.
35225 (shm_info): Likewise.
35227 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35230 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35232 (msgqnum_t): Use __syscall_ulong_t.
35233 (msglen_t): Likewise.
35234 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35237 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35238 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35240 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35242 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35243 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35245 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35248 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35249 include <bits/wordsize.h>. Check __x86_64__ instead of
35252 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35253 "unsigned long long int" if __x86_64__ is defined.
35254 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35256 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35257 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35258 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35260 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35262 (GET_PC): Cast to uintptr_t first.
35263 (GET_FRAME): Likewise.
35264 (GET_STACK): Likewise.
35266 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35267 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35268 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35269 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35270 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35271 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35272 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35273 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35274 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35275 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35276 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35277 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35278 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35279 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35280 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35281 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35282 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35283 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35284 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35285 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35286 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35287 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35288 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35289 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35290 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35291 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35292 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35293 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35294 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35296 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35298 * Makerules (+depfiles): Also collect depfiles from .oS in
35300 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35301 .oS, $(libnldbl-routines)).
35303 * Makerules (native-compile-mkdep-flags): Define.
35304 * sunrpc/Makefile (extra-objs): Add $(addprefix
35305 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35306 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35307 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35308 calling $(make-target-directory).
35310 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35312 * bits/types.h (__snseconds_t): Removed.
35313 * time/time.h (struct timespec): Replace __snseconds_t with
35315 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35316 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35318 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35319 (__SNSECONDS_T_TYPE): Likewise.
35320 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35321 (__SNSECONDS_T_TYPE): Likewise.
35322 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35323 (__SNSECONDS_T_TYPE): Likewise.
35325 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35327 * sysdeps/mach/hurd/bits/typesizes.h
35328 (__SYSCALL_SLONG_TYPE): New macro.
35329 (__SYSCALL_ULONG_TYPE): Likewise.
35331 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35333 * bits/types.h (__syscall_slong_t): New type.
35334 (__syscall_ulong_t): Likewise.
35336 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35337 (__SYSCALL_ULONG_TYPE): Likewise.
35338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35339 (__SYSCALL_SLONG_TYPE): Likewise.
35340 (__SYSCALL_ULONG_TYPE): Likewise.
35341 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35342 (__SYSCALL_SLONG_TYPE): Likewise.
35343 (__SYSCALL_ULONG_TYPE): Likewise.
35344 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35345 (__SYSCALL_SLONG_TYPE): Likewise.
35346 (__SYSCALL_ULONG_TYPE): Likewise.
35348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35350 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35351 Add sigaltstack-offsets.sym.
35352 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35353 <sigaltstack-offsets.h>.
35354 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35355 longjmp_msg pointer.
35356 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35357 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35359 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35361 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35363 * elf/stackguard-macros.h: Remove file.
35364 * sysdeps/generic/stackguard-macros.h: New file.
35365 * sysdeps/i386/stackguard-macros.h: Likewise.
35366 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35367 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35368 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35369 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35370 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35371 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35372 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35373 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35374 <elf/stackguard-macros.h>.
35377 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35378 __aligned__ in attribute.
35379 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35380 (gregset_t): Likewise.
35382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35384 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35385 * sysdeps/x86_64/64/Implies-after: Here. New file.
35386 * sysdeps/x86_64/x32/Implies-after: New file.
35388 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35390 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35391 and access return value for _dl_profile_fixup. Use R10_LP to
35394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35396 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35400 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35401 * sysdeps/x86_64/x32/sysdep.h: New file.
35403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35405 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35406 * sysdeps/x86_64/setjmp.S: Likewise.
35408 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35410 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35411 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35412 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35413 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35414 remove unused global constant.
35416 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35418 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35419 include of <not-cancel.h>.
35421 2012-05-15 Roland McGrath <roland@hack.frob.com>
35423 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35425 2012-05-15 Jeff Law <law@redhat.com>
35426 Andreas Jaeger <aj@suse.de>
35429 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35431 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35432 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35433 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35434 code changing __hst_map_handle.map.
35436 2012-05-15 Roland McGrath <roland@hack.frob.com>
35438 * configure.in (sysnames): Look for Implies-before and Implies-after
35440 * configure: Regenerated.
35442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35444 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35445 8-byte data alignment with LP_SIZE alignment.
35447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35449 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35452 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35454 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35458 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35459 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35460 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35462 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35466 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35467 (stackinfo_sub_sp): Likewise.
35469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35471 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35474 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35476 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35479 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35481 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35486 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35490 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35491 into R11_LP and load __x86_64_shared_cache_size_half into
35494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35496 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35499 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35505 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35507 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35508 powerpc32/power7/fpu/s_logb.c via #include.
35509 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35510 powerpc32/power7/fpu/s_logbf.c via #include.
35511 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35512 powerpc32/power7/fpu/s_logbl.c via #include.
35514 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35516 * README.libm: Remove file.
35518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35520 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35521 count for x32. Use R*_LP and omit operand-size suffix.
35523 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35525 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35526 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35527 * sysdeps/x86_64/x32/shlib-versions: New file.
35529 2012-05-14 Roland McGrath <roland@hack.frob.com>
35531 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35532 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35533 Use _dl_fatal_printf instead.
35535 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35537 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35538 set if not set by the user. Do not allow for being unset.
35539 * sysdeps/unix/sysv/linux/configure: Regenerated.
35541 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35543 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35544 the `q' suffix from lea and replace .quad with ASM_ADDR.
35546 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35549 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35551 (PTR_DEMANGLE): Likewise.
35553 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35555 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35557 (ASM_ADDR): Likewise.
35558 (RAX_LP): Likewise.
35559 (RBP_LP): Likewise.
35560 (RBX_LP): Likewise.
35561 (RCX_LP): Likewise.
35562 (RDI_LP): Likewise.
35563 (RSI_LP): Likewise.
35564 (RSP_LP): Likewise.
35567 (R10_LP): Likewise.
35568 (R10_LP): Likewise.
35569 (R11_LP): Likewise.
35570 (R12_LP): Likewise.
35571 (R13_LP): Likewise.
35572 (R14_LP): Likewise.
35573 (R15_LP): Likewise.
35575 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35577 * sysdeps/x86_64/x32/dl-machine.h: New file.
35579 2012-05-14 Andreas Jaeger <aj@suse.de>
35581 * manual/Makefile (subdir): Remove export of subdir.
35582 (all): Remove target.
35583 (.PHONY): Remove all from list.
35584 (mkinstalldirs): Remove.
35585 (.PHONY): Remove installdirs from list.
35586 ($(inst_infodir)/libc.info): Use make-target-directory.
35587 (installdirs): Remove.
35588 (subdir_%): Remove.
35589 (glibc-targets): Remove.
35592 ($(objpfx)stubs ../po/manual.pot): Remove.
35593 ($(objpfx)stamp%): Remove.
35594 (make-target-directory): Remove.
35595 (subdir_install): Remove.
35596 (routines): Remove.
35603 * manual/.gitignore: Remove, it's not needed anymore.
35604 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35606 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35608 (texis): Renamed to $(objpfx)texis.
35609 (texis-path): New, contains path to generated files.
35610 (chapters.%): Use texis-path for complete path, add extra argument
35612 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35613 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35614 (summary,texi, stamp-summary): Use complete path of
35615 files. Generate files in build dir.
35616 (dir-add.texi): Build in build dir.
35617 (libm-err.texi,stamp-libm-err): Likewise.
35618 (version.texi, stamp-version): Likewise.
35619 (.%c.texi): Likewise.
35620 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35621 (mostlyclean): Remove target.
35622 (realclean): Remove target.
35623 (generated): Add new variable with contents from mostlyclean and
35624 realclean, remove entries duplicated in common-mostlyclean, add
35625 stamp-libm-err and stamp-version.
35626 (generated-dirs): Add libc directory.
35627 ($(inst_infodir)/libc.info): Install files from build dir.
35629 * manual/install.texi (Configuring and compiling): Adjust since
35630 the info files are not part of the tar ball anymore.
35632 2012-05-14 Andreas Jaeger <aj@suse.de>
35634 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35637 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35640 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35641 to 2.2.0 where earlier.
35642 * sysdeps/unix/sysv/linux/configure: Regenerated.
35643 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35644 Remove conditional code.
35645 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35646 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35647 Remove conditional code.
35648 [!__NR_lchown]: Likewise.
35649 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35650 [__NR_lchown]: Likewise.
35651 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35652 comment referencing __ASSUME_LCHOWN_SYSCALL.
35653 * sysdeps/unix/sysv/linux/i386/sigaction.c
35654 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35655 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35656 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35657 Remove conditional code.
35658 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35659 (__protocol_available): Remove #if 0 code.
35660 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35662 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35663 * sysdeps/unix/sysv/linux/kernel-features.h
35664 (__ASSUME_GETCWD_SYSCALL): Don't define.
35665 (__ASSUME_REALTIME_SIGNALS): Likewise.
35666 (__ASSUME_PREAD_SYSCALL): Likewise.
35667 (__ASSUME_PWRITE_SYSCALL): Likewise.
35668 (__ASSUME_POLL_SYSCALL): Likewise.
35669 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35670 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35672 (__ASSUME_SIOCGIFNAME): Don't define.
35673 (__ASSUME_MSG_NOSIGNAL): Likewise.
35674 (__ASSUME_SENDFILE): Define unconditionally.
35675 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35676 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35678 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35679 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35680 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35681 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35682 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35683 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35684 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35686 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35687 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35689 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35692 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35693 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35695 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35698 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35699 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35701 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35704 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35705 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35707 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35708 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35709 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35710 Remove conditional code.
35711 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35712 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35713 Remove conditional code.
35714 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35715 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35716 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35717 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35718 Remove conditional code.
35719 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35720 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35721 Remove conditional code.
35722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35723 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35724 Remove conditional code.
35725 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35726 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35727 Remove conditional code.
35728 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35729 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35730 Remove conditional code.
35731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35732 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35733 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35735 * sysdeps/unix/sysv/linux/sigaction.c
35736 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35737 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35738 * sysdeps/unix/sysv/linux/sigpending.c
35739 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35740 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35741 * sysdeps/unix/sysv/linux/sigprocmask.c
35742 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35743 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35744 * sysdeps/unix/sysv/linux/sigsuspend.c
35745 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35746 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35747 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35748 (__libc_missing_rt_sigs): Remove.
35749 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35750 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35751 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35752 Remove conditional code.
35753 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35754 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35756 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35757 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35758 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35759 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35761 2012-05-14 Andreas Jaeger <aj@suse.de>
35763 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35764 it's not used in glibc.
35765 (__coshm1): Likewise.
35766 (__acosh1p): Likewise.
35769 * manual/string.texi (Copying and Concatenation): Add missing
35770 variable in concat example.
35771 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35773 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35776 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35777 __builtin_clzl with __builtin_clzll.
35779 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35782 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35785 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35787 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35788 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35789 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35790 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35792 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35794 * NEWS: Update ia64 info.
35796 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35798 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35801 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35803 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35804 * sysdeps/unix/syscalls.list (dup3): Likewise.
35805 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35806 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35808 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35810 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35811 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35813 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35815 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35817 (TLS_IE): Use mov/add instead of movq/addq to load thread
35819 (TLS_GD_PREFIX): New.
35822 2012-05-11 David S. Miller <davem@davemloft.net>
35824 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35825 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35826 (_FPU_SETCW): Likewise.
35828 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35830 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35831 is 32-byte aligned.
35833 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35836 * iconvdata/gb18030.c: Update tables.
35837 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35838 characters specially.
35839 (BODY for TO_LOOP): Add encoding of missing ranges.
35841 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35844 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35845 * sysdeps/mach/hurd/dup3.c: Likewise.
35846 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35847 * sysdeps/powerpc/memmove.c:: Likewise.
35849 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35851 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35852 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35854 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35856 * elf/elf.h (R_X86_64_RELATIVE64): New.
35857 (R_X86_64_NUM): Updated.
35858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35859 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35860 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35861 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35862 tst-quad1pie tst-quad2pie
35863 (modules-names): Add tst-quadmod1 tst-quadmod2.
35864 ($(objpfx)tst-quad1): New dependency.
35865 ($(objpfx)tst-quad2): Likewise.
35866 ($(objpfx)tst-quad1pie): Likewise.
35867 ($(objpfx)tst-quad2pie): Likewise.
35868 * sysdeps/x86_64/tst-quad1.c: New file.
35869 * sysdeps/x86_64/tst-quad1pie.c: New file.
35870 * sysdeps/x86_64/tst-quad2.c: Likewise.
35871 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35872 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35873 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35874 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35875 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35877 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35879 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35880 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35881 * streams/stropts.h (t_scalar_t): Define type.
35883 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35884 (_PATH_PRESERVE): Set to "/var/lib".
35885 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35887 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35890 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35891 if __dir_mkfile succeeded.
35893 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35894 checking for _hurd_dtablesize. Unlock it right after having
35895 finished _hurd_dtable allocation.
35897 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35899 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35900 * sysdeps/mach/hurd/configure: Regenerated.
35901 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35902 special-casing to...
35903 * sysdeps/gnu/configure.in: ... this new file.
35904 * sysdeps/unix/sysv/linux/configure: Regenerated.
35905 * sysdeps/gnu/configure: New generated file.
35907 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35908 for Linux: use nsec instead of usec, as well as:
35909 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35910 members of type struct timespec.
35911 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35913 (struct stat64): Likewise.
35914 (_STATBUF_ST_NSEC): New macro.
35915 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35917 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35918 __strtoul_internal rather than strtoul.
35920 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35922 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35925 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35927 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35928 which preserves existing values.
35929 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35931 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35933 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35934 TIMEOUT values. Return EINVAL for NFDS values either negative or
35935 greater than FD_SETSIZE.
35937 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35939 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35940 allocated, call __vm_protect to finish enabling the existing space, and
35941 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35942 allocate the remainder.
35944 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35946 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35947 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35951 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35952 sysdeps/mach/hurd/readlink.c.
35954 * posix/tst-sysconf.c (posix_options): Only use
35955 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35956 _POSIX_SYNCHRONIZED_IO when they are defined
35957 * sysdeps/mach/hurd/bits/posix_opt.h:
35958 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35959 (_XOPEN_REALTIME): Undefine macro.
35960 (_XOPEN_REALTIME_THREADS): Undefine macro.
35961 (_XOPEN_SHM): Undefine macro.
35962 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35964 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35966 (_POSIX_ASYNC_IO): Undefine macro.
35967 (_POSIX_PRIORITIZED_IO): Undefine macro.
35968 (_POSIX_SPIN_LOCKS): Define macro to -1.
35970 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35971 SA_NODEFER, SA_RESETHAND.
35972 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35973 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35976 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35978 * elf/Makefile (pldd-modules): Define unconditionally.
35980 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35982 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35984 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35986 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35987 Return ENOENT when name is empty.
35988 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35992 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35994 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35996 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35998 Fix mlock in all cases except non-readable pages.
35999 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36000 instead of VM_PROT_ALL as parameter to __vm_wire function.
36002 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36003 (__mkdir): When path is `/', just fail with EEXIST.
36004 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36008 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36009 <sys/uio.h> (for writev).
36010 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36011 and <sys/param.h> (for MIN).
36013 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36015 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36016 REQUESTED_TIME. Properly set the remaining time and return EINTR
36019 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36021 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36022 Depend on against $(link-rpcuserlibs).
36024 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36026 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36027 (__libc_stack_end): Do not use attribute_relro.
36028 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36029 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36030 to libthread-provided value.
36031 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36034 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36037 * bits/libc-lock.h (__libc_once_get): New macro.
36038 * sysdeps/mach/bits/libc-lock.h: Likewise.
36039 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36040 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36041 instead of using implementation details.
36043 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36044 * libio/freopen.c: Likewise.
36045 * libio/freopen64.c: Likewise.
36046 * misc/syslog.c: Likewise.
36047 * nscd/connections.c: Likewise.
36048 * nscd/netgroupcache.c: Likewise.
36049 * sysdeps/posix/getcwd.c: Likewise.
36051 2012-05-10 Roland McGrath <roland@hack.frob.com>
36053 * math/w_ilogbf.c: Add #include <limits.h>.
36055 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36057 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36058 path instead of returning without unlocking.
36060 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36061 immediate-write ioctls.
36062 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36064 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36066 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36067 __builtin_frame_address instead of making assumptions about the
36068 location of the return address relative to DATA. Force early load of
36069 the return address.
36070 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36071 __builtin_frame_address.
36074 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36075 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36076 implement dup3 and do some further code clean-ups.
36077 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36078 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36082 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36084 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36085 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36086 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36087 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36088 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36091 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36092 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36093 when handler == SIG_ERR, not when handler != SIG_ERR.
36095 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36097 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36098 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36101 accept4 for GNU Hurd.
36102 * include/sys/socket.h (__libc_accept4): New prototype.
36103 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36104 to implement __libc_accept4.
36105 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36107 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36109 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36110 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36111 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36112 signal-defines.sym.
36114 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36116 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36118 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36120 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36121 assertion on O_CLOEXEC flag.
36122 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36123 * hurd/intern-fd.c: Likewise.
36124 * hurd/port2fd.c: Likewise.
36126 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36129 * bits/in.h (IPV6_PKTINFO): Define new macro.
36130 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36132 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36137 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36138 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36139 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36140 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36141 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36142 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36143 * math/libm-test.inc (logb_test) : Additional logb tests.
36145 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36146 Andreas Jaeger <aj@suse.de>
36148 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36149 * configure: Regenerated.
36150 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36151 * config.make.in (link-obsolete-rpc): New substituted variable.
36152 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36153 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36154 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36155 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36156 so that libc.a contains the symbols.
36157 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36158 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36159 * sunrpc/auth_none.c: Likewise.
36160 * sunrpc/auth_unix.c: Likewise.
36161 * sunrpc/authdes_prot.c: Likewise.
36162 * sunrpc/authuxprot.c: Likewise.
36163 * sunrpc/clnt_gen.c: Likewise.
36164 * sunrpc/clnt_perr.c: Likewise.
36165 * sunrpc/clnt_raw.c: Likewise.
36166 * sunrpc/clnt_simp.c: Likewise.
36167 * sunrpc/clnt_tcp.c: Likewise.
36168 * sunrpc/clnt_udp.c: Likewise.
36169 * sunrpc/clnt_unix.c: Likewise.
36170 * sunrpc/des_crypt.c: Likewise.
36171 * sunrpc/des_soft.c: Likewise.
36172 * sunrpc/get_myaddr.c: Likewise.
36173 * sunrpc/key_call.c: Likewise.
36174 * sunrpc/key_prot.c: Likewise.
36175 * sunrpc/netname.c: Likewise.
36176 * sunrpc/pm_getmaps.c: Likewise.
36177 * sunrpc/pm_getport.c: Likewise.
36178 * sunrpc/pmap_clnt.c: Likewise.
36179 * sunrpc/pmap_prot.c: Likewise.
36180 * sunrpc/pmap_prot2.c: Likewise.
36181 * sunrpc/pmap_rmt.c: Likewise.
36182 * sunrpc/publickey.c: Likewise.
36183 * sunrpc/rpc_cmsg.c: Likewise.
36184 * sunrpc/rpc_common.c: Likewise.
36185 * sunrpc/rpc_dtable.c: Likewise.
36186 * sunrpc/rpc_prot.c: Likewise.
36187 * sunrpc/rpc_thread.c: Likewise.
36188 * sunrpc/rtime.c: Likewise.
36189 * sunrpc/svc.c: Likewise.
36190 * sunrpc/svc_auth.c: Likewise.
36191 * sunrpc/svc_raw.c: Likewise.
36192 * sunrpc/svc_run.c: Likewise.
36193 * sunrpc/svc_tcp.c: Likewise.
36194 * sunrpc/svc_udp.c: Likewise.
36195 * sunrpc/svc_unix.c: Likewise.
36196 * sunrpc/svcauth_des.c: Likewise.
36197 * sunrpc/xcrypt.c: Likewise.
36198 * sunrpc/xdr.c: Likewise.
36199 * sunrpc/xdr_array.c: Likewise.
36200 * sunrpc/xdr_float.c: Likewise.
36201 * sunrpc/xdr_intXX_t.c: Likewise.
36202 * sunrpc/xdr_mem.c: Likewise.
36203 * sunrpc/xdr_rec.c: Likewise.
36204 * sunrpc/xdr_ref.c: Likewise.
36205 * sunrpc/xdr_sizeof.c: Likewise.
36206 * sunrpc/xdr_stdio.c: Likewise.
36208 2012-05-10 Roland McGrath <roland@hack.frob.com>
36210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36211 change. Update copyright years.
36213 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36215 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36217 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36218 Joseph Myers <joseph@codesourcery.com>
36219 Paul Pluzhnikov <ppluzhnikov@google.com>
36222 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36224 [cross-compiling] (extra-libs): Likewise.
36225 [cross-compiling] (extra-libs-others): Likewise.
36226 [cross-compiling] (librpcsvc-routines): Likewise.
36227 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36228 [cross-compiling] (omit-deps): Likewise.
36229 (sunrpc-CPPFLAGS): New variable.
36230 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36231 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36232 (cross-rpcgen-objs): New variable.
36233 (extra-objs): Append $(cross-rpcgen-objs).
36234 ($(cross-rpcgen-objs)): New rule.
36235 ($(objpfx)cross-rpcgen): Likewise.
36236 (rpcgen-cmd): Define to use $(built-program-file). Expand
36238 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36239 ($(objpfx)x%.stmp): Likewise.
36240 * sunrpc/proto.h [IS_IN_build] (_): Define.
36241 [IS_IN_build] (_libc_intl_domainname): Likewise.
36243 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36246 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36247 and R_X86_64_TPOFF64.
36249 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36251 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36252 sysdeps/unix/sysv/syscalls.list.
36255 * sysdeps/unix/sysv/syscalls.list: Remove file.
36257 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36260 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36261 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36262 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36263 (__LC_IDENTIFICATION): Make these macros useful in #if
36264 expressions, as required by C99.
36266 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36268 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36269 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36272 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36274 * stdlib/longlong.h: Updated from GCC.
36276 2012-05-09 Andreas Jaeger <aj@suse.de>
36278 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36279 default is first entry.
36280 (run_mode): Set type.
36281 (main): Remove informal message about syslog.
36282 (options): Fix typo.
36285 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36288 (llrintf): Likewise.
36289 (llrint): Likewise.
36292 (nearbyint): Likewise.
36293 (nearbyintf): Likewise.
36295 2012-05-09 Andreas Jaeger <aj@suse.de>
36296 Pedro Alves <palves@redhat.com>
36298 * nscd/nscd.c (run_mode): Use enum.
36299 (main): Cleanup coding style issue.
36301 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36302 Andreas Jaeger <aj@suse.de>
36304 * nscd/nscd.c (go_background): Replaced with...
36305 (run_mode): ... this.
36306 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36307 (options): Add -F --foreground.
36308 (main): Implement it.
36309 (parse_opt): Parse it.
36311 2012-05-09 Andreas Jaeger <aj@suse.de>
36314 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36315 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36316 -Wconversion warning.
36317 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36320 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36322 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36324 (LC_ALL): Use macro-int-constant.
36325 (LC_COLLATE): Likewise.
36326 (LC_CTYPE): Likewise.
36327 (LC_MESSAGES): Likewise.
36328 (LC_MONETARY): Likewise.
36329 (LC_NUMERIC): Likewise.
36330 (LC_TIME): Likewise.
36331 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36332 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36333 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36334 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36336 [C99-based standards] (float_t): Expect type.
36337 [C99-based standards] (double_t): Expect type.
36338 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36340 [C99-based standards] (HUGE_VALL): Likewise.
36341 [C99-based standards] (INFINITY): Likewise.
36342 [C99-based standards] (NAN): Likewise.
36343 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36344 [C99-based standards] (FP_NAN): Likewise.
36345 [C99-based standards] (FP_NORMAL): Likewise.
36346 [C99-based standards] (FP_SUBNORMAL): Likewise.
36347 [C99-based standards] (FP_ZERO): Likewise.
36348 [C99-based standards] (FP_FAST_FMA): Use
36349 optional-macro-int-constant. Specify type. Require == 1.
36350 [C99-based standards] (FP_FAST_FMAF): Likewise.
36351 [C99-based standards] (FP_FAST_FMAL): Likewise.
36352 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36353 [C99-based standards] (FP_ILOGBNAN): Likewise.
36354 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36356 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36357 [C99-based standards] (math_errhandling): Specify type.
36358 [ISO99 || ISO11] (signgam): Do not allow.
36359 [non-C99-based standards] (copysignf): Do not allow.
36360 [non-C99-based standards] (exp2f): Likewise.
36361 [non-C99-based standards] (log2f): Likewise.
36362 [non-C99-based standards] (modff): Allow.
36363 [non-C99-based standards] (erff): Do not allow.
36364 [non-C99-based standards] (erfcf): Likewise.
36365 [non-C99-based standards] (gammaf): Likewise.
36366 [non-C99-based standards] (hypotf): Likewise.
36367 [non-C99-based standards] (j0f): Likewise.
36368 [non-C99-based standards] (j1f): Likewise.
36369 [non-C99-based standards] (jnf): Likewise.
36370 [non-C99-based standards] (lgammaf): Likewise.
36371 [non-C99-based standards] (tgammaf): Likewise.
36372 [non-C99-based standards] (y0f): Likewise.
36373 [non-C99-based standards] (y1f): Likewise.
36374 [non-C99-based standards] (ynf): Likewise.
36375 [non-C99-based standards] (isnanf): Likewise.
36376 [non-C99-based standards] (acoshf): Likewise.
36377 [non-C99-based standards] (asinhf): Likewise.
36378 [non-C99-based standards] (atanhf): Likewise.
36379 [non-C99-based standards] (cbrtf): Likewise.
36380 [non-C99-based standards] (expm1f): Likewise.
36381 [non-C99-based standards] (ilogbf): Likewise.
36382 [non-C99-based standards] (log1pf): Likewise.
36383 [non-C99-based standards] (logbf): Likewise.
36384 [non-C99-based standards] (nextafterf): Likewise.
36385 [non-C99-based standards] (remainderf): Likewise.
36386 [non-C99-based standards] (rintf): Likewise.
36387 [non-C99-based standards] (scalbf): Likewise.
36388 [non-C99-based standards] (copysignl): Likewise.
36389 [non-C99-based standards] (exp2l): Likewise.
36390 [non-C99-based standards] (log2l): Likewise.
36391 [non-C99-based standards] (modfl): Allow.
36392 [non-C99-based standards] (erfl): Do not allow.
36393 [non-C99-based standards] (erfcl): Likewise.
36394 [non-C99-based standards] (gammal): Likewise.
36395 [non-C99-based standards] (hypotl): Likewise.
36396 [non-C99-based standards] (j0l): Likewise.
36397 [non-C99-based standards] (j1l): Likewise.
36398 [non-C99-based standards] (jnl): Likewise.
36399 [non-C99-based standards] (lgammal): Likewise.
36400 [non-C99-based standards] (tgammal): Likewise.
36401 [non-C99-based standards] (y0l): Likewise.
36402 [non-C99-based standards] (y1l): Likewise.
36403 [non-C99-based standards] (ynl): Likewise.
36404 [non-C99-based standards] (isnanl): Likewise.
36405 [non-C99-based standards] (acoshl): Likewise.
36406 [non-C99-based standards] (asinhl): Likewise.
36407 [non-C99-based standards] (atanhl): Likewise.
36408 [non-C99-based standards] (cbrtl): Likewise.
36409 [non-C99-based standards] (expm1l): Likewise.
36410 [non-C99-based standards] (ilogbl): Likewise.
36411 [non-C99-based standards] (log1pl): Likewise.
36412 [non-C99-based standards] (logbl): Likewise.
36413 [non-C99-based standards] (nextafterl): Likewise.
36414 [non-C99-based standards] (remainderl): Likewise.
36415 [non-C99-based standards] (rintl): Likewise.
36416 [non-C99-based standards] (scalbl): Likewise.
36417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36418 [non-C99-based standards] (FP_*): Do not allow.
36419 [C99-based standards] (FP_*): Change to
36420 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36421 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36423 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36424 (SIG_ERR): Likewise.
36425 [X/Open-based standards] (SIG_HOLD): Likewise.
36426 (SIG_IGN): Likewise.
36427 (SIGABRT): Use macro-int-constant. Specify type. Require
36429 (SIGFPE): Likewise.
36430 (SIGILL): Likewise.
36431 (SIGINT): Likewise.
36432 (SIGSEGV): Likewise.
36433 (SIGTER): Likewise.
36434 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36435 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36436 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36437 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36438 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36439 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36440 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36441 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36442 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36443 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36444 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36445 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36446 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36447 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36448 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36449 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36450 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36451 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36452 [X/Open-based standards] (SIGTRAP): Likewise.
36453 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36454 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36455 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36456 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36457 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36460 2012-05-08 Ian Wienand <ianw@vmware.com>
36463 * time/tzset.c (__tzset_parse_tz): Update default rules for
36464 daylight time changes in the Energy Policy Act of 2005.
36466 2012-05-09 Andreas Jaeger <aj@suse.de>
36469 * elf/ldconfig.c (parse_conf): Change string to make clear that
36470 ldconfig only issued a warning if ld.so.conf does not exist.
36472 2012-05-08 David S. Miller <davem@davemloft.net>
36474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36475 movxtod instead of popping the value on the stack.
36477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36479 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36481 * config.h.in: Add HAVE_ARM_PCS_VFP.
36483 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36486 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36487 checking but the checks are disabled for any reason.
36489 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36491 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36492 and ELF64_R_TYPE with ELFW(R_TYPE).
36494 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36496 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36497 (ulimit): Likewise.
36499 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36500 (settimeofday): Likewise.
36502 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36504 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36505 a struct th_u2 inside the union, and move tu_block/tu_code into
36506 a new th_u3 union of tu_block/tu_code inside of that. Move
36507 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36508 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36509 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36510 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36511 (th_stuff): Change to th_u1.tu_stuff.
36513 (th_msg): Change to th_u1.th_u2.tu_data.
36515 2012-05-07 David S. Miller <davem@davemloft.net>
36517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36520 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36521 (SETUP_PIC_REG): Use it.
36522 (SETUP_PIC_REG_LEAF): Use it.
36524 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36528 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36530 (EXPL_FINITE): Likewise.
36531 (FLDLOG): Likewise.
36532 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36533 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36535 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36537 (EXPL_FINITE): Likewise.
36538 (FLDLOG): Likewise.
36539 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36540 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36542 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36543 test of -max_value argument for long double.
36544 * sysdeps/i386/fpu/libm-test-ulps: Update.
36545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36547 2012-05-06 David S. Miller <davem@davemloft.net>
36549 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36550 quad soft-float symbols whose references which are compiler
36552 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36554 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36558 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36560 (EXPL_FINITE): Likewise.
36561 (FLDLOG): Likewise.
36564 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36565 Adjust comments for base varying.
36566 (__expl_finite): Change alias to EXPL_FINITE.
36567 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36569 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36570 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36571 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36572 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36573 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36575 (EXPL_FINITE): Likewise.
36576 (FLDLOG): Likewise.
36579 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36580 Adjust comments for base varying.
36581 (__expl_finite): Change alias to EXPL_FINITE.
36582 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36587 * math/libm-test.inc (check_float_internal): Correct ulp
36588 calculation for subnormal expected results.
36590 2012-05-06 Andreas Jaeger <aj@suse.de>
36592 * Makeconfig (+math-flags): New, set to -frounding-math.
36593 (+cflags): Add +math-flags so that all of glibc gets compiled with
36596 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36598 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36600 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36606 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36607 (__ieee754_expl): Allow for and saturate large arguments.
36608 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36609 (u_threshold): Likewise.
36610 (__exp): Call __ieee754_exp before checking for overflow and
36612 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36613 (u_threshold): Likewise.
36614 (__expf): Call __ieee754_expf before checking for overflow and
36616 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36617 (u_threshold): Likewise.
36618 (__expl): Call __ieee754_expl before checking for overflow and
36620 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36621 (__ieee754_expl): Allow for and saturate large arguments.
36622 * math/libm-test.inc (exp_test): Add another test. Do not allow
36623 missing overflow exception on overflow.
36624 (expm1_test): Do not allow missing overflow exception on overflow.
36626 * sysdeps/i386/fpu/e_expl.c: Move to ...
36627 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36628 rather than using inline asm.
36629 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36630 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36631 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36633 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36636 (signal): Likewise.
36640 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36642 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36643 sysdeps/unix/common/syscalls.list.
36644 (fchmod): Likewise.
36645 (fchown): Likewise.
36646 (ftruncate): Likewise.
36647 (getrusage): Likewise.
36648 (gettimeofday): Likewise.
36649 (setpgid): Likewise.
36650 (setregid): Likewise.
36651 (setreuid): Likewise.
36652 (sigaction): Likewise.
36653 (truncate): Likewise.
36654 (vhangup): Likewise.
36655 * sysdeps/unix/common/syscalls.list: Remove file.
36656 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36657 * sysdeps/unix/sysv/linux/Implies: Likewise.
36659 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36661 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36663 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36667 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36670 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36673 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36676 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36679 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36682 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36685 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36689 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36693 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36696 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36700 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36704 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36706 * sysdeps/unix/common/bits/dirent.h: Remove file.
36707 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36709 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36710 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36711 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36712 * sysdeps/unix/bsd/isatty.c: Likewise.
36713 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36714 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36715 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36717 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36720 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36721 long double comparison inaccuracies.
36722 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36725 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36727 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36728 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36730 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36733 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36734 nonzero digits before rounding a hex value.
36735 * stdlib/tst-strtod.c (tests): Add another test.
36737 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36739 * sysdeps/s390/fpu/libm-test-ulps: Update.
36741 2012-05-03 Andreas Jaeger <aj@suse.de>
36743 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36744 does not get optimized out.
36745 (malloc_opt_barrier): New.
36747 2012-05-03 Andreas Jaeger <aj@suse.de>
36748 Roland McGrath <roland@hack.frob.com>
36750 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36751 intermediate file deletion.
36752 (generated): Add .symlist files.
36754 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36757 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36758 Redirect under this condition.
36759 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36760 [__USE_GNU] (__dprintf_chk): Not under this condition.
36761 [__USE_GNU] (__vdprintf_chk): Likewise.
36762 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36763 under this condition.
36764 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36765 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36766 [__USE_XOPEN2K8] (vdprintf): Likewise.
36767 [__USE_GNU] (__dprintf_chk): Not under this condition.
36768 [__USE_GNU] (__vdprintf_chk): Likewise.
36769 [__USE_GNU] (dprintf): Likewise.
36770 [__USE_GNU] (vdprintf): Likewise.
36772 2012-05-03 Roland McGrath <roland@hack.frob.com>
36774 * elf/Makefile (common-generated): Set this instead of generated for
36775 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36776 $(all-built-dso)-derived lists.
36778 2012-05-03 Andreas Jaeger <aj@suse.de>
36780 * sysdeps/i386/fpu/libm-test-ulps: Update.
36783 * FAQ.in: Likewise.
36784 * scripts/gen-FAQ.pl: Likewise.
36785 * manual/install.texi (Installation): Point to online location of
36787 * Makefile (files-for-dist): Remove FAQ.
36790 2012-05-02 Allan McRae <allan@archlinux.org>
36792 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36793 (LDFLAGS-reldepmod5.so): Likewise.
36794 (LDFLAGS-reldep6mod1.so): Likewise.
36795 (LDFLAGS-reldep6mod4.so): Likewise.
36796 (LDFLAGS-reldep8mod3.so): Likewise.
36797 (LDFLAGS-unload4mod1.so): Likewise.
36798 (LDFLAGS-unload4mod2.so): Likewise.
36799 (LDFLAGS-tst-initorder): Likewise.
36800 (LDFLAGS-tst-initordera2.so): Likewise.
36801 (LDFLAGS-tst-initordera3.so): Likewise.
36802 (LDFLAGS-tst-initordera4.so): Likewise.
36803 (LDFLAGS-tst-initorderb2.so): Likewise.
36804 (LDFLAGS-noload): Likewise.
36805 (LDFLAGS-next): Likewise.
36806 (LDFLAGS-order2mod1.so): Likewise.
36807 (LDFLAGS-order2mod2.so): Likewise.
36808 (LDFLAGS-tst-initorder2): Likewise.
36809 (LDFLAGS-tst-initorder2a.so): Likewise.
36810 (LDFLAGS-tst-initorder2b.so): Likewise.
36811 (LDFLAGS-tst-initorder2c.so): Likewise.
36812 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36814 2012-05-02 David S. Miller <davem@davemloft.net>
36816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36818 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36821 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36823 2012-05-02 Andreas Jaeger <aj@suse.de>
36825 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36826 since we manipulate rounding mode.
36827 (CPPFLAGS-test-idouble.c): Likewise.
36828 (CPPFLAGS-test-ifloat.c): Likewise.
36829 (CFLAGS-test-ldouble.c): Likewise.
36830 (CFLAGS-test-double.c): Likewise.
36831 (CFLAGS-test-float.c): Likewise.
36832 (CFLAGS-test-misc.c): Likewise.
36833 (CFLAGS-test-test-fenv.c): Likewise.
36835 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36839 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36840 comparisons to determine direction to adjust input.
36842 2012-05-01 Roland McGrath <roland@hack.frob.com>
36844 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36845 output to the target.
36847 * scripts/localplt.awk: New file.
36848 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36849 (check-localplt-CFLAGS): Variable removed.
36850 ($(all-built-dso:=.jmprel)): New static pattern rule.
36851 (generated): Add those targets.
36852 (localplt-built-dso): New variable.
36853 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36855 * elf/check-localplt.c: File removed.
36857 * scripts/check-execstack.awk: New file.
36858 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36859 (check-execstack-CFLAGS): Variable removed.
36860 ($(objpfx)check-execstack.h): Target removed.
36861 ($(objpfx)execstack-default): New target.
36862 (generated): Add that instead of check-execstack.h.
36863 ($(all-built-dso:=.phdr)): New static pattern rule.
36864 (generated): Add those targets.
36865 * elf/check-execstack.c: File removed.
36867 * scripts/check-textrel.awk: New file.
36868 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36869 (check-textrel-CFLAGS): Variable removed.
36870 (all-built-dso): Use := to define.o
36871 ($(all-built-dso:=.dyn)): New static pattern rule.
36872 (generated): Add those targets.
36873 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36874 * config.make.in (READELF): New substituted variable.
36875 * elf/check-textrel.c: File removed.
36877 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36879 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36881 * conform/data/ctype.h-data [C99-based standards] (isblank):
36883 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36884 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36886 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36887 Specify type. Require positive value.
36888 (EILSEQ): Likewise.
36889 (ERANGE): Likewise.
36890 [ISO || POSIX] (EILSEQ): Do not expect.
36891 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36892 Specify type. Require positive value.
36893 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36894 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36895 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36896 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36897 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36898 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36899 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36900 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36901 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36902 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36903 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36904 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36905 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36906 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36907 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36908 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36909 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36910 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36911 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36912 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36913 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36914 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36915 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36916 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36917 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36918 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36919 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36920 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36921 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36922 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36923 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36924 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36925 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36926 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36927 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36928 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36929 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36930 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36931 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36932 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36933 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36934 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36935 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36936 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36937 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36938 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36939 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36940 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36941 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36942 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36943 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36944 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36945 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36946 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36947 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36948 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36949 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36950 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36951 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36952 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36953 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36954 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36955 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36956 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36957 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36958 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36959 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36960 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36961 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36962 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36963 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36964 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36965 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36966 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36967 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36968 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36969 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36971 (FLT_ROUNDS): Expect as macro, not constant.
36972 (FLT_MANT_DIG): Use macro-int-constant.
36973 (DBL_MANT_DIG): Likewise.
36974 (LDBL_MANT_DIG): Likewise.
36975 (FLT_DIG): Likewise.
36976 (DBL_DIG): Likewise.
36977 (LDBL_DIG): Likewise.
36978 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36979 (DBL_MIN_EXP): Likewise.
36980 (LDBL_MIN_EXP): Likewise.
36981 (FLT_MAX_EXP): Use macro-int-constant.
36982 (DBL_MAX_EXP): Likewise.
36983 (LDBL_MAX_EXP): Likewise.
36984 (FLT_MAX_10_EXP): Likewise.
36985 (DBL_MAX_10_EXP): Likewise.
36986 (LDBL_MAX_10_EXP): Likewise.
36987 (FLT_MAX): Use macro-constant.
36988 (DBL_MAX): Likewise.
36989 (LDBL_MAX): Likewise.
36990 (FLT_EPSILON): Use macro-constant. Give upper bound.
36991 (DBL_EPSILON): Likewise.
36992 (LDBL_EPSILON): Likewise.
36993 (FLT_MIN): Likewise.
36994 (DBL_MIN): Likewise.
36995 (LDBL_MIN): Likewise.
36996 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36997 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36998 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36999 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37000 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37001 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37002 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37003 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37004 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37005 [ISO11] (FLT_TRUE_MIN): Likewise.
37006 [ISO11] (LDBL_TRUE_MIN): Likewise.
37007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37008 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37009 (SCHAR_MIN): Use macro-int-constant. Specify type.
37010 (SCHAR_MAX): Likewise.
37011 (UCHAR_MAX): Likewise.
37012 (CHAR_MIN): Likewise.
37013 (CHAR_MAX): Likewise.
37014 (MB_LEN_MAX): Use macro-int-constant.
37015 (SHRT_MIN): Use macro-int-constant. Specify type.
37016 (SHRT_MAX): Likewise.
37017 (USHRT_MAX): Likewise.
37018 (INT_MAX): Likewise.
37019 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37021 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37023 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37025 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37026 bound negative. Suffix upper bound with "L".
37027 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37029 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37031 [C99-based standards] (LLONG_MAX): Likewise.
37032 [C99-based standards] (ULLONG_MAX): Likewise.
37033 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37035 [ISO11] (max_align_t): Require type.
37036 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37038 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37039 from $CFLAGS, without defining away __attribute__ calls.
37040 (checknamespace): Use $CFLAGS_namespace.
37042 * conform/conformtest.pl (@keywords): Only include C99 keywords
37043 for standards based on C99 or C11.
37045 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37047 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37050 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37051 usability of symbols in #if.
37053 * conform/conformtest.pl: If macro or constant types start
37054 "promoted:", expect the symbol to be of the following type
37055 promoted by the integer promotions.
37057 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37058 in one place. Also handle "macro-constant".
37060 * conform/conformtest.pl: Only accept expected macro values with
37061 "==". Parse all "macro" lines in one place.
37062 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37064 * conform/conformtest.pl: Handle braced types on "constant" lines
37065 instead of handling "typed-constant".
37066 * conform/data/signal.h-data: Use "constant" instead of
37069 * conform/conformtest.pl: Handle "optional-" at start of lines in
37070 one place rather than duplicating several cases. Handle each
37071 format of "macro" line with initial "optional-".
37073 * conform/conformtest.pl: Only accept expected constant or
37074 optional-constant values with "==". Parse all "constant" lines in
37075 one place. Parse all "optional-constant" lines in one place.
37076 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37077 * conform/data/fmtmsg.h-data: Likewise.
37078 * conform/data/netinet/in.h-data: Likewise.
37079 * conform/data/tar.h-data: Likewise.
37080 * conform/data/limits.h-data: Use "==" form on "constant" and
37081 "optional-constant" lines.
37083 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37084 Use -std=c99 for XOPEN2K.
37085 (@knownproblems): Remove.
37086 (newtoken): Don't check %isknown.
37088 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37089 Do not expect macro.
37090 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37091 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37092 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37093 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37094 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37095 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37096 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37097 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37098 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37099 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37100 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37101 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37102 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37103 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37104 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37105 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37106 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37107 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37108 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37109 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37110 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37111 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37112 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37113 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37114 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37115 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37116 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37117 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37118 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37119 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37120 [XPG3] (acosh): Likewise.
37121 [XPG3] (asinh): Likewise.
37122 [XPG3] (atanh): Likewise.
37123 [XPG3] (cbrt): Likewise.
37124 [XPG3] (expm1): Likewise.
37125 [XPG3] (ilogb): Likewise.
37126 [XPG3] (log1p): Likewise.
37127 [XPG3] (logb): Likewise.
37128 [XPG3] (nextafter): Likewise.
37129 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37130 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37131 [XPG3] (remainder): Likewise.
37132 [XPG3] (rint): Likewise.
37133 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37134 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37135 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37136 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37137 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37138 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37139 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37140 [UNIX98 || XOPEN2K] (scalb): Expect.
37141 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37142 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37143 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37144 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37145 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37146 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37147 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37148 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37149 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37150 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37151 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37152 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37153 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37154 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37155 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37156 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37157 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37158 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37159 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37160 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37161 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37162 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37163 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37164 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37165 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37166 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37167 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37168 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37169 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37170 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37171 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37172 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37173 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37174 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37175 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37176 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37177 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37178 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37179 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37180 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37181 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37182 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37183 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37184 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37185 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37186 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37187 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37188 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37189 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37190 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37191 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37192 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37193 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37194 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37195 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37196 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37197 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37198 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37199 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37200 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37201 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37202 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37203 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37204 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37205 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37206 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37207 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37208 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37209 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37210 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37211 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37212 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37213 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37214 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37215 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37216 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37217 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37218 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37219 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37220 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37221 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37222 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37223 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37224 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37225 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37226 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37227 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37228 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37229 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37230 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37231 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37232 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37233 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37234 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37235 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37236 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37237 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37238 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37239 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37240 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37241 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37242 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37243 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37244 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37245 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37246 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37247 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37248 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37249 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37250 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37251 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37252 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37253 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37254 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37255 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37256 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37257 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37258 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37259 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37260 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37261 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37262 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37263 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37264 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37265 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37266 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37267 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37268 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37269 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37270 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37271 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37272 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37273 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37274 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37275 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37276 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37277 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37279 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37280 _XOPEN_SOURCE_EXTENDED for XPG4.
37282 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37284 * Makeconfig (localtime): Remove variable.
37285 (inst_localtime-file): Likewise.
37287 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37308 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37312 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37313 comparisons to determine direction to adjust input.
37314 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37315 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37316 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37318 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37320 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37322 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37323 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37325 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37327 * math/libm-test.inc (nexttoward_test): Add more tests.
37329 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37332 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37333 in version GLIBC_2.1, not GLIBC_2.0.
37334 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37337 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37340 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37342 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37343 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37344 * math/libm-test.inc (acos_test): Add more tests.
37345 (asin_test): Likewise.
37346 * sysdeps/i386/fpu/libm-test-ulps: Update.
37347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37350 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37352 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37353 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37354 * math/libm-test.inc (acos_test_tonearest): New function.
37355 (acos_test_towardzero): Likewise.
37356 (acos_test_downward): Likewise.
37357 (acos_test_upward): Likewise.
37358 (asin_test_tonearest): Likewise.
37359 (asin_test_towardzero): Likewise.
37360 (asin_test_downward): Likewise.
37361 (asin_test_upward): Likewise.
37362 (main): Call the new functions.
37363 * sysdeps/i386/fpu/libm-test-ulps: Update.
37364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37368 * math/e_exp10.c: Include <float.h>.
37369 (__ieee754_exp10): Handle underflow here rather than multiplying
37370 large negative argument by M_LN10.
37371 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37373 * math/e_exp10l.c: Include <float.h>.
37374 (__ieee754_exp10l): Handle underflow here rather than multiplying
37375 large negative argument by M_LN10l.
37376 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37377 spurious overflow exception on underflow.
37379 2012-04-29 Marek Polacek <polacek@redhat.com>
37381 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37382 (__fortify_function): New macro.
37383 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37384 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37385 __extern_always_inline.
37386 * libio/bits/stdio2.h: Likewise.
37387 * libio/bits/stdio.h: Likewise.
37388 * string/string.h: Likewise.
37389 * string/bits/string3.h: Likewise.
37390 * include/stdio.h: Likewise.
37391 * stdlib/bits/stdlib.h: Likewise.
37392 * stdlib/stdlib.h: Likewise.
37393 * rt/bits/mqueue2.h: Likewise.
37394 * rt/mqueue.h: Likewise.
37395 * posix/bits/unistd.h: Likewise.
37396 * posix/unistd.h: Likewise.
37397 * io/bits/poll2.h: Likewise.
37398 * io/bits/fcntl2.h: Likewise.
37399 * io/fcntl.h: Likewise.
37400 * io/sys/poll.h: Likewise.
37401 * misc/bits/syslog.h: Likewise.
37402 * misc/bits/syslog-ldbl.h: Likewise.
37403 * misc/sys/syslog.h: Likewise.
37404 * socket/bits/socket2.h: Likewise.
37405 * socket/sys/socket.h: Likewise.
37406 * debug/tst-chk1.c: Likewise.
37407 * wcsmbs/bits/wchar2.h: Likewise.
37408 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37409 * wcsmbs/wchar.h: Likewise.
37411 2012-04-29 Andreas Jaeger <aj@suse.de>
37413 * Makerules (tests): Remove enable-check-abi protection.
37414 (check-abi-warn): Remove.
37415 (check-abi-%): Remove check-abi-warn usage.
37417 * configure.in: Remove check-abi configure option.
37418 * configure: Regenerated.
37419 * config.make.in (enable-check-abi): Remove.
37421 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37424 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37425 double functions to double *_finite functions.
37428 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37429 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37431 * stdio-common/Makefile (tests): Add tst-sprintf3.
37432 * stdio-common/tst-sprintf3.c: New file.
37434 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37435 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37437 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37439 * conform/conformtest.pl: Remove duplicate typed-constant
37442 2012-04-28 David S. Miller <davem@davemloft.net>
37444 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37445 (check-abi-%): Remove AWK script prerequisite and explicit
37447 (check-abi): Rewrite to just diff the symlist with the abilist.
37448 (config-tls, config-abi-config): Delete, no longer used.
37449 (update-abi-%): Remove AWK script and explicit abilist directory.
37450 (update-abi): Rewrite to simply compare and conditionally copy the
37451 symlist and the sysdep abilist file. Remove update-abi-config
37453 * abilist/ld.abilist: Remove.
37454 * abilist/libBrokenLocale.abilist: Remove.
37455 * abilist/libanl.abilist: Remove.
37456 * abilist/libcrypt.abilist: Remove.
37457 * abilist/libdl.abilist: Remove.
37458 * abilist/librt.abilist: Remove.
37459 * abilist/libthread_db.abilist: Remove.
37460 * abilist/libutil.abilist: Remove.
37461 * scripts/extract-abilist.awk: Remove.
37462 * scripts/merge-abilist.awk: Remove.
37463 * sysdeps/generic/libcidn.abilist: New file.
37464 * sysdeps/generic/libnss_compat.abilist: New file.
37465 * sysdeps/generic/libnss_db.abilist: New file.
37466 * sysdeps/generic/libnss_dns.abilist: New file.
37467 * sysdeps/generic/libnss_files.abilist: New file.
37468 * sysdeps/generic/libnss_hesiod.abilist: New file.
37469 * sysdeps/generic/libnss_nis.abilist: New file.
37470 * sysdeps/generic/libnss_nisplus.abilist: New file.
37471 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37472 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37473 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37475 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37476 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37477 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37478 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37479 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37480 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37481 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37482 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37483 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37485 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37486 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37487 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37488 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37490 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37491 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37492 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37493 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37494 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37495 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37497 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37498 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37499 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37501 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37526 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37604 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37605 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37606 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37608 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37609 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37610 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37611 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37612 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37613 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37614 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37615 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37616 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37617 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37669 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37671 * conform/conformtest.pl: Fix typo in handling typed-constant from
37674 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37676 * README: Cut down references to pre-2.6 Linux kernels and
37677 Linuxthreads. Update lists of configurations in libc and ports
37678 and sort alphabetically. Say "or newer" with Linux kernel version
37681 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37683 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37686 * math/libm-test.inc (logb_test_downward): New test to expose
37687 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37690 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37693 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37695 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37696 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37698 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37700 * sysdeps/unix/i386/brk.S: Remove file.
37701 * sysdeps/unix/i386/dl-brk.S: Likewise.
37702 * sysdeps/unix/i386/pipe.S: Likewise.
37703 * sysdeps/unix/i386/sigreturn.S: Likewise.
37704 * sysdeps/unix/i386/syscall.S: Likewise.
37705 * sysdeps/unix/i386/vfork.S: Likewise.
37706 * sysdeps/unix/i386/wait.S: Likewise.
37708 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37709 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37711 * configure.in (arm*-none*): Do not allow without
37712 --enable-hacker-mode.
37713 (netbsd*): Remove case setting base_os.
37714 (386bsd*): Likewise.
37715 (freebsd*): Likewise.
37718 (sunos*): Likewise.
37719 (ultrix*): Likewise.
37720 (newsos*): Likewise.
37721 (dynix*): Likewise.
37727 (minix*): Likewise.
37728 (irix4*): Likewise.
37729 (irix6*): Likewise.
37730 (solaris[2-9]*): Likewise.
37732 * configure: Regenerated.
37734 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37737 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37738 overflow or cancellation in calculating denominator.
37739 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37741 down expression to avoid unexpected rounding in newer GCCs.
37742 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37744 2012-04-26 David S. Miller <davem@davemloft.net>
37746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37747 long-double compat symbols.
37748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37762 2012-04-25 David S. Miller <davem@davemloft.net>
37764 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37765 HWCAP_* values only after the memory barriers have been defined.
37766 (atomic_full_barrier): Define.
37767 (atomic_read_barrier): Define.
37768 (atomic_write_barrier): Define.
37770 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37772 * shlib-versions: Add libgcc_s version information.
37773 * sysdeps/generic/libgcc_s.h: Remove.
37774 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37776 * sysdeps/gnu/unwind-resume.c: Likewise.
37777 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37779 2012-04-25 David S. Miller <davem@davemloft.net>
37781 * sysdeps/unix/sparc/brk.S: Delete.
37782 * sysdeps/unix/sparc/dl-brk.S: Delete.
37783 * sysdeps/unix/sparc/pipe.S: Delete.
37784 * sysdeps/unix/sparc/sysdep.S: Delete.
37785 * sysdeps/unix/sparc/sysdep.h: Delete.
37786 * sysdeps/unix/sparc/vfork.S: Delete.
37787 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37788 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37789 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37790 (ret_ERRVAL, r0, r1, MOVE): Define.
37791 (JUMPTARGET): Remove.
37792 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37793 sysdeps/unix/sparc/sysdep.h
37794 (ENTRY, END): Remove.
37795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37797 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37799 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37800 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37803 * timezone/README: Update upstream location and email address for
37805 * timezone/zdump.c: Update from tzcode 2012b.
37806 * timezone/zic.c: Likewise.
37808 * configure.in (libc_cv_as_needed): Remove test.
37809 * configure: Regenerated.
37810 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37811 conditional definition.
37812 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37813 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37814 * config.make.in (have-as-needed): Remove variable.
37816 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37817 Paul Pluzhnikov <ppluzhnikov@google.com>
37819 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37822 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37824 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37825 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37826 * sysdeps/sh/strlen.S: Likewise.
37828 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37830 * sysdeps/unix/fork.S: Remove file.
37831 * sysdeps/unix/i386/fork.S: Likewise.
37832 * sysdeps/unix/sparc/fork.S: Likewise.
37834 * sysdeps/unix/system.c: Remove file.
37835 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37837 * sysdeps/unix/getegid.S: Remove file.
37838 * sysdeps/unix/geteuid.S: Likewise.
37840 2012-04-24 Roland McGrath <roland@hack.frob.com>
37842 * scripts/check-localplt.awk: New file.
37843 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37845 * scripts/data/localplt-generic.data: Add a comment.
37847 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37848 NODE when __dir_mkfile failed.
37849 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37850 Reported by Ludovic Courtès <ludo@gnu.org>.
37852 2012-04-24 Andreas Jaeger <aj@suse.de>
37854 * Makerules (common-clean): Also remove gen-as-const-headers
37857 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37859 * Makerules (native-compile): Do not change working directory for
37860 build. Use $(OUTPUT_OPTION) in command.
37861 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37863 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37866 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37867 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37868 * math/libm-test.inc (floor_test): Add more tests.
37869 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37871 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37873 * sysdeps/unix/getdents.c: Remove file.
37874 * sysdeps/unix/sysv/getdents.c: Likewise.
37875 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37877 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37878 sysdeps/unix/mman/syscalls.list.
37880 (mprotect): Likewise.
37882 (munmap): Likewise.
37883 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37884 * sysdeps/unix/mman/syscalls.list: Remove.
37885 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37887 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37888 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37889 * configure: Regenerated.
37890 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37891 $(libgcc_s_suffix).
37892 * config.make.in (libgcc_s_suffix): Remove variable.
37894 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37896 * sysdeps/unix/sysv/gethostname.c: Move to ...
37897 * sysdeps/posix/gethostname.c: ... here.
37899 * sysdeps/unix/execve.S: Remove file.
37901 * sysdeps/unix/_exit.S: Remove file.
37903 2012-04-23 Andreas Jaeger <aj@suse.de>
37906 * manual/Makefile: Remove make dist support, there's no
37907 need for a stand-alone documentation tar ball.
37908 (TEXI2DVI): Define always, it's not in Makeconfig.
37911 (edition): Removed.
37912 (glibc-doc-$(edition).tar): Removed
37916 (ETAGS): Remove, it's in Makeconfig.
37917 (move-if-change): Remove, it's in Makeconfig.
37919 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37922 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37923 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37924 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37925 (strtod_l, strtof_l, strtold_l): Remove __wur.
37926 It is not necessarily an error to ignore strtol's return value.
37927 One can reliably look at the stored endptr to decide whether
37928 the number had valid syntax.
37930 2012-04-21 Andreas Jaeger <aj@suse.de>
37933 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37935 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37937 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37938 * sysdeps/unix/sysv/Versions: Remove file.
37940 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37945 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37948 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37949 version from __vm86.
37951 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37953 * sysdeps/unix/common/lxstat.c: Remove file.
37954 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37956 * sysdeps/unix/sysv/Makefile: Remove file.
37958 * sysdeps/unix/sysv/direct.h: Remove file.
37960 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37961 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37962 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37963 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37964 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37965 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37966 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37968 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37970 * sysdeps/unix/xmknod.c: Remove file.
37971 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37973 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37975 * sysdeps/unix/sysv/i386/time.S: Remove file.
37977 * sysdeps/unix/fxstat.c: Remove file.
37978 * sysdeps/unix/xstat.c: Likewise.
37979 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37981 * sysdeps/unix/sysv/sigaction.c: Remove file.
37983 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37984 (sysdep_headers): Remove variable.
37985 [termio.h not in sysdep_headers] (generated): Likewise.
37986 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37987 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37988 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37989 * sysdeps/unix/sysv/tcflow.c: Likewise.
37990 * sysdeps/unix/sysv/tcflush.c: Likewise.
37991 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37992 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37993 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37994 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37995 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37997 * sysdeps/unix/siglist.c: Remove file.
37999 * sysdeps/unix/getppid.S: Remove file.
38001 * sysdeps/unix/mkdir.c: Remove file.
38002 * sysdeps/unix/rmdir.c: Likewise.
38004 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38006 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38008 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38009 errlist-compat value.
38011 2012-04-18 David S. Miller <davem@davemloft.net>
38013 * sysdeps/generic/memcopy.h (reg_char): Delete.
38014 * debug/strcat_chk.c: Use char, not reg_char.
38015 * debug/strcpy_chk.c: Likewise.
38016 * debug/strncat_chk.c: Likewise.
38017 * debug/strncpy_chk.c: Likewise.
38018 * string/memchr.c: Likewise.
38019 * string/memrchr.c: Likewise.
38020 * string/rawmemchr.c: Likewise.
38021 * string/strcat.c: Likewise.
38022 * string/strchr.c: Likewise.
38023 * string/strchrnul.c: Likewise.
38024 * string/strcmp.c: Likewise.
38025 * string/strcpy.c: Likewise.
38026 * string/strncat.c: Likewise.
38027 * string/strncmp.c: Likewise.
38028 * string/strncpy.c: Likewise.
38030 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38032 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38033 __builtin_memcopy is called when src and dest ranges are known to not
38036 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38038 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38039 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38040 fwd_align_merge macro call.
38041 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38042 bwd_align_merge macro call.
38043 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38045 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38047 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38048 bwd_align_merge macros.
38049 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38050 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38051 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38053 2012-04-18 David S. Miller <davem@davemloft.net>
38055 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38057 2012-04-18 Andreas Jaeger <aj@suse.de>
38060 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38061 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38062 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38064 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38065 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38066 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38068 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38069 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38070 Adjust for changed ldbl-128 files.
38072 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38073 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38074 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38076 2012-04-17 David S. Miller <davem@davemloft.net>
38078 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38080 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38082 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38083 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38084 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38085 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38086 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38087 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38089 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38092 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38093 * math/libm-test.inc: Add ilogb errno and exception tests.
38094 * math/w_ilogb.c: New file: ilogb wrapper.
38095 * math/w_ilogbf.c: New file: ilogbf wrapper.
38096 * math/w_ilogbl.c: New file: ilogbl wrapper.
38097 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38098 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38099 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38100 exception being thrown with 0.0 as argument.
38101 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38102 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38103 exception being thrown with 0.0 as argument.
38104 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38105 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38106 exception being thrown with 0.0 as argument.
38107 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38108 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38109 exception being thrown with 0.0 as argument.
38110 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38111 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38112 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38113 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38114 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38115 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38116 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38117 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38118 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38120 2012-04-17 Petr Baudis <pasky@ucw.cz>
38122 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38125 2012-04-16 Marek Polacek <polacek@redhat.com>
38127 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38129 2012-04-16 Marek Polacek <polacek@redhat.com>
38131 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38132 operands of fdivp instruction.
38134 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38136 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38137 * elf/tst-auditmod3b.c: Likewise.
38138 * elf/tst-auditmod4b.c: Likewise.
38139 * elf/tst-auditmod5b.c: Likewise.
38140 * elf/tst-auditmod6b.c: Likewise.
38141 * elf/tst-auditmod6c.c: Likewise.
38142 * elf/tst-auditmod7b.c: Likewise.
38143 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38144 * sysdeps/x86_64/preconfigure.in: Likewise.
38145 * sysdeps/x86_64/preconfigure: Regenerated.
38147 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38149 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38152 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38154 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38155 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38157 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38160 * locale/iso-639.def: Fix gl language name. Spotted by
38163 2012-04-12 Roland McGrath <roland@hack.frob.com>
38166 * libio/libio.h (__io_write_fn): Update comment.
38168 2012-04-12 Petr Baudis <pasky@ucw.cz>
38171 * stdio.texi (Hook Functions): The user provided writer function
38172 is not allowed to return -1.
38174 2012-04-11 David S. Miller <davem@davemloft.net>
38176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38178 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38180 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38181 Add a leading slash to rtkaio.
38183 2012-04-11 Jim Meyering <meyering@redhat.com>
38186 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38187 It is not necessarily an error to ignore fwrite's return
38188 value. One can reliably use ferror to test for errors after
38191 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38193 * bits/types.h (__snseconds_t): New type.
38194 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38196 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38197 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38198 (__SNSECONDS_T_TYPE): Likewise.
38199 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38200 (__SNSECONDS_T_TYPE): Likewise.
38201 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38202 (__SNSECONDS_T_TYPE): Likewise.
38204 2012-04-10 Andreas Jaeger <aj@suse.de>
38207 * manual/time.texi (Processor Time): Return type of times is
38208 elapsed real time since an arbitrary point in the past.
38209 (CPU Time): Move CLK_TCK from here...
38210 (Processor Time): ...to here. Correct description.
38211 * manual/conf.texi (Constants for Sysconf): Correct description of
38214 2012-04-10 David S. Miller <davem@davemloft.net>
38217 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38218 where the is a gap between DT_REL(A) and DT_JMPREL.
38220 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38222 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38223 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38224 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38226 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38228 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38229 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38230 (dl_main): Handle --inhibit-cache.
38231 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38233 * elf/dl-load.c (_dl_map_object): Use it.
38234 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38236 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38239 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38240 (__ieee754_powl): Saturate large exponents rather than testing for
38241 overflow of y*log2(x).
38242 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38243 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38247 * math/s_ctan.c: Include <float.h>.
38248 (__ctan): Avoid internal overflow or cancellation in calculating
38250 * math/s_ctanf.c: Likewise.
38251 * math/s_ctanl.c: Likewise.
38252 * math/s_ctanh.c: Likewise.
38253 * math/s_ctanhf.c: Likewise.
38254 * math/s_ctanhl.c: Likewise.
38255 * math/libm-test.inc (ctan_test): Add more tests.
38256 (ctanh_test): Likewise.
38257 * sysdeps/i386/fpu/libm-test-ulps: Update.
38258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38260 2012-04-09 Andreas Jaeger <aj@suse.de>
38263 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38264 is an optional BSD extension.
38267 * manual/stdio.texi (Opening Streams): Document additional fopen
38270 2012-04-09 Roland McGrath <roland@hack.frob.com>
38272 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38273 %eax without telling the compiler.
38275 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38278 * manual/install.texi: Use sourceware.org.
38280 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38283 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38284 (__ieee754_pow): Generate overflow and underflow using huge*huge
38285 and tiny*tiny rather than just returning constant infinity or zero
38286 for large exponents.
38287 * math/libm-test.inc (pow_test): Require overflow exceptions for
38288 applicable cases of large exponents.
38291 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38292 (__ieee754_pow): Use iterative multiplication algorithm only for
38293 integer exponents with absolute value below 1024. Check for odd
38294 integer exponents when using algorithm for real exponents.
38295 * math/libm-test.inc (pow_test): Add more tests.
38296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38298 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38301 * math/libm-test.inc (exp_test): Do not allow overflow exception
38304 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38307 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38308 instead of __kernel_standard_f.
38310 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38312 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38313 * sysdeps/x86_64/memset_chk.S: Likewise.
38315 2012-04-08 Andreas Jaeger <aj@suse.de>
38318 * manual/startup.texi (Environment Access): Describe return value
38319 for putenv and setenv.
38322 * manual/filesys.texi (Directory Entries): Add description for
38326 * manual/filesys.texi (Directory Entries): Clarify that it's file
38327 system not operating system in the description of DT_UNKNOWN.
38330 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38332 2012-04-08 Stephen Compall <s11@member.fsf.org>
38335 * manual/llio.texi (Opening and Closing Files): Add cross
38336 reference to explain mode argument.
38338 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38340 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38341 * sysdeps/x86_64/memset_chk.S: Likewise.
38343 2012-04-07 David S. Miller <davem@davemloft.net>
38345 * elf/elf.h (R_SPARC_WDISP10): Define.
38346 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38348 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38349 R_SPARC_SIZE64 and R_SPARC_H34.
38351 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38353 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38354 conditions and remove no longer applicable assertion.
38356 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38358 * bits/byteswap.h: Include <features.h>.
38359 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38360 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38362 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38364 * bits/byteswap.h (__bswap_16): Removed.
38365 Include <bits/byteswap-16.h> to get __bswap_16.
38366 * sysdeps/i386/bits/byteswap.h: Likewise.
38367 * sysdeps/s390/bits/byteswap.h: Likewise.
38368 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38369 * bits/byteswap-16.h: New file.
38370 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38371 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38372 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38373 * string/Makefile (headers): Add bits/byteswap-16.h.
38375 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38378 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38380 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38381 * nss/tst-nss-static.c: New.
38383 2012-04-06 Robert Millan <rmh@gnu.org>
38386 * manual/llio.texi (File Position Primitive): lseek
38387 refers to WHENCE when it really means OFFSET.
38389 2012-04-06 Andreas Jaeger <aj@suse.de>
38391 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38392 strncmp declarations.
38394 * abilist/libc.abilist: Add __poll and __ppoll.
38396 2012-04-05 David S. Miller <davem@davemloft.net>
38398 * scripts/check-local-headers.sh: Accept a host triplet in the
38399 path matched by the exclude regexp.
38401 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38403 * sysdeps/powerpc/powerpc32/dl-machine.h
38404 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38405 * sysdeps/s390/s390-32/dl-machine.h
38406 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38407 * sysdeps/sparc/sparc32/dl-machine.h
38408 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38409 * sysdeps/sparc/sparc64/dl-machine.h
38410 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38412 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38414 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38415 undefined symbol errors.
38417 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38420 2012-04-05 Michael Matz <matz@suse.de>
38423 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38425 2012-04-05 Andreas Jaeger <aj@suse.de>
38428 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38431 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38433 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38434 which ROUND is no valid rounding mode.
38436 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38438 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38440 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38442 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38444 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38445 an exception using FPU order intentionally.
38447 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38449 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38450 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38451 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38452 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38454 2012-04-05 Simon Josefsson <simon@josefsson.org>
38457 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38458 EINVAL when BUFLEN is too smal.
38460 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38463 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38464 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38466 2012-04-03 Andreas Jaeger <aj@suse.de>
38469 * manual/setjmp.texi (System V contexts): Fix sentence.
38472 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38473 New macro for this case.
38474 [!__GNUC__] (__bswap_64): New inline function for this case.
38475 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38476 * bits/byteswap.h: Likewise.
38477 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38478 ull, guard with __GLIBC_HAVE_LONG_LONG.
38480 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38481 __GLIBC_HAVE_LONG_LONG.
38483 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38484 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38486 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38489 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38490 inptr and inend, rather than using last_ch.
38492 2012-04-02 David S. Miller <davem@davemloft.net>
38494 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38495 * stdio-common/printf-parse.h (read_int): Change return type to
38496 'int', return -1 on INT_MAX overflow.
38497 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38498 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38499 overflows INT_MAX. Check for overflow of in-format-string precision
38500 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38501 SIZE_MAX not INT_MAX for integer overflow test.
38502 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38503 skip the construct in the format string but do not record anything.
38504 * stdio-common/bug22.c: Adjust to test both width/prevision
38505 INT_MAX overflow as well as total length INT_MAX overflow. Check
38506 explicitly for proper errno values.
38508 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38510 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38512 * string/test-strcmp.c [! WIDE]: Likewise.
38513 * time/tst-mktime2.c: Likewise for INT_MAX.
38514 * string/test-string.h: #include <sys/param.h> for MIN.
38516 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38517 * sysdeps/i386/init-first.c (init): Likewise.
38518 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38519 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38520 * sysdeps/sh/init-first.c (init): Likewise.
38522 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38524 * po/ru.po: Update from translation team.
38525 * po/vi.po: Likewise.
38527 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38529 * resolv/nss_dns/dns-host.c: Merge copyright years.
38531 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38533 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38534 Optimize memcpy with prefetch if
38535 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38536 src, dst pointers have unequal 16 byte alignments.
38538 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38541 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38542 from a CNAME entry and return the minimum ttl for the query.
38543 (gaih_getanswer_slice): Likewise.
38545 2012-03-30 Jeff Law <law@redhat.com>
38547 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38549 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38550 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38552 * resolv/nss_dns/dns-host.c: Update copyright year.
38554 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38556 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38557 requests to save a system call. Fix check that all bytes are sent.
38559 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38560 comments for sendmmsg.
38562 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38565 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38566 with only 1 character between 0x0041 and 0x01b0.
38567 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38568 * wcsmbs/tst-mbsnrtowcs.c: New file.
38570 2012-03-29 David S. Miller <davem@davemloft.net>
38572 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38573 small copies by hand.
38575 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38578 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38579 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38582 2012-03-28 David S. Miller <davem@davemloft.net>
38584 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38585 that branches into memcpy.
38586 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38587 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38588 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38589 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38592 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38593 implementation too.
38594 * sysdeps/sparc/mempcpy.S: New file.
38596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38597 the IFUNC routine in the libc case.
38598 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38600 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38601 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38602 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38603 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38604 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38605 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38606 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38607 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38609 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38610 loop to 256 bytes instead of 64 bytes and fix test signedness.
38612 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38613 * sysdeps/sparc/sparc32/Makefile: rather than here...
38614 * sysdeps/sparc/sparc64/Makefile: and here.
38616 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38618 * malloc/mallocbug.c: Avoid warnings about unused variables.
38620 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38623 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38624 in the right place. Discard and retry query if response is
38625 larger than input buffer size.
38627 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38632 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38633 x for large integer exponent.
38634 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38635 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38636 sign of result as needed afterwards.
38637 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38638 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38639 result for underflowing pow the same as for overflow.
38640 (__kernel_standard_l): Handle powl overflow and underflow here
38641 rather than calling __kernel_standard.
38642 * math/libm-test.inc (pow_test): Add more tests.
38657 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38658 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38659 (__kernel_standard_l): New function.
38660 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38662 * math/w_acosl.c (__acosl): Likewise.
38663 * math/w_asinl.c (__asinl): Likewise.
38664 * math/w_atan2l.c (__atan2l): Likewise.
38665 * math/w_atanhl.c (__atanhl): Likewise.
38666 * math/w_coshl.c (__coshl): Likewise.
38667 * math/w_exp10l.c (__exp10l): Likewise.
38668 * math/w_exp2l.c (__exp2l): Likewise.
38669 * math/w_fmodl.c (__fmodl): Likewise.
38670 * math/w_hypotl.c (__hypotl): Likewise.
38671 * math/w_j0l.c (__j0l, __y0l): Likewise.
38672 * math/w_j1l.c (__j1l, __y1l): Likewise.
38673 * math/w_jnl.c (__jnl, __ynl): Likewise.
38674 * math/w_lgammal.c (__lgammal): Likewise.
38675 * math/w_log10l.c (__log10l): Likewise.
38676 * math/w_log2l.c (__log2l): Likewise.
38677 * math/w_logl.c (__logl): Likewise.
38678 * math/w_powl.c (__powl): Likewise.
38679 * math/w_remainderl.c (__remainderl): Likewise.
38680 * math/w_scalbl.c (sysv_scalbl): Likewise.
38681 * math/w_sinhl.c (__sinhl): Likewise.
38682 * math/w_sqrtl.c (__sqrtl): Likewise.
38683 * math/w_tgammal.c (__tgammal): Likewise.
38684 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38685 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38686 * math/libm-test.inc (acos_test): Add more tests.
38687 (acosh_test): Likewise.
38688 (asin_test): Likewise.
38689 (atanh_test): Likewise.
38690 (exp_test): Likewise.
38691 (exp10_test): Likewise.
38692 (exp2_test): Likewise.
38693 (expm1_test): Likewise.
38694 (lgamma_test): Likewise.
38695 (log_test): Likewise.
38696 (log10_test): Likewise.
38697 (log1p_test): Likewise.
38698 (log2_test): Likewise.
38699 (pow_test): Do not allow some spurious overflow exceptions.
38700 (sqrt_test): Add more tests.
38701 (tgamma_test): Likewise.
38702 (y0_test): Likewise.
38703 (y1_test): Likewise.
38704 (yn_test): Likewise.
38706 2012-03-27 Anton Blanchard <anton@samba.org>
38708 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38710 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38711 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38712 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38714 2012-03-27 David S. Miller <davem@davemloft.net>
38716 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38718 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38719 have-as-vis3 check.
38721 2012-03-27 Andreas Jaeger <aj@suse.de>
38723 * sysdeps/x86_64/elf/configure.in: Moved to ...
38724 * sysdeps/x86_64/configure.in: ... here.
38725 * sysdeps/x86_64/elf/start.S: Moved to ...
38726 * sysdeps/x86_64/start.S: ... here.
38727 * sysdeps/x86_64/elf/configure: Delete.
38729 * sysdeps/x86_64/configure.in: Merge contents from
38730 sysdeps/i386/configure.in (without i686 check).
38732 * sysdeps/i386/elf/Versions: Merge into ...
38733 * sysdeps/i386/Versions: ... this.
38734 * sysdeps/i386/elf/Versions: Delete file.
38735 * sysdeps/i386/elf/start.S: Moved to ...
38736 * sysdeps/i386/start.S: ...here.
38737 * sysdeps/i386/elf/configure.in: Merge into...
38738 * sysdeps/i386/configure.in: ...here.
38739 * sysdeps/i386/elf/configure.in: Delete file.
38740 * sysdeps/i386/elf/configure: Delete file.
38742 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38743 * debug/backtracesyms.c: ... here.
38744 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38745 * debug/backtracesymsfd.c: ... here.
38746 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38747 * sysdeps/generic/ifunc-sel.h: ... here.
38749 * sysdeps/unix/i386/start.c: Delete file.
38750 * sysdeps/unix/sparc/start.c: Delete file.
38751 * sysdeps/unix/start.c: Delete file.
38753 * sysdeps/sh/elf/configure.in: Moved to ...
38754 * sysdeps/sh/configure.in: ... here.
38755 * sysdeps/sh/elf/start.S: Moved to ...
38756 * sysdeps/sh/start.S: ... here.
38757 * sysdeps/sh/elf/configure: Delete file.
38759 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38760 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38761 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38762 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38763 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38764 * sysdeps/powerpc/powerpc64/start.S: here.
38765 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38766 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38767 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38768 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38769 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38771 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38772 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38773 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38774 * sysdeps/powerpc/powerpc32/start.S: ... here.
38775 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38776 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38777 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38779 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38780 * sysdeps/powerpc/ifunc-sel.h: ... here.
38781 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38782 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38784 * sysdeps/sparc/elf/configure.in: Moved to ...
38785 * sysdeps/sparc/configure.in: ... here.
38786 * sysdeps/sparc/elf/configure: Delete file.
38787 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38788 * sysdeps/sparc/sparc32/start.S: ... here.
38789 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38790 * sysdeps/sparc/sparc64/start.S: ... here.
38791 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38792 * sysdeps/sparc/sparc32/Makefile: ... this.
38793 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38794 * sysdeps/sparc/sparc64/Makefile: ... this.
38796 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38797 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38798 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38799 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38800 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38801 * sysdeps/s390/s390-32/setjmp.S: ... here.
38802 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38803 * sysdeps/s390/s390-32/configure.in: ... here.
38804 * sysdeps/s390/s390-32/elf/configure: Delete file.
38805 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38806 * sysdeps/s390/s390-32/start.S: ... here.
38808 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38809 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38810 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38811 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38812 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38813 * sysdeps/s390/s390-64/setjmp.S: ... here.
38814 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38815 * sysdeps/s390/s390-64/configure.in: ... here
38816 * sysdeps/s390/s390-64/elf/configure: Delete file.
38817 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38818 * sysdeps/s390/s390-64/start.S: ... here.
38819 * sysdeps/s390/s390-64/elf/configure: Delete.
38821 * configure.in: Remove support for elf directories in sysdeps.
38823 * configure: Regenerated.
38824 * sysdeps/i386/configure: Regenerated.
38825 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38826 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38827 * sysdeps/s390/s390-32/configure: Regenerated.
38828 * sysdeps/s390/s390-64/configure: Regenerated.
38829 * sysdeps/sh/configure: Regenerated.
38830 * sysdeps/sparc/configure: Regenerated.
38831 * sysdeps/x86_64/configure: Regenerated.
38833 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38837 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38838 denormal result into account.
38840 2012-03-25 Roland McGrath <roland@hack.frob.com>
38842 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38843 Reported by Allan McRae <allan@archlinux.org>.
38845 2012-03-23 Jeff Law <law@redhat.com>
38847 * nss/getnssent.c (__nss_getent): Fix typo.
38849 2012-03-23 David S. Miller <davem@davemloft.net>
38851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38853 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38855 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38856 to pad to uint64_t for each field.
38857 (dl_tls_index): Replace unsigned long with uint64_t.
38859 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38860 Paul Pluzhnikov <ppluzhnikov@google.com>
38863 * grp/Makefile (otherlibs): Don't set it.
38864 * inet/Makefile (otherlibs): Likewise.
38865 * login/Makefile (otherlibs): Likewise.
38866 * nscd/Makefile (otherlibs): Likewise.
38867 * posix/Makefile (otherlibs): Likewise.
38868 * pwd/Makefile (otherlibs): Likewise.
38869 * rt/Makefile (otherlibs): Likewise.
38870 * sunrpc/Makefile (otherlibs): Likewise.
38871 * nss/Makefile (otherlibs): Likewise.
38872 Add libnss_files to routines and static-only-routines.
38873 ($(objpfx)getent): Remove rule.
38874 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38875 static-only-routines.
38877 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38880 * math/s_cexp.c: Include <float.h>.
38881 (__cexp): Handle exp result overflowing not necessarily
38882 overflowing both real and imaginary parts of result.
38883 * math/s_cexpf.c: Likewise.
38884 * math/s_cexpl.c: Likewise.
38885 * math/libm-test.inc (cexp_test): Add more tests.
38886 * sysdeps/i386/fpu/libm-test-ulps: Update.
38887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38889 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38891 * include/link.h (ELFW): New macro.
38892 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38893 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38895 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38897 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38900 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38902 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38904 (struct La_x32_retval): Likewise.
38906 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38908 * sysdeps/x86_64/preconfigure.in: New file.
38909 * sysdeps/x86_64/preconfigure: New generated file.
38911 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38914 * math/e_exp2l.c: Include <float.h>.
38915 (__ieee754_exp2l): Handle overflow and underflow cases
38916 separately. Only pass fractional part of argument to
38918 * math/libm-test.inc (exp2_test): Add more tests.
38920 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38921 negating x to take absolute value.
38922 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38924 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38925 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38927 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38928 computing low part if x was negated.
38929 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38931 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38933 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38934 la_x32_gnu_pltexit.
38935 (pltexit): Cast int_retval to ptrdiff_t.
38936 * elf/tst-auditmod3b.c: Likewise.
38937 * elf/tst-auditmod4b.c: Likewise.
38938 * elf/tst-auditmod5b.c: Likewise.
38939 * elf/tst-auditmod6b.c: Likewise.
38940 * elf/tst-auditmod6c.c: Likewise.
38941 * elf/tst-auditmod7b.c: Likewise.
38943 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38944 and x32_gnu_pltexit.
38946 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38947 __ELF_NATIVE_CLASS.
38948 (La_x32_regs): New macro.
38949 (La_x32_retval): Likewise.
38950 (la_x32_gnu_pltenter): New function prototype.
38951 (la_x32_gnu_pltexit): Likewise.
38953 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38955 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38960 * configure.in (libc_cv_cc_nofma): Check for option to disable
38961 generation of FMA instructions.
38962 * configure: Regenerate.
38963 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38964 * sysdeps/ieee754/dbl-64/Makefile: New file.
38965 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38966 Remove brandred-fma4.
38967 (CFLAGS-brandred-fma4.c): Remove.
38968 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38969 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38971 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38974 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38976 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38977 LLONG_MAX != LONG_MAX.
38978 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38979 (_fitoa_word): Likewise.
38980 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38981 LLONG_MAX != LONG_MAX.
38982 * stdio-common/_itowa.h: Include <_itoa.h>.
38983 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38984 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38985 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38986 only if not defined.
38987 (_ITOA_WORD_TYPE): Likewise.
38988 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38989 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38991 2012-03-21 David S. Miller <davem@davemloft.net>
38993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38995 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38997 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38998 of x86_64 when setting libc_cv_slibdir, libdir and
39000 * sysdeps/unix/sysv/linux/configure: Regenerated.
39002 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39004 * manual/lang.texi (Old Varargs): Remove section.
39005 (How Variadic): Update menu.
39006 (va_start): Do not mention varargs.h.
39008 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39009 Joseph Myers <joseph@codesourcery.com>
39011 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39013 * configure: Regenerated.
39015 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39017 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39018 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39021 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39024 * Makefile (files-for-dist): Remove NOTES.
39025 (NOTES): Remove rule.
39026 * README: Don't refer to NOTES.
39027 * manual/creature.texi: Don't include macros.texi.
39028 * manual/intro.texi (creature.texi): Remove comment referring to
39031 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39032 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39033 * configure: Regenerated.
39034 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39035 LIBC_TRY_CC_OPTION.
39036 (libc_cv_as_i686): Likewise.
39037 (libc_cv_cc_avx): Likewise.
39038 (libc_cv_cc_sse2avx): Likewise.
39039 (libc_cv_cc_fma4): Likewise.
39040 (libc_cv_cc_novzeroupper): Likewise.
39041 * sysdeps/i386/configure: Regenerated.
39044 * sysdeps/i386/fpu/s_cexp.S: Remove.
39045 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39046 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39047 * math/libm-test.inc (cexp_test): Add more tests.
39048 * sysdeps/i386/fpu/libm-test-ulps: Update.
39049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39051 2012-03-21 Allan McRae <allan@archlinux.org>
39053 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39055 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39058 * math/w_exp2.c: Do not include <float.h>.
39059 (o_threshold, u_threshold): Remove.
39060 (__exp2): Calculate result before checking finiteness and calling
39062 * math/w_exp2f.c: Likewise.
39063 * math/w_exp2l.c: Likewise.
39064 * math/libm-test.inc (exp2_test): Require overflow exception for
39068 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39069 range of signed 64-bit integers before using fistpll. Remove
39070 checks for whether integers fit in mantissa bits.
39071 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39072 the range of signed 32-bit integers before using fistpl. Remove
39073 checks for whether integers fit in mantissa bits.
39074 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39075 (__ieee754_powl): Test for y outside the range of signed 64-bit
39076 integers before using fistpll. Reduce 64-bit values to 63-bit
39078 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39079 divide-by-zero is raised for zero to large negative powers.
39080 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39081 (__ieee754_powl): Test for y outside the range of signed 64-bit
39082 integers before using fistpll. Reduce 64-bit values to 63-bit
39084 * math/libm-test.inc (pow_test): Add more tests.
39086 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39088 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39089 <stdio-common/_itoa.h>.
39090 * debug/segfault.c: Likewise.
39091 * elf/dl-cache.c: Likewise.
39092 * elf/dl-minimal.c: Likewise.
39093 * elf/dl-misc.c: Likewise.
39094 * elf/dl-sysdep.c: Likewise.
39095 * elf/dl-version.c: Likewise.
39096 * elf/rtld.c: Likewise.
39097 * hurd/hurdsock.c: Likewise.
39098 * hurd/lookup-retry.c: Likewise.
39099 * malloc/malloc.c: Likewise.
39100 * malloc/mtrace.c: Likewise.
39101 * nscd/nscd_getgr_r.c: Likewise.
39102 * nscd/nscd_getpw_r.c: Likewise.
39103 * nscd/nscd_getserv_r.c: Likewise.
39104 * posix/getopt_init.c: Likewise.
39105 * posix/wordexp.c: Likewise.
39106 * stdio-common/_itoa.c: Likewise.
39107 * stdio-common/printf_fphex.c: Likewise.
39108 * stdio-common/vfprintf.c: Likewise.
39109 * string/_strerror.c: Likewise.
39110 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39111 * sysdeps/i386/i686/hp-timing.h: Likewise.
39112 * sysdeps/mach/_strerror.c: Likewise.
39113 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39114 * sysdeps/mach/hurd/sethostid.c: Likewise.
39115 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39116 * sysdeps/mach/xpg-strerror.c: Likewise.
39117 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39118 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39119 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39120 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39121 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39122 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39123 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39124 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39125 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39126 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39127 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39128 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39129 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39130 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39131 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39132 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39133 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39134 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39135 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39136 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39137 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39139 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39141 * stdio-common/_itoa.h: Moved to ...
39142 * sysdeps/generic/_itoa.h: Here.
39144 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39146 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39147 instead of "_itoa.h" and "_itowa.h".
39148 * stdio-common/vfprintf.: Likewise.
39150 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39152 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39154 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39155 (__signbit): Likwise.
39156 (llrintf): Likwise.
39159 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39161 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39164 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39166 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39167 OVERFLOW_EXCEPTION_OK.
39168 * math/libm-test.inc ("Philosophy"): Update comment about
39170 (OVERFLOW_EXCEPTION): Define.
39171 (OVERFLOW_EXCEPTION_OK): Likewise.
39172 (INVALID_EXCEPTION_OK): Renumber.
39173 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39174 (IGNORE_ZERO_INF_SIGN): Likewise.
39175 (test_exceptions): Handle FE_OVERFLOW.
39176 (exp10_test): Expect overflow exceptions.
39177 (exp2_test): Likewise.
39178 (expm1_test): Likewise.
39179 (nextafter_test): Likewise.
39180 (pow_test): Likewise.
39181 (scalbn_test): Likewise.
39182 (scalbln_test): Likewise.
39184 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39186 * sysdeps/x86_64/bits/atomic.h
39187 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39189 (atomic_exchange_acq): Likewise.
39190 (__arch_exchange_and_add_body): Likewise.
39191 (__arch_add_body): Likewise.
39192 (atomic_add_negative): Likewise.
39193 (atomic_add_zero): Likewise.
39195 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39197 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39198 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39200 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39202 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39203 Check __x86_64__ instead of __WORDSIZE.
39205 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39207 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39209 2012-03-19 David S. Miller <davem@davemloft.net>
39211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39213 * sysdeps/sparc/fpu/fenv_private.h: New file.
39214 * sysdeps/sparc/fpu/math_private.h: Use it.
39215 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39217 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39218 (libc_feholdexcept_setroundl): Remove.
39219 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39221 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39222 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39224 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39226 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39227 int64_t instead of long int.
39228 (INSERT_WORDS64): Likwise.
39230 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39232 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39233 _Unwind_GetCFA return to _Unwind_Ptr first.
39235 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39238 * math/s_clog.c: Include <float.h>.
39239 (__clog): Scale large or subnormal inputs.
39240 * math/s_clogf.c: Likewise.
39241 * math/s_clogl.c: Likewise.
39242 * math/s_clog10.c: Include <float.h>.
39243 (M_LOG10_2): Define.
39244 (__clog10): Scale large or subnormal inputs.
39245 * math/s_clog10f.c: Likewise.
39246 * math/s_clog10l.c: Likewise.
39247 * math/libm-test.inc (clog_test): Add more tests.
39248 (clog10_test): Likewise.
39249 * sysdeps/i386/fpu/libm-test-ulps: Update.
39250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39253 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39255 * math/libm-test.inc (atan2_test): Add another test.
39257 * Makerules (common-objdir-compile): Remove.
39258 * sysdeps/unix/Makefile (config-generated): Do not add
39259 $(unix-generated) to variable.
39260 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39261 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39263 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39265 [generic bits/local_lim.h] (before-compile): Do not append to
39267 [generic bits/local_lim.h] (common-generated): Likewise.
39268 [generic sys/param.h] (before-compile): Do not append to variable.
39269 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39270 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39271 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39272 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39274 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39275 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39276 [generic sys/param.h] ($(addprefix
39277 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39278 [generic sys/param.h] (common-generated): Do not append to
39280 [generic sys/param.h] (sysdep_headers): Likewise.
39281 [generic bits/errno.h] (before-compile): Do not append to
39283 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39285 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39286 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39287 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39288 [generic bits/errno.h] (common-generated): Do not append to
39290 [generic bits/ioctls.h] (before-compile): Do not append to
39292 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39294 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39295 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39296 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39298 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39299 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39300 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39301 [generic bits/ioctls.h] (common-generated): Do not append to
39303 [generic sys/syscall.h] (syscall.h): Remove variable.
39304 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39306 [generic sys/syscall.h] (before-compile): Do not append to
39308 [generic sys/syscall.h] (common-generated): Likewise.
39309 * sysdeps/unix/errnos-tmpl.c: Remove file.
39310 * sysdeps/unix/errnos.awk: Likewise.
39311 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39312 * sysdeps/unix/ioctls.awk: Likewise.
39313 * sysdeps/unix/mk-local_lim.c: Likewise.
39314 * sysdeps/unix/snarf-ioctls: Likewise.
39316 2012-03-19 Richard Henderson <rth@twiddle.net>
39318 * sysdeps/i386/fpu/fenv_private.h: New file.
39319 * sysdeps/i386/fpu/math_private.h: Use it.
39320 (math_opt_barrier, math_force_eval): Remove.
39321 (libc_feholdexcept_setround_53bit): Remove.
39322 (libc_feupdateenv_53bit): Remove.
39323 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39324 (math_opt_barrier, math_force_eval): Remove.
39325 (libc_feholdexcept): Remove.
39326 (libc_feholdexcept_setround): Remove.
39327 (libc_fetestexcept, libc_fesetenv): Remove.
39328 (libc_feupdateenv_test): Remove.
39329 (libc_feupdateenv, libc_feholdsetround): Remove.
39330 (libc_feresetround): Remove.
39332 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39333 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39335 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39336 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39337 (libc_feupdateenv_testl): New.
39338 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39339 (libc_feupdateenv_testf): New.
39340 (libc_feupdateenv): Use libc_feupdateenv_test.
39341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39342 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39344 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39345 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39346 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39347 (libc_feresetround_noex): New.
39348 (libc_feresetround_noexf): New.
39349 (libc_feresetround_noexl): New.
39350 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39351 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39352 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39353 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39356 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39358 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39359 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39360 SET_RESTORE_ROUND_NOEX.
39361 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39362 SET_RESTORE_ROUND_NOEXF.
39363 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39364 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39365 (libc_feholdsetroundf): New.
39366 (libc_feresetround, libc_feresetroundf): New.
39368 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39369 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39370 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39372 * sysdeps/generic/math_private.h: Include <fenv.h>.
39373 (default_libc_feholdexcept): New.
39374 (default_libc_feholdexcept_setround): New.
39375 (default_libc_fesetenv, default_libc_feupdateenv): New.
39376 (libc_feholdexcept): Only define if undefined.
39377 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39378 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39379 (libc_feholdexcept_setroundl): Likewise.
39380 (libc_feholdexcept_setround_53bit): Likewise.
39381 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39382 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39383 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39384 (libc_feupdateenv_53bit): Likewise.
39385 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39386 (libc_feholdexcept): Convert from macro to inline function.
39387 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39388 (libc_fesetenv, libc_feupdateenv): Likewise.
39390 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39391 not previously defined.
39392 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39393 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39394 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39395 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39396 * sysdeps/ieee754/flt-32/math_private.h: New file.
39397 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39398 math_private.h below SET_FLOAT_WORD.
39399 (__isnan, __isinf_ns, __finite): Remove.
39400 (__isnanf, __isinf_nsf, __finitef): Remove.
39402 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39406 2012-03-17 David S. Miller <davem@davemloft.net>
39409 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39412 2012-03-16 David S. Miller <davem@davemloft.net>
39414 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39418 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39420 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39421 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39422 sysdep_routines when subdir is sysvipc.
39423 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39424 __getshmlba helper.
39426 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39428 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39430 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39433 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39435 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39436 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39437 (__lround): Renamed to ...
39438 (__llround): This. Replace long int with long long int.
39439 Define lround functions as aliases of llround functions.
39440 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39442 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39444 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39445 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39446 adresses to uintptr_t. Replace "long int" and "unsigned long
39447 int" with "greg_t" on va_arg.
39449 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39451 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39452 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39454 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39455 Move e_machine check before EI_CLASS check. Handle x32
39456 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39457 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39458 SKIP_EM_IA_64 and include
39459 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39461 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39462 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39463 (add_system_dir): New macro.
39465 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39466 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39468 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39479 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39481 * math/w_j0f.c (j0f): Likewise.
39483 * math/w_j0l.c (__j0l): Likewise.
39485 * math/w_j1.c (j1): Likewise.
39487 * math/w_j1f.c (j1f): Likewise.
39489 * math/w_j1l.c (__j1l): Likewise.
39491 * math/w_jn.c (jn): Likewise.
39493 * math/w_jnf.c (jnf): Likewise.
39495 * math/w_jnl.c (__jnl): Likewise.
39497 * math/libm-test.inc (j0_test): Add more tests.
39498 (j1_test): Likewise.
39499 (jn_test): Likewise. Add trailing semicolon to existing test.
39500 (y0_test): Likewise.
39501 (y1_test): Likewise.
39502 * sysdeps/i386/fpu/libm-test-ulps: Update.
39503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39507 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39508 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39509 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39510 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39511 (__tanl): Set errno for infinite argument.
39512 * sysdeps/i386/fpu/mptan.c: Remove.
39513 * sysdeps/i386/fpu/s_tan.S: Likewise.
39514 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39515 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39516 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39517 * math/libm-test.inc (tan_test): Add more tests and enable more
39518 tests for double and long double.
39519 * sysdeps/i386/fpu/libm-test-ulps: Update.
39520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39522 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39524 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39525 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39527 2012-03-16 Roland McGrath <roland@hack.frob.com>
39529 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39530 * configure.in: Use it for both main tree and add-ons.
39531 * configure: Regenerated.
39533 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39535 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39537 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39539 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39543 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39544 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39545 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39546 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39547 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39549 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39550 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39551 != 0 for prec == 2.
39552 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39553 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39554 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39555 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39556 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39557 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39558 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39559 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39560 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39561 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39562 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39563 * math/libm-test.inc (cos_test): Add more tests and enable more
39564 tests for long double.
39565 (sin_test): Likewise.
39566 (sincos_test): Likewise.
39567 * sysdeps/i386/fpu/libm-test-ulps: Update.
39568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39570 2012-03-16 David S. Miller <davem@davemloft.net>
39572 * sysdeps/sparc/fpu/math_private.h: New file.
39574 2012-03-15 David S. Miller <davem@davemloft.net>
39576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39586 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39590 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39591 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39593 * sysdeps/sparc/sparc-ifunc.h: New file.
39594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39636 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39637 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39639 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39641 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39645 2012-03-15 Andreas Jaeger <aj@suse.de>
39648 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39649 ieee754/flt-32 implementation for sin, cos and sincos.
39650 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39651 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39652 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39653 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39654 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39655 ieee754/flt-32 implementation for tan.
39657 * math/libm-test.inc (cos_test): Enable some large input tests for
39659 (sin_test): Likewise.
39660 (sincos_test): Likewise.
39661 (tan_test): Add tests for large input.
39663 * sysdeps/i386/fpu/libm-test-ulps: Update.
39665 2012-03-15 Andreas Jaeger <aj@suse.de>
39668 * math/libm-test.inc (cos_test): Add more test cases.
39669 (sin_test): Likewise.
39670 (sincos_test): Likewise.
39672 2012-03-15 Andreas Jaeger <aj@suse.de>
39675 * math/libm-test.inc (cos_test): Add a test case for large input
39677 (sin_test): Likewise.
39678 (sincos_test): Likewise.
39680 2012-03-15 Andreas Jaeger <aj@suse.de>
39681 Joseph Myers <joseph@codesourcery.com>
39684 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39685 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39686 * sysdeps/i386/fpu/branred.c: Likewise.
39687 * sysdeps/i386/fpu/dosincos.c: Likewise.
39688 * sysdeps/i386/fpu/mpa.c: Likewise.
39689 * sysdeps/i386/fpu/s_cos.S: Likewise.
39690 * sysdeps/i386/fpu/s_sin.S: Likewise.
39691 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39692 * sysdeps/i386/fpu/sincos32.c: Likewise.
39694 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39696 (libc_feupdateenv_53bit): Define.
39697 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39699 (libc_feupdateenv_53bit): Define.
39701 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39702 53 bit (without extend i386 double precision).
39704 * math/libm-test.inc (sincos_test): Add tests for large input.
39708 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39710 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39714 2012-03-15 David S. Miller <davem@davemloft.net>
39716 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39717 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39718 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39719 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39743 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39744 fmin/fmax sysdep routines.
39745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39747 2012-03-14 David S. Miller <davem@davemloft.net>
39749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39756 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39770 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39771 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39772 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39821 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39826 * sysdeps/sparc/configure.in: New file.
39827 * sysdeps/sparc/configure: Generate.
39828 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39829 * configure: Regenerate.
39830 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39831 * config.make.in (have-as-vis3): New.
39832 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39833 available use -Av9d instead of -Av9a.
39834 * sysdeps/sparc/sparc64/Makefile: Likewise.
39835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39844 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39848 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39850 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39851 fzeros/fnegs to load 0x80000000 into a float register instead of
39853 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39855 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39859 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39860 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39861 ($(inst_includedir)/bits/syscall.h): Remove rule.
39862 ($(objpfx)bits/syscall.d): Include instead of
39863 $(objpfx)syscall-list.d.
39864 (generated): Change syscall-list.h and syscall-list.d to
39865 bits/syscall.h and bits/syscall.d.
39867 2012-03-14 Roland McGrath <roland@hack.frob.com>
39870 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39872 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39875 * math/s_csqrt.c: Include <float.h>.
39876 (__csqrt): Scale large or subnormal inputs.
39877 * math/s_csqrtf.c: Likewise.
39878 * math/s_csqrtl.c: Likewise.
39879 * math/libm-test.inc (csqrt_test): Add more tests.
39880 * sysdeps/i386/fpu/libm-test-ulps: Update.
39881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39884 * math/libm-test.inc (hypot_test): Add more tests.
39886 2012-03-13 David S. Miller <davem@davemloft.net>
39889 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39890 double-precision for the calculation instead of scaling.
39892 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39894 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39895 manipulate bits before adding and subtracting TWO52[sx].
39896 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39897 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39899 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39901 2012-03-13 David S. Miller <davem@davemloft.net>
39903 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39904 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39906 rtld-global-offsets.h
39907 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39909 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39912 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39914 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39915 'err' in the ifdef scope in which it is actually used.
39917 * nss/nss_db/db-init.c: Include string.h
39919 2012-03-12 David S. Miller <davem@davemloft.net>
39921 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39922 masking out of the most significant byte of random value used.
39923 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39924 Fix coding style in previous change.
39926 * sysdeps/unix/sysv/linux/kernel-features.h
39927 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39928 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39930 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39933 2012-03-11 David S. Miller <davem@davemloft.net>
39935 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39936 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39937 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39938 for 'resultvar' otherwise things get truncated on 64-bit.
39940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39941 Fix masking out of the most significant byte of random value used.
39943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39945 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39949 2012-03-09 David S. Miller <davem@davemloft.net>
39951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39952 variables with appropriate CPP guards.
39953 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39954 from the frame pointer, not the stack pointer. Correct layout
39955 comments. Fix test on resulting framesize and the management of
39956 the outregs buffer for pltexit. Preserve floating point return
39957 values across _dl_call_pltexit call.
39958 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39959 framesize and the management of the outregs buffer for pltexit.
39960 Preserve floating point return values across _dl_call_pltexit
39962 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39963 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39964 (la_sparc64_gnu_pltexit): New functions.
39965 (print_exit): Fix format string for return register value.
39967 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39969 * sunrpc/Makefile (others): Add rpcgen.
39970 ($(objpfx)rpcgen): Remove special build rule and dependency on
39972 * sunrpc/rpcgen.c: New file.
39974 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39977 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39978 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39979 * sysdeps/i386/crti.S: Likewise.
39980 * sysdeps/i386/crtn.S: Likewise.
39981 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39982 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39983 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39984 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39985 * sysdeps/sh/crti.S: Likewise.
39986 * sysdeps/sh/crtn.S: Likewise.
39987 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39990 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39992 * locale/programs/locfile-kw.gperf: Likewise.
39993 * locale/programs/charmap-kw.h: Regenerated.
39994 * locale/programs/locfile-kw.h: Likewise.
39997 * intl/plural.y: Replace FSF snail mail address with URL.
39998 * intl/plural.c: Regenerated.
40000 2012-03-09 Richard Henderson <rth@twiddle.net>
40002 * include/math_private.h: Remove file.
40003 * math/math_private.h: Move file ...
40004 * sysdeps/generic/math_private.h: ... here.
40006 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40007 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40008 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40010 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40011 and <math_private.h>.
40012 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40013 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40014 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40015 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40016 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40017 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40018 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40019 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40020 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40021 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40023 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40024 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40026 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40027 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40028 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40029 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40030 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40034 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40038 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40041 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40042 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40044 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40045 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40046 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40047 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40048 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40049 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40050 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40051 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40052 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40053 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40054 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40055 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40056 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40057 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40058 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40059 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40060 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40061 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40062 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40063 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40064 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40065 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40066 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40067 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40068 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40069 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40070 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40071 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40072 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40073 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40074 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40075 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40076 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40077 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40078 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40079 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40080 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40081 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40082 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40083 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40084 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40085 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40086 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40088 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40089 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40090 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40091 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40092 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40093 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40094 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40095 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40096 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40097 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40098 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40099 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40100 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40101 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40102 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40103 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40104 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40105 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40106 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40107 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40108 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40109 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40110 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40111 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40112 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40113 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40114 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40115 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40116 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40117 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40118 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40119 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40120 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40121 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40122 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40123 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40124 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40125 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40126 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40127 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40128 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40129 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40130 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40131 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40132 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40133 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40134 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40135 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40136 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40137 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40138 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40139 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40140 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40141 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40142 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40143 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40144 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40145 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40146 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40147 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40148 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40149 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40150 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40151 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40152 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40153 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40154 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40155 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40156 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40157 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40158 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40159 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40160 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40161 * sysdeps/ieee754/k_standard.c: Likewise.
40162 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40163 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40164 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40165 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40166 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40167 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40168 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40169 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40170 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40171 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40172 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40173 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40174 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40175 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40176 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40177 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40178 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40179 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40180 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40181 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40182 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40183 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40184 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40185 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40186 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40187 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40188 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40189 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40190 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40191 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40192 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40193 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40194 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40195 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40196 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40197 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40198 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40199 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40200 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40201 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40202 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40203 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40204 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40205 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40206 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40209 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40226 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40229 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40231 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40232 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40233 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40234 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40235 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40236 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40237 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40238 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40239 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40240 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40241 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40242 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40243 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40245 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40246 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40247 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40248 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40249 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40250 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40252 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40253 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40254 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40255 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40256 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40257 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40258 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40259 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40260 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40261 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40262 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40263 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40264 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40265 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40266 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40268 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40269 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40270 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40271 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40272 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40273 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40274 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40275 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40276 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40277 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40278 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40279 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40280 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40281 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40282 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40283 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40284 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40286 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40287 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40288 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40289 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40290 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40291 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40292 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40293 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40294 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40295 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40296 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40297 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40298 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40299 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40300 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40301 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40302 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40303 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40304 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40305 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40306 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40307 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40308 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40309 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40310 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40311 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40312 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40313 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40314 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40315 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40316 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40317 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40318 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40319 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40322 * sysdeps/ieee754/s_lib_version.c: Likewise.
40323 * sysdeps/ieee754/s_matherr.c: Likewise.
40324 * sysdeps/ieee754/s_signgam.c: Likewise.
40325 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40326 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40327 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40328 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40329 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40330 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40331 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40332 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40333 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40334 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40335 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40336 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40337 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40338 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40339 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40340 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40341 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40342 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40343 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40344 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40345 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40347 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40349 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40350 * sunrpc/rpc_main.c: Likewise.
40351 * sunrpc/rpc_svcout.c: Likewise.
40353 2012-03-09 David S. Miller <davem@davemloft.net>
40355 * include/math_private.h: New file.
40357 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40359 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40360 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40361 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40362 from <bits/socket_type.h>.
40363 (enum __socket_type): Don't define here.
40364 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40366 bits/socket_type.h.
40369 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40370 checking __USE_GNU.
40372 * Makerules ($(inst_includedir)/%.h): New rule.
40373 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40374 (install-others): Remove variable setting.
40375 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40377 2012-03-08 Richard Henderson <rth@twiddle.net>
40379 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40380 from macro to inline function; merge with the
40381 !__LIBC_INTERNAL_MATH_INLINES version.
40382 (__ieee754_sqrtf): Likewise.
40384 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40385 to inline function.
40386 (__rintf, __floor, __floorf): Likewise.
40388 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40389 macro to inline function.
40390 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40392 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40393 not <math/math_private.h>.
40395 2012-03-08 David S. Miller <davem@davemloft.net>
40397 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40399 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40401 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40403 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40405 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40406 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40408 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40410 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40411 be defined individually, they must be defined as a block. Define
40412 S for printing a string instead of hidint the different by using a
40413 macro for adding the 'l'.
40414 * stdio-common/tst-fphex-wide.c: Adjust.
40416 2012-03-07 Marek Polacek <polacek@redhat.com>
40418 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40420 2012-03-08 Marek Polacek <polacek@redhat.com>
40423 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40424 * stdio-common/tst-fphex.c: Define a few macros to make the
40425 test reusable. Use them.
40426 * stdio-common/tst-fphex-wide.c: New file.
40428 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40431 * manual/macros.texi (gnusystems): New macro.
40432 (nongnusystems): Likewise.
40433 (gnulinuxhurdsystems): Likewise.
40434 (gnuhurdsystems): Likewise..
40435 (gnulinuxsystems): Likewise.
40436 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40437 variants of the GNU system, not "GNU system".
40438 * manual/conf.texi: Likewise.
40439 * manual/errno.texi: Likewise. Update example of errno macro
40441 * manual/filesys.texi: Likewise.
40442 (getumask): Document as specific to GNU/Hurd.
40443 * manual/install.texi: Likewise. Reword some references to
40445 * manual/intro.texi: Likewise.
40446 * manual/io.texi: Likewise.
40447 (File Name Portability): Detail which constraints are inapplicable
40448 to all GNU systems and which are only inapplicable to GNU/Hurd.
40449 * manual/job.texi: Likewise.
40450 * manual/llio.texi: Likewise.
40451 (O_NOCTTY): Document as present on GNU/Linux.
40452 * manual/maint.texi: Likewise.
40453 * manual/memory.texi: Likewise.
40454 * manual/pattern.texi: Likewise.
40455 * manual/pipe.texi: Likewise.
40456 * manual/process.texi: Likewise.
40457 * manual/resource.texi: Likewise.
40458 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40460 * manual/setjmp.texi: Likewise.
40461 * manual/signal.texi: Likewise.
40462 * manual/startup.texi: Likewise.
40463 * manual/stdio.texi: Likewise.
40464 * manual/terminal.texi: Likewise.
40465 (ONLCR): Document as POSIX.
40466 (OXTABS): Document availability on GNU/Linux as XTABS.
40467 (ONOEOT): Document availability separately from other bits.
40468 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40469 * manual/time.texi: Likewise.
40470 * manual/users.texi: Likewise.
40471 * INSTALL: Regenerated.
40472 * sysdeps/gnu/errlist.c: Regenerated.
40474 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40475 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40476 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40478 * configure: Regenerated.
40480 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40482 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40483 default includes instead of AC_HEADER_CHECK.
40484 * sysdeps/i386/configure: Regenerated.
40487 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40488 * math/s_cacoshf.c (__cacoshf): Likewise.
40489 * math/s_cacoshl.c (__cacoshl): Likewise.
40490 * math/s_casinh.c (__casinh): Set signs of result from argument.
40491 * math/s_casinhf.c (__casinhf): Likewise.
40492 * math/s_casinhl.c (__casinhl): Likewise.
40493 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40494 (casinh_test): Add more tests.
40495 * sysdeps/i386/fpu/libm-test-ulps: Update.
40496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40498 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40500 * po/zh_TW.po: Update from translation team.
40502 * login/Makefile (distribute): Remove variable.
40503 * catgets/Makefile: Likewise.
40504 * mach/Makefile: Likewise.
40505 * malloc/Makefile: Likewise.
40506 * misc/Makefile: Likewise.
40507 * iconv/Makefile: Likewise.
40508 * nscd/Makefile: Likewise.
40509 * hurd/Makefile: Likewise.
40510 * manual/Makefile: Likewise.
40511 * locale/Makefile: Likewise.
40512 * intl/Makefile: Likewise.
40513 * conform/Makefile: Likewise.
40514 * nss/Makefile: Likewise.
40515 * time/Makefile: Likewise.
40516 * soft-fp/Makefile: Likewise.
40517 * dirent/Makefile: Likewise.
40518 * gmon/Makefile: Likewise.
40519 * po/Makefile: Likewise.
40520 * rt/Makefile: Likewise.
40521 * socket/Makefile: Likewise.
40522 * math/Makefile: Likewise.
40523 * signal/Makefile: Likewise.
40524 * debug/Makefile: Likewise.
40525 * elf/Makefile: Likewise.
40526 * timezone/Makefile: Likewise.
40527 * stdlib/Makefile: Likewise.
40528 * iconvdata/Makefile: Likewise.
40529 * sunrpc/Makefile: Likewise.
40530 * io/Makefile: Likewise.
40531 * argp/Makefile: Likewise.
40532 * inet/Makefile: Likewise.
40533 * hesiod/Makefile: Likewise.
40534 * grp/Makefile: Likewise.
40535 * csu/Makefile: Likewise.
40536 * wctype/Makefile: Likewise.
40537 * crypt/Makefile: Likewise.
40538 * libio/Makefile: Likewise.
40539 * string/Makefile: Likewise.
40540 * nis/Makefile: Likewise.
40541 * resolv/Makefile: Likewise.
40542 * stdio-common/Makefile: Likewise.
40543 * wcsmbs/Makefile: Likewise.
40544 * dlfcn/Makefile: Likewise.
40545 * posix/Makefile: Likewise.
40548 * timezone/Makefile: Don't install timezone files, just the programs
40551 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40553 * nss/databases.def: Add missing gshadow entry.
40555 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40557 2012-03-06 Marek Polacek <polacek@redhat.com>
40560 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40561 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40562 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40563 * stdio-common/tst-long-dbl-fphex.c: New file.
40565 2012-03-06 David S. Miller <davem@davemloft.net>
40567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40568 (set_obp_int): New function.
40569 (get_obp_int): New function.
40570 (__get_clockfreq_via_dev_openprom): Likewise.
40571 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40572 Avoid unused variable warnings on 'val' and use builtin_expect.
40573 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40575 (INLINE_CLONE_SYSCALL): Likewise.
40577 2012-03-05 David S. Miller <davem@davemloft.net>
40579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40581 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40585 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40586 only for |x| >= 40.
40587 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40589 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40591 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40592 Replace gettimeofday with __vdso_gettimeofday.
40594 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40595 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40596 __vdso_clock_gettime and __vdso_getcpu.
40598 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40599 time with __vdso_time.
40601 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40603 * manual/lang.texi (size_t): Note types to which size_t may be
40604 equivalent with the GNU C Library, but do not describe when
40605 differences between them are significant.
40607 2012-03-05 Andreas Jaeger <aj@suse.de>
40609 * sysdeps/i386/fpu/libm-test-ulps: Update.
40611 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40614 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40615 (__ieee754_pow): Save and restore rounding mode and use
40616 round-to-nearest for main computations.
40617 * math/libm-test.inc (pow_test_tonearest): New function.
40618 (pow_test_towardzero): Likewise.
40619 (pow_test_downward): Likewise.
40620 (pow_test_upward): Likewise.
40621 (main): Call the new functions.
40622 * sysdeps/i386/fpu/libm-test-ulps: Update.
40623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40626 * math/libm-test.inc (cosh_test_tonearest): New function.
40627 (cosh_test_towardzero): Likewise.
40628 (cosh_test_downward): Likewise.
40629 (cosh_test_upward): Likewise.
40630 (sinh_test_tonearest): Likewise.
40631 (sinh_test_towardzero): Likewise.
40632 (sinh_test_downward): Likewise.
40633 (sinh_test_upward): Likewise.
40634 (main): Call the new functions.
40635 * sysdeps/i386/fpu/libm-test-ulps: Update.
40636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40638 2012-03-05 Tom de Vries <tom@codesourcery.com>
40640 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40641 default stack guard is set in last bytes.
40642 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40644 2012-03-05 Kees Cook <keescook@chromium.org>
40646 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40649 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40650 possibly allocate from heap instead of stack.
40651 * stdio-common/bug-vfprintf-nargs.c: New file.
40652 * stdio-common/Makefile (tests): Add nargs overflow test.
40654 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40658 2012-03-03 Marek Polacek <polacek@redhat.com>
40660 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40661 * math/math_private.h: Likewise.
40662 * stdlib/tst-strtod.c: Likewise.
40663 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40664 * sysdeps/x86_64/bits/atomic.h: Likewise.
40666 2012-03-02 David S. Miller <davem@davemloft.net>
40668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40672 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40673 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40674 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40675 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40677 2012-03-02 Roland McGrath <roland@hack.frob.com>
40680 * manual/examples/README: New file, says the example source files
40681 can be used under GPL>=2.
40682 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40683 line containing just "*/".
40684 * manual/examples/add.c: Add copyright header (GPL>=2).
40685 * manual/examples/argp-ex1.c: Likewise.
40686 * manual/examples/argp-ex2.c: Likewise.
40687 * manual/examples/argp-ex3.c: Likewise.
40688 * manual/examples/argp-ex4.c: Likewise.
40689 * manual/examples/atexit.c: Likewise.
40690 * manual/examples/db.c: Likewise.
40691 * manual/examples/dir.c: Likewise.
40692 * manual/examples/dir2.c: Likewise.
40693 * manual/examples/execinfo.c: Likewise.
40694 * manual/examples/filecli.c: Likewise.
40695 * manual/examples/filesrv.c: Likewise.
40696 * manual/examples/fmtmsgexpl.c: Likewise.
40697 * manual/examples/genpass.c: Likewise.
40698 * manual/examples/inetcli.c: Likewise.
40699 * manual/examples/inetsrv.c: Likewise.
40700 * manual/examples/isockad.c: Likewise.
40701 * manual/examples/longopt.c: Likewise.
40702 * manual/examples/memopen.c: Likewise.
40703 * manual/examples/memstrm.c: Likewise.
40704 * manual/examples/mkfsock.c: Likewise.
40705 * manual/examples/mkisock.c: Likewise.
40706 * manual/examples/mygetpass.c: Likewise.
40707 * manual/examples/pipe.c: Likewise.
40708 * manual/examples/popen.c: Likewise.
40709 * manual/examples/rprintf.c: Likewise.
40710 * manual/examples/search.c: Likewise.
40711 * manual/examples/select.c: Likewise.
40712 * manual/examples/setjmp.c: Likewise.
40713 * manual/examples/sigh1.c: Likewise.
40714 * manual/examples/sigusr.c: Likewise.
40715 * manual/examples/stpcpy.c: Likewise.
40716 * manual/examples/strdupa.c: Likewise.
40717 * manual/examples/strftim.c: Likewise.
40718 * manual/examples/strncat.c: Likewise.
40719 * manual/examples/subopt.c: Likewise.
40720 * manual/examples/swapcontext.c: Likewise.
40721 * manual/examples/termios.c: Likewise.
40722 * manual/examples/testopt.c: Likewise.
40723 * manual/examples/testpass.c: Likewise.
40724 * manual/examples/timeval_subtract.c: Likewise.
40727 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40729 * manual/timeval_subtract.c.texi: ... here, new file.
40731 2012-03-02 David S. Miller <davem@davemloft.net>
40733 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40735 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40738 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40739 (__sin): Save and restore rounding mode and use round-to-nearest
40740 for all computations.
40741 (__cos): Save and restore rounding mode and use round-to-nearest
40742 for all computations.
40743 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40745 (tan): Save and restore rounding mode and use round-to-nearest for
40747 * math/libm-test.inc (cos_test_tonearest): New function.
40748 (cos_test_towardzero): Likewise.
40749 (cos_test_downward): Likewise.
40750 (cos_test_upward): Likewise.
40751 (sin_test_tonearest): Likewise.
40752 (sin_test_towardzero): Likewise.
40753 (sin_test_downward): Likewise.
40754 (sin_test_upward): Likewise.
40755 (tan_test_tonearest): Likewise.
40756 (tan_test_towardzero): Likewise.
40757 (tan_test_downward): Likewise.
40758 (tan_test_upward): Likewise.
40759 (main): Call the new functions.
40760 * sysdeps/i386/fpu/libm-test-ulps: Update.
40761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40764 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40765 small n, then large n, before computing and testing k+n.
40766 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40769 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40771 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40772 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40773 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40774 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40775 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40776 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40779 * math/libm-test.inc (scalbn_test): Add more tests.
40780 (scalbln_test): Likewise.
40782 * manual/filesys.texi (mode_t): Describe constraints on size and
40783 signedness, not exact equivalence to a particular type.
40785 (ino64_t): Likewise.
40787 (nlink_t): Likewise.
40788 (blkcnt_t): Likewise.
40789 (blkcnt64_t): Likewise.
40790 * manual/llio.texi (off_t): Likewise.
40793 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40794 (__ieee754_exp): Save and restore rounding mode and use
40795 round-to-nearest for all computations.
40796 * math/libm-test.inc (exp_test_tonearest): New function.
40797 (exp_test_towardzero): Likewise.
40798 (exp_test_downward): Likewise.
40799 (exp_test_upward): Likewise.
40800 (main): Call the new functions.
40801 * sysdeps/i386/fpu/libm-test-ulps: Update.
40802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40804 2012-03-01 Chris Demetriou <cgd@google.com>
40806 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40807 have predictable order.
40809 2012-03-01 David S. Miller <davem@davemloft.net>
40811 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40813 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40814 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40815 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40816 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40818 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40819 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40820 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40822 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40823 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40824 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40825 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40826 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40830 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40831 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40832 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40834 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40835 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40836 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40837 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40838 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40839 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40840 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40841 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40842 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40843 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40844 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40845 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40847 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40848 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40850 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40851 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40852 * sysdeps/sparc/elf/configure: Regenerated.
40854 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40856 * configure.in (AS, LD): Require binutils 2.20 or later.
40857 * configure: Regenerated.
40858 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40859 as required minimum version.
40860 * INSTALL: Regenerated.
40864 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40865 before squaring exponent.
40866 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40867 bottom long double and 27 bits of top long double before squaring
40869 * math/libm-test.inc (erfc_test): Add more tests.
40870 * sysdeps/i386/fpu/libm-test-ulps: Update.
40871 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40874 2012-03-01 Kai Tietz <ktietz@redhat.com>
40876 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40877 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40878 containing bit-fields.
40879 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40880 * soft-fp/single.h (_FP_UNION_S): Likewise.
40881 * soft-fp/double.h (_FP_UNION_D): Likewise.
40883 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40886 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40887 not include ../strcmp.S.
40888 [USE_AS_STRNCASECMP_L]: Likewise.
40889 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40890 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40891 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40892 (__strncasecmp_l_ia32): Define as alias to
40893 __strncasecmp_l_nonascii.
40896 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40897 * sysdeps/i386/fpu/libm-test-ulps: Update.
40898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40900 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40903 2012-02-29 Jeff Law <law@redhat.com>
40905 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40906 out of bounds read.
40908 2012-02-29 Marek Polacek <polacek@redhat.com>
40911 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40912 * elf/Makefile: Add rules to run tst-unused-dep.out.
40914 2012-02-28 David S. Miller <davem@davemloft.net>
40916 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40917 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40918 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40919 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40920 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40921 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40923 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40925 * math/libm-test.inc (llround_test): Move one test from
40926 lround_test. Use TEST_f_L in moved test.
40927 (lround_test): Move misplaced test to llround_test. Add testcase
40930 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40932 * sysdeps/x86_64/fpu/e_expf.S: New file.
40933 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40935 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40938 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40939 of remain_len that may cause incomplete multi-byte character and
40941 * posix/bug-regex33.c: New file.
40942 * posix/Makefile (tests): Add bug-regex33.
40944 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40946 * manual/macros.texi: New file.
40947 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40948 * manual/libc.texinfo: Include macros.texi.
40949 * manual/creatute.texi: Likewise.
40950 * manual/install.texi: Likewise.
40951 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40952 @glibcadj{} in references to the GNU C Library.
40953 * manual/charset.texi: Likewise.
40954 * manual/conf.texi: Likewise.
40955 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40956 when not using those macros.
40957 * manual/creature.texi: Likewise.
40958 * manual/crypt.texi: Likewise.
40959 * manual/errno.texi: Likewise.
40960 * manual/filesys.texi: Likewise.
40961 * manual/header.texi: Likewise.
40962 * manual/install.texi: Likewise.
40963 * manual/intro.texi: Likewise.
40964 * manual/io.texi: Likewise.
40965 * manual/job.texi: Likewise.
40966 * manual/lang.texi: Likewise.
40967 * manual/libc.texiinfo: Likewise.
40968 * manual/llio.texi: Likewise.
40969 * manual/locale.texi: Likewise.
40970 * manual/maint.texi: Likewise.
40971 * manual/math.texi: Likewise.
40972 * manual/memory.texi: Likewise.
40973 * manual/message.texi: Likewise.
40974 * manual/nss.texi: Likewise.
40975 * manual/pattern.texi: Likewise.
40976 * manual/process.texi: Likewise.
40977 * manual/resource.texi: Likewise.
40978 * manual/search.texi: Likewise.
40979 * manual/setjmp.texi: Likewise.
40980 * manual/signal.texi: Likewise.
40981 * manual/socket.texi: Likewise.
40982 * manual/startup.texi: Likewise.
40983 * manual/stdio.texi: Likewise.
40984 * manual/string.texi: Likewise.
40985 * manual/sysinfo.texi: Likewise.
40986 * manual/syslog.texi: Likewise.
40987 * manual/terminal.texi: Likewise.
40988 * manual/time.texi: Likewise.
40989 * manual/users.texi: Likewise.
40990 * INSTALL: Regenerated.
40991 * NOTES: Regenerated.
40992 * sysdeps/gnu/errlist.c: Regenerated.
40994 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40996 * include/dirent.h: Include <dirstream.h> before
40999 2012-02-28 David S. Miller <davem@davemloft.net>
41001 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41002 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41003 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41004 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41006 2012-02-27 David S. Miller <davem@davemloft.net>
41008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41010 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41011 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41014 frame pointer instead of stack pointer relative arg slot.
41015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41016 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41017 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41019 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41022 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41024 2012-02-27 David S. Miller <davem@davemloft.net>
41026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41030 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41031 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41032 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41033 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41035 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41037 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41038 later. Allow versions 5-9.
41039 * configure: Regenerated.
41040 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41041 required minimum version and 4.6 as recommended version. Do not
41042 mention bugs in GCC 2.7 and 2.8.
41043 * INSTALL: Regenerated.
41045 2012-02-27 David S. Miller <davem@davemloft.net>
41047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41051 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41052 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41053 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41054 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41056 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41057 manipulate bits before adding and subtracting TWO112[sx].
41058 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41060 2012-02-27 Roland McGrath <roland@hack.frob.com>
41063 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41064 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41065 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41066 being in POSIX, because they are in 1003.1-2008.
41068 * rt/tst-aio.c: Include <fcntl.h>.
41069 * rt/tst-aio7.c: Likewise.
41070 * rt/tst-aio64.c: Likewise.
41072 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41074 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41076 * manual/install.texi (--with-headers): Describe headers as
41077 interface headers, not private headers.
41078 (Specific advice for GNU/Linux systems): Describe use of headers
41079 from "make headers_install", not private headers from older
41081 * INSTALL: Regenerated.
41082 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41084 * sysdeps/unix/sysv/linux/configure: Regenerated.
41086 * manual/llio.texi (fclean): Remove documentation.
41088 * manual/Makefile (libc-texi-generated): New variable. Include
41090 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41091 $(libc-texi-generated), not duplicated list of files.
41092 (version.texi, stamp-version): New rules.
41093 (realclean): Remove $(libc-texi-generated), not individual files
41094 from that list. Do not remove dir-add.texinfo.
41095 * manual/libc.texinfo: Comment out uses of edition numbers and
41096 references to printed manual. Remove last-updated dates.
41097 (EDITION): Comment out.
41099 (VERSION, UPDATED): Remove.
41100 (version.texi): Include.
41102 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41104 * sysdeps/posix/spawni.c: Include <signal.h>.
41105 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41106 * sysdeps/pthread/aio_fsync.c: Likewise.
41108 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41110 * conform/Makefile (tests): Run only when not cross-compiling and
41111 when fast-check is not defined.
41113 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41114 * conform/data/limits.h-data: Fixes for POSIX2008.
41115 * conform/run-conformtest.sh: Run all tests.
41116 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41118 * include/bits/dlfcn.h: Likewise.
41119 * include/langinfo.h: Likewise.
41120 * include/monetary.h: Likewise.
41121 * include/sys/poll.h: Likewise.
41123 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41125 * posix/spawn.h: Define __need_sigset_t.
41126 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41127 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41128 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41129 to get sigevent_t only.
41130 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41131 only for __USE_GNU.
41132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41133 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41134 process_vm_writev only for __USE_GNU.
41135 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41137 * conform/Makefile: For now ignore errors from run-conformtest.
41138 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41139 POSIX to avoid namespace pollution. Don't prepend headers.
41140 * conform/data/aio.h-data: Fixes for POSIX testing.
41141 * conform/data/fcntl.h-data: Likewise.
41142 * conform/data/glob.h-data: Likewise.
41143 * conform/data/grp.h-data: Likewise.
41144 * conform/data/pthread.h-data: Likewise.
41145 * conform/data/pwd.h-data: Likewise.
41146 * conform/data/signal.h-data: Likewise.
41147 * conform/data/spawn.h-data: Likewise.
41148 * conform/data/stdio.h-data: Likewise.
41149 * conform/data/stdlib.h-data: Likewise.
41150 * conform/data/stropts.h-data: Likewise.
41151 * conform/data/sys/mman.h-data: Likewise.
41152 * conform/data/sys/stat.h-data: Likewise.
41153 * conform/data/sys/types.h-data: Likewise.
41154 * conform/data/sys/wait.h-data: Likewise.
41155 * conform/data/time.h-data: Likewise.
41156 * conform/data/unistd.h-data: Likewise.
41157 * conform/data/utime.h-data: Likewise.
41159 * io/sys/stat.h: fchmod was always in POSIX.
41160 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41161 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41162 * rt/aio.h: Define __need_timespec before including <time.h>.
41163 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41164 struct. Add forward declaration of pthread_attr_t and use it in
41166 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41167 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41168 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41169 always remove CLK_TCK definition.
41171 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41173 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41175 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41177 * conform/run-conformtest.sh: New file.
41178 * conform/Makefile: Run run-conformtest for tests.
41179 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41182 * conform/data/uchar.h-data: New file.
41183 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41184 * conform/data/arpa/inet.h-data: Likewise.
41185 * conform/data/assert.h-data: Likewise.
41186 * conform/data/complex.h-data: Likewise.
41187 * conform/data/cpio.h-data: Likewise.
41188 * conform/data/ctype.h-data: Likewise.
41189 * conform/data/dirent.h-data: Likewise.
41190 * conform/data/dlfcn.h-data: Likewise.
41191 * conform/data/errno.h-data: Likewise.
41192 * conform/data/fcntl.h-data: Likewise.
41193 * conform/data/float.h-data: Likewise.
41194 * conform/data/fmtmsg.h-data: Likewise.
41195 * conform/data/fnmatch.h-data: Likewise.
41196 * conform/data/ftw.h-data: Likewise.
41197 * conform/data/glob.h-data: Likewise.
41198 * conform/data/grp.h-data: Likewise.
41199 * conform/data/iconv.h-data: Likewise.
41200 * conform/data/inttypes.h-data: Likewise.
41201 * conform/data/langinfo.h-data: Likewise.
41202 * conform/data/libgen.h-data: Likewise.
41203 * conform/data/limits.h-data: Likewise.
41204 * conform/data/locale.h-data: Likewise.
41205 * conform/data/math.h-data: Likewise.
41206 * conform/data/monetary.h-data: Likewise.
41207 * conform/data/mqueue.h-data: Likewise.
41208 * conform/data/ndbm.h-data: Likewise.
41209 * conform/data/net/if.h-data: Likewise.
41210 * conform/data/netdb.h-data: Likewise.
41211 * conform/data/netinet/in.h-data: Likewise.
41212 * conform/data/nl_types.h-data: Likewise.
41213 * conform/data/poll.h-data: Likewise.
41214 * conform/data/pthread.h-data: Likewise.
41215 * conform/data/pwd.h-data: Likewise.
41216 * conform/data/regex.h-data: Likewise.
41217 * conform/data/sched.h-data: Likewise.
41218 * conform/data/search.h-data: Likewise.
41219 * conform/data/semaphore.h-data: Likewise.
41220 * conform/data/setjmp.h-data: Likewise.
41221 * conform/data/signal.h-data: Likewise.
41222 * conform/data/spawn.h-data: Likewise.
41223 * conform/data/stdarg.h-data: Likewise.
41224 * conform/data/stdio.h-data: Likewise.
41225 * conform/data/stdlib.h-data: Likewise.
41226 * conform/data/string.h-data: Likewise.
41227 * conform/data/strings.h-data: Likewise.
41228 * conform/data/stropts.h-data: Likewise.
41229 * conform/data/sys/ipc.h-data: Likewise.
41230 * conform/data/sys/mman.h-data: Likewise.
41231 * conform/data/sys/msg.h-data: Likewise.
41232 * conform/data/sys/resource.h-data: Likewise.
41233 * conform/data/sys/select.h-data: Likewise.
41234 * conform/data/sys/sem.h-data: Likewise.
41235 * conform/data/sys/shm.h-data: Likewise.
41236 * conform/data/sys/socket.h-data: Likewise.
41237 * conform/data/sys/stat.h-data: Likewise.
41238 * conform/data/sys/statvfs.h-data: Likewise.
41239 * conform/data/sys/time.h-data: Likewise.
41240 * conform/data/sys/timeb.h-data: Likewise.
41241 * conform/data/sys/times.h-data: Likewise.
41242 * conform/data/sys/types.h-data: Likewise.
41243 * conform/data/sys/uio.h-data: Likewise.
41244 * conform/data/sys/un.h-data: Likewise.
41245 * conform/data/sys/utsname.h-data: Likewise.
41246 * conform/data/sys/wait.h-data: Likewise.
41247 * conform/data/syslog.h-data: Likewise.
41248 * conform/data/tar.h-data: Likewise.
41249 * conform/data/termios.h-data: Likewise.
41250 * conform/data/utime.h-data: Likewise.
41251 * conform/data/utmpx.h-data: Likewise.
41252 * conform/data/varargs.h-data: Likewise.
41253 * conform/data/wchar.h-data: Likewise.
41254 * conform/data/wctype.h-data: Likewise.
41255 * conform/data/wordexp.h-data: Likewise.
41257 * include/stropts.h: New file.
41258 * include/uchar.h: New file.
41259 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41260 * include/assert.h: Likewise.
41261 * include/ctype.h: Likewise.
41262 * include/dirent.h: Likewise.
41263 * include/dlfcn.h: Likewise.
41264 * include/fcntl.h: Likewise.
41265 * include/fnmatch.h: Likewise.
41266 * include/glob.h: Likewise.
41267 * include/grp.h: Likewise.
41268 * include/libio.h: Likewise.
41269 * include/locale.h: Likewise.
41270 * include/math.h: Likewise.
41271 * include/net/if.h: Likewise.
41272 * include/netdb.h: Likewise.
41273 * include/netinet/in.h: Likewise.
41274 * include/pthread.h: Likewise.
41275 * include/pwd.h: Likewise.
41276 * include/regex.h: Likewise.
41277 * include/sched.h: Likewise.
41278 * include/search.h: Likewise.
41279 * include/setjmp.h: Likewise.
41280 * include/signal.h: Likewise.
41281 * include/stdio.h: Likewise.
41282 * include/stdlib.h: Likewise.
41283 * include/string.h: Likewise.
41284 * include/sys/cdefs.h: Likewise.
41285 * include/sys/mman.h: Likewise.
41286 * include/sys/msg.h: Likewise.
41287 * include/sys/resource.h: Likewise.
41288 * include/sys/select.h: Likewise.
41289 * include/sys/socket.h: Likewise.
41290 * include/sys/stat.h: Likewise.
41291 * include/sys/statvfs.h: Likewise.
41292 * include/sys/time.h: Likewise.
41293 * include/sys/times.h: Likewise.
41294 * include/sys/uio.h: Likewise.
41295 * include/sys/utsname.h: Likewise.
41296 * include/sys/wait.h: Likewise.
41297 * include/termios.h: Likewise.
41298 * include/time.h: Likewise.
41299 * include/ulimit.h: Likewise.
41300 * include/unistd.h: Likewise.
41301 * include/utime.h: Likewise.
41302 * include/wchar.h: Likewise.
41303 * include/wctype.h: Likewise.
41304 * include/wordexp.h: Likewise.
41306 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41308 * time/time.h: TIME_UTC must be a macro.
41309 Make timespec_get available for ISO C11 only as well.
41311 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41313 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41314 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41316 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41318 * configure.in: Use -o not -a in test for unsupported multi-arch.
41320 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41322 * manual/texinfo.tex: Update to version 2012-01-19.16.
41324 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41326 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41328 2012-02-24 Roland McGrath <roland@hack.frob.com>
41331 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41332 * manual/fdl-1.3.texi: New file.
41333 * manual/fdl-1.1.texi: File removed.
41336 * manual/libc.texinfo (FDL_VERSION): New @set.
41337 Use it for mention of FDL in cover text.
41338 (Documentation License): Use it in @include file name.
41340 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41341 Roland McGrath <roland@hack.frob.com>
41344 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41345 (not LONG_LONG_MAX and LONG_LONG_MIN.
41346 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41347 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41349 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41351 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41355 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41356 manipulate bits before adding and subtracting TWO23[sx].
41357 * math/libm-test.inc (nearbyint_test): Add more tests.
41359 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41362 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41363 bits before adding and subtracting TWO23[sx].
41364 * math/libm-test.inc (rint_test): Add more tests.
41365 (rint_test_tonearest): Likewise.
41366 (rint_test_towardzero): Likewise.
41367 (rint_test_downward): Likewise.
41368 (rint_test_upward: Likewise.
41370 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41373 * include/stdc-predef.h: New file. Extracted from features.h.
41374 * include/features.h: Include stdc-predef.h.
41375 * Makefile (headers): Add stdc-predef.h.
41376 * CONFORMANCE (Compiler limitations): Update.
41378 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41380 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41382 2012-02-21 David S. Miller <davem@davemloft.net>
41384 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41385 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41387 2012-02-20 David S. Miller <davem@davemloft.net>
41389 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41390 using a normal save/restore sequence, rather than allocating a
41391 dummy stack frame just to store a frame pointer and restore.
41392 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41394 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41396 * manual/install.texi: Fix stray word in line-wrapped comment.
41398 2012-02-20 David S. Miller <davem@davemloft.net>
41400 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41401 both binutils and gcc support GOTDATA.
41403 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41404 "rd %pc" in the PIC register setup sequences.
41406 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41407 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41408 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41409 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41410 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41412 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41413 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41415 (SYSCALL_ERROR_HANDLER): Likewise.
41416 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41417 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41419 (SYSCALL_ERROR_HANDLER): Likewise.
41421 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41422 (HAVE_GCC_GOTDATA): New.
41423 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41424 relocation support in both binutils and gcc.
41425 * sysdeps/sparc/elf/configure: Regenerate.
41427 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41428 * sysdeps/sparc/sparc32/elf/configure: Delete.
41429 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41430 * sysdeps/sparc/sparc64/elf/configure: Delete.
41431 * sysdeps/sparc/elf/configure.in: New file.
41432 * sysdeps/sparc/elf/configure: Generate.
41434 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41435 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41436 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41437 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41438 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41440 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41442 * manual/install.texi: Do not mention specific glibc version
41444 * manual/libc.texinfo (VERSION, UPDATED): Update.
41445 (@copying): Use @copyright{} and range of years.
41447 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41450 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41451 [crti.S not in sysdirs] (generated): Do not append.
41452 [crti.S not in sysdirs] (omit-deps): Likewise.
41453 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41454 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41455 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41456 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41457 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41459 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41460 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41461 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41462 * csu/defs.awk: Remove file.
41463 * sysdeps/generic/initfini.c: Likewise.
41464 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41466 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41469 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41471 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41472 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41473 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41474 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41475 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41476 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41478 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41479 (__EPOLL_PACKED): Define to empty if not defined by
41481 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41485 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41487 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41488 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41489 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41490 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41492 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41496 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41498 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41500 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41501 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41502 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41505 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41507 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41508 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41510 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41512 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41513 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41515 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41517 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41520 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41522 * math/w_acos.c: Use non-signaling floating-point comparisons.
41523 * math/w_acosf.c: Likewise.
41524 * math/w_acosh.c: Likewise.
41525 * math/w_acoshf.c: Likewise.
41526 * math/w_acoshl.c: Likewise.
41527 * math/w_acosl.c: Likewise.
41528 * math/w_asin.c: Likewise.
41529 * math/w_asinf.c: Likewise.
41530 * math/w_asinl.c: Likewise.
41531 * math/w_atanh.c: Likewise.
41532 * math/w_atanhf.c: Likewise.
41533 * math/w_atanhl.c: Likewise.
41534 * math/w_exp2.c: Likewise.
41535 * math/w_exp2f.c: Likewise.
41536 * math/w_exp2l.c: Likewise.
41537 * math/w_j0.c: Likewise.
41538 * math/w_j0f.c: Likewise.
41539 * math/w_j0l.c: Likewise.
41540 * math/w_j1.c: Likewise.
41541 * math/w_j1f.c: Likewise.
41542 * math/w_j1l.c: Likewise.
41543 * math/w_jn.c: Likewise.
41544 * math/w_jnf.c: Likewise.
41545 * math/w_log.c: Likewise.
41546 * math/w_log10.c: Likewise.
41547 * math/w_log10f.c: Likewise.
41548 * math/w_log10l.c: Likewise.
41549 * math/w_log2.c: Likewise.
41550 * math/w_log2f.c: Likewise.
41551 * math/w_log2l.c: Likewise.
41552 * math/w_logf.c: Likewise.
41553 * math/w_logl.c: Likewise.
41554 * math/w_sqrt.c: Likewise.
41555 * math/w_sqrtf.c: Likewise.
41556 * math/w_sqrtl.c: Likewise.
41557 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41558 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41559 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41560 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41561 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41563 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41566 * manual/string.texi (strnlen): Use correct parameter name in
41567 equivalent expression.
41569 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41572 * manual/users.texi (seteuid): Consistently use neweuid for
41575 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41578 * manual/nss.texi (Services in the NSS configuration): Correct
41579 list of services in example configuration file.
41581 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41584 * manual/arith.texi: Remove statements about negative zero
41585 behaving identically to zero.
41587 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41590 * manual/install.texi: Do not document upgrading from libc5.
41592 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41595 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41597 2012-02-18 David S. Miller <davem@davemloft.net>
41599 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41600 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41601 %o7 across the call.
41602 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41605 SETUP_PIC_REG_LEAF.
41606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41607 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41608 * sysdeps/sparc/crtn.S: Likewise.
41610 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41612 * aout/Makefile: Remove.
41614 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41617 * manual/examples/argp-ex1.c (main): Format definition in GNU
41619 * manual/examples/argp-ex2.c (main): Likewise.
41620 * manual/examples/argp-ex3.c (main): Likewise.
41621 * manual/examples/argp-ex4.c (main): Likewise.
41622 * manual/examples/longopt.c (main): Use new-style prototype
41624 * manual/examples/strncat.c (main): Specify return type and use
41625 (void) for arguments.
41626 * manual/examples/subopt.c (main): Use char **argv argument.
41628 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41631 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41634 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41637 * manual/string.texi (strchr): Change when strchrnul is
41640 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41643 * manual/locale.texi (setlocale): Document LOCPATH.
41645 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41648 * manual/process.texi (execle): Move @dots{} before last argument.
41650 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41653 * manual/charset.texi (Generic Charset Conversion): Fix typo
41654 (LC_TYPE -> LC_CTYPE).
41656 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41659 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41660 (scalbnf): Likewise.
41661 (scalbnl): Likewise.
41662 (scalbln): Likewise.
41663 (scalblnf): Likewise.
41664 (scalblnl): Likewise.
41665 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41666 (vwarnx): Likewise.
41669 * manual/filesys.texi (telldir): Use braces around return type.
41670 * manual/llio.texi (mmap): Add space after comma.
41671 (mmap64): Likewise.
41672 * manual/math.texi (jn): Use @var{} on parameter names.
41678 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41680 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41682 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41683 (sched_get_priority_max): Likewise.
41684 * manual/signal.texi (sigvec): Add space after comma.
41685 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41687 (if_indextoname): Likewise.
41688 (if_freenameindex): Likewise.
41689 (sendto): Use ',' instead of '.' in prototype.
41690 * manual/startup.texi (syscall): Use @dots{} instead of literal
41692 * manual/stdio.texi (__fpending): Separate initial words of
41693 paragraph from @deftypefun line.
41694 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41696 (vsyslog): Use @var{} on parameter names.
41697 * manual/terminal.texi (stty): Use @var{} on parameter names.
41698 * manual/users.texi (getutmp): Use @var{} on parameter names.
41699 (getutmpx): Likewise.
41701 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41704 * manual/stdio.texi (fopen): Fix typos in description of
41707 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41710 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41711 get clock_id definition.
41713 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41716 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41717 (madvise): Cast every argument to void on its own.
41719 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41722 * manual/startup.texi (Exit Status): Fix typo.
41724 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41727 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41728 * manual/examples/argp-ex2.c: Likewise.
41729 * manual/examples/argp-ex3.c: Likewise.
41731 2012-02-16 Richard Henderson <rth@redhat.com>
41733 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41734 * sysdeps/s390/s390-32/initfini.c: Remove.
41735 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41736 * sysdeps/s390/s390-64/initfini.c: Remove.
41738 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41740 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41741 compiler output for sysdeps/generic/initfini.c.
41742 * sysdeps/sh/elf/initfini.c: Remove file.
41744 2012-02-16 David S. Miller <davem@davemloft.net>
41747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41749 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41750 * sysdeps/sparc/crti.S: New file.
41751 * sysdeps/sparc/crtn.S: New file.
41752 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41753 * sysdeps/sparc/sparc64/Makefile: Likewise.
41755 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41758 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41760 2012-02-15 Roland McGrath <roland@hack.frob.com>
41763 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41765 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41766 (write, read, close): Likewise.
41767 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41769 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41771 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41772 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41773 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41774 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41776 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41780 2012-02-14 Marek Polacek <polacek@redhat.com>
41782 * sysdeps/x86_64/crti.S: New file.
41783 * sysdeps/x86_64/crtn.S: New file.
41784 * sysdeps/x86_64/elf/initfini.c: Remove file.
41786 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41788 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41789 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41790 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41791 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41793 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41797 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41799 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41800 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41801 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41802 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41804 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41808 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41810 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41811 __feraiseexcept instead of feraiseexcept.
41813 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41814 nanosleep invocations.
41815 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41816 strings, and add error checking for a nanosleep invocations.
41818 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41820 Replace FSF snail mail address with URLs, as per GNU coding standards.
41821 Most of the snail mail addresses were wrong anyway, and omitting
41822 them makes the source code easier to maintain. Almost all of the
41823 changes are to license notices and to locale LC_IDENTIFICATION
41824 addresses, except for this one:
41825 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41826 not its snail mail address.
41828 2012-02-09 Richard Henderson <rth@twiddle.net>
41830 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41831 of kernel-features.h.
41833 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41835 2012-02-08 Marek Polacek <polacek@redhat.com>
41837 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41838 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41839 * sysdeps/gnu/_G_config.h: Likewise.
41840 * sysdeps/generic/_G_config.h: Likewise.
41842 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41844 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41848 * sysdeps/powerpc/powerpc32/crti.S: New file.
41849 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41850 * sysdeps/powerpc/powerpc64/crti.S: New file.
41851 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41853 * Makeconfig (have-initfini): Don't set.
41854 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41855 * configure.in (nopic_initfini): Don't substitute.
41856 * config.h.in (HAVE_INITFINI): Don't #undef.
41857 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41858 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41860 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41862 Support crti.S and crtn.S provided directly by architectures.
41863 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41864 [crti.S in sysdirs] (omit-deps): Likewise.
41865 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41866 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41867 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41868 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41869 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41870 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41871 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41872 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41873 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41874 compiler output for sysdeps/generic/initfini.c.
41875 * sysdeps/i386/elf/Makefile: Remove file.
41876 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41878 2012-02-07 Marek Polacek <polacek@redhat.com>
41880 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41881 * sysdeps/gnu/_G_config.h: Likewise.
41882 * sysdeps/mach/hurd/_G_config.h: Likewise.
41884 2012-02-07 Marek Polacek <polacek@redhat.com>
41886 * math/Makefile (tests): Add tst-CMPLX2.
41887 * math/tst-CMPLX2.c: New file.
41889 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41891 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41893 * math/libm-test.inc (jn_test): Add missing L suffix.
41895 2012-02-06 Marek Polacek <polacek@redhat.com>
41897 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41898 * sysdeps/i386/fpu/e_powf.S: Likewise.
41899 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41900 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41901 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41902 * sysdeps/i386/fpu/e_pow.S: Likewise.
41903 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41904 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41905 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41906 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41907 * sysdeps/i386/fpu/e_log2.S: Likewise.
41908 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41909 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41910 * sysdeps/i386/fpu/e_powl.S: Likewise.
41911 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41912 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41913 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41914 * sysdeps/i386/fpu/e_logl.S: Likewise.
41915 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41916 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41917 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41918 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41919 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41920 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41921 * sysdeps/i386/fpu/e_log.S: Likewise.
41922 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41923 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41924 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41925 * sysdeps/i386/fpu/e_logf.S: Likewise.
41926 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41927 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41928 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41929 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41930 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41931 * sysdeps/i386/fpu/e_log10.S: Likewise.
41932 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41933 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41934 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41935 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41936 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41937 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41938 * sysdeps/i386/asm-syntax.h: Likewise.
41939 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41940 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41941 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41942 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41943 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41944 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41945 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41946 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41947 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41948 * sysdeps/powerpc/sysdep.h: Likewise.
41949 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41950 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41952 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41955 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41957 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41959 * sysdeps/i386/sysdep.h: Include <features.h>.
41960 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41963 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41965 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41967 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41970 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41972 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41973 (SETUP_PIC_REG): Use GET_PC_THUNK.
41974 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41977 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41979 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41980 for non-PIC compilation.
41981 (SETUP_PIC_REG): Add .p2align directive.
41982 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41983 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41984 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41985 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41986 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41987 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41988 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41989 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41990 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41991 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41992 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41993 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41994 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41995 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41996 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41997 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41998 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41999 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42000 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42001 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42002 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42003 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42004 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42005 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42006 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42008 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42009 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42010 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42011 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42012 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42013 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42014 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42015 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42016 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42017 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42018 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42019 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42020 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42021 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42022 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42024 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42026 * math/tst-CMPLX.c: Include <stdio.h>.
42028 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42030 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42032 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42033 * sysdeps/sparc/bits/mathdef.h: Likewise.
42035 2012-01-31 Marek Polacek <polacek@redhat.com>
42037 * libio/libio.h: Don't define _PARAMS.
42038 * locale/programs/config.h: Don't define PARAMS.
42039 * stdlib/strtol_l.c: Likewise.
42040 (__strtol_l): Remove PARAMS from the prototype.
42042 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42044 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42045 names. Just use the correct names. Remove unnecessary wrapper
42047 * malloc/arena.c: Likewise.
42048 * malloc/hooks.c: Likewise.
42050 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42051 ARENA_TEST says not to. Simplify test for creation of a new arena.
42052 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42054 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42056 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42058 (update_get_addr): New function.
42059 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42060 GET_ADDR_MODULE parameter.
42062 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42064 * crypt/cert.c: Remove __STDC__ conditionals.
42065 * crypt/crypt-entry.c: Likewise.
42066 * crypt/crypt_util.c: Likewise.
42067 * libio/filedoalloc.c: Likewise.
42068 * libio/fileops.c: Likewise.
42069 * libio/genops.c: Likewise.
42070 * libio/iofclose.c: Likewise.
42071 * libio/iofdopen.c: Likewise.
42072 * libio/iofopen.c: Likewise.
42073 * libio/iofopen64.c: Likewise.
42074 * libio/iogetdelim.c: Likewise.
42075 * libio/iopopen.c: Likewise.
42076 * libio/obprintf.c: Likewise.
42077 * libio/oldfileops.c: Likewise.
42078 * libio/oldiofclose.c: Likewise.
42079 * libio/oldiofdopen.c: Likewise.
42080 * libio/oldiofopen.c: Likewise.
42081 * libio/oldiopopen.c: Likewise.
42082 * libio/wfiledoalloc.c: Likewise.
42083 * libio/wgenops.c: Likewise.
42084 * locale/programs/xmalloc.c: Likewise.
42085 * misc/syslog.c: Likewise.
42086 * stdio-common/xbug.c: Likewise.
42087 * string/memchr.c: Likewise.
42088 * string/memcmp.c: Likewise.
42089 * string/memrchr.c: Likewise.
42090 * string/rawmemchr.c: Likewise.
42091 * sysdeps/posix/getcwd.c: Likewise.
42092 * time/strftime_l.c: Likewise.
42094 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42096 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42097 * config.make.in (config-cflags-sse2avx): Define.
42098 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42101 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42103 * scripts/config.guess: Update from upstream config git repository.
42104 * scripts/config.sub: Likewise.
42106 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42108 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42110 (R_TILEPRO_*, R_TILEGX_*): New macros.
42112 * scripts/firstversions.awk: Fix bug in version range handling.
42114 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42116 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42118 * include/sys/epoll.h: New file.
42119 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42122 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42124 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42125 Avoid unnecessary __WORDSIZE == 64 test.
42126 (fmaxf): Use VEX format if possible.
42131 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42132 * math/math_private.h: Remove libc_fegetround* and
42134 * sysdeps/i386/configure.in: Check for -msse2avx.
42135 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42136 also if SSE2AVX is defined.
42137 Remove libc_fegetround* and libc_fesetround*.
42138 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42139 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42140 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42142 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42143 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42144 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42145 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42146 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42148 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42150 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42152 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42154 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42156 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42159 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42161 * Makeconfig (libm): Define.
42162 * elf/Makefile: Add rules to build and run tst-relsort1.
42163 * elf/tst-relsort1.c: New file.
42164 * elf/tst-relsort1mod1.c: New file.
42165 * elf/tst-relsort1mod2.c: New file.
42167 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42169 * math/s_ldexp.c: Remove __STDC__ conditionals.
42170 * math/s_ldexpf.c: Likewise.
42171 * math/s_ldexpl.c: Likewise.
42172 * math/s_nextafter.c: Likewise.
42173 * math/s_nexttowardf.c: Likewise.
42174 * math/s_significand.c: Likewise.
42175 * math/s_significandf.c: Likewise.
42176 * math/s_significandl.c: Likewise.
42177 * math/w_jnl.c: Likewise.
42178 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42179 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42180 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42181 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42182 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42184 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42185 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42186 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42187 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42188 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42190 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42192 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42193 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42194 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42195 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42196 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42197 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42198 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42199 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42200 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42201 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42202 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42203 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42204 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42205 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42206 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42207 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42208 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42209 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42210 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42211 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42212 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42213 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42214 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42215 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42216 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42217 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42218 * sysdeps/ieee754/k_standard.c: Likewise.
42219 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42220 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42221 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42222 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42223 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42224 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42225 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42226 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42227 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42228 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42229 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42230 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42231 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42232 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42233 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42234 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42235 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42236 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42237 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42238 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42239 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42240 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42241 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42242 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42243 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42244 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42248 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42249 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42250 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42251 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42252 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42253 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42254 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42255 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42256 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42257 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42258 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42259 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42262 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42263 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42264 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42265 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42266 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42267 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42268 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42269 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42272 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42273 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42274 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42275 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42276 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42277 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42278 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42279 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42280 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42281 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42282 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42283 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42284 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42285 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42286 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42287 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42288 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42289 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42290 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42291 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42292 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42293 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42294 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42295 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42296 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42297 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42298 * sysdeps/ieee754/s_matherr.c: Likewise.
42299 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42300 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42301 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42302 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42304 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42306 * crypt/md5.h: Remove __STDC__ conditionals.
42307 * libio/libioP.h: Likewise.
42308 * locale/programs/config.h: Likewise.
42309 * sysdeps/generic/sysdep.h: Likewise.
42310 * sysdeps/i386/asm-syntax.h: Likewise.
42311 * sysdeps/s390/asm-syntax.h: Likewise.
42312 * sysdeps/unix/sysdep.h: Likewise.
42313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42316 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42318 * libio/libio.h: Remove __STDC__ conditionals.
42319 * malloc/obstack.h: Likewise.
42320 * math/complex.h: Likewise.
42321 * math/math.h: Likewise.
42322 * sysdeps/generic/_G_config.h: Likewise.
42323 * sysdeps/gnu/_G_config.h: Likewise.
42324 * sysdeps/mach/hurd/_G_config.h: Likewise.
42325 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42326 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42327 * sysdeps/sparc/bits/mathdef.h: Likewise.
42329 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42332 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42333 Clean up HAS_* macros.
42334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42335 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42337 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42339 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42340 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42341 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42342 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42343 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42345 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42347 * elf/tst-unique3.cc (gets): Remove declaration.
42348 * elf/tst-unique3lib.cc (gets): Likewise.
42349 * elf/tst-unique3lib2.cc (gets): Likewise.
42350 * elf/tst-unique4.cc (gets): Likewise.
42352 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42354 * include/stdio.h: Add C++ protection. Add gets declarations and
42356 * debug/tst-chk1.c: Don't declare gets here.
42357 * stdio-common/tst-gets.c: Likewise.
42359 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42361 * posix/glob: Remove directory.
42363 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42365 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42367 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42369 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42370 of the non-standard EPFNOSUPPORT.
42372 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42374 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42375 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42376 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42378 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42380 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42382 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42384 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42386 * nscd/grpcache.c (cache_addgr): Likewise.
42387 * nscd/hstcache.c (cache_addhst): Likewise.
42388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42389 * nscd/pwdcache.c (cache_addpw): Likewise.
42390 * nscd/servicescache.c (cache_addserv): Likewise.
42392 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42394 * malloc/malloc.c: Various cleanups.
42395 * malloc/hooks.c: Likewise.
42397 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42398 * stdlib/bug-fmtmsg1.c: New file.
42400 * stdlib/fmtmsg.c (init): Add missing unlock.
42401 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42403 2012-01-12 Marek Polacek <polacek@redhat.com>
42405 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42408 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42410 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42411 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42412 macro to ensure uniqueness of label name.
42413 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42414 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42416 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42418 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42420 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42421 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42422 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42425 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42427 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42429 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42430 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42431 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42433 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42435 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42436 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42437 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42440 * math/bits/math-finite.h: Add ldexp support.
42442 2012-01-10 Marek Polacek <polacek@redhat.com>
42444 * locale/programs/localedef.h (show_archive_content): Add noreturn
42447 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42449 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42451 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42453 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42455 * io/Makefile (headers): Add bits/poll2.h.
42457 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42460 typo #include statement.
42462 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42464 * include/sys/cdefs.h: Define __attribute_alloc_size.
42465 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42466 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42467 * elf/pldd.c: Likewise.
42468 * iconv/iconv_charmap.c: Likewise.
42469 * iconv/iconvconfig.c: Likewise.
42470 * iconv/strtab.c: Likewise.
42471 * locale/programs/locale.c: Likewise.
42472 * locale/programs/localedef.h: Likewise.
42473 * locale/programs/simple-hash.c: Likewise.
42474 * nscd/nscd.h: Likewise.
42475 * nss/makedb.c: Likewise.
42476 * sysdeps/generic/ldconfig.h: Likewise.
42477 * locale/programs/localedef.c: Remove xmalloc prototype.
42478 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42480 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42482 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42485 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42487 * math/Makefile (tests): Add tst-CMPLX.
42488 * math/tst-CMPLX.c: New file.
42490 * math/complex.h (CMPLXL): Fix typo.
42492 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42493 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42495 * debug/tst-chk1.c: Add poll and ppoll tests.
42496 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42497 * include/sys/poll.h: Add hidden proto for ppoll.
42498 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42499 * sysdeps/mach/hurd/ppoll.c: Likewise.
42500 * io/ppoll.c: Likewise.
42501 * debug/poll_chk.c: New file.
42502 * debug/ppoll_chk.c: New file.
42503 * include/bits/poll2.h: New file.
42504 * io/bits/poll2.h: New file.
42507 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42509 * configure.in: static is always set to yes. Remove.
42510 * config.make.in: Don't set build-static.
42511 * Makeconfig: Remove use of build-static.
42512 * dlfcn/Makefile: Likewise.
42513 * elf/Makefile: Likewise.
42514 * math/Makefile: Likewise.
42515 * misc/Makefile: Likewise.
42516 * nptl/Makefile: Likewise.
42517 * sysdeps/mach/hurd/Makefile: Likewise.
42519 * configure.in: PWD_P is not used anymore.
42520 * config.make.in: Remove PWD_P entry.
42522 * configure.in: Remove last remnants of RANLIB.
42523 No need to check for signed size_t anymore.
42524 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42526 Remove __builtin_expect test because we require at least gcc 3.4.
42527 * aclocal.m4: Likewise.
42529 * wcsmbs/mbrtoc16.c: Implement using towc function.
42530 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42531 * wcsmbs/wcsmbsload.c: Likewise.
42532 * iconv/gconv_simple.c: Likewise.
42533 * iconv/gconv_int.h: Likewise.
42534 * iconv/gconv_builtin.h: Likewise.
42535 * iconv/iconv_prog.c: Remove CHAR16 handling.
42537 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42539 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42541 * configure.in: Remove --with-elf and --enable-bounded options.
42542 Dont set base_machine for ia64. More non-ELF conditions removed.
42543 Remove testing and setting of leading underscore information.
42544 * config.make.in (build-bounded): Set to no.
42545 * config.h.in: Remove NO_UNDERSCORES entry.
42546 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42548 * csu/start.c: Remove !NO_UNDERSCORE code.
42549 * locale/localeinfo.h: Likewise.
42550 * sysdeps/generic/machine-gmon.h: Likewise.
42551 * sysdeps/generic/sysdep.h: Likewise.
42552 * sysdeps/i386/sysdep.h: Likewise.
42553 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42554 * sysdeps/mach/sysdep.h: Likewise.
42555 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42556 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42557 * sysdeps/sh/sysdep.h: Likewise.
42558 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42559 * sysdeps/unix/i386/sysdep.S: Likewise.
42560 * sysdeps/unix/sparc/start.c: Likewise.
42561 * sysdeps/unix/sparc/sysdep.S: Likewise.
42562 * sysdeps/unix/sparc/sysdep.h: Likewise.
42563 * sysdeps/unix/start.c: Likewise.
42564 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42565 * sysdeps/x86_64/sysdep.h: Likewise.
42567 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42570 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42572 * argp/argp-fmtstream.h: Use const instead __const.
42573 * argp/argp.h: Likewise.
42574 * assert/assert.h: Likewise.
42575 * bits/fenv.h: Likewise.
42576 * bits/sched.h: Likewise.
42577 * bits/sigset.h: Likewise.
42578 * bits/sigthread.h: Likewise.
42579 * catgets/nl_types.h: Likewise.
42580 * conform/data/pthread.h-data: Likewise.
42581 * crypt/crypt-private.h: Likewise.
42582 * crypt/crypt.h: Likewise.
42583 * crypt/crypt_util.c: Likewise.
42584 * ctype/ctype.h: Likewise.
42585 * debug/execinfo.h: Likewise.
42586 * debug/mbsnrtowcs_chk.c: Likewise.
42587 * debug/mbsrtowcs_chk.c: Likewise.
42588 * debug/wcsnrtombs_chk.c: Likewise.
42589 * debug/wcsrtombs_chk.c: Likewise.
42590 * debug/wcstombs_chk.c: Likewise.
42591 * dirent/dirent.h: Likewise.
42592 * dlfcn/dlfcn.h: Likewise.
42593 * elf/neededtest4.c: Likewise.
42594 * grp/grp.h: Likewise.
42595 * gshadow/gshadow.h: Likewise.
42596 * iconv/gconv.h: Likewise.
42597 * iconv/gconv_int.h: Likewise.
42598 * iconv/gconv_simple.c: Likewise.
42599 * iconv/iconv.h: Likewise.
42600 * iconv/loop.c: Likewise.
42601 * iconv/skeleton.c: Likewise.
42602 * include/aio.h: Likewise.
42603 * include/aliases.h: Likewise.
42604 * include/argz.h: Likewise.
42605 * include/arpa/inet.h: Likewise.
42606 * include/assert.h: Likewise.
42607 * include/dirent.h: Likewise.
42608 * include/dlfcn.h: Likewise.
42609 * include/execinfo.h: Likewise.
42610 * include/fcntl.h: Likewise.
42611 * include/fenv.h: Likewise.
42612 * include/glob.h: Likewise.
42613 * include/grp.h: Likewise.
42614 * include/libintl.h: Likewise.
42615 * include/mntent.h: Likewise.
42616 * include/netdb.h: Likewise.
42617 * include/pwd.h: Likewise.
42618 * include/rpc/netdb.h: Likewise.
42619 * include/sched.h: Likewise.
42620 * include/search.h: Likewise.
42621 * include/shadow.h: Likewise.
42622 * include/signal.h: Likewise.
42623 * include/stdio.h: Likewise.
42624 * include/stdlib.h: Likewise.
42625 * include/string.h: Likewise.
42626 * include/sys/socket.h: Likewise.
42627 * include/sys/stat.h: Likewise.
42628 * include/sys/statfs.h: Likewise.
42629 * include/sys/statvfs.h: Likewise.
42630 * include/sys/syslog.h: Likewise.
42631 * include/sys/time.h: Likewise.
42632 * include/sys/uio.h: Likewise.
42633 * include/time.h: Likewise.
42634 * include/unistd.h: Likewise.
42635 * include/utmp.h: Likewise.
42636 * include/wchar.h: Likewise.
42637 * include/wctype.h: Likewise.
42638 * inet/aliases.h: Likewise.
42639 * inet/arpa/inet.h: Likewise.
42640 * inet/netinet/ether.h: Likewise.
42641 * inet/netinet/in.h: Likewise.
42642 * intl/libintl.h: Likewise.
42643 * io/bits/fcntl2.h: Likewise.
42644 * io/fcntl.h: Likewise.
42645 * io/ftw.h: Likewise.
42646 * io/sys/poll.h: Likewise.
42647 * io/sys/stat.h: Likewise.
42648 * io/sys/statfs.h: Likewise.
42649 * io/sys/statvfs.h: Likewise.
42650 * io/utime.h: Likewise.
42651 * libio/bits/stdio.h: Likewise.
42652 * libio/bits/stdio2.h: Likewise.
42653 * libio/libio.h: Likewise.
42654 * libio/libioP.h: Likewise.
42655 * libio/stdio.h: Likewise.
42656 * locale/lc-ctype.c: Likewise.
42657 * locale/locale.h: Likewise.
42658 * login/utmp.h: Likewise.
42659 * malloc/arena.c: Likewise.
42660 * malloc/malloc.c: Likewise.
42661 * malloc/malloc.h: Likewise.
42662 * malloc/mcheck.c: Likewise.
42663 * malloc/mtrace.c: Likewise.
42664 * math/bits/mathcalls.h: Likewise.
42665 * math/fenv.h: Likewise.
42666 * math/math_private.h: Likewise.
42667 * misc/bits/error.h: Likewise.
42668 * misc/bits/syslog.h: Likewise.
42669 * misc/err.h: Likewise.
42670 * misc/error.h: Likewise.
42671 * misc/fstab.h: Likewise.
42672 * misc/mntent.h: Likewise.
42673 * misc/regexp.h: Likewise.
42674 * misc/search.h: Likewise.
42675 * misc/sgtty.h: Likewise.
42676 * misc/sys/mman.h: Likewise.
42677 * misc/sys/syslog.h: Likewise.
42678 * misc/sys/uio.h: Likewise.
42679 * misc/sys/xattr.h: Likewise.
42680 * misc/ttyent.h: Likewise.
42681 * nis/rpcsvc/ypclnt.h: Likewise.
42682 * nss/nss.h: Likewise.
42683 * posix/bits/unistd.h: Likewise.
42684 * posix/fnmatch.h: Likewise.
42685 * posix/glob.h: Likewise.
42686 * posix/sched.h: Likewise.
42687 * posix/spawn.h: Likewise.
42688 * posix/sys/wait.h: Likewise.
42689 * posix/unistd.h: Likewise.
42690 * posix/wordexp.h: Likewise.
42691 * pwd/pwd.h: Likewise.
42692 * resolv/netdb.h: Likewise.
42693 * resource/sys/resource.h: Likewise.
42694 * rt/aio.h: Likewise.
42695 * rt/bits/mqueue2.h: Likewise.
42696 * rt/mqueue.h: Likewise.
42697 * shadow/shadow.h: Likewise.
42698 * signal/signal.h: Likewise.
42699 * socket/send.c: Likewise.
42700 * socket/sendto.c: Likewise.
42701 * socket/sys/socket.h: Likewise.
42702 * stdio-common/printf.h: Likewise.
42703 * stdlib/bits/stdlib.h: Likewise.
42704 * stdlib/fmtmsg.h: Likewise.
42705 * stdlib/monetary.h: Likewise.
42706 * stdlib/stdlib.h: Likewise.
42707 * stdlib/ucontext.h: Likewise.
42708 * streams/stropts.h: Likewise.
42709 * string/argz.h: Likewise.
42710 * string/bits/string2.h: Likewise.
42711 * string/string.h: Likewise.
42712 * string/strings.h: Likewise.
42713 * sunrpc/rpc/auth.h: Likewise.
42714 * sunrpc/rpc/auth_des.h: Likewise.
42715 * sunrpc/rpc/clnt.h: Likewise.
42716 * sunrpc/rpc/netdb.h: Likewise.
42717 * sunrpc/rpc/pmap_clnt.h: Likewise.
42718 * sunrpc/rpc/xdr.h: Likewise.
42719 * sysdeps/generic/inttypes.h: Likewise.
42720 * sysdeps/generic/net/if.h: Likewise.
42721 * sysdeps/generic/sys/swap.h: Likewise.
42722 * sysdeps/gnu/net/if.h: Likewise.
42723 * sysdeps/gnu/utmpx.h: Likewise.
42724 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42725 * sysdeps/i386/i486/bits/string.h: Likewise.
42726 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42727 * sysdeps/s390/bits/string.h: Likewise.
42728 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42729 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42730 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42731 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42732 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42733 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42734 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42735 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42736 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42737 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42738 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42739 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42740 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42741 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42742 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42743 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42744 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42746 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42747 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42748 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42749 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42750 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42751 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42752 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42753 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42754 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42755 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42756 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42757 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42758 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42759 * sysvipc/sys/ipc.h: Likewise.
42760 * sysvipc/sys/msg.h: Likewise.
42761 * sysvipc/sys/sem.h: Likewise.
42762 * sysvipc/sys/shm.h: Likewise.
42763 * termios/termios.h: Likewise.
42764 * time/sys/time.h: Likewise.
42765 * time/time.h: Likewise.
42766 * wcsmbs/bits/wchar2.h: Likewise.
42767 * wcsmbs/uchar.h: Likewise.
42768 * wcsmbs/wchar.h: Likewise.
42769 * wctype/wctype.h: Likewise.
42772 * Makeconfig: Remove all but ELF support including AIX support.
42773 * Makerules: Likewise.
42774 * config.h.in: Likewise.
42775 * config.make.in: Likewise.
42776 * configure: Likewise.
42777 * configure.in: Likewise.
42778 * csu/Makefile: Likewise.
42779 * csu/version.c: Likewise.
42780 * debug/Makefile: Likewise.
42781 * dlfcn/Makefile: Likewise.
42782 * elf/Makefile: Likewise.
42783 * extra-lib.mk: Likewise.
42784 * iconv/Makefile: Likewise.
42785 * include/libc-symbols.h: Likewise.
42786 * include/shlib-compat.h: Likewise.
42787 * resolv/Makefile: Likewise.
42788 * resolv/res_libc.c: Likewise.
42789 * rt/Makefile: Likewise.
42790 * sysdeps/i386/asm-syntax.h: Likewise.
42791 * sysdeps/i386/sysdep.h: Likewise.
42792 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42793 * sysdeps/mach/sysdep.h: Likewise.
42794 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42795 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42796 * sysdeps/s390/asm-syntax.h: Likewise.
42797 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42798 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42799 * sysdeps/sh/sysdep.h: Likewise.
42800 * sysdeps/unix/sparc/sysdep.h: Likewise.
42801 * sysdeps/wordsize-32/divdi3.c: Likewise.
42802 * sysdeps/x86_64/sysdep.h: Likewise.
42804 * argp/Versions: Remove _argp_unlock_xxx.
42807 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42808 * abilist/libBrokenLocale.abilist: Likewise.
42809 * abilist/libanl.abilist: Likewise.
42810 * abilist/libc.abilist: Likewise.
42811 * abilist/libcrypt.abilist: Likewise.
42812 * abilist/libdl.abilist: Likewise.
42813 * abilist/libm.abilist: Likewise.
42814 * abilist/libnsl.abilist: Likewise.
42815 * abilist/libpthread.abilist: Likewise.
42816 * abilist/libresolv.abilist: Likewise.
42817 * abilist/librt.abilist: Likewise.
42818 * abilist/libthread_db.abilist: Likewise.
42819 * abilist/libutil.abilist: Likewise.
42820 * abilist/libnss_db.abilist: New file.
42822 * scripts/abilist.awk: Add support for indirect functions.
42824 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42826 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42828 * shlib-versions: Remove entries for ports architectures.
42830 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42832 * elf/stackguard-macros.h: Remove support for IA-64.
42833 * elf/tst-auditmod1.c: Likewise.
42834 * sysdeps/generic/ldsodefs.h: Likewise.
42836 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42837 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42841 * configure.in: Remove --enable-omitfp support.
42843 * config.make.in: Likewise.
42844 * Makeconfig: Likewise.
42845 * manual/install.texi: Likewise.
42847 In case anyone cares, the IA-64 architecture could move to ports.
42848 * sysdeps/ia64/*: Removed.
42849 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42850 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42853 * configure.in: Remove entries for unsupported architectures.
42856 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42857 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42859 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42860 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42861 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42862 fall back to using wcrtomb.
42863 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42864 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42866 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42867 * wcsmbs/tst-c16c32-1.c: New file.
42869 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42872 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42874 * elf/tst-unique3.cc: Add explicit declaration of gets.
42875 * elf/tst-unique3lib.cc: Likewise.
42876 * elf/tst-unique3lib2.cc: Likewise.
42877 * elf/tst-unique4.cc: Likewise.
42879 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42881 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42884 * assert/assert.h (static_assert): Don't define for C++.
42885 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42886 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42888 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42890 * iconv/loop.c (single loop): Fix assertion in storing of
42893 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42895 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42897 * posix/getconf.c: Update copyright year.
42898 * nss/getent.c: Likewise.
42899 * nss/makedb.c: Likewise.
42900 * iconv/iconvconfig.c: Likewise.
42901 * iconv/iconv_prog.c: Likewise.
42902 * elf/ldconfig.c: Likewise.
42903 * elf/pldd.c: Likewise.
42904 * elf/sotruss.ksh: Likewise.
42905 * catgets/gencat.c: Likewise.
42906 * csu/version.c: Likewise.
42907 * elf/ldd.bash.in: Likewise.
42908 * elf/sprof.c (print_version): Likewise.
42909 * locale/programs/locale.c: Likewise.
42910 * locale/programs/localedef.c: Likewise.
42911 * login/programs/pt_chown.c: Likewise.
42912 * nscd/nscd.c (print_version): Likewise.
42913 * debug/xtrace.sh: Likewise.
42914 * malloc/memusage.sh: Likewise.
42915 * malloc/mtrace.pl: Likewise.
42916 * debug/catchsegv.sh: Likewise.
42918 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42920 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42923 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42926 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42927 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42929 * iconv/gconv_int.h: Likewise.
42930 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42931 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42932 from libc for GLIBC_2.16.
42933 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42934 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42935 * wcsmbs/uchar.h: Really define mbstate_t.
42936 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42937 * wcsmbs/c16rtomb.c: New file.
42938 * wcsmbs/mbrtoc16.c: New file.
42939 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42940 for C/POSIX locale.
42941 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42942 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42944 * wcsmbs/wchar.h: Add missing __restrict.
42946 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42949 * time/Makefile (routines): Add timespec_get.
42950 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42951 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42952 timespec for ISO C11.
42953 * time/timespec_get.c: New file.
42954 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42955 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42958 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42959 * stdlib/stdlib.h: Declare aligned_alloc.
42960 * Versions.def: Add GLIBC_2.16 for libc.
42961 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42964 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42967 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42971 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42974 * assert/assert.h (static_assert): Define.
42976 * version.h: Update for 2.16 development version.
42979 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42982 * version.h (RELEASE): Bump for 2.15 release.
42983 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42985 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42986 Patch by Marek Polacek <mpolacek@redhat.com>.
42988 * bits/byteswap.h: Protect long long constants with __extension__.
42989 * sysdeps/i386/bits/byteswap.h: Likewise.
42990 * sysdeps/ia64/bits/byteswap.h: Likewise.
42991 * sysdeps/s390/bits/byteswap.h: Likewise.
42992 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42994 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42997 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42998 destination buffer.
42999 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43001 2011-12-23 Marek Polacek <polacek@redhat.com>
43003 * elf/dl-addr.c (determine_info): Add inline keyword.
43004 * elf/tst-auditmod4b.c (check_avx): Likewise.
43005 * elf/tst-auditmod6b.c (check_avx): Likewise.
43006 * elf/tst-auditmod6c.c (check_avx): Likewise.
43007 * elf/tst-auditmod7b.c (check_avx): Likewise.
43009 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43011 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43014 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43017 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43018 processing for last bytes.
43020 2011-08-06 Bruno Haible <bruno@clisp.org>
43023 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43024 U+0385, not to U+1FEE.
43027 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43028 entry for U+00A5 U+0301.
43030 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43033 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43034 buffer for the output is too small.
43036 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43040 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43041 SSE flags if possible.
43043 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43047 processing for last bytes.
43049 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43051 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43052 (syscall-list-default-options, syscall-list-default-condition)
43053 (syscall-list-includes): Define.
43054 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43055 list of ABIs and options and #if conditions for each ABI. Do not
43056 handle common syscalls between ABIs specially.
43057 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43059 (syscall-list-variants, syscall-list-32bit-options)
43060 (syscall-list-32bit-condition, syscall-list-64bit-options)
43061 (syscall-list-64bit-condition): Define.
43062 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43063 (syscall-list-variants, syscall-list-32bit-options)
43064 (syscall-list-32bit-condition, syscall-list-64bit-options)
43065 (syscall-list-64bit-condition): Define.
43066 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43068 (syscall-list-variants, syscall-list-32bit-options)
43069 (syscall-list-32bit-condition, syscall-list-64bit-options)
43070 (syscall-list-64bit-condition): Define.
43071 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43073 (syscall-list-variants, syscall-list-32bit-options)
43074 (syscall-list-32bit-condition, syscall-list-64bit-options)
43075 (syscall-list-64bit-condition): Define.
43077 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43079 * locale/iso-639.def: Add brx entry.
43082 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43083 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43085 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43086 __feraiseexcept_renamed.
43088 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43091 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43092 EPOLLET with unsigned values.
43093 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43094 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43096 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43097 to large cancellation.
43098 * math/s_cacoshf.c: Likewise.
43099 * math/s_cacoshl.c: Likewise.
43101 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43105 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43106 * math/s_cacoshf.c: Likewise.
43107 * math/s_cacoshl.c: Likewise.
43109 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43112 * iconv/gconv.h: Define __GCONV_SWAP.
43113 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43114 * iconvdata/utf-16.c: Likewise.
43115 * iconvdata/utf-32.c: Likewise.
43117 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43120 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43121 numerator after shifting it by one limb.
43123 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43125 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43126 under [__USE_EXTERN_INLINES].
43128 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43131 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43133 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43135 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43136 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43138 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43139 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43140 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43141 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43142 for strncasecmp/strncasecmp_l compilation.
43143 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43144 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43146 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43149 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43152 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43155 * time/tzfile.c (__tzfile_read): Check values from file header.
43157 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43159 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43160 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43161 * powerpc/powerpc32/dl-start.S: Likewise.
43162 * powerpc/powerpc32/elf/start.S: Likewise.
43163 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43164 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43165 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43166 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43167 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43168 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43169 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43170 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43171 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43172 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43173 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43174 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43175 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43176 * powerpc/powerpc32/memset.S: Likewise.
43177 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43178 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43179 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43180 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43181 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43182 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43183 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43184 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43185 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43186 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43187 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43188 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43189 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43191 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43193 * math/libm-test.inc: Added more nearbyint tests.
43194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43195 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43197 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43199 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43201 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43204 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43206 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43207 Add wcscpy-ssse3 wcscpy-c.
43208 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43209 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43210 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43211 * sysdeps/x86_64/wcschr.S: New file.
43212 * sysdeps/x86_64/wcsrchr.S: New file.
43213 * string/test-strcmp.c: Remove checking of wcscmp function for
43215 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43216 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43217 wcsrchr-sse2 wcsrchr-c.
43218 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43219 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43220 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43221 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43222 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43223 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43224 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43225 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43226 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43227 * wcsmbc/wcschr.c (WCSCHR): New macro.
43229 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43231 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43232 * wcsmbs/test-wcsrchr.c: New file.
43233 * string/test-strrchr.c: Add wcsrchr support.
43235 * wcsmbs/test-wcscpy.c: New file.
43236 * string/test-strcpy.c: Add wcscpy support.
43239 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43241 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43244 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43247 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43249 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43251 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43252 Minor optimizations.
43254 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43255 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43256 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43258 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43260 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43261 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43262 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43263 for gcc to avoid warnings.
43264 * inet/Makefile (tests): Add tst-checks.
43265 * inet/tst-checks.c: New file.
43267 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43270 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43273 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43274 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43276 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43278 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43280 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43283 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43285 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43287 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43288 conditional on GCC version.
43289 (__arch_compare_and_exchange_val_8_acq)
43290 (__arch_compare_and_exchange_val_16_acq)
43291 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43292 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43293 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43295 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43297 * sysdeps/sh/backtrace.c: New file.
43299 2011-12-02 Andreas Schwab <schwab@redhat.com>
43301 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43304 2011-12-01 Andreas Schwab <schwab@redhat.com>
43306 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43307 falling back to utime.
43309 2011-11-30 Andreas Schwab <schwab@redhat.com>
43311 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43312 expectations for float.
43314 2011-11-29 Andreas Schwab <schwab@redhat.com>
43316 * locale/weight.h (findidx): Add parameter len.
43317 * locale/weightwc.h (findidx): Likewise.
43318 * posix/fnmatch_loop.c (FCT): Adjust caller.
43319 * posix/regcomp.c (build_equiv_class): Likewise.
43320 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43321 * posix/regexec.c (check_node_accept_bytes): Likewise.
43322 * string/strcoll_l.c (STRCOLL): Likewise.
43323 * string/strxfrm_l.c (STRXFRM): Likewise.
43325 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43327 * Makefile.in: Remove CVSOPT handling.
43328 * configure.in: Remove use of AC_REVISION.
43329 * iconvdata/Makefile (distribute): No need to filter out CVS.
43330 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43333 2011-11-16 Andreas Schwab <schwab@redhat.com>
43335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43336 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43337 [USE_AS_STRNCASECMP_L]: Likewise.
43338 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43339 NO_TLS_DIRECT_SEG_REFS.
43340 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43341 Fix argument offsets for non-PIC.
43342 [USE_AS_STRNCASECMP_L]: Likewise.
43343 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43344 NO_TLS_DIRECT_SEG_REFS.
43346 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43348 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43350 * locale/loadlocale.c (_nl_load_locale): Likewise.
43352 2011-11-15 Andreas Schwab <schwab@redhat.com>
43354 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43355 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43356 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43357 (SYSCALL_GETTIME): Set errno on error.
43359 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43360 count references to noai6ai_cached.
43362 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43364 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43366 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43367 FD_CLOEXEC for /proc/self/maps.
43369 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43370 FD_CLOEXEC for /proc/meminfo.
43372 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43375 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43376 FD_CLOEXEC for given file.
43378 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43380 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43381 FD_CLOEXEC for /etc/hosts.
43382 (_gethtent): Likewise.
43384 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43386 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43387 cancellation and set FD_CLOEXEC for /etc/netgroup.
43389 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43390 reading /etc/publickey.
43392 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43393 allow cancellation when reading /etc/group.
43395 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43397 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43399 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43400 when using data file.
43402 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43404 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43405 (write_nis_obj): Use "c" and "e" in fopen.
43407 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43409 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43411 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43413 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43415 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43418 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43420 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43422 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43424 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43425 file parsing and set FD_CLOEXEC.
43427 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43429 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43431 2011-11-14 Andreas Schwab <schwab@redhat.com>
43433 * malloc/arena.c (arena_get2): Don't call reused_arena when
43434 _int_new_arena failed.
43436 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43438 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43439 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43440 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43441 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43442 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43444 to compile strcasecmp and strncasecmp.
43445 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43446 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43450 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43452 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43453 locale-defines.sym to gen-as-const-headers.
43454 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43455 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43456 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43457 to compile strcasecmp and strncasecmp.
43458 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43459 strcasecmp_l and strncasecmp_l.
43460 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43461 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43462 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43463 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43464 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43465 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43466 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43467 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43468 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43469 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43470 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43472 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43474 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43475 result of SYSDEP_GETTIME_CPU to retval.
43476 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43477 parameter list to macro. Remove trailing semicolon. Adjust users.
43479 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43482 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43484 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43486 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43487 from unused variable.
43489 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43491 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43494 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43497 * sunrpc/rpc_prot.c (rejected): Fix case value.
43499 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43500 unsigned long long int to avoid warnings in shift.
43502 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43504 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43507 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43508 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43509 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43511 * nis/nis_table.c (nis_list): Use variable of correct type for
43512 result of __follow_path call.
43514 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43516 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43517 of math functions ceil, trunc, floor, round, and sqrt, when
43518 avaliable on the platform.
43519 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43521 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43522 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43523 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43525 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43527 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43528 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43530 2011-11-11 Roland McGrath <roland@hack.frob.com>
43532 * include/unistd.h: Fix __readlink return type.
43533 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43535 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43537 * stdlib/ucontext.h: Undo last change for makecontext.
43539 2011-11-11 Andreas Schwab <schwab@redhat.com>
43541 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43543 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43544 * setjmp/setjmp.h: Mark functions as non-leaf.
43545 * setjmp/bits/setjmp2.h: Likewise.
43546 * stdlib/ucontext.h: Likewise.
43548 2011-11-10 Andreas Schwab <schwab@redhat.com>
43550 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43551 (reused_arena): Don't check arena limit.
43552 (arena_get2): Atomically check arena limit.
43554 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43556 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43557 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43562 2011-11-07 Andreas Schwab <schwab@redhat.com>
43564 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43565 handler when locking.
43567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43568 Fix size of allocated buffer.
43570 2011-11-04 Andreas Schwab <schwab@redhat.com>
43573 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43574 declarations for long double functions.
43575 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43577 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43579 2011-11-03 Andreas Schwab <schwab@redhat.com>
43581 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43584 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43587 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43589 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43591 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43593 * include/alloca.h (stackinfo_alloca_round): Define.
43594 (extend_alloca): Use it.
43595 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43596 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43599 * scripts/check-local-headers.sh: Ignore libaudit.h.
43601 * nscd/Makefile (extra-objs): Make recursively expanded.
43603 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43605 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43606 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43608 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43609 * posix/tst-rfc3484-2.c: Likewise.
43610 * posix/tst-rfc3484-3.c: Likewise.
43612 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43614 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43616 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43617 process_vm_writev from libc using GLIBC_2.15 version.
43619 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43621 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43623 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43626 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43629 * nss/getent.c (initgroups_keys): Show error message in case no group
43632 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43633 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43634 __bump_nl_timestamp.
43635 * nscd/connections (nscd_init): When host database is served open
43636 netlink socket and request notification about configuration changes.
43637 (main_loop_poll): Track netlink file descriptor and bump timestamp
43638 in case data becomes available.
43639 (main_loop_epoll): Likewise.
43640 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43641 (database_pers_head): Add extra_data fileds.
43642 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43643 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43644 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43646 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43647 in6ai data, call __free_in6ai.
43648 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43649 Add -DHAVE_NETLINK.
43650 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43651 interface information. Reuse previous data if netlink timestamp
43653 (__bump_nl_timestamp): New function.
43654 (__free_in6ai): New function.
43656 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43658 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43659 close_not_cancel_no_status here.
43660 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43662 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43665 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43668 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43669 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43670 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43672 2011-07-03 Andreas Jaeger <aj@suse.de>
43675 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43676 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43677 * math/libm-test.inc (sin_test): Add test case.
43679 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43682 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43683 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43685 * elf/chroot_canon.c (chroot_canon): Cleanups.
43687 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43690 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43691 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43693 * string/test-strchr.c: Make usable for strchrnul testing.
43694 * string/test-strchrnul.c: New file.
43695 * string/Makefile (strop-tests): Add strchrnul.
43697 * po/it.po: Update from translation team.
43698 * po/es.po: Likewise.
43700 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43702 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43703 the three constants needed as parameters. Drop the others.
43704 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43705 __m128i_strloadu_tolower.
43706 Create and initialize variable zero and use it in all the places
43707 where _mm_setzero_si128 was used.
43709 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43710 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43711 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43712 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43714 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43715 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43716 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43717 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43718 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43719 __mpranred, __mptan.
43720 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43721 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43722 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43723 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43724 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43725 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43726 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43727 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43728 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43730 2011-10-28 Andreas Schwab <schwab@redhat.com>
43732 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43733 redefine if SHARED.
43734 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43737 wide char related routines to wcsmbs subdir.
43739 2011-10-27 Andreas Schwab <schwab@redhat.com>
43742 * misc/sys/cdefs.h (__THROWNL): Define.
43743 * posix/unistd.h: Use __THREADNL instead of __THREAD
43744 for memory synchronization functions.
43746 2011-10-26 Roland McGrath <roland@hack.frob.com>
43749 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43751 * manual/stdio.texi (Obstack Streams): Node removed.
43753 2011-10-26 Andreas Schwab <schwab@redhat.com>
43755 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43756 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43759 * math/math_private.h (math_force_eval): Allow non-addressable
43761 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43763 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43765 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43766 file is not needed.
43768 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43769 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43770 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43771 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43772 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43773 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43774 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43775 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43777 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43778 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43779 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43780 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43781 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43782 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43783 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43784 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43785 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43786 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43787 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43788 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43789 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43790 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43791 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43792 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43793 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43794 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43795 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43797 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43798 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43800 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43801 place. Use VEX encoding when compiling for AVX.
43803 2011-10-25 Andreas Schwab <schwab@redhat.com>
43805 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43806 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43808 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43810 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43812 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43813 useless if() expression.
43814 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43815 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43816 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43817 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43818 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43819 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43820 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43821 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43822 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43823 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43824 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43825 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43826 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43827 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43828 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43829 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43830 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43831 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43832 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43834 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43836 2011-10-25 Andreas Schwab <schwab@redhat.com>
43838 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43840 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43842 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43844 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43845 .text section. Avoid duplicate constants.
43846 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43848 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43854 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43855 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43856 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43857 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43858 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43859 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43860 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43861 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43862 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43863 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43864 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43866 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43867 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43868 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43869 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43870 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43871 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43872 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43873 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43874 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43875 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43876 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43877 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43878 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43879 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43880 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43881 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43882 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43883 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43884 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43885 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43886 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43887 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43888 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43889 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43890 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43892 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43894 * sysdeps/x86_64/dla.h: Move to ...
43895 * sysdeps/x86_64/fpu/dla.h: ...here.
43896 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43897 situations. Use __builtin_fma only for gcc 4.6 and up.
43899 * config.make.in: Add have-mfma4 entry.
43900 * configure.in: Substitute libc_cv_cc_fma4.
43901 * math/Makefile (dbl-only-routines): Add sincostab.
43902 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43903 Use __sincostab not sincos.
43904 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43906 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43911 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43912 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43913 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43914 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43916 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43917 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43919 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43920 define aliases when function name is a macro.
43921 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43922 sysdeps/ieee754/dbl-64/sincos.tbl.
43923 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43924 fma4-enabled routines.
43925 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43926 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43927 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43928 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43929 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43930 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43931 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43932 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43934 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43935 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43936 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43937 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43938 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43939 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43940 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43941 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43942 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43943 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43944 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43945 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43946 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43947 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43948 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43949 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43950 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43951 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43952 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43953 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43954 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43956 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43958 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43960 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43963 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43964 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43965 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43967 2011-10-24 Andreas Schwab <schwab@redhat.com>
43969 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43971 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43973 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43975 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43977 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43979 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43980 Remove unused variable magic_bits.
43981 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43983 * string/strnlen.c: Define and use STRNLEN macro.
43984 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43985 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43986 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43987 * wcsmbs/wcslen.c: Define and use WCSLEN.
43988 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43989 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43990 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43991 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43992 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43993 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43994 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43996 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43999 strnlen-sse2-no-bsf.
44000 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44001 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44002 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44003 Add strnlen support.
44004 (USE_AS_STRNLEN): New macro.
44005 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44006 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44007 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44008 * sysdeps/x86_64/wcslen.S: New file.
44010 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44013 XMM-moves are used for copying on small sizes.
44015 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44017 * wcsmbs/Makefile (strop-tests): Add wcschr.
44018 * wcsmbs/test-wcschr.c: New file.
44019 * string/test-strchr.c: Update.
44020 Add wcschr support.
44023 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44025 * wcsmbs/Makefile (strop-tests): Add wcslen.
44026 * wcsmbs/test-wcslen.c: New file.
44027 * string/test-strlen.c: Update.
44028 Add wcslen support.
44031 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44033 * po/it.po: Update from translation team.
44035 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44037 * sysdeps/x86_64/wcscmp.S: Update.
44038 Fix wrong comparison semantics.
44039 wcscmp shall use signed comparison not unsigned.
44040 Don't use substraction to avoid overflow bug.
44041 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44042 * wcsmbc/wcscmp.c: Likewise.
44043 * string/test-strcmp.c: Likewise.
44044 Add new tests to check cases with negative values.
44046 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44048 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44049 * sysdeps/x86_64/dla.h: ...here. New file.
44050 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44053 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44055 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44057 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44058 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44060 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44063 __ynl_finite aliases.
44065 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44069 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44071 [DLA_FMA] (EMULV): Use DLA_FMA.
44072 [DLA_FMA] (MUL12): Use EMULV.
44073 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44074 that are not needed.
44075 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44078 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44081 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44083 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44085 * math/s_nan.c: Undef __nan.
44086 * math/s_nanf.c: Undef __nanf.
44087 * math/s_nanl.c: Undef __nanl.
44088 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44091 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44093 * math/s_catan.c: Add branch predictions.
44094 * math/s_catanf.c: Likewise.
44095 * math/s_catanh.c: Likewise.
44096 * math/s_catanhf.c: Likewise.
44097 * math/s_catanhl.c: Likewise.
44098 * math/s_catanl.c: Likewise.
44099 * math/s_cexp.c: Likewise.
44100 * math/s_cexpf.c: Likewise.
44101 * math/s_cexpl.c: Likewise.
44102 * math/s_clog.c: Likewise.
44103 * math/s_clog10.c: Likewise.
44104 * math/s_clog10f.c: Likewise.
44105 * math/s_clog10l.c: Likewise.
44106 * math/s_clogf.c: Likewise.
44107 * math/s_clogl.c: Likewise.
44108 * math/s_csqrt.c: Likewise.
44109 * math/s_csqrtf.c: Likewise.
44110 * math/s_csqrtl.c: Likewise.
44111 * math/s_ctanf.c: Likewise.
44112 * math/s_ctanh.c: Likewise.
44113 * math/s_ctanhf.c: Likewise.
44114 * math/s_ctanhl.c: Likewise.
44115 * math/s_ctanl.c: Likewise.
44117 * math/math_private.h: Define __nan, __nanf, __nanl.
44118 * math/s_cacosh.c: Include <math_private.h>.
44119 * math/s_cacoshl.c: Likewise.
44120 * math/s_casinh.c: Likewise.
44121 * math/s_casinhf.c: Likewise.
44122 * math/s_casinhl.c: Likewise.
44123 * math/s_ccos.c: Rely entire on ccosh.
44124 * math/s_ccosf.c: Rely entire on ccoshf.
44125 * math/s_ccosl.c: Rely entirely on ccoshl.
44126 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44127 Remove tests for FE_INVALID.
44128 * math/s_ccoshf.c: Likewise.
44129 * math/s_ccoshl.c: Likewise.
44130 * math/s_csin.c: Likewise.
44131 * math/s_csinf.c: Likewise.
44132 * math/s_csinh.c Likewise.
44133 * math/s_csinhf.c: Likewise.
44134 * math/s_csinhl.c: Likewise.
44135 * math/s_csinl.c: Likewise.
44136 * math/s_ctan.c: Likewise.
44137 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44138 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44141 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44144 compilation problems.
44146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44149 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44151 * sysdeps/i386/configure.in: Test for -mfma4 option.
44152 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44153 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44154 COMMON_CPUID_INDEX_80000001.
44155 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44156 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44157 use it if FMA3 is not supported.
44158 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44160 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44161 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44163 2011-10-20 Andreas Schwab <schwab@redhat.com>
44166 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44167 it would create a cycle with a link time dependency.
44169 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44171 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44173 * string/Makefile (strop-tests): Add rawmemchr.
44174 * string/test-rawmemchr.c: New file.
44176 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44177 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44178 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44179 when compiling str{,n}casecmp and when AVX is available. Hook up
44180 new optimized code in initializers.
44182 2011-10-19 Andreas Schwab <schwab@redhat.com>
44184 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44185 __feraiseexcept instead of feraiseexcept.
44187 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44189 * math/math_private.h: Define defaults for libc_fetestexcept and
44191 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44192 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44193 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44194 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44195 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44196 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44197 libc_fetestexcept and libc_feupdateenv.
44199 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44200 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44201 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44202 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44203 libc_feholdexcept_setround.
44205 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44206 Add s_nearbyint-c and s_nearbyintf-c.
44207 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44208 nearbyintf inlines.
44209 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44210 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44211 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44212 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44214 * math/math_private.h: Define defaults for libc_fegetround,
44215 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44216 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44217 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44218 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44219 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44220 standard functions.
44221 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44222 Remove comments and hacks for old compiler versions.
44223 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44224 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44225 libc_feholdexceptl.
44227 2011-10-18 Andreas Schwab <schwab@redhat.com>
44229 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44230 (__feraiseexcept_renamed): Add __NTH.
44231 (feraiseexcept): Add __NTH. Rename local variables to fix
44232 namespace violations.
44234 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44236 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44238 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44240 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44241 recently added interfaces.
44242 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44244 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44245 about macro parameter expansion.
44247 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44248 __NO_MATH_INLINES is defined. Cleanups.
44250 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44251 and __floorf is target has SSE4.1.
44252 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44253 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44254 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44255 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44257 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44259 (floorf): Likewise.
44261 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44263 2011-10-17 Andreas Schwab <schwab@redhat.com>
44265 * misc/sys/cdefs.h: Fix last change.
44267 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44270 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44272 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44274 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44275 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44276 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44277 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44279 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44280 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44281 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44282 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44283 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44284 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44285 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44286 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44287 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44288 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44289 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44290 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44291 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44292 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44293 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44294 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44295 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44297 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44298 ceil, ceilf, floor, floorf.
44300 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44301 Perform IRELATIVE relocations last.
44303 * elf/do-rel.h: Add another parameter nrelative, replacing the
44304 local variable with the same name. Change name of the function
44305 to end in Rel or Rela (uppercase).
44306 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44307 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44308 elf_dynamic_do_##reloc function.
44310 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44312 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44313 is sufficient, at least on modern CPUs.
44315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44317 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44318 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44320 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44322 * math/bits/math-finite.h: Add entries for exp.
44323 * math/e_expl.c: Add __*_finite alias.
44324 * sysdeps/i386/fpu/e_exp.S: Likewise.
44325 * sysdeps/i386/fpu/e_expf.S: Likewise.
44326 * sysdeps/i386/fpu/e_expl.c: Likewise.
44327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44328 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44329 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44331 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44332 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44333 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44335 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44336 is sufficient, at least on modern CPUs.
44338 * ctype/ctype-info.c (__ctype_init): Define.
44339 * include/ctype.h (__ctype_init): Declare.
44340 (__ctype_b_loc): The variable is always initialized.
44341 (__ctype_toupper_loc): Likewise.
44342 (__ctype_tolower_loc): Likewise.
44343 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44344 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44346 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44348 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44350 * configure.in: Also look in $cxxmachine/include for C++ system
44353 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44355 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44356 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44357 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44358 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44359 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44360 (USE_AS_WMEMCMP): New macro.
44362 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44363 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44364 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44365 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44366 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44367 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44368 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44369 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44370 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44371 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44372 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44373 (USE_AS_WMEMCMP): New macro.
44374 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44375 * sysdeps/string/test-memcmp.c: Update.
44376 Fix simple_wmemcmp.
44378 * wcsmbs/wmemcmp.c: Update.
44379 (WMEMCMP): New macro.
44382 2011-10-12 Andreas Jaeger <aj@suse.de>
44385 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44387 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44389 * libio/iofwide.c (do_length): Avoid warning.
44391 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44393 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44395 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44397 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44398 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44399 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44400 * sysdeps/i386/i686/fpu/e_log.S: New file.
44401 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44402 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44404 * ctype/ctype.h: Add support for inlined isXXX functions when
44405 compiling C++ code.
44407 2011-10-14 Andreas Schwab <schwab@redhat.com>
44409 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44411 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44413 2011-10-13 Roland McGrath <roland@hack.frob.com>
44416 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44418 2011-10-13 Andreas Schwab <schwab@redhat.com>
44420 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44421 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44424 * sysdeps/x86_64/memrchr.S: Check for zero size.
44426 * string/stratcliff.c: Add memrchr tests.
44428 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44431 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44432 rawmemchr-sse2 rawmemchr-sse2-bsf.
44433 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44434 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44435 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44436 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44437 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44438 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44439 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44440 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44441 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44442 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44443 * string/memrchr.c (MEMRCHR): New macro.
44445 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44447 Add integration with gcc's -ffinite-math-only and optimize wrapper
44449 * Versions.def: Define GLIBC_2.15 version for libm.
44450 * math/Makefile (headers): Add bits/math-finite.h.
44451 * math/bits/math-finite.h: New file.
44452 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44453 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44454 * math/e_acoshl.c: Add __*_finite alias.
44455 * math/e_acosl.c: Likewise.
44456 * math/e_asinl.c: Likewise.
44457 * math/e_atan2l.c: Likewise.
44458 * math/e_atanhl.c: Likewise.
44459 * math/e_coshl.c: Likewise.
44460 * math/e_exp10.c: Likewise.
44461 * math/e_exp10f.c: Likewise.
44462 * math/e_exp10l.c: Likewise.
44463 * math/e_exp2l.c: Likewise.
44464 * math/e_fmodl.c: Likewise.
44465 * math/e_gammal_r.c: Likewise.
44466 * math/e_hypotl.c: Likewise.
44467 * math/e_j0l.c: Likewise.
44468 * math/e_j1l.c: Likewise.
44469 * math/e_jnl.c: Likewise.
44470 * math/e_lgammal_r.c: Likewise.
44471 * math/e_log10l.c: Likewise.
44472 * math/e_log2l.c: Likewise.
44473 * math/e_logl.c: Likewise.
44474 * math/e_powl.c: Likewise.
44475 * math/e_sinhl.c: Likewise.
44476 * math/e_sqrtl.c: Likewise.
44477 * math/e_scalb.c: Completely rewritten and optimized.
44478 * math/e_scalbf.c: Likewise.
44479 * math/e_scalbl.c: Likewise.
44480 * math/w_acos.c: Likewise.
44481 * math/w_acosf.c: Likewise.
44482 * math/w_acosl.c: Likewise.
44483 * math/w_acosh.c: Likewise.
44484 * math/w_acoshf.c: Likewise.
44485 * math/w_acoshl.c: Likewise.
44486 * math/w_asin.c: Likewise.
44487 * math/w_asinf.c: Likewise.
44488 * math/w_asinl.c: Likewise.
44489 * math/w_atan2.c: Likewise.
44490 * math/w_atan2f.c: Likewise.
44491 * math/w_atan2l.c: Likewise.
44492 * math/w_atanh.c: Likewise.
44493 * math/w_atanhf.c: Likewise.
44494 * math/w_atanhl.c: Likewise.
44495 * math/w_exp10.c: Likewise.
44496 * math/w_exp10f.c: Likewise.
44497 * math/w_exp10l.c: Likewise.
44498 * math/w_fmod.c: Likewise.
44499 * math/w_fmodf.c: Likewise.
44500 * math/w_fmodl.c: Likewise.
44501 * math/w_j0.c: Likewise.
44502 * math/w_j0f.c: Likewise.
44503 * math/w_j0l.c: Likewise.
44504 * math/w_j1.c: Likewise.
44505 * math/w_j1f.c: Likewise.
44506 * math/w_j1l.c: Likewise.
44507 * math/w_jn.c: Likewise.
44508 * math/w_jnf.c: Likewise.
44509 * math/w_log.c: Likewise.
44510 * math/w_logf.c: Likewise.
44511 * math/w_logl.c: Likewise.
44512 * math/w_log10.c: Likewise.
44513 * math/w_log10f.c: Likewise.
44514 * math/w_log10l.c: Likewise.
44515 * math/w_log2.c: Likewise.
44516 * math/w_log2f.c: Likewise.
44517 * math/w_log2l.c: Likewise.
44518 * math/w_pow.c: Likewise.
44519 * math/w_powf.c: Likewise.
44520 * math/w_powl.c: Likewise.
44521 * math/w_remainder.c: Likewise.
44522 * math/w_remainderf.c: Likewise.
44523 * math/w_remainderl.c: Likewise.
44524 * math/w_scalb.c: Likewise.
44525 * math/w_scalbf.c: Likewise.
44526 * math/w_scalbl.c: Likewise.
44527 * math/w_sqrt.c: Likewise.
44528 * math/w_sqrtf.c: Likewise.
44529 * math/w_sqrtl.c: Likewise.
44530 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44531 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44533 * math/math_private.h: Declare __kernel_standard_f.
44534 * math/w_cosh.c: Remove cruft and optimize a bit.
44535 * math/w_coshf.c: Likewise.
44536 * math/w_coshl.c: Likewise.
44537 * math/w_exp2.c: Likewise.
44538 * math/w_exp2f.c: Likewise.
44539 * math/w_exp2l.c: Likewise.
44540 * math/w_hypot.c: Likewise.
44541 * math/w_hypotf.c: Likewise.
44542 * math/w_hypotl.c: Likewise.
44543 * math/w_lgamma.c: Likewise.
44544 * math/w_lgamma_r.c: Likewise.
44545 * math/w_lgammaf.c: Likewise.
44546 * math/w_lgammaf_r.c: Likewise.
44547 * math/w_lgammal.c: Likewise.
44548 * math/w_lgammal_r.c: Likewise.
44549 * math/w_sinh.c: Likewise.
44550 * math/w_sinhf.c: Likewise.
44551 * math/w_sinhl.c: Likewise.
44552 * math/w_tgamma.c: Likewise.
44553 * math/w_tgammaf.c: Likewise.
44554 * math/w_tgammal.c: Likewise.
44555 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44557 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44558 Minor optimizations. Pretty printing. Remove cruft.
44559 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44560 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44561 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44562 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44563 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44564 * sysdeps/i386/fpu/e_asin.S: Likewise.
44565 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44566 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44567 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44568 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44569 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44570 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44571 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44572 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44573 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44574 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44575 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44576 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44577 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44578 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44579 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44580 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44581 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44582 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44583 * sysdeps/i386/fpu/e_log.S: Likewise.
44584 * sysdeps/i386/fpu/e_log10.S: Likewise.
44585 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44586 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44587 * sysdeps/i386/fpu/e_log2.S: Likewise.
44588 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44589 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44590 * sysdeps/i386/fpu/e_logf.S: Likewise.
44591 * sysdeps/i386/fpu/e_logl.S: Likewise.
44592 * sysdeps/i386/fpu/e_pow.S: Likewise.
44593 * sysdeps/i386/fpu/e_powf.S: Likewise.
44594 * sysdeps/i386/fpu/e_powl.S: Likewise.
44595 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44596 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44597 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44598 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44599 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44600 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44601 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44602 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44603 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44604 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44605 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44606 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44607 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44608 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44609 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44610 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44611 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44612 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44613 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44614 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44615 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44617 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44618 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44620 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44621 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44622 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44624 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44625 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44626 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44627 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44628 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44629 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44630 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44631 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44632 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44633 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44634 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44635 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44636 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44637 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44638 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44639 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44640 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44641 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44642 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44643 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44644 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44645 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44646 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44647 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44648 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44649 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44650 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44651 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44652 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44653 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44654 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44655 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44656 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44657 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44658 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44659 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44660 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44661 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44662 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44663 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44664 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44665 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44666 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44667 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44668 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44669 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44670 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44671 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44672 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44674 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44675 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44676 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44678 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44679 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44680 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44681 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44682 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44683 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44684 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44685 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44686 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44687 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44688 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44689 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44690 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44691 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44692 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44693 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44694 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44695 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44696 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44697 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44698 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44699 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44700 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44701 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44702 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44703 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44704 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44705 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44706 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44707 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44708 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44709 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44710 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44711 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44712 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44713 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44714 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44715 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44716 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44717 (__isnanf): Likewise.
44718 (__isinf_ns): Likewise.
44719 (__isinf_nsf): Likewise.
44720 (__finite): Likewise.
44721 (__finitef): Likewise.
44722 (__ieee754_sqrt): Define as macro.
44723 (__ieee754_sqrtf): Define as macro.
44724 (__ieee754_sqrtl): Define as macro.
44725 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44727 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44728 __FINITE_MATH_ONLY__ consistent.
44729 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44731 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44733 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44736 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44738 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44740 * po/ja.po: Update from translation team.
44742 2011-10-08 Roland McGrath <roland@hack.frob.com>
44744 * locale/programs/locarchive.c (prepare_address_space): New function.
44745 (create_archive, enlarge_archive, open_archive): Use it.
44747 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44748 inside [SHARED], where it is used.
44750 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44752 * nss/getent.c (netgroup_keys): Remove unused variable.
44753 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44755 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44757 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44758 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44760 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44761 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44762 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44763 * math/Makefile (libm-calls): Add s_isinf_ns.
44764 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44765 * math/multc3.c: Likewise.
44766 * math/s_casin.c: Likewise.
44767 * math/s_casinf.c: Likewise.
44768 * math/s_casinl.c: Likewise.
44769 * math/s_ccos.c: Likewise.
44770 * math/s_ccosf.c: Likewise.
44771 * math/s_ccosl.c: Likewise.
44772 * math/s_ctan.c: Likewise.
44773 * math/s_ctanf.c: Likewise.
44774 * math/s_ctanh.c: Likewise.
44775 * math/s_ctanhf.c: Likewise.
44776 * math/s_ctanhl.c: Likewise.
44777 * math/s_ctanl.c: Likewise.
44778 * math/w_fmod.c: Likewise.
44779 * math/w_fmodf.c: Likewise.
44780 * math/w_fmodl.c: Likewise.
44781 * math/w_remainder.c: Likewise.
44782 * math/w_remainderf.c: Likewise.
44783 * math/w_remainderl.c: Likewise.
44784 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44785 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44786 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44788 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44789 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44790 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44791 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44793 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44795 * stdio-common/printf_fphex.c: Likewise.
44796 * stdio-common/printf_size.c: Likewise.
44798 * math/e_exp10.c: Include math_private.h using <...> not "...".
44799 * math/e_exp10f.c: Likewise.
44800 * math/e_exp10l.c: Likewise.
44801 * math/e_exp2l.c: Likewise.
44802 * math/e_j0l.c: Likewise.
44803 * math/e_j1l.c: Likewise.
44804 * math/e_jnl.c: Likewise.
44805 * math/e_lgammal_r.c: Likewise.
44806 * math/e_rem_pio2l.c: Likewise.
44807 * math/e_scalb.c: Likewise.
44808 * math/e_scalbf.c: Likewise.
44809 * math/e_scalbl.c: Likewise.
44810 * math/k_cosl.c: Likewise.
44811 * math/k_sinl.c: Likewise.
44812 * math/k_tanl.c: Likewise.
44813 * math/s_cacoshf.c: Likewise.
44814 * math/s_catan.c: Likewise.
44815 * math/s_catanf.c: Likewise.
44816 * math/s_catanh.c: Likewise.
44817 * math/s_catanhf.c: Likewise.
44818 * math/s_catanhl.c: Likewise.
44819 * math/s_catanl.c: Likewise.
44820 * math/s_ccosh.c: Likewise.
44821 * math/s_ccoshf.c: Likewise.
44822 * math/s_ccoshl.c: Likewise.
44823 * math/s_cexp.c: Likewise.
44824 * math/s_cexpf.c: Likewise.
44825 * math/s_cexpl.c: Likewise.
44826 * math/s_clog.c: Likewise.
44827 * math/s_clog10.c: Likewise.
44828 * math/s_clog10f.c: Likewise.
44829 * math/s_clog10l.c: Likewise.
44830 * math/s_clogf.c: Likewise.
44831 * math/s_clogl.c: Likewise.
44832 * math/s_csin.c: Likewise.
44833 * math/s_csinf.c: Likewise.
44834 * math/s_csinh.c: Likewise.
44835 * math/s_csinhf.c: Likewise.
44836 * math/s_csinhl.c: Likewise.
44837 * math/s_csinl.c: Likewise.
44838 * math/s_csqrt.c: Likewise.
44839 * math/s_csqrtf.c: Likewise.
44840 * math/s_csqrtl.c: Likewise.
44841 * math/s_ctan.c: Likewise.
44842 * math/s_ctanf.c: Likewise.
44843 * math/s_ctanh.c: Likewise.
44844 * math/s_ctanhf.c: Likewise.
44845 * math/s_ctanhl.c: Likewise.
44846 * math/s_ctanl.c: Likewise.
44847 * math/s_ldexp.c: Likewise.
44848 * math/s_ldexpf.c: Likewise.
44849 * math/s_ldexpl.c: Likewise.
44850 * math/s_significand.c: Likewise.
44851 * math/s_significandf.c: Likewise.
44852 * math/s_significandl.c: Likewise.
44853 * math/w_acos.c: Likewise.
44854 * math/w_acosf.c: Likewise.
44855 * math/w_acosh.c: Likewise.
44856 * math/w_acoshf.c: Likewise.
44857 * math/w_acoshl.c: Likewise.
44858 * math/w_acosl.c: Likewise.
44859 * math/w_asin.c: Likewise.
44860 * math/w_asinf.c: Likewise.
44861 * math/w_asinl.c: Likewise.
44862 * math/w_atan2.c: Likewise.
44863 * math/w_atan2f.c: Likewise.
44864 * math/w_atan2l.c: Likewise.
44865 * math/w_atanh.c: Likewise.
44866 * math/w_atanhf.c: Likewise.
44867 * math/w_atanhl.c: Likewise.
44868 * math/w_cosh.c: Likewise.
44869 * math/w_coshf.c: Likewise.
44870 * math/w_coshl.c: Likewise.
44871 * math/w_dremf.c: Likewise.
44872 * math/w_exp10.c: Likewise.
44873 * math/w_exp10f.c: Likewise.
44874 * math/w_exp10l.c: Likewise.
44875 * math/w_exp2.c: Likewise.
44876 * math/w_exp2f.c: Likewise.
44877 * math/w_fmod.c: Likewise.
44878 * math/w_fmodf.c: Likewise.
44879 * math/w_fmodl.c: Likewise.
44880 * math/w_hypot.c: Likewise.
44881 * math/w_hypotf.c: Likewise.
44882 * math/w_hypotl.c: Likewise.
44883 * math/w_j0.c: Likewise.
44884 * math/w_j0f.c: Likewise.
44885 * math/w_j0l.c: Likewise.
44886 * math/w_j1.c: Likewise.
44887 * math/w_j1f.c: Likewise.
44888 * math/w_j1l.c: Likewise.
44889 * math/w_jn.c: Likewise.
44890 * math/w_jnf.c: Likewise.
44891 * math/w_jnl.c: Likewise.
44892 * math/w_lgamma.c: Likewise.
44893 * math/w_lgamma_r.c: Likewise.
44894 * math/w_lgammaf.c: Likewise.
44895 * math/w_lgammaf_r.c: Likewise.
44896 * math/w_lgammal.c: Likewise.
44897 * math/w_lgammal_r.c: Likewise.
44898 * math/w_log.c: Likewise.
44899 * math/w_log10.c: Likewise.
44900 * math/w_log10f.c: Likewise.
44901 * math/w_log10l.c: Likewise.
44902 * math/w_log2.c: Likewise.
44903 * math/w_log2f.c: Likewise.
44904 * math/w_log2l.c: Likewise.
44905 * math/w_logf.c: Likewise.
44906 * math/w_logl.c: Likewise.
44907 * math/w_pow.c: Likewise.
44908 * math/w_powf.c: Likewise.
44909 * math/w_powl.c: Likewise.
44910 * math/w_remainder.c: Likewise.
44911 * math/w_remainderf.c: Likewise.
44912 * math/w_remainderl.c: Likewise.
44913 * math/w_scalb.c: Likewise.
44914 * math/w_scalbf.c: Likewise.
44915 * math/w_scalbl.c: Likewise.
44916 * math/w_sinh.c: Likewise.
44917 * math/w_sinhf.c: Likewise.
44918 * math/w_sinhl.c: Likewise.
44919 * math/w_sqrt.c: Likewise.
44920 * math/w_sqrtf.c: Likewise.
44921 * math/w_sqrtl.c: Likewise.
44922 * math/w_tgamma.c: Likewise.
44923 * math/w_tgammaf.c: Likewise.
44924 * math/w_tgammal.c: Likewise.
44926 * po/ja.po: Update from translation team.
44928 2011-09-29 Andreas Jaeger <aj@suse.de>
44931 * sunrpc/netname.c (netname2host): Fix logic.
44935 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44937 * math/w_remainder.c (__remainder): Likewise.
44938 * math/w_remainderf.c (__remainderf): Likewise.
44939 * math/libm-test.inc (remainder_test): Add test cases.
44941 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44943 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44946 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44948 * string/test-memcmp.c: Avoid unncessary #defines.
44949 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44951 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44953 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44954 Use new sse2 version for core i3 - i7 as it's faster
44955 than sse42 version.
44956 (bit_Prefer_PMINUB_for_stringop): New.
44957 * sysdeps/x86_64/rawmemchr.S: Update.
44958 Replace with faster SSE2 version.
44959 * sysdeps/x86_64/memrchr.S: New file.
44960 * sysdeps/x86_64/memchr.S: Update.
44961 Replace with faster SSE2 version.
44963 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44965 * elf/dl-load.c (lose): Add cast to avoid warning.
44967 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44969 * po/ca.po: Update from translation team.
44971 * inet/getnetgrent_r.c: Hook up nscd.
44972 * nscd/Makefile (routines): Add nscd_netgroup.
44973 (nscd-modules): Add netgroupcache.
44974 (CFLAGS-netgroupcache.c): Define.
44975 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44976 (cache_search): Add const to second parameter.
44977 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44979 (dbs): Add netgrdb entry.
44980 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44981 (verify_persistent_db): Handle netgrdb.
44982 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44983 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44985 (netgroup_response_header): Define.
44986 (innetgroup_response_header): Define.
44987 (datahead): Add netgroup_response_header and innetgroup_response_header
44989 * nscd/nscd.conf: Add entries for netgroup cache.
44990 * nscd/nscd.h (dbtype): Add netgrdb.
44991 (_PATH_NSCD_NETGROUP_DB): Define.
44992 (netgroup_iov_disabled): Declare.
44993 (xmalloc, xcalloc, xrealloc): Move declarations here.
44994 (cache_search): Adjust prototype.
44995 Add netgroup-related prototypes.
44996 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44997 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44998 (__nscd_innetgr): Declare.
44999 * nscd/selinux.c (perms): Use access_vector_t as element type and
45000 add netgroup-related initializers.
45001 * nscd/netgroupcache.c: New file.
45002 * nscd/nscd_netgroup.c: New file.
45003 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45004 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45005 For four parameters use innetgr.
45006 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45007 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45008 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45009 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45011 * nscd/connections.c (register_traced_file): Don't register file
45012 for disabled databases.
45014 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45016 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45018 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45019 from tree and freeing node.
45021 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45023 * nss/nsswitch.c (__nss_database_lookup): Handle
45024 nss_parse_service_list out of memory case.
45026 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45028 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45029 out of memory case.
45031 2011-10-04 Andreas Schwab <schwab@redhat.com>
45033 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45034 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45036 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45037 elf_machine_rela, elf_machine_lazy_rel.
45038 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45039 (ELF_DYNAMIC_DO_REL): Likewise.
45040 (ELF_DYNAMIC_DO_RELA): Likewise.
45041 (ELF_DYNAMIC_RELOCATE): Likewise.
45042 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45043 to ELF_DYNAMIC_DO_REL.
45044 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45045 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45046 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45048 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45049 skip_ifunc, don't call ifunc function if non-zero.
45050 (elf_machine_rela): Likewise.
45051 (elf_machine_lazy_rel): Likewise.
45052 (elf_machine_lazy_rela): Likewise.
45053 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45054 (elf_machine_lazy_rel): Likewise.
45055 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45057 (elf_machine_lazy_rel): Likewise.
45058 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45060 (elf_machine_lazy_rel): Likewise.
45061 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45062 (elf_machine_lazy_rel): Likewise.
45063 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45064 (elf_machine_lazy_rel): Likewise.
45065 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45066 (elf_machine_lazy_rel): Likewise.
45067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45068 (elf_machine_lazy_rel): Likewise.
45069 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45070 (elf_machine_lazy_rel): Likewise.
45071 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45072 (elf_machine_lazy_rel): Likewise.
45074 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45076 * nss/nss_files/files-init.c (_nss_files_init): Use static
45077 initialization for all the *_traced_file variables.
45079 2011-09-28 Andreas Schwab <schwab@redhat.com>
45081 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45083 2011-09-27 Roland McGrath <roland@hack.frob.com>
45086 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45088 2011-09-27 Andreas Schwab <schwab@redhat.com>
45090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45091 Reread the line before reparsing it.
45093 2011-09-26 Andreas Schwab <schwab@redhat.com>
45095 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45097 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45098 Maxim Kuvyrkov <maxim@codesourcery.com>
45099 Joseph Myers <joseph@codesourcery.com>
45101 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45102 if needed for __stack_chk_guard.
45104 2011-09-19 Roland McGrath <roland@hack.frob.com>
45106 * sysdeps/posix/spawni.c (script_execute): Always define it.
45107 It will be optimized away if unused.
45108 (maybe_script_execute): New function.
45109 (__spawni): Call it.
45111 * Makerules: Don't include tls.make.
45112 (config-tls): Always set to thread.
45113 * tls.make.c: File removed.
45115 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45117 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45118 * config.make.in (CPPFLAGS-config): New substituted variable.
45120 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45122 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45125 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45126 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45128 2011-09-15 Roland McGrath <roland@hack.frob.com>
45130 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45131 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45133 (CALL_FAIL): Likewise.
45134 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45135 (CALL_FAIL): Macro removed.
45136 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45138 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45140 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45141 for __FINITE_MATH_ONLY__ == 1.
45143 2011-09-15 Andreas Schwab <schwab@redhat.com>
45145 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45146 __ieee754_sqrt instead of sqrt.
45147 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45148 __ieee754_sqrtf instead of sqrtf.
45149 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45150 __floorf instead of floorf.
45151 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45152 __floorf, __truncf instead of floorf, truncf.
45154 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45156 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45158 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45159 __extern_always_inline.
45160 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45163 2011-09-14 Andreas Schwab <schwab@redhat.com>
45165 * elf/rtld.c (dl_main): Also relocate in dependency order when
45166 doing symbol dependency testing.
45168 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45171 Always define `refsym'.
45173 2011-09-13 Andreas Schwab <schwab@redhat.com>
45175 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45176 (__FD_ELT): Renamed from __FDELT.
45177 * misc/bits/select2.h (__FD_ELT): Likewise.
45178 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45179 __FD_MASK instead of __FDELT, __FDMASK.
45180 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45182 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45185 * elf/Makefile (gen-ldd): Fix pattern.
45187 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45188 (init_tls): Likewise.
45190 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45192 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45194 2011-09-12 Andreas Schwab <schwab@redhat.com>
45196 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45197 `struct cmsghdr *' instead of `void *'.
45198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45201 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45203 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45205 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45206 ldd_rewrite_script.
45208 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45210 * configure.in: Remove --with-tls option.
45211 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45212 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45213 out in case it is missing.
45214 * sysdeps/ia64/elf/configure.in: Likewise.
45215 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45216 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45217 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45218 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45219 * sysdeps/sh/elf/configure.in: Likewise.
45220 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45221 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45222 * sysdeps/x86_64/elf/configure.in: Likewise.
45223 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45224 * sysdeps/mach/hurd/tls.h: Likewise.
45227 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45230 * configure.in: Fix use of AC_INIT.
45232 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45234 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45236 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45238 * malloc/hooks.c: Likewise.
45241 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45242 variables statically.
45243 (narenas): Initialize.
45244 (list_lock): Initialize.
45245 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45246 initializtion of main_arena and list_lock. Small cleanups.
45247 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45248 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45249 Add initializers to main_arena and mp_.
45250 (malloc_state): Remove pagesize member. Change all users to use
45253 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45254 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45255 is always initialized.
45257 * malloc/malloc.c: Removed unused configurations and dead code.
45258 * malloc/arena.c: Likewise.
45259 * malloc/hooks.c: Likewise.
45260 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45262 * include/tls.h: Removed. USE___THREAD must always be defined.
45263 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45264 * elf/dl-libc.c: Likewise.
45265 * elf/dl-tsd.c: Likewise.
45266 * include/errno.h: Likewise.
45267 * include/netdb.h: Likewise.
45268 * include/resolv.h: Likewise.
45269 * inet/herrno-loc.c: Likewise.
45270 * inet/herrno.c: Likewise.
45271 * malloc/arena.c: Likewise.
45272 * malloc/hooks.c: Likewise.
45273 * malloc/malloc.c: Likewise.
45274 * resolv/res-state.c: Likewise.
45275 * resolv/res_libc.c: Likewise.
45276 * sysdeps/i386/dl-machine.h: Likewise.
45277 * sysdeps/ia64/dl-machine.h: Likewise.
45278 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45279 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45280 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45281 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45282 * sysdeps/sh/dl-machine.h: Likewise.
45283 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45284 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45285 * sysdeps/unix/i386/sysdep.S: Likewise.
45286 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45287 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45289 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45290 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45291 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45292 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45296 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45297 * sysdeps/x86_64/dl-machine.h: Likewise.
45298 * tls.make.c: Likewise.
45300 * configure.in: Remove --with-__thread option. Make tests for
45301 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45302 tls_model attribute fail if no support is available. Remove
45304 * Makeconfig: Adjust for dropped configure option. All features are
45306 * Makerules: Likewise.
45307 * Versions.def: Likewise.
45308 * argp/argp-fmtstream.c: Likewise.
45309 * argp/argp-fmtstream.h: Likewise.
45310 * argp/argp-help.c: Likewise.
45311 * assert/assert.c: Likewise.
45312 * config.h.in: Likewise.
45313 * config.make.in: Likewise.
45314 * configure: Likewise.
45315 * configure.in: Likewise.
45316 * csu/Versions: Likewise.
45317 * csu/init.c: Likewise.
45318 * elf/tst-audit2.c: Likewise.
45319 * elf/tst-tls10.c: Likewise.
45320 * elf/tst-tls10.h: Likewise.
45321 * elf/tst-tls11.c: Likewise.
45322 * elf/tst-tls12.c: Likewise.
45323 * elf/tst-tls14.c: Likewise.
45324 * elf/tst-tlsmod11.c: Likewise.
45325 * elf/tst-tlsmod12.c: Likewise.
45326 * elf/tst-tlsmod13.c: Likewise.
45327 * elf/tst-tlsmod13a.c: Likewise.
45328 * elf/tst-tlsmod14a.c: Likewise.
45329 * elf/tst-tlsmod15b.c: Likewise.
45330 * elf/tst-tlsmod16a.c: Likewise.
45331 * elf/tst-tlsmod16b.c: Likewise.
45332 * elf/tst-tlsmod7.c: Likewise.
45333 * elf/tst-tlsmod8.c: Likewise.
45334 * elf/tst-tlsmod9.c: Likewise.
45335 * gmon/gmon.c: Likewise.
45336 * grp/fgetgrent_r.c: Likewise.
45337 * grp/putgrent.c: Likewise.
45338 * hurd/fopenport.c: Likewise.
45339 * include/libc-symbols.h: Likewise.
45340 * include/tls.h: Likewise.
45341 * intl/gettextP.h: Likewise.
45342 * intl/loadinfo.h: Likewise.
45343 * locale/global-locale.c: Likewise.
45344 * locale/localeinfo.h: Likewise.
45345 * mach/devstream.c: Likewise.
45346 * malloc/arena.c: Likewise.
45347 * malloc/set-freeres.c: Likewise.
45348 * misc/err.c: Likewise.
45349 * misc/getttyent.c: Likewise.
45350 * misc/mntent_r.c: Likewise.
45351 * posix/getopt.c: Likewise.
45352 * posix/wordexp.c: Likewise.
45353 * pwd/fgetpwent_r.c: Likewise.
45354 * resolv/Versions: Likewise.
45355 * resolv/res_hconf.c: Likewise.
45356 * shadow/fgetspent_r.c: Likewise.
45357 * shadow/putspent.c: Likewise.
45358 * stdio-common/printf_fphex.c: Likewise.
45359 * stdio-common/tmpfile.c: Likewise.
45360 * stdlib/abort.c: Likewise.
45361 * stdlib/fmtmsg.c: Likewise.
45362 * sunrpc/auth_unix.c: Likewise.
45363 * sunrpc/clnt_perr.c: Likewise.
45364 * sunrpc/clnt_tcp.c: Likewise.
45365 * sunrpc/clnt_udp.c: Likewise.
45366 * sunrpc/clnt_unix.c: Likewise.
45367 * sunrpc/openchild.c: Likewise.
45368 * sunrpc/svc_simple.c: Likewise.
45369 * sunrpc/svc_tcp.c: Likewise.
45370 * sunrpc/svc_udp.c: Likewise.
45371 * sunrpc/svc_unix.c: Likewise.
45372 * sunrpc/xdr.c: Likewise.
45373 * sunrpc/xdr_array.c: Likewise.
45374 * sunrpc/xdr_rec.c: Likewise.
45375 * sunrpc/xdr_ref.c: Likewise.
45376 * sunrpc/xdr_stdio.c: Likewise.
45378 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45380 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45382 2011-07-03 Andreas Jaeger <aj@suse.de>
45384 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45385 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45386 regenerate with gen-libm-tests.pl.
45388 2010-05-12 Petr Baudis <pasky@suse.cz>
45391 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45392 around j0() zero points by switching to j1().
45393 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45394 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45395 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45396 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45398 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45400 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45402 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45405 Patch in part by Pavel Roskin <proski@gnu.org>.
45408 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45410 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45411 Free memory block if necessary.
45414 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45415 be NULL. Don't lock in this case.
45417 2011-09-09 Roland McGrath <roland@hack.frob.com>
45419 * elf/elf.h (ELFOSABI_GNU): New macro.
45420 (ELFOSABI_LINUX): Define to that.
45422 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45424 * string/strncat.c (strncat): Undef the symbol in case it has been
45425 defined in bits/string.h.
45427 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45429 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45431 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45434 2011-08-17 Andreas Jaeger <aj@suse.de>
45436 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45438 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45439 Ian Lance Taylor <iant@google.com>
45441 * math/libm-test.inc (lround_test): New testcase.
45442 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45444 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45446 * Makefile: Remove support for automatic cvs check-ins.
45447 * Makerules: Likewise.
45448 * config.make.in: Likewise.
45449 * configure.in: Likewise.
45450 * intl/Makefile: Likewise.
45451 * locale/Makefile: Likewise.
45452 * po/Makefile: Likewise.
45453 * posix/Makefile: Likewise.
45454 * sysdeps/gnu/Makefile: Likewise.
45455 * sysdeps/mach/hurd/Makefile: Likewise.
45456 * sysdeps/sparc/sparc32/Makefile: Likewise.
45459 * posix/Makefile (bug-regex32-ENV): Define.
45460 Patch by John Stanley <jpsinthemix@verizon.net>.
45462 * misc/Makefile (headers): Add bits/select2.h.
45463 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45464 * misc/bits/select2.h: New file.
45465 * include/bits/select2.h: New file.
45466 * debug/Makefile (routines): Add fdelt_chk.
45467 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45468 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45470 * debug/fdelt_chk.c: New file.
45472 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45473 * wcsmbs/test-wmemcmp.c: Likewise.
45474 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45475 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45477 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45479 * string/Makefile (strop-tests): Add memcmp.
45480 * string/test-wmemcmp.c: New file.
45481 * string/test-memcmp.c: Add wmemcmp support.
45483 2011-09-08 Roland McGrath <roland@hack.frob.com>
45486 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45489 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45490 garbage value in a __mach_port_mod_refs call in the cases of the
45491 task-self and thread-self ports.
45493 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45495 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45497 2011-09-08 Andreas Schwab <schwab@redhat.com>
45499 * elf/dl-load.c (lose): Check for non-null L.
45501 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45503 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45505 * elf/dl-libc.c (dlerror_run): Pass back error code from
45509 * elf/dl-load.c (lose): Free l_origin if it is valid.
45511 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45513 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45516 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45517 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45518 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45520 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45522 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45523 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45524 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45525 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45526 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45527 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45528 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45529 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45530 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45531 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45533 2011-08-15 Alan Modra <amodra@gmail.com>
45536 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45537 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45538 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45539 ppc_mcount to static-only-routines.
45540 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45542 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45543 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45545 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45547 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45548 for finite and infinity parameters.
45550 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45552 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45553 and add nop instructions for throughput optimization.
45554 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45556 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45558 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45559 aligned copy for power7 with vector-scalar instructions.
45560 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45562 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45567 2011-09-07 Andreas Schwab <schwab@redhat.com>
45570 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45573 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45575 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45576 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45577 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45578 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45581 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45584 Forgot to demangle the pointer.
45586 * sysdeps/i386/sysdep.h: Define atom_text_section.
45587 * sysdeps/x86_64/sysdep.h: Likewise.
45588 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45589 section with atom_text_section.
45590 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45591 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45592 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45594 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45596 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45597 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45598 already be defined. Change to take two parameters and don't assign
45599 result to variable. Adjust all users.
45600 Define INTERNAL_GETTIME if not already defined.
45601 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45604 HAVE_CLOCK_GETTIME_VSYSCALL.
45605 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45607 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45608 gettimeofday vsyscall, just use time.
45610 2011-09-06 Andreas Schwab <schwab@redhat.com>
45612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45615 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45617 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45619 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45621 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45622 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45623 syscall if possible.
45625 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45627 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45628 e_ident. Don't pass to find_mapsXX.
45629 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45631 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45634 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45635 * sysdeps/x86_64/multiarch/strchr.S: Update.
45636 Check bit_slow_BSF bit.
45637 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45638 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45639 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45641 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45644 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45646 (tryshell): Define.
45647 (__spawni): Change last parameter to be flag. Test
45648 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45649 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45650 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45651 * posix/spawni.c: Likewise.
45652 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45653 * posix/spawnp.c: Likewise. Change normal version to use
45654 SPAWN_XFLAGS_USE_PATH.
45655 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45656 SPAWN_XFLAGS_TRY_SHELL.
45659 * posix/glob.h: Remove gcc 1.x support.
45662 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45664 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45667 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45669 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45670 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45671 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45673 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45674 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45676 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45678 * sysdeps/x86_64/wcscmp.S: New file.
45680 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45681 wcscmp-c wcscmp-sse2
45682 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45683 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45684 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45685 * wcsmbs/wcscmp.c: Allow renaming.
45687 2011-09-05 David S. Miller <davem@davemloft.net>
45689 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45690 stack slot, rather than the struct return pointer slot.
45691 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45692 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45694 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45696 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45698 * po/ja.po: Update from translation team.
45701 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45702 kernel in 64-bit binaries.
45704 2011-09-01 David S. Miller <davem@davemloft.net>
45706 * elf/elf.h (HWCAP_SPARC_*): Move to..
45707 * sysdeps/sparc/sysdep.h: this new file and add new values.
45708 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45709 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45710 _DL_HWCAP_COUNT to 24.
45711 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45713 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45714 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45715 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45717 instead of magic constants.
45718 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45720 2011-08-31 David S. Miller <davem@davemloft.net>
45722 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45723 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45724 Reimplement to do errno handling inline.
45725 (SYSCALL_ERROR_HANDLER): New macro.
45726 (__SYSCALL_STRING): Do not do errno handling in asm.
45727 (__CLONE_SYSCALL_STRING): Delete.
45728 (__INTERNAL_SYSCALL_STRING): Delete.
45729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45730 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45731 (PSEUDO): Reimplement to do errno handling inline.
45732 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45733 (SYSCALL_ERROR_HANDLER): New macro.
45734 (__SYSCALL_STRING): Do not do errno handling in asm.
45735 (__CLONE_SYSCALL_STRING): Delete.
45736 (__INTERNAL_SYSCALL_STRING): Delete.
45737 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45738 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45740 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45741 (inline_syscall*): Add 'err' argument.
45742 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45743 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45744 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45745 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45747 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45748 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45750 2011-08-30 Andreas Schwab <schwab@redhat.com>
45752 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45754 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45756 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45759 2011-08-24 David S. Miller <davem@davemloft.net>
45761 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45763 2011-08-24 Andreas Schwab <schwab@redhat.com>
45765 * elf/Makefile: Add rules to build and run unload8 test.
45766 * elf/unload8.c: New file.
45767 * elf/unload8mod1.c: New file.
45768 * elf/unload8mod1x.c: New file.
45769 * elf/unload8mod2.c: New file.
45770 * elf/unload8mod3.c: New file.
45772 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45775 2011-08-23 David S. Miller <davem@davemloft.net>
45777 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45778 subtract stack bias.
45779 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45780 %sp not %fp in calculations.
45781 (_JMPBUF_UNWINDS_ADJ): Likewise.
45783 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45784 (aio_suspend): Call it to force an exception region around the
45785 AIO_MISC_WAIT() invocation.
45787 2011-08-23 Andreas Schwab <schwab@redhat.com>
45789 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45792 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45794 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45796 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45797 and <dl-machine.h>.
45798 (Elf64_FuncDesc): Remove.
45800 2011-08-22 David S. Miller <davem@davemloft.net>
45802 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45803 sigaltstack check, add missing cfi directives.
45804 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45805 missing cfi directives, and sigaltstack handling.
45807 2011-08-16 Andreas Schwab <schwab@redhat.com>
45810 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45811 object is seen twice.
45812 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45814 * elf/Makefile (distribute): Add tst-initorder2.c.
45815 (tests): Add tst-initorder2.
45816 (modules-names): Add tst-initorder2a tst-initorder2b
45817 tst-initorder2c tst-initorder2d. Add rules to build them.
45818 ($(objpfx)tst-initorder2.out): New rule.
45819 * elf/tst-initorder2.c: New file.
45820 * elf/tst-initorder2.exp: New file.
45822 2011-08-22 Andreas Schwab <schwab@redhat.com>
45824 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45826 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45827 dependencies back to end of function.
45829 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45830 $(elfobjdir)/ld.so.
45832 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45834 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45835 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45836 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45837 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45838 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45839 of __vdso_gettimeofday.
45840 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45841 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45843 (_libc_vdso_platform_setup): Remove initialization of
45844 __vdso_gettimeofday and __vdso_time.
45846 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45848 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45849 and fgetc_unlocked.
45850 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45853 * elf/dl-open.c (add_to_global): Report additions to the global scope
45854 for LD_DEBUG=scopes.
45855 (dl_open_worker): Also print scope of newly loaded dependencies.
45856 (_dl_show_scope): Indicate if there is no scope.
45859 * stdio-common/Makefile (tests): Add bug24.
45860 * stdio-common/bug24.c: New file.
45862 2011-08-19 Andreas Jaeger <aj@suse.de>
45865 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45866 non-existant file when using close-on-exec mode.
45868 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45871 the very first instruction.
45873 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45874 the CFI state in the end.
45875 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45876 inclusion of dl-trampoline.h.
45877 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45879 2011-08-19 Andreas Schwab <schwab@redhat.com>
45881 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45882 expectations for long double.
45884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45885 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45887 2011-08-14 David S. Miller <davem@davemloft.net>
45889 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45890 artificual limit depends upon the system page size.
45892 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45894 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45895 * resolv/Makefile: Define CFLAGS-libresolv.
45897 2011-08-17 Andreas Schwab <schwab@redhat.com>
45899 * nss/makedb.c (compute_tables): Make variables used in nested
45902 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45904 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45905 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45906 if buffer was too small.
45908 * elf/pldd.c (main): Attach to all threads in the process.
45909 Rewrite /proc handling to use *at functions.
45911 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45913 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45914 specifies first scope to show.
45915 (dl_open_worker): Update callers. Move printing scope of new
45916 object to before the relocation.
45917 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45918 * sysdeps/generic/ldsodefs.h: Update declaration.
45920 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45921 string for the scope number.
45923 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45925 * nscd/servicescache.c (cache_addserv): Make sure written is always
45928 2011-08-14 Roland McGrath <roland@hack.frob.com>
45930 * sysdeps/i386/i486/bits/atomic.h
45931 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45932 statement expression, so as to suppress "set but not used" warning.
45933 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45935 * string/strncat.c (STRNCAT): Use prototype definition.
45937 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45938 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45940 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45941 (localedef-modules): Add localedef.
45942 (locale-modules): Add locale.
45944 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45945 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45946 to avoid a warning.
45948 2011-08-14 David S. Miller <davem@davemloft.net>
45950 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45951 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45953 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45955 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45956 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45957 * elf/rtld.c (dl_main): Set l_name of vDSO.
45958 Call _dl_show_scope when DL_DEBUG_SCOPES.
45959 (process_dl_debug): Recognize scopes flag and also set it for all.
45960 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45961 Declare _dl_show_scope.
45963 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45964 (do_dlopen): Pass caller_dlopen to dl_open.
45965 (__libc_dlopen_mode): Initialize caller_dlopen.
45967 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45968 of libc. Make tolower call locale-independent. Optimize a bit by
45969 using isdigit instead of isalnum.
45970 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45972 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45974 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45975 was a dependency or dynamically loaded.
45977 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45979 * intl/l10nflist.c: Allow architecture-specific pop function.
45980 * sysdeps/x86_64/l10nflist.c: New file.
45982 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45985 2011-08-10 Andreas Schwab <schwab@redhat.com>
45987 * include/dirent.h: Add libc_hidden_proto for scandirat and
45988 scandirat64. Don't declare __scandirat64.
45989 * dirent/scandirat.c: Add libc_hidden_def.
45990 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45991 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45993 2011-08-10 David S. Miller <davem@davemloft.net>
45995 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45997 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45998 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45999 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46001 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46003 * Versions.def [libc]: Add GLIBC_2.15.
46004 * dirent/Makefile (routines): Add scandirat and scandirat64.
46005 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46007 * dirent/dirent.h: Declare scandirat and scandirat64.
46008 * dirent/scandirat.c: New file.
46009 * dirent/scandirat64.c: New file.
46010 * sysdeps/wordsize-64/scandirat.c: New file.
46011 * sysdeps/wordsize-64/scandirat64.c: New file.
46012 * dirent/opendir.c: Define opendirat.
46013 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46015 * dirent/scandir64.c: Adjust for scandir.c change.
46016 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46017 __scandirat64, and __scandir_cancel_handler.
46018 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46019 additional parameter and use openat instead of open (outside of ld.so).
46020 Add new __opendir as wrapper around __opendirat.
46021 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46022 here without requiring old scandirat implementation.
46024 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46026 * dirent/scandir.c (cancel_handler): Renamed to
46027 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46028 defined. Adjust users.
46029 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46030 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46032 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46034 * string/test-string.h (IMPL): Use __STRING to expand name and then
46037 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46040 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46042 * string/Makefile: Update.
46043 (strop-tests): Append strncat.
46044 * string/test-wcscmp.c: New file.
46045 New comprehensive test for wcscmp.
46046 * string/test-strcmp.c: Update.
46047 (WIDE): New define.
46049 2011-07-22 Andreas Schwab <schwab@redhat.com>
46051 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46054 2011-07-26 Andreas Schwab <schwab@redhat.com>
46056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46057 encoding to ACE if AI_IDN.
46059 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46061 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46062 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46064 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46066 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46067 Fix overflow bug in strncat.
46068 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46070 * string/test-strncat.c: Update.
46071 Add new tests for checking overflow bugs.
46073 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46076 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46077 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46078 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46079 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46080 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46081 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46082 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46083 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46085 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46086 (USE_AS_STRCAT): Define.
46087 Add strcat and strncat support.
46088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46090 2011-07-25 Andreas Schwab <schwab@redhat.com>
46092 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46093 __n bigger than INT_MAX+1.
46094 (__strncmp_g): Likewise.
46096 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46098 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46099 * libio/stido.h: Likewise.
46101 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46103 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46106 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46107 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46108 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46109 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46113 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46118 (_dl_x86_64_save_sse): Likewise.
46120 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46122 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46124 (_dl_x86_64_save_sse): Likewise.
46126 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46128 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46130 2011-07-21 Andreas Schwab <schwab@redhat.com>
46132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46134 (_dl_x86_64_save_sse): Use correct AVX check.
46136 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46139 bug in strncpy/strncat.
46140 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46142 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46144 * string/tester.c (test_strcat): Add tests for different alignments
46145 of source and destination.
46146 (test_strncat): Likewise.
46148 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46151 * posix/glob.c (glob): Check passed in values before using them in
46152 expressions to avoid some overflows.
46153 (glob_in_dir): Likewise.
46156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46157 check for AVX enablement so that we don't crash with old kernels and
46159 * elf/tst-audit4.c: Add same checks here.
46160 * elf/tst-audit6.c: Likewise.
46162 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46164 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46166 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46168 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46170 * po/cs.po: Update from translation team.
46171 * po/bg.po: Likewise.
46173 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46175 * misc/sys/cdefs.h: Add support for const attribute.
46176 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46177 to gnu_dev_{major,minor,makedev} functions.
46179 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46181 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46183 2011-07-20 Andreas Schwab <schwab@redhat.com>
46185 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46188 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46190 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46191 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46192 register in order to avoid conflicts with the soft frame pointer
46193 being held in r11 when necessary.
46194 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46195 (INTERNAL_VSYSCALL_NCS): Likewise.
46197 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46199 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46200 * elf/dl-fini.c (_dl_fini): Adjust caller.
46201 * elf/dl-close.c (_dl_close_worker): Likewise.
46202 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46204 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46206 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46207 "aux_cache->nlibs < 0".
46209 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46210 in the reload-count case.
46212 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46215 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46216 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46217 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46218 * sysdeps/x86_64/multiarch/strcat.S: New file.
46219 * sysdeps/x86_64/multiarch/strncat.S: New file.
46220 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46221 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46222 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46223 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46225 (USE_AS_STRCAT): Define.
46226 Add strcat and strncat support.
46227 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46228 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46229 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46230 * string/strncat.c: Update.
46231 (USE_AS_STRNCAT): Define.
46232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46233 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46235 * sysdeps/x86_64/multiarch/init-arch.h
46236 (bit_Prefer_PMINUB_for_stringop): New.
46237 (index_Prefer_PMINUB_for_stringop): Likewise.
46238 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46239 bit_Prefer_PMINUB_for_stringop.
46241 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46243 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46245 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46246 of casting of buffer.
46247 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46248 buffer32 and buffer64.
46249 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46250 writes instead of casting of buffer.
46251 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46253 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46256 2011-07-19 Andreas Schwab <schwab@redhat.com>
46258 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46260 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46262 * nscd/nscd.c (termination_handler): Don't do anything for a database
46263 if it has not yet been initialized.
46265 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46267 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46269 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46271 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46273 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46275 * po/nl.po: Update from translation team.
46276 * po/sv.po: Likewise.
46278 2011-07-16 Roland McGrath <roland@hack.frob.com>
46280 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46281 now disallowed by GCC.
46283 * configure.in (use-default-link): Default to yes if a test -shared
46284 link meets our qualifications.
46285 * configure: Regenerated.
46287 * config.make.in (output-format): New variable.
46288 * configure.in: Check for ld --print-output-format support.
46289 * configure: Regenerated.
46290 * Makerules ($(common-objpfx)format.lds)
46291 [$(output-format) != unknown]: Just use $(output-format),
46292 instead of the linker-script munging.
46294 2011-07-14 Roland McGrath <roland@hack.frob.com>
46296 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46297 of $(common-objpfx)shlib.lds.
46298 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46300 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46301 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46303 * configure.in (-z relro check): Adjust test code to add a large
46304 writable data section after it.
46305 * configure: Regenerated.
46307 2011-07-11 Roland McGrath <roland@hack.frob.com>
46309 * configure.in (-z relro check): Fix test code to make the variable
46311 * configure: Regenerated.
46313 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46315 * nscd/nscd.h (struct traced_file): Define.
46316 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46317 elements. Add traced_files.
46318 (inotify_fd): Declare.
46319 (register_traced_file): Declare.
46320 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46321 (inotify_fd): Export.
46322 (resolv_conf_descr): Remove.
46323 (nscd_init): Move inotify descriptor creation to main.
46324 Don't register files for notification here.
46325 (register_traced_file): New function.
46326 (invalidate_cache): Don't use reset_res to determine whether to call
46327 res_init, go through the list of registered files.
46328 (main_loop_poll): The inotify descriptors are now stored in the
46329 structures for the traced files.
46330 (main_loop_epoll): Likewise
46331 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46332 to __nss_disable_nscd.
46333 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46334 for a database anymore. Check the records for all the registered
46336 * nss/Makefile (libnss_files-routines): Add files-init.
46337 (libnss_db-routines): Add db-init.
46338 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46339 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46340 * nss/nss_db/db-init.c: New file.
46341 * nss/nss_files/files-init.c: New file.
46342 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46343 __nss_lookup_function.
46344 (__nss_lookup_function): Call nss_load_library.
46345 (nss_load_all_libraries): New function.
46346 (__nss_disable_nscd): Take parameter with callback function for files
46347 to register. Set is_nscd. Load all the DSOs for the NSS modules
46348 used for the cached services.
46349 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46350 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46351 options for features to all the files in nscd.
46353 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46355 2011-07-10 Roland McGrath <roland@hack.frob.com>
46357 * csu/elf-init.c (__libc_csu_init): Comment typo.
46359 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46361 * po/pl.po: Update from translation team.
46362 * po/ja.po: Likewise.
46363 * po/ru.po: Likewise.
46364 * po/ko.po: Likewise.
46365 * po/fr.po: Likewise.
46367 2011-07-09 Roland McGrath <roland@hack.frob.com>
46369 * configure.in (.ctors/.dtors header and trailer check):
46370 Use an empirical test on a built program.
46371 * configure: Regenerated.
46373 * configure.in (-z relro check): Use an empirical test on a built DSO.
46374 Detect, but do not require, on ia64.
46375 * configure: Regenerated.
46377 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46378 Update tests that use readelf to use $READELF instead.
46379 * configure: Regenerated.
46381 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46383 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46384 if the result is not used.
46386 2011-07-05 Andreas Jaeger <aj@suse.de>
46389 * stdlib/tst-strtod.c: Add testcase.
46391 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46393 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46394 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46395 The latter has a higher limit. Take additional parameter to pass to
46397 (__pathconf): Pass file to __statfs_link_max.
46398 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46400 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46404 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46405 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46407 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46408 (__statfs_filesize_max): Likewise.
46409 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46411 2011-07-05 Andreas Jaeger <aj@suse.de>
46413 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46415 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46417 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46419 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46422 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46424 * Makefile (strop-tests): Add strncat.
46425 * string/test-strncat.c: New file.
46427 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46429 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46431 2011-06-21 Andreas Jaeger <aj@suse.de>
46433 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46434 Copy rule from iconvdata/Makefile.
46436 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46439 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46440 but no long options are defined, just return 'W'.
46442 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46445 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46447 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46449 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46451 (innetgr): Likewise.
46453 2011-07-05 Roland McGrath <roland@hack.frob.com>
46455 * config.make.in (install_root): Default to $(DESTDIR).
46457 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46459 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46461 2011-07-02 Roland McGrath <roland@hack.frob.com>
46463 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46465 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46466 containing directory rather than embedding absolute directory names.
46468 * scripts/check-local-headers.sh: Rewritten using awk.
46469 Match by word, not by line. Print error messages for matches.
46470 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46472 * Makerules [shlib-lds-flags empty]:
46473 ($(common-objpfx)libc_pic.opts): New target.
46474 ($(common-objpfx)libc_pic.os.clean): New target.
46475 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46477 * config.make.in (OBJCOPY): New variable.
46478 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46479 * configure: Regenerated.
46481 * config.make.in (use-default-link): New variable.
46482 * configure.in (use_default_link): Grok --with-default-link to set it.
46483 * configure: Regenerated.
46484 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46485 (shlib-lds, shlib-lds-flags): Define to empty.
46487 * Makerules (shlib-lds): New variable.
46488 (shlib-lds-flags): New variable.
46489 (build-shlib, build-moduile, build-module-asneeded): Use it.
46490 ($(common-objpfx)libc.so): Use $(shlib-lds).
46491 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46492 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46494 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46495 DT_FLAGS/DT_FLAGS_1 with zero flags.
46497 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46498 linker script munging.
46500 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46502 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46504 * crypt/sha512.c (sha512_process_block): Perform total addition using
46505 128-bit if possible.
46506 (__sha512_finish_ctx): Likewise.
46507 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46509 * crypt/sha256.c (SWAP64): Define.
46510 (sha256_process_block): Perform total addition using 64-bit if
46512 (__sha256_finish_ctx): Likewise.
46514 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46516 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46518 * nscd/hstcache.c (cache_addhst): Likewise.
46519 * nscd/grpcache.c (cache_addgr): Likewise.
46520 * nscd/aicache.c (addhstaiX): Likewise
46521 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46523 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46525 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46526 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46527 * nscd/hstcache.c (cache_addhst): Likewise.
46528 * nscd/grpcache.c (cache_addgr): Likewise.
46529 * nscd/aicache.c (addhstaiX): Likewise
46531 2011-07-01 Andreas Schwab <schwab@redhat.com>
46533 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46534 domain only when needed.
46536 2011-06-30 Andreas Schwab <schwab@redhat.com>
46538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46539 is always restored.
46541 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46543 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46544 are re-adding the entry.
46545 * nscd/servicescache.c (cache_addserv): Likewise.
46547 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46549 * sysdeps/generic/dl-irel.h: fix protection against multiple
46551 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46553 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46556 * malloc/memusage.sh: Fix quoting in message.
46557 * debug/xtrace.sh: Likewise.
46559 * configure.in: Remove support for --experimental-malloc option, make
46561 * config.make.in: Likewise.
46562 * malloc/Makefile: Likewise.
46564 2011-06-27 Andreas Schwab <schwab@redhat.com>
46566 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46567 two-byte characters.
46569 2011-06-27 Roland McGrath <roland@hack.frob.com>
46571 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46572 AC_CACHE_CHECK invocation.
46573 * configure: Regenerated.
46575 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46577 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46580 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46581 bit from old_res_options.
46583 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46585 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46586 value type for setfct.
46588 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46590 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46591 __gettimeofday instead of gettimeofday.
46593 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46595 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46597 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46599 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46604 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46607 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46608 strcpy-sse2-unaligned strncpy-sse2-unaligned
46609 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46610 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46611 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46612 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46613 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46614 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46615 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46616 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46617 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46618 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46619 (STRCPY): Support SSE2 and SSSE3 versions.
46621 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46624 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46625 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46626 kernels which artificially limit size of requests.
46628 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46631 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46632 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46633 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46634 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46635 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46636 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46637 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46638 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46639 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46640 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46641 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46642 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46643 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46644 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46646 Enable unaligned load optimization for Intel Core i3, i5 and i7
46648 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46650 (index_Fast_Unaligned_Load): Define.
46651 (HAS_FAST_UNALIGNED_LOAD): Define.
46653 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46655 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46657 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46660 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46661 until it is clear that the information is realy needed.
46662 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46664 2011-06-22 Andreas Schwab <schwab@redhat.com>
46666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46668 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46670 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46671 /sys/devices/system/cpu/online if it is usable.
46673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46674 reading the information from the /proc filesystem to once a second.
46676 2011-06-21 Andreas Jaeger <aj@suse.de>
46678 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46679 NULL after inclusion of kernel headers.
46681 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46683 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46684 calls to internal_setent.
46687 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46688 addresses using gethostbyname4_r ignore IPv4 addresses.
46690 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46691 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46693 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46695 2011-06-20 David S. Miller <davem@davemloft.net>
46697 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46699 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46701 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46702 (elf_irel): Use it.
46703 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46704 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46705 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46706 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46707 * sysdeps/x86_64/dl-irel.h: Likewise.
46709 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46710 * elf/dl-sym.c: Likewise.
46712 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46714 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46715 need to dereference resplen2.
46717 2011-06-14 Andreas Schwab <schwab@redhat.com>
46719 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46721 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46723 * Makeconfig: Define vardbdir and inst_vardbdir.
46724 * nss/Makefile: Add rules to install db-Makefile.
46726 * nss/nss_db/db-XXX.c: Cleanup.
46728 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46729 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46731 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46732 * nss/makedb.c: Implement -g option to specify that value strings
46733 are generated and should not be added to table iterated over for
46735 * nss/nss_db/db-initgroups.c: New file.
46737 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46740 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46741 (internal_getgrouplist): Adjust to name change.
46742 Update use_initgroups_entry if this is not the first call.
46743 * nss/databases.def: Add initgroups entry.
46745 * nss/makedb.c (compute_tables): Check result of multiple hash table
46746 sizes to minimize maximum chain length.
46748 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46750 * Versions.def: Add entry for libnss_db.
46751 * shlib-versions: Likewise.
46752 * nss/Makefile: Add rules to build libnss_db.
46753 * nss/Versions: Add libnss_db information. Organize libnss_files
46755 * nss/db-Makefile: Add gshadow support. Change rules for the new
46756 makedb progra. Some minor improvements to generate smaller files.
46757 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46759 * nss/makedb.c: ...here.
46760 Improve database format to be smaller and require less memory at
46762 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46764 * nss/nss_db/db-netgrp.c: Likewise.
46765 * nss/nss_db/db-open.c: Likewise.
46766 * nss/nss_files/flies-XXX.x: Adjust comments.
46767 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46768 * nss/nss_files/files-grp.c: Likewise.
46769 * nss/nss_files/files-hosts.c: Likewise.
46770 * nss/nss_files/files-network.c: Likewise.
46771 * nss/nss_files/files-proto.c: Likewise.
46772 * nss/nss_files/files-pwd.c: Likewise.
46773 * nss/nss_files/files-rpc.c: Likewise.
46774 * nss/nss_files/files-service.c: Likewise.
46775 * nss/nss_files/files-sgrp.c: Likewise.
46776 * nss/nss_files/files-spwd.c: Likewise.
46777 * nss/nss_db/db-alias.c: Removed.
46778 * nss/nss_db/dummy-db.h: Removed.
46780 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46782 * nss/makedb.c: Rewritten to not use database library.
46783 * nss/Makefile: Update to build new makedb program.
46785 2011-06-14 Andreas Jaeger <aj@suse.de>
46787 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46788 memset declaration.
46790 2011-06-10 Andreas Schwab <schwab@redhat.com>
46792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46795 2011-06-10 Roland McGrath <roland@hack.frob.com>
46797 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46798 * elf/Makefile ($(objpfx)ld.so): Likewise.
46800 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46801 Don't list ld.so twice in dependencies.
46803 * posix/bug-regex31.c: Include <stdlib.h>.
46805 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46807 * nis/nss_compat/compat-spwd.c
46808 (getspent_next_nss_netgr): Remove unused variable.
46809 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46811 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46812 nonmembers" output to use the right array.
46814 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46816 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46818 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46819 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46820 * catgets/gencat.c (read_input_file): Likewise.
46821 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46823 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46824 variable definition inside #if's controlling its use.
46826 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46828 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46830 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46832 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46835 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46837 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46838 * configure: Regenerated.
46840 * Makerules: Revert last change.
46841 * elf/Makefile: Likewise.
46843 2011-06-09 Roland McGrath <roland@hack.frob.com>
46845 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46846 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46847 (reloc-link): Likewise.
46849 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46851 * elf/Makefile: Add rules to build pldd.
46852 * elf/pldd.c: New file.
46853 * elf/pldd-xx.c: New file.
46855 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46857 * version.h: Update for 2.15 development version.
46859 2011-06-07 David S. Miller <davem@davemloft.net>
46861 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46863 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46864 elf_machine_lazy_rel): Likewise.
46865 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46866 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46867 elf_machine_lazy_rel): Likewise.
46868 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46869 dl_hwcap via passed in argument.
46870 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46873 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46875 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46877 2011-06-06 Roland McGrath <roland@hack.frob.com>
46880 * manual/fdl-1.1.texi: New file, verbatim from:
46881 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46882 * manual/lgpl-2.1.texi: New file, verbatim from:
46883 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46884 * manual/Makefile (licenses): New variable, list those new file names.
46886 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46888 * manual/fdl.texi: File removed.
46889 * manual/lesser.texi: File removed.
46890 * manual/libc.texinfo (Copying, Documentation License):
46891 Use new @include file names, put @appendix directive before @include.
46893 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46896 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46897 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46898 (mq_open): Add __NTH.
46900 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46903 Assume Intel Core i3/i5/i7 processor if AVX is available.
46905 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46910 2011-05-31 Andreas Schwab <schwab@redhat.com>
46912 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46913 memory. Use alloca_account. Fix memory leak when retrying.
46915 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46917 * version.h (RELEASE): Bump for 2.14 release.
46918 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46920 * config.make.in (RANLIB): Remove entry.
46922 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46924 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46925 (libc.pot): Work around missing support for .ksh extension in xgettext.
46928 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46929 if both request failed.
46930 (send_dg): In case of server errors clear resplen or *resplen2.
46933 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46934 when there are multiple maps.
46935 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46936 (_dl_fini): Remove test here.
46938 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46940 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46943 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46944 bit from old_res_options.
46945 (gaih_inet): Likewise.
46948 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46951 * resolv/res_init.c (res_setoptions): Make the code more compact.
46954 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46958 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46960 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46963 * malloc/malloc.h: Declare malloc hook variables as volatile.
46965 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46969 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46970 raise in the comment.
46971 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46972 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46973 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46975 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46978 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46979 grow the buffers more if it already has to be sufficient.
46980 (build_wcs_upper_buffer): Likewise.
46981 * posix/regexec.c (check_matching): Likewise.
46982 (clean_state_log_if_needed): Likewise.
46983 (extend_buffers): Don't enlarge buffers beyond size of the input
46985 Patches mostly by Emil Wojak <emil@wojak.eu>.
46986 * posix/bug-regex32.c: New file.
46987 * posix/Makefile (tests): Add bug-regex32.
46989 * locale/findlocale.c (_nl_find_locale): Return right away if
46990 _nl_explode_name failed.
46991 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46993 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46995 * debug/xtrace.sh: Unify messages.
46996 * malloc/memusage.sh: Likewise.
46999 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47000 time symbol from vDSO. Substitute with vsyscall if not available.
47001 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47004 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47005 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47006 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47007 Add sendmmsg and internal_sendmmsg.
47008 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47009 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47010 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47012 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47013 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47014 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47016 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47019 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47020 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47022 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47026 * iconvdata/Makefile (tests): Add bug-iconv9.
47027 * iconvdata/bug-iconv9.c: New file.
47029 2011-05-27 Andreas Schwab <schwab@redhat.com>
47032 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47034 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47037 (struct user_regs_struct): Change intcs field back to cs.
47039 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47041 * po/ja.po: Update from translation team.
47043 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47046 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47047 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47049 2011-05-20 Andreas Schwab <schwab@redhat.com>
47051 * stdlib/longlong.h: Update from GCC.
47053 2011-05-23 Andreas Schwab <schwab@redhat.com>
47055 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47057 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47058 Add parameter name.
47059 (__sysconf): Pass it down.
47061 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47064 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47066 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47067 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47068 add in in __libc_use_alloca calls. Adjust callers.
47069 (glob): Use malloc in some situations.
47071 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47072 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47075 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47077 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47078 and CLOCK_BOOTTIME_ALARM.
47081 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47084 * string/_strerror.c (__strerror_r): Print negative errors as signed
47088 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47089 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47090 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47092 * configure.in: Fix typo in redirection and correct removal of test
47093 files in two cases.
47096 * locale/setlocale.c (new_composite_name): Fix test to check for
47097 identical name of all categories.
47100 * libio/filedoalloc.c (local_isatty): New function.
47101 (_IO_file_doallocate): Use local_isatty.
47102 * stdio-common/perror.c (perror): In case a new stream is used
47103 forward the stream error.
47104 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47107 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47112 * include/alloca.h (extend_alloca_account): Define.
47115 * posix/regex.h: Fix comments with documentation of user-accessible
47116 fields after compilation and describe correct free'ing of pattern
47117 after re_compile_pattern.
47118 Patch by Reuben Thomas <rrt@sc3d.org>.
47120 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47122 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47123 and -mno-altivec to prevent the compiler from using Altivec and/or
47124 VSX instructions when the corresponding registers are not available.
47126 2011-05-19 Andreas Schwab <schwab@redhat.com>
47128 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47130 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47132 * libio/freopen.c (freopen): Use __dup2, not dup2.
47133 * libio/freopen64.c (freopen64): Likewise.
47135 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47138 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47139 * math/Makefile (tests): Add test-powl.
47140 (CFLAGS-test-powl.c): Define.
47141 * math/test-powl.c: New file.
47143 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47145 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47147 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47150 * iconvdata/gb18030.c: Update to GB18020-2005.
47152 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47154 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47155 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47156 Patch by Aharon Robbins <arnold@skeeve.com>.
47159 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47163 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47164 through underflows.
47167 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47168 point to strings before performing equality test for error_one_per_line
47172 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47176 (struct user_fpregs_struct): Avoid __uint*_t types.
47179 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47180 symbol info. Use it instead of calling _dl_addr locally.
47181 (lock_and_info): New function.
47182 (tr_freehook): Call lock_and_info and pass symbol info as additional
47183 parameter to tr_where.
47184 (tr_mallochook): Likewise.
47185 (tr_reallochook): Likewise.
47186 (tr_memalignhook): Likewise.
47188 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47189 used and couldn't be at all thread-safe.
47191 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47193 * libio/freopen.c (freopen): Don't close old file descriptor
47194 before the new one is opened. Instead dup the new file descriptor
47195 to the old one after the new stream is created.
47196 * libio/freopen64.c (freopen64): Likewise.
47197 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47198 * libio/fileops.c (_IO_new_file_close_it): Handle new
47199 _IO_FLAGS2_NOCLOSE flag.
47200 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47201 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47202 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47203 _IO_FLAGS2_NOCLOSE flag.
47204 * include/unistd.h: Add hidden_proto for dup3.
47205 Define __have_dup3.
47206 * io/dup3.c: Define hidden symbol.
47207 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47210 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47211 when an incomplete long option is used.
47212 * posix/tst-getopt_long1.c: New file.
47213 * posix/Makefile (tests): Add tst-getopt_long1.
47216 * scripts/config.guess: Update from autoconf-2.68.
47217 * scripts/config.sub: Likewise.
47220 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47222 (has_cpuclock): ...this. New function.
47223 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47224 macro here based on has_cpuclock code.
47227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47228 First byte (not low byte) is now always NUL.
47229 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47232 Use non-cancelable interfaces.
47235 * locale/iso-639.def: Add entry for Sorani.
47238 * include/stdlib.h: Move include protection to the right place.
47239 Define abort_msg_s. Declare __abort_msg with it.
47240 * stdlib/abort.c (__abort_msg): Adjust type.
47241 * assert/assert.c (__assert_fail_base): New function. Majority
47242 of code from __assert_fail. Allocate memory for __abort_msg with
47244 (__assert_fail): Now call __assert_fail_base.
47245 * assert/assert-perr.c: Remove bulk of implementation. Use
47246 __assert_fail_base.
47247 * include/assert.hL Declare __assert_fail_base.
47248 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47250 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47252 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47256 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47257 until all modules are registered in the DTV.
47258 * elf/Makefile: Add rules to build and run tst-tls19.
47259 * elf/tst-tls19.c: New file.
47260 * elf/tst-tls19mod1.c: New file.
47261 * elf/tst-tls19mod2.c: New file.
47262 * elf/tst-tls19mod3.c: New file.
47263 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47266 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47270 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47271 two-byte sequence errors.
47272 * iconvdata/Makefile (tests): Add bug-iconv8.
47273 * iconvdata/bug-iconv8.c: New file.
47276 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47279 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47282 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47283 (dummy_getcfa): New function.
47284 (init): Get _Unwind_GetCFA address, use dummy if not found.
47285 (backtrace_helper): In recursion check, also check whether CFA changes.
47286 (__backtrace): Completely initialize arg.
47288 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47289 storing incomplete byte sequence in state object. Avoid testing for
47290 guaranteed too small input if we know there is enough data available.
47292 2011-05-11 Andreas Schwab <schwab@redhat.com>
47294 * Makeconfig (+link-pie): Indent.
47295 * Rules (binaries-pie): Define if $(have-fpie) and
47297 (binaries-shared): Also filter out $(binaries-pie).
47298 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47299 * nscd/Makefile (others-pie): Add nscd.
47300 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47301 ($(objpfx)nscd): Remove command override.
47302 * login/Makefile (others-pie): Add pt_chown.
47303 ($(objpfx)pt_chown): Remove command override.
47304 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47305 remove command overrides.
47307 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47309 * libio/tst_putwc.c: Fix error messages.
47312 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47313 currently writing and seek to current position when not.
47314 * libio/Makefile (tests): Add bug-fclose1.
47315 * libio/bug-fclose1.c: New file.
47317 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47320 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47321 don't set DF_1_NODELETE here.
47322 (do_lookup_x): When entering new entry test for copy relocation
47323 and if necessary set DF_1_NODELETE flag.
47324 * elf/tst-unique4.cc: New file.
47325 * elf/tst-unique4.h: New file.
47326 * elf/tst-unique4lib.cc: New file.
47327 * elf/Makefile: Add rules to build and run tst-unique4.
47328 Patch by Piotr Bury <pbury@goahead.com>.
47330 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47333 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47336 * misc/mntent_r.c (addmntent): Flush the stream after the output
47339 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47340 (is_trusted_path_normalize): Skip initial colon. Append slash
47341 to empty buffer. Duplicate is_trusted_path code but allow
47342 constructed patch to be prefix.
47343 (is_dst): Allow $ORIGIN followed by /.
47344 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47345 Correct testing of result of is_trusted_path_normalize
47346 (decompose_rpath): Fix warning.
47348 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47351 * grp/initgroups.c (internal_getgrouplist): When we found the service
47352 list through the initgroups entry in nsswitch.conf do not always
47353 continue on a successful lookup. Don't always use the
47354 __nss_group_database value if it is set.
47355 * nss/nsswitch.conf (initgroups): Change action for successful db
47356 lookup to continue for compatibility.
47358 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47361 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47363 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47365 * iconvdata/tst-tables.sh: Likewise.
47366 * iconvdata/cp770.c: New file.
47367 * iconvdata/cp771.c: New file.
47368 * iconvdata/cp772.c: New file.
47369 * iconvdata/cp773.c: New file.
47370 * iconvdata/cp774.c: New file.
47371 * iconvdata/testdata/CP770: New file.
47372 * iconvdata/testdata/CP770..UTF8: New file.
47373 * iconvdata/testdata/CP771: New file.
47374 * iconvdata/testdata/CP771..UTF8: New file.
47375 * iconvdata/testdata/CP772: New file.
47376 * iconvdata/testdata/CP772..UTF8: New file.
47377 * iconvdata/testdata/CP773: New file.
47378 * iconvdata/testdata/CP773..UTF8: New file.
47379 * iconvdata/testdata/CP774: New file.
47380 * iconvdata/testdata/CP774..UTF8: New file.
47382 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47384 * iconvdata/gen-8bit-gap.sh: Likewise.
47385 * iconvdata/gen-8bit.sh: Likewise.
47387 * locale/iso-639.def: Add ary entry.
47390 * locale/C-translit.h.in: Add U20A1 transliteration.
47393 * locale/iso-639.def: Add wae entry.
47394 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47397 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47401 * locale/C-translit.h.in: Add entry for U20B9.
47402 Patch by pravin.d.s@gmail.com.
47404 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47407 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47408 ENAMETOOLONG use generic getcwd.
47409 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47410 in rtld. Use *stat64.
47411 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47412 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47413 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47414 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47415 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47416 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47417 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47418 __fstatat64 macros.
47419 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47420 * dirent/rewinddir.c: Add libc_hidden_def.
47421 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47422 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47424 * include/dirent.h (__alloc_dir): Add flags parameter.
47425 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47426 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47428 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47429 from fdopendir if O_CLOEXEC is already set.
47431 2011-03-15 Alan Modra <amodra@gmail.com>
47433 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47434 l_tls_firstbyte_offset non-zero. Save padding offset in
47435 l_tls_firstbyte_offset for later use.
47436 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47437 freeing static tls block.
47439 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47441 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47442 where #ifdef was intended. The intent is to prevent ARG_MAX from
47443 being defined by the kernel headers.
47445 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47448 * resolv/resolv.h: Define RES_NOTLDQUERY.
47449 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47450 no-tld-query and set RES_NOTLDQUERY.
47451 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47452 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47453 modern BIND to search name as TLD unless forbidden.
47455 2011-05-07 Petr Baudis <pasky@suse.cz>
47456 Ulrich Drepper <drepper@gmail.com>
47459 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47460 (is_trusted_path): ...to here.
47461 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47462 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47463 using is_trusted_path_normalize() in setuid scripts.
47465 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47467 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47468 __BEGIN/__END_DECLS.
47470 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47473 NSS_STATUS_NOTFOUND if no record was found.
47475 2011-05-05 Andreas Schwab <schwab@redhat.com>
47477 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47478 (headers-not-in-tirpc): Remove rpc/netdb.h
47479 * resolv/netdb.h: Revert last change.
47481 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47483 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47484 circular dependency between libgcc.a and libc.a.
47486 2011-05-05 Andreas Schwab <schwab@redhat.com>
47488 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47489 * nis/Makefile: Don't install rpcsvc/*.
47490 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47491 instead of <rpc/types.h>.
47492 (MAXHOSTNAMELEN): Define.
47494 2011-05-03 Andreas Schwab <schwab@redhat.com>
47496 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47498 2011-04-28 Maciej Babinski <mbabinski@google.com>
47501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47502 gethostbyname4_r when IPv6 results are possible.
47504 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47507 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47508 _PC_PIPE_BUF handling.
47510 2011-04-30 Bruno Haible <bruno@clisp.org>
47513 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47514 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47516 * inet/getnameinfo.c (getnameinfo): Likewise.
47518 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47520 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47521 to groups setting in database lookup.
47522 * nss/nsswitch.conf: Add initgroups entry.
47524 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47527 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47529 Patch by Eric Blake <eblake@redhat.com>.
47531 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47533 * sunrpc/Makefile (need-export-routines): Add svc_run.
47534 (routines): Remove svc_run.
47535 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47536 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47537 * sunrpc/svc_run.c (svc_run): Likewise.
47538 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47540 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47542 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47543 problem in reallocation in last patch.
47545 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47547 * sunrpc/Makefile: Move inclusion of Rules.
47549 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47551 * nss/nss_files/files-initgroups.c: New file.
47552 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47553 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47554 _nss_files_initgroups_dyn.
47556 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47558 * elf/elf.h (R_ARM_IRELATIVE): Define.
47560 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47562 * po/ru.po: Update from translation team.
47564 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47566 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47569 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47572 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47573 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47574 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47575 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47576 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47578 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47580 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47582 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47583 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47584 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47586 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47589 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47591 * stdlib/bug-getcontext.c: New file.
47592 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47594 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47596 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47597 instructions into .machine "z9-109".
47598 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47599 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47601 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47603 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47604 between environment variables and auxiliary vector.
47606 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47608 * Makefile: Add rules to build linkobj/libc.so.
47609 * include/libc-symbols.h: Define libc_hidden_nolink.
47610 * include/rpc/auth.h: Mark functions which are to be hidden.
47611 * include/rpc/auth_des.h: Likewise.
47612 * include/rpc/auth_unix.h: Likewise.
47613 * include/rpc/clnt.h: Likewise.
47614 * include/rpc/des_crypt.h: Likewise.
47615 * include/rpc/key_prot.h: Likewise.
47616 * include/rpc/pmap_clnt.h: Likewise.
47617 * include/rpc/pmap_prot.h: Likewise.
47618 * include/rpc/pmap_rmt.h: Likewise.
47619 * include/rpc/rpc_msg.h: Likewise.
47620 * include/rpc/svc.h: Likewise.
47621 * include/rpc/svc_auth.h: Likewise.
47622 * include/rpc/xdr.h: Likewise.
47623 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47624 * nss/Makefile: Likewise.
47625 * sunrpc/Makefile: Don't install headers. Build library with normal
47626 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47627 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47628 for the compat linking library. Remove use of INTDEF/INTUSE.
47629 * sunrpc/auth_none.c: Likewise.
47630 * sunrpc/auth_unix.c: Likewise.
47631 * sunrpc/authdes_prot.c: Likewise.
47632 * sunrpc/authuxprot.c: Likewise.
47633 * sunrpc/clnt_gen.c: Likewise.
47634 * sunrpc/clnt_perr.c: Likewise.
47635 * sunrpc/clnt_raw.c: Likewise.
47636 * sunrpc/clnt_simp.c: Likewise.
47637 * sunrpc/clnt_tcp.c: Likewise.
47638 * sunrpc/clnt_udp.c: Likewise.
47639 * sunrpc/clnt_unix.c: Likewise.
47640 * sunrpc/des_crypt.c: Likewise.
47641 * sunrpc/des_soft.c: Likewise.
47642 * sunrpc/get_myaddr.c: Likewise.
47643 * sunrpc/key_call.c: Likewise.
47644 * sunrpc/key_prot.c: Likewise.
47645 * sunrpc/netname.c: Likewise.
47646 * sunrpc/pm_getmaps.c: Likewise.
47647 * sunrpc/pm_getport.c: Likewise.
47648 * sunrpc/pmap_clnt.c: Likewise.
47649 * sunrpc/pmap_prot.c: Likewise.
47650 * sunrpc/pmap_prot2.c: Likewise.
47651 * sunrpc/pmap_rmt.c: Likewise.
47652 * sunrpc/publickey.c: Likewise.
47653 * sunrpc/rpc_cmsg.c: Likewise.
47654 * sunrpc/rpc_common.c: Likewise.
47655 * sunrpc/rpc_dtable.c: Likewise.
47656 * sunrpc/rpc_prot.c: Likewise.
47657 * sunrpc/rpc_thread.c: Likewise.
47658 * sunrpc/rtime.c: Likewise.
47659 * sunrpc/svc.c: Likewise.
47660 * sunrpc/svc_auth.c: Likewise.
47661 * sunrpc/svc_authux.c: Likewise.
47662 * sunrpc/svc_raw.c: Likewise.
47663 * sunrpc/svc_run.c: Likewise.
47664 * sunrpc/svc_simple.c: Likewise.
47665 * sunrpc/svc_tcp.c: Likewise.
47666 * sunrpc/svc_udp.c: Likewise.
47667 * sunrpc/svc_unix.c: Likewise.
47668 * sunrpc/svcauth_des.c: Likewise.
47669 * sunrpc/xcrypt.c: Likewise.
47670 * sunrpc/xdr.c: Likewise.
47671 * sunrpc/xdr_array.c: Likewise.
47672 * sunrpc/xdr_float.c: Likewise.
47673 * sunrpc/xdr_intXX_t.c: Likewise.
47674 * sunrpc/xdr_mem.c: Likewise.
47675 * sunrpc/xdr_rec.c: Likewise.
47676 * sunrpc/xdr_ref.c: Likewise.
47677 * sunrpc/xdr_sizeof.c: Likewise.
47678 * sunrpc/xdr_stdio.c: Likewise.
47680 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47683 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47684 * sysdeps/ia64/dl-tls.h: Likewise.
47685 * sysdeps/powerpc/dl-tls.h: Likewise.
47686 * sysdeps/s390/dl-tls.h: Likewise.
47687 * sysdeps/sh/dl-tls.h: Likewise.
47688 * sysdeps/sparc/dl-tls.h: Likewise.
47689 * sysdeps/x86_64/dl-tls.h: Likewise.
47690 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47692 2011-03-14 Andreas Schwab <schwab@redhat.com>
47694 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47695 rpath element also skip the following colon.
47696 (expand_dynamic_string_token): Add is_path parameter and pass
47697 down to DL_DST_REQUIRED and _dl_dst_substitute.
47698 (decompose_rpath): Call expand_dynamic_string_token with
47699 non-zero is_path. Ignore empty rpaths.
47700 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47703 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47708 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47711 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47712 Patch by Filipe David Manana <fdmanana@apache.org>.
47714 2011-04-07 Andreas Schwab <schwab@redhat.com>
47716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47717 Maintain aligned stack.
47718 (CHECK_RSP): Remove unused macro.
47720 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47722 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47723 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47725 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47727 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47729 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47731 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47734 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47735 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47736 * sysdeps/x86_64/memmove.c: New file.
47737 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47738 (memcpy): Renamed to ...
47739 (__new_memcpy): This.
47740 (memcpy): Provide GLIBC_2_14 memcpy.
47741 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47742 (memcpy): Provide GLIBC_2_2_5 memcpy.
47744 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47747 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47749 2011-03-30 Andreas Schwab <schwab@redhat.com>
47751 * misc/syncfs.c: New file.
47752 * misc/Makefile (routines): Add syncfs.
47753 * posix/unistd.h: Declare syncfs.
47754 * sysdeps/unix/syscalls.list: Add syncfs.
47756 2011-04-01 Andreas Schwab <schwab@redhat.com>
47758 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47761 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47763 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47765 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47766 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47768 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47770 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47772 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47774 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47776 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47778 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47779 sync_file_range.c with -fexceptions.
47780 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47781 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47782 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47783 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47784 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47785 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47786 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47787 sync_file_range as cancellation point
47788 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47789 now a wrapper around __call_sync_file_range with cancellation handling.
47790 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47791 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47792 function name to __call_sync_file_range.
47793 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47794 Add call_sync_file_range.
47796 2011-04-01 Andreas Schwab <schwab@redhat.com>
47798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47801 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47803 * iconv/iconv.h: Fix typo in comment.
47804 * io/fcntl.h: Likewise.
47805 * libio/stdio.h: Likewise.
47806 * posix/spawn.h: Likewise.
47807 * posix/unistd.h: Likewise.
47808 * stdlib/stdlib.h: Likewise.
47809 * time/time.h: Likewise.
47810 * wcsmbs/wchar.h: Likewise.
47812 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47813 open_by_handle): Add.
47814 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47815 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47816 Augment a few comments.
47817 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47818 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47819 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47821 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47822 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47825 * io/fcntl.h (AT_EMPTY_PATH): Define.
47827 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47829 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47830 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47831 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47833 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47834 * Versions.def: Add GLIBC_2.14.
47835 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47838 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47840 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47842 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47844 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47847 * string/test-strncmp.c (do_page_test): New function.
47848 (check2): Likewise.
47849 (test_main): Call check2.
47850 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47852 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47855 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47856 Handle cache information in CPU leaf 4.
47857 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47859 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47862 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47863 character representation.
47864 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47866 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47868 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47869 END(__isnan) to END(__isnanf) to match function entry point/label
47870 EALIGN(__isnanf,...).
47872 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47874 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47876 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47879 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47880 copy from the symbol referenced in the relocation to initialize the
47882 Patch by Piotr Bury <pbury@goahead.com>.
47883 * elf/Makefile: Add rules to build and tst-unique3.
47884 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47885 * elf/tst-unique3.cc: New file.
47886 * elf/tst-unique3.h: New file.
47887 * elf/tst-unique3lib.cc: New file.
47888 * elf/tst-unique3lib2.cc: New file.
47890 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47892 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47894 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47895 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47898 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47900 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47901 to-be-loaded object along a path to loader is ld.so.
47903 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47904 Ulrich Drepper <drepper@gmail.com>
47906 * sysdeps/x86_64/memset.S: After aligning destination, code
47907 branches to different locations depending on the value of
47908 misalignment, when multiarch is enabled. Fix this.
47910 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47912 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47913 Set _x86_64_preferred_memory_instruction for AMD processsors.
47914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47915 Set bit_Prefer_SSE_for_memop for AMD processors.
47917 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47919 * libio/fmemopen.c (fmemopen): Optimize a bit.
47921 2011-03-03 Andreas Schwab <schwab@redhat.com>
47923 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47925 2011-03-03 Roland McGrath <roland@redhat.com>
47927 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47929 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47931 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47932 __bzero_ultra1 instead of __memset_ultra1.
47934 2011-02-23 Andreas Schwab <schwab@redhat.com>
47935 Ulrich Drepper <drepper@gmail.com>
47938 * include/link.h (struct link_map): Add l_orig_initfini.
47939 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47940 returning unsuccessfully.
47941 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47942 close of a file loaded at startup, restore the original l_initfini
47944 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47945 list, store the pointer.
47946 * elf/Makefile ($(objpfx)noload-mem): New rule.
47947 (noload-ENV): Define.
47948 (tests): Add $(objpfx)noload-mem.
47949 * elf/noload.c: Include <memcheck.h>.
47950 (main): Call mtrace. Close all opened handles.
47952 2011-02-17 Andreas Schwab <schwab@redhat.com>
47955 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47956 dependencies are missing.
47958 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47960 Fix __if_freereq crash: Unlike the generic version which uses free,
47962 * sysdeps/mach/hurd/ifreq.h: New file.
47964 2011-01-27 Petr Baudis <pasky@suse.cz>
47965 Ulrich Drepper <drepper@gmail.com>
47968 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47969 to extend_alloca().
47970 * stdio-common/bug23.c: New file.
47971 * stdio-common/Makefile (tests): Add bug23.
47973 2010-09-28 Andreas Schwab <schwab@redhat.com>
47974 Ulrich Drepper <drepper@gmail.com>
47977 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47978 before performing relro protection. At old place add assertion
47979 to make sure nothing changed.
47981 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47982 Glauber de Oliveira Costa <glommer@gmail.com>
47984 * elf/elf.h: Add new ARM TLS relocs.
47986 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47989 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47991 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47993 * sysdeps/wordsize-64/tst-writev.c: New file.
47995 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47997 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47998 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47999 insns in _dl_start to prevent a TOC reference before relocs are
48002 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48005 * Makeconfig: Remove RANLIB definition.
48006 * Makerules: Don't use RANLIB.
48007 * aclocal.m4: Remove ranlib test.
48008 * configure.in: No need to check for ranlib.
48009 * elf/rtld-Rules: Don't use RANLIB.
48011 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48013 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48015 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48016 inclusion protection macro.
48018 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48019 SIGRTMIN and SIGRTMAX and print information in that case only when
48020 SIGRTMIN is defined.
48022 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48024 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48025 arginfo fn returning -1.
48027 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48028 and thousands string is zero terminated.
48030 2011-02-03 Andreas Schwab <schwab@redhat.com>
48032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48033 sysdeps/unix/sysv/linux/bits/socket.h.
48035 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48037 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48038 (__CPU_COUNT): Remove old macros.
48039 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48040 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48041 (__CPU_ALLOC, __CPU_FREE): Add macros.
48042 (__sched_cpualloc, __sched_cpufree): Add declarations.
48044 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48046 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48047 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48048 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48049 (readdhstai): Return value of addhstaiX call.
48050 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48051 (addgrbyX): Return value returned by cache_addgr.
48052 (readdgrbyname): Return value returned by addgrbyX.
48053 (readdgrbygid): Likewise.
48054 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48055 (addpwbyX): Return value returned by cache_addpw.
48056 (readdpwbyname): Return value returned by addhstbyX.
48057 (readdpwbyuid): Likewise.
48058 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48059 (addservbyX): Return value returned by cache_addserv.
48060 (readdservbyname): Return value returned by addservbyX:
48061 (readdservbyport): Likewise.
48062 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48063 (addhstbyX): Return value returned by cache_addhst.
48064 (readdhstbyname): Return value returned by addhstbyX.
48065 (readdhstbyaddr): Likewise.
48066 (readdhstbynamev6): Likewise.
48067 (readdhstbyaddrv6): Likewise.
48068 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48069 (readdinitgroups): Return value returned by addinitgroupsX.
48070 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48071 (prune_cache): Keep track of timeout value of re-added entries.
48072 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48073 * nscd/nscd.h: Adjust prototypes of readd* functions.
48075 2011-02-04 Roland McGrath <roland@redhat.com>
48077 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48078 (nis_stats): Likewise.
48079 * nis/nis_modify.c (nis_modify): Likewise.
48080 * nis/nis_remove.c (nis_remove): Likewise.
48081 * nis/nis_add.c (nis_add): Likewise.
48083 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48085 * posix/fnmatch_loop.c: Add some consts.
48087 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48089 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48092 * config.make.in (config-cflags-novzeroupper): Define.
48093 * configure.in: Substitute libc_cv_cc_novzeroupper.
48094 * elf/Makefile (AVX-CFLAGS): Define.
48095 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48096 (CFLAGS-tst-auditmod4a.c): Likewise.
48097 (CFLAGS-tst-auditmod4b.c): Likewise.
48098 (CFLAGS-tst-auditmod6b.c): Likewise.
48099 (CFLAGS-tst-auditmod6c.c): Likewise.
48100 (CFLAGS-tst-auditmod7b.c): Likewise.
48101 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48103 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48105 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48106 function to the callback.
48107 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48109 2011-02-02 Andreas Schwab <schwab@redhat.com>
48111 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48114 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48117 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48119 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48121 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48124 * elf/Makefile: Add rules to build and run new test.
48125 * elf/tst-initorder.c: New file.
48126 * elf/tst-initorder.exp: New file.
48127 * elf/tst-initordera1.c: New file.
48128 * elf/tst-initordera2.c: New file.
48129 * elf/tst-initordera3.c: New file.
48130 * elf/tst-initordera4.c: New file.
48131 * elf/tst-initorderb1.c: New file.
48132 * elf/tst-initorderb2.c: New file.
48133 * elf/tst-order-a1.c: New file.
48134 * elf/tst-order-a2.c: New file.
48135 * elf/tst-order-a3.c: New file.
48136 * elf/tst-order-a4.c: New file.
48137 * elf/tst-order-b1.c: New file.
48138 * elf/tst-order-b2.c: New file.
48139 * elf/tst-order-main.c: New file.
48140 New test case by George Gensure <werkt0@gmail.com>.
48142 2010-10-01 Andreas Schwab <schwab@redhat.com>
48144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48145 decoding ACE if AI_CANONIDN.
48147 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48149 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48151 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48153 * version.h (RELEASE): Bump for 2.13 release.
48154 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48156 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48158 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48160 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48161 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48162 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48163 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48164 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48165 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48167 * posix/getconf.c: Update copyright year.
48168 * catgets/gencat.c: Likewise.
48169 * csu/version.c: Likewise.
48170 * debug/catchsegv.sh: Likewise.
48171 * debug/xtrace.sh: Likewise.
48172 * elf/ldconfig.c: Likewise.
48173 * elf/ldd.bash.in: Likewise.
48174 * elf/sprof.c (print_version): Likewise.
48175 * iconv/iconv_prog.c: Likewise.
48176 * iconv/iconvconfig.c: Likewise.
48177 * locale/programs/locale.c: Likewise.
48178 * locale/programs/localedef.c: Likewise.
48179 * malloc/memusage.sh: Likewise.
48180 * malloc/mtrace.pl: Likewise.
48181 * nscd/nscd.c (print_version): Likewise.
48182 * nss/getent.c: Likewise.
48184 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48185 PF_CAIF, and PF_ALG.
48186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48188 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48190 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48191 (modules-names): Use them.
48192 (ifunc-test-modules, ifunc-pie-tests): Define.
48193 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48194 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48195 (test-extras): Likewise.
48196 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48197 $(compile-command.c).
48198 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48199 (all-built-dso): Define.
48200 (check-textrel.out, check-execstack.out): Depend on it.
48202 * configure.in: Don't override --enable-multi-arch.
48204 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48207 * nscd/hstcache.c (tryagain): Define.
48208 (cache_addhst): Return tryagain not notfound for temporary errors.
48209 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48212 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48215 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48216 to make the syscall.
48217 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48220 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48221 and fall back to matching as normal character if the string ends before
48222 the matching ']' is found. This is what POSIX requires.
48223 * posix/testfnm.c: Adjust test result.
48224 * posix/globtest.sh: Adjust test result. Add new test.
48225 * posix/tst-fnmatch.input: Likewise.
48226 * posix/tst-fnmatch2.c: Add new test.
48228 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48230 * elf/Makefile (check-execstack): Revert last change. Depend on
48232 (check-execstack.h): New target.
48233 (generated): Add check-execstack.h.
48234 * elf/check-execstack.c: Include "check-execstack.h".
48235 (main): Revert last change.
48236 (handle_file): Return zero if GNU_STACK is absent and
48237 DEFAULT_STACK_PERMS doesn't include PF_X.
48239 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48241 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48242 in child fails because the descriptor is already closed.
48243 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48244 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48245 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48248 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48252 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48253 temporary buffer used to handle multi lookups locally.
48254 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48256 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48258 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48261 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48263 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48264 alignment for SSE2.
48266 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48269 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48270 characters. When rounding increased number of integer digits recompute
48272 * stdio-common/tst-grouping.c: New file.
48273 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48275 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48277 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48278 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48280 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48282 * bits/select.h: Likewise.
48284 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48286 * po/ja.po: Update from translation team.
48288 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48291 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48292 implementation just like for lxstat, fxstatat, et al.
48294 2010-12-27 Jim Meyering <meyering@redhat.com>
48297 * posix/regexec.c (build_trtable): Return failure indication upon
48298 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48300 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48303 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48304 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48305 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48306 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48309 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48312 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48313 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48315 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48317 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48318 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48319 script has SORT_BY_INIT_PRIORITY.
48320 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48321 NO_CTORS_DTORS_SECTIONS is defined.
48322 * elf/soinit.c: Likewise.
48323 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48324 NO_CTORS_DTORS_SECTIONS is defined.
48325 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48326 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48327 * sysdeps/sh/init-first.c: Likewise.
48328 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48330 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48332 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48333 always use the slow path.
48335 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48337 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48338 similar rule which adds the sysdep directories to the header search in
48339 order to pick up the correct platform stackinfo.h.
48340 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48341 perform test if it is, otherwise return successfully without testing.
48342 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48343 DEFAULT_STACK_PERMS define in stackinfo.h.
48344 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48345 defined in stackinfo.h.
48346 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48347 DEFAULT_STACK_PERMS defined in stackinfo.h.
48348 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48349 * sysdeps/ia64/stackinfo.h: Likewise.
48350 * sysdeps/s390/stackinfo.h: Likewise.
48351 * sysdeps/sh/stackinfo.h: Likewise.
48352 * sysdeps/sparc/stackinfo.h: Likewise.
48353 * sysdeps/x86_64/stackinfo.h: Likewise.
48354 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48355 PF_X for powerpc64. Retain PF_X for powerpc32.
48357 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48359 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48361 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48362 GETDENTS_64BIT_ALIGNED.
48364 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48366 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48368 2010-12-10 Andreas Schwab <schwab@redhat.com>
48370 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48373 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48374 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48376 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48377 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48379 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48382 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48385 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48387 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48389 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48391 * po/it.po: Update from translation team.
48393 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48395 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48398 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48400 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48402 2010-11-24 Andreas Schwab <schwab@redhat.com>
48404 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48406 (gaih_getanswer_slice): Likewise.
48408 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48412 2010-05-31 Petr Baudis <pasky@suse.cz>
48415 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48416 silently even in the chroot mode.
48418 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48420 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48421 last patch a bit. Pretty printing
48423 2010-05-31 Petr Baudis <pasky@suse.cz>
48426 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48427 initialization of skip_initgroups_dyn.
48429 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48431 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48432 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48434 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48436 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48438 2010-11-11 Andreas Schwab <schwab@redhat.com>
48440 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48441 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48442 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48443 ($(objpfx)tst-fnmatch-mem): New rule.
48444 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48445 * posix/tst-fnmatch.c (main): Call mtrace.
48447 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48450 Support Intel processor model 6 and model 0x2c.
48452 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48454 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48457 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48460 * string/test-strncasecmp.c (check_result): New function.
48461 (do_one_test): Use it.
48462 (check1): New function.
48463 (test_main): Use it.
48464 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48465 Support strcasecmp and strncasecmp.
48467 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48470 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48471 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48473 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48475 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48479 * sysdeps/x86_64/multiarch/bzero.S: New file.
48480 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48481 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48482 * sysdeps/x86_64/multiarch/memset.S: New file.
48483 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48485 Set bit_Prefer_SSE_for_memop for Intel processors.
48486 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48488 (index_Prefer_SSE_for_memop): Define.
48489 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48491 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48493 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48494 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48496 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48499 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48500 (__x86_64_raw_data_cache_size_half): Likewise.
48501 (__x86_64_raw_shared_cache_size): Likewise.
48502 (__x86_64_raw_shared_cache_size_half): Likewise.
48504 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48505 (__x86_64_raw_data_cache_size_half): Likewise.
48506 (__x86_64_raw_shared_cache_size): Likewise.
48507 (__x86_64_raw_shared_cache_size_half): Likewise.
48508 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48509 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48510 and __x86_64_raw_shared_cache_size_half. Round
48511 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48512 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48513 to multiple of 256 bytes.
48515 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48518 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48519 of inacessible symlinks. Verify result of symlink before returning it.
48520 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48521 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48523 2010-10-28 Erich Ritz <erichritz@gmail.com>
48525 * math/math.h (isinf): Fix typo in comment.
48527 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48529 * po/da.po: Update from translation team.
48531 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48533 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48534 is added to the list.
48536 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48537 Ulrich Drepper <drepper@gmail.com>
48539 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48540 the global list here. Move code to...
48541 (_dl_add_to_namespace_list): ...here. New function.
48542 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48543 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48544 * elf/dl-load.c (lose): Don't remove the element from the list.
48545 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48546 (_dl_map_object): Likewise.
48548 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48551 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48552 into all bytes of SSE register.
48553 Patch by Richard Li <richardpku@gmail.com>.
48555 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48558 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48561 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48563 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48564 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48565 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48566 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48571 2010-10-22 Andreas Schwab <schwab@redhat.com>
48573 * include/dlfcn.h (__RTLD_SECURE): Define.
48574 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48575 mode & __RTLD_SECURE instead.
48576 (open_path): Rename preloaded parameter to secure.
48577 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48578 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48579 * elf/dl-deps.c (openaux): Likewise.
48580 * elf/rtld.c (struct map_args): Remove is_preloaded.
48581 (map_doit): Don't use it.
48582 (dl_main): Likewise.
48583 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48584 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48586 2010-09-09 Andreas Schwab <schwab@redhat.com>
48588 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48589 (sysd-rules-targets): Remove duplicates.
48590 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48591 rtld-%.$o dependency.
48593 2010-10-18 Andreas Schwab <schwab@redhat.com>
48595 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48596 _dl_map_object do it.
48598 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48600 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48601 fast fma builtins, define the macros in the C99 standard.
48602 (FP_FAST_FMAF): Likewise.
48603 (FP_FAST_FMAL): Likewise.
48604 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48606 * bits/mathdef.h: Update copyright year.
48607 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48609 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48611 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48612 builtins, define the macros in the C99 standard.
48613 (FP_FAST_FMAF): Likewise.
48614 (FP_FAST_FMAL): Likewise.
48615 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48617 (FP_FAST_FMAF): Likewise.
48619 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48622 * math/libm-test.inc (fma_test): Some new testcases.
48623 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48624 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48625 y and infinite z. Do multiplication by C already in long double.
48626 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48628 y and infinite z. Do bitwise or of inexact bit into u.d.
48629 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48630 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48631 * sysdeps/i386/fpu/s_fma.S: Removed.
48632 * sysdeps/i386/fpu/s_fmal.S: Removed.
48634 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48637 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48639 computation is not scheduled after fetestexcept. Fix value
48640 of minimum denormal long double.
48642 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48645 * math/libm-test.inc (fma_test): Add some more tests.
48646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48649 2010-10-15 Andreas Schwab <schwab@redhat.com>
48651 * scripts/data/localplt-s390-linux-gnu.data: New file.
48652 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48654 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48657 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48658 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48660 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48662 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48664 if one of x and y is very large and the other is subnormal.
48665 * sysdeps/s390/fpu/s_fmaf.c: New file.
48666 * sysdeps/s390/fpu/s_fma.c: New file.
48667 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48668 * sysdeps/powerpc/fpu/s_fma.S: New file.
48669 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48670 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48671 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48673 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48676 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48678 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48679 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48680 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48681 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48682 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48683 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48684 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48686 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48689 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48690 * posix/bug-regex31.input: Add test case.
48692 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48694 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48695 * posix/bug-regex31.input: New file.
48698 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48699 (parse_sub_exp): Fix last change, use postorder.
48701 * posix/bug-regex31.c: New file.
48702 * posix/Makefile: Add rules to build and run bug-regex31.
48704 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48707 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48710 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48711 to have entries in sys_siglist.
48714 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48717 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48720 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48721 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48722 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48723 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48724 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48725 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48726 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48727 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48728 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48729 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48730 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48731 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48732 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48733 * math/ftestexcept.c (fetestexcept): Likewise.
48734 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48735 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48736 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48737 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48738 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48739 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48740 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48742 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48745 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48748 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48750 * string/bug-strstr1.c: New file.
48751 * string/Makefile: Add rules to build and run bug-strstr1.
48753 2010-10-05 Eric Blake <eblake@redhat.com>
48756 * string/str-two-way.h (two_way_long_needle): Always clear memory
48757 when skipping input due to the shift table.
48759 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48762 * malloc/mcheck.c: Handle large requests.
48765 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48766 for strncmp and strncasecmp.
48767 * string/stratcliff.c: Add tests for strcmp and strncmp.
48768 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48770 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48772 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48775 2010-09-30 Andreas Jaeger <aj@suse.de>
48777 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48778 (CGROUP_SUPER_MAGIC): Define.
48779 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48780 Handle btrfs and cgroup file systems.
48781 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48784 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48786 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48787 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48789 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48792 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48793 trying to locate the ELF header.
48795 2010-09-27 Andreas Schwab <schwab@redhat.com>
48798 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48799 Mask out sign-bit copies when constructing f_fsid.
48801 2010-09-24 Petr Baudis <pasky@suse.cz>
48803 * debug/stack_chk_fail_local.c: Add missing licence exception.
48804 * debug/warning-nop.c: Likewise.
48806 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48808 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48809 implementing getdents64 using getdents syscall, set d_type if
48810 __ASSUME_GETDENTS32_D_TYPE.
48812 2010-09-16 Andreas Schwab <schwab@redhat.com>
48814 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48815 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48817 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48820 * posix/unistd.h: Undo change of feature selection for ftruncate from
48823 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48825 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48828 2010-09-20 Andreas Schwab <schwab@redhat.com>
48830 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48832 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48834 2010-09-14 Andreas Schwab <schwab@redhat.com>
48836 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48837 variables after CHECK_SP call.
48838 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48840 2010-09-13 Andreas Schwab <schwab@redhat.com>
48841 Ulrich Drepper <drepper@redhat.com>
48843 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48844 re-relocationg ld.so.
48845 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48846 _dl_init_paths call.
48847 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48850 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48852 * resolv/res_init.c (__res_vinit): Count the default server we added.
48854 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48855 Ulrich Drepper <drepper@redhat.com>
48858 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48859 (____longjmp_chk): Use %ebx for saving value across system call.
48862 2010-09-06 Andreas Schwab <schwab@redhat.com>
48864 * manual/Makefile: Don't mix pattern rules with normal rules.
48866 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48868 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48870 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48871 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48872 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48873 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48874 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48877 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48880 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48881 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48883 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48885 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48886 * sysdeps/x86_64/addmul_1.S: Likewise.
48887 * sysdeps/x86_64/lshift.S: Likewise.
48888 * sysdeps/x86_64/mul_1.S: Likewise.
48889 * sysdeps/x86_64/rshift.S: Likewise.
48890 * sysdeps/x86_64/sub_n.S: Likewise.
48891 * sysdeps/x86_64/submul_1.S: Likewise.
48893 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48895 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48896 Define __sched_param instead of SCHED_* and sched_param when
48897 <bits/sched.h> is included with __need_schedparam defined.
48898 * bits/sched.h [__need_schedparam]
48899 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48900 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48901 (__defined_schedparam): Define to 1.
48902 (__sched_param): New structure, identical to sched_param.
48903 (__need_schedparam): Undefine.
48905 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48907 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48908 (epoll_create1): Declare.
48910 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48912 2010-08-31 Andreas Schwab <schwab@redhat.com>
48915 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48916 shifting retval into place.
48918 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48920 * nis/rpcsvc/nis.h: Update copyright notice.
48921 * nis/rpcsvc/nis.x: Likewise.
48922 * nis/rpcsvc/nis_callback.h: Likewise.
48923 * nis/rpcsvc/nis_callback.x: Likewise.
48924 * nis/rpcsvc/nis_object.x: Likewise.
48925 * nis/rpcsvc/nis_tags.h: Likewise.
48926 * nis/rpcsvc/yp.h: Likewise.
48927 * nis/rpcsvc/yp.x: Likewise.
48928 * nis/rpcsvc/ypupd.h: Likewise.
48929 * nis/yp_xdr.c: Likewise.
48930 * nis/ypupdate_xdr.c: Likewise.
48932 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48933 mainly the body of pmap_getport. Add parameters to specify timeouts.
48934 (pmap_getport): Use __libc_rpc_getport.
48935 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48936 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48937 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48939 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48944 2010-08-27 Roland McGrath <roland@redhat.com>
48946 * sysdeps/i386/i686/multiarch/Makefile
48947 (CFLAGS-varshift.c): New variable.
48949 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48951 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48952 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48954 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48956 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48958 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48960 * sysdeps/x86_64/strlen.S: Unroll the loop.
48961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48962 strlen-sse2 strlen-sse2-bsf.
48963 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48964 __strlen_no_bsf if bit_Slow_BSF is set.
48965 (__strlen_sse42): Removed.
48966 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48967 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48969 2010-08-25 Roland McGrath <roland@redhat.com>
48971 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48972 * sysdeps/x86_64/multiarch/varshift.c: New file.
48973 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48974 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48975 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48976 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48978 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48981 strlen-sse2 strlen-sse2-bsf.
48982 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48983 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48984 (__strlen_sse2): Removed.
48985 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48986 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48988 bit_Slow_BSF for Atom.
48989 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48990 (index_Slow_BSF): Define.
48991 (HAS_SLOW_BSF): Define.
48993 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48996 * resolv/res_init.c (__res_vinit): When no server address at all
48997 is given default to loopback.
48999 2010-08-24 Roland McGrath <roland@redhat.com>
49001 * configure.in: Remove config-name.h generation.
49002 * configure: Regenerated.
49003 * config-name.in: File removed.
49004 * scripts/config-uname.sh: New file.
49005 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49006 ($(objdir)config-name.h): New target.
49008 * sunrpc/rpc_parse.h: Avoid nested comment.
49010 2010-08-24 Richard Henderson <rth@redhat.com>
49011 Ulrich Drepper <drepper@redhat.com>
49012 H.J. Lu <hongjiu.lu@intel.com>
49014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49016 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49017 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49018 _mm_alignr_epi8 with _mm_loadu_si128.
49019 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49020 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49021 (__m128i_shift_right): Removed.
49022 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49023 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49024 * sysdeps/x86_64/multiarch/varshift.h: New file.
49025 * sysdeps/x86_64/multiarch/varshift.S: New file.
49027 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49029 * configure.in: Move assembler checks to before sysdep dir checking.
49031 2010-08-20 Petr Baudis <pasky@suse.cz>
49033 * LICENSES: Sync the sunrpc license.
49035 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49037 * sunrpc/auth_des.c: Update copyright notice once again.
49038 * sunrpc/auth_none.c: Likewise.
49039 * sunrpc/auth_unix.c: Likewise.
49040 * sunrpc/authdes_prot.c: Likewise.
49041 * sunrpc/authuxprot.c: Likewise.
49042 * sunrpc/bindrsvprt.c: Likewise.
49043 * sunrpc/clnt_gen.c: Likewise.
49044 * sunrpc/clnt_perr.c: Likewise.
49045 * sunrpc/clnt_raw.c: Likewise.
49046 * sunrpc/clnt_simp.c: Likewise.
49047 * sunrpc/clnt_tcp.c: Likewise.
49048 * sunrpc/clnt_udp.c: Likewise.
49049 * sunrpc/clnt_unix.c: Likewise.
49050 * sunrpc/des_crypt.c: Likewise.
49051 * sunrpc/des_soft.c: Likewise.
49052 * sunrpc/get_myaddr.c: Likewise.
49053 * sunrpc/getrpcport.c: Likewise.
49054 * sunrpc/key_call.c: Likewise.
49055 * sunrpc/key_prot.c: Likewise.
49056 * sunrpc/openchild.c: Likewise.
49057 * sunrpc/pm_getmaps.c: Likewise.
49058 * sunrpc/pm_getport.c: Likewise.
49059 * sunrpc/pmap_clnt.c: Likewise.
49060 * sunrpc/pmap_prot.c: Likewise.
49061 * sunrpc/pmap_prot2.c: Likewise.
49062 * sunrpc/pmap_rmt.c: Likewise.
49063 * sunrpc/rpc/auth.h: Likewise.
49064 * sunrpc/rpc/auth_unix.h: Likewise.
49065 * sunrpc/rpc/clnt.h: Likewise.
49066 * sunrpc/rpc/des_crypt.h: Likewise.
49067 * sunrpc/rpc/key_prot.h: Likewise.
49068 * sunrpc/rpc/netdb.h: Likewise.
49069 * sunrpc/rpc/pmap_clnt.h: Likewise.
49070 * sunrpc/rpc/pmap_prot.h: Likewise.
49071 * sunrpc/rpc/pmap_rmt.h: Likewise.
49072 * sunrpc/rpc/rpc.h: Likewise.
49073 * sunrpc/rpc/rpc_des.h: Likewise.
49074 * sunrpc/rpc/rpc_msg.h: Likewise.
49075 * sunrpc/rpc/svc.h: Likewise.
49076 * sunrpc/rpc/svc_auth.h: Likewise.
49077 * sunrpc/rpc/types.h: Likewise.
49078 * sunrpc/rpc/xdr.h: Likewise.
49079 * sunrpc/rpc_clntout.c: Likewise.
49080 * sunrpc/rpc_cmsg.c: Likewise.
49081 * sunrpc/rpc_common.c: Likewise.
49082 * sunrpc/rpc_cout.c: Likewise.
49083 * sunrpc/rpc_dtable.c: Likewise.
49084 * sunrpc/rpc_hout.c: Likewise.
49085 * sunrpc/rpc_main.c: Likewise.
49086 * sunrpc/rpc_parse.c: Likewise.
49087 * sunrpc/rpc_parse.h: Likewise.
49088 * sunrpc/rpc_prot.c: Likewise.
49089 * sunrpc/rpc_sample.c: Likewise.
49090 * sunrpc/rpc_scan.c: Likewise.
49091 * sunrpc/rpc_scan.h: Likewise.
49092 * sunrpc/rpc_svcout.c: Likewise.
49093 * sunrpc/rpc_tblout.c: Likewise.
49094 * sunrpc/rpc_util.c: Likewise.
49095 * sunrpc/rpc_util.h: Likewise.
49096 * sunrpc/rpcinfo.c: Likewise.
49097 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49098 * sunrpc/rpcsvc/key_prot.x: Likewise.
49099 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49100 * sunrpc/rpcsvc/mount.x: Likewise.
49101 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49102 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49103 * sunrpc/rpcsvc/rex.x: Likewise.
49104 * sunrpc/rpcsvc/rstat.x: Likewise.
49105 * sunrpc/rpcsvc/rusers.x: Likewise.
49106 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49107 * sunrpc/rpcsvc/spray.x: Likewise.
49108 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49109 * sunrpc/rtime.c: Likewise.
49110 * sunrpc/svc.c: Likewise.
49111 * sunrpc/svc_auth.c: Likewise.
49112 * sunrpc/svc_authux.c: Likewise.
49113 * sunrpc/svc_raw.c: Likewise.
49114 * sunrpc/svc_run.c: Likewise.
49115 * sunrpc/svc_simple.c: Likewise.
49116 * sunrpc/svc_tcp.c: Likewise.
49117 * sunrpc/svc_udp.c: Likewise.
49118 * sunrpc/svc_unix.c: Likewise.
49119 * sunrpc/svcauth_des.c: Likewise.
49120 * sunrpc/xcrypt.c: Likewise.
49121 * sunrpc/xdr.c: Likewise.
49122 * sunrpc/xdr_array.c: Likewise.
49123 * sunrpc/xdr_float.c: Likewise.
49124 * sunrpc/xdr_mem.c: Likewise.
49125 * sunrpc/xdr_rec.c: Likewise.
49126 * sunrpc/xdr_ref.c: Likewise.
49127 * sunrpc/xdr_sizeof.c: Likewise.
49128 * sunrpc/xdr_stdio.c: Likewise.
49130 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49133 2010-08-19 Andreas Schwab <schwab@redhat.com>
49135 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49137 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49139 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49140 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49141 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49142 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49143 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49144 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49145 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49146 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49147 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49148 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49149 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49150 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49151 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49152 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49154 2010-07-26 Anton Blanchard <anton@samba.org>
49156 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49157 * malloc/arena.c (heap_trim): Likewise.
49159 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49161 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49164 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49166 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49168 * sysdeps/i386/elf/Makefile: New file.
49170 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49172 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49173 from fanotify_init.
49174 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49175 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49177 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49179 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49181 * sysdeps/multiarch/strcmp.S: Likewise.
49183 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49185 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49186 strncase_l-nonascii.
49187 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49188 Add strncase_l-ssse3.
49189 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49190 * sysdeps/x86_64/strcmp.S: Likewise.
49191 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49192 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49193 * sysdeps/x86_64/strncase.S: New file.
49194 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49195 * sysdeps/x86_64/strncase_l.S: New file.
49196 * string/Makefile (strop-tests): Add strncasecmp.
49197 * string/test-strncasecmp.c: New file.
49199 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49202 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49203 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49205 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49207 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49209 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49211 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49212 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49213 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49215 2010-05-01 Alan Modra <amodra@gmail.com>
49217 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49218 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49219 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49220 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49221 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49222 tidying. Don't tail-call __sigjmp_save for static lib.
49223 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49225 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49226 (CALL_MCOUNT): Add eh info, and nop after bl.
49227 (TAIL_CALL_SYSCALL_ERROR): New macro.
49228 (PSEUDO_RET): Use it.
49229 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49230 Correct save location of integer regs and cr.
49231 (_dl_profile_resolve): Correct cr save location. Delete nops
49232 after bl when SHARED. Reduce cfi size a little by better
49233 placement of cfi directives.
49234 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49235 make a stack frame. Instead use parm save area as a temp.
49236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49237 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49239 Don't make a stack frame for parent, use parm save area.
49240 Increase child stack frame to 112 bytes. Don't save unused reg,
49241 and adjust reg usage. Set up cfi on error recovery and
49242 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49244 (__makecontext): Add dummy nop after jump to exit.
49245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49246 Use correct parm save area and cr save, reduce stack frame.
49247 Correct cfi for possible PSEUDO_RET frame setup.
49248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49249 Branch to local label emitted by PSEUDO_RET rather than
49252 2010-08-12 Andreas Schwab <schwab@redhat.com>
49255 * locale/programs/locale.c (print_assignment): New function.
49256 (show_locale_vars): Use it.
49258 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49260 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49262 (struct statfs64): Likewise.
49263 (_STATFS_F_FLAGS): Define.
49264 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49265 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49266 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49267 (ST_VALID): Define locally.
49268 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49269 __statvfs_getflags, use the provided value.
49270 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49271 __ASSUME_STATFS_F_FLAGS.
49273 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49275 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49276 Add sys/fanotify.h.
49277 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49278 fanotify_mask for GLIBC_2.13.
49279 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49280 fanotify_init and fanotify_mark.
49281 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49282 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49284 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49286 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49287 prlimit64 for GLIBC_2.13.
49288 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49290 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49293 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49294 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49295 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49296 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49298 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49301 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49302 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49304 * nss/Makefile: Add rules to build and run tst-nss-test1.
49305 * shlib-versions: Add entry for libnss_test1.
49306 * nss/nss_test1.c: New file.
49307 * nss/tst-nss-test1.c: New file.
49309 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49310 (__nss_configure_lookup): Set appropriate entry in
49311 __nss_configure_lookup to true.
49312 * nss/nsswitch.h: Define enum with indeces of databases in
49313 databases and __nss_database_custom arrays. Declare
49314 __nss_database_custom.
49315 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49316 to avoid using nscd when custom rules are installed.
49317 * nss/getXXbyYY_r.c: Likewise.
49318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49320 * nss/nss_files/files-parse.c: Whitespace fixes.
49322 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49325 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49326 * posix/fnmatch_loop.c: Likewise.
49328 2010-07-17 Andi Kleen <ak@linux.intel.com>
49330 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49331 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49332 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49333 * Versions.def [GLIBC_2.13]: Add.
49335 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49337 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49338 Also fail if tpwd after pwuid call is NULL.
49340 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49342 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49343 when converting to ms.
49345 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49347 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49348 EOPNOTSUPP errors with ENOTTY.
49349 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49350 EOPNOTSUPP errors with ENOTTY.
49352 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49354 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49355 Add strcasecmp_l-ssse3.
49356 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49358 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49359 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49360 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49362 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49364 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49366 * string/Makefile (strop-tests): Add strcasecmp.
49367 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49368 strcasecmp_l-nonascii.
49369 (gen-as-const-headers): Add locale-defines.sym.
49370 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49371 * sysdeps/x86_64/strcasecmp.S: New file.
49372 * sysdeps/x86_64/strcasecmp_l.S: New file.
49373 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49374 * sysdeps/x86_64/locale-defines.sym: New file.
49375 * string/test-strcasecmp.c: New file.
49377 * string/test-strcasestr.c: Test both ends of the range of characters.
49378 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49380 2010-07-29 Roland McGrath <roland@redhat.com>
49383 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49385 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49387 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49390 2010-07-27 Andreas Schwab <schwab@redhat.com>
49392 * manual/memory.texi (Malloc Tunable Parameters): Document
49395 2010-07-26 Roland McGrath <roland@redhat.com>
49398 * configure.in (-fgnu89-inline check): Set and substitute
49399 gnu89_inline, not libc_cv_gnu89_inline.
49400 * configure: Regenerated.
49401 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49403 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49405 * string/test-strnlen.c: New file.
49406 * string/Makefile (strop-tests): Add strnlen.
49407 * string/tester.c (test_strnlen): Add a few more test cases.
49408 * string/tst-strlen.c: Better error reporting.
49410 * sysdeps/x86_64/strnlen.S: New file.
49412 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49414 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49415 lower-latency instructions.
49417 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49419 * string/test-strcasestr.c: New file.
49420 * string/test-strstr.c: New file.
49421 * string/Makefile (strop-tests): Add strstr and strcasestr.
49422 * string/str-two-way.h: Don't undefine MAX.
49423 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49425 2010-07-21 Andreas Schwab <schwab@redhat.com>
49427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49428 strcasestr-nonascii.
49429 (CFLAGS-strcasestr-nonascii.c): Define.
49430 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49431 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49432 Remove unused attribute.
49434 2010-07-20 Roland McGrath <roland@redhat.com>
49436 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49437 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49438 ld.so.cache was broken. With it, there is no way to disable dsocaps
49439 like LD_HWCAP_MASK can disable hwcaps.
49441 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49443 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49445 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49447 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49448 call in strcasestr.
49449 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49450 __strcasestr_sse42_nonascii.
49451 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49452 strcasestr-nonascii.c.
49453 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49455 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49457 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49458 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49459 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49460 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49462 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49464 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49467 2010-07-06 Andreas Schwab <schwab@redhat.com>
49470 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49473 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49475 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49476 _PC_PIPE_BUF using F_GETPIPE_SZ.
49478 2010-07-05 Roland McGrath <roland@redhat.com>
49480 * manual/arith.texi (Rounding Functions): Fix rint description
49481 implicit in round description.
49483 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49485 * elf/Makefile: Fix linking for a few tests to make recent linker
49488 2010-06-30 Andreas Schwab <schwab@redhat.com>
49490 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49491 $(common-objpfx)libc_nonshared.a.
49493 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49495 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49496 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49497 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49498 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49499 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49500 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49501 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49502 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49517 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49518 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49519 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49520 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49521 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49522 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49523 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49524 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49525 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49526 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49527 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49528 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49544 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49546 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49547 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49548 * string/memmove.c (memmove): Renamed to ...
49549 (MEMMOVE): ...this. Default to memmove.
49550 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49551 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49554 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49555 mempcpy-ssse3-back memmove-ssse3-back.
49556 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49557 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49558 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49559 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49560 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49561 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49562 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49563 * sysdeps/x86_64/multiarch/memmove.c: New file.
49564 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49565 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49566 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49567 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49568 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49569 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49571 (index_Fast_Copy_Backward): Define.
49572 (HAS_ARCH_FEATURE): Define.
49573 (HAS_FAST_REP_STRING): Define.
49574 (HAS_FAST_COPY_BACKWARD): Define.
49576 2010-06-21 Andreas Schwab <schwab@redhat.com>
49578 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49579 Restore proper fallback handling.
49581 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49584 * posix/group_member.c (__group_member): Correct checking loop.
49586 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49587 OOM in getpwuid_r correctly. Return error number when the caller
49588 should return, otherwise -1.
49589 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49590 call returning > 0 value.
49591 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49593 2010-06-07 Andreas Schwab <schwab@redhat.com>
49595 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49596 libc_nonshared.a from targets in modules-names.
49598 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49600 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49603 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49605 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49606 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49607 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49608 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49610 2010-06-02 Andreas Schwab <schwab@redhat.com>
49612 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49614 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49616 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49618 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49619 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49623 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49625 2010-06-14 Roland McGrath <roland@redhat.com>
49627 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49629 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49631 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49632 __REDIRECT followed by __THROW.
49633 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49634 * posix/getopt.h (getopt): Likewise.
49636 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49638 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49639 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49640 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49642 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49643 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49645 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49647 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49649 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49653 Properly check family and model.
49655 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49657 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49659 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49661 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49663 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49665 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49668 2010-05-19 Andreas Schwab <schwab@redhat.com>
49670 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49673 2010-05-21 Andreas Schwab <schwab@redhat.com>
49675 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49676 and internal_recvmmsg.
49677 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49678 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49679 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49680 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49682 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49683 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49684 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49686 2010-05-20 Andreas Schwab <schwab@redhat.com>
49688 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49690 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49692 POWER7 optimizations.
49693 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49694 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49696 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49698 * version.h: Update for 2.13 development version.
49700 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49702 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49703 exceptions. Return 0.
49705 2010-05-07 Roland McGrath <roland@redhat.com>
49707 * elf/ldconfig.c (main): Add a const.
49709 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49711 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49712 (args_options): Add no-idn option.
49713 (ahosts_keys_int): Add idn_flags to ai_flags.
49714 (parse_option): Handle 'i' option to clear idn_flags.
49716 * malloc/malloc.c (_int_free): Possible race in the most recently
49717 added check. Only act on the data if no current modification
49720 See ChangeLog.17 for earlier changes.